@n8n-dev/n8n-nodes-binance 1.0.0

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 (105) hide show
  1. package/README.md +123 -0
  2. package/dist/credentials/BinanceApi.credentials.d.ts +10 -0
  3. package/dist/credentials/BinanceApi.credentials.js +56 -0
  4. package/dist/credentials/BinanceApi.credentials.js.map +1 -0
  5. package/dist/icons/binance.dark.svg +4 -0
  6. package/dist/icons/binance.svg +4 -0
  7. package/dist/nodes/Binance/Binance.node.d.ts +4 -0
  8. package/dist/nodes/Binance/Binance.node.js +250 -0
  9. package/dist/nodes/Binance/Binance.node.js.map +1 -0
  10. package/dist/nodes/Binance/Binance.node.json +20 -0
  11. package/dist/nodes/Binance/binance.dark.svg +4 -0
  12. package/dist/nodes/Binance/binance.svg +4 -0
  13. package/dist/nodes/Binance/resources/auto-invest/index.d.ts +2 -0
  14. package/dist/nodes/Binance/resources/auto-invest/index.js +3694 -0
  15. package/dist/nodes/Binance/resources/auto-invest/index.js.map +1 -0
  16. package/dist/nodes/Binance/resources/blvt/index.d.ts +2 -0
  17. package/dist/nodes/Binance/resources/blvt/index.js +994 -0
  18. package/dist/nodes/Binance/resources/blvt/index.js.map +1 -0
  19. package/dist/nodes/Binance/resources/c-2-c/index.d.ts +2 -0
  20. package/dist/nodes/Binance/resources/c-2-c/index.js +265 -0
  21. package/dist/nodes/Binance/resources/c-2-c/index.js.map +1 -0
  22. package/dist/nodes/Binance/resources/convert/index.d.ts +2 -0
  23. package/dist/nodes/Binance/resources/convert/index.js +1535 -0
  24. package/dist/nodes/Binance/resources/convert/index.js.map +1 -0
  25. package/dist/nodes/Binance/resources/copy-trading/index.d.ts +2 -0
  26. package/dist/nodes/Binance/resources/copy-trading/index.js +238 -0
  27. package/dist/nodes/Binance/resources/copy-trading/index.js.map +1 -0
  28. package/dist/nodes/Binance/resources/crypto-loans/index.d.ts +2 -0
  29. package/dist/nodes/Binance/resources/crypto-loans/index.js +4599 -0
  30. package/dist/nodes/Binance/resources/crypto-loans/index.js.map +1 -0
  31. package/dist/nodes/Binance/resources/dual-investment/index.d.ts +2 -0
  32. package/dist/nodes/Binance/resources/dual-investment/index.js +988 -0
  33. package/dist/nodes/Binance/resources/dual-investment/index.js.map +1 -0
  34. package/dist/nodes/Binance/resources/fiat/index.d.ts +2 -0
  35. package/dist/nodes/Binance/resources/fiat/index.js +488 -0
  36. package/dist/nodes/Binance/resources/fiat/index.js.map +1 -0
  37. package/dist/nodes/Binance/resources/futures/index.d.ts +2 -0
  38. package/dist/nodes/Binance/resources/futures/index.js +658 -0
  39. package/dist/nodes/Binance/resources/futures/index.js.map +1 -0
  40. package/dist/nodes/Binance/resources/futures-algo/index.d.ts +2 -0
  41. package/dist/nodes/Binance/resources/futures-algo/index.js +1398 -0
  42. package/dist/nodes/Binance/resources/futures-algo/index.js.map +1 -0
  43. package/dist/nodes/Binance/resources/gift-card/index.d.ts +2 -0
  44. package/dist/nodes/Binance/resources/gift-card/index.js +903 -0
  45. package/dist/nodes/Binance/resources/gift-card/index.js.map +1 -0
  46. package/dist/nodes/Binance/resources/index.d.ts +29 -0
  47. package/dist/nodes/Binance/resources/index.js +62 -0
  48. package/dist/nodes/Binance/resources/index.js.map +1 -0
  49. package/dist/nodes/Binance/resources/isolated-margin-stream/index.d.ts +2 -0
  50. package/dist/nodes/Binance/resources/isolated-margin-stream/index.js +165 -0
  51. package/dist/nodes/Binance/resources/isolated-margin-stream/index.js.map +1 -0
  52. package/dist/nodes/Binance/resources/margin/index.d.ts +2 -0
  53. package/dist/nodes/Binance/resources/margin/index.js +10472 -0
  54. package/dist/nodes/Binance/resources/margin/index.js.map +1 -0
  55. package/dist/nodes/Binance/resources/margin-stream/index.d.ts +2 -0
  56. package/dist/nodes/Binance/resources/margin-stream/index.js +165 -0
  57. package/dist/nodes/Binance/resources/margin-stream/index.js.map +1 -0
  58. package/dist/nodes/Binance/resources/market/index.d.ts +2 -0
  59. package/dist/nodes/Binance/resources/market/index.js +1716 -0
  60. package/dist/nodes/Binance/resources/market/index.js.map +1 -0
  61. package/dist/nodes/Binance/resources/mining/index.d.ts +2 -0
  62. package/dist/nodes/Binance/resources/mining/index.js +2444 -0
  63. package/dist/nodes/Binance/resources/mining/index.js.map +1 -0
  64. package/dist/nodes/Binance/resources/nft/index.d.ts +2 -0
  65. package/dist/nodes/Binance/resources/nft/index.js +830 -0
  66. package/dist/nodes/Binance/resources/nft/index.js.map +1 -0
  67. package/dist/nodes/Binance/resources/pay/index.d.ts +2 -0
  68. package/dist/nodes/Binance/resources/pay/index.js +205 -0
  69. package/dist/nodes/Binance/resources/pay/index.js.map +1 -0
  70. package/dist/nodes/Binance/resources/portfolio-margin/index.d.ts +2 -0
  71. package/dist/nodes/Binance/resources/portfolio-margin/index.js +1561 -0
  72. package/dist/nodes/Binance/resources/portfolio-margin/index.js.map +1 -0
  73. package/dist/nodes/Binance/resources/rebate/index.d.ts +2 -0
  74. package/dist/nodes/Binance/resources/rebate/index.js +205 -0
  75. package/dist/nodes/Binance/resources/rebate/index.js.map +1 -0
  76. package/dist/nodes/Binance/resources/savings/index.d.ts +2 -0
  77. package/dist/nodes/Binance/resources/savings/index.js +882 -0
  78. package/dist/nodes/Binance/resources/savings/index.js.map +1 -0
  79. package/dist/nodes/Binance/resources/simple-earn/index.d.ts +2 -0
  80. package/dist/nodes/Binance/resources/simple-earn/index.js +4686 -0
  81. package/dist/nodes/Binance/resources/simple-earn/index.js.map +1 -0
  82. package/dist/nodes/Binance/resources/spot-algo/index.d.ts +2 -0
  83. package/dist/nodes/Binance/resources/spot-algo/index.js +982 -0
  84. package/dist/nodes/Binance/resources/spot-algo/index.js.map +1 -0
  85. package/dist/nodes/Binance/resources/staking/index.d.ts +2 -0
  86. package/dist/nodes/Binance/resources/staking/index.js +2121 -0
  87. package/dist/nodes/Binance/resources/staking/index.js.map +1 -0
  88. package/dist/nodes/Binance/resources/stream/index.d.ts +2 -0
  89. package/dist/nodes/Binance/resources/stream/index.js +165 -0
  90. package/dist/nodes/Binance/resources/stream/index.js.map +1 -0
  91. package/dist/nodes/Binance/resources/sub-account/index.d.ts +2 -0
  92. package/dist/nodes/Binance/resources/sub-account/index.js +8448 -0
  93. package/dist/nodes/Binance/resources/sub-account/index.js.map +1 -0
  94. package/dist/nodes/Binance/resources/trade/index.d.ts +2 -0
  95. package/dist/nodes/Binance/resources/trade/index.js +8198 -0
  96. package/dist/nodes/Binance/resources/trade/index.js.map +1 -0
  97. package/dist/nodes/Binance/resources/vip-loans/index.d.ts +2 -0
  98. package/dist/nodes/Binance/resources/vip-loans/index.js +1883 -0
  99. package/dist/nodes/Binance/resources/vip-loans/index.js.map +1 -0
  100. package/dist/nodes/Binance/resources/wallet/index.d.ts +2 -0
  101. package/dist/nodes/Binance/resources/wallet/index.js +5908 -0
  102. package/dist/nodes/Binance/resources/wallet/index.js.map +1 -0
  103. package/dist/package.json +62 -0
  104. package/dist/tsconfig.tsbuildinfo +1 -0
  105. package/package.json +62 -0
@@ -0,0 +1,988 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.dualInvestmentDescription = void 0;
4
+ exports.dualInvestmentDescription = [
5
+ {
6
+ "displayName": "Operation",
7
+ "name": "operation",
8
+ "type": "options",
9
+ "noDataExpression": true,
10
+ "displayOptions": {
11
+ "show": {
12
+ "resource": [
13
+ "Dual Investment"
14
+ ]
15
+ }
16
+ },
17
+ "options": [
18
+ {
19
+ "name": "GET Sapi V 1 Dci Product List",
20
+ "value": "GET Sapi V 1 Dci Product List",
21
+ "action": "Get Dual Investment product list(USER_DATA)",
22
+ "description": "Get Dual Investment product list\n\nWeight(IP): 1",
23
+ "routing": {
24
+ "request": {
25
+ "method": "GET",
26
+ "url": "=/sapi/v1/dci/product/list"
27
+ }
28
+ }
29
+ },
30
+ {
31
+ "name": "POST Sapi V 1 Dci Product Subscribe",
32
+ "value": "POST Sapi V 1 Dci Product Subscribe",
33
+ "action": "Subscribe Dual Investment products(USER_DATA)",
34
+ "description": "Subscribe Dual Investment products\n\n- `Products are not available.` means that the APR changes to lower value, or the orders are not available.\n- `Failed` is a system or network errors.\n\nWeight(IP): 1",
35
+ "routing": {
36
+ "request": {
37
+ "method": "POST",
38
+ "url": "=/sapi/v1/dci/product/subscribe"
39
+ }
40
+ }
41
+ },
42
+ {
43
+ "name": "GET Sapi V 1 Dci Product Positions",
44
+ "value": "GET Sapi V 1 Dci Product Positions",
45
+ "action": "Get Dual Investment positions(USER_DATA)",
46
+ "description": "Get Dual Investment positions (batch)\n\nWeight(IP): 1",
47
+ "routing": {
48
+ "request": {
49
+ "method": "GET",
50
+ "url": "=/sapi/v1/dci/product/positions"
51
+ }
52
+ }
53
+ },
54
+ {
55
+ "name": "GET Sapi V 1 Dci Product Accounts",
56
+ "value": "GET Sapi V 1 Dci Product Accounts",
57
+ "action": "Check Dual Investment accounts(USER_DATA)",
58
+ "description": "Check Dual Investment accounts\n\nWeight(IP): 1",
59
+ "routing": {
60
+ "request": {
61
+ "method": "GET",
62
+ "url": "=/sapi/v1/dci/product/accounts"
63
+ }
64
+ }
65
+ },
66
+ {
67
+ "name": "POST Sapi V 1 Dci Product Auto Compound Edit Status",
68
+ "value": "POST Sapi V 1 Dci Product Auto Compound Edit Status",
69
+ "action": "Change Auto-Compound status(USER_DATA)",
70
+ "description": "Change Auto-Compound status\n\n- 15:31 ~ 16:00 UTC+8 This function is disabled\n\nWeight(IP): 1\n\nRate Limit: Maximum 1 time/s per account",
71
+ "routing": {
72
+ "request": {
73
+ "method": "POST",
74
+ "url": "=/sapi/v1/dci/product/auto_compound/edit-status"
75
+ }
76
+ }
77
+ }
78
+ ],
79
+ "default": ""
80
+ },
81
+ {
82
+ "displayName": "GET /sapi/v1/dci/product/list",
83
+ "name": "operation",
84
+ "type": "notice",
85
+ "typeOptions": {
86
+ "theme": "info"
87
+ },
88
+ "default": "",
89
+ "displayOptions": {
90
+ "show": {
91
+ "resource": [
92
+ "Dual Investment"
93
+ ],
94
+ "operation": [
95
+ "GET Sapi V 1 Dci Product List"
96
+ ]
97
+ }
98
+ }
99
+ },
100
+ {
101
+ "displayName": "Option Type",
102
+ "name": "optionType",
103
+ "required": true,
104
+ "description": "Input CALL or PUT",
105
+ "default": "CALL",
106
+ "type": "options",
107
+ "options": [
108
+ {
109
+ "name": "CALL",
110
+ "value": "CALL"
111
+ },
112
+ {
113
+ "name": "PUT",
114
+ "value": "PUT"
115
+ }
116
+ ],
117
+ "routing": {
118
+ "send": {
119
+ "type": "query",
120
+ "property": "optionType",
121
+ "value": "={{ $value }}",
122
+ "propertyInDotNotation": false
123
+ }
124
+ },
125
+ "displayOptions": {
126
+ "show": {
127
+ "resource": [
128
+ "Dual Investment"
129
+ ],
130
+ "operation": [
131
+ "GET Sapi V 1 Dci Product List"
132
+ ]
133
+ }
134
+ }
135
+ },
136
+ {
137
+ "displayName": "Exercised Coin",
138
+ "name": "exercisedCoin",
139
+ "required": true,
140
+ "description": "Target exercised asset, e.g.:\nif you subscribe to a high sell product (call option), you should input:\n - optionType: CALL,\n - exercisedCoin: USDT,\n - investCoin: BNB;\n\nif you subscribe to a low buy product (put option), you should input:\n - optionType: PUT,\n - exercisedCoin: BNB,\n - investCoin: USDT;",
141
+ "default": "",
142
+ "type": "string",
143
+ "routing": {
144
+ "send": {
145
+ "type": "query",
146
+ "property": "exercisedCoin",
147
+ "value": "={{ $value }}",
148
+ "propertyInDotNotation": false
149
+ }
150
+ },
151
+ "displayOptions": {
152
+ "show": {
153
+ "resource": [
154
+ "Dual Investment"
155
+ ],
156
+ "operation": [
157
+ "GET Sapi V 1 Dci Product List"
158
+ ]
159
+ }
160
+ }
161
+ },
162
+ {
163
+ "displayName": "Invest Coin",
164
+ "name": "investCoin",
165
+ "required": true,
166
+ "description": "Asset used for subscribing, e.g.:\nif you subscribe to a high sell product (call option), you should input:\n - optionType: CALL,\n - exercisedCoin: USDT,\n - investCoin: BNB;\n\nif you subscribe to a low buy product (put option), you should input:\n - optionType: PUT,\n - exercisedCoin: BNB,\n - investCoin: USDT;",
167
+ "default": "",
168
+ "type": "string",
169
+ "routing": {
170
+ "send": {
171
+ "type": "query",
172
+ "property": "investCoin",
173
+ "value": "={{ $value }}",
174
+ "propertyInDotNotation": false
175
+ }
176
+ },
177
+ "displayOptions": {
178
+ "show": {
179
+ "resource": [
180
+ "Dual Investment"
181
+ ],
182
+ "operation": [
183
+ "GET Sapi V 1 Dci Product List"
184
+ ]
185
+ }
186
+ }
187
+ },
188
+ {
189
+ "displayName": "Page Size",
190
+ "name": "pageSize",
191
+ "description": "MIN 1, MAX 100; Default 100",
192
+ "default": "",
193
+ "type": "string",
194
+ "routing": {
195
+ "send": {
196
+ "type": "query",
197
+ "property": "pageSize",
198
+ "value": "={{ $value }}",
199
+ "propertyInDotNotation": false
200
+ }
201
+ },
202
+ "displayOptions": {
203
+ "show": {
204
+ "resource": [
205
+ "Dual Investment"
206
+ ],
207
+ "operation": [
208
+ "GET Sapi V 1 Dci Product List"
209
+ ]
210
+ }
211
+ }
212
+ },
213
+ {
214
+ "displayName": "Page Index",
215
+ "name": "pageIndex",
216
+ "description": "Page number, default is first page, start form 1",
217
+ "default": 0,
218
+ "type": "number",
219
+ "routing": {
220
+ "send": {
221
+ "type": "query",
222
+ "property": "pageIndex",
223
+ "value": "={{ $value }}",
224
+ "propertyInDotNotation": false
225
+ }
226
+ },
227
+ "displayOptions": {
228
+ "show": {
229
+ "resource": [
230
+ "Dual Investment"
231
+ ],
232
+ "operation": [
233
+ "GET Sapi V 1 Dci Product List"
234
+ ]
235
+ }
236
+ }
237
+ },
238
+ {
239
+ "displayName": "Recv Window",
240
+ "name": "recvWindow",
241
+ "description": "The value cannot be greater than 60000",
242
+ "default": 5000,
243
+ "type": "number",
244
+ "routing": {
245
+ "send": {
246
+ "type": "query",
247
+ "property": "recvWindow",
248
+ "value": "={{ $value }}",
249
+ "propertyInDotNotation": false
250
+ }
251
+ },
252
+ "displayOptions": {
253
+ "show": {
254
+ "resource": [
255
+ "Dual Investment"
256
+ ],
257
+ "operation": [
258
+ "GET Sapi V 1 Dci Product List"
259
+ ]
260
+ }
261
+ }
262
+ },
263
+ {
264
+ "displayName": "Timestamp",
265
+ "name": "timestamp",
266
+ "required": true,
267
+ "description": "UTC timestamp in ms",
268
+ "default": 0,
269
+ "type": "number",
270
+ "routing": {
271
+ "send": {
272
+ "type": "query",
273
+ "property": "timestamp",
274
+ "value": "={{ $value }}",
275
+ "propertyInDotNotation": false
276
+ }
277
+ },
278
+ "displayOptions": {
279
+ "show": {
280
+ "resource": [
281
+ "Dual Investment"
282
+ ],
283
+ "operation": [
284
+ "GET Sapi V 1 Dci Product List"
285
+ ]
286
+ }
287
+ }
288
+ },
289
+ {
290
+ "displayName": "Signature",
291
+ "name": "signature",
292
+ "required": true,
293
+ "description": "Signature",
294
+ "default": "",
295
+ "type": "string",
296
+ "routing": {
297
+ "send": {
298
+ "type": "query",
299
+ "property": "signature",
300
+ "value": "={{ $value }}",
301
+ "propertyInDotNotation": false
302
+ }
303
+ },
304
+ "displayOptions": {
305
+ "show": {
306
+ "resource": [
307
+ "Dual Investment"
308
+ ],
309
+ "operation": [
310
+ "GET Sapi V 1 Dci Product List"
311
+ ]
312
+ }
313
+ }
314
+ },
315
+ {
316
+ "displayName": "POST /sapi/v1/dci/product/subscribe",
317
+ "name": "operation",
318
+ "type": "notice",
319
+ "typeOptions": {
320
+ "theme": "info"
321
+ },
322
+ "default": "",
323
+ "displayOptions": {
324
+ "show": {
325
+ "resource": [
326
+ "Dual Investment"
327
+ ],
328
+ "operation": [
329
+ "POST Sapi V 1 Dci Product Subscribe"
330
+ ]
331
+ }
332
+ }
333
+ },
334
+ {
335
+ "displayName": "Id",
336
+ "name": "id",
337
+ "required": true,
338
+ "description": "get id from /sapi/v1/dci/product/list",
339
+ "default": "",
340
+ "type": "string",
341
+ "routing": {
342
+ "send": {
343
+ "type": "query",
344
+ "property": "id",
345
+ "value": "={{ $value }}",
346
+ "propertyInDotNotation": false
347
+ }
348
+ },
349
+ "displayOptions": {
350
+ "show": {
351
+ "resource": [
352
+ "Dual Investment"
353
+ ],
354
+ "operation": [
355
+ "POST Sapi V 1 Dci Product Subscribe"
356
+ ]
357
+ }
358
+ }
359
+ },
360
+ {
361
+ "displayName": "Order Id",
362
+ "name": "orderId",
363
+ "required": true,
364
+ "description": "get orderId from /sapi/v1/dci/product/list",
365
+ "default": "",
366
+ "type": "string",
367
+ "routing": {
368
+ "send": {
369
+ "type": "query",
370
+ "property": "orderId",
371
+ "value": "={{ $value }}",
372
+ "propertyInDotNotation": false
373
+ }
374
+ },
375
+ "displayOptions": {
376
+ "show": {
377
+ "resource": [
378
+ "Dual Investment"
379
+ ],
380
+ "operation": [
381
+ "POST Sapi V 1 Dci Product Subscribe"
382
+ ]
383
+ }
384
+ }
385
+ },
386
+ {
387
+ "displayName": "Deposit Amount",
388
+ "name": "depositAmount",
389
+ "required": true,
390
+ "default": 0,
391
+ "type": "number",
392
+ "routing": {
393
+ "send": {
394
+ "type": "query",
395
+ "property": "depositAmount",
396
+ "value": "={{ $value }}",
397
+ "propertyInDotNotation": false
398
+ }
399
+ },
400
+ "displayOptions": {
401
+ "show": {
402
+ "resource": [
403
+ "Dual Investment"
404
+ ],
405
+ "operation": [
406
+ "POST Sapi V 1 Dci Product Subscribe"
407
+ ]
408
+ }
409
+ }
410
+ },
411
+ {
412
+ "displayName": "Auto Compound Plan",
413
+ "name": "autoCompoundPlan",
414
+ "required": true,
415
+ "description": "NONE: switch off the plan,\nSTANDARD: standard plan,\nADVANCED: advanced plan;",
416
+ "default": "NONE",
417
+ "type": "options",
418
+ "options": [
419
+ {
420
+ "name": "NONE",
421
+ "value": "NONE"
422
+ },
423
+ {
424
+ "name": "STANDARD",
425
+ "value": "STANDARD"
426
+ },
427
+ {
428
+ "name": "ADVANCE",
429
+ "value": "ADVANCE"
430
+ }
431
+ ],
432
+ "routing": {
433
+ "send": {
434
+ "type": "query",
435
+ "property": "autoCompoundPlan",
436
+ "value": "={{ $value }}",
437
+ "propertyInDotNotation": false
438
+ }
439
+ },
440
+ "displayOptions": {
441
+ "show": {
442
+ "resource": [
443
+ "Dual Investment"
444
+ ],
445
+ "operation": [
446
+ "POST Sapi V 1 Dci Product Subscribe"
447
+ ]
448
+ }
449
+ }
450
+ },
451
+ {
452
+ "displayName": "Recv Window",
453
+ "name": "recvWindow",
454
+ "description": "The value cannot be greater than 60000",
455
+ "default": 5000,
456
+ "type": "number",
457
+ "routing": {
458
+ "send": {
459
+ "type": "query",
460
+ "property": "recvWindow",
461
+ "value": "={{ $value }}",
462
+ "propertyInDotNotation": false
463
+ }
464
+ },
465
+ "displayOptions": {
466
+ "show": {
467
+ "resource": [
468
+ "Dual Investment"
469
+ ],
470
+ "operation": [
471
+ "POST Sapi V 1 Dci Product Subscribe"
472
+ ]
473
+ }
474
+ }
475
+ },
476
+ {
477
+ "displayName": "Timestamp",
478
+ "name": "timestamp",
479
+ "required": true,
480
+ "description": "UTC timestamp in ms",
481
+ "default": 0,
482
+ "type": "number",
483
+ "routing": {
484
+ "send": {
485
+ "type": "query",
486
+ "property": "timestamp",
487
+ "value": "={{ $value }}",
488
+ "propertyInDotNotation": false
489
+ }
490
+ },
491
+ "displayOptions": {
492
+ "show": {
493
+ "resource": [
494
+ "Dual Investment"
495
+ ],
496
+ "operation": [
497
+ "POST Sapi V 1 Dci Product Subscribe"
498
+ ]
499
+ }
500
+ }
501
+ },
502
+ {
503
+ "displayName": "Signature",
504
+ "name": "signature",
505
+ "required": true,
506
+ "description": "Signature",
507
+ "default": "",
508
+ "type": "string",
509
+ "routing": {
510
+ "send": {
511
+ "type": "query",
512
+ "property": "signature",
513
+ "value": "={{ $value }}",
514
+ "propertyInDotNotation": false
515
+ }
516
+ },
517
+ "displayOptions": {
518
+ "show": {
519
+ "resource": [
520
+ "Dual Investment"
521
+ ],
522
+ "operation": [
523
+ "POST Sapi V 1 Dci Product Subscribe"
524
+ ]
525
+ }
526
+ }
527
+ },
528
+ {
529
+ "displayName": "GET /sapi/v1/dci/product/positions",
530
+ "name": "operation",
531
+ "type": "notice",
532
+ "typeOptions": {
533
+ "theme": "info"
534
+ },
535
+ "default": "",
536
+ "displayOptions": {
537
+ "show": {
538
+ "resource": [
539
+ "Dual Investment"
540
+ ],
541
+ "operation": [
542
+ "GET Sapi V 1 Dci Product Positions"
543
+ ]
544
+ }
545
+ }
546
+ },
547
+ {
548
+ "displayName": "Status",
549
+ "name": "status",
550
+ "description": "- PENDING: Products are purchasing, will give results later;\n- PURCHASE_SUCCESS: purchase successfully;\n- SETTLED: Products are finish settling;\n- PURCHASE_FAIL: fail to purchase;\n- REFUNDING: refund ongoing;\n- REFUND_SUCCESS: refund to spot account successfully;\n- SETTLING: Products are settling.\nIf don't fill this field, will response all the position status.",
551
+ "default": "PENDING",
552
+ "type": "options",
553
+ "options": [
554
+ {
555
+ "name": "PENDING",
556
+ "value": "PENDING"
557
+ },
558
+ {
559
+ "name": "PURCHASE SUCCESS",
560
+ "value": "PURCHASE_SUCCESS"
561
+ },
562
+ {
563
+ "name": "SETTLED",
564
+ "value": "SETTLED"
565
+ },
566
+ {
567
+ "name": "PURCHASE FAIL",
568
+ "value": "PURCHASE_FAIL"
569
+ },
570
+ {
571
+ "name": "REFUNDING",
572
+ "value": "REFUNDING"
573
+ },
574
+ {
575
+ "name": "REFUND SUCCESS",
576
+ "value": "REFUND_SUCCESS"
577
+ },
578
+ {
579
+ "name": "SETTLING",
580
+ "value": "SETTLING"
581
+ }
582
+ ],
583
+ "routing": {
584
+ "send": {
585
+ "type": "query",
586
+ "property": "status",
587
+ "value": "={{ $value }}",
588
+ "propertyInDotNotation": false
589
+ }
590
+ },
591
+ "displayOptions": {
592
+ "show": {
593
+ "resource": [
594
+ "Dual Investment"
595
+ ],
596
+ "operation": [
597
+ "GET Sapi V 1 Dci Product Positions"
598
+ ]
599
+ }
600
+ }
601
+ },
602
+ {
603
+ "displayName": "Page Size",
604
+ "name": "pageSize",
605
+ "description": "MIN 1, MAX 100; Default 100",
606
+ "default": "",
607
+ "type": "string",
608
+ "routing": {
609
+ "send": {
610
+ "type": "query",
611
+ "property": "pageSize",
612
+ "value": "={{ $value }}",
613
+ "propertyInDotNotation": false
614
+ }
615
+ },
616
+ "displayOptions": {
617
+ "show": {
618
+ "resource": [
619
+ "Dual Investment"
620
+ ],
621
+ "operation": [
622
+ "GET Sapi V 1 Dci Product Positions"
623
+ ]
624
+ }
625
+ }
626
+ },
627
+ {
628
+ "displayName": "Page Index",
629
+ "name": "pageIndex",
630
+ "description": "Page number, default is first page, start form 1",
631
+ "default": 0,
632
+ "type": "number",
633
+ "routing": {
634
+ "send": {
635
+ "type": "query",
636
+ "property": "pageIndex",
637
+ "value": "={{ $value }}",
638
+ "propertyInDotNotation": false
639
+ }
640
+ },
641
+ "displayOptions": {
642
+ "show": {
643
+ "resource": [
644
+ "Dual Investment"
645
+ ],
646
+ "operation": [
647
+ "GET Sapi V 1 Dci Product Positions"
648
+ ]
649
+ }
650
+ }
651
+ },
652
+ {
653
+ "displayName": "Recv Window",
654
+ "name": "recvWindow",
655
+ "description": "The value cannot be greater than 60000",
656
+ "default": 5000,
657
+ "type": "number",
658
+ "routing": {
659
+ "send": {
660
+ "type": "query",
661
+ "property": "recvWindow",
662
+ "value": "={{ $value }}",
663
+ "propertyInDotNotation": false
664
+ }
665
+ },
666
+ "displayOptions": {
667
+ "show": {
668
+ "resource": [
669
+ "Dual Investment"
670
+ ],
671
+ "operation": [
672
+ "GET Sapi V 1 Dci Product Positions"
673
+ ]
674
+ }
675
+ }
676
+ },
677
+ {
678
+ "displayName": "Timestamp",
679
+ "name": "timestamp",
680
+ "required": true,
681
+ "description": "UTC timestamp in ms",
682
+ "default": 0,
683
+ "type": "number",
684
+ "routing": {
685
+ "send": {
686
+ "type": "query",
687
+ "property": "timestamp",
688
+ "value": "={{ $value }}",
689
+ "propertyInDotNotation": false
690
+ }
691
+ },
692
+ "displayOptions": {
693
+ "show": {
694
+ "resource": [
695
+ "Dual Investment"
696
+ ],
697
+ "operation": [
698
+ "GET Sapi V 1 Dci Product Positions"
699
+ ]
700
+ }
701
+ }
702
+ },
703
+ {
704
+ "displayName": "Signature",
705
+ "name": "signature",
706
+ "required": true,
707
+ "description": "Signature",
708
+ "default": "",
709
+ "type": "string",
710
+ "routing": {
711
+ "send": {
712
+ "type": "query",
713
+ "property": "signature",
714
+ "value": "={{ $value }}",
715
+ "propertyInDotNotation": false
716
+ }
717
+ },
718
+ "displayOptions": {
719
+ "show": {
720
+ "resource": [
721
+ "Dual Investment"
722
+ ],
723
+ "operation": [
724
+ "GET Sapi V 1 Dci Product Positions"
725
+ ]
726
+ }
727
+ }
728
+ },
729
+ {
730
+ "displayName": "GET /sapi/v1/dci/product/accounts",
731
+ "name": "operation",
732
+ "type": "notice",
733
+ "typeOptions": {
734
+ "theme": "info"
735
+ },
736
+ "default": "",
737
+ "displayOptions": {
738
+ "show": {
739
+ "resource": [
740
+ "Dual Investment"
741
+ ],
742
+ "operation": [
743
+ "GET Sapi V 1 Dci Product Accounts"
744
+ ]
745
+ }
746
+ }
747
+ },
748
+ {
749
+ "displayName": "Recv Window",
750
+ "name": "recvWindow",
751
+ "description": "The value cannot be greater than 60000",
752
+ "default": 5000,
753
+ "type": "number",
754
+ "routing": {
755
+ "send": {
756
+ "type": "query",
757
+ "property": "recvWindow",
758
+ "value": "={{ $value }}",
759
+ "propertyInDotNotation": false
760
+ }
761
+ },
762
+ "displayOptions": {
763
+ "show": {
764
+ "resource": [
765
+ "Dual Investment"
766
+ ],
767
+ "operation": [
768
+ "GET Sapi V 1 Dci Product Accounts"
769
+ ]
770
+ }
771
+ }
772
+ },
773
+ {
774
+ "displayName": "Timestamp",
775
+ "name": "timestamp",
776
+ "required": true,
777
+ "description": "UTC timestamp in ms",
778
+ "default": 0,
779
+ "type": "number",
780
+ "routing": {
781
+ "send": {
782
+ "type": "query",
783
+ "property": "timestamp",
784
+ "value": "={{ $value }}",
785
+ "propertyInDotNotation": false
786
+ }
787
+ },
788
+ "displayOptions": {
789
+ "show": {
790
+ "resource": [
791
+ "Dual Investment"
792
+ ],
793
+ "operation": [
794
+ "GET Sapi V 1 Dci Product Accounts"
795
+ ]
796
+ }
797
+ }
798
+ },
799
+ {
800
+ "displayName": "Signature",
801
+ "name": "signature",
802
+ "required": true,
803
+ "description": "Signature",
804
+ "default": "",
805
+ "type": "string",
806
+ "routing": {
807
+ "send": {
808
+ "type": "query",
809
+ "property": "signature",
810
+ "value": "={{ $value }}",
811
+ "propertyInDotNotation": false
812
+ }
813
+ },
814
+ "displayOptions": {
815
+ "show": {
816
+ "resource": [
817
+ "Dual Investment"
818
+ ],
819
+ "operation": [
820
+ "GET Sapi V 1 Dci Product Accounts"
821
+ ]
822
+ }
823
+ }
824
+ },
825
+ {
826
+ "displayName": "POST /sapi/v1/dci/product/auto_compound/edit-status",
827
+ "name": "operation",
828
+ "type": "notice",
829
+ "typeOptions": {
830
+ "theme": "info"
831
+ },
832
+ "default": "",
833
+ "displayOptions": {
834
+ "show": {
835
+ "resource": [
836
+ "Dual Investment"
837
+ ],
838
+ "operation": [
839
+ "POST Sapi V 1 Dci Product Auto Compound Edit Status"
840
+ ]
841
+ }
842
+ }
843
+ },
844
+ {
845
+ "displayName": "Position Id",
846
+ "name": "positionId",
847
+ "required": true,
848
+ "description": "Get positionId from /sapi/v1/dci/product/positions",
849
+ "default": 0,
850
+ "type": "number",
851
+ "routing": {
852
+ "send": {
853
+ "type": "query",
854
+ "property": "positionId",
855
+ "value": "={{ $value }}",
856
+ "propertyInDotNotation": false
857
+ }
858
+ },
859
+ "displayOptions": {
860
+ "show": {
861
+ "resource": [
862
+ "Dual Investment"
863
+ ],
864
+ "operation": [
865
+ "POST Sapi V 1 Dci Product Auto Compound Edit Status"
866
+ ]
867
+ }
868
+ }
869
+ },
870
+ {
871
+ "displayName": "Auto Compound Plan",
872
+ "name": "autoCompoundPlan",
873
+ "required": true,
874
+ "description": "NONE: switch off the plan,\nSTANDARD: standard plan,\nADVANCED: advanced plan;",
875
+ "default": "NONE",
876
+ "type": "options",
877
+ "options": [
878
+ {
879
+ "name": "NONE",
880
+ "value": "NONE"
881
+ },
882
+ {
883
+ "name": "STANDARD",
884
+ "value": "STANDARD"
885
+ },
886
+ {
887
+ "name": "ADVANCE",
888
+ "value": "ADVANCE"
889
+ }
890
+ ],
891
+ "routing": {
892
+ "send": {
893
+ "type": "query",
894
+ "property": "autoCompoundPlan",
895
+ "value": "={{ $value }}",
896
+ "propertyInDotNotation": false
897
+ }
898
+ },
899
+ "displayOptions": {
900
+ "show": {
901
+ "resource": [
902
+ "Dual Investment"
903
+ ],
904
+ "operation": [
905
+ "POST Sapi V 1 Dci Product Auto Compound Edit Status"
906
+ ]
907
+ }
908
+ }
909
+ },
910
+ {
911
+ "displayName": "Recv Window",
912
+ "name": "recvWindow",
913
+ "description": "The value cannot be greater than 60000",
914
+ "default": 5000,
915
+ "type": "number",
916
+ "routing": {
917
+ "send": {
918
+ "type": "query",
919
+ "property": "recvWindow",
920
+ "value": "={{ $value }}",
921
+ "propertyInDotNotation": false
922
+ }
923
+ },
924
+ "displayOptions": {
925
+ "show": {
926
+ "resource": [
927
+ "Dual Investment"
928
+ ],
929
+ "operation": [
930
+ "POST Sapi V 1 Dci Product Auto Compound Edit Status"
931
+ ]
932
+ }
933
+ }
934
+ },
935
+ {
936
+ "displayName": "Timestamp",
937
+ "name": "timestamp",
938
+ "required": true,
939
+ "description": "UTC timestamp in ms",
940
+ "default": 0,
941
+ "type": "number",
942
+ "routing": {
943
+ "send": {
944
+ "type": "query",
945
+ "property": "timestamp",
946
+ "value": "={{ $value }}",
947
+ "propertyInDotNotation": false
948
+ }
949
+ },
950
+ "displayOptions": {
951
+ "show": {
952
+ "resource": [
953
+ "Dual Investment"
954
+ ],
955
+ "operation": [
956
+ "POST Sapi V 1 Dci Product Auto Compound Edit Status"
957
+ ]
958
+ }
959
+ }
960
+ },
961
+ {
962
+ "displayName": "Signature",
963
+ "name": "signature",
964
+ "required": true,
965
+ "description": "Signature",
966
+ "default": "",
967
+ "type": "string",
968
+ "routing": {
969
+ "send": {
970
+ "type": "query",
971
+ "property": "signature",
972
+ "value": "={{ $value }}",
973
+ "propertyInDotNotation": false
974
+ }
975
+ },
976
+ "displayOptions": {
977
+ "show": {
978
+ "resource": [
979
+ "Dual Investment"
980
+ ],
981
+ "operation": [
982
+ "POST Sapi V 1 Dci Product Auto Compound Edit Status"
983
+ ]
984
+ }
985
+ }
986
+ },
987
+ ];
988
+ //# sourceMappingURL=index.js.map