@devizovaburza/txs-sdk 3.1.28 → 3.1.29-canary.58fe361c9
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/v1/index.d.cts +425 -61
- package/dist/v1/index.d.mts +425 -61
- package/dist/v1/index.d.ts +425 -61
- package/package.json +1 -1
package/dist/v1/index.d.cts
CHANGED
|
@@ -958,6 +958,251 @@ declare const codesAndOrderRoutes: OpenAPIHono<Env, hono_types.MergeSchemaPath<{
|
|
|
958
958
|
};
|
|
959
959
|
};
|
|
960
960
|
}, "/v1/orders/:orderId/pause"> & hono_types.MergeSchemaPath<{
|
|
961
|
+
"/": {
|
|
962
|
+
$patch: {
|
|
963
|
+
input: {
|
|
964
|
+
param: {
|
|
965
|
+
orderId: string;
|
|
966
|
+
};
|
|
967
|
+
} & {
|
|
968
|
+
header: {
|
|
969
|
+
'X-Idempotency-Key': string;
|
|
970
|
+
'X-Signature': string;
|
|
971
|
+
'X-Signature-Key': string;
|
|
972
|
+
};
|
|
973
|
+
} & {
|
|
974
|
+
json: {
|
|
975
|
+
action: "update";
|
|
976
|
+
dependency: {
|
|
977
|
+
id: string;
|
|
978
|
+
orderIdRelatedTo: string;
|
|
979
|
+
settlement: boolean;
|
|
980
|
+
desiredOrderStatus: "DRAFT" | "CREATED" | "FUND_IN_PAID" | "FUND_OUT_PAID" | "WAITING_FOR_FUND_IN" | "WAITING_FOR_FUND_OUT" | "AML_PENDING" | "WAITING_FOR_DEPENDENCIES" | "EXCHANGED" | "CANCELLED" | "COMPLETED";
|
|
981
|
+
settlementType: "SPOT" | "FORWARD" | "LIMIT_ORDER" | "INTERNAL";
|
|
982
|
+
settlementAmount?: number | null | undefined;
|
|
983
|
+
settlementClientId?: string | null | undefined;
|
|
984
|
+
settlementRate?: number | null | undefined;
|
|
985
|
+
orderAmount?: number | null | undefined;
|
|
986
|
+
};
|
|
987
|
+
} | {
|
|
988
|
+
action: "unpair";
|
|
989
|
+
dependency: {
|
|
990
|
+
id: string;
|
|
991
|
+
orderIdRelatedTo: string;
|
|
992
|
+
settlement: boolean;
|
|
993
|
+
desiredOrderStatus: "DRAFT" | "CREATED" | "FUND_IN_PAID" | "FUND_OUT_PAID" | "WAITING_FOR_FUND_IN" | "WAITING_FOR_FUND_OUT" | "AML_PENDING" | "WAITING_FOR_DEPENDENCIES" | "EXCHANGED" | "CANCELLED" | "COMPLETED";
|
|
994
|
+
settlementType: "SPOT" | "FORWARD" | "LIMIT_ORDER" | "INTERNAL";
|
|
995
|
+
settlementAmount?: number | null | undefined;
|
|
996
|
+
settlementClientId?: string | null | undefined;
|
|
997
|
+
settlementRate?: number | null | undefined;
|
|
998
|
+
orderAmount?: number | null | undefined;
|
|
999
|
+
};
|
|
1000
|
+
} | {
|
|
1001
|
+
action: "add";
|
|
1002
|
+
dependency: {
|
|
1003
|
+
settlementAmount: number;
|
|
1004
|
+
settlementRate: number;
|
|
1005
|
+
settlementClientId: string;
|
|
1006
|
+
orderIdRelatedTo: string;
|
|
1007
|
+
settlement: boolean;
|
|
1008
|
+
desiredOrderStatus: "DRAFT" | "CREATED" | "FUND_IN_PAID" | "FUND_OUT_PAID" | "WAITING_FOR_FUND_IN" | "WAITING_FOR_FUND_OUT" | "AML_PENDING" | "WAITING_FOR_DEPENDENCIES" | "EXCHANGED" | "CANCELLED" | "COMPLETED";
|
|
1009
|
+
settlementType: "SPOT" | "FORWARD" | "LIMIT_ORDER" | "INTERNAL";
|
|
1010
|
+
id?: string | undefined;
|
|
1011
|
+
orderAmount?: number | null | undefined;
|
|
1012
|
+
};
|
|
1013
|
+
};
|
|
1014
|
+
};
|
|
1015
|
+
output: {
|
|
1016
|
+
message: string;
|
|
1017
|
+
orderId: string;
|
|
1018
|
+
mode: "full" | "rate_only";
|
|
1019
|
+
action: "update" | "unpair" | "add";
|
|
1020
|
+
dependencyId: string;
|
|
1021
|
+
linkedOrder: {
|
|
1022
|
+
id: string;
|
|
1023
|
+
status: string;
|
|
1024
|
+
orderNumber: number;
|
|
1025
|
+
} | null;
|
|
1026
|
+
};
|
|
1027
|
+
outputFormat: "json";
|
|
1028
|
+
status: 200;
|
|
1029
|
+
} | {
|
|
1030
|
+
input: {
|
|
1031
|
+
param: {
|
|
1032
|
+
orderId: string;
|
|
1033
|
+
};
|
|
1034
|
+
} & {
|
|
1035
|
+
header: {
|
|
1036
|
+
'X-Idempotency-Key': string;
|
|
1037
|
+
'X-Signature': string;
|
|
1038
|
+
'X-Signature-Key': string;
|
|
1039
|
+
};
|
|
1040
|
+
} & {
|
|
1041
|
+
json: {
|
|
1042
|
+
action: "update";
|
|
1043
|
+
dependency: {
|
|
1044
|
+
id: string;
|
|
1045
|
+
orderIdRelatedTo: string;
|
|
1046
|
+
settlement: boolean;
|
|
1047
|
+
desiredOrderStatus: "DRAFT" | "CREATED" | "FUND_IN_PAID" | "FUND_OUT_PAID" | "WAITING_FOR_FUND_IN" | "WAITING_FOR_FUND_OUT" | "AML_PENDING" | "WAITING_FOR_DEPENDENCIES" | "EXCHANGED" | "CANCELLED" | "COMPLETED";
|
|
1048
|
+
settlementType: "SPOT" | "FORWARD" | "LIMIT_ORDER" | "INTERNAL";
|
|
1049
|
+
settlementAmount?: number | null | undefined;
|
|
1050
|
+
settlementClientId?: string | null | undefined;
|
|
1051
|
+
settlementRate?: number | null | undefined;
|
|
1052
|
+
orderAmount?: number | null | undefined;
|
|
1053
|
+
};
|
|
1054
|
+
} | {
|
|
1055
|
+
action: "unpair";
|
|
1056
|
+
dependency: {
|
|
1057
|
+
id: string;
|
|
1058
|
+
orderIdRelatedTo: string;
|
|
1059
|
+
settlement: boolean;
|
|
1060
|
+
desiredOrderStatus: "DRAFT" | "CREATED" | "FUND_IN_PAID" | "FUND_OUT_PAID" | "WAITING_FOR_FUND_IN" | "WAITING_FOR_FUND_OUT" | "AML_PENDING" | "WAITING_FOR_DEPENDENCIES" | "EXCHANGED" | "CANCELLED" | "COMPLETED";
|
|
1061
|
+
settlementType: "SPOT" | "FORWARD" | "LIMIT_ORDER" | "INTERNAL";
|
|
1062
|
+
settlementAmount?: number | null | undefined;
|
|
1063
|
+
settlementClientId?: string | null | undefined;
|
|
1064
|
+
settlementRate?: number | null | undefined;
|
|
1065
|
+
orderAmount?: number | null | undefined;
|
|
1066
|
+
};
|
|
1067
|
+
} | {
|
|
1068
|
+
action: "add";
|
|
1069
|
+
dependency: {
|
|
1070
|
+
settlementAmount: number;
|
|
1071
|
+
settlementRate: number;
|
|
1072
|
+
settlementClientId: string;
|
|
1073
|
+
orderIdRelatedTo: string;
|
|
1074
|
+
settlement: boolean;
|
|
1075
|
+
desiredOrderStatus: "DRAFT" | "CREATED" | "FUND_IN_PAID" | "FUND_OUT_PAID" | "WAITING_FOR_FUND_IN" | "WAITING_FOR_FUND_OUT" | "AML_PENDING" | "WAITING_FOR_DEPENDENCIES" | "EXCHANGED" | "CANCELLED" | "COMPLETED";
|
|
1076
|
+
settlementType: "SPOT" | "FORWARD" | "LIMIT_ORDER" | "INTERNAL";
|
|
1077
|
+
id?: string | undefined;
|
|
1078
|
+
orderAmount?: number | null | undefined;
|
|
1079
|
+
};
|
|
1080
|
+
};
|
|
1081
|
+
};
|
|
1082
|
+
output: {
|
|
1083
|
+
message: string;
|
|
1084
|
+
};
|
|
1085
|
+
outputFormat: "json";
|
|
1086
|
+
status: 404;
|
|
1087
|
+
} | {
|
|
1088
|
+
input: {
|
|
1089
|
+
param: {
|
|
1090
|
+
orderId: string;
|
|
1091
|
+
};
|
|
1092
|
+
} & {
|
|
1093
|
+
header: {
|
|
1094
|
+
'X-Idempotency-Key': string;
|
|
1095
|
+
'X-Signature': string;
|
|
1096
|
+
'X-Signature-Key': string;
|
|
1097
|
+
};
|
|
1098
|
+
} & {
|
|
1099
|
+
json: {
|
|
1100
|
+
action: "update";
|
|
1101
|
+
dependency: {
|
|
1102
|
+
id: string;
|
|
1103
|
+
orderIdRelatedTo: string;
|
|
1104
|
+
settlement: boolean;
|
|
1105
|
+
desiredOrderStatus: "DRAFT" | "CREATED" | "FUND_IN_PAID" | "FUND_OUT_PAID" | "WAITING_FOR_FUND_IN" | "WAITING_FOR_FUND_OUT" | "AML_PENDING" | "WAITING_FOR_DEPENDENCIES" | "EXCHANGED" | "CANCELLED" | "COMPLETED";
|
|
1106
|
+
settlementType: "SPOT" | "FORWARD" | "LIMIT_ORDER" | "INTERNAL";
|
|
1107
|
+
settlementAmount?: number | null | undefined;
|
|
1108
|
+
settlementClientId?: string | null | undefined;
|
|
1109
|
+
settlementRate?: number | null | undefined;
|
|
1110
|
+
orderAmount?: number | null | undefined;
|
|
1111
|
+
};
|
|
1112
|
+
} | {
|
|
1113
|
+
action: "unpair";
|
|
1114
|
+
dependency: {
|
|
1115
|
+
id: string;
|
|
1116
|
+
orderIdRelatedTo: string;
|
|
1117
|
+
settlement: boolean;
|
|
1118
|
+
desiredOrderStatus: "DRAFT" | "CREATED" | "FUND_IN_PAID" | "FUND_OUT_PAID" | "WAITING_FOR_FUND_IN" | "WAITING_FOR_FUND_OUT" | "AML_PENDING" | "WAITING_FOR_DEPENDENCIES" | "EXCHANGED" | "CANCELLED" | "COMPLETED";
|
|
1119
|
+
settlementType: "SPOT" | "FORWARD" | "LIMIT_ORDER" | "INTERNAL";
|
|
1120
|
+
settlementAmount?: number | null | undefined;
|
|
1121
|
+
settlementClientId?: string | null | undefined;
|
|
1122
|
+
settlementRate?: number | null | undefined;
|
|
1123
|
+
orderAmount?: number | null | undefined;
|
|
1124
|
+
};
|
|
1125
|
+
} | {
|
|
1126
|
+
action: "add";
|
|
1127
|
+
dependency: {
|
|
1128
|
+
settlementAmount: number;
|
|
1129
|
+
settlementRate: number;
|
|
1130
|
+
settlementClientId: string;
|
|
1131
|
+
orderIdRelatedTo: string;
|
|
1132
|
+
settlement: boolean;
|
|
1133
|
+
desiredOrderStatus: "DRAFT" | "CREATED" | "FUND_IN_PAID" | "FUND_OUT_PAID" | "WAITING_FOR_FUND_IN" | "WAITING_FOR_FUND_OUT" | "AML_PENDING" | "WAITING_FOR_DEPENDENCIES" | "EXCHANGED" | "CANCELLED" | "COMPLETED";
|
|
1134
|
+
settlementType: "SPOT" | "FORWARD" | "LIMIT_ORDER" | "INTERNAL";
|
|
1135
|
+
id?: string | undefined;
|
|
1136
|
+
orderAmount?: number | null | undefined;
|
|
1137
|
+
};
|
|
1138
|
+
};
|
|
1139
|
+
};
|
|
1140
|
+
output: {
|
|
1141
|
+
message: string;
|
|
1142
|
+
};
|
|
1143
|
+
outputFormat: "json";
|
|
1144
|
+
status: 422;
|
|
1145
|
+
} | {
|
|
1146
|
+
input: {
|
|
1147
|
+
param: {
|
|
1148
|
+
orderId: string;
|
|
1149
|
+
};
|
|
1150
|
+
} & {
|
|
1151
|
+
header: {
|
|
1152
|
+
'X-Idempotency-Key': string;
|
|
1153
|
+
'X-Signature': string;
|
|
1154
|
+
'X-Signature-Key': string;
|
|
1155
|
+
};
|
|
1156
|
+
} & {
|
|
1157
|
+
json: {
|
|
1158
|
+
action: "update";
|
|
1159
|
+
dependency: {
|
|
1160
|
+
id: string;
|
|
1161
|
+
orderIdRelatedTo: string;
|
|
1162
|
+
settlement: boolean;
|
|
1163
|
+
desiredOrderStatus: "DRAFT" | "CREATED" | "FUND_IN_PAID" | "FUND_OUT_PAID" | "WAITING_FOR_FUND_IN" | "WAITING_FOR_FUND_OUT" | "AML_PENDING" | "WAITING_FOR_DEPENDENCIES" | "EXCHANGED" | "CANCELLED" | "COMPLETED";
|
|
1164
|
+
settlementType: "SPOT" | "FORWARD" | "LIMIT_ORDER" | "INTERNAL";
|
|
1165
|
+
settlementAmount?: number | null | undefined;
|
|
1166
|
+
settlementClientId?: string | null | undefined;
|
|
1167
|
+
settlementRate?: number | null | undefined;
|
|
1168
|
+
orderAmount?: number | null | undefined;
|
|
1169
|
+
};
|
|
1170
|
+
} | {
|
|
1171
|
+
action: "unpair";
|
|
1172
|
+
dependency: {
|
|
1173
|
+
id: string;
|
|
1174
|
+
orderIdRelatedTo: string;
|
|
1175
|
+
settlement: boolean;
|
|
1176
|
+
desiredOrderStatus: "DRAFT" | "CREATED" | "FUND_IN_PAID" | "FUND_OUT_PAID" | "WAITING_FOR_FUND_IN" | "WAITING_FOR_FUND_OUT" | "AML_PENDING" | "WAITING_FOR_DEPENDENCIES" | "EXCHANGED" | "CANCELLED" | "COMPLETED";
|
|
1177
|
+
settlementType: "SPOT" | "FORWARD" | "LIMIT_ORDER" | "INTERNAL";
|
|
1178
|
+
settlementAmount?: number | null | undefined;
|
|
1179
|
+
settlementClientId?: string | null | undefined;
|
|
1180
|
+
settlementRate?: number | null | undefined;
|
|
1181
|
+
orderAmount?: number | null | undefined;
|
|
1182
|
+
};
|
|
1183
|
+
} | {
|
|
1184
|
+
action: "add";
|
|
1185
|
+
dependency: {
|
|
1186
|
+
settlementAmount: number;
|
|
1187
|
+
settlementRate: number;
|
|
1188
|
+
settlementClientId: string;
|
|
1189
|
+
orderIdRelatedTo: string;
|
|
1190
|
+
settlement: boolean;
|
|
1191
|
+
desiredOrderStatus: "DRAFT" | "CREATED" | "FUND_IN_PAID" | "FUND_OUT_PAID" | "WAITING_FOR_FUND_IN" | "WAITING_FOR_FUND_OUT" | "AML_PENDING" | "WAITING_FOR_DEPENDENCIES" | "EXCHANGED" | "CANCELLED" | "COMPLETED";
|
|
1192
|
+
settlementType: "SPOT" | "FORWARD" | "LIMIT_ORDER" | "INTERNAL";
|
|
1193
|
+
id?: string | undefined;
|
|
1194
|
+
orderAmount?: number | null | undefined;
|
|
1195
|
+
};
|
|
1196
|
+
};
|
|
1197
|
+
};
|
|
1198
|
+
output: {
|
|
1199
|
+
message: string;
|
|
1200
|
+
};
|
|
1201
|
+
outputFormat: "json";
|
|
1202
|
+
status: 500;
|
|
1203
|
+
};
|
|
1204
|
+
};
|
|
1205
|
+
}, "/v1/orders/:orderId/settlements"> & hono_types.MergeSchemaPath<{
|
|
961
1206
|
"/": {
|
|
962
1207
|
$patch: {
|
|
963
1208
|
input: {
|
|
@@ -22272,7 +22517,7 @@ declare const querySchema$d: z$1.ZodObject<{
|
|
|
22272
22517
|
refreshRateInSeconds: z$1.ZodDefault<z$1.ZodCoercedNumber<unknown>>;
|
|
22273
22518
|
amount: z$1.ZodOptional<z$1.ZodCoercedNumber<unknown>>;
|
|
22274
22519
|
}, z$1.core.$strip>;
|
|
22275
|
-
declare const responseBodySchema$
|
|
22520
|
+
declare const responseBodySchema$1k: z$1.ZodObject<{
|
|
22276
22521
|
message: z$1.ZodString;
|
|
22277
22522
|
price: z$1.ZodObject<{
|
|
22278
22523
|
provider: z$1.ZodString;
|
|
@@ -22294,10 +22539,10 @@ declare const responseBodySchema$1j: z$1.ZodObject<{
|
|
|
22294
22539
|
}, z$1.core.$strip>;
|
|
22295
22540
|
interface GetCurrenciesPriceQuery extends z$1.input<typeof querySchema$d> {
|
|
22296
22541
|
}
|
|
22297
|
-
interface GetCurrenciesPriceResponseBody extends z$1.infer<typeof responseBodySchema$
|
|
22542
|
+
interface GetCurrenciesPriceResponseBody extends z$1.infer<typeof responseBodySchema$1k> {
|
|
22298
22543
|
}
|
|
22299
22544
|
|
|
22300
|
-
declare const requestBodySchema$
|
|
22545
|
+
declare const requestBodySchema$B: z.ZodObject<{
|
|
22301
22546
|
forward: z.ZodObject<{
|
|
22302
22547
|
organizationId: z.ZodUUID;
|
|
22303
22548
|
clientId: z.ZodUUID;
|
|
@@ -24193,7 +24438,7 @@ declare const requestBodySchema$A: z.ZodObject<{
|
|
|
24193
24438
|
archived: z.ZodBoolean;
|
|
24194
24439
|
}, z.core.$strip>;
|
|
24195
24440
|
}, z.core.$strip>;
|
|
24196
|
-
declare const responseBodySchema$
|
|
24441
|
+
declare const responseBodySchema$1j: z.ZodObject<{
|
|
24197
24442
|
message: z.ZodString;
|
|
24198
24443
|
forward: z.ZodObject<{
|
|
24199
24444
|
id: z.ZodUUID;
|
|
@@ -26159,8 +26404,8 @@ declare const responseBodySchema$1i: z.ZodObject<{
|
|
|
26159
26404
|
}, z.core.$strip>>;
|
|
26160
26405
|
}, z.core.$strip>;
|
|
26161
26406
|
}, z.core.$strip>;
|
|
26162
|
-
type CreateForwardRequestBody = z.infer<typeof requestBodySchema$
|
|
26163
|
-
type CreateForwardResponseBody = z.infer<typeof responseBodySchema$
|
|
26407
|
+
type CreateForwardRequestBody = z.infer<typeof requestBodySchema$B>;
|
|
26408
|
+
type CreateForwardResponseBody = z.infer<typeof responseBodySchema$1j>;
|
|
26164
26409
|
|
|
26165
26410
|
declare const getForwardsQuerySchema: z.ZodObject<{
|
|
26166
26411
|
page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
@@ -28343,16 +28588,16 @@ declare const getForwardsResponseSchema: z$1.ZodObject<{
|
|
|
28343
28588
|
type GetForwardsQuery = z$1.infer<typeof getForwardsQuerySchema>;
|
|
28344
28589
|
type GetForwardsResponseBody = z$1.infer<typeof getForwardsResponseSchema>;
|
|
28345
28590
|
|
|
28346
|
-
declare const responseBodySchema$
|
|
28591
|
+
declare const responseBodySchema$1i: z$1.ZodObject<{
|
|
28347
28592
|
message: z$1.ZodString;
|
|
28348
28593
|
forwardNumber: z$1.ZodNumber;
|
|
28349
28594
|
}, z$1.core.$strip>;
|
|
28350
|
-
type GetForwardNumberResponseBody = z$1.infer<typeof responseBodySchema$
|
|
28595
|
+
type GetForwardNumberResponseBody = z$1.infer<typeof responseBodySchema$1i>;
|
|
28351
28596
|
|
|
28352
|
-
declare const paramsSchema$
|
|
28597
|
+
declare const paramsSchema$13: z$1.ZodObject<{
|
|
28353
28598
|
forwardId: z$1.ZodUUID;
|
|
28354
28599
|
}, z$1.core.$strip>;
|
|
28355
|
-
declare const responseBodySchema$
|
|
28600
|
+
declare const responseBodySchema$1h: z$1.ZodObject<{
|
|
28356
28601
|
message: z$1.ZodString;
|
|
28357
28602
|
forward: z$1.ZodObject<{
|
|
28358
28603
|
id: z$1.ZodUUID;
|
|
@@ -30318,10 +30563,10 @@ declare const responseBodySchema$1g: z$1.ZodObject<{
|
|
|
30318
30563
|
}, z$1.core.$strip>>;
|
|
30319
30564
|
}, z$1.core.$strip>;
|
|
30320
30565
|
}, z$1.core.$strip>;
|
|
30321
|
-
type GetForwardParams = z$1.infer<typeof paramsSchema$
|
|
30322
|
-
type GetForwardResponseBody = z$1.infer<typeof responseBodySchema$
|
|
30566
|
+
type GetForwardParams = z$1.infer<typeof paramsSchema$13>;
|
|
30567
|
+
type GetForwardResponseBody = z$1.infer<typeof responseBodySchema$1h>;
|
|
30323
30568
|
|
|
30324
|
-
declare const requestBodySchema$
|
|
30569
|
+
declare const requestBodySchema$A: z.ZodObject<{
|
|
30325
30570
|
forward: z.ZodObject<{
|
|
30326
30571
|
id: z.ZodUUID;
|
|
30327
30572
|
organizationId: z.ZodUUID;
|
|
@@ -32218,7 +32463,7 @@ declare const requestBodySchema$z: z.ZodObject<{
|
|
|
32218
32463
|
archived: z.ZodBoolean;
|
|
32219
32464
|
}, z.core.$strip>;
|
|
32220
32465
|
}, z.core.$strip>;
|
|
32221
|
-
declare const responseBodySchema$
|
|
32466
|
+
declare const responseBodySchema$1g: z.ZodObject<{
|
|
32222
32467
|
message: z.ZodString;
|
|
32223
32468
|
forward: z.ZodObject<{
|
|
32224
32469
|
id: z.ZodUUID;
|
|
@@ -34184,19 +34429,19 @@ declare const responseBodySchema$1f: z.ZodObject<{
|
|
|
34184
34429
|
}, z.core.$strip>>;
|
|
34185
34430
|
}, z.core.$strip>;
|
|
34186
34431
|
}, z.core.$strip>;
|
|
34187
|
-
type UpdateForwardRequestBody = z.infer<typeof requestBodySchema$
|
|
34188
|
-
type UpdateForwardResponseBody = z.infer<typeof responseBodySchema$
|
|
34432
|
+
type UpdateForwardRequestBody = z.infer<typeof requestBodySchema$A>;
|
|
34433
|
+
type UpdateForwardResponseBody = z.infer<typeof responseBodySchema$1g>;
|
|
34189
34434
|
|
|
34190
|
-
declare const paramsSchema$
|
|
34435
|
+
declare const paramsSchema$12: z$1.ZodObject<{
|
|
34191
34436
|
forwardId: z$1.ZodUUID;
|
|
34192
34437
|
}, z$1.core.$strip>;
|
|
34193
|
-
declare const responseBodySchema$
|
|
34438
|
+
declare const responseBodySchema$1f: z$1.ZodObject<{
|
|
34194
34439
|
message: z$1.ZodString;
|
|
34195
34440
|
}, z$1.core.$strip>;
|
|
34196
|
-
type DeleteForwardParams = z$1.infer<typeof paramsSchema$
|
|
34197
|
-
type DeleteForwardResponseBody = z$1.infer<typeof responseBodySchema$
|
|
34441
|
+
type DeleteForwardParams = z$1.infer<typeof paramsSchema$12>;
|
|
34442
|
+
type DeleteForwardResponseBody = z$1.infer<typeof responseBodySchema$1f>;
|
|
34198
34443
|
|
|
34199
|
-
declare const paramsSchema$
|
|
34444
|
+
declare const paramsSchema$11: z$1.ZodObject<{
|
|
34200
34445
|
forwardId: z$1.ZodUUID;
|
|
34201
34446
|
}, z$1.core.$strip>;
|
|
34202
34447
|
declare const querySchema$c: z$1.ZodObject<{
|
|
@@ -34205,13 +34450,13 @@ declare const querySchema$c: z$1.ZodObject<{
|
|
|
34205
34450
|
cs: "cs";
|
|
34206
34451
|
}>>>;
|
|
34207
34452
|
}, z$1.core.$strip>;
|
|
34208
|
-
type GetCollateralConfirmationPDFParams = z$1.infer<typeof paramsSchema$
|
|
34453
|
+
type GetCollateralConfirmationPDFParams = z$1.infer<typeof paramsSchema$11>;
|
|
34209
34454
|
type GetCollateralConfirmationPDFQuery = z$1.infer<typeof querySchema$c>;
|
|
34210
34455
|
|
|
34211
|
-
declare const paramsSchema
|
|
34456
|
+
declare const paramsSchema$10: z$1.ZodObject<{
|
|
34212
34457
|
forwardId: z$1.ZodUUID;
|
|
34213
34458
|
}, z$1.core.$strip>;
|
|
34214
|
-
declare const requestBodySchema$
|
|
34459
|
+
declare const requestBodySchema$z: z$1.ZodObject<{
|
|
34215
34460
|
emails: z$1.ZodArray<z$1.ZodEmail>;
|
|
34216
34461
|
subject: z$1.ZodString;
|
|
34217
34462
|
message: z$1.ZodString;
|
|
@@ -34220,12 +34465,12 @@ declare const requestBodySchema$y: z$1.ZodObject<{
|
|
|
34220
34465
|
cs: "cs";
|
|
34221
34466
|
}>>>;
|
|
34222
34467
|
}, z$1.core.$strip>;
|
|
34223
|
-
declare const responseBodySchema$
|
|
34468
|
+
declare const responseBodySchema$1e: z$1.ZodObject<{
|
|
34224
34469
|
message: z$1.ZodString;
|
|
34225
34470
|
}, z$1.core.$strip>;
|
|
34226
|
-
type SendCollateralConfirmationParams = z$1.infer<typeof paramsSchema
|
|
34227
|
-
type SendCollateralConfirmationRequestBody = z$1.infer<typeof requestBodySchema$
|
|
34228
|
-
type SendCollateralConfirmationResponseBody = z$1.infer<typeof responseBodySchema$
|
|
34471
|
+
type SendCollateralConfirmationParams = z$1.infer<typeof paramsSchema$10>;
|
|
34472
|
+
type SendCollateralConfirmationRequestBody = z$1.infer<typeof requestBodySchema$z>;
|
|
34473
|
+
type SendCollateralConfirmationResponseBody = z$1.infer<typeof responseBodySchema$1e>;
|
|
34229
34474
|
|
|
34230
34475
|
declare const transactionsResponseSchema: z$1.ZodObject<{
|
|
34231
34476
|
message: z$1.ZodString;
|
|
@@ -35527,16 +35772,16 @@ declare const transactionsResponseSchema: z$1.ZodObject<{
|
|
|
35527
35772
|
}, z$1.core.$strip>;
|
|
35528
35773
|
type TransactionsResponse = z$1.infer<typeof transactionsResponseSchema>;
|
|
35529
35774
|
|
|
35530
|
-
declare const paramsSchema
|
|
35775
|
+
declare const paramsSchema$$: z$1.ZodObject<{
|
|
35531
35776
|
forwardId: z$1.ZodUUID;
|
|
35532
35777
|
}, z$1.core.$strip>;
|
|
35533
|
-
type GetForwardTransactionsParams = z$1.infer<typeof paramsSchema
|
|
35778
|
+
type GetForwardTransactionsParams = z$1.infer<typeof paramsSchema$$>;
|
|
35534
35779
|
type GetForwardTransactionsResponseBody = TransactionsResponse;
|
|
35535
35780
|
|
|
35536
|
-
declare const paramsSchema$
|
|
35781
|
+
declare const paramsSchema$_: z$1.ZodObject<{
|
|
35537
35782
|
forwardId: z$1.ZodUUID;
|
|
35538
35783
|
}, z$1.core.$strip>;
|
|
35539
|
-
declare const responseBodySchema$
|
|
35784
|
+
declare const responseBodySchema$1d: z$1.ZodObject<{
|
|
35540
35785
|
message: z$1.ZodString;
|
|
35541
35786
|
order: z$1.ZodObject<{
|
|
35542
35787
|
tags: z$1.ZodArray<z$1.ZodString>;
|
|
@@ -39060,10 +39305,10 @@ declare const responseBodySchema$1c: z$1.ZodObject<{
|
|
|
39060
39305
|
}, z$1.core.$strip>>>;
|
|
39061
39306
|
}, z$1.core.$strip>;
|
|
39062
39307
|
}, z$1.core.$strip>;
|
|
39063
|
-
type GetPrefilledOrderParams = z$1.infer<typeof paramsSchema$
|
|
39064
|
-
type GetPrefilledOrderResponseBody = z$1.infer<typeof responseBodySchema$
|
|
39308
|
+
type GetPrefilledOrderParams = z$1.infer<typeof paramsSchema$_>;
|
|
39309
|
+
type GetPrefilledOrderResponseBody = z$1.infer<typeof responseBodySchema$1d>;
|
|
39065
39310
|
|
|
39066
|
-
declare const paramsSchema$
|
|
39311
|
+
declare const paramsSchema$Z: z$1.ZodObject<{
|
|
39067
39312
|
currency: z$1.ZodEnum<{
|
|
39068
39313
|
CZK: "CZK";
|
|
39069
39314
|
EUR: "EUR";
|
|
@@ -39177,7 +39422,7 @@ declare const querySchema$b: z$1.ZodObject<{
|
|
|
39177
39422
|
AVAX: "AVAX";
|
|
39178
39423
|
}>;
|
|
39179
39424
|
}, z$1.core.$strip>;
|
|
39180
|
-
declare const responseBodySchema$
|
|
39425
|
+
declare const responseBodySchema$1c: z$1.ZodObject<{
|
|
39181
39426
|
message: z$1.ZodString;
|
|
39182
39427
|
rates: z$1.ZodObject<{
|
|
39183
39428
|
currency: z$1.ZodString;
|
|
@@ -39199,14 +39444,14 @@ declare const responseBodySchema$1b: z$1.ZodObject<{
|
|
|
39199
39444
|
}, z$1.core.$strip>>;
|
|
39200
39445
|
}, z$1.core.$strip>;
|
|
39201
39446
|
}, z$1.core.$strip>;
|
|
39202
|
-
interface GetRatesParams extends z$1.infer<typeof paramsSchema$
|
|
39447
|
+
interface GetRatesParams extends z$1.infer<typeof paramsSchema$Z> {
|
|
39203
39448
|
}
|
|
39204
39449
|
interface GetRatesQuery extends z$1.infer<typeof querySchema$b> {
|
|
39205
39450
|
}
|
|
39206
|
-
interface GetRatesResponseBody extends z$1.infer<typeof responseBodySchema$
|
|
39451
|
+
interface GetRatesResponseBody extends z$1.infer<typeof responseBodySchema$1c> {
|
|
39207
39452
|
}
|
|
39208
39453
|
|
|
39209
|
-
declare const requestBodySchema$
|
|
39454
|
+
declare const requestBodySchema$y: z$1.ZodObject<{
|
|
39210
39455
|
order: z$1.ZodObject<{
|
|
39211
39456
|
id: z$1.ZodUUID;
|
|
39212
39457
|
organizationId: z$1.ZodUUID;
|
|
@@ -41837,7 +42082,7 @@ declare const requestBodySchema$x: z$1.ZodObject<{
|
|
|
41837
42082
|
}, z$1.core.$strip>>;
|
|
41838
42083
|
}, z$1.core.$strip>;
|
|
41839
42084
|
}, z$1.core.$strip>;
|
|
41840
|
-
declare const responseBodySchema$
|
|
42085
|
+
declare const responseBodySchema$1b: z$1.ZodObject<{
|
|
41841
42086
|
message: z$1.ZodString;
|
|
41842
42087
|
order: z$1.ZodUnion<readonly [z$1.ZodObject<{
|
|
41843
42088
|
tags: z$1.ZodArray<z$1.ZodString>;
|
|
@@ -48306,9 +48551,9 @@ declare const responseBodySchema$1a: z$1.ZodObject<{
|
|
|
48306
48551
|
}, z$1.core.$strip>>;
|
|
48307
48552
|
}, z$1.core.$strip>]>;
|
|
48308
48553
|
}, z$1.core.$strip>;
|
|
48309
|
-
interface SubmitDraftRequestBody extends z$1.infer<typeof requestBodySchema$
|
|
48554
|
+
interface SubmitDraftRequestBody extends z$1.infer<typeof requestBodySchema$y> {
|
|
48310
48555
|
}
|
|
48311
|
-
interface SubmitDraftResponseBody extends z$1.infer<typeof responseBodySchema$
|
|
48556
|
+
interface SubmitDraftResponseBody extends z$1.infer<typeof responseBodySchema$1b> {
|
|
48312
48557
|
}
|
|
48313
48558
|
|
|
48314
48559
|
declare const getOrdersQuerySchema: z.ZodObject<{
|
|
@@ -55024,14 +55269,14 @@ interface GetOrganizationOrdersQuery extends z$1.infer<typeof getOrdersQuerySche
|
|
|
55024
55269
|
interface GetOrganizationOrdersResponseBody extends z$1.infer<typeof getOrdersResponseSchema> {
|
|
55025
55270
|
}
|
|
55026
55271
|
|
|
55027
|
-
declare const paramsSchema$
|
|
55272
|
+
declare const paramsSchema$Y: z$1.ZodObject<{
|
|
55028
55273
|
orderId: z$1.ZodUUID;
|
|
55029
55274
|
type: z$1.ZodOptional<z$1.ZodEnum<{
|
|
55030
55275
|
order: "order";
|
|
55031
55276
|
draft: "draft";
|
|
55032
55277
|
}>>;
|
|
55033
55278
|
}, z$1.core.$strip>;
|
|
55034
|
-
declare const responseBodySchema$
|
|
55279
|
+
declare const responseBodySchema$1a: z$1.ZodObject<{
|
|
55035
55280
|
message: z$1.ZodString;
|
|
55036
55281
|
order: z$1.ZodUnion<readonly [z$1.ZodObject<{
|
|
55037
55282
|
tags: z$1.ZodArray<z$1.ZodString>;
|
|
@@ -61500,21 +61745,21 @@ declare const responseBodySchema$19: z$1.ZodObject<{
|
|
|
61500
61745
|
}, z$1.core.$strip>>;
|
|
61501
61746
|
}, z$1.core.$strip>]>;
|
|
61502
61747
|
}, z$1.core.$strip>;
|
|
61503
|
-
interface GetOrderParams extends z$1.infer<typeof paramsSchema$
|
|
61748
|
+
interface GetOrderParams extends z$1.infer<typeof paramsSchema$Y> {
|
|
61504
61749
|
}
|
|
61505
|
-
interface GetOrderResponseBody extends z$1.infer<typeof responseBodySchema$
|
|
61750
|
+
interface GetOrderResponseBody extends z$1.infer<typeof responseBodySchema$1a> {
|
|
61506
61751
|
}
|
|
61507
61752
|
|
|
61508
|
-
declare const paramsSchema$
|
|
61753
|
+
declare const paramsSchema$X: z$1.ZodObject<{
|
|
61509
61754
|
orderId: z$1.ZodUUID;
|
|
61510
61755
|
}, z$1.core.$strip>;
|
|
61511
|
-
type GetOrderTransactionsParams = z$1.infer<typeof paramsSchema$
|
|
61756
|
+
type GetOrderTransactionsParams = z$1.infer<typeof paramsSchema$X>;
|
|
61512
61757
|
type GetOrderTransactionsResponseBody = TransactionsResponse;
|
|
61513
61758
|
|
|
61514
|
-
declare const paramsSchema$
|
|
61759
|
+
declare const paramsSchema$W: z$1.ZodObject<{
|
|
61515
61760
|
orderId: z$1.ZodUUID;
|
|
61516
61761
|
}, z$1.core.$strip>;
|
|
61517
|
-
declare const requestBodySchema$
|
|
61762
|
+
declare const requestBodySchema$x: z$1.ZodObject<{
|
|
61518
61763
|
order: z$1.ZodObject<{
|
|
61519
61764
|
id: z$1.ZodUUID;
|
|
61520
61765
|
organizationId: z$1.ZodUUID;
|
|
@@ -66782,7 +67027,7 @@ declare const requestBodySchema$w: z$1.ZodObject<{
|
|
|
66782
67027
|
}, z$1.core.$strip>>;
|
|
66783
67028
|
}, z$1.core.$strip>;
|
|
66784
67029
|
}, z$1.core.$strip>;
|
|
66785
|
-
declare const responseBodySchema$
|
|
67030
|
+
declare const responseBodySchema$19: z$1.ZodObject<{
|
|
66786
67031
|
message: z$1.ZodString;
|
|
66787
67032
|
order: z$1.ZodUnion<readonly [z$1.ZodObject<{
|
|
66788
67033
|
tags: z$1.ZodArray<z$1.ZodString>;
|
|
@@ -73125,32 +73370,151 @@ declare const responseBodySchema$18: z$1.ZodObject<{
|
|
|
73125
73370
|
}, z$1.core.$strip>>;
|
|
73126
73371
|
}, z$1.core.$strip>]>;
|
|
73127
73372
|
}, z$1.core.$strip>;
|
|
73128
|
-
interface UpdateOrderParams extends z$1.infer<typeof paramsSchema$
|
|
73373
|
+
interface UpdateOrderParams extends z$1.infer<typeof paramsSchema$W> {
|
|
73129
73374
|
}
|
|
73130
|
-
interface UpdateOrderRequestBody extends z$1.infer<typeof requestBodySchema$
|
|
73375
|
+
interface UpdateOrderRequestBody extends z$1.infer<typeof requestBodySchema$x> {
|
|
73131
73376
|
}
|
|
73132
|
-
interface UpdateOrderResponseBody extends z$1.infer<typeof responseBodySchema$
|
|
73377
|
+
interface UpdateOrderResponseBody extends z$1.infer<typeof responseBodySchema$19> {
|
|
73133
73378
|
}
|
|
73134
73379
|
|
|
73135
|
-
declare const paramsSchema$
|
|
73380
|
+
declare const paramsSchema$V: z$1.ZodObject<{
|
|
73136
73381
|
orderId: z$1.ZodUUID;
|
|
73137
73382
|
}, z$1.core.$strip>;
|
|
73138
|
-
declare const requestBodySchema$
|
|
73383
|
+
declare const requestBodySchema$w: z$1.ZodObject<{
|
|
73139
73384
|
settlementRate: z$1.ZodPipe<z$1.ZodNumber, z$1.ZodTransform<number, number>>;
|
|
73140
73385
|
weightedRate: z$1.ZodPipe<z$1.ZodNumber, z$1.ZodTransform<number, number>>;
|
|
73141
73386
|
profitAmountCZK: z$1.ZodPipe<z$1.ZodNumber, z$1.ZodTransform<number, number>>;
|
|
73142
73387
|
marginRateCZK: z$1.ZodPipe<z$1.ZodNumber, z$1.ZodTransform<number, number>>;
|
|
73143
73388
|
}, z$1.core.$strip>;
|
|
73144
|
-
declare const responseBodySchema$
|
|
73389
|
+
declare const responseBodySchema$18: z$1.ZodObject<{
|
|
73145
73390
|
message: z$1.ZodString;
|
|
73146
73391
|
orderId: z$1.ZodUUID;
|
|
73147
73392
|
pairedOrderId: z$1.ZodNullable<z$1.ZodUUID>;
|
|
73148
73393
|
}, z$1.core.$strip>;
|
|
73149
|
-
interface UpdateInternalSettlementRateParams extends z$1.infer<typeof paramsSchema$
|
|
73394
|
+
interface UpdateInternalSettlementRateParams extends z$1.infer<typeof paramsSchema$V> {
|
|
73395
|
+
}
|
|
73396
|
+
interface UpdateInternalSettlementRateRequestBody extends z$1.infer<typeof requestBodySchema$w> {
|
|
73150
73397
|
}
|
|
73151
|
-
interface
|
|
73398
|
+
interface UpdateInternalSettlementRateResponseBody extends z$1.infer<typeof responseBodySchema$18> {
|
|
73399
|
+
}
|
|
73400
|
+
|
|
73401
|
+
declare const paramsSchema$U: z$1.ZodObject<{
|
|
73402
|
+
orderId: z$1.ZodUUID;
|
|
73403
|
+
}, z$1.core.$strip>;
|
|
73404
|
+
declare const requestBodySchema$v: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
73405
|
+
action: z$1.ZodLiteral<"update">;
|
|
73406
|
+
dependency: z$1.ZodObject<{
|
|
73407
|
+
id: z$1.ZodUUID;
|
|
73408
|
+
settlementAmount: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodPipe<z$1.ZodNumber, z$1.ZodTransform<number, number>>>>;
|
|
73409
|
+
settlementClientId: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodUUID>>;
|
|
73410
|
+
settlementRate: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodPipe<z$1.ZodNumber, z$1.ZodTransform<number, number>>>>;
|
|
73411
|
+
orderIdRelatedTo: z$1.ZodUUID;
|
|
73412
|
+
settlement: z$1.ZodBoolean;
|
|
73413
|
+
desiredOrderStatus: z$1.ZodEnum<{
|
|
73414
|
+
DRAFT: "DRAFT";
|
|
73415
|
+
CREATED: "CREATED";
|
|
73416
|
+
FUND_IN_PAID: "FUND_IN_PAID";
|
|
73417
|
+
FUND_OUT_PAID: "FUND_OUT_PAID";
|
|
73418
|
+
WAITING_FOR_FUND_IN: "WAITING_FOR_FUND_IN";
|
|
73419
|
+
WAITING_FOR_FUND_OUT: "WAITING_FOR_FUND_OUT";
|
|
73420
|
+
AML_PENDING: "AML_PENDING";
|
|
73421
|
+
WAITING_FOR_DEPENDENCIES: "WAITING_FOR_DEPENDENCIES";
|
|
73422
|
+
EXCHANGED: "EXCHANGED";
|
|
73423
|
+
CANCELLED: "CANCELLED";
|
|
73424
|
+
COMPLETED: "COMPLETED";
|
|
73425
|
+
}>;
|
|
73426
|
+
settlementType: z$1.ZodEnum<{
|
|
73427
|
+
SPOT: "SPOT";
|
|
73428
|
+
FORWARD: "FORWARD";
|
|
73429
|
+
LIMIT_ORDER: "LIMIT_ORDER";
|
|
73430
|
+
INTERNAL: "INTERNAL";
|
|
73431
|
+
}>;
|
|
73432
|
+
orderAmount: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodPipe<z$1.ZodNumber, z$1.ZodTransform<number, number>>>>;
|
|
73433
|
+
}, z$1.core.$strip>;
|
|
73434
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
73435
|
+
action: z$1.ZodLiteral<"unpair">;
|
|
73436
|
+
dependency: z$1.ZodObject<{
|
|
73437
|
+
id: z$1.ZodUUID;
|
|
73438
|
+
settlementAmount: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodPipe<z$1.ZodNumber, z$1.ZodTransform<number, number>>>>;
|
|
73439
|
+
settlementClientId: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodUUID>>;
|
|
73440
|
+
settlementRate: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodPipe<z$1.ZodNumber, z$1.ZodTransform<number, number>>>>;
|
|
73441
|
+
orderIdRelatedTo: z$1.ZodUUID;
|
|
73442
|
+
settlement: z$1.ZodBoolean;
|
|
73443
|
+
desiredOrderStatus: z$1.ZodEnum<{
|
|
73444
|
+
DRAFT: "DRAFT";
|
|
73445
|
+
CREATED: "CREATED";
|
|
73446
|
+
FUND_IN_PAID: "FUND_IN_PAID";
|
|
73447
|
+
FUND_OUT_PAID: "FUND_OUT_PAID";
|
|
73448
|
+
WAITING_FOR_FUND_IN: "WAITING_FOR_FUND_IN";
|
|
73449
|
+
WAITING_FOR_FUND_OUT: "WAITING_FOR_FUND_OUT";
|
|
73450
|
+
AML_PENDING: "AML_PENDING";
|
|
73451
|
+
WAITING_FOR_DEPENDENCIES: "WAITING_FOR_DEPENDENCIES";
|
|
73452
|
+
EXCHANGED: "EXCHANGED";
|
|
73453
|
+
CANCELLED: "CANCELLED";
|
|
73454
|
+
COMPLETED: "COMPLETED";
|
|
73455
|
+
}>;
|
|
73456
|
+
settlementType: z$1.ZodEnum<{
|
|
73457
|
+
SPOT: "SPOT";
|
|
73458
|
+
FORWARD: "FORWARD";
|
|
73459
|
+
LIMIT_ORDER: "LIMIT_ORDER";
|
|
73460
|
+
INTERNAL: "INTERNAL";
|
|
73461
|
+
}>;
|
|
73462
|
+
orderAmount: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodPipe<z$1.ZodNumber, z$1.ZodTransform<number, number>>>>;
|
|
73463
|
+
}, z$1.core.$strip>;
|
|
73464
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
73465
|
+
action: z$1.ZodLiteral<"add">;
|
|
73466
|
+
dependency: z$1.ZodObject<{
|
|
73467
|
+
id: z$1.ZodOptional<z$1.ZodUUID>;
|
|
73468
|
+
settlementAmount: z$1.ZodPipe<z$1.ZodNumber, z$1.ZodTransform<number, number>>;
|
|
73469
|
+
settlementRate: z$1.ZodPipe<z$1.ZodNumber, z$1.ZodTransform<number, number>>;
|
|
73470
|
+
settlementClientId: z$1.ZodUUID;
|
|
73471
|
+
orderIdRelatedTo: z$1.ZodUUID;
|
|
73472
|
+
settlement: z$1.ZodBoolean;
|
|
73473
|
+
desiredOrderStatus: z$1.ZodEnum<{
|
|
73474
|
+
DRAFT: "DRAFT";
|
|
73475
|
+
CREATED: "CREATED";
|
|
73476
|
+
FUND_IN_PAID: "FUND_IN_PAID";
|
|
73477
|
+
FUND_OUT_PAID: "FUND_OUT_PAID";
|
|
73478
|
+
WAITING_FOR_FUND_IN: "WAITING_FOR_FUND_IN";
|
|
73479
|
+
WAITING_FOR_FUND_OUT: "WAITING_FOR_FUND_OUT";
|
|
73480
|
+
AML_PENDING: "AML_PENDING";
|
|
73481
|
+
WAITING_FOR_DEPENDENCIES: "WAITING_FOR_DEPENDENCIES";
|
|
73482
|
+
EXCHANGED: "EXCHANGED";
|
|
73483
|
+
CANCELLED: "CANCELLED";
|
|
73484
|
+
COMPLETED: "COMPLETED";
|
|
73485
|
+
}>;
|
|
73486
|
+
settlementType: z$1.ZodEnum<{
|
|
73487
|
+
SPOT: "SPOT";
|
|
73488
|
+
FORWARD: "FORWARD";
|
|
73489
|
+
LIMIT_ORDER: "LIMIT_ORDER";
|
|
73490
|
+
INTERNAL: "INTERNAL";
|
|
73491
|
+
}>;
|
|
73492
|
+
orderAmount: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodPipe<z$1.ZodNumber, z$1.ZodTransform<number, number>>>>;
|
|
73493
|
+
}, z$1.core.$strip>;
|
|
73494
|
+
}, z$1.core.$strip>], "action">;
|
|
73495
|
+
declare const responseBodySchema$17: z$1.ZodObject<{
|
|
73496
|
+
message: z$1.ZodString;
|
|
73497
|
+
orderId: z$1.ZodUUID;
|
|
73498
|
+
mode: z$1.ZodEnum<{
|
|
73499
|
+
full: "full";
|
|
73500
|
+
rate_only: "rate_only";
|
|
73501
|
+
}>;
|
|
73502
|
+
action: z$1.ZodEnum<{
|
|
73503
|
+
update: "update";
|
|
73504
|
+
unpair: "unpair";
|
|
73505
|
+
add: "add";
|
|
73506
|
+
}>;
|
|
73507
|
+
dependencyId: z$1.ZodUUID;
|
|
73508
|
+
linkedOrder: z$1.ZodNullable<z$1.ZodObject<{
|
|
73509
|
+
id: z$1.ZodUUID;
|
|
73510
|
+
status: z$1.ZodString;
|
|
73511
|
+
orderNumber: z$1.ZodNumber;
|
|
73512
|
+
}, z$1.core.$strip>>;
|
|
73513
|
+
}, z$1.core.$strip>;
|
|
73514
|
+
interface UpdateSettlementsParams extends z$1.infer<typeof paramsSchema$U> {
|
|
73152
73515
|
}
|
|
73153
|
-
|
|
73516
|
+
type UpdateSettlementsRequestBody = z$1.infer<typeof requestBodySchema$v>;
|
|
73517
|
+
interface UpdateSettlementsResponseBody extends z$1.infer<typeof responseBodySchema$17> {
|
|
73154
73518
|
}
|
|
73155
73519
|
|
|
73156
73520
|
declare const paramsSchema$T: z$1.ZodObject<{
|
|
@@ -93491,4 +93855,4 @@ declare const verifyPayloadSignature: ({ signature, data, publicKey, algorithm,
|
|
|
93491
93855
|
}) => Promise<boolean>;
|
|
93492
93856
|
|
|
93493
93857
|
export { ALLOWED_ORDER_FILTERS, AML_LIMIT_MONTH, AML_LIMIT_YEAR, AML_RISK_LEVELS, banks as BANKS, BANK_CODES, BATCH_STATUSES, CLIENT_STATUSES, CLIENT_TYPES, countries as COUNTRIES, COUNTRY_CODES, COUNTRY_OPTIONS, CRYPTO_NETWORK_CODES, currencies as CURRENCIES, CURRENCY_CODES, currencyProviders as CURRENCY_PROVIDERS, DRAFT_STATUSES, EU_COUNTRY_CODES, FACTOR_STATUS, FACTOR_TYPE, FILTERABLE_ORDER_STATUSES, FORWARD_DIRECTIONS, FORWARD_STATUSES, FORWARD_TYPES, GENDER_OPTIONS, KYC_STATUSES, languages as LANGUAGES, LANGUAGE_CODES, NON_EU_COUNTRY_OPTIONS, ORDER_DIRECTIONS, ORDER_PAID_STATUSES, ORDER_PAYOUT_STATUSES, ORDER_STATUSES, ORDER_TYPES, ORGANIZATION_STATES, ORGANIZATION_TYPES, PARTY_TYPES, PAYMENT_CHARGE_TYPES, PAYMENT_DIRECTIONS, PAYMENT_STATUSES, PAYMENT_TYPES, PAYOUT_PAYMENT_TYPES, PHONE_CODES, PRICELIST_OTHER_TYPES, REFERENCE_TYPES, SCOPES, TARGET_TYPES, TRADE_PURPOSES, TRANSACTION_STATUSES, TRANSACTION_TYPES, XIdempotencyKeyHeaderSchema, XSignatureHeaderSchema, XSignatureKeyHeaderSchema, createTxsClient, marketRateMetadataSchema, signPayload, structuredAddressSchema, verifyPayloadSignature };
|
|
93494
|
-
export type { AmlLimitMonth, AmlLimitYear, AmlRiskLevel, AssignRoleToUserParams, AssignRoleToUserRequestBody, AssignRoleToUserResponseBody, AssignScopeToUserParams, AssignScopeToUserRequestBody, AssignScopeToUserResponseBody, Bank, BankCode, BatchStatus, CancelOrderParams, CancelOrderResponseBody, ClientStatus, ClientType, Country, CountryCode, CreateAuthTokenPairRequestBody, CreateAuthTokenPairResponse, CreateDraftRequestBody, CreateDraftResponseBody, CreateForwardRequestBody, CreateForwardResponseBody, CreateInternalTransferRequestBody, CreateInternalTransferResponseBody, CreateOrganizationClientBankAccountParams, CreateOrganizationClientBankAccountRequestBody, CreateOrganizationClientBankAccountResponseBody, CreateOrganizationClientDisponentParams, CreateOrganizationClientDisponentRequestBody, CreateOrganizationClientDisponentResponseBody, CreateOrganizationRequestBody, CreateOrganizationResponse, CreateOrganizationUserParams, CreateOrganizationUserRequestBody, CreateOrganizationUserResponseBody, CreateRoleRequestBody, CreateRoleResponseBody, CreateSignatureKeyParams, CreateSignatureKeyResponseBody, CreateTraderRequestBody, CreateTraderResponseBody, CreateUserRequestBody, CreateUserResponseBody, CryptoNetwork, CryptoNetworkCode, Currency, CurrencyCode, CurrencyProvider, DeleteForwardParams, DeleteForwardResponseBody, DeleteOrderParams, DeleteOrderResponseBody, DeleteOrganizationClientBankAccountParams, DeleteOrganizationClientBankAccountResponseBody, DeleteOrganizationClientDisponentParams, DeleteOrganizationClientDisponentResponseBody, DeleteOrganizationClientParams, DeleteOrganizationClientResponseBody, DeleteOrganizationParams, DeleteOrganizationResponseBody, DeleteOrganizationUserParams, DeleteOrganizationUserResponseBody, DeleteRoleParams, DeleteRoleResponseBody, DeleteUserParams, DeleteUserResponseBody, DisableMFAParams, DisableMFAResponse, DisableSyncBankAccountParams, DisableSyncBankAccountResponseBody, DisconnectBankAccountParams, DisconnectBankAccountResponseBody, DraftStatusType, EuCountryCode, FactorStatusType, FactorTypeType, FilterableOrderStatusType, ForwardDirectionType, ForwardStatusType, ForwardTypeType, Gender, GetBankAuthUriQuery, GetBankAuthUriResponseBody, GetBankPaymentsQuery, GetBankPaymentsResponseBody, GetBanksResponse, GetBatchesQuery, GetBatchesResponseBody, GetCollateralConfirmationPDFParams, GetCollateralConfirmationPDFQuery, GetConfirmationPDFParams, GetConfirmationPDFQuery, GetCorporateBankAccountsQuery, GetCorporateBankAccountsResponse, GetCurrenciesPriceQuery, GetCurrenciesPriceResponseBody, GetCurrenciesResponse, GetForwardNumberResponseBody, GetForwardParams, GetForwardResponseBody, GetForwardTransactionsParams, GetForwardTransactionsResponseBody, GetForwardsQuery, GetForwardsResponseBody, GetHealthCheckResponse, GetLedgerTransactionsQuery, GetLedgerTransactionsResponseBody, GetMFAStatusParams, GetMFAStatusResponseBody, GetOrderNumberResponseBody, GetOrderParams, GetOrderResponseBody, GetOrderTransactionsParams, GetOrderTransactionsResponseBody, GetOrdersQuery, GetOrdersResponseBody, GetOrganizationClientBankAccountParams, GetOrganizationClientBankAccountResponseBody, GetOrganizationClientBankAccountsParams, GetOrganizationClientBankAccountsQuery, GetOrganizationClientBankAccountsResponseBody, GetOrganizationClientDisponentParams, GetOrganizationClientDisponentResponseBody, GetOrganizationClientDisponentsParams, GetOrganizationClientDisponentsQuery, GetOrganizationClientDisponentsResponseBody, GetOrganizationClientParams, GetOrganizationClientQuery, GetOrganizationClientResponseBody, GetOrganizationClientsParams, GetOrganizationClientsQuery, GetOrganizationClientsResponseBody, GetOrganizationOrdersQuery, GetOrganizationOrdersResponseBody, GetOrganizationParams, GetOrganizationResponseBody, GetOrganizationUserParams, GetOrganizationUserResponseBody, GetOrganizationUsersParams, GetOrganizationUsersQuery, GetOrganizationUsersResponseBody, GetOrganizationsQuery, GetOrganizationsResponseBody, GetPaymentConfirmationPdfParams, GetPaymentConfirmationPdfQuery, GetPaymentRequestsQuery, GetPaymentRequestsResponseBody, GetPrefilledOrderParams, GetPrefilledOrderResponseBody, GetRatesParams, GetRatesQuery, GetRatesResponseBody, GetRolesResponseBody, GetScopesResponseBody, GetTraderParams, GetTraderResponseBody, GetTradersQuery, GetTradersResponseBody, GetUserParams, GetUserPermissionsParams, GetUserPermissionsResponseBody, GetUserResponseBody, GetUserVerificationConfirmationParams, GetUserVerificationParams, GetUsersResponseBody, KycStatus, Language, LanguageCode, MarketRateMetadata, OnboardOrganizationClientParams, OnboardOrganizationClientRequestBody, OnboardOrganizationClientResponseBody, OrderDirectionType, OrderPaidStatusType, OrderPayoutStatusType, OrderPurposeType, OrderStatusType, OrderTypeType, OrganizationState, OrganizationType, PartyType, PauseOrderParams, PauseOrderResponseBody, PaymentChargeTypeType, PaymentDirection, PaymentStatus, PaymentType, PayoutPaymentType, PhoneCode, PricelistOtherType, ReferenceTypeType, RefreshAuthTokenPairRequestBody, RefreshAuthTokenPairResponse, RestartSyncBankAccountParams, RestartSyncBankAccountResponseBody, ResumeOrderParams, ResumeOrderResponseBody, RevokeRoleFromUserParams, RevokeRoleFromUserRequestBody, RevokeRoleFromUserResponseBody, RevokeScopeFromUserParams, RevokeScopeFromUserRequestBody, RevokeScopeFromUserResponseBody, SendCollateralConfirmationParams, SendCollateralConfirmationRequestBody, SendCollateralConfirmationResponseBody, SendOrderConfirmationParams, SendOrderConfirmationRequestBody, SendOrderConfirmationResponseBody, SendTransactionConfirmationParams, SendTransactionConfirmationRequestBody, SendTransactionConfirmationResponseBody, SendTransactionsRequestBody, SendTransactionsResponseBody, SetupMFAParams, SetupMFAResponse, StatusType, SubmitDraftRequestBody, SubmitDraftResponseBody, SyncBankAccountPaymentsParams, SyncBankAccountPaymentsResponseBody, TargetType, TraderTypeType, TransactionStatusType, TransactionTypeType, UpdateCorporateBankAccountParams, UpdateCorporateBankAccountRequestBody, UpdateCorporateBankAccountResponseBody, UpdateForwardRequestBody, UpdateForwardResponseBody, UpdateInternalSettlementRateParams, UpdateInternalSettlementRateRequestBody, UpdateInternalSettlementRateResponseBody, UpdateOrderParams, UpdateOrderRequestBody, UpdateOrderResponseBody, UpdateOrganizationClientBankAccountParams, UpdateOrganizationClientBankAccountRequestBody, UpdateOrganizationClientBankAccountResponseBody, UpdateOrganizationClientDisponentParams, UpdateOrganizationClientDisponentRequestBody, UpdateOrganizationClientDisponentResponseBody, UpdateOrganizationClientParams, UpdateOrganizationClientRequestBody, UpdateOrganizationClientResponseBody, UpdateOrganizationParams, UpdateOrganizationRequestBody, UpdateOrganizationResponseBody, UpdateOrganizationUserParams, UpdateOrganizationUserRequestBody, UpdateOrganizationUserResponseBody, UpdateRoleParams, UpdateRoleRequestBody, UpdateRoleResponseBody, UpdateTraderParams, UpdateTraderRequestBody, UpdateTraderResponseBody, UpdateUserBanParams, UpdateUserBanRequestBody, UpdateUserBanResponseBody, UpdateUserPasswordParams, UpdateUserPasswordRequestBody, UpdateUserPasswordResponseBody, VerifySetupMFAParams, VerifySetupMFARequestBody, VerifySetupMFAResponse, VerifyUserParams, VerifyUserRequestBody, VerifyUserResponse, XIdempotencyKeyHeader, XSignatureHeader, XSignatureKeyHeader };
|
|
93858
|
+
export type { AmlLimitMonth, AmlLimitYear, AmlRiskLevel, AssignRoleToUserParams, AssignRoleToUserRequestBody, AssignRoleToUserResponseBody, AssignScopeToUserParams, AssignScopeToUserRequestBody, AssignScopeToUserResponseBody, Bank, BankCode, BatchStatus, CancelOrderParams, CancelOrderResponseBody, ClientStatus, ClientType, Country, CountryCode, CreateAuthTokenPairRequestBody, CreateAuthTokenPairResponse, CreateDraftRequestBody, CreateDraftResponseBody, CreateForwardRequestBody, CreateForwardResponseBody, CreateInternalTransferRequestBody, CreateInternalTransferResponseBody, CreateOrganizationClientBankAccountParams, CreateOrganizationClientBankAccountRequestBody, CreateOrganizationClientBankAccountResponseBody, CreateOrganizationClientDisponentParams, CreateOrganizationClientDisponentRequestBody, CreateOrganizationClientDisponentResponseBody, CreateOrganizationRequestBody, CreateOrganizationResponse, CreateOrganizationUserParams, CreateOrganizationUserRequestBody, CreateOrganizationUserResponseBody, CreateRoleRequestBody, CreateRoleResponseBody, CreateSignatureKeyParams, CreateSignatureKeyResponseBody, CreateTraderRequestBody, CreateTraderResponseBody, CreateUserRequestBody, CreateUserResponseBody, CryptoNetwork, CryptoNetworkCode, Currency, CurrencyCode, CurrencyProvider, DeleteForwardParams, DeleteForwardResponseBody, DeleteOrderParams, DeleteOrderResponseBody, DeleteOrganizationClientBankAccountParams, DeleteOrganizationClientBankAccountResponseBody, DeleteOrganizationClientDisponentParams, DeleteOrganizationClientDisponentResponseBody, DeleteOrganizationClientParams, DeleteOrganizationClientResponseBody, DeleteOrganizationParams, DeleteOrganizationResponseBody, DeleteOrganizationUserParams, DeleteOrganizationUserResponseBody, DeleteRoleParams, DeleteRoleResponseBody, DeleteUserParams, DeleteUserResponseBody, DisableMFAParams, DisableMFAResponse, DisableSyncBankAccountParams, DisableSyncBankAccountResponseBody, DisconnectBankAccountParams, DisconnectBankAccountResponseBody, DraftStatusType, EuCountryCode, FactorStatusType, FactorTypeType, FilterableOrderStatusType, ForwardDirectionType, ForwardStatusType, ForwardTypeType, Gender, GetBankAuthUriQuery, GetBankAuthUriResponseBody, GetBankPaymentsQuery, GetBankPaymentsResponseBody, GetBanksResponse, GetBatchesQuery, GetBatchesResponseBody, GetCollateralConfirmationPDFParams, GetCollateralConfirmationPDFQuery, GetConfirmationPDFParams, GetConfirmationPDFQuery, GetCorporateBankAccountsQuery, GetCorporateBankAccountsResponse, GetCurrenciesPriceQuery, GetCurrenciesPriceResponseBody, GetCurrenciesResponse, GetForwardNumberResponseBody, GetForwardParams, GetForwardResponseBody, GetForwardTransactionsParams, GetForwardTransactionsResponseBody, GetForwardsQuery, GetForwardsResponseBody, GetHealthCheckResponse, GetLedgerTransactionsQuery, GetLedgerTransactionsResponseBody, GetMFAStatusParams, GetMFAStatusResponseBody, GetOrderNumberResponseBody, GetOrderParams, GetOrderResponseBody, GetOrderTransactionsParams, GetOrderTransactionsResponseBody, GetOrdersQuery, GetOrdersResponseBody, GetOrganizationClientBankAccountParams, GetOrganizationClientBankAccountResponseBody, GetOrganizationClientBankAccountsParams, GetOrganizationClientBankAccountsQuery, GetOrganizationClientBankAccountsResponseBody, GetOrganizationClientDisponentParams, GetOrganizationClientDisponentResponseBody, GetOrganizationClientDisponentsParams, GetOrganizationClientDisponentsQuery, GetOrganizationClientDisponentsResponseBody, GetOrganizationClientParams, GetOrganizationClientQuery, GetOrganizationClientResponseBody, GetOrganizationClientsParams, GetOrganizationClientsQuery, GetOrganizationClientsResponseBody, GetOrganizationOrdersQuery, GetOrganizationOrdersResponseBody, GetOrganizationParams, GetOrganizationResponseBody, GetOrganizationUserParams, GetOrganizationUserResponseBody, GetOrganizationUsersParams, GetOrganizationUsersQuery, GetOrganizationUsersResponseBody, GetOrganizationsQuery, GetOrganizationsResponseBody, GetPaymentConfirmationPdfParams, GetPaymentConfirmationPdfQuery, GetPaymentRequestsQuery, GetPaymentRequestsResponseBody, GetPrefilledOrderParams, GetPrefilledOrderResponseBody, GetRatesParams, GetRatesQuery, GetRatesResponseBody, GetRolesResponseBody, GetScopesResponseBody, GetTraderParams, GetTraderResponseBody, GetTradersQuery, GetTradersResponseBody, GetUserParams, GetUserPermissionsParams, GetUserPermissionsResponseBody, GetUserResponseBody, GetUserVerificationConfirmationParams, GetUserVerificationParams, GetUsersResponseBody, KycStatus, Language, LanguageCode, MarketRateMetadata, OnboardOrganizationClientParams, OnboardOrganizationClientRequestBody, OnboardOrganizationClientResponseBody, OrderDirectionType, OrderPaidStatusType, OrderPayoutStatusType, OrderPurposeType, OrderStatusType, OrderTypeType, OrganizationState, OrganizationType, PartyType, PauseOrderParams, PauseOrderResponseBody, PaymentChargeTypeType, PaymentDirection, PaymentStatus, PaymentType, PayoutPaymentType, PhoneCode, PricelistOtherType, ReferenceTypeType, RefreshAuthTokenPairRequestBody, RefreshAuthTokenPairResponse, RestartSyncBankAccountParams, RestartSyncBankAccountResponseBody, ResumeOrderParams, ResumeOrderResponseBody, RevokeRoleFromUserParams, RevokeRoleFromUserRequestBody, RevokeRoleFromUserResponseBody, RevokeScopeFromUserParams, RevokeScopeFromUserRequestBody, RevokeScopeFromUserResponseBody, SendCollateralConfirmationParams, SendCollateralConfirmationRequestBody, SendCollateralConfirmationResponseBody, SendOrderConfirmationParams, SendOrderConfirmationRequestBody, SendOrderConfirmationResponseBody, SendTransactionConfirmationParams, SendTransactionConfirmationRequestBody, SendTransactionConfirmationResponseBody, SendTransactionsRequestBody, SendTransactionsResponseBody, SetupMFAParams, SetupMFAResponse, StatusType, SubmitDraftRequestBody, SubmitDraftResponseBody, SyncBankAccountPaymentsParams, SyncBankAccountPaymentsResponseBody, TargetType, TraderTypeType, TransactionStatusType, TransactionTypeType, UpdateCorporateBankAccountParams, UpdateCorporateBankAccountRequestBody, UpdateCorporateBankAccountResponseBody, UpdateForwardRequestBody, UpdateForwardResponseBody, UpdateInternalSettlementRateParams, UpdateInternalSettlementRateRequestBody, UpdateInternalSettlementRateResponseBody, UpdateOrderParams, UpdateOrderRequestBody, UpdateOrderResponseBody, UpdateOrganizationClientBankAccountParams, UpdateOrganizationClientBankAccountRequestBody, UpdateOrganizationClientBankAccountResponseBody, UpdateOrganizationClientDisponentParams, UpdateOrganizationClientDisponentRequestBody, UpdateOrganizationClientDisponentResponseBody, UpdateOrganizationClientParams, UpdateOrganizationClientRequestBody, UpdateOrganizationClientResponseBody, UpdateOrganizationParams, UpdateOrganizationRequestBody, UpdateOrganizationResponseBody, UpdateOrganizationUserParams, UpdateOrganizationUserRequestBody, UpdateOrganizationUserResponseBody, UpdateRoleParams, UpdateRoleRequestBody, UpdateRoleResponseBody, UpdateSettlementsParams, UpdateSettlementsRequestBody, UpdateSettlementsResponseBody, UpdateTraderParams, UpdateTraderRequestBody, UpdateTraderResponseBody, UpdateUserBanParams, UpdateUserBanRequestBody, UpdateUserBanResponseBody, UpdateUserPasswordParams, UpdateUserPasswordRequestBody, UpdateUserPasswordResponseBody, VerifySetupMFAParams, VerifySetupMFARequestBody, VerifySetupMFAResponse, VerifyUserParams, VerifyUserRequestBody, VerifyUserResponse, XIdempotencyKeyHeader, XSignatureHeader, XSignatureKeyHeader };
|