@bizjaya/finclient 0.1.1 → 0.2.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.
package/dist/index.d.cts CHANGED
@@ -13,8 +13,8 @@ declare function readAllChanges<T>(readPage: (cursor?: string, signal?: AbortSig
13
13
 
14
14
  /** Configuration for a server-side FinCopy API client. */
15
15
  interface FinClientOptions {
16
- /** FinCopy API key. Keep it in trusted server-side code. */
17
- apiKey: string;
16
+ /** FinCopy API key. Keep it in trusted server-side code. Optional when the supplied fetch authenticates a member session. */
17
+ apiKey?: string;
18
18
  /** Absolute API root. Defaults to the public FinCopy API. */
19
19
  baseUrl?: string;
20
20
  /** Per-attempt timeout in milliseconds. Defaults to 30 seconds. */
@@ -23,6 +23,8 @@ interface FinClientOptions {
23
23
  maxRetries?: number;
24
24
  /** Optional fetch implementation, primarily useful for tests. */
25
25
  fetch?: typeof fetch;
26
+ /** Fetch credentials mode. Session clients default to include; key clients default to same-origin. */
27
+ credentials?: "omit" | "same-origin" | "include";
26
28
  /** Optional retry wait implementation, primarily useful for tests. */
27
29
  retryDelay?: (milliseconds: number, signal?: AbortSignal) => Promise<void>;
28
30
  /** Optional jitter source, primarily useful for tests. */
@@ -34,13 +36,19 @@ interface FinRequestOptions {
34
36
  idempotencyKey?: string;
35
37
  }
36
38
 
39
+ /** One server-sent event from the FinCopy event stream. */
40
+ interface FinStreamEvent {
41
+ event: string;
42
+ data: string;
43
+ }
44
+
37
45
  /**
38
46
  * This file was auto-generated by openapi-typescript.
39
47
  * Do not make direct changes to the file.
40
48
  */
41
49
 
42
50
  interface paths {
43
- "/v1/accounts": {
51
+ "/v1/fxs/accounts": {
44
52
  parameters: {
45
53
  query?: never;
46
54
  header?: never;
@@ -50,14 +58,19 @@ interface paths {
50
58
  /** List the accounts this key can reach, each with its terminal, broker server and latest state. */
51
59
  get: operations["AccountList"];
52
60
  put?: never;
53
- post?: never;
61
+ /**
62
+ * Add a hosted account for the key's owner. It waits for approval and a hosted instance, as on the member screens.
63
+ * Send an Idempotency-Key: a retry with the same key returns the account the first call made. ExternalRef is your own id
64
+ * for the account. Needs the Trade permission.
65
+ */
66
+ post: operations["AccountMake"];
54
67
  delete?: never;
55
68
  options?: never;
56
69
  head?: never;
57
70
  patch?: never;
58
71
  trace?: never;
59
72
  };
60
- "/v1/accounts/make": {
73
+ "/v1/fxs/accounts/demo": {
61
74
  parameters: {
62
75
  query?: never;
63
76
  header?: never;
@@ -66,19 +79,32 @@ interface paths {
66
79
  };
67
80
  get?: never;
68
81
  put?: never;
69
- /**
70
- * Add a hosted account for the key's owner. It waits for approval and a hosted instance, as on the member screens.
71
- * Send an Idempotency-Key: a retry with the same key returns the account the first call made. ExternalRef is your own id
72
- * for the account. Needs the Trade permission.
73
- */
74
- post: operations["AccountMake"];
82
+ /** Create a demo account. */
83
+ post: operations["DemoMake"];
84
+ delete?: never;
85
+ options?: never;
86
+ head?: never;
87
+ patch?: never;
88
+ trace?: never;
89
+ };
90
+ "/v1/fxs/accounts/demo-availability": {
91
+ parameters: {
92
+ query?: never;
93
+ header?: never;
94
+ path?: never;
95
+ cookie?: never;
96
+ };
97
+ /** Places available for a demo terminal on the selected platform. */
98
+ get: operations["DemoAvailability"];
99
+ put?: never;
100
+ post?: never;
75
101
  delete?: never;
76
102
  options?: never;
77
103
  head?: never;
78
104
  patch?: never;
79
105
  trace?: never;
80
106
  };
81
- "/v1/accounts/{accountId}": {
107
+ "/v1/fxs/accounts/{acno}": {
82
108
  parameters: {
83
109
  query?: never;
84
110
  header?: never;
@@ -89,13 +115,18 @@ interface paths {
89
115
  get: operations["AccountView"];
90
116
  put?: never;
91
117
  post?: never;
92
- delete?: never;
118
+ /**
119
+ * Remove the account and its hosted terminal. Only the account's owner can. The Idempotency-Key header is
120
+ * required: a retry while the removal runs returns the same operation; after it finishes the account answers 404.
121
+ * Needs the Trade permission. Returns the operation id.
122
+ */
123
+ delete: operations["AccountRemove"];
93
124
  options?: never;
94
125
  head?: never;
95
126
  patch?: never;
96
127
  trace?: never;
97
128
  };
98
- "/v1/accounts/{accountId}/external-ref": {
129
+ "/v1/fxs/accounts/{acno}/external-ref": {
99
130
  parameters: {
100
131
  query?: never;
101
132
  header?: never;
@@ -105,7 +136,7 @@ interface paths {
105
136
  get?: never;
106
137
  /**
107
138
  * Set your own id for the account (for example your portfolio number); an empty value clears it. Works before the
108
- * account's first sync. It comes back on the account and on every change-feed row. Needs the Trade permission.
139
+ * account is added. It comes back on the account and on every change-feed row. Needs the Trade permission.
109
140
  */
110
141
  put: operations["AccountExternalRef"];
111
142
  post?: never;
@@ -115,7 +146,7 @@ interface paths {
115
146
  patch?: never;
116
147
  trace?: never;
117
148
  };
118
- "/v1/accounts/{accountId}/fxs": {
149
+ "/v1/fxs/accounts/{acno}/settings": {
119
150
  parameters: {
120
151
  query?: never;
121
152
  header?: never;
@@ -124,7 +155,7 @@ interface paths {
124
155
  };
125
156
  /**
126
157
  * The account's trading record: its settings (ACCSTG, the symbol template SYMSTG), mode and money. Exists from the
127
- * account's first sync.
158
+ * account is added; until its first sync, live account data is empty.
128
159
  */
129
160
  get: operations["AccountFxs"];
130
161
  put?: never;
@@ -139,7 +170,7 @@ interface paths {
139
170
  patch: operations["AccountSettings"];
140
171
  trace?: never;
141
172
  };
142
- "/v1/accounts/{accountId}/pairs": {
173
+ "/v1/fxs/accounts/{acno}/pairs": {
143
174
  parameters: {
144
175
  query?: never;
145
176
  header?: never;
@@ -156,7 +187,7 @@ interface paths {
156
187
  patch?: never;
157
188
  trace?: never;
158
189
  };
159
- "/v1/accounts/{accountId}/pairs/{prno}": {
190
+ "/v1/fxs/accounts/{acno}/pairs/{prno}": {
160
191
  parameters: {
161
192
  query?: never;
162
193
  header?: never;
@@ -177,7 +208,7 @@ interface paths {
177
208
  patch: operations["AccountPairSettings"];
178
209
  trace?: never;
179
210
  };
180
- "/v1/accounts/{accountId}/orders/history": {
211
+ "/v1/fxs/accounts/{acno}/history": {
181
212
  parameters: {
182
213
  query?: never;
183
214
  header?: never;
@@ -194,7 +225,7 @@ interface paths {
194
225
  patch?: never;
195
226
  trace?: never;
196
227
  };
197
- "/v1/accounts/{accountId}/orders/history/{oid}": {
228
+ "/v1/fxs/accounts/{acno}/history/{oid}": {
198
229
  parameters: {
199
230
  query?: never;
200
231
  header?: never;
@@ -211,7 +242,7 @@ interface paths {
211
242
  patch?: never;
212
243
  trace?: never;
213
244
  };
214
- "/v1/accounts/{accountId}/orders": {
245
+ "/v1/fxs/accounts/{acno}/orders": {
215
246
  parameters: {
216
247
  query?: never;
217
248
  header?: never;
@@ -221,18 +252,14 @@ interface paths {
221
252
  /** Live orders: queued, sent to the terminal, open positions and pending orders. */
222
253
  get: operations["AccountOrders"];
223
254
  put?: never;
224
- /**
225
- * Make one FXS action (NEW, AVL, AVG, CLO, CLA, CLG, STP, CSL) on one side. A close is allowed while an admin has
226
- * disabled the account's owner; an open or add is not. The Idempotency-Key header is required. Needs the Trade permission.
227
- */
228
- post: operations["AccountTradeMake"];
255
+ post?: never;
229
256
  delete?: never;
230
257
  options?: never;
231
258
  head?: never;
232
259
  patch?: never;
233
260
  trace?: never;
234
261
  };
235
- "/v1/accounts/{accountId}/dca-queue": {
262
+ "/v1/fxs/accounts/{acno}/dca": {
236
263
  parameters: {
237
264
  query?: never;
238
265
  header?: never;
@@ -249,7 +276,7 @@ interface paths {
249
276
  patch?: never;
250
277
  trace?: never;
251
278
  };
252
- "/v1/accounts/{accountId}/dca/{oid}/answer": {
279
+ "/v1/fxs/accounts/{acno}/dca/{oid}": {
253
280
  parameters: {
254
281
  query?: never;
255
282
  header?: never;
@@ -269,7 +296,7 @@ interface paths {
269
296
  patch?: never;
270
297
  trace?: never;
271
298
  };
272
- "/v1/accounts/{accountId}/orders/{oid}": {
299
+ "/v1/fxs/accounts/{acno}/orders/{oid}": {
273
300
  parameters: {
274
301
  query?: never;
275
302
  header?: never;
@@ -286,7 +313,7 @@ interface paths {
286
313
  patch?: never;
287
314
  trace?: never;
288
315
  };
289
- "/v1/accounts/{accountId}/symbols": {
316
+ "/v1/fxs/accounts/{acno}/symbols": {
290
317
  parameters: {
291
318
  query?: never;
292
319
  header?: never;
@@ -307,7 +334,7 @@ interface paths {
307
334
  patch?: never;
308
335
  trace?: never;
309
336
  };
310
- "/v1/accounts/{accountId}/quotes/{symbol}": {
337
+ "/v1/fxs/accounts/{acno}/quotes/{symbol}": {
311
338
  parameters: {
312
339
  query?: never;
313
340
  header?: never;
@@ -324,7 +351,7 @@ interface paths {
324
351
  patch?: never;
325
352
  trace?: never;
326
353
  };
327
- "/v1/accounts/{accountId}/performance": {
354
+ "/v1/fxs/accounts/{acno}/performance": {
328
355
  parameters: {
329
356
  query?: never;
330
357
  header?: never;
@@ -341,7 +368,41 @@ interface paths {
341
368
  patch?: never;
342
369
  trace?: never;
343
370
  };
344
- "/v1/accounts/{accountId}/activity": {
371
+ "/v1/fxs/accounts/{acno}/performance/window": {
372
+ parameters: {
373
+ query?: never;
374
+ header?: never;
375
+ path?: never;
376
+ cookie?: never;
377
+ };
378
+ /** The selected account's recent performance window. */
379
+ get: operations["AccountPerformanceWindow"];
380
+ put?: never;
381
+ post?: never;
382
+ delete?: never;
383
+ options?: never;
384
+ head?: never;
385
+ patch?: never;
386
+ trace?: never;
387
+ };
388
+ "/v1/fxs/accounts/{acno}/performance/bars": {
389
+ parameters: {
390
+ query?: never;
391
+ header?: never;
392
+ path?: never;
393
+ cookie?: never;
394
+ };
395
+ /** The selected account's performance bars. */
396
+ get: operations["AccountPerformanceBars"];
397
+ put?: never;
398
+ post?: never;
399
+ delete?: never;
400
+ options?: never;
401
+ head?: never;
402
+ patch?: never;
403
+ trace?: never;
404
+ };
405
+ "/v1/fxs/accounts/{acno}/activity": {
345
406
  parameters: {
346
407
  query?: never;
347
408
  header?: never;
@@ -358,7 +419,41 @@ interface paths {
358
419
  patch?: never;
359
420
  trace?: never;
360
421
  };
361
- "/v1/accounts/changes": {
422
+ "/v1/fxs/accounts/{acno}/password": {
423
+ parameters: {
424
+ query?: never;
425
+ header?: never;
426
+ path?: never;
427
+ cookie?: never;
428
+ };
429
+ get?: never;
430
+ put?: never;
431
+ /** Change the broker password and queue the terminal operation. */
432
+ post: operations["AccountPassword"];
433
+ delete?: never;
434
+ options?: never;
435
+ head?: never;
436
+ patch?: never;
437
+ trace?: never;
438
+ };
439
+ "/v1/fxs/accounts/{acno}/operations": {
440
+ parameters: {
441
+ query?: never;
442
+ header?: never;
443
+ path?: never;
444
+ cookie?: never;
445
+ };
446
+ /** Recent terminal operations for this account. */
447
+ get: operations["AccountOperations"];
448
+ put?: never;
449
+ post?: never;
450
+ delete?: never;
451
+ options?: never;
452
+ head?: never;
453
+ patch?: never;
454
+ trace?: never;
455
+ };
456
+ "/v1/changes": {
362
457
  parameters: {
363
458
  query?: never;
364
459
  header?: never;
@@ -382,32 +477,35 @@ interface paths {
382
477
  patch?: never;
383
478
  trace?: never;
384
479
  };
385
- "/v1/accounts/webhook": {
480
+ "/v1/webhook": {
386
481
  parameters: {
387
482
  query?: never;
388
483
  header?: never;
389
484
  path?: never;
390
485
  cookie?: never;
391
486
  };
392
- /** This key's webhook, if one is set (the secret is never shown again). */
487
+ /**
488
+ * This key's webhook, if one is set (the secret is never shown again). API key only: a webhook belongs to a key,
489
+ * so a member session cannot call it.
490
+ */
393
491
  get: operations["WebhookView"];
394
492
  /**
395
493
  * Set this key's webhook: an HTTPS address on port 443 that resolves to public addresses only. FinCopy then POSTs
396
494
  * the change feed to it (event "changes": Changes, Cursor, More), at least once and oldest first, retrying with back-off
397
495
  * and stopping after 20 failures in a row; a retry may repeat rows, and each row is safe to apply twice. Each POST carries X-FinCopy-Timestamp (Unix seconds) and X-FinCopy-Signature:
398
496
  * "sha256=" + lowercase hex of HMAC-SHA256(secret, timestamp + "." + raw body). The secret is in this reply only. Setting
399
- * the webhook again makes a new secret and restarts it from now. Needs the Trade permission.
497
+ * the webhook again makes a new secret and restarts it from now. API key only, with the Trade permission.
400
498
  */
401
499
  put: operations["WebhookSet"];
402
500
  post?: never;
403
- /** Remove this key's webhook. Needs the Trade permission. */
501
+ /** Remove this key's webhook. API key only, with the Trade permission. */
404
502
  delete: operations["WebhookVoid"];
405
503
  options?: never;
406
504
  head?: never;
407
505
  patch?: never;
408
506
  trace?: never;
409
507
  };
410
- "/v1/accounts/webhook/ping": {
508
+ "/v1/webhook/ping": {
411
509
  parameters: {
412
510
  query?: never;
413
511
  header?: never;
@@ -416,7 +514,7 @@ interface paths {
416
514
  };
417
515
  get?: never;
418
516
  put?: never;
419
- /** Send a signed test POST (event "ping") to this key's webhook. Needs the Trade permission. */
517
+ /** Send a signed test POST (event "ping") to this key's webhook. API key only, with the Trade permission. */
420
518
  post: operations["WebhookPing"];
421
519
  delete?: never;
422
520
  options?: never;
@@ -424,7 +522,7 @@ interface paths {
424
522
  patch?: never;
425
523
  trace?: never;
426
524
  };
427
- "/v1/accounts/{accountId}/orders/preinfo": {
525
+ "/v1/fxs/accounts/{acno}/trade/preinfo": {
428
526
  parameters: {
429
527
  query?: never;
430
528
  header?: never;
@@ -433,7 +531,10 @@ interface paths {
433
531
  };
434
532
  get?: never;
435
533
  put?: never;
436
- /** The facts a trade ticket needs for one symbol: price, lot limits, the side's books and settings. */
534
+ /**
535
+ * The facts a trade ticket needs for one symbol: price, lot limits, the side's books and settings. For a signed-in
536
+ * member session it also says whether the account owner's trade PIN must be entered (a key never needs one).
537
+ */
437
538
  post: operations["AccountTradePreInfo"];
438
539
  delete?: never;
439
540
  options?: never;
@@ -441,7 +542,27 @@ interface paths {
441
542
  patch?: never;
442
543
  trace?: never;
443
544
  };
444
- "/v1/accounts/{accountId}/orders/hedge": {
545
+ "/v1/fxs/accounts/{acno}/trade": {
546
+ parameters: {
547
+ query?: never;
548
+ header?: never;
549
+ path?: never;
550
+ cookie?: never;
551
+ };
552
+ get?: never;
553
+ put?: never;
554
+ /**
555
+ * Make one FXS action (NEW, AVL, AVG, CLO, CLA, CLG, STP, CSL) on one side. A close is allowed while an admin has
556
+ * disabled the account's owner; an open or add is not. The Idempotency-Key header is required. Needs the Trade permission.
557
+ */
558
+ post: operations["AccountTradeMake"];
559
+ delete?: never;
560
+ options?: never;
561
+ head?: never;
562
+ patch?: never;
563
+ trace?: never;
564
+ };
565
+ "/v1/fxs/accounts/{acno}/trade/hedge": {
445
566
  parameters: {
446
567
  query?: never;
447
568
  header?: never;
@@ -458,7 +579,7 @@ interface paths {
458
579
  patch?: never;
459
580
  trace?: never;
460
581
  };
461
- "/v1/accounts/{accountId}/trades/modify": {
582
+ "/v1/fxs/accounts/{acno}/trade/modify": {
462
583
  parameters: {
463
584
  query?: never;
464
585
  header?: never;
@@ -475,7 +596,7 @@ interface paths {
475
596
  patch?: never;
476
597
  trace?: never;
477
598
  };
478
- "/v1/accounts/{accountId}/trades/cancel-waiting": {
599
+ "/v1/fxs/accounts/{acno}/trade/cancel": {
479
600
  parameters: {
480
601
  query?: never;
481
602
  header?: never;
@@ -492,7 +613,49 @@ interface paths {
492
613
  patch?: never;
493
614
  trace?: never;
494
615
  };
495
- "/v1/accounts/{accountId}/start": {
616
+ "/v1/fxs/accounts/{acno}/strategy/preview": {
617
+ parameters: {
618
+ query?: never;
619
+ header?: never;
620
+ path?: never;
621
+ cookie?: never;
622
+ };
623
+ get?: never;
624
+ put?: never;
625
+ /**
626
+ * What applying a strategy to this account would change, per symbol, without changing anything. The strategy is
627
+ * one of the account owner's or a FinCopy preset (list them with the strategies route and this ACNO).
628
+ * Needs the Trade permission on the account.
629
+ */
630
+ post: operations["AccountStrategyPreview"];
631
+ delete?: never;
632
+ options?: never;
633
+ head?: never;
634
+ patch?: never;
635
+ trace?: never;
636
+ };
637
+ "/v1/fxs/accounts/{acno}/strategy/apply": {
638
+ parameters: {
639
+ query?: never;
640
+ header?: never;
641
+ path?: never;
642
+ cookie?: never;
643
+ };
644
+ get?: never;
645
+ put?: never;
646
+ /**
647
+ * Apply a strategy (the account owner's or a FinCopy preset) to this account: the account and its symbols take the strategy's settings, and a
648
+ * side that holds orders keeps what it must keep. The reply counts what changed and what was held. Needs the Trade
649
+ * permission on the account.
650
+ */
651
+ post: operations["AccountStrategyApply"];
652
+ delete?: never;
653
+ options?: never;
654
+ head?: never;
655
+ patch?: never;
656
+ trace?: never;
657
+ };
658
+ "/v1/fxs/accounts/{acno}/start": {
496
659
  parameters: {
497
660
  query?: never;
498
661
  header?: never;
@@ -512,7 +675,7 @@ interface paths {
512
675
  patch?: never;
513
676
  trace?: never;
514
677
  };
515
- "/v1/accounts/{accountId}/stop": {
678
+ "/v1/fxs/accounts/{acno}/stop": {
516
679
  parameters: {
517
680
  query?: never;
518
681
  header?: never;
@@ -532,7 +695,7 @@ interface paths {
532
695
  patch?: never;
533
696
  trace?: never;
534
697
  };
535
- "/v1/accounts/{accountId}/restart": {
698
+ "/v1/fxs/accounts/{acno}/restart": {
536
699
  parameters: {
537
700
  query?: never;
538
701
  header?: never;
@@ -552,82 +715,300 @@ interface paths {
552
715
  patch?: never;
553
716
  trace?: never;
554
717
  };
555
- "/v1/accounts/{accountId}/remove": {
718
+ "/v1/fxs/pairs": {
556
719
  parameters: {
557
720
  query?: never;
558
721
  header?: never;
559
722
  path?: never;
560
723
  cookie?: never;
561
724
  };
562
- get?: never;
725
+ /** Lists the pairs across accounts the caller can reach. */
726
+ get: operations["Pairs"];
563
727
  put?: never;
564
- /**
565
- * Remove the account and its hosted terminal. Only the account's owner can. The Idempotency-Key header is
566
- * required: a retry while the removal runs returns the same operation; after it finishes the account answers 404.
567
- * Needs the Trade permission. Returns the operation id.
568
- */
569
- post: operations["AccountRemove"];
728
+ post?: never;
570
729
  delete?: never;
571
730
  options?: never;
572
731
  head?: never;
573
732
  patch?: never;
574
733
  trace?: never;
575
734
  };
576
- }
577
- interface components {
578
- schemas: {
579
- BooleanResPonse: {
580
- data?: boolean;
581
- /** Format: int32 */
582
- code?: number;
583
- readonly isOk?: boolean;
584
- message?: string | null;
585
- errors?: string[] | null;
586
- chksum?: string | null;
735
+ "/v1/fxs/orders": {
736
+ parameters: {
737
+ query?: never;
738
+ header?: never;
739
+ path?: never;
740
+ cookie?: never;
587
741
  };
588
- /** @enum {string} */
589
- BrokerServerEnvironment: "Demo" | "Live" | "Unknown";
590
- /** @enum {string} */
591
- BrokerServerStatus: "Submitted" | "Verified" | "Retired";
592
- /** @description The key's webhook: the HTTPS address (port 443 only) FinCopy POSTs to when the key's accounts change. */
593
- CmdApiWebhookSet: {
594
- Url?: string | null;
742
+ /** Lists open orders across accounts the caller can reach. */
743
+ get: operations["Orders"];
744
+ put?: never;
745
+ post?: never;
746
+ delete?: never;
747
+ options?: never;
748
+ head?: never;
749
+ patch?: never;
750
+ trace?: never;
751
+ };
752
+ "/v1/fxs/history": {
753
+ parameters: {
754
+ query?: never;
755
+ header?: never;
756
+ path?: never;
757
+ cookie?: never;
595
758
  };
596
- CmdFxsAcctPatch: {
597
- /** Format: int64 */
598
- ACNO?: number;
599
- Enabled?: boolean | null;
600
- /** Format: int32 */
601
- ISNO?: number | null;
602
- SigMode?: components["schemas"]["TMode"];
603
- EnDcaGate?: boolean | null;
604
- /** Format: int32 */
605
- DCACooloffMins?: number | null;
606
- AccStg?: components["schemas"]["DtoEAAccStg"];
607
- SymbolDefaults?: components["schemas"]["DtoFxsStgSymStg"];
608
- CascadeSymbolDefaults?: boolean;
759
+ /** Lists settled orders across accounts the caller can reach. */
760
+ get: operations["History"];
761
+ put?: never;
762
+ post?: never;
763
+ delete?: never;
764
+ options?: never;
765
+ head?: never;
766
+ patch?: never;
767
+ trace?: never;
768
+ };
769
+ "/v1/fxs/activity": {
770
+ parameters: {
771
+ query?: never;
772
+ header?: never;
773
+ path?: never;
774
+ cookie?: never;
609
775
  };
610
- CmdFxsCancelWaiting: {
611
- /** Format: int64 */
612
- Oid?: number;
613
- RequestId?: string | null;
614
- TrPin?: string | null;
776
+ /** Lists activity across accounts the caller can reach, newest first. */
777
+ get: operations["Activity"];
778
+ put?: never;
779
+ post?: never;
780
+ delete?: never;
781
+ options?: never;
782
+ head?: never;
783
+ patch?: never;
784
+ trace?: never;
785
+ };
786
+ "/v1/fxs/dca": {
787
+ parameters: {
788
+ query?: never;
789
+ header?: never;
790
+ path?: never;
791
+ cookie?: never;
615
792
  };
616
- CmdFxsDcaAnswer: {
617
- Accept?: boolean;
618
- TrPin?: string | null;
793
+ /**
794
+ * HYBRID DCA proposals waiting for an answer, across accounts the caller can reach, newest first. For a signed-in
795
+ * member session each row says whether the account owner's trade PIN must be entered to answer it.
796
+ */
797
+ get: operations["Dca"];
798
+ put?: never;
799
+ post?: never;
800
+ delete?: never;
801
+ options?: never;
802
+ head?: never;
803
+ patch?: never;
804
+ trace?: never;
805
+ };
806
+ "/v1/fxs/operations": {
807
+ parameters: {
808
+ query?: never;
809
+ header?: never;
810
+ path?: never;
811
+ cookie?: never;
619
812
  };
620
- CmdFxsHedgeLeg: {
621
- ACT?: components["schemas"]["FxsOrderAction"];
622
- /** Format: double */
623
- LOT?: number;
624
- /** Format: double */
625
- SLP?: number | null;
626
- SYMSTG?: components["schemas"]["DtoEASymStg"];
813
+ /**
814
+ * The newest terminal operations (start, stop, restart, set-up, removal) across accounts the caller can reach,
815
+ * newest first.
816
+ */
817
+ get: operations["Operations"];
818
+ put?: never;
819
+ post?: never;
820
+ delete?: never;
821
+ options?: never;
822
+ head?: never;
823
+ patch?: never;
824
+ trace?: never;
825
+ };
826
+ "/v1/fxs/performance/window": {
827
+ parameters: {
828
+ query?: never;
829
+ header?: never;
830
+ path?: never;
831
+ cookie?: never;
627
832
  };
628
- CmdFxsHedgeMake: {
629
- /** Format: int64 */
630
- ACNO?: number;
833
+ /**
834
+ * The last 30 days by currency book (real and demo apart) across accounts the caller can reach: equity, today's
835
+ * change, realised profit, 7- and 30-day growth, and each account's share. `acno` narrows it to one account;
836
+ * `demo` to demo (true) or real (false) accounts.
837
+ */
838
+ get: operations["PerformanceWindow"];
839
+ put?: never;
840
+ post?: never;
841
+ delete?: never;
842
+ options?: never;
843
+ head?: never;
844
+ patch?: never;
845
+ trace?: never;
846
+ };
847
+ "/v1/fxs/performance/bars": {
848
+ parameters: {
849
+ query?: never;
850
+ header?: never;
851
+ path?: never;
852
+ cookie?: never;
853
+ };
854
+ /**
855
+ * Daily performance bars across accounts the caller can reach, per account and per currency book, between two
856
+ * dates (UTC). `acno` narrows it to one account; `demo` to demo (true) or real (false) accounts.
857
+ */
858
+ get: operations["PerformanceBars"];
859
+ put?: never;
860
+ post?: never;
861
+ delete?: never;
862
+ options?: never;
863
+ head?: never;
864
+ patch?: never;
865
+ trace?: never;
866
+ };
867
+ "/v1/fxs/strategies": {
868
+ parameters: {
869
+ query?: never;
870
+ header?: never;
871
+ path?: never;
872
+ cookie?: never;
873
+ };
874
+ /**
875
+ * Lists the strategies the caller can apply: its own and FinCopy's presets. With `acno`, the strategies of
876
+ * that account's owner (the caller needs the Trade permission on that account).
877
+ */
878
+ get: operations["Strategies"];
879
+ put?: never;
880
+ /** Creates one of the caller's own strategies. Needs the Trade permission. */
881
+ post: operations["StrategyMake"];
882
+ delete?: never;
883
+ options?: never;
884
+ head?: never;
885
+ patch?: never;
886
+ trace?: never;
887
+ };
888
+ "/v1/fxs/strategies/{isno}": {
889
+ parameters: {
890
+ query?: never;
891
+ header?: never;
892
+ path?: never;
893
+ cookie?: never;
894
+ };
895
+ /** Reads one strategy by its strategy number. */
896
+ get: operations["Strategy"];
897
+ put?: never;
898
+ post?: never;
899
+ /** Deletes one of the caller's own strategies. FinCopy's presets cannot be deleted. Needs the Trade permission. */
900
+ delete: operations["StrategyVoid"];
901
+ options?: never;
902
+ head?: never;
903
+ /**
904
+ * Changes one of the caller's own strategies; omitted fields keep their values. FinCopy's presets cannot be
905
+ * changed. Needs the Trade permission.
906
+ */
907
+ patch: operations["StrategyPatch"];
908
+ trace?: never;
909
+ };
910
+ "/v1/fxs/signals": {
911
+ parameters: {
912
+ query?: never;
913
+ header?: never;
914
+ path?: never;
915
+ cookie?: never;
916
+ };
917
+ /** Reads the signals shown for the enabled symbols across accounts the caller can reach. */
918
+ get: operations["Signals"];
919
+ put?: never;
920
+ post?: never;
921
+ delete?: never;
922
+ options?: never;
923
+ head?: never;
924
+ patch?: never;
925
+ trace?: never;
926
+ };
927
+ "/v1/fxs/alerts": {
928
+ parameters: {
929
+ query?: never;
930
+ header?: never;
931
+ path?: never;
932
+ cookie?: never;
933
+ };
934
+ /** Lists warning and error activity across accounts the caller can reach. */
935
+ get: operations["Alerts"];
936
+ put?: never;
937
+ post?: never;
938
+ delete?: never;
939
+ options?: never;
940
+ head?: never;
941
+ patch?: never;
942
+ trace?: never;
943
+ };
944
+ "/v1/fxs/stream": {
945
+ parameters: {
946
+ query?: never;
947
+ header?: never;
948
+ path?: never;
949
+ cookie?: never;
950
+ };
951
+ /**
952
+ * A server-sent event stream of changes on the accounts the caller can reach. Each caller holds up to eight
953
+ * streams; a ninth closes the oldest.
954
+ */
955
+ get: operations["Stream"];
956
+ put?: never;
957
+ post?: never;
958
+ delete?: never;
959
+ options?: never;
960
+ head?: never;
961
+ patch?: never;
962
+ trace?: never;
963
+ };
964
+ "/v1/brokers": {
965
+ parameters: {
966
+ query?: never;
967
+ header?: never;
968
+ path?: never;
969
+ cookie?: never;
970
+ };
971
+ /** Searches broker servers available when adding a hosted account. */
972
+ get: operations["Brokers"];
973
+ put?: never;
974
+ post?: never;
975
+ delete?: never;
976
+ options?: never;
977
+ head?: never;
978
+ patch?: never;
979
+ trace?: never;
980
+ };
981
+ }
982
+ interface components {
983
+ schemas: {
984
+ BooleanResPonse: {
985
+ data?: boolean;
986
+ /** Format: int32 */
987
+ code?: number;
988
+ readonly isOk?: boolean;
989
+ message?: string | null;
990
+ errors?: string[] | null;
991
+ chksum?: string | null;
992
+ };
993
+ /** @enum {string} */
994
+ BrokerServerEnvironment: "Demo" | "Live" | "Unknown";
995
+ /** @enum {string} */
996
+ BrokerServerStatus: "Submitted" | "Verified" | "Retired";
997
+ /** @description Public API settings patch. Account identity comes from the ACNO route. */
998
+ CmdApiFxsAcctPatch: {
999
+ Enabled?: boolean | null;
1000
+ /** Format: int32 */
1001
+ ISNO?: number | null;
1002
+ SigMode?: components["schemas"]["TMode"];
1003
+ EnDcaGate?: boolean | null;
1004
+ /** Format: int32 */
1005
+ DCACooloffMins?: number | null;
1006
+ AccStg?: components["schemas"]["DtoEAAccStg"];
1007
+ SymbolDefaults?: components["schemas"]["DtoFxsStgSymStg"];
1008
+ CascadeSymbolDefaults?: boolean;
1009
+ };
1010
+ /** @description Public paired hedge request. Account identity comes from the ACNO route. */
1011
+ CmdApiFxsHedgeMake: {
631
1012
  SYM?: string | null;
632
1013
  BUY?: components["schemas"]["CmdFxsHedgeLeg"];
633
1014
  SELL?: components["schemas"]["CmdFxsHedgeLeg"];
@@ -640,24 +1021,8 @@ interface components {
640
1021
  [key: string]: string[];
641
1022
  } | null;
642
1023
  };
643
- CmdFxsModify: {
644
- /** Format: int64 */
645
- Ticket?: number;
646
- /** Format: double */
647
- Price?: number;
648
- /** Format: double */
649
- StopLossPrice?: number;
650
- /** Format: double */
651
- TakeProfitPrice?: number;
652
- /** Format: date-time */
653
- Expiry?: string | null;
654
- RequestId?: string | null;
655
- ClearExpiry?: boolean;
656
- TrPin?: string | null;
657
- };
658
- CmdFxsOrdrMake: {
659
- /** Format: int64 */
660
- ACNO?: number;
1024
+ /** @description Public trade request. Account identity comes from the ACNO route. */
1025
+ CmdApiFxsOrdrMake: {
661
1026
  SYM?: string | null;
662
1027
  ACT?: components["schemas"]["FxsOrderAction"];
663
1028
  OTY?: components["schemas"]["FxsOrderType"];
@@ -688,9 +1053,8 @@ interface components {
688
1053
  [key: string]: string[];
689
1054
  } | null;
690
1055
  };
691
- CmdFxsPairPatch: {
692
- /** Format: int64 */
693
- PRNO?: number;
1056
+ /** @description Public API pair patch. Pair identity comes from the PRNO route. */
1057
+ CmdApiFxsPairPatch: {
694
1058
  Enabled?: boolean | null;
695
1059
  EnDcaGateBuy?: boolean | null;
696
1060
  EnDcaGateSell?: boolean | null;
@@ -698,13 +1062,80 @@ interface components {
698
1062
  TrPin?: string | null;
699
1063
  ExternalRef?: string | null;
700
1064
  };
701
- CmdFxsPreInfo: {
702
- /** Format: int64 */
703
- ACNO?: number;
1065
+ /** @description Public trade preflight request. Account identity comes from the ACNO route. */
1066
+ CmdApiFxsPreInfo: {
704
1067
  /** Format: int64 */
705
1068
  PRNO?: number | null;
706
1069
  SYM?: string | null;
707
1070
  };
1071
+ /** @description Apply one of the member's strategies to the account in the route (preview or apply). */
1072
+ CmdApiFxsStgApply: {
1073
+ /** Format: int32 */
1074
+ ISNO?: number;
1075
+ };
1076
+ /** @description The key's webhook: the HTTPS address (port 443 only) FinCopy POSTs to when the key's accounts change. */
1077
+ CmdApiWebhookSet: {
1078
+ Url?: string | null;
1079
+ };
1080
+ CmdFxsCancelWaiting: {
1081
+ /** Format: int64 */
1082
+ Oid?: number;
1083
+ RequestId?: string | null;
1084
+ TrPin?: string | null;
1085
+ };
1086
+ CmdFxsDcaAnswer: {
1087
+ Accept?: boolean;
1088
+ TrPin?: string | null;
1089
+ };
1090
+ CmdFxsHedgeLeg: {
1091
+ ACT?: components["schemas"]["FxsOrderAction"];
1092
+ /** Format: double */
1093
+ LOT?: number;
1094
+ /** Format: double */
1095
+ SLP?: number | null;
1096
+ SYMSTG?: components["schemas"]["DtoEASymStg"];
1097
+ };
1098
+ CmdFxsModify: {
1099
+ /** Format: int64 */
1100
+ Ticket?: number;
1101
+ /** Format: double */
1102
+ Price?: number;
1103
+ /** Format: double */
1104
+ StopLossPrice?: number;
1105
+ /** Format: double */
1106
+ TakeProfitPrice?: number;
1107
+ /** Format: date-time */
1108
+ Expiry?: string | null;
1109
+ RequestId?: string | null;
1110
+ ClearExpiry?: boolean;
1111
+ TrPin?: string | null;
1112
+ };
1113
+ CmdFxsStgMake: {
1114
+ StratName?: string | null;
1115
+ RiskLev?: components["schemas"]["FxsRiskLev"];
1116
+ En?: boolean;
1117
+ EnAvg?: boolean;
1118
+ Virtual?: boolean;
1119
+ SigMode?: components["schemas"]["TMode"];
1120
+ /** Format: int32 */
1121
+ DCACooloffMins?: number;
1122
+ EnDcaGate?: boolean;
1123
+ ACCSTG?: components["schemas"]["DtoFxsStgAccStg"];
1124
+ SYMSTG?: components["schemas"]["DtoFxsStgSymStg"];
1125
+ };
1126
+ CmdFxsStgPatch: {
1127
+ StratName?: string | null;
1128
+ RiskLev?: components["schemas"]["FxsRiskLev"];
1129
+ En?: boolean | null;
1130
+ EnAvg?: boolean | null;
1131
+ Virtual?: boolean | null;
1132
+ SigMode?: components["schemas"]["TMode"];
1133
+ /** Format: int32 */
1134
+ DCACooloffMins?: number | null;
1135
+ EnDcaGate?: boolean | null;
1136
+ ACCSTG?: components["schemas"]["DtoFxsStgAccStg"];
1137
+ SYMSTG?: components["schemas"]["DtoFxsStgSymStg"];
1138
+ };
708
1139
  /** @description Add or remove symbols from the account's enabled list. */
709
1140
  CmdFxsSymbolsEdit: {
710
1141
  Add?: string[] | null;
@@ -722,10 +1153,24 @@ interface components {
722
1153
  /** @description The API's Idempotency-Key, set by the /v1 make route only. */
723
1154
  RequestId?: string | null;
724
1155
  };
1156
+ CmdMemberDemoMake: {
1157
+ Platform?: string | null;
1158
+ BrokerServerId?: string | null;
1159
+ Login?: string | null;
1160
+ BrokerPassword?: string | null;
1161
+ };
725
1162
  /** @description The managing system's own id for a hosted account; empty clears it. */
726
1163
  CmdTermAccountExternalRef: {
727
1164
  ExternalRef?: string | null;
728
1165
  };
1166
+ CmdTermAccountPassword: {
1167
+ BrokerPassword?: string | null;
1168
+ BrokerServerId?: string | null;
1169
+ };
1170
+ /** @enum {string} */
1171
+ DeployKind: "Provision" | "Upgrade" | "Rollback" | "Remove" | "Start" | "Stop" | "Restart";
1172
+ /** @enum {string} */
1173
+ DeployStatus: "Running" | "Done" | "Failed" | "RolledBack";
729
1174
  /** @enum {string} */
730
1175
  DesiredTermState: "Running" | "Stopped" | "Removed";
731
1176
  /**
@@ -777,10 +1222,44 @@ interface components {
777
1222
  errors?: string[] | null;
778
1223
  chksum?: string | null;
779
1224
  };
780
- /** @description The key's webhook. `Secret` is shown once, when the webhook is set: FinCopy signs every POST with it. */
781
- DtoApiWebhook: {
782
- Url?: string | null;
783
- Secret?: string | null;
1225
+ DtoApiTermOperation: {
1226
+ OperationId?: string | null;
1227
+ /** Format: int64 */
1228
+ ACNO?: number;
1229
+ Login?: string | null;
1230
+ Kind?: components["schemas"]["DeployKind"];
1231
+ Status?: components["schemas"]["DeployStatus"];
1232
+ FromVersion?: string | null;
1233
+ ToVersion?: string | null;
1234
+ ProgressStatus?: string | null;
1235
+ Reason?: string | null;
1236
+ Result?: string | null;
1237
+ /** Format: date-time */
1238
+ StartedAt?: string;
1239
+ /** Format: date-time */
1240
+ WorkerStartedAt?: string | null;
1241
+ /** Format: date-time */
1242
+ EndedAt?: string | null;
1243
+ /** Format: date-time */
1244
+ RetryAt?: string | null;
1245
+ /** Format: int32 */
1246
+ RetryCount?: number;
1247
+ /** Format: int64 */
1248
+ ElapsedMs?: number;
1249
+ };
1250
+ DtoApiTermOperationResPaged: {
1251
+ data?: components["schemas"]["DtoApiTermOperation"][] | null;
1252
+ paging?: components["schemas"]["ResPage"];
1253
+ /** Format: int32 */
1254
+ code?: number;
1255
+ readonly isOk?: boolean;
1256
+ message?: string | null;
1257
+ errors?: string[] | null;
1258
+ };
1259
+ /** @description The key's webhook. `Secret` is shown once, when the webhook is set: FinCopy signs every POST with it. */
1260
+ DtoApiWebhook: {
1261
+ Url?: string | null;
1262
+ Secret?: string | null;
784
1263
  /** Format: date-time */
785
1264
  LastSentAt?: string | null;
786
1265
  /** Format: int32 */
@@ -847,6 +1326,45 @@ interface components {
847
1326
  /** Format: date-time */
848
1327
  NoSymbolMatchAt?: string | null;
849
1328
  };
1329
+ DtoBrokerServerSearch: {
1330
+ ServerId?: string | null;
1331
+ ServerName?: string | null;
1332
+ Platform?: string | null;
1333
+ Environment?: components["schemas"]["BrokerServerEnvironment"];
1334
+ Status?: components["schemas"]["BrokerServerStatus"];
1335
+ BrokerName?: string | null;
1336
+ };
1337
+ DtoBrokerServerSearchIReadOnlyListResPonse: {
1338
+ data?: components["schemas"]["DtoBrokerServerSearch"][] | null;
1339
+ /** Format: int32 */
1340
+ code?: number;
1341
+ readonly isOk?: boolean;
1342
+ message?: string | null;
1343
+ errors?: string[] | null;
1344
+ chksum?: string | null;
1345
+ };
1346
+ /**
1347
+ * @description Demo places that can start now (a prepared terminal and a free slot), and whether this member already
1348
+ * runs one (one at a time).
1349
+ */
1350
+ DtoDemoAvailability: {
1351
+ /** Format: int32 */
1352
+ FreePlaces?: number;
1353
+ /** Format: int32 */
1354
+ Quota?: number;
1355
+ /** Format: int32 */
1356
+ DurationHours?: number;
1357
+ MemberHasActive?: boolean;
1358
+ };
1359
+ DtoDemoAvailabilityResPonse: {
1360
+ data?: components["schemas"]["DtoDemoAvailability"];
1361
+ /** Format: int32 */
1362
+ code?: number;
1363
+ readonly isOk?: boolean;
1364
+ message?: string | null;
1365
+ errors?: string[] | null;
1366
+ chksum?: string | null;
1367
+ };
850
1368
  /** @description Wire twin of the account settings. This type deliberately has no BSON attributes. */
851
1369
  DtoEAAccStg: {
852
1370
  EntMode?: components["schemas"]["TMode"];
@@ -1662,6 +2180,82 @@ interface components {
1662
2180
  /** Format: double */
1663
2181
  ACCTMGN?: number | null;
1664
2182
  };
2183
+ DtoFxsPerfAccountBars: {
2184
+ /** Format: int64 */
2185
+ ACNO?: number;
2186
+ AccountName?: string | null;
2187
+ Currency?: string | null;
2188
+ Bars?: components["schemas"]["DtoFxsPerfBar"][] | null;
2189
+ };
2190
+ DtoFxsPerfBar: {
2191
+ /** Format: date-time */
2192
+ Date?: string;
2193
+ /** Format: double */
2194
+ Realised?: number;
2195
+ /** Format: double */
2196
+ Flow?: number;
2197
+ /** Format: double */
2198
+ Equity?: number;
2199
+ /** Format: double */
2200
+ Balance?: number;
2201
+ /** Format: double */
2202
+ ReturnPct?: number;
2203
+ HasData?: boolean;
2204
+ };
2205
+ DtoFxsPerfBars: {
2206
+ /** Format: date-time */
2207
+ FromDt?: string;
2208
+ /** Format: date-time */
2209
+ ToDt?: string;
2210
+ Accounts?: components["schemas"]["DtoFxsPerfAccountBars"][] | null;
2211
+ Currencies?: components["schemas"]["DtoFxsPerfCurrencyBars"][] | null;
2212
+ };
2213
+ DtoFxsPerfBarsResPonse: {
2214
+ data?: components["schemas"]["DtoFxsPerfBars"];
2215
+ /** Format: int32 */
2216
+ code?: number;
2217
+ readonly isOk?: boolean;
2218
+ message?: string | null;
2219
+ errors?: string[] | null;
2220
+ chksum?: string | null;
2221
+ };
2222
+ DtoFxsPerfContribution: {
2223
+ /** Format: int64 */
2224
+ ACNO?: number;
2225
+ AccountName?: string | null;
2226
+ Currency?: string | null;
2227
+ Virtual?: boolean;
2228
+ /** Format: double */
2229
+ Realised30?: number;
2230
+ /** Format: double */
2231
+ SharePct?: number;
2232
+ };
2233
+ DtoFxsPerfCurrencyBars: {
2234
+ Currency?: string | null;
2235
+ Virtual?: boolean;
2236
+ Bars?: components["schemas"]["DtoFxsPerfBar"][] | null;
2237
+ };
2238
+ DtoFxsPerfCurrencyWindow: {
2239
+ Currency?: string | null;
2240
+ Virtual?: boolean;
2241
+ /** Format: double */
2242
+ Equity?: number | null;
2243
+ /** Format: double */
2244
+ TodayEquityChange?: number | null;
2245
+ /** Format: double */
2246
+ TodayEquityChangePct?: number | null;
2247
+ /** Format: double */
2248
+ RealisedToday?: number;
2249
+ /** Format: double */
2250
+ RealisedTodayPct?: number | null;
2251
+ /** Format: double */
2252
+ Growth7Pct?: number | null;
2253
+ /** Format: double */
2254
+ Growth30Pct?: number | null;
2255
+ /** Format: double */
2256
+ Realised30?: number;
2257
+ HasHistory?: boolean;
2258
+ };
1665
2259
  DtoFxsPerfIReadOnlyListResPonse: {
1666
2260
  data?: components["schemas"]["DtoFxsPerf"][] | null;
1667
2261
  /** Format: int32 */
@@ -1671,6 +2265,23 @@ interface components {
1671
2265
  errors?: string[] | null;
1672
2266
  chksum?: string | null;
1673
2267
  };
2268
+ DtoFxsPerfWindow: {
2269
+ /** Format: date-time */
2270
+ AsOf?: string;
2271
+ /** Format: int32 */
2272
+ AccountCount?: number;
2273
+ Currencies?: components["schemas"]["DtoFxsPerfCurrencyWindow"][] | null;
2274
+ Contributions?: components["schemas"]["DtoFxsPerfContribution"][] | null;
2275
+ };
2276
+ DtoFxsPerfWindowResPonse: {
2277
+ data?: components["schemas"]["DtoFxsPerfWindow"];
2278
+ /** Format: int32 */
2279
+ code?: number;
2280
+ readonly isOk?: boolean;
2281
+ message?: string | null;
2282
+ errors?: string[] | null;
2283
+ chksum?: string | null;
2284
+ };
1674
2285
  DtoFxsPosition: {
1675
2286
  Symbol?: string | null;
1676
2287
  /** Format: int64 */
@@ -1907,6 +2518,122 @@ interface components {
1907
2518
  /** Format: int64 */
1908
2519
  QTM?: number | null;
1909
2520
  };
2521
+ DtoFxsStg: {
2522
+ /** Format: int32 */
2523
+ ISNO?: number;
2524
+ /** Format: int64 */
2525
+ USNO?: number;
2526
+ OwnerEmail?: string | null;
2527
+ SeedKey?: string | null;
2528
+ StratName?: string | null;
2529
+ RiskLev?: components["schemas"]["FxsRiskLev"];
2530
+ SigMode?: components["schemas"]["TMode"];
2531
+ En?: boolean;
2532
+ EnAvg?: boolean;
2533
+ Virtual?: boolean;
2534
+ ACCSTG?: components["schemas"]["DtoFxsStgAccStg"];
2535
+ SYMSTG?: components["schemas"]["DtoFxsStgSymStg"];
2536
+ /** Format: int32 */
2537
+ DCACooloffMins?: number;
2538
+ EnDcaGate?: boolean;
2539
+ StgLog?: string[] | null;
2540
+ };
2541
+ DtoFxsStgAccStg: {
2542
+ EntMode?: components["schemas"]["TMode"];
2543
+ TRDSRC?: components["schemas"]["TRDSRC"];
2544
+ AvgMode?: components["schemas"]["TMode"];
2545
+ INDEP?: boolean | null;
2546
+ /** Format: int32 */
2547
+ POCNT?: number | null;
2548
+ /** Format: int32 */
2549
+ DCAIVMINS?: number | null;
2550
+ /** Format: int32 */
2551
+ POCLSMINS?: number | null;
2552
+ /** Format: double */
2553
+ MAXDDFRC?: number | null;
2554
+ /** Format: int32 */
2555
+ MAXDLYSECS?: number | null;
2556
+ /** Format: int32 */
2557
+ SYNCSECS?: number | null;
2558
+ CONF?: boolean | null;
2559
+ DCAGATE?: boolean | null;
2560
+ };
2561
+ DtoFxsStgCascadeApplyResult: {
2562
+ /** Format: int32 */
2563
+ ISNO?: number;
2564
+ /** Format: int64 */
2565
+ ACNO?: number;
2566
+ /** Format: int32 */
2567
+ AccountFieldsWritten?: number;
2568
+ /** Format: int32 */
2569
+ PairRowsChanged?: number;
2570
+ /** Format: int32 */
2571
+ PairFieldsWritten?: number;
2572
+ /** Format: int32 */
2573
+ BuySidesHeld?: number;
2574
+ /** Format: int32 */
2575
+ SellSidesHeld?: number;
2576
+ };
2577
+ DtoFxsStgCascadeApplyResultResPonse: {
2578
+ data?: components["schemas"]["DtoFxsStgCascadeApplyResult"];
2579
+ /** Format: int32 */
2580
+ code?: number;
2581
+ readonly isOk?: boolean;
2582
+ message?: string | null;
2583
+ errors?: string[] | null;
2584
+ chksum?: string | null;
2585
+ };
2586
+ DtoFxsStgCascadePair: {
2587
+ SYM?: string | null;
2588
+ BuyHeld?: boolean;
2589
+ SellHeld?: boolean;
2590
+ FieldsToWrite?: string[] | null;
2591
+ FieldsHeld?: string[] | null;
2592
+ };
2593
+ DtoFxsStgCascadePreview: {
2594
+ /** Format: int32 */
2595
+ ISNO?: number;
2596
+ /** Format: int64 */
2597
+ ACNO?: number;
2598
+ AttachesStrategy?: boolean;
2599
+ AccountFieldsToWrite?: string[] | null;
2600
+ Pairs?: components["schemas"]["DtoFxsStgCascadePair"][] | null;
2601
+ /** Format: int32 */
2602
+ PairCount?: number;
2603
+ /** Format: int32 */
2604
+ BuyHeldCount?: number;
2605
+ /** Format: int32 */
2606
+ SellHeldCount?: number;
2607
+ /** Format: int32 */
2608
+ PairCountChanged?: number;
2609
+ };
2610
+ DtoFxsStgCascadePreviewResPonse: {
2611
+ data?: components["schemas"]["DtoFxsStgCascadePreview"];
2612
+ /** Format: int32 */
2613
+ code?: number;
2614
+ readonly isOk?: boolean;
2615
+ message?: string | null;
2616
+ errors?: string[] | null;
2617
+ chksum?: string | null;
2618
+ };
2619
+ DtoFxsStgIReadOnlyListResPonse: {
2620
+ data?: components["schemas"]["DtoFxsStg"][] | null;
2621
+ /** Format: int32 */
2622
+ code?: number;
2623
+ readonly isOk?: boolean;
2624
+ message?: string | null;
2625
+ errors?: string[] | null;
2626
+ chksum?: string | null;
2627
+ };
2628
+ DtoFxsStgResPonse: {
2629
+ data?: components["schemas"]["DtoFxsStg"];
2630
+ /** Format: int32 */
2631
+ code?: number;
2632
+ readonly isOk?: boolean;
2633
+ message?: string | null;
2634
+ errors?: string[] | null;
2635
+ chksum?: string | null;
2636
+ };
1910
2637
  /** @description Wire twin of the account symbol template. This type deliberately has no BSON attributes. */
1911
2638
  DtoFxsStgSymStg: {
1912
2639
  BFXMO?: components["schemas"]["FXMODE"];
@@ -2038,14 +2765,14 @@ interface components {
2038
2765
  Fleet?: components["schemas"]["DtoFleetAccount"];
2039
2766
  State?: components["schemas"]["DtoFxsAccountState"];
2040
2767
  };
2041
- DtoMemberAccountIReadOnlyListResPonse: {
2768
+ DtoMemberAccountResPaged: {
2042
2769
  data?: components["schemas"]["DtoMemberAccount"][] | null;
2770
+ paging?: components["schemas"]["ResPage"];
2043
2771
  /** Format: int32 */
2044
2772
  code?: number;
2045
2773
  readonly isOk?: boolean;
2046
2774
  message?: string | null;
2047
2775
  errors?: string[] | null;
2048
- chksum?: string | null;
2049
2776
  };
2050
2777
  DtoMemberAccountResPonse: {
2051
2778
  data?: components["schemas"]["DtoMemberAccount"];
@@ -2072,14 +2799,14 @@ interface components {
2072
2799
  /** Format: date-time */
2073
2800
  At?: string;
2074
2801
  };
2075
- DtoMemberActivityIReadOnlyListResPonse: {
2802
+ DtoMemberActivityResPaged: {
2076
2803
  data?: components["schemas"]["DtoMemberActivity"][] | null;
2804
+ paging?: components["schemas"]["ResPage"];
2077
2805
  /** Format: int32 */
2078
2806
  code?: number;
2079
2807
  readonly isOk?: boolean;
2080
2808
  message?: string | null;
2081
2809
  errors?: string[] | null;
2082
- chksum?: string | null;
2083
2810
  };
2084
2811
  DtoMemberMailSrch: {
2085
2812
  /** Format: int64 */
@@ -2099,7 +2826,43 @@ interface components {
2099
2826
  errors?: string[] | null;
2100
2827
  chksum?: string | null;
2101
2828
  };
2829
+ /**
2830
+ * @description FinGraph's current FXS reading for one symbol on the member's accounts. The codes are FinGraph's
2831
+ * (Signal VSS … VSB, Trend VSD … VSU, Confidence None … VHigh), sent as their names.
2832
+ */
2833
+ DtoShelfSignal: {
2834
+ Symbol?: string | null;
2835
+ Signal?: string | null;
2836
+ Trend?: string | null;
2837
+ Confidence?: string | null;
2838
+ /**
2839
+ * Format: double
2840
+ * @description FinGraph's TA score, -10 … 10.
2841
+ */
2842
+ Score?: number | null;
2843
+ /**
2844
+ * Format: date-time
2845
+ * @description When FinGraph last wrote this reading.
2846
+ */
2847
+ At?: string | null;
2848
+ };
2849
+ /** @description The Signals card: the readings, strongest first, and the member's symbols with no fresh reading. */
2850
+ DtoShelfSignals: {
2851
+ Rows?: components["schemas"]["DtoShelfSignal"][] | null;
2852
+ NoReading?: string[] | null;
2853
+ };
2854
+ DtoShelfSignalsResPonse: {
2855
+ data?: components["schemas"]["DtoShelfSignals"];
2856
+ /** Format: int32 */
2857
+ code?: number;
2858
+ readonly isOk?: boolean;
2859
+ message?: string | null;
2860
+ errors?: string[] | null;
2861
+ chksum?: string | null;
2862
+ };
2102
2863
  DtoTermAccount: {
2864
+ /** Format: int64 */
2865
+ ACNO?: number;
2103
2866
  Id?: string | null;
2104
2867
  NodeId?: string | null;
2105
2868
  /** Format: int64 */
@@ -2229,6 +2992,8 @@ interface components {
2229
2992
  /** @enum {string} */
2230
2993
  FxsPlatform: "NONE" | "MT4" | "MT5";
2231
2994
  /** @enum {string} */
2995
+ FxsRiskLev: "LOW" | "MID" | "HIGH";
2996
+ /** @enum {string} */
2232
2997
  FxsSide: "NONE" | "BUY" | "SELL";
2233
2998
  /** @enum {string} */
2234
2999
  FxsSignalStatus: "NONE" | "ALERT" | "ACCEPT" | "REJECT";
@@ -2273,9 +3038,1728 @@ interface components {
2273
3038
  interface operations {
2274
3039
  AccountList: {
2275
3040
  parameters: {
2276
- query?: never;
3041
+ query?: {
3042
+ PageNo?: number;
3043
+ PageSize?: number;
3044
+ Draw?: number;
3045
+ Sort?: string;
3046
+ Srch?: string;
3047
+ SortBy?: string[][];
3048
+ SrchBy?: string[][];
3049
+ Include?: string[];
3050
+ externalRef?: string;
3051
+ };
3052
+ header?: never;
3053
+ path?: never;
3054
+ cookie?: never;
3055
+ };
3056
+ requestBody?: never;
3057
+ responses: {
3058
+ /** @description OK */
3059
+ 200: {
3060
+ headers: {
3061
+ [name: string]: unknown;
3062
+ };
3063
+ content: {
3064
+ "application/json": components["schemas"]["DtoMemberAccountResPaged"];
3065
+ };
3066
+ };
3067
+ /** @description Bad Request */
3068
+ 400: {
3069
+ headers: {
3070
+ [name: string]: unknown;
3071
+ };
3072
+ content: {
3073
+ "application/json": components["schemas"]["ObjectResPonse"];
3074
+ };
3075
+ };
3076
+ /** @description Unauthorized */
3077
+ 401: {
3078
+ headers: {
3079
+ [name: string]: unknown;
3080
+ };
3081
+ content: {
3082
+ "application/json": components["schemas"]["ObjectResPonse"];
3083
+ };
3084
+ };
3085
+ /** @description Forbidden */
3086
+ 403: {
3087
+ headers: {
3088
+ [name: string]: unknown;
3089
+ };
3090
+ content: {
3091
+ "application/json": components["schemas"]["ObjectResPonse"];
3092
+ };
3093
+ };
3094
+ /** @description Not Found */
3095
+ 404: {
3096
+ headers: {
3097
+ [name: string]: unknown;
3098
+ };
3099
+ content: {
3100
+ "application/json": components["schemas"]["ObjectResPonse"];
3101
+ };
3102
+ };
3103
+ /** @description Too Many Requests */
3104
+ 429: {
3105
+ headers: {
3106
+ [name: string]: unknown;
3107
+ };
3108
+ content: {
3109
+ "application/json": components["schemas"]["ObjectResPonse"];
3110
+ };
3111
+ };
3112
+ };
3113
+ };
3114
+ AccountMake: {
3115
+ parameters: {
3116
+ query?: never;
3117
+ header?: {
3118
+ "Idempotency-Key"?: string;
3119
+ };
3120
+ path?: never;
3121
+ cookie?: never;
3122
+ };
3123
+ requestBody?: {
3124
+ content: {
3125
+ "application/json-patch+json": components["schemas"]["CmdMemberAccountMake"];
3126
+ "application/json": components["schemas"]["CmdMemberAccountMake"];
3127
+ "text/json": components["schemas"]["CmdMemberAccountMake"];
3128
+ "application/*+json": components["schemas"]["CmdMemberAccountMake"];
3129
+ };
3130
+ };
3131
+ responses: {
3132
+ /** @description OK */
3133
+ 200: {
3134
+ headers: {
3135
+ [name: string]: unknown;
3136
+ };
3137
+ content: {
3138
+ "application/json": components["schemas"]["DtoFleetAccountResPonse"];
3139
+ };
3140
+ };
3141
+ /** @description Bad Request */
3142
+ 400: {
3143
+ headers: {
3144
+ [name: string]: unknown;
3145
+ };
3146
+ content: {
3147
+ "application/json": components["schemas"]["ObjectResPonse"];
3148
+ };
3149
+ };
3150
+ /** @description Unauthorized */
3151
+ 401: {
3152
+ headers: {
3153
+ [name: string]: unknown;
3154
+ };
3155
+ content: {
3156
+ "application/json": components["schemas"]["ObjectResPonse"];
3157
+ };
3158
+ };
3159
+ /** @description Forbidden */
3160
+ 403: {
3161
+ headers: {
3162
+ [name: string]: unknown;
3163
+ };
3164
+ content: {
3165
+ "application/json": components["schemas"]["ObjectResPonse"];
3166
+ };
3167
+ };
3168
+ /** @description Not Found */
3169
+ 404: {
3170
+ headers: {
3171
+ [name: string]: unknown;
3172
+ };
3173
+ content: {
3174
+ "application/json": components["schemas"]["ObjectResPonse"];
3175
+ };
3176
+ };
3177
+ /** @description Too Many Requests */
3178
+ 429: {
3179
+ headers: {
3180
+ [name: string]: unknown;
3181
+ };
3182
+ content: {
3183
+ "application/json": components["schemas"]["ObjectResPonse"];
3184
+ };
3185
+ };
3186
+ };
3187
+ };
3188
+ DemoMake: {
3189
+ parameters: {
3190
+ query?: never;
3191
+ header?: never;
3192
+ path?: never;
3193
+ cookie?: never;
3194
+ };
3195
+ requestBody?: {
3196
+ content: {
3197
+ "application/json-patch+json": components["schemas"]["CmdMemberDemoMake"];
3198
+ "application/json": components["schemas"]["CmdMemberDemoMake"];
3199
+ "text/json": components["schemas"]["CmdMemberDemoMake"];
3200
+ "application/*+json": components["schemas"]["CmdMemberDemoMake"];
3201
+ };
3202
+ };
3203
+ responses: {
3204
+ /** @description OK */
3205
+ 200: {
3206
+ headers: {
3207
+ [name: string]: unknown;
3208
+ };
3209
+ content: {
3210
+ "application/json": components["schemas"]["DtoFleetAccountResPonse"];
3211
+ };
3212
+ };
3213
+ /** @description Bad Request */
3214
+ 400: {
3215
+ headers: {
3216
+ [name: string]: unknown;
3217
+ };
3218
+ content: {
3219
+ "application/json": components["schemas"]["ObjectResPonse"];
3220
+ };
3221
+ };
3222
+ /** @description Unauthorized */
3223
+ 401: {
3224
+ headers: {
3225
+ [name: string]: unknown;
3226
+ };
3227
+ content: {
3228
+ "application/json": components["schemas"]["ObjectResPonse"];
3229
+ };
3230
+ };
3231
+ /** @description Forbidden */
3232
+ 403: {
3233
+ headers: {
3234
+ [name: string]: unknown;
3235
+ };
3236
+ content: {
3237
+ "application/json": components["schemas"]["ObjectResPonse"];
3238
+ };
3239
+ };
3240
+ /** @description Not Found */
3241
+ 404: {
3242
+ headers: {
3243
+ [name: string]: unknown;
3244
+ };
3245
+ content: {
3246
+ "application/json": components["schemas"]["ObjectResPonse"];
3247
+ };
3248
+ };
3249
+ /** @description Too Many Requests */
3250
+ 429: {
3251
+ headers: {
3252
+ [name: string]: unknown;
3253
+ };
3254
+ content: {
3255
+ "application/json": components["schemas"]["ObjectResPonse"];
3256
+ };
3257
+ };
3258
+ };
3259
+ };
3260
+ DemoAvailability: {
3261
+ parameters: {
3262
+ query?: {
3263
+ platform?: string;
3264
+ };
3265
+ header?: never;
3266
+ path?: never;
3267
+ cookie?: never;
3268
+ };
3269
+ requestBody?: never;
3270
+ responses: {
3271
+ /** @description OK */
3272
+ 200: {
3273
+ headers: {
3274
+ [name: string]: unknown;
3275
+ };
3276
+ content: {
3277
+ "application/json": components["schemas"]["DtoDemoAvailabilityResPonse"];
3278
+ };
3279
+ };
3280
+ /** @description Bad Request */
3281
+ 400: {
3282
+ headers: {
3283
+ [name: string]: unknown;
3284
+ };
3285
+ content: {
3286
+ "application/json": components["schemas"]["ObjectResPonse"];
3287
+ };
3288
+ };
3289
+ /** @description Unauthorized */
3290
+ 401: {
3291
+ headers: {
3292
+ [name: string]: unknown;
3293
+ };
3294
+ content: {
3295
+ "application/json": components["schemas"]["ObjectResPonse"];
3296
+ };
3297
+ };
3298
+ /** @description Forbidden */
3299
+ 403: {
3300
+ headers: {
3301
+ [name: string]: unknown;
3302
+ };
3303
+ content: {
3304
+ "application/json": components["schemas"]["ObjectResPonse"];
3305
+ };
3306
+ };
3307
+ /** @description Not Found */
3308
+ 404: {
3309
+ headers: {
3310
+ [name: string]: unknown;
3311
+ };
3312
+ content: {
3313
+ "application/json": components["schemas"]["ObjectResPonse"];
3314
+ };
3315
+ };
3316
+ /** @description Too Many Requests */
3317
+ 429: {
3318
+ headers: {
3319
+ [name: string]: unknown;
3320
+ };
3321
+ content: {
3322
+ "application/json": components["schemas"]["ObjectResPonse"];
3323
+ };
3324
+ };
3325
+ };
3326
+ };
3327
+ AccountView: {
3328
+ parameters: {
3329
+ query?: never;
3330
+ header?: never;
3331
+ path: {
3332
+ acno: number;
3333
+ };
3334
+ cookie?: never;
3335
+ };
3336
+ requestBody?: never;
3337
+ responses: {
3338
+ /** @description OK */
3339
+ 200: {
3340
+ headers: {
3341
+ [name: string]: unknown;
3342
+ };
3343
+ content: {
3344
+ "application/json": components["schemas"]["DtoMemberAccountResPonse"];
3345
+ };
3346
+ };
3347
+ /** @description Bad Request */
3348
+ 400: {
3349
+ headers: {
3350
+ [name: string]: unknown;
3351
+ };
3352
+ content: {
3353
+ "application/json": components["schemas"]["ObjectResPonse"];
3354
+ };
3355
+ };
3356
+ /** @description Unauthorized */
3357
+ 401: {
3358
+ headers: {
3359
+ [name: string]: unknown;
3360
+ };
3361
+ content: {
3362
+ "application/json": components["schemas"]["ObjectResPonse"];
3363
+ };
3364
+ };
3365
+ /** @description Forbidden */
3366
+ 403: {
3367
+ headers: {
3368
+ [name: string]: unknown;
3369
+ };
3370
+ content: {
3371
+ "application/json": components["schemas"]["ObjectResPonse"];
3372
+ };
3373
+ };
3374
+ /** @description Not Found */
3375
+ 404: {
3376
+ headers: {
3377
+ [name: string]: unknown;
3378
+ };
3379
+ content: {
3380
+ "application/json": components["schemas"]["ObjectResPonse"];
3381
+ };
3382
+ };
3383
+ /** @description Too Many Requests */
3384
+ 429: {
3385
+ headers: {
3386
+ [name: string]: unknown;
3387
+ };
3388
+ content: {
3389
+ "application/json": components["schemas"]["ObjectResPonse"];
3390
+ };
3391
+ };
3392
+ };
3393
+ };
3394
+ AccountRemove: {
3395
+ parameters: {
3396
+ query?: never;
3397
+ header?: {
3398
+ "Idempotency-Key"?: string;
3399
+ };
3400
+ path: {
3401
+ acno: number;
3402
+ };
3403
+ cookie?: never;
3404
+ };
3405
+ requestBody?: never;
3406
+ responses: {
3407
+ /** @description OK */
3408
+ 200: {
3409
+ headers: {
3410
+ [name: string]: unknown;
3411
+ };
3412
+ content: {
3413
+ "application/json": components["schemas"]["DtoOperationQueuedResPonse"];
3414
+ };
3415
+ };
3416
+ /** @description Bad Request */
3417
+ 400: {
3418
+ headers: {
3419
+ [name: string]: unknown;
3420
+ };
3421
+ content: {
3422
+ "application/json": components["schemas"]["ObjectResPonse"];
3423
+ };
3424
+ };
3425
+ /** @description Unauthorized */
3426
+ 401: {
3427
+ headers: {
3428
+ [name: string]: unknown;
3429
+ };
3430
+ content: {
3431
+ "application/json": components["schemas"]["ObjectResPonse"];
3432
+ };
3433
+ };
3434
+ /** @description Forbidden */
3435
+ 403: {
3436
+ headers: {
3437
+ [name: string]: unknown;
3438
+ };
3439
+ content: {
3440
+ "application/json": components["schemas"]["ObjectResPonse"];
3441
+ };
3442
+ };
3443
+ /** @description Not Found */
3444
+ 404: {
3445
+ headers: {
3446
+ [name: string]: unknown;
3447
+ };
3448
+ content: {
3449
+ "application/json": components["schemas"]["ObjectResPonse"];
3450
+ };
3451
+ };
3452
+ /** @description Too Many Requests */
3453
+ 429: {
3454
+ headers: {
3455
+ [name: string]: unknown;
3456
+ };
3457
+ content: {
3458
+ "application/json": components["schemas"]["ObjectResPonse"];
3459
+ };
3460
+ };
3461
+ };
3462
+ };
3463
+ AccountExternalRef: {
3464
+ parameters: {
3465
+ query?: never;
3466
+ header?: never;
3467
+ path: {
3468
+ acno: number;
3469
+ };
3470
+ cookie?: never;
3471
+ };
3472
+ requestBody?: {
3473
+ content: {
3474
+ "application/json-patch+json": components["schemas"]["CmdTermAccountExternalRef"];
3475
+ "application/json": components["schemas"]["CmdTermAccountExternalRef"];
3476
+ "text/json": components["schemas"]["CmdTermAccountExternalRef"];
3477
+ "application/*+json": components["schemas"]["CmdTermAccountExternalRef"];
3478
+ };
3479
+ };
3480
+ responses: {
3481
+ /** @description OK */
3482
+ 200: {
3483
+ headers: {
3484
+ [name: string]: unknown;
3485
+ };
3486
+ content: {
3487
+ "application/json": components["schemas"]["DtoTermAccountResPonse"];
3488
+ };
3489
+ };
3490
+ /** @description Bad Request */
3491
+ 400: {
3492
+ headers: {
3493
+ [name: string]: unknown;
3494
+ };
3495
+ content: {
3496
+ "application/json": components["schemas"]["ObjectResPonse"];
3497
+ };
3498
+ };
3499
+ /** @description Unauthorized */
3500
+ 401: {
3501
+ headers: {
3502
+ [name: string]: unknown;
3503
+ };
3504
+ content: {
3505
+ "application/json": components["schemas"]["ObjectResPonse"];
3506
+ };
3507
+ };
3508
+ /** @description Forbidden */
3509
+ 403: {
3510
+ headers: {
3511
+ [name: string]: unknown;
3512
+ };
3513
+ content: {
3514
+ "application/json": components["schemas"]["ObjectResPonse"];
3515
+ };
3516
+ };
3517
+ /** @description Not Found */
3518
+ 404: {
3519
+ headers: {
3520
+ [name: string]: unknown;
3521
+ };
3522
+ content: {
3523
+ "application/json": components["schemas"]["ObjectResPonse"];
3524
+ };
3525
+ };
3526
+ /** @description Too Many Requests */
3527
+ 429: {
3528
+ headers: {
3529
+ [name: string]: unknown;
3530
+ };
3531
+ content: {
3532
+ "application/json": components["schemas"]["ObjectResPonse"];
3533
+ };
3534
+ };
3535
+ };
3536
+ };
3537
+ AccountFxs: {
3538
+ parameters: {
3539
+ query?: never;
3540
+ header?: never;
3541
+ path: {
3542
+ acno: number;
3543
+ };
3544
+ cookie?: never;
3545
+ };
3546
+ requestBody?: never;
3547
+ responses: {
3548
+ /** @description OK */
3549
+ 200: {
3550
+ headers: {
3551
+ [name: string]: unknown;
3552
+ };
3553
+ content: {
3554
+ "application/json": components["schemas"]["DtoFxsAcctResPonse"];
3555
+ };
3556
+ };
3557
+ /** @description Bad Request */
3558
+ 400: {
3559
+ headers: {
3560
+ [name: string]: unknown;
3561
+ };
3562
+ content: {
3563
+ "application/json": components["schemas"]["ObjectResPonse"];
3564
+ };
3565
+ };
3566
+ /** @description Unauthorized */
3567
+ 401: {
3568
+ headers: {
3569
+ [name: string]: unknown;
3570
+ };
3571
+ content: {
3572
+ "application/json": components["schemas"]["ObjectResPonse"];
3573
+ };
3574
+ };
3575
+ /** @description Forbidden */
3576
+ 403: {
3577
+ headers: {
3578
+ [name: string]: unknown;
3579
+ };
3580
+ content: {
3581
+ "application/json": components["schemas"]["ObjectResPonse"];
3582
+ };
3583
+ };
3584
+ /** @description Not Found */
3585
+ 404: {
3586
+ headers: {
3587
+ [name: string]: unknown;
3588
+ };
3589
+ content: {
3590
+ "application/json": components["schemas"]["ObjectResPonse"];
3591
+ };
3592
+ };
3593
+ /** @description Too Many Requests */
3594
+ 429: {
3595
+ headers: {
3596
+ [name: string]: unknown;
3597
+ };
3598
+ content: {
3599
+ "application/json": components["schemas"]["ObjectResPonse"];
3600
+ };
3601
+ };
3602
+ };
3603
+ };
3604
+ AccountSettings: {
3605
+ parameters: {
3606
+ query?: never;
3607
+ header?: never;
3608
+ path: {
3609
+ acno: number;
3610
+ };
3611
+ cookie?: never;
3612
+ };
3613
+ requestBody?: {
3614
+ content: {
3615
+ "application/json-patch+json": components["schemas"]["CmdApiFxsAcctPatch"];
3616
+ "application/json": components["schemas"]["CmdApiFxsAcctPatch"];
3617
+ "text/json": components["schemas"]["CmdApiFxsAcctPatch"];
3618
+ "application/*+json": components["schemas"]["CmdApiFxsAcctPatch"];
3619
+ };
3620
+ };
3621
+ responses: {
3622
+ /** @description OK */
3623
+ 200: {
3624
+ headers: {
3625
+ [name: string]: unknown;
3626
+ };
3627
+ content: {
3628
+ "application/json": components["schemas"]["DtoFxsAcctResPonse"];
3629
+ };
3630
+ };
3631
+ /** @description Bad Request */
3632
+ 400: {
3633
+ headers: {
3634
+ [name: string]: unknown;
3635
+ };
3636
+ content: {
3637
+ "application/json": components["schemas"]["ObjectResPonse"];
3638
+ };
3639
+ };
3640
+ /** @description Unauthorized */
3641
+ 401: {
3642
+ headers: {
3643
+ [name: string]: unknown;
3644
+ };
3645
+ content: {
3646
+ "application/json": components["schemas"]["ObjectResPonse"];
3647
+ };
3648
+ };
3649
+ /** @description Forbidden */
3650
+ 403: {
3651
+ headers: {
3652
+ [name: string]: unknown;
3653
+ };
3654
+ content: {
3655
+ "application/json": components["schemas"]["ObjectResPonse"];
3656
+ };
3657
+ };
3658
+ /** @description Not Found */
3659
+ 404: {
3660
+ headers: {
3661
+ [name: string]: unknown;
3662
+ };
3663
+ content: {
3664
+ "application/json": components["schemas"]["ObjectResPonse"];
3665
+ };
3666
+ };
3667
+ /** @description Too Many Requests */
3668
+ 429: {
3669
+ headers: {
3670
+ [name: string]: unknown;
3671
+ };
3672
+ content: {
3673
+ "application/json": components["schemas"]["ObjectResPonse"];
3674
+ };
3675
+ };
3676
+ };
3677
+ };
3678
+ AccountPairs: {
3679
+ parameters: {
3680
+ query?: {
3681
+ PageNo?: number;
3682
+ PageSize?: number;
3683
+ Draw?: number;
3684
+ Sort?: string;
3685
+ Srch?: string;
3686
+ SortBy?: string[][];
3687
+ SrchBy?: string[][];
3688
+ Include?: string[];
3689
+ search?: string;
3690
+ };
3691
+ header?: never;
3692
+ path: {
3693
+ acno: number;
3694
+ };
3695
+ cookie?: never;
3696
+ };
3697
+ requestBody?: never;
3698
+ responses: {
3699
+ /** @description OK */
3700
+ 200: {
3701
+ headers: {
3702
+ [name: string]: unknown;
3703
+ };
3704
+ content: {
3705
+ "application/json": components["schemas"]["DtoFxsPairResPaged"];
3706
+ };
3707
+ };
3708
+ /** @description Bad Request */
3709
+ 400: {
3710
+ headers: {
3711
+ [name: string]: unknown;
3712
+ };
3713
+ content: {
3714
+ "application/json": components["schemas"]["ObjectResPonse"];
3715
+ };
3716
+ };
3717
+ /** @description Unauthorized */
3718
+ 401: {
3719
+ headers: {
3720
+ [name: string]: unknown;
3721
+ };
3722
+ content: {
3723
+ "application/json": components["schemas"]["ObjectResPonse"];
3724
+ };
3725
+ };
3726
+ /** @description Forbidden */
3727
+ 403: {
3728
+ headers: {
3729
+ [name: string]: unknown;
3730
+ };
3731
+ content: {
3732
+ "application/json": components["schemas"]["ObjectResPonse"];
3733
+ };
3734
+ };
3735
+ /** @description Not Found */
3736
+ 404: {
3737
+ headers: {
3738
+ [name: string]: unknown;
3739
+ };
3740
+ content: {
3741
+ "application/json": components["schemas"]["ObjectResPonse"];
3742
+ };
3743
+ };
3744
+ /** @description Too Many Requests */
3745
+ 429: {
3746
+ headers: {
3747
+ [name: string]: unknown;
3748
+ };
3749
+ content: {
3750
+ "application/json": components["schemas"]["ObjectResPonse"];
3751
+ };
3752
+ };
3753
+ };
3754
+ };
3755
+ AccountPair: {
3756
+ parameters: {
3757
+ query?: never;
3758
+ header?: never;
3759
+ path: {
3760
+ acno: number;
3761
+ prno: number;
3762
+ };
3763
+ cookie?: never;
3764
+ };
3765
+ requestBody?: never;
3766
+ responses: {
3767
+ /** @description OK */
3768
+ 200: {
3769
+ headers: {
3770
+ [name: string]: unknown;
3771
+ };
3772
+ content: {
3773
+ "application/json": components["schemas"]["DtoFxsPairResPonse"];
3774
+ };
3775
+ };
3776
+ /** @description Bad Request */
3777
+ 400: {
3778
+ headers: {
3779
+ [name: string]: unknown;
3780
+ };
3781
+ content: {
3782
+ "application/json": components["schemas"]["ObjectResPonse"];
3783
+ };
3784
+ };
3785
+ /** @description Unauthorized */
3786
+ 401: {
3787
+ headers: {
3788
+ [name: string]: unknown;
3789
+ };
3790
+ content: {
3791
+ "application/json": components["schemas"]["ObjectResPonse"];
3792
+ };
3793
+ };
3794
+ /** @description Forbidden */
3795
+ 403: {
3796
+ headers: {
3797
+ [name: string]: unknown;
3798
+ };
3799
+ content: {
3800
+ "application/json": components["schemas"]["ObjectResPonse"];
3801
+ };
3802
+ };
3803
+ /** @description Not Found */
3804
+ 404: {
3805
+ headers: {
3806
+ [name: string]: unknown;
3807
+ };
3808
+ content: {
3809
+ "application/json": components["schemas"]["ObjectResPonse"];
3810
+ };
3811
+ };
3812
+ /** @description Too Many Requests */
3813
+ 429: {
3814
+ headers: {
3815
+ [name: string]: unknown;
3816
+ };
3817
+ content: {
3818
+ "application/json": components["schemas"]["ObjectResPonse"];
3819
+ };
3820
+ };
3821
+ };
3822
+ };
3823
+ AccountPairSettings: {
3824
+ parameters: {
3825
+ query?: never;
3826
+ header?: never;
3827
+ path: {
3828
+ acno: number;
3829
+ prno: number;
3830
+ };
3831
+ cookie?: never;
3832
+ };
3833
+ requestBody?: {
3834
+ content: {
3835
+ "application/json-patch+json": components["schemas"]["CmdApiFxsPairPatch"];
3836
+ "application/json": components["schemas"]["CmdApiFxsPairPatch"];
3837
+ "text/json": components["schemas"]["CmdApiFxsPairPatch"];
3838
+ "application/*+json": components["schemas"]["CmdApiFxsPairPatch"];
3839
+ };
3840
+ };
3841
+ responses: {
3842
+ /** @description OK */
3843
+ 200: {
3844
+ headers: {
3845
+ [name: string]: unknown;
3846
+ };
3847
+ content: {
3848
+ "application/json": components["schemas"]["DtoFxsPairResPonse"];
3849
+ };
3850
+ };
3851
+ /** @description Bad Request */
3852
+ 400: {
3853
+ headers: {
3854
+ [name: string]: unknown;
3855
+ };
3856
+ content: {
3857
+ "application/json": components["schemas"]["ObjectResPonse"];
3858
+ };
3859
+ };
3860
+ /** @description Unauthorized */
3861
+ 401: {
3862
+ headers: {
3863
+ [name: string]: unknown;
3864
+ };
3865
+ content: {
3866
+ "application/json": components["schemas"]["ObjectResPonse"];
3867
+ };
3868
+ };
3869
+ /** @description Forbidden */
3870
+ 403: {
3871
+ headers: {
3872
+ [name: string]: unknown;
3873
+ };
3874
+ content: {
3875
+ "application/json": components["schemas"]["ObjectResPonse"];
3876
+ };
3877
+ };
3878
+ /** @description Not Found */
3879
+ 404: {
3880
+ headers: {
3881
+ [name: string]: unknown;
3882
+ };
3883
+ content: {
3884
+ "application/json": components["schemas"]["ObjectResPonse"];
3885
+ };
3886
+ };
3887
+ /** @description Too Many Requests */
3888
+ 429: {
3889
+ headers: {
3890
+ [name: string]: unknown;
3891
+ };
3892
+ content: {
3893
+ "application/json": components["schemas"]["ObjectResPonse"];
3894
+ };
3895
+ };
3896
+ };
3897
+ };
3898
+ AccountOrderHistory: {
3899
+ parameters: {
3900
+ query?: {
3901
+ PageNo?: number;
3902
+ PageSize?: number;
3903
+ Draw?: number;
3904
+ Sort?: string;
3905
+ Srch?: string;
3906
+ SortBy?: string[][];
3907
+ SrchBy?: string[][];
3908
+ Include?: string[];
3909
+ search?: string;
3910
+ };
3911
+ header?: never;
3912
+ path: {
3913
+ acno: number;
3914
+ };
3915
+ cookie?: never;
3916
+ };
3917
+ requestBody?: never;
3918
+ responses: {
3919
+ /** @description OK */
3920
+ 200: {
3921
+ headers: {
3922
+ [name: string]: unknown;
3923
+ };
3924
+ content: {
3925
+ "application/json": components["schemas"]["DtoFxsOrdhResPaged"];
3926
+ };
3927
+ };
3928
+ /** @description Bad Request */
3929
+ 400: {
3930
+ headers: {
3931
+ [name: string]: unknown;
3932
+ };
3933
+ content: {
3934
+ "application/json": components["schemas"]["ObjectResPonse"];
3935
+ };
3936
+ };
3937
+ /** @description Unauthorized */
3938
+ 401: {
3939
+ headers: {
3940
+ [name: string]: unknown;
3941
+ };
3942
+ content: {
3943
+ "application/json": components["schemas"]["ObjectResPonse"];
3944
+ };
3945
+ };
3946
+ /** @description Forbidden */
3947
+ 403: {
3948
+ headers: {
3949
+ [name: string]: unknown;
3950
+ };
3951
+ content: {
3952
+ "application/json": components["schemas"]["ObjectResPonse"];
3953
+ };
3954
+ };
3955
+ /** @description Not Found */
3956
+ 404: {
3957
+ headers: {
3958
+ [name: string]: unknown;
3959
+ };
3960
+ content: {
3961
+ "application/json": components["schemas"]["ObjectResPonse"];
3962
+ };
3963
+ };
3964
+ /** @description Too Many Requests */
3965
+ 429: {
3966
+ headers: {
3967
+ [name: string]: unknown;
3968
+ };
3969
+ content: {
3970
+ "application/json": components["schemas"]["ObjectResPonse"];
3971
+ };
3972
+ };
3973
+ };
3974
+ };
3975
+ AccountOrderHistoryView: {
3976
+ parameters: {
3977
+ query?: never;
3978
+ header?: never;
3979
+ path: {
3980
+ acno: number;
3981
+ oid: number;
3982
+ };
3983
+ cookie?: never;
3984
+ };
3985
+ requestBody?: never;
3986
+ responses: {
3987
+ /** @description OK */
3988
+ 200: {
3989
+ headers: {
3990
+ [name: string]: unknown;
3991
+ };
3992
+ content: {
3993
+ "application/json": components["schemas"]["DtoFxsOrdhResPonse"];
3994
+ };
3995
+ };
3996
+ /** @description Bad Request */
3997
+ 400: {
3998
+ headers: {
3999
+ [name: string]: unknown;
4000
+ };
4001
+ content: {
4002
+ "application/json": components["schemas"]["ObjectResPonse"];
4003
+ };
4004
+ };
4005
+ /** @description Unauthorized */
4006
+ 401: {
4007
+ headers: {
4008
+ [name: string]: unknown;
4009
+ };
4010
+ content: {
4011
+ "application/json": components["schemas"]["ObjectResPonse"];
4012
+ };
4013
+ };
4014
+ /** @description Forbidden */
4015
+ 403: {
4016
+ headers: {
4017
+ [name: string]: unknown;
4018
+ };
4019
+ content: {
4020
+ "application/json": components["schemas"]["ObjectResPonse"];
4021
+ };
4022
+ };
4023
+ /** @description Not Found */
4024
+ 404: {
4025
+ headers: {
4026
+ [name: string]: unknown;
4027
+ };
4028
+ content: {
4029
+ "application/json": components["schemas"]["ObjectResPonse"];
4030
+ };
4031
+ };
4032
+ /** @description Too Many Requests */
4033
+ 429: {
4034
+ headers: {
4035
+ [name: string]: unknown;
4036
+ };
4037
+ content: {
4038
+ "application/json": components["schemas"]["ObjectResPonse"];
4039
+ };
4040
+ };
4041
+ };
4042
+ };
4043
+ AccountOrders: {
4044
+ parameters: {
4045
+ query?: {
4046
+ PageNo?: number;
4047
+ PageSize?: number;
4048
+ Draw?: number;
4049
+ Sort?: string;
4050
+ Srch?: string;
4051
+ SortBy?: string[][];
4052
+ SrchBy?: string[][];
4053
+ Include?: string[];
4054
+ search?: string;
4055
+ };
4056
+ header?: never;
4057
+ path: {
4058
+ acno: number;
4059
+ };
4060
+ cookie?: never;
4061
+ };
4062
+ requestBody?: never;
4063
+ responses: {
4064
+ /** @description OK */
4065
+ 200: {
4066
+ headers: {
4067
+ [name: string]: unknown;
4068
+ };
4069
+ content: {
4070
+ "application/json": components["schemas"]["DtoFxsOrdrResPaged"];
4071
+ };
4072
+ };
4073
+ /** @description Bad Request */
4074
+ 400: {
4075
+ headers: {
4076
+ [name: string]: unknown;
4077
+ };
4078
+ content: {
4079
+ "application/json": components["schemas"]["ObjectResPonse"];
4080
+ };
4081
+ };
4082
+ /** @description Unauthorized */
4083
+ 401: {
4084
+ headers: {
4085
+ [name: string]: unknown;
4086
+ };
4087
+ content: {
4088
+ "application/json": components["schemas"]["ObjectResPonse"];
4089
+ };
4090
+ };
4091
+ /** @description Forbidden */
4092
+ 403: {
4093
+ headers: {
4094
+ [name: string]: unknown;
4095
+ };
4096
+ content: {
4097
+ "application/json": components["schemas"]["ObjectResPonse"];
4098
+ };
4099
+ };
4100
+ /** @description Not Found */
4101
+ 404: {
4102
+ headers: {
4103
+ [name: string]: unknown;
4104
+ };
4105
+ content: {
4106
+ "application/json": components["schemas"]["ObjectResPonse"];
4107
+ };
4108
+ };
4109
+ /** @description Too Many Requests */
4110
+ 429: {
4111
+ headers: {
4112
+ [name: string]: unknown;
4113
+ };
4114
+ content: {
4115
+ "application/json": components["schemas"]["ObjectResPonse"];
4116
+ };
4117
+ };
4118
+ };
4119
+ };
4120
+ AccountDcaQueue: {
4121
+ parameters: {
4122
+ query?: never;
4123
+ header?: never;
4124
+ path: {
4125
+ acno: number;
4126
+ };
4127
+ cookie?: never;
4128
+ };
4129
+ requestBody?: never;
4130
+ responses: {
4131
+ /** @description OK */
4132
+ 200: {
4133
+ headers: {
4134
+ [name: string]: unknown;
4135
+ };
4136
+ content: {
4137
+ "application/json": components["schemas"]["DtoFxsOrdrIReadOnlyListResPonse"];
4138
+ };
4139
+ };
4140
+ /** @description Bad Request */
4141
+ 400: {
4142
+ headers: {
4143
+ [name: string]: unknown;
4144
+ };
4145
+ content: {
4146
+ "application/json": components["schemas"]["ObjectResPonse"];
4147
+ };
4148
+ };
4149
+ /** @description Unauthorized */
4150
+ 401: {
4151
+ headers: {
4152
+ [name: string]: unknown;
4153
+ };
4154
+ content: {
4155
+ "application/json": components["schemas"]["ObjectResPonse"];
4156
+ };
4157
+ };
4158
+ /** @description Forbidden */
4159
+ 403: {
4160
+ headers: {
4161
+ [name: string]: unknown;
4162
+ };
4163
+ content: {
4164
+ "application/json": components["schemas"]["ObjectResPonse"];
4165
+ };
4166
+ };
4167
+ /** @description Not Found */
4168
+ 404: {
4169
+ headers: {
4170
+ [name: string]: unknown;
4171
+ };
4172
+ content: {
4173
+ "application/json": components["schemas"]["ObjectResPonse"];
4174
+ };
4175
+ };
4176
+ /** @description Too Many Requests */
4177
+ 429: {
4178
+ headers: {
4179
+ [name: string]: unknown;
4180
+ };
4181
+ content: {
4182
+ "application/json": components["schemas"]["ObjectResPonse"];
4183
+ };
4184
+ };
4185
+ };
4186
+ };
4187
+ AccountDcaAnswer: {
4188
+ parameters: {
4189
+ query?: never;
4190
+ header?: never;
4191
+ path: {
4192
+ acno: number;
4193
+ oid: number;
4194
+ };
4195
+ cookie?: never;
4196
+ };
4197
+ requestBody?: {
4198
+ content: {
4199
+ "application/json-patch+json": components["schemas"]["CmdFxsDcaAnswer"];
4200
+ "application/json": components["schemas"]["CmdFxsDcaAnswer"];
4201
+ "text/json": components["schemas"]["CmdFxsDcaAnswer"];
4202
+ "application/*+json": components["schemas"]["CmdFxsDcaAnswer"];
4203
+ };
4204
+ };
4205
+ responses: {
4206
+ /** @description OK */
4207
+ 200: {
4208
+ headers: {
4209
+ [name: string]: unknown;
4210
+ };
4211
+ content: {
4212
+ "application/json": components["schemas"]["DtoFxsOrdrResPonse"];
4213
+ };
4214
+ };
4215
+ /** @description Bad Request */
4216
+ 400: {
4217
+ headers: {
4218
+ [name: string]: unknown;
4219
+ };
4220
+ content: {
4221
+ "application/json": components["schemas"]["ObjectResPonse"];
4222
+ };
4223
+ };
4224
+ /** @description Unauthorized */
4225
+ 401: {
4226
+ headers: {
4227
+ [name: string]: unknown;
4228
+ };
4229
+ content: {
4230
+ "application/json": components["schemas"]["ObjectResPonse"];
4231
+ };
4232
+ };
4233
+ /** @description Forbidden */
4234
+ 403: {
4235
+ headers: {
4236
+ [name: string]: unknown;
4237
+ };
4238
+ content: {
4239
+ "application/json": components["schemas"]["ObjectResPonse"];
4240
+ };
4241
+ };
4242
+ /** @description Not Found */
4243
+ 404: {
4244
+ headers: {
4245
+ [name: string]: unknown;
4246
+ };
4247
+ content: {
4248
+ "application/json": components["schemas"]["ObjectResPonse"];
4249
+ };
4250
+ };
4251
+ /** @description Too Many Requests */
4252
+ 429: {
4253
+ headers: {
4254
+ [name: string]: unknown;
4255
+ };
4256
+ content: {
4257
+ "application/json": components["schemas"]["ObjectResPonse"];
4258
+ };
4259
+ };
4260
+ };
4261
+ };
4262
+ AccountOrder: {
4263
+ parameters: {
4264
+ query?: never;
4265
+ header?: never;
4266
+ path: {
4267
+ acno: number;
4268
+ oid: number;
4269
+ };
4270
+ cookie?: never;
4271
+ };
4272
+ requestBody?: never;
4273
+ responses: {
4274
+ /** @description OK */
4275
+ 200: {
4276
+ headers: {
4277
+ [name: string]: unknown;
4278
+ };
4279
+ content: {
4280
+ "application/json": components["schemas"]["DtoFxsOrdrResPonse"];
4281
+ };
4282
+ };
4283
+ /** @description Bad Request */
4284
+ 400: {
4285
+ headers: {
4286
+ [name: string]: unknown;
4287
+ };
4288
+ content: {
4289
+ "application/json": components["schemas"]["ObjectResPonse"];
4290
+ };
4291
+ };
4292
+ /** @description Unauthorized */
4293
+ 401: {
4294
+ headers: {
4295
+ [name: string]: unknown;
4296
+ };
4297
+ content: {
4298
+ "application/json": components["schemas"]["ObjectResPonse"];
4299
+ };
4300
+ };
4301
+ /** @description Forbidden */
4302
+ 403: {
4303
+ headers: {
4304
+ [name: string]: unknown;
4305
+ };
4306
+ content: {
4307
+ "application/json": components["schemas"]["ObjectResPonse"];
4308
+ };
4309
+ };
4310
+ /** @description Not Found */
4311
+ 404: {
4312
+ headers: {
4313
+ [name: string]: unknown;
4314
+ };
4315
+ content: {
4316
+ "application/json": components["schemas"]["ObjectResPonse"];
4317
+ };
4318
+ };
4319
+ /** @description Too Many Requests */
4320
+ 429: {
4321
+ headers: {
4322
+ [name: string]: unknown;
4323
+ };
4324
+ content: {
4325
+ "application/json": components["schemas"]["ObjectResPonse"];
4326
+ };
4327
+ };
4328
+ };
4329
+ };
4330
+ AccountSymbols: {
4331
+ parameters: {
4332
+ query?: never;
4333
+ header?: never;
4334
+ path: {
4335
+ acno: number;
4336
+ };
4337
+ cookie?: never;
4338
+ };
4339
+ requestBody?: never;
4340
+ responses: {
4341
+ /** @description OK */
4342
+ 200: {
4343
+ headers: {
4344
+ [name: string]: unknown;
4345
+ };
4346
+ content: {
4347
+ "application/json": components["schemas"]["DtoFxsSymbolCatalogResPonse"];
4348
+ };
4349
+ };
4350
+ /** @description Bad Request */
4351
+ 400: {
4352
+ headers: {
4353
+ [name: string]: unknown;
4354
+ };
4355
+ content: {
4356
+ "application/json": components["schemas"]["ObjectResPonse"];
4357
+ };
4358
+ };
4359
+ /** @description Unauthorized */
4360
+ 401: {
4361
+ headers: {
4362
+ [name: string]: unknown;
4363
+ };
4364
+ content: {
4365
+ "application/json": components["schemas"]["ObjectResPonse"];
4366
+ };
4367
+ };
4368
+ /** @description Forbidden */
4369
+ 403: {
4370
+ headers: {
4371
+ [name: string]: unknown;
4372
+ };
4373
+ content: {
4374
+ "application/json": components["schemas"]["ObjectResPonse"];
4375
+ };
4376
+ };
4377
+ /** @description Not Found */
4378
+ 404: {
4379
+ headers: {
4380
+ [name: string]: unknown;
4381
+ };
4382
+ content: {
4383
+ "application/json": components["schemas"]["ObjectResPonse"];
4384
+ };
4385
+ };
4386
+ /** @description Too Many Requests */
4387
+ 429: {
4388
+ headers: {
4389
+ [name: string]: unknown;
4390
+ };
4391
+ content: {
4392
+ "application/json": components["schemas"]["ObjectResPonse"];
4393
+ };
4394
+ };
4395
+ };
4396
+ };
4397
+ AccountSymbolsEdit: {
4398
+ parameters: {
4399
+ query?: never;
4400
+ header?: never;
4401
+ path: {
4402
+ acno: number;
4403
+ };
4404
+ cookie?: never;
4405
+ };
4406
+ requestBody?: {
4407
+ content: {
4408
+ "application/json-patch+json": components["schemas"]["CmdFxsSymbolsEdit"];
4409
+ "application/json": components["schemas"]["CmdFxsSymbolsEdit"];
4410
+ "text/json": components["schemas"]["CmdFxsSymbolsEdit"];
4411
+ "application/*+json": components["schemas"]["CmdFxsSymbolsEdit"];
4412
+ };
4413
+ };
4414
+ responses: {
4415
+ /** @description OK */
4416
+ 200: {
4417
+ headers: {
4418
+ [name: string]: unknown;
4419
+ };
4420
+ content: {
4421
+ "application/json": components["schemas"]["DtoFxsAccountStateResPonse"];
4422
+ };
4423
+ };
4424
+ /** @description Bad Request */
4425
+ 400: {
4426
+ headers: {
4427
+ [name: string]: unknown;
4428
+ };
4429
+ content: {
4430
+ "application/json": components["schemas"]["ObjectResPonse"];
4431
+ };
4432
+ };
4433
+ /** @description Unauthorized */
4434
+ 401: {
4435
+ headers: {
4436
+ [name: string]: unknown;
4437
+ };
4438
+ content: {
4439
+ "application/json": components["schemas"]["ObjectResPonse"];
4440
+ };
4441
+ };
4442
+ /** @description Forbidden */
4443
+ 403: {
4444
+ headers: {
4445
+ [name: string]: unknown;
4446
+ };
4447
+ content: {
4448
+ "application/json": components["schemas"]["ObjectResPonse"];
4449
+ };
4450
+ };
4451
+ /** @description Not Found */
4452
+ 404: {
4453
+ headers: {
4454
+ [name: string]: unknown;
4455
+ };
4456
+ content: {
4457
+ "application/json": components["schemas"]["ObjectResPonse"];
4458
+ };
4459
+ };
4460
+ /** @description Too Many Requests */
4461
+ 429: {
4462
+ headers: {
4463
+ [name: string]: unknown;
4464
+ };
4465
+ content: {
4466
+ "application/json": components["schemas"]["ObjectResPonse"];
4467
+ };
4468
+ };
4469
+ };
4470
+ };
4471
+ AccountQuote: {
4472
+ parameters: {
4473
+ query?: never;
4474
+ header?: never;
4475
+ path: {
4476
+ acno: number;
4477
+ symbol: string;
4478
+ };
4479
+ cookie?: never;
4480
+ };
4481
+ requestBody?: never;
4482
+ responses: {
4483
+ /** @description OK */
4484
+ 200: {
4485
+ headers: {
4486
+ [name: string]: unknown;
4487
+ };
4488
+ content: {
4489
+ "application/json": components["schemas"]["DtoFxsSymbolSpecResPonse"];
4490
+ };
4491
+ };
4492
+ /** @description Bad Request */
4493
+ 400: {
4494
+ headers: {
4495
+ [name: string]: unknown;
4496
+ };
4497
+ content: {
4498
+ "application/json": components["schemas"]["ObjectResPonse"];
4499
+ };
4500
+ };
4501
+ /** @description Unauthorized */
4502
+ 401: {
4503
+ headers: {
4504
+ [name: string]: unknown;
4505
+ };
4506
+ content: {
4507
+ "application/json": components["schemas"]["ObjectResPonse"];
4508
+ };
4509
+ };
4510
+ /** @description Forbidden */
4511
+ 403: {
4512
+ headers: {
4513
+ [name: string]: unknown;
4514
+ };
4515
+ content: {
4516
+ "application/json": components["schemas"]["ObjectResPonse"];
4517
+ };
4518
+ };
4519
+ /** @description Not Found */
4520
+ 404: {
4521
+ headers: {
4522
+ [name: string]: unknown;
4523
+ };
4524
+ content: {
4525
+ "application/json": components["schemas"]["ObjectResPonse"];
4526
+ };
4527
+ };
4528
+ /** @description Too Many Requests */
4529
+ 429: {
4530
+ headers: {
4531
+ [name: string]: unknown;
4532
+ };
4533
+ content: {
4534
+ "application/json": components["schemas"]["ObjectResPonse"];
4535
+ };
4536
+ };
4537
+ };
4538
+ };
4539
+ AccountPerformance: {
4540
+ parameters: {
4541
+ query?: {
4542
+ fromDt?: string;
4543
+ toDt?: string;
4544
+ };
4545
+ header?: never;
4546
+ path: {
4547
+ acno: number;
4548
+ };
4549
+ cookie?: never;
4550
+ };
4551
+ requestBody?: never;
4552
+ responses: {
4553
+ /** @description OK */
4554
+ 200: {
4555
+ headers: {
4556
+ [name: string]: unknown;
4557
+ };
4558
+ content: {
4559
+ "application/json": components["schemas"]["DtoFxsPerfIReadOnlyListResPonse"];
4560
+ };
4561
+ };
4562
+ /** @description Bad Request */
4563
+ 400: {
4564
+ headers: {
4565
+ [name: string]: unknown;
4566
+ };
4567
+ content: {
4568
+ "application/json": components["schemas"]["ObjectResPonse"];
4569
+ };
4570
+ };
4571
+ /** @description Unauthorized */
4572
+ 401: {
4573
+ headers: {
4574
+ [name: string]: unknown;
4575
+ };
4576
+ content: {
4577
+ "application/json": components["schemas"]["ObjectResPonse"];
4578
+ };
4579
+ };
4580
+ /** @description Forbidden */
4581
+ 403: {
4582
+ headers: {
4583
+ [name: string]: unknown;
4584
+ };
4585
+ content: {
4586
+ "application/json": components["schemas"]["ObjectResPonse"];
4587
+ };
4588
+ };
4589
+ /** @description Not Found */
4590
+ 404: {
4591
+ headers: {
4592
+ [name: string]: unknown;
4593
+ };
4594
+ content: {
4595
+ "application/json": components["schemas"]["ObjectResPonse"];
4596
+ };
4597
+ };
4598
+ /** @description Too Many Requests */
4599
+ 429: {
4600
+ headers: {
4601
+ [name: string]: unknown;
4602
+ };
4603
+ content: {
4604
+ "application/json": components["schemas"]["ObjectResPonse"];
4605
+ };
4606
+ };
4607
+ };
4608
+ };
4609
+ AccountPerformanceWindow: {
4610
+ parameters: {
4611
+ query?: never;
4612
+ header?: never;
4613
+ path: {
4614
+ acno: number;
4615
+ };
4616
+ cookie?: never;
4617
+ };
4618
+ requestBody?: never;
4619
+ responses: {
4620
+ /** @description OK */
4621
+ 200: {
4622
+ headers: {
4623
+ [name: string]: unknown;
4624
+ };
4625
+ content: {
4626
+ "application/json": components["schemas"]["DtoFxsPerfWindowResPonse"];
4627
+ };
4628
+ };
4629
+ /** @description Bad Request */
4630
+ 400: {
4631
+ headers: {
4632
+ [name: string]: unknown;
4633
+ };
4634
+ content: {
4635
+ "application/json": components["schemas"]["ObjectResPonse"];
4636
+ };
4637
+ };
4638
+ /** @description Unauthorized */
4639
+ 401: {
4640
+ headers: {
4641
+ [name: string]: unknown;
4642
+ };
4643
+ content: {
4644
+ "application/json": components["schemas"]["ObjectResPonse"];
4645
+ };
4646
+ };
4647
+ /** @description Forbidden */
4648
+ 403: {
4649
+ headers: {
4650
+ [name: string]: unknown;
4651
+ };
4652
+ content: {
4653
+ "application/json": components["schemas"]["ObjectResPonse"];
4654
+ };
4655
+ };
4656
+ /** @description Not Found */
4657
+ 404: {
4658
+ headers: {
4659
+ [name: string]: unknown;
4660
+ };
4661
+ content: {
4662
+ "application/json": components["schemas"]["ObjectResPonse"];
4663
+ };
4664
+ };
4665
+ /** @description Too Many Requests */
4666
+ 429: {
4667
+ headers: {
4668
+ [name: string]: unknown;
4669
+ };
4670
+ content: {
4671
+ "application/json": components["schemas"]["ObjectResPonse"];
4672
+ };
4673
+ };
4674
+ };
4675
+ };
4676
+ AccountPerformanceBars: {
4677
+ parameters: {
4678
+ query?: {
4679
+ fromDt?: string;
4680
+ toDt?: string;
4681
+ };
4682
+ header?: never;
4683
+ path: {
4684
+ acno: number;
4685
+ };
4686
+ cookie?: never;
4687
+ };
4688
+ requestBody?: never;
4689
+ responses: {
4690
+ /** @description OK */
4691
+ 200: {
4692
+ headers: {
4693
+ [name: string]: unknown;
4694
+ };
4695
+ content: {
4696
+ "application/json": components["schemas"]["DtoFxsPerfBarsResPonse"];
4697
+ };
4698
+ };
4699
+ /** @description Bad Request */
4700
+ 400: {
4701
+ headers: {
4702
+ [name: string]: unknown;
4703
+ };
4704
+ content: {
4705
+ "application/json": components["schemas"]["ObjectResPonse"];
4706
+ };
4707
+ };
4708
+ /** @description Unauthorized */
4709
+ 401: {
4710
+ headers: {
4711
+ [name: string]: unknown;
4712
+ };
4713
+ content: {
4714
+ "application/json": components["schemas"]["ObjectResPonse"];
4715
+ };
4716
+ };
4717
+ /** @description Forbidden */
4718
+ 403: {
4719
+ headers: {
4720
+ [name: string]: unknown;
4721
+ };
4722
+ content: {
4723
+ "application/json": components["schemas"]["ObjectResPonse"];
4724
+ };
4725
+ };
4726
+ /** @description Not Found */
4727
+ 404: {
4728
+ headers: {
4729
+ [name: string]: unknown;
4730
+ };
4731
+ content: {
4732
+ "application/json": components["schemas"]["ObjectResPonse"];
4733
+ };
4734
+ };
4735
+ /** @description Too Many Requests */
4736
+ 429: {
4737
+ headers: {
4738
+ [name: string]: unknown;
4739
+ };
4740
+ content: {
4741
+ "application/json": components["schemas"]["ObjectResPonse"];
4742
+ };
4743
+ };
4744
+ };
4745
+ };
4746
+ AccountActivity: {
4747
+ parameters: {
4748
+ query?: {
4749
+ PageNo?: number;
4750
+ PageSize?: number;
4751
+ Draw?: number;
4752
+ Sort?: string;
4753
+ Srch?: string;
4754
+ SortBy?: string[][];
4755
+ SrchBy?: string[][];
4756
+ Include?: string[];
4757
+ search?: string;
4758
+ };
2277
4759
  header?: never;
2278
- path?: never;
4760
+ path: {
4761
+ acno: number;
4762
+ };
2279
4763
  cookie?: never;
2280
4764
  };
2281
4765
  requestBody?: never;
@@ -2286,7 +4770,7 @@ interface operations {
2286
4770
  [name: string]: unknown;
2287
4771
  };
2288
4772
  content: {
2289
- "application/json": components["schemas"]["DtoMemberAccountIReadOnlyListResPonse"];
4773
+ "application/json": components["schemas"]["DtoMemberActivityResPaged"];
2290
4774
  };
2291
4775
  };
2292
4776
  /** @description Bad Request */
@@ -2336,21 +4820,21 @@ interface operations {
2336
4820
  };
2337
4821
  };
2338
4822
  };
2339
- AccountMake: {
4823
+ AccountPassword: {
2340
4824
  parameters: {
2341
4825
  query?: never;
2342
- header?: {
2343
- "Idempotency-Key"?: string;
4826
+ header?: never;
4827
+ path: {
4828
+ acno: number;
2344
4829
  };
2345
- path?: never;
2346
4830
  cookie?: never;
2347
4831
  };
2348
4832
  requestBody?: {
2349
4833
  content: {
2350
- "application/json-patch+json": components["schemas"]["CmdMemberAccountMake"];
2351
- "application/json": components["schemas"]["CmdMemberAccountMake"];
2352
- "text/json": components["schemas"]["CmdMemberAccountMake"];
2353
- "application/*+json": components["schemas"]["CmdMemberAccountMake"];
4834
+ "application/json-patch+json": components["schemas"]["CmdTermAccountPassword"];
4835
+ "application/json": components["schemas"]["CmdTermAccountPassword"];
4836
+ "text/json": components["schemas"]["CmdTermAccountPassword"];
4837
+ "application/*+json": components["schemas"]["CmdTermAccountPassword"];
2354
4838
  };
2355
4839
  };
2356
4840
  responses: {
@@ -2360,7 +4844,7 @@ interface operations {
2360
4844
  [name: string]: unknown;
2361
4845
  };
2362
4846
  content: {
2363
- "application/json": components["schemas"]["DtoFleetAccountResPonse"];
4847
+ "application/json": components["schemas"]["DtoOperationQueuedResPonse"];
2364
4848
  };
2365
4849
  };
2366
4850
  /** @description Bad Request */
@@ -2410,12 +4894,21 @@ interface operations {
2410
4894
  };
2411
4895
  };
2412
4896
  };
2413
- AccountView: {
4897
+ AccountOperations: {
2414
4898
  parameters: {
2415
- query?: never;
4899
+ query?: {
4900
+ PageNo?: number;
4901
+ PageSize?: number;
4902
+ Draw?: number;
4903
+ Sort?: string;
4904
+ Srch?: string;
4905
+ SortBy?: string[][];
4906
+ SrchBy?: string[][];
4907
+ Include?: string[];
4908
+ };
2416
4909
  header?: never;
2417
4910
  path: {
2418
- accountId: string;
4911
+ acno: number;
2419
4912
  };
2420
4913
  cookie?: never;
2421
4914
  };
@@ -2427,7 +4920,7 @@ interface operations {
2427
4920
  [name: string]: unknown;
2428
4921
  };
2429
4922
  content: {
2430
- "application/json": components["schemas"]["DtoMemberAccountResPonse"];
4923
+ "application/json": components["schemas"]["DtoApiTermOperationResPaged"];
2431
4924
  };
2432
4925
  };
2433
4926
  /** @description Bad Request */
@@ -2477,23 +4970,17 @@ interface operations {
2477
4970
  };
2478
4971
  };
2479
4972
  };
2480
- AccountExternalRef: {
4973
+ Changes: {
2481
4974
  parameters: {
2482
- query?: never;
2483
- header?: never;
2484
- path: {
2485
- accountId: string;
4975
+ query?: {
4976
+ cursor?: string;
4977
+ take?: number;
2486
4978
  };
4979
+ header?: never;
4980
+ path?: never;
2487
4981
  cookie?: never;
2488
4982
  };
2489
- requestBody?: {
2490
- content: {
2491
- "application/json-patch+json": components["schemas"]["CmdTermAccountExternalRef"];
2492
- "application/json": components["schemas"]["CmdTermAccountExternalRef"];
2493
- "text/json": components["schemas"]["CmdTermAccountExternalRef"];
2494
- "application/*+json": components["schemas"]["CmdTermAccountExternalRef"];
2495
- };
2496
- };
4983
+ requestBody?: never;
2497
4984
  responses: {
2498
4985
  /** @description OK */
2499
4986
  200: {
@@ -2501,7 +4988,7 @@ interface operations {
2501
4988
  [name: string]: unknown;
2502
4989
  };
2503
4990
  content: {
2504
- "application/json": components["schemas"]["DtoTermAccountResPonse"];
4991
+ "application/json": components["schemas"]["DtoApiChangeFeedResPonse"];
2505
4992
  };
2506
4993
  };
2507
4994
  /** @description Bad Request */
@@ -2551,13 +5038,11 @@ interface operations {
2551
5038
  };
2552
5039
  };
2553
5040
  };
2554
- AccountFxs: {
5041
+ WebhookView: {
2555
5042
  parameters: {
2556
5043
  query?: never;
2557
5044
  header?: never;
2558
- path: {
2559
- accountId: string;
2560
- };
5045
+ path?: never;
2561
5046
  cookie?: never;
2562
5047
  };
2563
5048
  requestBody?: never;
@@ -2568,7 +5053,7 @@ interface operations {
2568
5053
  [name: string]: unknown;
2569
5054
  };
2570
5055
  content: {
2571
- "application/json": components["schemas"]["DtoFxsAcctResPonse"];
5056
+ "application/json": components["schemas"]["DtoApiWebhookResPonse"];
2572
5057
  };
2573
5058
  };
2574
5059
  /** @description Bad Request */
@@ -2618,21 +5103,19 @@ interface operations {
2618
5103
  };
2619
5104
  };
2620
5105
  };
2621
- AccountSettings: {
5106
+ WebhookSet: {
2622
5107
  parameters: {
2623
5108
  query?: never;
2624
5109
  header?: never;
2625
- path: {
2626
- accountId: string;
2627
- };
5110
+ path?: never;
2628
5111
  cookie?: never;
2629
5112
  };
2630
5113
  requestBody?: {
2631
5114
  content: {
2632
- "application/json-patch+json": components["schemas"]["CmdFxsAcctPatch"];
2633
- "application/json": components["schemas"]["CmdFxsAcctPatch"];
2634
- "text/json": components["schemas"]["CmdFxsAcctPatch"];
2635
- "application/*+json": components["schemas"]["CmdFxsAcctPatch"];
5115
+ "application/json-patch+json": components["schemas"]["CmdApiWebhookSet"];
5116
+ "application/json": components["schemas"]["CmdApiWebhookSet"];
5117
+ "text/json": components["schemas"]["CmdApiWebhookSet"];
5118
+ "application/*+json": components["schemas"]["CmdApiWebhookSet"];
2636
5119
  };
2637
5120
  };
2638
5121
  responses: {
@@ -2642,7 +5125,7 @@ interface operations {
2642
5125
  [name: string]: unknown;
2643
5126
  };
2644
5127
  content: {
2645
- "application/json": components["schemas"]["DtoFxsAcctResPonse"];
5128
+ "application/json": components["schemas"]["DtoApiWebhookResPonse"];
2646
5129
  };
2647
5130
  };
2648
5131
  /** @description Bad Request */
@@ -2692,30 +5175,11 @@ interface operations {
2692
5175
  };
2693
5176
  };
2694
5177
  };
2695
- AccountPairs: {
5178
+ WebhookVoid: {
2696
5179
  parameters: {
2697
- query?: {
2698
- QSlice?: number;
2699
- PageNo?: number;
2700
- PageSize?: number;
2701
- Draw?: number;
2702
- Sort?: string;
2703
- Srch?: string;
2704
- PageOff?: number;
2705
- IsAsc?: boolean;
2706
- SortCol?: string;
2707
- SortDir?: string;
2708
- SrchCol?: string;
2709
- SrchVal?: string;
2710
- SortBy?: string[][];
2711
- SrchBy?: string[][];
2712
- Include?: string[];
2713
- search?: string;
2714
- };
5180
+ query?: never;
2715
5181
  header?: never;
2716
- path: {
2717
- accountId: string;
2718
- };
5182
+ path?: never;
2719
5183
  cookie?: never;
2720
5184
  };
2721
5185
  requestBody?: never;
@@ -2726,7 +5190,7 @@ interface operations {
2726
5190
  [name: string]: unknown;
2727
5191
  };
2728
5192
  content: {
2729
- "application/json": components["schemas"]["DtoFxsPairResPaged"];
5193
+ "application/json": components["schemas"]["BooleanResPonse"];
2730
5194
  };
2731
5195
  };
2732
5196
  /** @description Bad Request */
@@ -2776,14 +5240,11 @@ interface operations {
2776
5240
  };
2777
5241
  };
2778
5242
  };
2779
- AccountPair: {
5243
+ WebhookPing: {
2780
5244
  parameters: {
2781
5245
  query?: never;
2782
5246
  header?: never;
2783
- path: {
2784
- accountId: string;
2785
- prno: number;
2786
- };
5247
+ path?: never;
2787
5248
  cookie?: never;
2788
5249
  };
2789
5250
  requestBody?: never;
@@ -2794,7 +5255,7 @@ interface operations {
2794
5255
  [name: string]: unknown;
2795
5256
  };
2796
5257
  content: {
2797
- "application/json": components["schemas"]["DtoFxsPairResPonse"];
5258
+ "application/json": components["schemas"]["DtoApiWebhookPingResPonse"];
2798
5259
  };
2799
5260
  };
2800
5261
  /** @description Bad Request */
@@ -2844,22 +5305,21 @@ interface operations {
2844
5305
  };
2845
5306
  };
2846
5307
  };
2847
- AccountPairSettings: {
5308
+ AccountTradePreInfo: {
2848
5309
  parameters: {
2849
5310
  query?: never;
2850
5311
  header?: never;
2851
5312
  path: {
2852
- accountId: string;
2853
- prno: number;
5313
+ acno: number;
2854
5314
  };
2855
5315
  cookie?: never;
2856
5316
  };
2857
5317
  requestBody?: {
2858
5318
  content: {
2859
- "application/json-patch+json": components["schemas"]["CmdFxsPairPatch"];
2860
- "application/json": components["schemas"]["CmdFxsPairPatch"];
2861
- "text/json": components["schemas"]["CmdFxsPairPatch"];
2862
- "application/*+json": components["schemas"]["CmdFxsPairPatch"];
5319
+ "application/json-patch+json": components["schemas"]["CmdApiFxsPreInfo"];
5320
+ "application/json": components["schemas"]["CmdApiFxsPreInfo"];
5321
+ "text/json": components["schemas"]["CmdApiFxsPreInfo"];
5322
+ "application/*+json": components["schemas"]["CmdApiFxsPreInfo"];
2863
5323
  };
2864
5324
  };
2865
5325
  responses: {
@@ -2869,7 +5329,7 @@ interface operations {
2869
5329
  [name: string]: unknown;
2870
5330
  };
2871
5331
  content: {
2872
- "application/json": components["schemas"]["DtoFxsPairResPonse"];
5332
+ "application/json": components["schemas"]["DtoFxsPreInfoResPonse"];
2873
5333
  };
2874
5334
  };
2875
5335
  /** @description Bad Request */
@@ -2919,33 +5379,25 @@ interface operations {
2919
5379
  };
2920
5380
  };
2921
5381
  };
2922
- AccountOrderHistory: {
5382
+ AccountTradeMake: {
2923
5383
  parameters: {
2924
- query?: {
2925
- QSlice?: number;
2926
- PageNo?: number;
2927
- PageSize?: number;
2928
- Draw?: number;
2929
- Sort?: string;
2930
- Srch?: string;
2931
- PageOff?: number;
2932
- IsAsc?: boolean;
2933
- SortCol?: string;
2934
- SortDir?: string;
2935
- SrchCol?: string;
2936
- SrchVal?: string;
2937
- SortBy?: string[][];
2938
- SrchBy?: string[][];
2939
- Include?: string[];
2940
- search?: string;
5384
+ query?: never;
5385
+ header?: {
5386
+ "Idempotency-Key"?: string;
2941
5387
  };
2942
- header?: never;
2943
5388
  path: {
2944
- accountId: string;
5389
+ acno: number;
2945
5390
  };
2946
5391
  cookie?: never;
2947
5392
  };
2948
- requestBody?: never;
5393
+ requestBody?: {
5394
+ content: {
5395
+ "application/json-patch+json": components["schemas"]["CmdApiFxsOrdrMake"];
5396
+ "application/json": components["schemas"]["CmdApiFxsOrdrMake"];
5397
+ "text/json": components["schemas"]["CmdApiFxsOrdrMake"];
5398
+ "application/*+json": components["schemas"]["CmdApiFxsOrdrMake"];
5399
+ };
5400
+ };
2949
5401
  responses: {
2950
5402
  /** @description OK */
2951
5403
  200: {
@@ -2953,7 +5405,7 @@ interface operations {
2953
5405
  [name: string]: unknown;
2954
5406
  };
2955
5407
  content: {
2956
- "application/json": components["schemas"]["DtoFxsOrdhResPaged"];
5408
+ "application/json": components["schemas"]["DtoFxsAccountStateResPonse"];
2957
5409
  };
2958
5410
  };
2959
5411
  /** @description Bad Request */
@@ -3003,17 +5455,25 @@ interface operations {
3003
5455
  };
3004
5456
  };
3005
5457
  };
3006
- AccountOrderHistoryView: {
5458
+ AccountTradeHedgeMake: {
3007
5459
  parameters: {
3008
5460
  query?: never;
3009
- header?: never;
5461
+ header?: {
5462
+ "Idempotency-Key"?: string;
5463
+ };
3010
5464
  path: {
3011
- accountId: string;
3012
- oid: number;
5465
+ acno: number;
3013
5466
  };
3014
5467
  cookie?: never;
3015
5468
  };
3016
- requestBody?: never;
5469
+ requestBody?: {
5470
+ content: {
5471
+ "application/json-patch+json": components["schemas"]["CmdApiFxsHedgeMake"];
5472
+ "application/json": components["schemas"]["CmdApiFxsHedgeMake"];
5473
+ "text/json": components["schemas"]["CmdApiFxsHedgeMake"];
5474
+ "application/*+json": components["schemas"]["CmdApiFxsHedgeMake"];
5475
+ };
5476
+ };
3017
5477
  responses: {
3018
5478
  /** @description OK */
3019
5479
  200: {
@@ -3021,7 +5481,7 @@ interface operations {
3021
5481
  [name: string]: unknown;
3022
5482
  };
3023
5483
  content: {
3024
- "application/json": components["schemas"]["DtoFxsOrdhResPonse"];
5484
+ "application/json": components["schemas"]["DtoFxsAccountStateResPonse"];
3025
5485
  };
3026
5486
  };
3027
5487
  /** @description Bad Request */
@@ -3071,33 +5531,25 @@ interface operations {
3071
5531
  };
3072
5532
  };
3073
5533
  };
3074
- AccountOrders: {
5534
+ AccountTradeModify: {
3075
5535
  parameters: {
3076
- query?: {
3077
- QSlice?: number;
3078
- PageNo?: number;
3079
- PageSize?: number;
3080
- Draw?: number;
3081
- Sort?: string;
3082
- Srch?: string;
3083
- PageOff?: number;
3084
- IsAsc?: boolean;
3085
- SortCol?: string;
3086
- SortDir?: string;
3087
- SrchCol?: string;
3088
- SrchVal?: string;
3089
- SortBy?: string[][];
3090
- SrchBy?: string[][];
3091
- Include?: string[];
3092
- search?: string;
5536
+ query?: never;
5537
+ header?: {
5538
+ "Idempotency-Key"?: string;
3093
5539
  };
3094
- header?: never;
3095
5540
  path: {
3096
- accountId: string;
5541
+ acno: number;
3097
5542
  };
3098
5543
  cookie?: never;
3099
5544
  };
3100
- requestBody?: never;
5545
+ requestBody?: {
5546
+ content: {
5547
+ "application/json-patch+json": components["schemas"]["CmdFxsModify"];
5548
+ "application/json": components["schemas"]["CmdFxsModify"];
5549
+ "text/json": components["schemas"]["CmdFxsModify"];
5550
+ "application/*+json": components["schemas"]["CmdFxsModify"];
5551
+ };
5552
+ };
3101
5553
  responses: {
3102
5554
  /** @description OK */
3103
5555
  200: {
@@ -3105,7 +5557,7 @@ interface operations {
3105
5557
  [name: string]: unknown;
3106
5558
  };
3107
5559
  content: {
3108
- "application/json": components["schemas"]["DtoFxsOrdrResPaged"];
5560
+ "application/json": components["schemas"]["DtoFxsAccountStateResPonse"];
3109
5561
  };
3110
5562
  };
3111
5563
  /** @description Bad Request */
@@ -3155,23 +5607,21 @@ interface operations {
3155
5607
  };
3156
5608
  };
3157
5609
  };
3158
- AccountTradeMake: {
5610
+ AccountTradeCancelWaiting: {
3159
5611
  parameters: {
3160
5612
  query?: never;
3161
- header?: {
3162
- "Idempotency-Key"?: string;
3163
- };
5613
+ header?: never;
3164
5614
  path: {
3165
- accountId: string;
5615
+ acno: number;
3166
5616
  };
3167
5617
  cookie?: never;
3168
5618
  };
3169
5619
  requestBody?: {
3170
5620
  content: {
3171
- "application/json-patch+json": components["schemas"]["CmdFxsOrdrMake"];
3172
- "application/json": components["schemas"]["CmdFxsOrdrMake"];
3173
- "text/json": components["schemas"]["CmdFxsOrdrMake"];
3174
- "application/*+json": components["schemas"]["CmdFxsOrdrMake"];
5621
+ "application/json-patch+json": components["schemas"]["CmdFxsCancelWaiting"];
5622
+ "application/json": components["schemas"]["CmdFxsCancelWaiting"];
5623
+ "text/json": components["schemas"]["CmdFxsCancelWaiting"];
5624
+ "application/*+json": components["schemas"]["CmdFxsCancelWaiting"];
3175
5625
  };
3176
5626
  };
3177
5627
  responses: {
@@ -3231,16 +5681,23 @@ interface operations {
3231
5681
  };
3232
5682
  };
3233
5683
  };
3234
- AccountDcaQueue: {
5684
+ AccountStrategyPreview: {
3235
5685
  parameters: {
3236
5686
  query?: never;
3237
5687
  header?: never;
3238
5688
  path: {
3239
- accountId: string;
5689
+ acno: number;
3240
5690
  };
3241
5691
  cookie?: never;
3242
5692
  };
3243
- requestBody?: never;
5693
+ requestBody?: {
5694
+ content: {
5695
+ "application/json-patch+json": components["schemas"]["CmdApiFxsStgApply"];
5696
+ "application/json": components["schemas"]["CmdApiFxsStgApply"];
5697
+ "text/json": components["schemas"]["CmdApiFxsStgApply"];
5698
+ "application/*+json": components["schemas"]["CmdApiFxsStgApply"];
5699
+ };
5700
+ };
3244
5701
  responses: {
3245
5702
  /** @description OK */
3246
5703
  200: {
@@ -3248,7 +5705,7 @@ interface operations {
3248
5705
  [name: string]: unknown;
3249
5706
  };
3250
5707
  content: {
3251
- "application/json": components["schemas"]["DtoFxsOrdrIReadOnlyListResPonse"];
5708
+ "application/json": components["schemas"]["DtoFxsStgCascadePreviewResPonse"];
3252
5709
  };
3253
5710
  };
3254
5711
  /** @description Bad Request */
@@ -3298,24 +5755,92 @@ interface operations {
3298
5755
  };
3299
5756
  };
3300
5757
  };
3301
- AccountDcaAnswer: {
5758
+ AccountStrategyApply: {
3302
5759
  parameters: {
3303
5760
  query?: never;
3304
5761
  header?: never;
3305
5762
  path: {
3306
- accountId: string;
3307
- oid: number;
5763
+ acno: number;
5764
+ };
5765
+ cookie?: never;
5766
+ };
5767
+ requestBody?: {
5768
+ content: {
5769
+ "application/json-patch+json": components["schemas"]["CmdApiFxsStgApply"];
5770
+ "application/json": components["schemas"]["CmdApiFxsStgApply"];
5771
+ "text/json": components["schemas"]["CmdApiFxsStgApply"];
5772
+ "application/*+json": components["schemas"]["CmdApiFxsStgApply"];
5773
+ };
5774
+ };
5775
+ responses: {
5776
+ /** @description OK */
5777
+ 200: {
5778
+ headers: {
5779
+ [name: string]: unknown;
5780
+ };
5781
+ content: {
5782
+ "application/json": components["schemas"]["DtoFxsStgCascadeApplyResultResPonse"];
5783
+ };
5784
+ };
5785
+ /** @description Bad Request */
5786
+ 400: {
5787
+ headers: {
5788
+ [name: string]: unknown;
5789
+ };
5790
+ content: {
5791
+ "application/json": components["schemas"]["ObjectResPonse"];
5792
+ };
5793
+ };
5794
+ /** @description Unauthorized */
5795
+ 401: {
5796
+ headers: {
5797
+ [name: string]: unknown;
5798
+ };
5799
+ content: {
5800
+ "application/json": components["schemas"]["ObjectResPonse"];
5801
+ };
5802
+ };
5803
+ /** @description Forbidden */
5804
+ 403: {
5805
+ headers: {
5806
+ [name: string]: unknown;
5807
+ };
5808
+ content: {
5809
+ "application/json": components["schemas"]["ObjectResPonse"];
5810
+ };
5811
+ };
5812
+ /** @description Not Found */
5813
+ 404: {
5814
+ headers: {
5815
+ [name: string]: unknown;
5816
+ };
5817
+ content: {
5818
+ "application/json": components["schemas"]["ObjectResPonse"];
5819
+ };
5820
+ };
5821
+ /** @description Too Many Requests */
5822
+ 429: {
5823
+ headers: {
5824
+ [name: string]: unknown;
5825
+ };
5826
+ content: {
5827
+ "application/json": components["schemas"]["ObjectResPonse"];
5828
+ };
5829
+ };
5830
+ };
5831
+ };
5832
+ AccountStart: {
5833
+ parameters: {
5834
+ query?: never;
5835
+ header?: {
5836
+ "Idempotency-Key"?: string;
5837
+ };
5838
+ path: {
5839
+ acno: number;
3308
5840
  };
3309
5841
  cookie?: never;
3310
5842
  };
3311
- requestBody?: {
3312
- content: {
3313
- "application/json-patch+json": components["schemas"]["CmdFxsDcaAnswer"];
3314
- "application/json": components["schemas"]["CmdFxsDcaAnswer"];
3315
- "text/json": components["schemas"]["CmdFxsDcaAnswer"];
3316
- "application/*+json": components["schemas"]["CmdFxsDcaAnswer"];
3317
- };
3318
- };
5843
+ requestBody?: never;
3319
5844
  responses: {
3320
5845
  /** @description OK */
3321
5846
  200: {
@@ -3323,7 +5848,7 @@ interface operations {
3323
5848
  [name: string]: unknown;
3324
5849
  };
3325
5850
  content: {
3326
- "application/json": components["schemas"]["DtoFxsOrdrResPonse"];
5851
+ "application/json": components["schemas"]["DtoOperationQueuedResPonse"];
3327
5852
  };
3328
5853
  };
3329
5854
  /** @description Bad Request */
@@ -3373,13 +5898,14 @@ interface operations {
3373
5898
  };
3374
5899
  };
3375
5900
  };
3376
- AccountOrder: {
5901
+ AccountStop: {
3377
5902
  parameters: {
3378
5903
  query?: never;
3379
- header?: never;
5904
+ header?: {
5905
+ "Idempotency-Key"?: string;
5906
+ };
3380
5907
  path: {
3381
- accountId: string;
3382
- oid: number;
5908
+ acno: number;
3383
5909
  };
3384
5910
  cookie?: never;
3385
5911
  };
@@ -3391,7 +5917,7 @@ interface operations {
3391
5917
  [name: string]: unknown;
3392
5918
  };
3393
5919
  content: {
3394
- "application/json": components["schemas"]["DtoFxsOrdrResPonse"];
5920
+ "application/json": components["schemas"]["DtoOperationQueuedResPonse"];
3395
5921
  };
3396
5922
  };
3397
5923
  /** @description Bad Request */
@@ -3441,12 +5967,14 @@ interface operations {
3441
5967
  };
3442
5968
  };
3443
5969
  };
3444
- AccountSymbols: {
5970
+ AccountRestart: {
3445
5971
  parameters: {
3446
5972
  query?: never;
3447
- header?: never;
5973
+ header?: {
5974
+ "Idempotency-Key"?: string;
5975
+ };
3448
5976
  path: {
3449
- accountId: string;
5977
+ acno: number;
3450
5978
  };
3451
5979
  cookie?: never;
3452
5980
  };
@@ -3458,7 +5986,7 @@ interface operations {
3458
5986
  [name: string]: unknown;
3459
5987
  };
3460
5988
  content: {
3461
- "application/json": components["schemas"]["DtoFxsSymbolCatalogResPonse"];
5989
+ "application/json": components["schemas"]["DtoOperationQueuedResPonse"];
3462
5990
  };
3463
5991
  };
3464
5992
  /** @description Bad Request */
@@ -3508,23 +6036,27 @@ interface operations {
3508
6036
  };
3509
6037
  };
3510
6038
  };
3511
- AccountSymbolsEdit: {
6039
+ Pairs: {
3512
6040
  parameters: {
3513
- query?: never;
3514
- header?: never;
3515
- path: {
3516
- accountId: string;
6041
+ query?: {
6042
+ PageNo?: number;
6043
+ PageSize?: number;
6044
+ Draw?: number;
6045
+ Sort?: string;
6046
+ Srch?: string;
6047
+ SortBy?: string[][];
6048
+ SrchBy?: string[][];
6049
+ Include?: string[];
6050
+ acno?: number;
6051
+ demo?: boolean;
6052
+ platform?: components["schemas"]["FxsPlatform"];
6053
+ search?: string;
3517
6054
  };
6055
+ header?: never;
6056
+ path?: never;
3518
6057
  cookie?: never;
3519
6058
  };
3520
- requestBody?: {
3521
- content: {
3522
- "application/json-patch+json": components["schemas"]["CmdFxsSymbolsEdit"];
3523
- "application/json": components["schemas"]["CmdFxsSymbolsEdit"];
3524
- "text/json": components["schemas"]["CmdFxsSymbolsEdit"];
3525
- "application/*+json": components["schemas"]["CmdFxsSymbolsEdit"];
3526
- };
3527
- };
6059
+ requestBody?: never;
3528
6060
  responses: {
3529
6061
  /** @description OK */
3530
6062
  200: {
@@ -3532,7 +6064,7 @@ interface operations {
3532
6064
  [name: string]: unknown;
3533
6065
  };
3534
6066
  content: {
3535
- "application/json": components["schemas"]["DtoFxsAccountStateResPonse"];
6067
+ "application/json": components["schemas"]["DtoFxsPairResPaged"];
3536
6068
  };
3537
6069
  };
3538
6070
  /** @description Bad Request */
@@ -3582,14 +6114,25 @@ interface operations {
3582
6114
  };
3583
6115
  };
3584
6116
  };
3585
- AccountQuote: {
6117
+ Orders: {
3586
6118
  parameters: {
3587
- query?: never;
3588
- header?: never;
3589
- path: {
3590
- accountId: string;
3591
- symbol: string;
6119
+ query?: {
6120
+ PageNo?: number;
6121
+ PageSize?: number;
6122
+ Draw?: number;
6123
+ Sort?: string;
6124
+ Srch?: string;
6125
+ SortBy?: string[][];
6126
+ SrchBy?: string[][];
6127
+ Include?: string[];
6128
+ acno?: number;
6129
+ prno?: number;
6130
+ demo?: boolean;
6131
+ platform?: components["schemas"]["FxsPlatform"];
6132
+ search?: string;
3592
6133
  };
6134
+ header?: never;
6135
+ path?: never;
3593
6136
  cookie?: never;
3594
6137
  };
3595
6138
  requestBody?: never;
@@ -3600,7 +6143,7 @@ interface operations {
3600
6143
  [name: string]: unknown;
3601
6144
  };
3602
6145
  content: {
3603
- "application/json": components["schemas"]["DtoFxsSymbolSpecResPonse"];
6146
+ "application/json": components["schemas"]["DtoFxsOrdrResPaged"];
3604
6147
  };
3605
6148
  };
3606
6149
  /** @description Bad Request */
@@ -3650,16 +6193,25 @@ interface operations {
3650
6193
  };
3651
6194
  };
3652
6195
  };
3653
- AccountPerformance: {
6196
+ History: {
3654
6197
  parameters: {
3655
6198
  query?: {
3656
- fromDt?: string;
3657
- toDt?: string;
6199
+ PageNo?: number;
6200
+ PageSize?: number;
6201
+ Draw?: number;
6202
+ Sort?: string;
6203
+ Srch?: string;
6204
+ SortBy?: string[][];
6205
+ SrchBy?: string[][];
6206
+ Include?: string[];
6207
+ acno?: number;
6208
+ prno?: number;
6209
+ demo?: boolean;
6210
+ platform?: components["schemas"]["FxsPlatform"];
6211
+ search?: string;
3658
6212
  };
3659
6213
  header?: never;
3660
- path: {
3661
- accountId: string;
3662
- };
6214
+ path?: never;
3663
6215
  cookie?: never;
3664
6216
  };
3665
6217
  requestBody?: never;
@@ -3670,7 +6222,7 @@ interface operations {
3670
6222
  [name: string]: unknown;
3671
6223
  };
3672
6224
  content: {
3673
- "application/json": components["schemas"]["DtoFxsPerfIReadOnlyListResPonse"];
6225
+ "application/json": components["schemas"]["DtoFxsOrdhResPaged"];
3674
6226
  };
3675
6227
  };
3676
6228
  /** @description Bad Request */
@@ -3720,13 +6272,22 @@ interface operations {
3720
6272
  };
3721
6273
  };
3722
6274
  };
3723
- AccountActivity: {
6275
+ Activity: {
3724
6276
  parameters: {
3725
- query?: never;
3726
- header?: never;
3727
- path: {
3728
- accountId: string;
6277
+ query?: {
6278
+ PageNo?: number;
6279
+ PageSize?: number;
6280
+ Draw?: number;
6281
+ Sort?: string;
6282
+ Srch?: string;
6283
+ SortBy?: string[][];
6284
+ SrchBy?: string[][];
6285
+ Include?: string[];
6286
+ acno?: number;
6287
+ search?: string;
3729
6288
  };
6289
+ header?: never;
6290
+ path?: never;
3730
6291
  cookie?: never;
3731
6292
  };
3732
6293
  requestBody?: never;
@@ -3737,7 +6298,7 @@ interface operations {
3737
6298
  [name: string]: unknown;
3738
6299
  };
3739
6300
  content: {
3740
- "application/json": components["schemas"]["DtoMemberActivityIReadOnlyListResPonse"];
6301
+ "application/json": components["schemas"]["DtoMemberActivityResPaged"];
3741
6302
  };
3742
6303
  };
3743
6304
  /** @description Bad Request */
@@ -3787,11 +6348,10 @@ interface operations {
3787
6348
  };
3788
6349
  };
3789
6350
  };
3790
- Changes: {
6351
+ Dca: {
3791
6352
  parameters: {
3792
6353
  query?: {
3793
- cursor?: string;
3794
- take?: number;
6354
+ acno?: number;
3795
6355
  };
3796
6356
  header?: never;
3797
6357
  path?: never;
@@ -3805,7 +6365,7 @@ interface operations {
3805
6365
  [name: string]: unknown;
3806
6366
  };
3807
6367
  content: {
3808
- "application/json": components["schemas"]["DtoApiChangeFeedResPonse"];
6368
+ "application/json": components["schemas"]["DtoFxsOrdrIReadOnlyListResPonse"];
3809
6369
  };
3810
6370
  };
3811
6371
  /** @description Bad Request */
@@ -3855,9 +6415,19 @@ interface operations {
3855
6415
  };
3856
6416
  };
3857
6417
  };
3858
- WebhookView: {
6418
+ Operations: {
3859
6419
  parameters: {
3860
- query?: never;
6420
+ query?: {
6421
+ PageNo?: number;
6422
+ PageSize?: number;
6423
+ Draw?: number;
6424
+ Sort?: string;
6425
+ Srch?: string;
6426
+ SortBy?: string[][];
6427
+ SrchBy?: string[][];
6428
+ Include?: string[];
6429
+ acno?: number;
6430
+ };
3861
6431
  header?: never;
3862
6432
  path?: never;
3863
6433
  cookie?: never;
@@ -3870,7 +6440,7 @@ interface operations {
3870
6440
  [name: string]: unknown;
3871
6441
  };
3872
6442
  content: {
3873
- "application/json": components["schemas"]["DtoApiWebhookResPonse"];
6443
+ "application/json": components["schemas"]["DtoApiTermOperationResPaged"];
3874
6444
  };
3875
6445
  };
3876
6446
  /** @description Bad Request */
@@ -3920,21 +6490,17 @@ interface operations {
3920
6490
  };
3921
6491
  };
3922
6492
  };
3923
- WebhookSet: {
6493
+ PerformanceWindow: {
3924
6494
  parameters: {
3925
- query?: never;
6495
+ query?: {
6496
+ acno?: number;
6497
+ demo?: boolean;
6498
+ };
3926
6499
  header?: never;
3927
6500
  path?: never;
3928
6501
  cookie?: never;
3929
6502
  };
3930
- requestBody?: {
3931
- content: {
3932
- "application/json-patch+json": components["schemas"]["CmdApiWebhookSet"];
3933
- "application/json": components["schemas"]["CmdApiWebhookSet"];
3934
- "text/json": components["schemas"]["CmdApiWebhookSet"];
3935
- "application/*+json": components["schemas"]["CmdApiWebhookSet"];
3936
- };
3937
- };
6503
+ requestBody?: never;
3938
6504
  responses: {
3939
6505
  /** @description OK */
3940
6506
  200: {
@@ -3942,7 +6508,7 @@ interface operations {
3942
6508
  [name: string]: unknown;
3943
6509
  };
3944
6510
  content: {
3945
- "application/json": components["schemas"]["DtoApiWebhookResPonse"];
6511
+ "application/json": components["schemas"]["DtoFxsPerfWindowResPonse"];
3946
6512
  };
3947
6513
  };
3948
6514
  /** @description Bad Request */
@@ -3992,9 +6558,14 @@ interface operations {
3992
6558
  };
3993
6559
  };
3994
6560
  };
3995
- WebhookVoid: {
6561
+ PerformanceBars: {
3996
6562
  parameters: {
3997
- query?: never;
6563
+ query?: {
6564
+ acno?: number;
6565
+ demo?: boolean;
6566
+ fromDt?: string;
6567
+ toDt?: string;
6568
+ };
3998
6569
  header?: never;
3999
6570
  path?: never;
4000
6571
  cookie?: never;
@@ -4007,7 +6578,7 @@ interface operations {
4007
6578
  [name: string]: unknown;
4008
6579
  };
4009
6580
  content: {
4010
- "application/json": components["schemas"]["BooleanResPonse"];
6581
+ "application/json": components["schemas"]["DtoFxsPerfBarsResPonse"];
4011
6582
  };
4012
6583
  };
4013
6584
  /** @description Bad Request */
@@ -4057,9 +6628,11 @@ interface operations {
4057
6628
  };
4058
6629
  };
4059
6630
  };
4060
- WebhookPing: {
6631
+ Strategies: {
4061
6632
  parameters: {
4062
- query?: never;
6633
+ query?: {
6634
+ acno?: number;
6635
+ };
4063
6636
  header?: never;
4064
6637
  path?: never;
4065
6638
  cookie?: never;
@@ -4072,7 +6645,7 @@ interface operations {
4072
6645
  [name: string]: unknown;
4073
6646
  };
4074
6647
  content: {
4075
- "application/json": components["schemas"]["DtoApiWebhookPingResPonse"];
6648
+ "application/json": components["schemas"]["DtoFxsStgIReadOnlyListResPonse"];
4076
6649
  };
4077
6650
  };
4078
6651
  /** @description Bad Request */
@@ -4122,21 +6695,19 @@ interface operations {
4122
6695
  };
4123
6696
  };
4124
6697
  };
4125
- AccountTradePreInfo: {
6698
+ StrategyMake: {
4126
6699
  parameters: {
4127
6700
  query?: never;
4128
6701
  header?: never;
4129
- path: {
4130
- accountId: string;
4131
- };
6702
+ path?: never;
4132
6703
  cookie?: never;
4133
6704
  };
4134
6705
  requestBody?: {
4135
6706
  content: {
4136
- "application/json-patch+json": components["schemas"]["CmdFxsPreInfo"];
4137
- "application/json": components["schemas"]["CmdFxsPreInfo"];
4138
- "text/json": components["schemas"]["CmdFxsPreInfo"];
4139
- "application/*+json": components["schemas"]["CmdFxsPreInfo"];
6707
+ "application/json-patch+json": components["schemas"]["CmdFxsStgMake"];
6708
+ "application/json": components["schemas"]["CmdFxsStgMake"];
6709
+ "text/json": components["schemas"]["CmdFxsStgMake"];
6710
+ "application/*+json": components["schemas"]["CmdFxsStgMake"];
4140
6711
  };
4141
6712
  };
4142
6713
  responses: {
@@ -4146,7 +6717,7 @@ interface operations {
4146
6717
  [name: string]: unknown;
4147
6718
  };
4148
6719
  content: {
4149
- "application/json": components["schemas"]["DtoFxsPreInfoResPonse"];
6720
+ "application/json": components["schemas"]["DtoFxsStgResPonse"];
4150
6721
  };
4151
6722
  };
4152
6723
  /** @description Bad Request */
@@ -4196,25 +6767,16 @@ interface operations {
4196
6767
  };
4197
6768
  };
4198
6769
  };
4199
- AccountTradeHedgeMake: {
6770
+ Strategy: {
4200
6771
  parameters: {
4201
6772
  query?: never;
4202
- header?: {
4203
- "Idempotency-Key"?: string;
4204
- };
6773
+ header?: never;
4205
6774
  path: {
4206
- accountId: string;
6775
+ isno: number;
4207
6776
  };
4208
6777
  cookie?: never;
4209
6778
  };
4210
- requestBody?: {
4211
- content: {
4212
- "application/json-patch+json": components["schemas"]["CmdFxsHedgeMake"];
4213
- "application/json": components["schemas"]["CmdFxsHedgeMake"];
4214
- "text/json": components["schemas"]["CmdFxsHedgeMake"];
4215
- "application/*+json": components["schemas"]["CmdFxsHedgeMake"];
4216
- };
4217
- };
6779
+ requestBody?: never;
4218
6780
  responses: {
4219
6781
  /** @description OK */
4220
6782
  200: {
@@ -4222,7 +6784,7 @@ interface operations {
4222
6784
  [name: string]: unknown;
4223
6785
  };
4224
6786
  content: {
4225
- "application/json": components["schemas"]["DtoFxsAccountStateResPonse"];
6787
+ "application/json": components["schemas"]["DtoFxsStgResPonse"];
4226
6788
  };
4227
6789
  };
4228
6790
  /** @description Bad Request */
@@ -4272,25 +6834,16 @@ interface operations {
4272
6834
  };
4273
6835
  };
4274
6836
  };
4275
- AccountTradeModify: {
6837
+ StrategyVoid: {
4276
6838
  parameters: {
4277
6839
  query?: never;
4278
- header?: {
4279
- "Idempotency-Key"?: string;
4280
- };
6840
+ header?: never;
4281
6841
  path: {
4282
- accountId: string;
6842
+ isno: number;
4283
6843
  };
4284
6844
  cookie?: never;
4285
6845
  };
4286
- requestBody?: {
4287
- content: {
4288
- "application/json-patch+json": components["schemas"]["CmdFxsModify"];
4289
- "application/json": components["schemas"]["CmdFxsModify"];
4290
- "text/json": components["schemas"]["CmdFxsModify"];
4291
- "application/*+json": components["schemas"]["CmdFxsModify"];
4292
- };
4293
- };
6846
+ requestBody?: never;
4294
6847
  responses: {
4295
6848
  /** @description OK */
4296
6849
  200: {
@@ -4298,7 +6851,7 @@ interface operations {
4298
6851
  [name: string]: unknown;
4299
6852
  };
4300
6853
  content: {
4301
- "application/json": components["schemas"]["DtoFxsAccountStateResPonse"];
6854
+ "application/json": components["schemas"]["BooleanResPonse"];
4302
6855
  };
4303
6856
  };
4304
6857
  /** @description Bad Request */
@@ -4348,21 +6901,21 @@ interface operations {
4348
6901
  };
4349
6902
  };
4350
6903
  };
4351
- AccountTradeCancelWaiting: {
6904
+ StrategyPatch: {
4352
6905
  parameters: {
4353
6906
  query?: never;
4354
6907
  header?: never;
4355
6908
  path: {
4356
- accountId: string;
6909
+ isno: number;
4357
6910
  };
4358
6911
  cookie?: never;
4359
6912
  };
4360
6913
  requestBody?: {
4361
6914
  content: {
4362
- "application/json-patch+json": components["schemas"]["CmdFxsCancelWaiting"];
4363
- "application/json": components["schemas"]["CmdFxsCancelWaiting"];
4364
- "text/json": components["schemas"]["CmdFxsCancelWaiting"];
4365
- "application/*+json": components["schemas"]["CmdFxsCancelWaiting"];
6915
+ "application/json-patch+json": components["schemas"]["CmdFxsStgPatch"];
6916
+ "application/json": components["schemas"]["CmdFxsStgPatch"];
6917
+ "text/json": components["schemas"]["CmdFxsStgPatch"];
6918
+ "application/*+json": components["schemas"]["CmdFxsStgPatch"];
4366
6919
  };
4367
6920
  };
4368
6921
  responses: {
@@ -4372,7 +6925,7 @@ interface operations {
4372
6925
  [name: string]: unknown;
4373
6926
  };
4374
6927
  content: {
4375
- "application/json": components["schemas"]["DtoFxsAccountStateResPonse"];
6928
+ "application/json": components["schemas"]["DtoFxsStgResPonse"];
4376
6929
  };
4377
6930
  };
4378
6931
  /** @description Bad Request */
@@ -4422,15 +6975,11 @@ interface operations {
4422
6975
  };
4423
6976
  };
4424
6977
  };
4425
- AccountStart: {
6978
+ Signals: {
4426
6979
  parameters: {
4427
6980
  query?: never;
4428
- header?: {
4429
- "Idempotency-Key"?: string;
4430
- };
4431
- path: {
4432
- accountId: string;
4433
- };
6981
+ header?: never;
6982
+ path?: never;
4434
6983
  cookie?: never;
4435
6984
  };
4436
6985
  requestBody?: never;
@@ -4441,7 +6990,7 @@ interface operations {
4441
6990
  [name: string]: unknown;
4442
6991
  };
4443
6992
  content: {
4444
- "application/json": components["schemas"]["DtoOperationQueuedResPonse"];
6993
+ "application/json": components["schemas"]["DtoShelfSignalsResPonse"];
4445
6994
  };
4446
6995
  };
4447
6996
  /** @description Bad Request */
@@ -4491,15 +7040,20 @@ interface operations {
4491
7040
  };
4492
7041
  };
4493
7042
  };
4494
- AccountStop: {
7043
+ Alerts: {
4495
7044
  parameters: {
4496
- query?: never;
4497
- header?: {
4498
- "Idempotency-Key"?: string;
4499
- };
4500
- path: {
4501
- accountId: string;
7045
+ query?: {
7046
+ PageNo?: number;
7047
+ PageSize?: number;
7048
+ Draw?: number;
7049
+ Sort?: string;
7050
+ Srch?: string;
7051
+ SortBy?: string[][];
7052
+ SrchBy?: string[][];
7053
+ Include?: string[];
4502
7054
  };
7055
+ header?: never;
7056
+ path?: never;
4503
7057
  cookie?: never;
4504
7058
  };
4505
7059
  requestBody?: never;
@@ -4510,7 +7064,7 @@ interface operations {
4510
7064
  [name: string]: unknown;
4511
7065
  };
4512
7066
  content: {
4513
- "application/json": components["schemas"]["DtoOperationQueuedResPonse"];
7067
+ "application/json": components["schemas"]["DtoMemberActivityResPaged"];
4514
7068
  };
4515
7069
  };
4516
7070
  /** @description Bad Request */
@@ -4560,15 +7114,11 @@ interface operations {
4560
7114
  };
4561
7115
  };
4562
7116
  };
4563
- AccountRestart: {
7117
+ Stream: {
4564
7118
  parameters: {
4565
7119
  query?: never;
4566
- header?: {
4567
- "Idempotency-Key"?: string;
4568
- };
4569
- path: {
4570
- accountId: string;
4571
- };
7120
+ header?: never;
7121
+ path?: never;
4572
7122
  cookie?: never;
4573
7123
  };
4574
7124
  requestBody?: never;
@@ -4578,9 +7128,7 @@ interface operations {
4578
7128
  headers: {
4579
7129
  [name: string]: unknown;
4580
7130
  };
4581
- content: {
4582
- "application/json": components["schemas"]["DtoOperationQueuedResPonse"];
4583
- };
7131
+ content?: never;
4584
7132
  };
4585
7133
  /** @description Bad Request */
4586
7134
  400: {
@@ -4588,6 +7136,7 @@ interface operations {
4588
7136
  [name: string]: unknown;
4589
7137
  };
4590
7138
  content: {
7139
+ "text/event-stream": components["schemas"]["ObjectResPonse"];
4591
7140
  "application/json": components["schemas"]["ObjectResPonse"];
4592
7141
  };
4593
7142
  };
@@ -4597,6 +7146,7 @@ interface operations {
4597
7146
  [name: string]: unknown;
4598
7147
  };
4599
7148
  content: {
7149
+ "text/event-stream": components["schemas"]["ObjectResPonse"];
4600
7150
  "application/json": components["schemas"]["ObjectResPonse"];
4601
7151
  };
4602
7152
  };
@@ -4606,6 +7156,7 @@ interface operations {
4606
7156
  [name: string]: unknown;
4607
7157
  };
4608
7158
  content: {
7159
+ "text/event-stream": components["schemas"]["ObjectResPonse"];
4609
7160
  "application/json": components["schemas"]["ObjectResPonse"];
4610
7161
  };
4611
7162
  };
@@ -4615,6 +7166,7 @@ interface operations {
4615
7166
  [name: string]: unknown;
4616
7167
  };
4617
7168
  content: {
7169
+ "text/event-stream": components["schemas"]["ObjectResPonse"];
4618
7170
  "application/json": components["schemas"]["ObjectResPonse"];
4619
7171
  };
4620
7172
  };
@@ -4624,20 +7176,21 @@ interface operations {
4624
7176
  [name: string]: unknown;
4625
7177
  };
4626
7178
  content: {
7179
+ "text/event-stream": components["schemas"]["ObjectResPonse"];
4627
7180
  "application/json": components["schemas"]["ObjectResPonse"];
4628
7181
  };
4629
7182
  };
4630
7183
  };
4631
7184
  };
4632
- AccountRemove: {
7185
+ Brokers: {
4633
7186
  parameters: {
4634
- query?: never;
4635
- header?: {
4636
- "Idempotency-Key"?: string;
4637
- };
4638
- path: {
4639
- accountId: string;
7187
+ query?: {
7188
+ query?: string;
7189
+ platform?: string;
7190
+ demosOnly?: boolean;
4640
7191
  };
7192
+ header?: never;
7193
+ path?: never;
4641
7194
  cookie?: never;
4642
7195
  };
4643
7196
  requestBody?: never;
@@ -4648,7 +7201,7 @@ interface operations {
4648
7201
  [name: string]: unknown;
4649
7202
  };
4650
7203
  content: {
4651
- "application/json": components["schemas"]["DtoOperationQueuedResPonse"];
7204
+ "application/json": components["schemas"]["DtoBrokerServerSearchIReadOnlyListResPonse"];
4652
7205
  };
4653
7206
  };
4654
7207
  /** @description Bad Request */
@@ -4716,6 +7269,7 @@ interface FinPage<T> {
4716
7269
  declare class FinHttpTransport {
4717
7270
  private readonly apiKey;
4718
7271
  private readonly baseUrl;
7272
+ private readonly credentials;
4719
7273
  private readonly timeoutMs;
4720
7274
  private readonly maxRetries;
4721
7275
  private readonly fetcher;
@@ -4725,6 +7279,8 @@ declare class FinHttpTransport {
4725
7279
  request<T>(method: string, path: string, body?: unknown, requestOptions?: FinRequestOptions): Promise<T>;
4726
7280
  private sendEnvelope;
4727
7281
  requestPage<T>(method: string, path: string, requestOptions?: FinRequestOptions): Promise<FinPage<T>>;
7282
+ /** Reads the event stream until the server closes it or the caller aborts. It does not reconnect. */
7283
+ requestEvents(path: string, requestOptions?: FinRequestOptions): AsyncGenerator<FinStreamEvent, void, undefined>;
4728
7284
  private backoff;
4729
7285
  private pause;
4730
7286
  }
@@ -4739,106 +7295,169 @@ type FinResponseData<K extends keyof FinCopySchemas> = FinCopySchemas[K] extends
4739
7295
 
4740
7296
  type D<K extends keyof FinCopySchemas> = FinResponseData<K>;
4741
7297
  type CopyDto<K extends keyof FinCopySchemas> = FinCopyDto<K>;
4742
- /** Common FinCopy paging and sorting inputs. Arrays become repeated query keys. */
7298
+ /** Paging and search inputs for FinCopy lists. */
4743
7299
  interface FinPageQuery {
4744
7300
  PageNo?: number;
4745
7301
  PageSize?: number;
4746
- PageOff?: number;
4747
- IsAsc?: boolean;
4748
- SortCol?: string;
4749
- SortDir?: string;
4750
- SrchCol?: string;
4751
- SrchVal?: string;
4752
7302
  Search?: string;
4753
- SortBy?: readonly string[];
4754
- SrchBy?: readonly string[];
7303
+ SortBy?: readonly (readonly string[])[];
7304
+ SrchBy?: readonly (readonly string[])[];
4755
7305
  Include?: readonly string[];
4756
7306
  }
7307
+ /** Filters supported by cross-account FXS lists. */
7308
+ interface FinFxsListQuery {
7309
+ page?: FinPageQuery;
7310
+ acno?: number;
7311
+ prno?: number;
7312
+ demo?: boolean;
7313
+ platform?: string;
7314
+ search?: string;
7315
+ }
4757
7316
  interface FinPerformanceQuery extends FinRequestOptions {
4758
7317
  fromDt?: string | Date;
4759
7318
  toDt?: string | Date;
4760
7319
  }
4761
- /** Account, symbols, settings and terminal operations. */
7320
+ /** The cross-account performance reading: every reachable account, or one with `acno`; `demo` picks demo or real. */
7321
+ interface FinFxsPerformanceQuery extends FinPerformanceQuery {
7322
+ acno?: number;
7323
+ demo?: boolean;
7324
+ }
7325
+ /** Account lifecycle, settings, symbols, positions and results. */
4762
7326
  declare class AccountsResource {
4763
7327
  private readonly http;
4764
7328
  constructor(http: FinHttpTransport);
4765
- /** Lists the accounts this API key can reach. */
4766
- list(options?: FinRequestOptions): Promise<D<"DtoMemberAccountIReadOnlyListResPonse">>;
4767
- /** Adds a hosted account for the key's owner. */
7329
+ /** Lists reachable accounts, optionally filtered by external reference. */
7330
+ list(page?: FinPageQuery, externalRef?: string, options?: FinRequestOptions): Promise<FinPage<CopyDto<"DtoMemberAccount">>>;
7331
+ /** Adds a hosted account. */
4768
7332
  make(command: CopyDto<"CmdMemberAccountMake">, options?: FinRequestOptions): Promise<D<"DtoFleetAccountResPonse">>;
4769
- /** Reads one account and its latest state. */
4770
- get(accountId: string, options?: FinRequestOptions): Promise<D<"DtoMemberAccountResPonse">>;
7333
+ /** Creates a demo account. */
7334
+ makeDemo(command: CopyDto<"CmdMemberDemoMake">, options?: FinRequestOptions): Promise<D<"DtoFleetAccountResPonse">>;
7335
+ /** Reads demo availability for one platform. */
7336
+ demoAvailability(platform?: string, options?: FinRequestOptions): Promise<D<"DtoDemoAvailabilityResPonse">>;
7337
+ /** Reads one account by ACNO. */
7338
+ get(acno: number, options?: FinRequestOptions): Promise<D<"DtoMemberAccountResPonse">>;
4771
7339
  /** Sets or clears the account's external reference. */
4772
- setExternalRef(accountId: string, command: CopyDto<"CmdTermAccountExternalRef">, options?: FinRequestOptions): Promise<D<"DtoTermAccountResPonse">>;
4773
- /** Reads the account's trading settings. */
4774
- getTrading(accountId: string, options?: FinRequestOptions): Promise<D<"DtoFxsAcctResPonse">>;
4775
- /** Changes the account's trading settings. */
4776
- patchTrading(accountId: string, command: CopyDto<"CmdFxsAcctPatch">, options?: FinRequestOptions): Promise<D<"DtoFxsAcctResPonse">>;
4777
- /** Lists the account's symbols and their BUY and SELL books. */
4778
- listPairs(accountId: string, query?: FinPageQuery, options?: FinRequestOptions): Promise<FinPage<CopyDto<"DtoFxsPair">>>;
4779
- /** Reads one symbol and its settings. */
4780
- getPair(accountId: string, prno: number, options?: FinRequestOptions): Promise<D<"DtoFxsPairResPonse">>;
4781
- /** Changes one symbol's settings. */
4782
- patchPair(accountId: string, prno: number, command: CopyDto<"CmdFxsPairPatch">, options?: FinRequestOptions): Promise<D<"DtoFxsPairResPonse">>;
4783
- /** Lists HYBRID DCA proposals waiting for an answer. */
4784
- dcaQueue(accountId: string, options?: FinRequestOptions): Promise<D<"DtoFxsOrdrIReadOnlyListResPonse">>;
4785
- /** Reads broker symbols and the account's enabled symbols. */
4786
- symbols(accountId: string, options?: FinRequestOptions): Promise<D<"DtoFxsSymbolCatalogResPonse">>;
4787
- /** Adds and removes symbols from the account's enabled list. */
4788
- editSymbols(accountId: string, command: CopyDto<"CmdFxsSymbolsEdit">, options?: FinRequestOptions): Promise<D<"DtoFxsAccountStateResPonse">>;
7340
+ setExternalRef(acno: number, command: CopyDto<"CmdTermAccountExternalRef">, options?: FinRequestOptions): Promise<D<"DtoTermAccountResPonse">>;
7341
+ /** Reads account settings. */
7342
+ getSettings(acno: number, options?: FinRequestOptions): Promise<D<"DtoFxsAcctResPonse">>;
7343
+ /** Changes account settings. */
7344
+ patchSettings(acno: number, command: CopyDto<"CmdApiFxsAcctPatch">, options?: FinRequestOptions): Promise<D<"DtoFxsAcctResPonse">>;
7345
+ /** Lists pairs for one account. */
7346
+ pairs(acno: number, page?: FinPageQuery, search?: string, options?: FinRequestOptions): Promise<FinPage<CopyDto<"DtoFxsPair">>>;
7347
+ /** Reads one pair by PRNO. */
7348
+ pair(acno: number, prno: number, options?: FinRequestOptions): Promise<D<"DtoFxsPairResPonse">>;
7349
+ /** Changes one pair's settings. */
7350
+ patchPair(acno: number, prno: number, command: CopyDto<"CmdApiFxsPairPatch">, options?: FinRequestOptions): Promise<D<"DtoFxsPairResPonse">>;
7351
+ /** Reads the broker symbols and enabled list. */
7352
+ symbols(acno: number, options?: FinRequestOptions): Promise<D<"DtoFxsSymbolCatalogResPonse">>;
7353
+ /** Adds or removes enabled symbols. */
7354
+ editSymbols(acno: number, command: CopyDto<"CmdFxsSymbolsEdit">, options?: FinRequestOptions): Promise<D<"DtoFxsAccountStateResPonse">>;
4789
7355
  /** Reads a symbol's broker specification and latest quote. */
4790
- quote(accountId: string, symbol: string, options?: FinRequestOptions): Promise<D<"DtoFxsSymbolSpecResPonse">>;
4791
- /** Reads daily performance rows for one account and optional UTC date range. */
4792
- performance(accountId: string, query?: FinPerformanceQuery): Promise<D<"DtoFxsPerfIReadOnlyListResPonse">>;
4793
- /** Reads recent activity for one account. */
4794
- activity(accountId: string, options?: FinRequestOptions): Promise<D<"DtoMemberActivityIReadOnlyListResPonse">>;
4795
- /** Queues a start operation for the hosted terminal. */
4796
- start(accountId: string, options?: FinRequestOptions): Promise<D<"DtoOperationQueuedResPonse">>;
4797
- /** Queues a stop operation for the hosted terminal. */
4798
- stop(accountId: string, options?: FinRequestOptions): Promise<D<"DtoOperationQueuedResPonse">>;
4799
- /** Queues a restart operation for the hosted terminal. */
4800
- restart(accountId: string, options?: FinRequestOptions): Promise<D<"DtoOperationQueuedResPonse">>;
4801
- /** Queues removal of the hosted account and its terminal. */
4802
- remove(accountId: string, options?: FinRequestOptions): Promise<D<"DtoOperationQueuedResPonse">>;
7356
+ quote(acno: number, symbol: string, options?: FinRequestOptions): Promise<D<"DtoFxsSymbolSpecResPonse">>;
7357
+ /** Lists live orders for one account. */
7358
+ orders(acno: number, page?: FinPageQuery, search?: string, options?: FinRequestOptions): Promise<FinPage<CopyDto<"DtoFxsOrdr">>>;
7359
+ /** Reads one live or settled order. */
7360
+ order(acno: number, oid: number, options?: FinRequestOptions): Promise<D<"DtoFxsOrdrResPonse">>;
7361
+ /** Lists settled orders. */
7362
+ history(acno: number, page?: FinPageQuery, search?: string, options?: FinRequestOptions): Promise<FinPage<CopyDto<"DtoFxsOrdh">>>;
7363
+ /** Reads one settled order by OID. */
7364
+ historyItem(acno: number, oid: number, options?: FinRequestOptions): Promise<D<"DtoFxsOrdhResPonse">>;
7365
+ /** Lists HYBRID DCA proposals waiting for an answer. */
7366
+ dcaQueue(acno: number, options?: FinRequestOptions): Promise<D<"DtoFxsOrdrIReadOnlyListResPonse">>;
7367
+ /** Lists daily performance rows. */
7368
+ performance(acno: number, query?: FinPerformanceQuery): Promise<D<"DtoFxsPerfIReadOnlyListResPonse">>;
7369
+ /** Reads the account's performance window. */
7370
+ performanceWindow(acno: number, options?: FinRequestOptions): Promise<D<"DtoFxsPerfWindowResPonse">>;
7371
+ /** Reads performance bars for an optional UTC date range. */
7372
+ performanceBars(acno: number, query?: FinPerformanceQuery): Promise<D<"DtoFxsPerfBarsResPonse">>;
7373
+ /** Lists paged account activity. */
7374
+ activity(acno: number, page?: FinPageQuery, search?: string, options?: FinRequestOptions): Promise<FinPage<CopyDto<"DtoMemberActivity">>>;
7375
+ /** Previews applying a strategy (the account owner's or a FinCopy preset): what each symbol would change. Nothing changes. */
7376
+ previewStrategy(acno: number, command: CopyDto<"CmdApiFxsStgApply">, options?: FinRequestOptions): Promise<D<"DtoFxsStgCascadePreviewResPonse">>;
7377
+ /** Applies a strategy to the account and its symbols; a side holding orders keeps what it must keep. */
7378
+ applyStrategy(acno: number, command: CopyDto<"CmdApiFxsStgApply">, options?: FinRequestOptions): Promise<D<"DtoFxsStgCascadeApplyResultResPonse">>;
7379
+ /** Lists recent terminal operations. */
7380
+ operations(acno: number, page?: FinPageQuery, options?: FinRequestOptions): Promise<FinPage<CopyDto<"DtoApiTermOperation">>>;
7381
+ /** Queues a broker-password change. */
7382
+ changePassword(acno: number, command: CopyDto<"CmdTermAccountPassword">, options?: FinRequestOptions): Promise<D<"DtoOperationQueuedResPonse">>;
7383
+ /** Queues a terminal start. */
7384
+ start(acno: number, options?: FinRequestOptions): Promise<D<"DtoOperationQueuedResPonse">>;
7385
+ /** Queues a terminal stop. */
7386
+ stop(acno: number, options?: FinRequestOptions): Promise<D<"DtoOperationQueuedResPonse">>;
7387
+ /** Queues a terminal restart. */
7388
+ restart(acno: number, options?: FinRequestOptions): Promise<D<"DtoOperationQueuedResPonse">>;
7389
+ /** Queues account removal. */
7390
+ remove(acno: number, options?: FinRequestOptions): Promise<D<"DtoOperationQueuedResPonse">>;
4803
7391
  private operation;
4804
7392
  }
4805
- /** Orders and trade actions. Successful writes report that work is queued, not filled. */
7393
+ /** Account-level trading actions. Successful writes report that work is queued, not filled. */
4806
7394
  declare class OrdersResource {
4807
7395
  private readonly http;
4808
7396
  constructor(http: FinHttpTransport);
4809
- /** Lists live, queued and pending orders. */
4810
- list(accountId: string, query?: FinPageQuery, options?: FinRequestOptions): Promise<FinPage<CopyDto<"DtoFxsOrdr">>>;
4811
- /** Lists settled orders, newest first. */
4812
- history(accountId: string, query?: FinPageQuery, options?: FinRequestOptions): Promise<FinPage<CopyDto<"DtoFxsOrdh">>>;
4813
- /** Reads one settled order. */
4814
- historyItem(accountId: string, oid: number, options?: FinRequestOptions): Promise<D<"DtoFxsOrdhResPonse">>;
4815
- /** Reads one live or settled order. */
4816
- get(accountId: string, oid: number, options?: FinRequestOptions): Promise<D<"DtoFxsOrdrResPonse">>;
4817
- /** Sends one FXS action. A successful response means queued for the terminal, not filled. */
4818
- make(accountId: string, command: CopyDto<"CmdFxsOrdrMake">, options?: FinRequestOptions): Promise<D<"DtoFxsAccountStateResPonse">>;
4819
- /** Accepts or rejects one HYBRID DCA proposal. */
4820
- answerDca(accountId: string, oid: number, command: CopyDto<"CmdFxsDcaAnswer">, options?: FinRequestOptions): Promise<D<"DtoFxsOrdrResPonse">>;
4821
- /** Reads the quote, limits, books and settings used by the trade ticket. */
4822
- preInfo(accountId: string, command: CopyDto<"CmdFxsPreInfo">, options?: FinRequestOptions): Promise<D<"DtoFxsPreInfoResPonse">>;
4823
- /** Sends a BUY and SELL trade together. A successful response means queued, not filled. */
4824
- hedge(accountId: string, command: CopyDto<"CmdFxsHedgeMake">, options?: FinRequestOptions): Promise<D<"DtoFxsAccountStateResPonse">>;
4825
- /** Changes an order's TP field, SL field, expiry or pending price. */
4826
- modify(accountId: string, command: CopyDto<"CmdFxsModify">, options?: FinRequestOptions): Promise<D<"DtoFxsAccountStateResPonse">>;
4827
- /** Cancels an order that has not yet been delivered to the terminal. */
4828
- cancelWaiting(accountId: string, command: CopyDto<"CmdFxsCancelWaiting">, options?: FinRequestOptions): Promise<D<"DtoFxsAccountStateResPonse">>;
7397
+ /** Preflights a trade request. */
7398
+ preInfo(acno: number, command: CopyDto<"CmdApiFxsPreInfo">, options?: FinRequestOptions): Promise<D<"DtoFxsPreInfoResPonse">>;
7399
+ /** Sends one trade action. */
7400
+ make(acno: number, command: CopyDto<"CmdApiFxsOrdrMake">, options?: FinRequestOptions): Promise<D<"DtoFxsAccountStateResPonse">>;
7401
+ /** Sends paired BUY and SELL actions. */
7402
+ hedge(acno: number, command: CopyDto<"CmdApiFxsHedgeMake">, options?: FinRequestOptions): Promise<D<"DtoFxsAccountStateResPonse">>;
7403
+ /** Modifies a trade or pending order. */
7404
+ modify(acno: number, command: CopyDto<"CmdFxsModify">, options?: FinRequestOptions): Promise<D<"DtoFxsAccountStateResPonse">>;
7405
+ /** Cancels an order that has not reached the terminal. */
7406
+ cancelWaiting(acno: number, command: CopyDto<"CmdFxsCancelWaiting">, options?: FinRequestOptions): Promise<D<"DtoFxsAccountStateResPonse">>;
7407
+ /** Accepts or rejects one DCA proposal. */
7408
+ answerDca(acno: number, oid: number, command: CopyDto<"CmdFxsDcaAnswer">, options?: FinRequestOptions): Promise<D<"DtoFxsOrdrResPonse">>;
7409
+ }
7410
+ /** Cross-account FXS lists and lane-wide member resources. */
7411
+ declare class FxResource {
7412
+ private readonly http;
7413
+ constructor(http: FinHttpTransport);
7414
+ /** Lists pairs across reachable accounts. */
7415
+ pairs(query?: FinFxsListQuery, options?: FinRequestOptions): Promise<FinPage<CopyDto<"DtoFxsPair">>>;
7416
+ /** Lists open orders across reachable accounts. */
7417
+ orders(query?: FinFxsListQuery, options?: FinRequestOptions): Promise<FinPage<CopyDto<"DtoFxsOrdr">>>;
7418
+ /** Lists settled orders across reachable accounts. */
7419
+ history(query?: FinFxsListQuery, options?: FinRequestOptions): Promise<FinPage<CopyDto<"DtoFxsOrdh">>>;
7420
+ /** Lists activity across reachable accounts. */
7421
+ activity(query?: FinFxsListQuery, options?: FinRequestOptions): Promise<FinPage<CopyDto<"DtoMemberActivity">>>;
7422
+ /** HYBRID DCA proposals waiting for an answer across reachable accounts, newest first. */
7423
+ dca(acno?: number, options?: FinRequestOptions): Promise<D<"DtoFxsOrdrIReadOnlyListResPonse">>;
7424
+ /** The newest terminal operations across reachable accounts. */
7425
+ operations(page?: FinPageQuery, acno?: number, options?: FinRequestOptions): Promise<FinPage<CopyDto<"DtoApiTermOperation">>>;
7426
+ /** The last 30 days by currency book across reachable accounts. */
7427
+ performanceWindow(query?: FinFxsPerformanceQuery): Promise<D<"DtoFxsPerfWindowResPonse">>;
7428
+ /** Daily performance bars across reachable accounts for an optional UTC date range. */
7429
+ performanceBars(query?: FinFxsPerformanceQuery): Promise<D<"DtoFxsPerfBarsResPonse">>;
7430
+ /** Lists the strategies you can apply: your own and FinCopy's presets; with `acno`, that account owner's. */
7431
+ strategies(acno?: number, options?: FinRequestOptions): Promise<D<"DtoFxsStgIReadOnlyListResPonse">>;
7432
+ /** Reads one strategy. */
7433
+ strategy(isno: number, options?: FinRequestOptions): Promise<D<"DtoFxsStgResPonse">>;
7434
+ /** Creates one of your own strategies. */
7435
+ makeStrategy(command: CopyDto<"CmdFxsStgMake">, options?: FinRequestOptions): Promise<D<"DtoFxsStgResPonse">>;
7436
+ /** Changes one of your own strategies; fields left unset keep their values. */
7437
+ patchStrategy(isno: number, command: CopyDto<"CmdFxsStgPatch">, options?: FinRequestOptions): Promise<D<"DtoFxsStgResPonse">>;
7438
+ /** Deletes one of your own strategies. */
7439
+ deleteStrategy(isno: number, options?: FinRequestOptions): Promise<D<"BooleanResPonse">>;
7440
+ /** Reads the signals shown for enabled symbols. */
7441
+ signals(options?: FinRequestOptions): Promise<D<"DtoShelfSignalsResPonse">>;
7442
+ /** Lists warning and error activity. */
7443
+ alerts(page?: FinPageQuery, options?: FinRequestOptions): Promise<FinPage<CopyDto<"DtoMemberActivity">>>;
7444
+ /**
7445
+ * Opens the live event stream for reachable accounts. It does not reconnect: it ends when the server closes it (about
7446
+ * every 30 minutes) or the connection breaks, so open it again in a loop, waiting a few seconds between attempts.
7447
+ */
7448
+ stream(options?: FinRequestOptions): AsyncGenerator<FinStreamEvent, void, undefined>;
7449
+ /** Searches broker servers available when adding an account. */
7450
+ brokers(query?: string, platform?: string, demosOnly?: boolean, options?: FinRequestOptions): Promise<D<"DtoBrokerServerSearchIReadOnlyListResPonse">>;
4829
7451
  }
4830
- /** Change-feed resource. Read one page or stream every row while the cursor advances. */
7452
+ /** Changes feed resource. */
4831
7453
  declare class ChangesResource {
4832
7454
  private readonly http;
4833
7455
  constructor(http: FinHttpTransport);
4834
7456
  /** Reads one changes page using an optional cursor. */
4835
7457
  get(cursor?: string, take?: number, options?: FinRequestOptions): Promise<D<"DtoApiChangeFeedResPonse">>;
4836
- /**
4837
- * Streams the available changes page by page, following each returned cursor. Save each page's `Cursor` after handling
4838
- * its `Changes`, so a restart resumes from there.
4839
- */
7458
+ /** Reads changes page by page, following each cursor. */
4840
7459
  readPages(cursor?: string, take?: number, signal?: AbortSignal): AsyncGenerator<FinChangeFeedPage<CopyDto<"DtoApiChange">>, void, undefined>;
4841
- /** Streams every currently available change, following each returned cursor. Use `readPages` to save the cursor. */
7460
+ /** Streams all available changes. Use readPages to retain a resume cursor. */
4842
7461
  readAll(cursor?: string, take?: number, signal?: AbortSignal): AsyncGenerator<CopyDto<"DtoApiChange">, void, undefined>;
4843
7462
  private page;
4844
7463
  }
@@ -4848,11 +7467,11 @@ declare class WebhooksResource {
4848
7467
  constructor(http: FinHttpTransport);
4849
7468
  /** Reads this key's webhook configuration. */
4850
7469
  get(options?: FinRequestOptions): Promise<D<"DtoApiWebhookResPonse">>;
4851
- /** Sets the HTTPS destination and returns its signing secret once. */
7470
+ /** Sets the webhook destination and returns its signing secret once. */
4852
7471
  set(command: CopyDto<"CmdApiWebhookSet">, options?: FinRequestOptions): Promise<D<"DtoApiWebhookResPonse">>;
4853
7472
  /** Removes this key's webhook. */
4854
7473
  delete(options?: FinRequestOptions): Promise<D<"BooleanResPonse">>;
4855
- /** Sends a signed test POST to this key's webhook. */
7474
+ /** Sends a signed test delivery. */
4856
7475
  ping(options?: FinRequestOptions): Promise<D<"DtoApiWebhookPingResPonse">>;
4857
7476
  }
4858
7477
 
@@ -4861,6 +7480,7 @@ declare class FinClient {
4861
7480
  readonly copy: {
4862
7481
  readonly accounts: AccountsResource;
4863
7482
  readonly orders: OrdersResource;
7483
+ readonly fx: FxResource;
4864
7484
  readonly changes: ChangesResource;
4865
7485
  readonly webhooks: WebhooksResource;
4866
7486
  };
@@ -4888,11 +7508,4 @@ declare class FinApiError extends Error {
4888
7508
  });
4889
7509
  }
4890
7510
 
4891
- /** Verifies the HMAC-SHA256 signature on a FinCopy webhook request. */
4892
- declare class FinWebhook {
4893
- private static readonly allowedSkewSeconds;
4894
- /** Verify X-FinCopy-Signature over the timestamp and the exact raw request body. */
4895
- static verify(secret: string, timestamp: string | number, body: string | Uint8Array, signature: string): boolean;
4896
- }
4897
-
4898
- export { AccountsResource, ChangesResource, FinApiError, type FinChangeFeedPage, FinClient, type FinClientOptions, type FinCopyDto, type FinCopySchemas, type FinErrorCode, FinHttpTransport, type FinPage, type FinPageInfo, type FinPageQuery, type FinPerformanceQuery, type FinRequestOptions, type FinResponseData, FinWebhook, OrdersResource, WebhooksResource, type components, type operations, type paths, readAllChanges, readChangePages };
7511
+ export { AccountsResource, ChangesResource, FinApiError, type FinChangeFeedPage, FinClient, type FinClientOptions, type FinCopyDto, type FinCopySchemas, type FinErrorCode, type FinFxsListQuery, type FinFxsPerformanceQuery, FinHttpTransport, type FinPage, type FinPageInfo, type FinPageQuery, type FinPerformanceQuery, type FinRequestOptions, type FinResponseData, type FinStreamEvent, FxResource, OrdersResource, WebhooksResource, type components, type operations, type paths, readAllChanges, readChangePages };