@brokerize/client 1.1.3 → 1.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/README.md +1 -1
- package/dist/authorizedApiContext.d.ts +2 -2
- package/dist/client.d.ts +334 -15
- package/dist/swagger/apis/CancelOrderApi.d.ts +5 -5
- package/dist/swagger/apis/CancelOrderApi.js +6 -5
- package/dist/swagger/apis/ChangeOrderApi.d.ts +3 -3
- package/dist/swagger/apis/ChangeOrderApi.js +4 -3
- package/dist/swagger/apis/DefaultApi.d.ts +23 -0
- package/dist/swagger/apis/DefaultApi.js +82 -8
- package/dist/swagger/apis/TradeApi.d.ts +2 -2
- package/dist/swagger/apis/TradeApi.js +2 -2
- package/dist/swagger/models/AuthMethodDecoupled.d.ts +1 -2
- package/dist/swagger/models/CancelOrderDecoupled.d.ts +40 -0
- package/dist/swagger/models/CancelOrderDecoupled.js +46 -0
- package/dist/swagger/models/CancelOrderDecoupledAllOf.d.ts +34 -0
- package/dist/swagger/models/CancelOrderDecoupledAllOf.js +44 -0
- package/dist/swagger/models/CancelOrderDecoupledSpecifics.d.ts +27 -0
- package/dist/swagger/models/CancelOrderDecoupledSpecifics.js +38 -0
- package/dist/swagger/models/CancelOrderParams.d.ts +3 -0
- package/dist/swagger/models/CancelOrderParams.js +5 -0
- package/dist/swagger/models/CancelOrderParamsMode.d.ts +1 -0
- package/dist/swagger/models/CancelOrderParamsMode.js +1 -0
- package/dist/swagger/models/CancelOrderResponse.d.ts +28 -0
- package/dist/swagger/models/CancelOrderResponse.js +40 -0
- package/dist/swagger/models/ChangeOrderResponse.d.ts +28 -0
- package/dist/swagger/models/ChangeOrderResponse.js +40 -0
- package/dist/swagger/models/CreateTradeResponse.d.ts +9 -1
- package/dist/swagger/models/CreateTradeResponse.js +4 -0
- package/dist/swagger/models/DecoupledOperationStatus.d.ts +14 -0
- package/dist/swagger/models/DecoupledOperationStatus.js +4 -0
- package/dist/swagger/models/SummarizedTrade.d.ts +12 -0
- package/dist/swagger/models/SummarizedTrade.js +4 -0
- package/dist/swagger/models/TradeStatistics.d.ts +45 -0
- package/dist/swagger/models/TradeStatistics.js +31 -0
- package/dist/swagger/models/index.d.ts +5 -0
- package/dist/swagger/models/index.js +5 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# client-js
|
|
2
2
|
|
|
3
|
-
The official `brokerize` JavaScript client. The
|
|
3
|
+
The official `brokerize` JavaScript client. The API client comes with TypeScript types so that auto-complete for JS code as well as proper types for TypeScript clients are available. Most of the heavy lifting is in the internal generated code (we use `@openapitools/openapi-generator-cli` to generate it), but we provide a manually maintained layer around it for a more consistent developer experience.
|
|
4
4
|
|
|
5
5
|
Example usage:
|
|
6
6
|
|
|
@@ -48,9 +48,9 @@ export declare class AuthorizedApiContext {
|
|
|
48
48
|
deleteDemoAccount(del: DeleteDemoAccountRequest): Promise<openApiClient.OkResponseBody>;
|
|
49
49
|
getOrder(orderId: string): Promise<openApiClient.GetOrderResponse>;
|
|
50
50
|
createCancelOrderChallenge(req: openApiClient.CreateCancelOrderChallengeRequest): Promise<openApiClient.Challenge>;
|
|
51
|
-
cancelOrder(req: openApiClient.CancelOrderRequest, viaCryptoService?: boolean): Promise<
|
|
51
|
+
cancelOrder(req: openApiClient.CancelOrderRequest, viaCryptoService?: boolean): Promise<openApiClient.CancelOrderResponse>;
|
|
52
52
|
createChangeOrderChallenge(req: openApiClient.CreateChangeOrderChallengeRequest): Promise<openApiClient.Challenge>;
|
|
53
|
-
changeOrder(req: openApiClient.ChangeOrderRequest, viaCryptoService?: boolean): Promise<
|
|
53
|
+
changeOrder(req: openApiClient.ChangeOrderRequest, viaCryptoService?: boolean): Promise<openApiClient.ChangeOrderResponse>;
|
|
54
54
|
getPortfolios(): Promise<openApiClient.PortfoliosResponse>;
|
|
55
55
|
renamePortfolio(portfolioId: string, newPortfolioName: string): Promise<void>;
|
|
56
56
|
deletePortfolio(portfolioId: string): Promise<openApiClient.OkResponseBody>;
|
package/dist/client.d.ts
CHANGED
|
@@ -731,8 +731,7 @@ declare function AuthMethodChallengeResponseToJSONRecursive(value?: AuthMethodCh
|
|
|
731
731
|
/**
|
|
732
732
|
* With the `DECOUPLED` flow, the operation is created right away without creating a challenge first. The operation's
|
|
733
733
|
* response will include a `decoupledOperationId` which can be subscribed to using `GetDecoupledOperationStatus` and via
|
|
734
|
-
* a WebSocket subscription. Also, the operation can be cancelled by the user using `CancelDecoupledOperation`.
|
|
735
|
-
* this flow is only implemented for `EnableSessionTan`.
|
|
734
|
+
* a WebSocket subscription. Also, the operation can be cancelled by the user using `CancelDecoupledOperation`.
|
|
736
735
|
* @export
|
|
737
736
|
* @interface AuthMethodDecoupled
|
|
738
737
|
*/
|
|
@@ -1121,9 +1120,9 @@ export declare class AuthorizedApiContext {
|
|
|
1121
1120
|
deleteDemoAccount(del: DeleteDemoAccountRequest): Promise<openApiClient.OkResponseBody>;
|
|
1122
1121
|
getOrder(orderId: string): Promise<openApiClient.GetOrderResponse>;
|
|
1123
1122
|
createCancelOrderChallenge(req: openApiClient.CreateCancelOrderChallengeRequest): Promise<openApiClient.Challenge>;
|
|
1124
|
-
cancelOrder(req: openApiClient.CancelOrderRequest, viaCryptoService?: boolean): Promise<
|
|
1123
|
+
cancelOrder(req: openApiClient.CancelOrderRequest, viaCryptoService?: boolean): Promise<openApiClient.CancelOrderResponse>;
|
|
1125
1124
|
createChangeOrderChallenge(req: openApiClient.CreateChangeOrderChallengeRequest): Promise<openApiClient.Challenge>;
|
|
1126
|
-
changeOrder(req: openApiClient.ChangeOrderRequest, viaCryptoService?: boolean): Promise<
|
|
1125
|
+
changeOrder(req: openApiClient.ChangeOrderRequest, viaCryptoService?: boolean): Promise<openApiClient.ChangeOrderResponse>;
|
|
1127
1126
|
getPortfolios(): Promise<openApiClient.PortfoliosResponse>;
|
|
1128
1127
|
renamePortfolio(portfolioId: string, newPortfolioName: string): Promise<void>;
|
|
1129
1128
|
deletePortfolio(portfolioId: string): Promise<openApiClient.OkResponseBody>;
|
|
@@ -1850,23 +1849,27 @@ declare function BrokerMetaToJSONRecursive(value?: BrokerMeta | null, ignorePare
|
|
|
1850
1849
|
|
|
1851
1850
|
export declare type Callback<T = any> = (err: any, data: T) => void;
|
|
1852
1851
|
|
|
1853
|
-
declare interface
|
|
1852
|
+
declare interface CancelDecoupledOperationLegacyRequest {
|
|
1854
1853
|
sessionId: string;
|
|
1855
1854
|
decoupledOperationId: string;
|
|
1856
1855
|
}
|
|
1857
1856
|
|
|
1857
|
+
declare interface CancelDecoupledOperationRequest {
|
|
1858
|
+
decoupledOperationId: string;
|
|
1859
|
+
}
|
|
1860
|
+
|
|
1858
1861
|
/**
|
|
1859
1862
|
*
|
|
1860
1863
|
*/
|
|
1861
1864
|
declare class CancelOrderApi extends runtime.BaseAPI {
|
|
1862
1865
|
/**
|
|
1863
|
-
*
|
|
1866
|
+
* Cancel the given order (or in the case of decoupled authMethods: send the order cancellation to the user for confirmation. In this case, a decoupledOperationId is returned).
|
|
1864
1867
|
*/
|
|
1865
|
-
cancelOrderRaw(requestParameters: CancelOrderRequest, initOverrides?: RequestInit | runtime.InitOverideFunction): Promise<runtime.ApiResponse<
|
|
1868
|
+
cancelOrderRaw(requestParameters: CancelOrderRequest, initOverrides?: RequestInit | runtime.InitOverideFunction): Promise<runtime.ApiResponse<CancelOrderResponse>>;
|
|
1866
1869
|
/**
|
|
1867
|
-
*
|
|
1870
|
+
* Cancel the given order (or in the case of decoupled authMethods: send the order cancellation to the user for confirmation. In this case, a decoupledOperationId is returned).
|
|
1868
1871
|
*/
|
|
1869
|
-
cancelOrder(requestParameters: CancelOrderRequest, initOverrides?: RequestInit | runtime.InitOverideFunction): Promise<
|
|
1872
|
+
cancelOrder(requestParameters: CancelOrderRequest, initOverrides?: RequestInit | runtime.InitOverideFunction): Promise<CancelOrderResponse>;
|
|
1870
1873
|
/**
|
|
1871
1874
|
* If the user chose an auth method from `GetAuthInfo` with the flow `CHALLENGE_RESPONSE`, before cancelling an order, a challenge must be requested first. If any other flow is used, a challenge *must not* be requested and `CancelOrder` is used right away.
|
|
1872
1875
|
*/
|
|
@@ -2053,6 +2056,126 @@ declare function CancelOrderChallengeResponseToJSON(value?: CancelOrderChallenge
|
|
|
2053
2056
|
|
|
2054
2057
|
declare function CancelOrderChallengeResponseToJSONRecursive(value?: CancelOrderChallengeResponse | null, ignoreParent?: boolean): any;
|
|
2055
2058
|
|
|
2059
|
+
/**
|
|
2060
|
+
* brokerize
|
|
2061
|
+
* The brokerize API allows clients to implement multi-brokerage with a unified interface. For more information, visit brokerize.com
|
|
2062
|
+
*
|
|
2063
|
+
*
|
|
2064
|
+
*
|
|
2065
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2066
|
+
* https://openapi-generator.tech
|
|
2067
|
+
* Do not edit the class manually.
|
|
2068
|
+
*/
|
|
2069
|
+
/**
|
|
2070
|
+
*
|
|
2071
|
+
* @export
|
|
2072
|
+
* @interface CancelOrderDecoupled
|
|
2073
|
+
*/
|
|
2074
|
+
declare interface CancelOrderDecoupled {
|
|
2075
|
+
/**
|
|
2076
|
+
*
|
|
2077
|
+
* @type {string}
|
|
2078
|
+
* @memberof CancelOrderDecoupled
|
|
2079
|
+
*/
|
|
2080
|
+
mode: CancelOrderDecoupledModeEnum;
|
|
2081
|
+
/**
|
|
2082
|
+
*
|
|
2083
|
+
* @type {string}
|
|
2084
|
+
* @memberof CancelOrderDecoupled
|
|
2085
|
+
*/
|
|
2086
|
+
authMethod?: string;
|
|
2087
|
+
}
|
|
2088
|
+
|
|
2089
|
+
/**
|
|
2090
|
+
* brokerize
|
|
2091
|
+
* The brokerize API allows clients to implement multi-brokerage with a unified interface. For more information, visit brokerize.com
|
|
2092
|
+
*
|
|
2093
|
+
*
|
|
2094
|
+
*
|
|
2095
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2096
|
+
* https://openapi-generator.tech
|
|
2097
|
+
* Do not edit the class manually.
|
|
2098
|
+
*/
|
|
2099
|
+
/**
|
|
2100
|
+
*
|
|
2101
|
+
* @export
|
|
2102
|
+
* @interface CancelOrderDecoupledAllOf
|
|
2103
|
+
*/
|
|
2104
|
+
declare interface CancelOrderDecoupledAllOf {
|
|
2105
|
+
/**
|
|
2106
|
+
*
|
|
2107
|
+
* @type {string}
|
|
2108
|
+
* @memberof CancelOrderDecoupledAllOf
|
|
2109
|
+
*/
|
|
2110
|
+
mode?: CancelOrderDecoupledAllOfModeEnum;
|
|
2111
|
+
}
|
|
2112
|
+
|
|
2113
|
+
declare function CancelOrderDecoupledAllOfFromJSON(json: any): CancelOrderDecoupledAllOf;
|
|
2114
|
+
|
|
2115
|
+
declare function CancelOrderDecoupledAllOfFromJSONTyped(json: any, ignoreDiscriminator: boolean): CancelOrderDecoupledAllOf;
|
|
2116
|
+
|
|
2117
|
+
/**
|
|
2118
|
+
* @export
|
|
2119
|
+
*/
|
|
2120
|
+
declare const CancelOrderDecoupledAllOfModeEnum: {
|
|
2121
|
+
readonly Decoupled: "decoupled";
|
|
2122
|
+
};
|
|
2123
|
+
|
|
2124
|
+
declare type CancelOrderDecoupledAllOfModeEnum = (typeof CancelOrderDecoupledAllOfModeEnum)[keyof typeof CancelOrderDecoupledAllOfModeEnum];
|
|
2125
|
+
|
|
2126
|
+
declare function CancelOrderDecoupledAllOfToJSON(value?: CancelOrderDecoupledAllOf | null): any;
|
|
2127
|
+
|
|
2128
|
+
declare function CancelOrderDecoupledAllOfToJSONRecursive(value?: CancelOrderDecoupledAllOf | null, ignoreParent?: boolean): any;
|
|
2129
|
+
|
|
2130
|
+
declare function CancelOrderDecoupledFromJSON(json: any): CancelOrderDecoupled;
|
|
2131
|
+
|
|
2132
|
+
declare function CancelOrderDecoupledFromJSONTyped(json: any, ignoreDiscriminator: boolean): CancelOrderDecoupled;
|
|
2133
|
+
|
|
2134
|
+
/**
|
|
2135
|
+
* @export
|
|
2136
|
+
*/
|
|
2137
|
+
declare const CancelOrderDecoupledModeEnum: {
|
|
2138
|
+
readonly Decoupled: "decoupled";
|
|
2139
|
+
};
|
|
2140
|
+
|
|
2141
|
+
declare type CancelOrderDecoupledModeEnum = (typeof CancelOrderDecoupledModeEnum)[keyof typeof CancelOrderDecoupledModeEnum];
|
|
2142
|
+
|
|
2143
|
+
/**
|
|
2144
|
+
* brokerize
|
|
2145
|
+
* The brokerize API allows clients to implement multi-brokerage with a unified interface. For more information, visit brokerize.com
|
|
2146
|
+
*
|
|
2147
|
+
*
|
|
2148
|
+
*
|
|
2149
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2150
|
+
* https://openapi-generator.tech
|
|
2151
|
+
* Do not edit the class manually.
|
|
2152
|
+
*/
|
|
2153
|
+
/**
|
|
2154
|
+
*
|
|
2155
|
+
* @export
|
|
2156
|
+
* @interface CancelOrderDecoupledSpecifics
|
|
2157
|
+
*/
|
|
2158
|
+
declare interface CancelOrderDecoupledSpecifics {
|
|
2159
|
+
/**
|
|
2160
|
+
*
|
|
2161
|
+
* @type {string}
|
|
2162
|
+
* @memberof CancelOrderDecoupledSpecifics
|
|
2163
|
+
*/
|
|
2164
|
+
authMethod?: string;
|
|
2165
|
+
}
|
|
2166
|
+
|
|
2167
|
+
declare function CancelOrderDecoupledSpecificsFromJSON(json: any): CancelOrderDecoupledSpecifics;
|
|
2168
|
+
|
|
2169
|
+
declare function CancelOrderDecoupledSpecificsFromJSONTyped(json: any, ignoreDiscriminator: boolean): CancelOrderDecoupledSpecifics;
|
|
2170
|
+
|
|
2171
|
+
declare function CancelOrderDecoupledSpecificsToJSON(value?: CancelOrderDecoupledSpecifics | null): any;
|
|
2172
|
+
|
|
2173
|
+
declare function CancelOrderDecoupledSpecificsToJSONRecursive(value?: CancelOrderDecoupledSpecifics | null, ignoreParent?: boolean): any;
|
|
2174
|
+
|
|
2175
|
+
declare function CancelOrderDecoupledToJSON(value?: CancelOrderDecoupled | null): any;
|
|
2176
|
+
|
|
2177
|
+
declare function CancelOrderDecoupledToJSONRecursive(value?: CancelOrderDecoupled | null, ignoreParent?: boolean): any;
|
|
2178
|
+
|
|
2056
2179
|
/**
|
|
2057
2180
|
* @type CancelOrderParams
|
|
2058
2181
|
*
|
|
@@ -2061,6 +2184,8 @@ declare function CancelOrderChallengeResponseToJSONRecursive(value?: CancelOrder
|
|
|
2061
2184
|
declare type CancelOrderParams = ({
|
|
2062
2185
|
mode: "challengeResponse";
|
|
2063
2186
|
} & CancelOrderChallengeResponse) | ({
|
|
2187
|
+
mode: "decoupled";
|
|
2188
|
+
} & CancelOrderDecoupled) | ({
|
|
2064
2189
|
mode: "sessionTan";
|
|
2065
2190
|
} & CreateModeSessionTan);
|
|
2066
2191
|
|
|
@@ -2075,6 +2200,7 @@ declare function CancelOrderParamsFromJSONTyped(json: any, ignoreDiscriminator:
|
|
|
2075
2200
|
declare const CancelOrderParamsMode: {
|
|
2076
2201
|
readonly SessionTan: "sessionTan";
|
|
2077
2202
|
readonly ChallengeResponse: "challengeResponse";
|
|
2203
|
+
readonly Decoupled: "decoupled";
|
|
2078
2204
|
};
|
|
2079
2205
|
|
|
2080
2206
|
declare type CancelOrderParamsMode = (typeof CancelOrderParamsMode)[keyof typeof CancelOrderParamsMode];
|
|
@@ -2092,6 +2218,39 @@ declare interface CancelOrderRequest {
|
|
|
2092
2218
|
cancelOrderParams: CancelOrderParams;
|
|
2093
2219
|
}
|
|
2094
2220
|
|
|
2221
|
+
/**
|
|
2222
|
+
* brokerize
|
|
2223
|
+
* The brokerize API allows clients to implement multi-brokerage with a unified interface. For more information, visit brokerize.com
|
|
2224
|
+
*
|
|
2225
|
+
*
|
|
2226
|
+
*
|
|
2227
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2228
|
+
* https://openapi-generator.tech
|
|
2229
|
+
* Do not edit the class manually.
|
|
2230
|
+
*/
|
|
2231
|
+
/**
|
|
2232
|
+
*
|
|
2233
|
+
* @export
|
|
2234
|
+
* @interface CancelOrderResponse
|
|
2235
|
+
*/
|
|
2236
|
+
declare interface CancelOrderResponse {
|
|
2237
|
+
/**
|
|
2238
|
+
* If a decoupled method is used to cancel the order, the cancellation process can be observed through the
|
|
2239
|
+
* `decoupledOperationId`.
|
|
2240
|
+
* @type {string}
|
|
2241
|
+
* @memberof CancelOrderResponse
|
|
2242
|
+
*/
|
|
2243
|
+
decoupledOperationId?: string;
|
|
2244
|
+
}
|
|
2245
|
+
|
|
2246
|
+
declare function CancelOrderResponseFromJSON(json: any): CancelOrderResponse;
|
|
2247
|
+
|
|
2248
|
+
declare function CancelOrderResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): CancelOrderResponse;
|
|
2249
|
+
|
|
2250
|
+
declare function CancelOrderResponseToJSON(value?: CancelOrderResponse | null): any;
|
|
2251
|
+
|
|
2252
|
+
declare function CancelOrderResponseToJSONRecursive(value?: CancelOrderResponse | null, ignoreParent?: boolean): any;
|
|
2253
|
+
|
|
2095
2254
|
declare function canConsumeForm(consumes: Consume[]): boolean;
|
|
2096
2255
|
|
|
2097
2256
|
/**
|
|
@@ -2273,11 +2432,11 @@ declare class ChangeOrderApi extends runtime.BaseAPI {
|
|
|
2273
2432
|
/**
|
|
2274
2433
|
* Perform an order change.
|
|
2275
2434
|
*/
|
|
2276
|
-
changeOrderRaw(requestParameters: ChangeOrderRequest, initOverrides?: RequestInit | runtime.InitOverideFunction): Promise<runtime.ApiResponse<
|
|
2435
|
+
changeOrderRaw(requestParameters: ChangeOrderRequest, initOverrides?: RequestInit | runtime.InitOverideFunction): Promise<runtime.ApiResponse<ChangeOrderResponse>>;
|
|
2277
2436
|
/**
|
|
2278
2437
|
* Perform an order change.
|
|
2279
2438
|
*/
|
|
2280
|
-
changeOrder(requestParameters: ChangeOrderRequest, initOverrides?: RequestInit | runtime.InitOverideFunction): Promise<
|
|
2439
|
+
changeOrder(requestParameters: ChangeOrderRequest, initOverrides?: RequestInit | runtime.InitOverideFunction): Promise<ChangeOrderResponse>;
|
|
2281
2440
|
/**
|
|
2282
2441
|
* If the user chose an auth method from `GetAuthInfo` with the flow `CHALLENGE_RESPONSE`, before changing an order, a challenge must be requested first. If any other flow is used, a challenge *must not* be requested and `ChangeOrder` is used right away.
|
|
2283
2442
|
*/
|
|
@@ -2369,6 +2528,39 @@ declare interface ChangeOrderRequest {
|
|
|
2369
2528
|
changeOrderParams: ChangeOrderParams;
|
|
2370
2529
|
}
|
|
2371
2530
|
|
|
2531
|
+
/**
|
|
2532
|
+
* brokerize
|
|
2533
|
+
* The brokerize API allows clients to implement multi-brokerage with a unified interface. For more information, visit brokerize.com
|
|
2534
|
+
*
|
|
2535
|
+
*
|
|
2536
|
+
*
|
|
2537
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2538
|
+
* https://openapi-generator.tech
|
|
2539
|
+
* Do not edit the class manually.
|
|
2540
|
+
*/
|
|
2541
|
+
/**
|
|
2542
|
+
*
|
|
2543
|
+
* @export
|
|
2544
|
+
* @interface ChangeOrderResponse
|
|
2545
|
+
*/
|
|
2546
|
+
declare interface ChangeOrderResponse {
|
|
2547
|
+
/**
|
|
2548
|
+
* If a decoupled method is used to change the order, the cancellation process can be observed through the
|
|
2549
|
+
* `decoupledOperationId`.
|
|
2550
|
+
* @type {string}
|
|
2551
|
+
* @memberof ChangeOrderResponse
|
|
2552
|
+
*/
|
|
2553
|
+
decoupledOperationId?: string;
|
|
2554
|
+
}
|
|
2555
|
+
|
|
2556
|
+
declare function ChangeOrderResponseFromJSON(json: any): ChangeOrderResponse;
|
|
2557
|
+
|
|
2558
|
+
declare function ChangeOrderResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ChangeOrderResponse;
|
|
2559
|
+
|
|
2560
|
+
declare function ChangeOrderResponseToJSON(value?: ChangeOrderResponse | null): any;
|
|
2561
|
+
|
|
2562
|
+
declare function ChangeOrderResponseToJSONRecursive(value?: ChangeOrderResponse | null, ignoreParent?: boolean): any;
|
|
2563
|
+
|
|
2372
2564
|
/**
|
|
2373
2565
|
* The client configuration as it appears in API endpoints.
|
|
2374
2566
|
* @export
|
|
@@ -3534,7 +3726,15 @@ declare interface CreateTradeRequest {
|
|
|
3534
3726
|
*/
|
|
3535
3727
|
declare interface CreateTradeResponse {
|
|
3536
3728
|
/**
|
|
3537
|
-
*
|
|
3729
|
+
* If a decoupled method is used to create the trade, the creation process can be observed through the
|
|
3730
|
+
* `decoupledOperationId`. In this case, no `orderId` is returned.
|
|
3731
|
+
* @type {string}
|
|
3732
|
+
* @memberof CreateTradeResponse
|
|
3733
|
+
*/
|
|
3734
|
+
decoupledOperationId?: string;
|
|
3735
|
+
/**
|
|
3736
|
+
* The id of the created order, if applicable. Some brokers don't return an orderId in all cases, so
|
|
3737
|
+
* frontends should be able to just show a generic "order has been created" message in this case.
|
|
3538
3738
|
* @type {string}
|
|
3539
3739
|
* @memberof CreateTradeResponse
|
|
3540
3740
|
*/
|
|
@@ -3580,6 +3780,20 @@ declare function DecoupledOperationStateToJSON(value?: DecoupledOperationState |
|
|
|
3580
3780
|
* @interface DecoupledOperationStatus
|
|
3581
3781
|
*/
|
|
3582
3782
|
declare interface DecoupledOperationStatus {
|
|
3783
|
+
/**
|
|
3784
|
+
* If:
|
|
3785
|
+
* - the decoupled operation is an order creation
|
|
3786
|
+
* - *AND* it is in the state `AUTHORIZATION_USER_ACCEPTED`
|
|
3787
|
+
* - *AND* the broker supports retrieving this information
|
|
3788
|
+
*
|
|
3789
|
+
* This is the id of the created order. Note that depending on the broker, it is possible
|
|
3790
|
+
* (as with non-decoupled order creations as well), that the broker does not return this id, but
|
|
3791
|
+
* instead will add the order to the order book asynchronously. In this case it is not possible to directly
|
|
3792
|
+
* show an order receipt, but just a message (e.g. "Order has been created successfully - check order list for updates").
|
|
3793
|
+
* @type {string}
|
|
3794
|
+
* @memberof DecoupledOperationStatus
|
|
3795
|
+
*/
|
|
3796
|
+
createdOrderId?: string;
|
|
3583
3797
|
/**
|
|
3584
3798
|
*
|
|
3585
3799
|
* @type {DecoupledOperationState}
|
|
@@ -3617,6 +3831,14 @@ declare class DefaultApi extends runtime.BaseAPI {
|
|
|
3617
3831
|
/**
|
|
3618
3832
|
*/
|
|
3619
3833
|
cancelDecoupledOperation(requestParameters: CancelDecoupledOperationRequest, initOverrides?: RequestInit | runtime.InitOverideFunction): Promise<void>;
|
|
3834
|
+
/**
|
|
3835
|
+
* Cancel a decoupled operation. This is deprecated, use the new `CancelDecoupledOperation` instead (which does not require the sessionId anymore).
|
|
3836
|
+
*/
|
|
3837
|
+
cancelDecoupledOperationLegacyRaw(requestParameters: CancelDecoupledOperationLegacyRequest, initOverrides?: RequestInit | runtime.InitOverideFunction): Promise<runtime.ApiResponse<void>>;
|
|
3838
|
+
/**
|
|
3839
|
+
* Cancel a decoupled operation. This is deprecated, use the new `CancelDecoupledOperation` instead (which does not require the sessionId anymore).
|
|
3840
|
+
*/
|
|
3841
|
+
cancelDecoupledOperationLegacy(requestParameters: CancelDecoupledOperationLegacyRequest, initOverrides?: RequestInit | runtime.InitOverideFunction): Promise<void>;
|
|
3620
3842
|
/**
|
|
3621
3843
|
* Create a guest user and return a token which can be used to access resources. The lifetime of the generated temporary user as well as the returned `access_token` depend on the client configuration. It is usually around 24 hours. For some clients, tokens can be expired earlier based on inactivity. If the client has configured a longer lifetime for their guest users, a `refresh_token` is included in the response. This token can be used to renew the `access_token` after it has expired. The `refresh_token` can be used to obtain a new `access_token` after the original token has expired using the `/user/token` endpoint.
|
|
3622
3844
|
*/
|
|
@@ -3675,6 +3897,14 @@ declare class DefaultApi extends runtime.BaseAPI {
|
|
|
3675
3897
|
/**
|
|
3676
3898
|
*/
|
|
3677
3899
|
getDecoupledOperationStatus(requestParameters: GetDecoupledOperationStatusRequest, initOverrides?: RequestInit | runtime.InitOverideFunction): Promise<DecoupledOperationStatus>;
|
|
3900
|
+
/**
|
|
3901
|
+
* Get the status of a decoupled operation. This is deprecated, use the new `GetDecoupledOperation` instead, which does not require the `sessionId` any more.
|
|
3902
|
+
*/
|
|
3903
|
+
getDecoupledOperationStatusLegacyRaw(requestParameters: GetDecoupledOperationStatusLegacyRequest, initOverrides?: RequestInit | runtime.InitOverideFunction): Promise<runtime.ApiResponse<DecoupledOperationStatus>>;
|
|
3904
|
+
/**
|
|
3905
|
+
* Get the status of a decoupled operation. This is deprecated, use the new `GetDecoupledOperation` instead, which does not require the `sessionId` any more.
|
|
3906
|
+
*/
|
|
3907
|
+
getDecoupledOperationStatusLegacy(requestParameters: GetDecoupledOperationStatusLegacyRequest, initOverrides?: RequestInit | runtime.InitOverideFunction): Promise<DecoupledOperationStatus>;
|
|
3678
3908
|
/**
|
|
3679
3909
|
*/
|
|
3680
3910
|
getOrderRaw(requestParameters: GetOrderRequest, initOverrides?: RequestInit | runtime.InitOverideFunction): Promise<runtime.ApiResponse<GetOrderResponse>>;
|
|
@@ -6312,11 +6542,15 @@ declare interface GetCostEstimationRequest {
|
|
|
6312
6542
|
getCostEstimationParams: GetCostEstimationParams;
|
|
6313
6543
|
}
|
|
6314
6544
|
|
|
6315
|
-
declare interface
|
|
6545
|
+
declare interface GetDecoupledOperationStatusLegacyRequest {
|
|
6316
6546
|
sessionId: string;
|
|
6317
6547
|
decoupledOperationId: string;
|
|
6318
6548
|
}
|
|
6319
6549
|
|
|
6550
|
+
declare interface GetDecoupledOperationStatusRequest {
|
|
6551
|
+
decoupledOperationId: string;
|
|
6552
|
+
}
|
|
6553
|
+
|
|
6320
6554
|
/**
|
|
6321
6555
|
* @export
|
|
6322
6556
|
*/
|
|
@@ -6478,6 +6712,7 @@ declare function GetPortfolioQuotesResponseToJSONRecursive(value?: GetPortfolioQ
|
|
|
6478
6712
|
|
|
6479
6713
|
declare interface GetPortfolioTradesRequest {
|
|
6480
6714
|
portfolioId: string;
|
|
6715
|
+
search?: string;
|
|
6481
6716
|
take?: number;
|
|
6482
6717
|
skip?: number;
|
|
6483
6718
|
}
|
|
@@ -7658,12 +7893,14 @@ declare namespace openApiClient {
|
|
|
7658
7893
|
GetChangeOrderCostEstimationRequest,
|
|
7659
7894
|
ChangeOrderApi,
|
|
7660
7895
|
CancelDecoupledOperationRequest,
|
|
7896
|
+
CancelDecoupledOperationLegacyRequest,
|
|
7661
7897
|
CreateSessionTanChallengeRequest,
|
|
7662
7898
|
DeletePortfolioRequest,
|
|
7663
7899
|
EnableSessionTanRequest,
|
|
7664
7900
|
EndSessionTanRequest,
|
|
7665
7901
|
GetAuthInfoRequest,
|
|
7666
7902
|
GetDecoupledOperationStatusRequest,
|
|
7903
|
+
GetDecoupledOperationStatusLegacyRequest,
|
|
7667
7904
|
GetOrderRequest,
|
|
7668
7905
|
GetPortfolioOrdersRequest,
|
|
7669
7906
|
GetPortfolioPositionsRequest,
|
|
@@ -7875,6 +8112,23 @@ declare namespace openApiClient {
|
|
|
7875
8112
|
CancelOrderChallengeResponseSpecificsToJSONRecursive,
|
|
7876
8113
|
CancelOrderChallengeResponseSpecificsToJSON,
|
|
7877
8114
|
CancelOrderChallengeResponseSpecifics,
|
|
8115
|
+
CancelOrderDecoupledFromJSON,
|
|
8116
|
+
CancelOrderDecoupledFromJSONTyped,
|
|
8117
|
+
CancelOrderDecoupledToJSONRecursive,
|
|
8118
|
+
CancelOrderDecoupledToJSON,
|
|
8119
|
+
CancelOrderDecoupled,
|
|
8120
|
+
CancelOrderDecoupledModeEnum,
|
|
8121
|
+
CancelOrderDecoupledAllOfFromJSON,
|
|
8122
|
+
CancelOrderDecoupledAllOfFromJSONTyped,
|
|
8123
|
+
CancelOrderDecoupledAllOfToJSONRecursive,
|
|
8124
|
+
CancelOrderDecoupledAllOfToJSON,
|
|
8125
|
+
CancelOrderDecoupledAllOf,
|
|
8126
|
+
CancelOrderDecoupledAllOfModeEnum,
|
|
8127
|
+
CancelOrderDecoupledSpecificsFromJSON,
|
|
8128
|
+
CancelOrderDecoupledSpecificsFromJSONTyped,
|
|
8129
|
+
CancelOrderDecoupledSpecificsToJSONRecursive,
|
|
8130
|
+
CancelOrderDecoupledSpecificsToJSON,
|
|
8131
|
+
CancelOrderDecoupledSpecifics,
|
|
7878
8132
|
CancelOrderParamsFromJSON,
|
|
7879
8133
|
CancelOrderParamsFromJSONTyped,
|
|
7880
8134
|
CancelOrderParamsToJSON,
|
|
@@ -7883,6 +8137,11 @@ declare namespace openApiClient {
|
|
|
7883
8137
|
CancelOrderParamsModeFromJSONTyped,
|
|
7884
8138
|
CancelOrderParamsModeToJSON,
|
|
7885
8139
|
CancelOrderParamsMode,
|
|
8140
|
+
CancelOrderResponseFromJSON,
|
|
8141
|
+
CancelOrderResponseFromJSONTyped,
|
|
8142
|
+
CancelOrderResponseToJSONRecursive,
|
|
8143
|
+
CancelOrderResponseToJSON,
|
|
8144
|
+
CancelOrderResponse,
|
|
7886
8145
|
CashAccountFromJSON,
|
|
7887
8146
|
CashAccountFromJSONTyped,
|
|
7888
8147
|
CashAccountToJSONRecursive,
|
|
@@ -7913,6 +8172,11 @@ declare namespace openApiClient {
|
|
|
7913
8172
|
ChangeOrderParamsToJSONRecursive,
|
|
7914
8173
|
ChangeOrderParamsToJSON,
|
|
7915
8174
|
ChangeOrderParams,
|
|
8175
|
+
ChangeOrderResponseFromJSON,
|
|
8176
|
+
ChangeOrderResponseFromJSONTyped,
|
|
8177
|
+
ChangeOrderResponseToJSONRecursive,
|
|
8178
|
+
ChangeOrderResponseToJSON,
|
|
8179
|
+
ChangeOrderResponse,
|
|
7916
8180
|
ClientConfigFromJSON,
|
|
7917
8181
|
ClientConfigFromJSONTyped,
|
|
7918
8182
|
ClientConfigToJSONRecursive,
|
|
@@ -12534,6 +12798,12 @@ export declare type Subscription = {
|
|
|
12534
12798
|
* @interface SummarizedTrade
|
|
12535
12799
|
*/
|
|
12536
12800
|
declare interface SummarizedTrade {
|
|
12801
|
+
/**
|
|
12802
|
+
*
|
|
12803
|
+
* @type {Amount}
|
|
12804
|
+
* @memberof SummarizedTrade
|
|
12805
|
+
*/
|
|
12806
|
+
closeAvgQuotation: Amount;
|
|
12537
12807
|
/**
|
|
12538
12808
|
*
|
|
12539
12809
|
* @type {Date}
|
|
@@ -12558,6 +12828,12 @@ declare interface SummarizedTrade {
|
|
|
12558
12828
|
* @memberof SummarizedTrade
|
|
12559
12829
|
*/
|
|
12560
12830
|
id: string;
|
|
12831
|
+
/**
|
|
12832
|
+
*
|
|
12833
|
+
* @type {Amount}
|
|
12834
|
+
* @memberof SummarizedTrade
|
|
12835
|
+
*/
|
|
12836
|
+
openAvgQuotation: Amount;
|
|
12561
12837
|
/**
|
|
12562
12838
|
*
|
|
12563
12839
|
* @type {Date}
|
|
@@ -12779,11 +13055,11 @@ export declare type TokenSet = {
|
|
|
12779
13055
|
*/
|
|
12780
13056
|
declare class TradeApi extends runtime.BaseAPI {
|
|
12781
13057
|
/**
|
|
12782
|
-
* Create a trade. It is possible that the broker rejects the order because of some extra hints that the user must accept (which can not be figured out in `prepareTrade`, e.g. because the order volume has to be determined first). In
|
|
13058
|
+
* Create a trade. It is possible that the broker rejects the order because of some extra hints that the user must accept (which can not be figured out in `prepareTrade`, e.g. because the order volume has to be determined first). In this case, the `MUST_ACCEPT_HINT` error code is returned. The user can choose to accept that hint. If that is the case, the request can be retried with the `acceptHintId` parameter.
|
|
12783
13059
|
*/
|
|
12784
13060
|
createTradeRaw(requestParameters: CreateTradeRequest, initOverrides?: RequestInit | runtime.InitOverideFunction): Promise<runtime.ApiResponse<CreateTradeResponse>>;
|
|
12785
13061
|
/**
|
|
12786
|
-
* Create a trade. It is possible that the broker rejects the order because of some extra hints that the user must accept (which can not be figured out in `prepareTrade`, e.g. because the order volume has to be determined first). In
|
|
13062
|
+
* Create a trade. It is possible that the broker rejects the order because of some extra hints that the user must accept (which can not be figured out in `prepareTrade`, e.g. because the order volume has to be determined first). In this case, the `MUST_ACCEPT_HINT` error code is returned. The user can choose to accept that hint. If that is the case, the request can be retried with the `acceptHintId` parameter.
|
|
12787
13063
|
*/
|
|
12788
13064
|
createTrade(requestParameters: CreateTradeRequest, initOverrides?: RequestInit | runtime.InitOverideFunction): Promise<CreateTradeResponse>;
|
|
12789
13065
|
/**
|
|
@@ -13128,6 +13404,30 @@ declare function TradeDraftUpdateParamsToJSONRecursive(value?: TradeDraftUpdateP
|
|
|
13128
13404
|
* @interface TradeStatistics
|
|
13129
13405
|
*/
|
|
13130
13406
|
declare interface TradeStatistics {
|
|
13407
|
+
/**
|
|
13408
|
+
*
|
|
13409
|
+
* @type {Amount}
|
|
13410
|
+
* @memberof TradeStatistics
|
|
13411
|
+
*/
|
|
13412
|
+
avgLossAbs?: Amount;
|
|
13413
|
+
/**
|
|
13414
|
+
*
|
|
13415
|
+
* @type {Amount}
|
|
13416
|
+
* @memberof TradeStatistics
|
|
13417
|
+
*/
|
|
13418
|
+
avgProfitAbs?: Amount;
|
|
13419
|
+
/**
|
|
13420
|
+
*
|
|
13421
|
+
* @type {Amount}
|
|
13422
|
+
* @memberof TradeStatistics
|
|
13423
|
+
*/
|
|
13424
|
+
avgProfitLossAbs?: Amount;
|
|
13425
|
+
/**
|
|
13426
|
+
*
|
|
13427
|
+
* @type {SummarizedTrade}
|
|
13428
|
+
* @memberof TradeStatistics
|
|
13429
|
+
*/
|
|
13430
|
+
bestTrade?: SummarizedTrade;
|
|
13131
13431
|
/**
|
|
13132
13432
|
* Which fraction of the trades where winners. 1 is 100%, so a value of 1 would indicate
|
|
13133
13433
|
* "all trades were winners".
|
|
@@ -13159,6 +13459,19 @@ declare interface TradeStatistics {
|
|
|
13159
13459
|
* @memberof TradeStatistics
|
|
13160
13460
|
*/
|
|
13161
13461
|
loserCount: number;
|
|
13462
|
+
/**
|
|
13463
|
+
* Profits/Losses. E.g. if there were 2000€ profits in winning trades and 1000€ losses in losing trades,
|
|
13464
|
+
* the profitFactor would be 2000€ / 1000€ = 2.
|
|
13465
|
+
* @type {number}
|
|
13466
|
+
* @memberof TradeStatistics
|
|
13467
|
+
*/
|
|
13468
|
+
profitFactor?: number;
|
|
13469
|
+
/**
|
|
13470
|
+
*
|
|
13471
|
+
* @type {Amount}
|
|
13472
|
+
* @memberof TradeStatistics
|
|
13473
|
+
*/
|
|
13474
|
+
profitLossAbs?: Amount;
|
|
13162
13475
|
/**
|
|
13163
13476
|
* How many trades are part of the calculation.
|
|
13164
13477
|
* @type {number}
|
|
@@ -13171,6 +13484,12 @@ declare interface TradeStatistics {
|
|
|
13171
13484
|
* @memberof TradeStatistics
|
|
13172
13485
|
*/
|
|
13173
13486
|
winnerCount: number;
|
|
13487
|
+
/**
|
|
13488
|
+
*
|
|
13489
|
+
* @type {SummarizedTrade}
|
|
13490
|
+
* @memberof TradeStatistics
|
|
13491
|
+
*/
|
|
13492
|
+
worstTrade?: SummarizedTrade;
|
|
13174
13493
|
}
|
|
13175
13494
|
|
|
13176
13495
|
/**
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* Do not edit the class manually.
|
|
10
10
|
*/
|
|
11
11
|
import * as runtime from "../runtime";
|
|
12
|
-
import { CancelOrderChallengeParams, CancelOrderParams, Challenge } from "../models";
|
|
12
|
+
import { CancelOrderChallengeParams, CancelOrderParams, CancelOrderResponse, Challenge } from "../models";
|
|
13
13
|
export interface CancelOrderRequest {
|
|
14
14
|
id: string;
|
|
15
15
|
cancelOrderParams: CancelOrderParams;
|
|
@@ -23,13 +23,13 @@ export interface CreateCancelOrderChallengeRequest {
|
|
|
23
23
|
*/
|
|
24
24
|
export declare class CancelOrderApi extends runtime.BaseAPI {
|
|
25
25
|
/**
|
|
26
|
-
*
|
|
26
|
+
* Cancel the given order (or in the case of decoupled authMethods: send the order cancellation to the user for confirmation. In this case, a decoupledOperationId is returned).
|
|
27
27
|
*/
|
|
28
|
-
cancelOrderRaw(requestParameters: CancelOrderRequest, initOverrides?: RequestInit | runtime.InitOverideFunction): Promise<runtime.ApiResponse<
|
|
28
|
+
cancelOrderRaw(requestParameters: CancelOrderRequest, initOverrides?: RequestInit | runtime.InitOverideFunction): Promise<runtime.ApiResponse<CancelOrderResponse>>;
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
30
|
+
* Cancel the given order (or in the case of decoupled authMethods: send the order cancellation to the user for confirmation. In this case, a decoupledOperationId is returned).
|
|
31
31
|
*/
|
|
32
|
-
cancelOrder(requestParameters: CancelOrderRequest, initOverrides?: RequestInit | runtime.InitOverideFunction): Promise<
|
|
32
|
+
cancelOrder(requestParameters: CancelOrderRequest, initOverrides?: RequestInit | runtime.InitOverideFunction): Promise<CancelOrderResponse>;
|
|
33
33
|
/**
|
|
34
34
|
* If the user chose an auth method from `GetAuthInfo` with the flow `CHALLENGE_RESPONSE`, before cancelling an order, a challenge must be requested first. If any other flow is used, a challenge *must not* be requested and `CancelOrder` is used right away.
|
|
35
35
|
*/
|
|
@@ -11,13 +11,13 @@
|
|
|
11
11
|
* Do not edit the class manually.
|
|
12
12
|
*/
|
|
13
13
|
import * as runtime from "../runtime";
|
|
14
|
-
import { CancelOrderChallengeParamsToJSON, CancelOrderParamsToJSON, ChallengeFromJSON, } from "../models";
|
|
14
|
+
import { CancelOrderChallengeParamsToJSON, CancelOrderParamsToJSON, CancelOrderResponseFromJSON, ChallengeFromJSON, } from "../models";
|
|
15
15
|
/**
|
|
16
16
|
*
|
|
17
17
|
*/
|
|
18
18
|
export class CancelOrderApi extends runtime.BaseAPI {
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
20
|
+
* Cancel the given order (or in the case of decoupled authMethods: send the order cancellation to the user for confirmation. In this case, a decoupledOperationId is returned).
|
|
21
21
|
*/
|
|
22
22
|
async cancelOrderRaw(requestParameters, initOverrides) {
|
|
23
23
|
if (requestParameters.id === null || requestParameters.id === undefined) {
|
|
@@ -48,13 +48,14 @@ export class CancelOrderApi extends runtime.BaseAPI {
|
|
|
48
48
|
query: queryParameters,
|
|
49
49
|
body: CancelOrderParamsToJSON(requestParameters.cancelOrderParams),
|
|
50
50
|
}, initOverrides);
|
|
51
|
-
return new runtime.
|
|
51
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => CancelOrderResponseFromJSON(jsonValue));
|
|
52
52
|
}
|
|
53
53
|
/**
|
|
54
|
-
*
|
|
54
|
+
* Cancel the given order (or in the case of decoupled authMethods: send the order cancellation to the user for confirmation. In this case, a decoupledOperationId is returned).
|
|
55
55
|
*/
|
|
56
56
|
async cancelOrder(requestParameters, initOverrides) {
|
|
57
|
-
await this.cancelOrderRaw(requestParameters, initOverrides);
|
|
57
|
+
const response = await this.cancelOrderRaw(requestParameters, initOverrides);
|
|
58
|
+
return await response.value();
|
|
58
59
|
}
|
|
59
60
|
/**
|
|
60
61
|
* If the user chose an auth method from `GetAuthInfo` with the flow `CHALLENGE_RESPONSE`, before cancelling an order, a challenge must be requested first. If any other flow is used, a challenge *must not* be requested and `CancelOrder` is used right away.
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* Do not edit the class manually.
|
|
10
10
|
*/
|
|
11
11
|
import * as runtime from "../runtime";
|
|
12
|
-
import { Challenge, ChangeOrderChallengeParams, ChangeOrderParams, EstimateChangeOrderCostsParams, OrderCostEstimation } from "../models";
|
|
12
|
+
import { Challenge, ChangeOrderChallengeParams, ChangeOrderParams, ChangeOrderResponse, EstimateChangeOrderCostsParams, OrderCostEstimation } from "../models";
|
|
13
13
|
export interface ChangeOrderRequest {
|
|
14
14
|
id: string;
|
|
15
15
|
changeOrderParams: ChangeOrderParams;
|
|
@@ -29,11 +29,11 @@ export declare class ChangeOrderApi extends runtime.BaseAPI {
|
|
|
29
29
|
/**
|
|
30
30
|
* Perform an order change.
|
|
31
31
|
*/
|
|
32
|
-
changeOrderRaw(requestParameters: ChangeOrderRequest, initOverrides?: RequestInit | runtime.InitOverideFunction): Promise<runtime.ApiResponse<
|
|
32
|
+
changeOrderRaw(requestParameters: ChangeOrderRequest, initOverrides?: RequestInit | runtime.InitOverideFunction): Promise<runtime.ApiResponse<ChangeOrderResponse>>;
|
|
33
33
|
/**
|
|
34
34
|
* Perform an order change.
|
|
35
35
|
*/
|
|
36
|
-
changeOrder(requestParameters: ChangeOrderRequest, initOverrides?: RequestInit | runtime.InitOverideFunction): Promise<
|
|
36
|
+
changeOrder(requestParameters: ChangeOrderRequest, initOverrides?: RequestInit | runtime.InitOverideFunction): Promise<ChangeOrderResponse>;
|
|
37
37
|
/**
|
|
38
38
|
* If the user chose an auth method from `GetAuthInfo` with the flow `CHALLENGE_RESPONSE`, before changing an order, a challenge must be requested first. If any other flow is used, a challenge *must not* be requested and `ChangeOrder` is used right away.
|
|
39
39
|
*/
|