@uniswap/client-data-api 0.0.296 → 0.0.298
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/buf/validate/validate_pb.d.ts +4833 -0
- package/dist/buf/validate/validate_pb.js +356 -0
- package/dist/data/v1/api-DataApiService_connectquery.d.ts +88 -200
- package/dist/data/v1/api-DataApiService_connectquery.js +24 -224
- package/dist/data/v1/api_pb.d.ts +843 -845
- package/dist/data/v1/api_pb.js +393 -2676
- package/dist/data/v1/featureGating_pb.d.ts +31 -26
- package/dist/data/v1/featureGating_pb.js +13 -50
- package/dist/data/v1/plan_pb.d.ts +29 -0
- package/dist/data/v1/plan_pb.js +30 -69
- package/dist/data/v1/poolTypes_pb.d.ts +118 -127
- package/dist/data/v1/poolTypes_pb.js +47 -438
- package/dist/data/v1/types_pb.d.ts +1276 -1334
- package/dist/data/v1/types_pb.js +249 -2021
- package/dist/data/v1/workerService-WorkerService_connectquery.d.ts +16 -38
- package/dist/data/v1/workerService-WorkerService_connectquery.js +6 -44
- package/dist/data/v1/workerService_pb.d.ts +99 -92
- package/dist/data/v1/workerService_pb.js +37 -248
- package/dist/data/v2/api-DataApiService_connectquery.d.ts +148 -335
- package/dist/data/v2/api-DataApiService_connectquery.js +39 -374
- package/dist/data/v2/api_pb.d.ts +1105 -1054
- package/dist/data/v2/api_pb.js +483 -3805
- package/dist/data/v2/categories_pb.d.ts +130 -142
- package/dist/data/v2/categories_pb.js +55 -457
- package/dist/data/v2/common_pb.d.ts +23 -25
- package/dist/data/v2/common_pb.js +12 -59
- package/dist/data/v2/earn_pb.d.ts +92 -92
- package/dist/data/v2/earn_pb.js +33 -229
- package/dist/data/v2/hooks_pb.d.ts +119 -135
- package/dist/data/v2/hooks_pb.js +49 -315
- package/dist/data/v2/search-SearchService_connectquery.d.ts +4 -11
- package/dist/data/v2/search-SearchService_connectquery.js +3 -14
- package/dist/data/v2/search_pb.d.ts +139 -120
- package/dist/data/v2/search_pb.js +34 -225
- package/dist/data/v2/tokenGroups_pb.d.ts +31 -36
- package/dist/data/v2/tokenGroups_pb.js +16 -126
- package/dist/data/v2/types_pb.d.ts +1823 -1887
- package/dist/data/v2/types_pb.js +282 -2190
- package/dist/data/v2/workerService-WorkerService_connectquery.d.ts +4 -11
- package/dist/data/v2/workerService-WorkerService_connectquery.js +3 -14
- package/dist/data/v2/workerService_pb.d.ts +35 -22
- package/dist/data/v2/workerService_pb.js +20 -47
- package/package.json +1 -1
- package/dist/data/v1/api_connect.d.ts +0 -208
- package/dist/data/v1/api_connect.js +0 -212
- package/dist/data/v1/workerService_connect.d.ts +0 -46
- package/dist/data/v1/workerService_connect.js +0 -50
- package/dist/data/v2/api_connect.d.ts +0 -343
- package/dist/data/v2/api_connect.js +0 -347
- package/dist/data/v2/search_connect.d.ts +0 -21
- package/dist/data/v2/search_connect.js +0 -25
- package/dist/data/v2/workerService_connect.d.ts +0 -23
- package/dist/data/v2/workerService_connect.js +0 -27
|
@@ -1,5 +1,32 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import { Message
|
|
1
|
+
import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
3
|
+
/**
|
|
4
|
+
* Describes the file data/v1/featureGating.proto.
|
|
5
|
+
*/
|
|
6
|
+
export declare const file_data_v1_featureGating: GenFile;
|
|
7
|
+
/**
|
|
8
|
+
* TokenRestriction is the metadata-side signal that a token is restricted
|
|
9
|
+
* in the caller's region. Country/subdivision is resolved server-side from
|
|
10
|
+
* ctx.auth — never the request body. Empty list = no restrictions.
|
|
11
|
+
*
|
|
12
|
+
* Categories mirror compliancev2service.v1.GatedFeature 1:1; the mapping
|
|
13
|
+
* lives server-side in the BL layer. data.v1 owns this contract so consumers
|
|
14
|
+
* of @uniswap/client-data-api don't pull in @uniswap/client-compliancev2 as
|
|
15
|
+
* a transitive dependency.
|
|
16
|
+
*
|
|
17
|
+
* @generated from message data.v1.TokenRestriction
|
|
18
|
+
*/
|
|
19
|
+
export type TokenRestriction = Message<"data.v1.TokenRestriction"> & {
|
|
20
|
+
/**
|
|
21
|
+
* @generated from field: data.v1.RestrictionCategory category = 1;
|
|
22
|
+
*/
|
|
23
|
+
category: RestrictionCategory;
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* Describes the message data.v1.TokenRestriction.
|
|
27
|
+
* Use `create(TokenRestrictionSchema)` to create a new message.
|
|
28
|
+
*/
|
|
29
|
+
export declare const TokenRestrictionSchema: GenMessage<TokenRestriction>;
|
|
3
30
|
/**
|
|
4
31
|
* RestrictionCategory enumerates the kinds of restrictions a token can carry.
|
|
5
32
|
* Ordered from least to most legally sensitive, matching the upstream
|
|
@@ -38,28 +65,6 @@ export declare enum RestrictionCategory {
|
|
|
38
65
|
SECURITY_PERMISSIONLESS = 6
|
|
39
66
|
}
|
|
40
67
|
/**
|
|
41
|
-
*
|
|
42
|
-
* in the caller's region. Country/subdivision is resolved server-side from
|
|
43
|
-
* ctx.auth — never the request body. Empty list = no restrictions.
|
|
44
|
-
*
|
|
45
|
-
* Categories mirror compliancev2service.v1.GatedFeature 1:1; the mapping
|
|
46
|
-
* lives server-side in the BL layer. data.v1 owns this contract so consumers
|
|
47
|
-
* of @uniswap/client-data-api don't pull in @uniswap/client-compliancev2 as
|
|
48
|
-
* a transitive dependency.
|
|
49
|
-
*
|
|
50
|
-
* @generated from message data.v1.TokenRestriction
|
|
68
|
+
* Describes the enum data.v1.RestrictionCategory.
|
|
51
69
|
*/
|
|
52
|
-
export declare
|
|
53
|
-
/**
|
|
54
|
-
* @generated from field: data.v1.RestrictionCategory category = 1;
|
|
55
|
-
*/
|
|
56
|
-
category: RestrictionCategory;
|
|
57
|
-
constructor(data?: PartialMessage<TokenRestriction>);
|
|
58
|
-
static readonly runtime: typeof proto3;
|
|
59
|
-
static readonly typeName = "data.v1.TokenRestriction";
|
|
60
|
-
static readonly fields: FieldList;
|
|
61
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TokenRestriction;
|
|
62
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TokenRestriction;
|
|
63
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TokenRestriction;
|
|
64
|
-
static equals(a: TokenRestriction | PlainMessage<TokenRestriction> | undefined, b: TokenRestriction | PlainMessage<TokenRestriction> | undefined): boolean;
|
|
65
|
-
}
|
|
70
|
+
export declare const RestrictionCategorySchema: GenEnum<RestrictionCategory>;
|
|
@@ -1,8 +1,16 @@
|
|
|
1
|
-
// @generated by protoc-gen-es
|
|
1
|
+
// @generated by protoc-gen-es v2.16.0 with parameter "target=ts"
|
|
2
2
|
// @generated from file data/v1/featureGating.proto (package data.v1, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
|
|
5
|
+
/**
|
|
6
|
+
* Describes the file data/v1/featureGating.proto.
|
|
7
|
+
*/
|
|
8
|
+
export const file_data_v1_featureGating = /*@__PURE__*/ fileDesc("ChtkYXRhL3YxL2ZlYXR1cmVHYXRpbmcucHJvdG8SB2RhdGEudjEiQgoQVG9rZW5SZXN0cmljdGlvbhIuCghjYXRlZ29yeRgBIAEoDjIcLmRhdGEudjEuUmVzdHJpY3Rpb25DYXRlZ29yeSq/AgoTUmVzdHJpY3Rpb25DYXRlZ29yeRIkCiBSRVNUUklDVElPTl9DQVRFR09SWV9VTlNQRUNJRklFRBAAEigKJFJFU1RSSUNUSU9OX0NBVEVHT1JZX0lQX0lORlJJTkdFTUVOVBABEiMKH1JFU1RSSUNUSU9OX0NBVEVHT1JZX1NBTkNUSU9ORUQQAhIjCh9SRVNUUklDVElPTl9DQVRFR09SWV9ERVJJVkFUSVZFEAMSLAooUkVTVFJJQ1RJT05fQ0FURUdPUllfVE9LRU5JWkVEX0NPTU1PRElUWRAEEi4KKlJFU1RSSUNUSU9OX0NBVEVHT1JZX1NFQ1VSSVRZX1BFUk1JU1NJT05FRBAFEjAKLFJFU1RSSUNUSU9OX0NBVEVHT1JZX1NFQ1VSSVRZX1BFUk1JU1NJT05MRVNTEAZiBnByb3RvMw");
|
|
9
|
+
/**
|
|
10
|
+
* Describes the message data.v1.TokenRestriction.
|
|
11
|
+
* Use `create(TokenRestrictionSchema)` to create a new message.
|
|
12
|
+
*/
|
|
13
|
+
export const TokenRestrictionSchema = /*@__PURE__*/ messageDesc(file_data_v1_featureGating, 0);
|
|
6
14
|
/**
|
|
7
15
|
* RestrictionCategory enumerates the kinds of restrictions a token can carry.
|
|
8
16
|
* Ordered from least to most legally sensitive, matching the upstream
|
|
@@ -41,52 +49,7 @@ export var RestrictionCategory;
|
|
|
41
49
|
*/
|
|
42
50
|
RestrictionCategory[RestrictionCategory["SECURITY_PERMISSIONLESS"] = 6] = "SECURITY_PERMISSIONLESS";
|
|
43
51
|
})(RestrictionCategory || (RestrictionCategory = {}));
|
|
44
|
-
// Retrieve enum metadata with: proto3.getEnumType(RestrictionCategory)
|
|
45
|
-
proto3.util.setEnumType(RestrictionCategory, "data.v1.RestrictionCategory", [
|
|
46
|
-
{ no: 0, name: "RESTRICTION_CATEGORY_UNSPECIFIED" },
|
|
47
|
-
{ no: 1, name: "RESTRICTION_CATEGORY_IP_INFRINGEMENT" },
|
|
48
|
-
{ no: 2, name: "RESTRICTION_CATEGORY_SANCTIONED" },
|
|
49
|
-
{ no: 3, name: "RESTRICTION_CATEGORY_DERIVATIVE" },
|
|
50
|
-
{ no: 4, name: "RESTRICTION_CATEGORY_TOKENIZED_COMMODITY" },
|
|
51
|
-
{ no: 5, name: "RESTRICTION_CATEGORY_SECURITY_PERMISSIONED" },
|
|
52
|
-
{ no: 6, name: "RESTRICTION_CATEGORY_SECURITY_PERMISSIONLESS" },
|
|
53
|
-
]);
|
|
54
52
|
/**
|
|
55
|
-
*
|
|
56
|
-
* in the caller's region. Country/subdivision is resolved server-side from
|
|
57
|
-
* ctx.auth — never the request body. Empty list = no restrictions.
|
|
58
|
-
*
|
|
59
|
-
* Categories mirror compliancev2service.v1.GatedFeature 1:1; the mapping
|
|
60
|
-
* lives server-side in the BL layer. data.v1 owns this contract so consumers
|
|
61
|
-
* of @uniswap/client-data-api don't pull in @uniswap/client-compliancev2 as
|
|
62
|
-
* a transitive dependency.
|
|
63
|
-
*
|
|
64
|
-
* @generated from message data.v1.TokenRestriction
|
|
53
|
+
* Describes the enum data.v1.RestrictionCategory.
|
|
65
54
|
*/
|
|
66
|
-
export
|
|
67
|
-
constructor(data) {
|
|
68
|
-
super();
|
|
69
|
-
/**
|
|
70
|
-
* @generated from field: data.v1.RestrictionCategory category = 1;
|
|
71
|
-
*/
|
|
72
|
-
this.category = RestrictionCategory.UNSPECIFIED;
|
|
73
|
-
proto3.util.initPartial(data, this);
|
|
74
|
-
}
|
|
75
|
-
static fromBinary(bytes, options) {
|
|
76
|
-
return new TokenRestriction().fromBinary(bytes, options);
|
|
77
|
-
}
|
|
78
|
-
static fromJson(jsonValue, options) {
|
|
79
|
-
return new TokenRestriction().fromJson(jsonValue, options);
|
|
80
|
-
}
|
|
81
|
-
static fromJsonString(jsonString, options) {
|
|
82
|
-
return new TokenRestriction().fromJsonString(jsonString, options);
|
|
83
|
-
}
|
|
84
|
-
static equals(a, b) {
|
|
85
|
-
return proto3.util.equals(TokenRestriction, a, b);
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
TokenRestriction.runtime = proto3;
|
|
89
|
-
TokenRestriction.typeName = "data.v1.TokenRestriction";
|
|
90
|
-
TokenRestriction.fields = proto3.util.newFieldList(() => [
|
|
91
|
-
{ no: 1, name: "category", kind: "enum", T: proto3.getEnumType(RestrictionCategory) },
|
|
92
|
-
]);
|
|
55
|
+
export const RestrictionCategorySchema = /*@__PURE__*/ enumDesc(file_data_v1_featureGating, 0);
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
import type { GenEnum, GenFile } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
/**
|
|
3
|
+
* Describes the file data/v1/plan.proto.
|
|
4
|
+
*/
|
|
5
|
+
export declare const file_data_v1_plan: GenFile;
|
|
1
6
|
/**
|
|
2
7
|
* @generated from enum data.v1.SwapType
|
|
3
8
|
*/
|
|
@@ -75,6 +80,10 @@ export declare enum SwapType {
|
|
|
75
80
|
*/
|
|
76
81
|
SWAP_BRIDGE = 17
|
|
77
82
|
}
|
|
83
|
+
/**
|
|
84
|
+
* Describes the enum data.v1.SwapType.
|
|
85
|
+
*/
|
|
86
|
+
export declare const SwapTypeSchema: GenEnum<SwapType>;
|
|
78
87
|
/**
|
|
79
88
|
* @generated from enum data.v1.EarnPlanAction
|
|
80
89
|
*/
|
|
@@ -92,6 +101,10 @@ export declare enum EarnPlanAction {
|
|
|
92
101
|
*/
|
|
93
102
|
WITHDRAW = 2
|
|
94
103
|
}
|
|
104
|
+
/**
|
|
105
|
+
* Describes the enum data.v1.EarnPlanAction.
|
|
106
|
+
*/
|
|
107
|
+
export declare const EarnPlanActionSchema: GenEnum<EarnPlanAction>;
|
|
95
108
|
/**
|
|
96
109
|
* @generated from enum data.v1.MarginPlanAction
|
|
97
110
|
*/
|
|
@@ -141,6 +154,10 @@ export declare enum MarginPlanAction {
|
|
|
141
154
|
*/
|
|
142
155
|
WITHDRAW_EQUITY_AND_DECREASE_LEVERAGE = 10
|
|
143
156
|
}
|
|
157
|
+
/**
|
|
158
|
+
* Describes the enum data.v1.MarginPlanAction.
|
|
159
|
+
*/
|
|
160
|
+
export declare const MarginPlanActionSchema: GenEnum<MarginPlanAction>;
|
|
144
161
|
/**
|
|
145
162
|
* @generated from enum data.v1.MarginPlanVenue
|
|
146
163
|
*/
|
|
@@ -162,6 +179,10 @@ export declare enum MarginPlanVenue {
|
|
|
162
179
|
*/
|
|
163
180
|
AAVE_V4 = 3
|
|
164
181
|
}
|
|
182
|
+
/**
|
|
183
|
+
* Describes the enum data.v1.MarginPlanVenue.
|
|
184
|
+
*/
|
|
185
|
+
export declare const MarginPlanVenueSchema: GenEnum<MarginPlanVenue>;
|
|
165
186
|
/**
|
|
166
187
|
* @generated from enum data.v1.PlanStepStatus
|
|
167
188
|
*/
|
|
@@ -191,6 +212,10 @@ export declare enum PlanStepStatus {
|
|
|
191
212
|
*/
|
|
192
213
|
ERROR = 5
|
|
193
214
|
}
|
|
215
|
+
/**
|
|
216
|
+
* Describes the enum data.v1.PlanStepStatus.
|
|
217
|
+
*/
|
|
218
|
+
export declare const PlanStepStatusSchema: GenEnum<PlanStepStatus>;
|
|
194
219
|
/**
|
|
195
220
|
* @generated from enum data.v1.PlanStatus
|
|
196
221
|
*/
|
|
@@ -220,3 +245,7 @@ export declare enum PlanStatus {
|
|
|
220
245
|
*/
|
|
221
246
|
FAILED = 4
|
|
222
247
|
}
|
|
248
|
+
/**
|
|
249
|
+
* Describes the enum data.v1.PlanStatus.
|
|
250
|
+
*/
|
|
251
|
+
export declare const PlanStatusSchema: GenEnum<PlanStatus>;
|
package/dist/data/v1/plan_pb.js
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
|
-
// @generated by protoc-gen-es
|
|
1
|
+
// @generated by protoc-gen-es v2.16.0 with parameter "target=ts"
|
|
2
2
|
// @generated from file data/v1/plan.proto (package data.v1, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
import { enumDesc, fileDesc } from "@bufbuild/protobuf/codegenv2";
|
|
5
|
+
/**
|
|
6
|
+
* Describes the file data/v1/plan.proto.
|
|
7
|
+
*/
|
|
8
|
+
export const file_data_v1_plan = /*@__PURE__*/ fileDesc("ChJkYXRhL3YxL3BsYW4ucHJvdG8SB2RhdGEudjEq2gMKCFN3YXBUeXBlEhUKEVNXQVBfVFlQRV9VTktOT1dOEAASFQoRU1dBUF9UWVBFX0NMQVNTSUMQARIZChVTV0FQX1RZUEVfRFVUQ0hfTElNSVQQAhIWChJTV0F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SwapType;
|
|
|
81
84
|
*/
|
|
82
85
|
SwapType[SwapType["SWAP_BRIDGE"] = 17] = "SWAP_BRIDGE";
|
|
83
86
|
})(SwapType || (SwapType = {}));
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
{ no: 2, name: "SWAP_TYPE_DUTCH_LIMIT" },
|
|
89
|
-
{ no: 3, name: "SWAP_TYPE_DUTCH_V2" },
|
|
90
|
-
{ no: 4, name: "SWAP_TYPE_LIMIT_ORDER" },
|
|
91
|
-
{ no: 5, name: "SWAP_TYPE_WRAP" },
|
|
92
|
-
{ no: 6, name: "SWAP_TYPE_UNWRAP" },
|
|
93
|
-
{ no: 7, name: "SWAP_TYPE_BRIDGE" },
|
|
94
|
-
{ no: 8, name: "SWAP_TYPE_PRIORITY" },
|
|
95
|
-
{ no: 9, name: "SWAP_TYPE_DUTCH_V3" },
|
|
96
|
-
{ no: 10, name: "SWAP_TYPE_CHAINED" },
|
|
97
|
-
{ no: 11, name: "SWAP_TYPE_QUICKROUTE" },
|
|
98
|
-
{ no: 12, name: "SWAP_TYPE_APPROVAL_TXN" },
|
|
99
|
-
{ no: 13, name: "SWAP_TYPE_APPROVAL_PERMIT" },
|
|
100
|
-
{ no: 14, name: "SWAP_TYPE_RESET_APPROVAL_TXN" },
|
|
101
|
-
{ no: 15, name: "SWAP_TYPE_VAULT_DEPOSIT" },
|
|
102
|
-
{ no: 16, name: "SWAP_TYPE_VAULT_WITHDRAW" },
|
|
103
|
-
{ no: 17, name: "SWAP_TYPE_SWAP_BRIDGE" },
|
|
104
|
-
]);
|
|
87
|
+
/**
|
|
88
|
+
* Describes the enum data.v1.SwapType.
|
|
89
|
+
*/
|
|
90
|
+
export const SwapTypeSchema = /*@__PURE__*/ enumDesc(file_data_v1_plan, 0);
|
|
105
91
|
/**
|
|
106
92
|
* @generated from enum data.v1.EarnPlanAction
|
|
107
93
|
*/
|
|
@@ -120,12 +106,10 @@ export var EarnPlanAction;
|
|
|
120
106
|
*/
|
|
121
107
|
EarnPlanAction[EarnPlanAction["WITHDRAW"] = 2] = "WITHDRAW";
|
|
122
108
|
})(EarnPlanAction || (EarnPlanAction = {}));
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
{ no: 2, name: "EARN_PLAN_ACTION_WITHDRAW" },
|
|
128
|
-
]);
|
|
109
|
+
/**
|
|
110
|
+
* Describes the enum data.v1.EarnPlanAction.
|
|
111
|
+
*/
|
|
112
|
+
export const EarnPlanActionSchema = /*@__PURE__*/ enumDesc(file_data_v1_plan, 1);
|
|
129
113
|
/**
|
|
130
114
|
* @generated from enum data.v1.MarginPlanAction
|
|
131
115
|
*/
|
|
@@ -176,20 +160,10 @@ export var MarginPlanAction;
|
|
|
176
160
|
*/
|
|
177
161
|
MarginPlanAction[MarginPlanAction["WITHDRAW_EQUITY_AND_DECREASE_LEVERAGE"] = 10] = "WITHDRAW_EQUITY_AND_DECREASE_LEVERAGE";
|
|
178
162
|
})(MarginPlanAction || (MarginPlanAction = {}));
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
{ no: 2, name: "MARGIN_PLAN_ACTION_CLOSE" },
|
|
184
|
-
{ no: 3, name: "MARGIN_PLAN_ACTION_INCREASE_LEVERAGE" },
|
|
185
|
-
{ no: 4, name: "MARGIN_PLAN_ACTION_DECREASE_LEVERAGE" },
|
|
186
|
-
{ no: 5, name: "MARGIN_PLAN_ACTION_ADD_EQUITY" },
|
|
187
|
-
{ no: 6, name: "MARGIN_PLAN_ACTION_WITHDRAW_EQUITY" },
|
|
188
|
-
{ no: 7, name: "MARGIN_PLAN_ACTION_ADD_EQUITY_AND_INCREASE_LEVERAGE" },
|
|
189
|
-
{ no: 8, name: "MARGIN_PLAN_ACTION_ADD_EQUITY_AND_DECREASE_LEVERAGE" },
|
|
190
|
-
{ no: 9, name: "MARGIN_PLAN_ACTION_WITHDRAW_EQUITY_AND_INCREASE_LEVERAGE" },
|
|
191
|
-
{ no: 10, name: "MARGIN_PLAN_ACTION_WITHDRAW_EQUITY_AND_DECREASE_LEVERAGE" },
|
|
192
|
-
]);
|
|
163
|
+
/**
|
|
164
|
+
* Describes the enum data.v1.MarginPlanAction.
|
|
165
|
+
*/
|
|
166
|
+
export const MarginPlanActionSchema = /*@__PURE__*/ enumDesc(file_data_v1_plan, 2);
|
|
193
167
|
/**
|
|
194
168
|
* @generated from enum data.v1.MarginPlanVenue
|
|
195
169
|
*/
|
|
@@ -212,13 +186,10 @@ export var MarginPlanVenue;
|
|
|
212
186
|
*/
|
|
213
187
|
MarginPlanVenue[MarginPlanVenue["AAVE_V4"] = 3] = "AAVE_V4";
|
|
214
188
|
})(MarginPlanVenue || (MarginPlanVenue = {}));
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
{ no: 2, name: "MARGIN_PLAN_VENUE_AAVE_V3" },
|
|
220
|
-
{ no: 3, name: "MARGIN_PLAN_VENUE_AAVE_V4" },
|
|
221
|
-
]);
|
|
189
|
+
/**
|
|
190
|
+
* Describes the enum data.v1.MarginPlanVenue.
|
|
191
|
+
*/
|
|
192
|
+
export const MarginPlanVenueSchema = /*@__PURE__*/ enumDesc(file_data_v1_plan, 3);
|
|
222
193
|
/**
|
|
223
194
|
* @generated from enum data.v1.PlanStepStatus
|
|
224
195
|
*/
|
|
@@ -249,15 +220,10 @@ export var PlanStepStatus;
|
|
|
249
220
|
*/
|
|
250
221
|
PlanStepStatus[PlanStepStatus["ERROR"] = 5] = "ERROR";
|
|
251
222
|
})(PlanStepStatus || (PlanStepStatus = {}));
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
{ no: 2, name: "PLAN_STEP_STATUS_AWAITING_ACTION" },
|
|
257
|
-
{ no: 3, name: "PLAN_STEP_STATUS_IN_PROGRESS" },
|
|
258
|
-
{ no: 4, name: "PLAN_STEP_STATUS_COMPLETE" },
|
|
259
|
-
{ no: 5, name: "PLAN_STEP_STATUS_ERROR" },
|
|
260
|
-
]);
|
|
223
|
+
/**
|
|
224
|
+
* Describes the enum data.v1.PlanStepStatus.
|
|
225
|
+
*/
|
|
226
|
+
export const PlanStepStatusSchema = /*@__PURE__*/ enumDesc(file_data_v1_plan, 4);
|
|
261
227
|
/**
|
|
262
228
|
* @generated from enum data.v1.PlanStatus
|
|
263
229
|
*/
|
|
@@ -288,12 +254,7 @@ export var PlanStatus;
|
|
|
288
254
|
*/
|
|
289
255
|
PlanStatus[PlanStatus["FAILED"] = 4] = "FAILED";
|
|
290
256
|
})(PlanStatus || (PlanStatus = {}));
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
{ no: 5, name: "PLAN_STATUS_AWAITING_ACTION" },
|
|
296
|
-
{ no: 2, name: "PLAN_STATUS_IN_PROGRESS" },
|
|
297
|
-
{ no: 3, name: "PLAN_STATUS_COMPLETED" },
|
|
298
|
-
{ no: 4, name: "PLAN_STATUS_FAILED" },
|
|
299
|
-
]);
|
|
257
|
+
/**
|
|
258
|
+
* Describes the enum data.v1.PlanStatus.
|
|
259
|
+
*/
|
|
260
|
+
export const PlanStatusSchema = /*@__PURE__*/ enumDesc(file_data_v1_plan, 5);
|