n8n-nodes-tk-modify-orders 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.
@@ -0,0 +1,523 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BitgetTKModifyOrder = void 0;
4
+ const n8n_workflow_1 = require("n8n-workflow");
5
+ const BitgetHelper_1 = require("./BitgetHelper");
6
+ class BitgetTKModifyOrder {
7
+ constructor() {
8
+ this.description = {
9
+ displayName: 'Bitget TK – Modify Open Order',
10
+ name: 'bitgetTKModifyOrder',
11
+ icon: 'file:bitget.svg',
12
+ group: ['transform'],
13
+ version: 1,
14
+ subtitle: 'Modify an open/pending order on Bitget',
15
+ description: 'Modify a pending open order on Bitget. Supports modifying regular orders, trigger/plan orders, and TP/SL orders — all API v2 parameters included.',
16
+ defaults: {
17
+ name: 'Bitget TK – Modify Open Order',
18
+ },
19
+ inputs: ['main'],
20
+ outputs: ['main'],
21
+ credentials: [
22
+ {
23
+ name: 'bitgetTKApi',
24
+ required: true,
25
+ },
26
+ ],
27
+ properties: [
28
+ // ─── Operation Selector ──────────────────────────────────────────
29
+ {
30
+ displayName: 'Order Operation',
31
+ name: 'orderOperation',
32
+ type: 'options',
33
+ options: [
34
+ {
35
+ name: 'Modify Regular Order',
36
+ value: 'modifyOrder',
37
+ description: 'Modify price/size of a standard pending limit order',
38
+ },
39
+ {
40
+ name: 'Modify Trigger / Plan Order',
41
+ value: 'modifyPlanOrder',
42
+ description: 'Modify a pending trigger order (normal plan or trailing stop)',
43
+ },
44
+ {
45
+ name: 'Modify TP/SL Order',
46
+ value: 'modifyTpslOrder',
47
+ description: 'Modify a take-profit or stop-loss plan order',
48
+ },
49
+ ],
50
+ default: 'modifyOrder',
51
+ description: 'Choose which type of order to modify',
52
+ },
53
+ // ════════════════════════════════════════════════════════════════
54
+ // ─── MODIFY REGULAR ORDER ────────────────────────────────────────
55
+ // ════════════════════════════════════════════════════════════════
56
+ {
57
+ displayName: '── Regular Order Modification ──',
58
+ name: 'regularOrderSection',
59
+ type: 'notice',
60
+ default: '',
61
+ displayOptions: { show: { orderOperation: ['modifyOrder'] } },
62
+ description: 'Endpoint: POST /api/v2/mix/order/modify-order. Rate limit: 10/s per UID.',
63
+ },
64
+ {
65
+ displayName: 'Symbol',
66
+ name: 'symbol',
67
+ type: 'string',
68
+ default: 'BTCUSDT',
69
+ required: true,
70
+ displayOptions: { show: { orderOperation: ['modifyOrder'] } },
71
+ description: 'Trading pair symbol, e.g. BTCUSDT',
72
+ },
73
+ {
74
+ displayName: 'Product Type',
75
+ name: 'productType',
76
+ type: 'options',
77
+ options: [
78
+ { name: 'USDT-M Perpetual Futures', value: 'USDT-FUTURES' },
79
+ { name: 'Coin-M Perpetual Futures', value: 'COIN-FUTURES' },
80
+ { name: 'USDC-M Perpetual Futures', value: 'USDC-FUTURES' },
81
+ { name: 'Simulated USDT-M Futures', value: 'SUSDT-FUTURES' },
82
+ { name: 'Simulated Coin-M Futures', value: 'SCOIN-FUTURES' },
83
+ { name: 'Simulated USDC-M Futures', value: 'SUSDC-FUTURES' },
84
+ ],
85
+ default: 'USDT-FUTURES',
86
+ required: true,
87
+ displayOptions: { show: { orderOperation: ['modifyOrder'] } },
88
+ description: 'Futures product type',
89
+ },
90
+ {
91
+ displayName: 'Margin Coin',
92
+ name: 'marginCoin',
93
+ type: 'string',
94
+ default: 'USDT',
95
+ required: true,
96
+ displayOptions: { show: { orderOperation: ['modifyOrder'] } },
97
+ description: 'Margin currency, e.g. USDT, BTC, USDC',
98
+ },
99
+ {
100
+ displayName: 'Order ID',
101
+ name: 'orderId',
102
+ type: 'string',
103
+ default: '',
104
+ displayOptions: { show: { orderOperation: ['modifyOrder'] } },
105
+ description: 'Exchange-assigned order ID. Either orderId or clientOid must be provided.',
106
+ },
107
+ {
108
+ displayName: 'Client Order ID (clientOid)',
109
+ name: 'clientOid',
110
+ type: 'string',
111
+ default: '',
112
+ displayOptions: { show: { orderOperation: ['modifyOrder'] } },
113
+ description: 'Original client order ID. Used if orderId is not available.',
114
+ },
115
+ {
116
+ displayName: 'New Client Order ID (newClientOid)',
117
+ name: 'newClientOid',
118
+ type: 'string',
119
+ default: '',
120
+ displayOptions: { show: { orderOperation: ['modifyOrder'] } },
121
+ description: 'Assign a new client order ID after modification. Optional.',
122
+ },
123
+ {
124
+ displayName: 'New Price (newPrice)',
125
+ name: 'newPrice',
126
+ type: 'string',
127
+ default: '',
128
+ displayOptions: { show: { orderOperation: ['modifyOrder'] } },
129
+ description: 'New limit price for the order. Must meet Bitget price precision and multiplier rules.',
130
+ },
131
+ {
132
+ displayName: 'New Size (newSize)',
133
+ name: 'newSize',
134
+ type: 'string',
135
+ default: '',
136
+ displayOptions: { show: { orderOperation: ['modifyOrder'] } },
137
+ description: 'New quantity for the order. Must be ≥ minOrderAmount.',
138
+ },
139
+ {
140
+ displayName: 'New Preset Stop-Surplus (TP) Price',
141
+ name: 'newPresetStopSurplusPrice',
142
+ type: 'string',
143
+ default: '',
144
+ displayOptions: { show: { orderOperation: ['modifyOrder'] } },
145
+ description: 'Modify the preset take-profit trigger price on the order.',
146
+ },
147
+ {
148
+ displayName: 'New Preset Stop-Loss Price',
149
+ name: 'newPresetStopLossPrice',
150
+ type: 'string',
151
+ default: '',
152
+ displayOptions: { show: { orderOperation: ['modifyOrder'] } },
153
+ description: 'Modify the preset stop-loss trigger price on the order.',
154
+ },
155
+ // ════════════════════════════════════════════════════════════════
156
+ // ─── MODIFY TRIGGER / PLAN ORDER ─────────────────────────────────
157
+ // ════════════════════════════════════════════════════════════════
158
+ {
159
+ displayName: '── Trigger / Plan Order Modification ──',
160
+ name: 'planOrderSection',
161
+ type: 'notice',
162
+ default: '',
163
+ displayOptions: { show: { orderOperation: ['modifyPlanOrder'] } },
164
+ description: 'Endpoint: POST /api/v2/mix/order/modify-plan-order. Rate limit: 10/s per UID.',
165
+ },
166
+ {
167
+ displayName: 'Plan Type',
168
+ name: 'planType',
169
+ type: 'options',
170
+ options: [
171
+ { name: 'Normal Plan (trigger order)', value: 'normal_plan' },
172
+ { name: 'Trailing Stop-Loss', value: 'track_plan' },
173
+ ],
174
+ default: 'normal_plan',
175
+ displayOptions: { show: { orderOperation: ['modifyPlanOrder'] } },
176
+ description: 'Type of the trigger/plan order to modify',
177
+ },
178
+ {
179
+ displayName: 'Symbol',
180
+ name: 'planSymbol',
181
+ type: 'string',
182
+ default: 'BTCUSDT',
183
+ required: true,
184
+ displayOptions: { show: { orderOperation: ['modifyPlanOrder'] } },
185
+ description: 'Trading pair symbol',
186
+ },
187
+ {
188
+ displayName: 'Product Type',
189
+ name: 'planProductType',
190
+ type: 'options',
191
+ options: [
192
+ { name: 'USDT-M Perpetual Futures', value: 'USDT-FUTURES' },
193
+ { name: 'Coin-M Perpetual Futures', value: 'COIN-FUTURES' },
194
+ { name: 'USDC-M Perpetual Futures', value: 'USDC-FUTURES' },
195
+ { name: 'Simulated USDT-M Futures', value: 'SUSDT-FUTURES' },
196
+ { name: 'Simulated Coin-M Futures', value: 'SCOIN-FUTURES' },
197
+ { name: 'Simulated USDC-M Futures', value: 'SUSDC-FUTURES' },
198
+ ],
199
+ default: 'USDT-FUTURES',
200
+ required: true,
201
+ displayOptions: { show: { orderOperation: ['modifyPlanOrder'] } },
202
+ description: 'Futures product type',
203
+ },
204
+ {
205
+ displayName: 'Order ID',
206
+ name: 'planOrderId',
207
+ type: 'string',
208
+ default: '',
209
+ displayOptions: { show: { orderOperation: ['modifyPlanOrder'] } },
210
+ description: 'Exchange order ID of the trigger order. Either orderId or clientOid is required.',
211
+ },
212
+ {
213
+ displayName: 'Client Order ID (clientOid)',
214
+ name: 'planClientOid',
215
+ type: 'string',
216
+ default: '',
217
+ displayOptions: { show: { orderOperation: ['modifyPlanOrder'] } },
218
+ description: 'Original client order ID of the trigger order.',
219
+ },
220
+ {
221
+ displayName: 'New Size (newSize)',
222
+ name: 'planNewSize',
223
+ type: 'string',
224
+ default: '',
225
+ displayOptions: { show: { orderOperation: ['modifyPlanOrder'] } },
226
+ description: 'New order quantity',
227
+ },
228
+ {
229
+ displayName: 'New Execution Price (newPrice)',
230
+ name: 'planNewPrice',
231
+ type: 'string',
232
+ default: '',
233
+ displayOptions: { show: { orderOperation: ['modifyPlanOrder'] } },
234
+ description: 'New limit price for execution when trigger fires. Leave blank for market execution.',
235
+ },
236
+ {
237
+ displayName: 'New Trigger Price (newTriggerPrice)',
238
+ name: 'planNewTriggerPrice',
239
+ type: 'string',
240
+ default: '',
241
+ displayOptions: { show: { orderOperation: ['modifyPlanOrder'] } },
242
+ description: 'New price that triggers the order',
243
+ },
244
+ {
245
+ displayName: 'New Trigger Type (newTriggerType)',
246
+ name: 'planNewTriggerType',
247
+ type: 'options',
248
+ options: [
249
+ { name: 'Fill Price (Last Price)', value: 'fill_price' },
250
+ { name: 'Mark Price', value: 'mark_price' },
251
+ { name: 'Index Price', value: 'index_price' },
252
+ { name: '(Unchanged)', value: '' },
253
+ ],
254
+ default: '',
255
+ displayOptions: { show: { orderOperation: ['modifyPlanOrder'] } },
256
+ description: 'Price type used to evaluate the trigger condition',
257
+ },
258
+ {
259
+ displayName: 'New Callback Ratio (newCallbackRatio)',
260
+ name: 'planNewCallbackRatio',
261
+ type: 'string',
262
+ default: '',
263
+ displayOptions: { show: { orderOperation: ['modifyPlanOrder'] } },
264
+ description: 'For trailing stop orders only. The callback percentage (e.g. "1" = 1%) that triggers the trailing stop.',
265
+ },
266
+ {
267
+ displayName: '── Attached TP/SL on Trigger Order ──',
268
+ name: 'planTpslSection',
269
+ type: 'notice',
270
+ default: '',
271
+ displayOptions: { show: { orderOperation: ['modifyPlanOrder'] } },
272
+ },
273
+ {
274
+ displayName: 'New Stop-Surplus (TP) Trigger Price',
275
+ name: 'planNewStopSurplusTriggerPrice',
276
+ type: 'string',
277
+ default: '',
278
+ displayOptions: { show: { orderOperation: ['modifyPlanOrder'] } },
279
+ description: 'New take-profit trigger price attached to the trigger order',
280
+ },
281
+ {
282
+ displayName: 'New Stop-Surplus Trigger Type',
283
+ name: 'planNewStopSurplusTriggerType',
284
+ type: 'options',
285
+ options: [
286
+ { name: 'Fill Price (Last)', value: 'fill_price' },
287
+ { name: 'Mark Price', value: 'mark_price' },
288
+ { name: 'Index Price', value: 'index_price' },
289
+ { name: '(Unchanged)', value: '' },
290
+ ],
291
+ default: '',
292
+ displayOptions: { show: { orderOperation: ['modifyPlanOrder'] } },
293
+ description: 'Price type for the take-profit trigger',
294
+ },
295
+ {
296
+ displayName: 'New Stop-Surplus Execute Price',
297
+ name: 'planNewStopSurplusExecutePrice',
298
+ type: 'string',
299
+ default: '',
300
+ displayOptions: { show: { orderOperation: ['modifyPlanOrder'] } },
301
+ description: 'Limit execution price for the take-profit. Leave blank for market.',
302
+ },
303
+ {
304
+ displayName: 'New Stop-Loss Trigger Price',
305
+ name: 'planNewStopLossTriggerPrice',
306
+ type: 'string',
307
+ default: '',
308
+ displayOptions: { show: { orderOperation: ['modifyPlanOrder'] } },
309
+ description: 'New stop-loss trigger price attached to the trigger order',
310
+ },
311
+ {
312
+ displayName: 'New Stop-Loss Trigger Type',
313
+ name: 'planNewStopLossTriggerType',
314
+ type: 'options',
315
+ options: [
316
+ { name: 'Fill Price (Last)', value: 'fill_price' },
317
+ { name: 'Mark Price', value: 'mark_price' },
318
+ { name: 'Index Price', value: 'index_price' },
319
+ { name: '(Unchanged)', value: '' },
320
+ ],
321
+ default: '',
322
+ displayOptions: { show: { orderOperation: ['modifyPlanOrder'] } },
323
+ description: 'Price type for the stop-loss trigger',
324
+ },
325
+ {
326
+ displayName: 'New Stop-Loss Execute Price',
327
+ name: 'planNewStopLossExecutePrice',
328
+ type: 'string',
329
+ default: '',
330
+ displayOptions: { show: { orderOperation: ['modifyPlanOrder'] } },
331
+ description: 'Limit execution price for the stop-loss. Leave blank for market.',
332
+ },
333
+ // ════════════════════════════════════════════════════════════════
334
+ // ─── MODIFY TP/SL ORDER ──────────────────────────────────────────
335
+ // ════════════════════════════════════════════════════════════════
336
+ {
337
+ displayName: '── TP/SL Order Modification ──',
338
+ name: 'tpslOrderSection',
339
+ type: 'notice',
340
+ default: '',
341
+ displayOptions: { show: { orderOperation: ['modifyTpslOrder'] } },
342
+ description: 'Endpoint: POST /api/v2/mix/order/modify-tpsl-order. Modify a standalone TP or SL plan order. Rate limit: 10/s per UID.',
343
+ },
344
+ {
345
+ displayName: 'Symbol',
346
+ name: 'tpslSymbol',
347
+ type: 'string',
348
+ default: 'BTCUSDT',
349
+ required: true,
350
+ displayOptions: { show: { orderOperation: ['modifyTpslOrder'] } },
351
+ description: 'Trading pair symbol',
352
+ },
353
+ {
354
+ displayName: 'Product Type',
355
+ name: 'tpslProductType',
356
+ type: 'options',
357
+ options: [
358
+ { name: 'USDT-M Perpetual Futures', value: 'usdt-futures' },
359
+ { name: 'Coin-M Perpetual Futures', value: 'coin-futures' },
360
+ { name: 'USDC-M Perpetual Futures', value: 'usdc-futures' },
361
+ { name: 'Simulated USDT-M Futures', value: 'susdt-futures' },
362
+ { name: 'Simulated Coin-M Futures', value: 'scoin-futures' },
363
+ { name: 'Simulated USDC-M Futures', value: 'susdc-futures' },
364
+ ],
365
+ default: 'usdt-futures',
366
+ required: true,
367
+ displayOptions: { show: { orderOperation: ['modifyTpslOrder'] } },
368
+ description: 'Futures product type',
369
+ },
370
+ {
371
+ displayName: 'Margin Coin',
372
+ name: 'tpslMarginCoin',
373
+ type: 'string',
374
+ default: 'USDT',
375
+ required: true,
376
+ displayOptions: { show: { orderOperation: ['modifyTpslOrder'] } },
377
+ description: 'Margin currency',
378
+ },
379
+ {
380
+ displayName: 'Order ID',
381
+ name: 'tpslOrderId',
382
+ type: 'string',
383
+ default: '',
384
+ displayOptions: { show: { orderOperation: ['modifyTpslOrder'] } },
385
+ description: 'Order ID of the TP/SL order to modify. Either orderId or clientOid required.',
386
+ },
387
+ {
388
+ displayName: 'Client Order ID (clientOid)',
389
+ name: 'tpslClientOid',
390
+ type: 'string',
391
+ default: '',
392
+ displayOptions: { show: { orderOperation: ['modifyTpslOrder'] } },
393
+ description: 'Original client order ID of the TP/SL order.',
394
+ },
395
+ {
396
+ displayName: 'New Trigger Price',
397
+ name: 'tpslNewTriggerPrice',
398
+ type: 'string',
399
+ default: '',
400
+ displayOptions: { show: { orderOperation: ['modifyTpslOrder'] } },
401
+ description: 'New trigger price for the TP or SL order',
402
+ },
403
+ {
404
+ displayName: 'New Trigger Type',
405
+ name: 'tpslNewTriggerType',
406
+ type: 'options',
407
+ options: [
408
+ { name: 'Fill Price (Last)', value: 'fill_price' },
409
+ { name: 'Mark Price', value: 'mark_price' },
410
+ { name: 'Index Price', value: 'index_price' },
411
+ { name: '(Unchanged)', value: '' },
412
+ ],
413
+ default: '',
414
+ displayOptions: { show: { orderOperation: ['modifyTpslOrder'] } },
415
+ description: 'Price type used to evaluate the trigger condition',
416
+ },
417
+ {
418
+ displayName: 'New Execute Price',
419
+ name: 'tpslNewExecutePrice',
420
+ type: 'string',
421
+ default: '',
422
+ displayOptions: { show: { orderOperation: ['modifyTpslOrder'] } },
423
+ description: 'Limit execution price after trigger fires. Use "0" for market execution.',
424
+ },
425
+ {
426
+ displayName: 'New Size',
427
+ name: 'tpslNewSize',
428
+ type: 'string',
429
+ default: '',
430
+ displayOptions: { show: { orderOperation: ['modifyTpslOrder'] } },
431
+ description: 'New quantity for the TP/SL order',
432
+ },
433
+ {
434
+ displayName: 'Range Rate (for trailing TP/SL)',
435
+ name: 'tpslRangeRate',
436
+ type: 'string',
437
+ default: '',
438
+ displayOptions: { show: { orderOperation: ['modifyTpslOrder'] } },
439
+ description: 'Trailing rate percentage for trailing TP/SL orders. E.g. "1" = 1%.',
440
+ },
441
+ ],
442
+ };
443
+ }
444
+ async execute() {
445
+ const items = this.getInputData();
446
+ const returnData = [];
447
+ const credentials = await this.getCredentials('bitgetTKApi');
448
+ const creds = {
449
+ apiKey: credentials.apiKey,
450
+ secretKey: credentials.secretKey,
451
+ passphrase: credentials.passphrase,
452
+ };
453
+ for (let i = 0; i < items.length; i++) {
454
+ try {
455
+ const orderOperation = this.getNodeParameter('orderOperation', i);
456
+ let result;
457
+ if (orderOperation === 'modifyOrder') {
458
+ const body = (0, BitgetHelper_1.cleanBody)({
459
+ symbol: this.getNodeParameter('symbol', i),
460
+ productType: this.getNodeParameter('productType', i),
461
+ marginCoin: this.getNodeParameter('marginCoin', i),
462
+ orderId: this.getNodeParameter('orderId', i) || undefined,
463
+ clientOid: this.getNodeParameter('clientOid', i) || undefined,
464
+ newClientOid: this.getNodeParameter('newClientOid', i) || undefined,
465
+ newPrice: this.getNodeParameter('newPrice', i) || undefined,
466
+ newSize: this.getNodeParameter('newSize', i) || undefined,
467
+ newPresetStopSurplusPrice: this.getNodeParameter('newPresetStopSurplusPrice', i) || undefined,
468
+ newPresetStopLossPrice: this.getNodeParameter('newPresetStopLossPrice', i) || undefined,
469
+ });
470
+ result = await (0, BitgetHelper_1.bitgetRequest)(creds, 'POST', '/api/v2/mix/order/modify-order', body);
471
+ }
472
+ else if (orderOperation === 'modifyPlanOrder') {
473
+ const body = (0, BitgetHelper_1.cleanBody)({
474
+ planType: this.getNodeParameter('planType', i),
475
+ symbol: this.getNodeParameter('planSymbol', i),
476
+ productType: this.getNodeParameter('planProductType', i),
477
+ orderId: this.getNodeParameter('planOrderId', i) || undefined,
478
+ clientOid: this.getNodeParameter('planClientOid', i) || undefined,
479
+ newSize: this.getNodeParameter('planNewSize', i) || undefined,
480
+ newPrice: this.getNodeParameter('planNewPrice', i) || undefined,
481
+ newTriggerPrice: this.getNodeParameter('planNewTriggerPrice', i) || undefined,
482
+ newTriggerType: this.getNodeParameter('planNewTriggerType', i) || undefined,
483
+ newCallbackRatio: this.getNodeParameter('planNewCallbackRatio', i) || undefined,
484
+ newStopSurplusTriggerPrice: this.getNodeParameter('planNewStopSurplusTriggerPrice', i) || undefined,
485
+ newStopSurplusTriggerType: this.getNodeParameter('planNewStopSurplusTriggerType', i) || undefined,
486
+ newStopSurplusExecutePrice: this.getNodeParameter('planNewStopSurplusExecutePrice', i) || undefined,
487
+ newStopLossTriggerPrice: this.getNodeParameter('planNewStopLossTriggerPrice', i) || undefined,
488
+ newStopLossTriggerType: this.getNodeParameter('planNewStopLossTriggerType', i) || undefined,
489
+ newStopLossExecutePrice: this.getNodeParameter('planNewStopLossExecutePrice', i) || undefined,
490
+ });
491
+ result = await (0, BitgetHelper_1.bitgetRequest)(creds, 'POST', '/api/v2/mix/order/modify-plan-order', body);
492
+ }
493
+ else {
494
+ // modifyTpslOrder
495
+ const body = (0, BitgetHelper_1.cleanBody)({
496
+ symbol: this.getNodeParameter('tpslSymbol', i),
497
+ productType: this.getNodeParameter('tpslProductType', i),
498
+ marginCoin: this.getNodeParameter('tpslMarginCoin', i),
499
+ orderId: this.getNodeParameter('tpslOrderId', i) || undefined,
500
+ clientOid: this.getNodeParameter('tpslClientOid', i) || undefined,
501
+ triggerPrice: this.getNodeParameter('tpslNewTriggerPrice', i) || undefined,
502
+ triggerType: this.getNodeParameter('tpslNewTriggerType', i) || undefined,
503
+ executePrice: this.getNodeParameter('tpslNewExecutePrice', i) || undefined,
504
+ size: this.getNodeParameter('tpslNewSize', i) || undefined,
505
+ rangeRate: this.getNodeParameter('tpslRangeRate', i) || undefined,
506
+ });
507
+ result = await (0, BitgetHelper_1.bitgetRequest)(creds, 'POST', '/api/v2/mix/order/modify-tpsl-order', body);
508
+ }
509
+ returnData.push({ json: result });
510
+ }
511
+ catch (error) {
512
+ if (this.continueOnFail()) {
513
+ returnData.push({ json: { error: error.message } });
514
+ continue;
515
+ }
516
+ throw new n8n_workflow_1.NodeOperationError(this.getNode(), error, { itemIndex: i });
517
+ }
518
+ }
519
+ return [returnData];
520
+ }
521
+ }
522
+ exports.BitgetTKModifyOrder = BitgetTKModifyOrder;
523
+ //# sourceMappingURL=BitgetTKModifyOrder.node.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BitgetTKModifyOrder.node.js","sourceRoot":"","sources":["../../../nodes/BitgetTK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C,IAAI,CAAC,EAAE,IAAI,EAAE,MAAqB,EAAE,CAAC,CAAC;YACnD,CAAC;YAAC,OAAO,KAAK,EAAE,CAAC;gBACf,IAAI,IAAI,CAAC,cAAc,EAAE,EAAE,CAAC;oBAC1B,UAAU,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,EAAE,KAAK,EAAG,KAAe,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC;oBAC/D,SAAS;gBACX,CAAC;gBACD,MAAM,IAAI,iCAAkB,CAAC,IAAI,CAAC,OAAO,EAAE,EAAE,KAAc,EAAE,EAAE,SAAS,EAAE,CAAC,EAAE,CAAC,CAAC;YACjF,CAAC;QACH,CAAC;QAED,OAAO,CAAC,UAAU,CAAC,CAAC;IACtB,CAAC;CACF;AAhhBD,kDAghBC"}
@@ -0,0 +1,6 @@
1
+ import { IExecuteFunctions, INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow';
2
+ export declare class BitgetTKModifyPosition implements INodeType {
3
+ description: INodeTypeDescription;
4
+ execute(this: IExecuteFunctions): Promise<INodeExecutionData[][]>;
5
+ }
6
+ //# sourceMappingURL=BitgetTKModifyPosition.node.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BitgetTKModifyPosition.node.d.ts","sourceRoot":"","sources":["../../../nodes/BitgetTK/BitgetTKModifyPosition.node.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,iBAAiB,EACjB,kBAAkB,EAClB,SAAS,EACT,oBAAoB,EAErB,MAAM,cAAc,CAAC;AAItB,qBAAa,sBAAuB,YAAW,SAAS;IACtD,WAAW,EAAE,oBAAoB,CAgpB/B;IAEI,OAAO,CAAC,IAAI,EAAE,iBAAiB,GAAG,OAAO,CAAC,kBAAkB,EAAE,EAAE,CAAC;CA2HxE"}