@brokerize/client 1.4.0 → 1.5.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/client.d.ts +88 -3
- package/dist/modelExports.d.ts +1 -0
- package/dist/swagger/models/ClientConfig.d.ts +17 -1
- package/dist/swagger/models/ClientConfig.js +8 -0
- package/dist/swagger/models/ClientConfigUpdate.d.ts +19 -1
- package/dist/swagger/models/ClientConfigUpdate.js +8 -0
- package/dist/swagger/models/Order.d.ts +6 -0
- package/dist/swagger/models/Order.js +4 -0
- package/dist/swagger/models/OrderCostEstimation.d.ts +1 -1
- package/dist/swagger/models/Security.d.ts +7 -0
- package/dist/swagger/models/Security.js +5 -0
- package/dist/swagger/models/SecurityLogoUrls.d.ts +28 -0
- package/dist/swagger/models/SecurityLogoUrls.js +38 -0
- package/dist/swagger/models/index.d.ts +1 -0
- package/dist/swagger/models/index.js +1 -0
- package/package.json +1 -1
package/dist/client.d.ts
CHANGED
|
@@ -2545,6 +2545,13 @@ declare interface ClientConfig {
|
|
|
2545
2545
|
* @memberof ClientConfig
|
|
2546
2546
|
*/
|
|
2547
2547
|
allowRequestsWithoutOrigin: boolean;
|
|
2548
|
+
/**
|
|
2549
|
+
* If true, security logo URLs (`Security.logos`) are returned with positions/orders for this client.
|
|
2550
|
+
* Logos are served via `logos.brokerize.com`.
|
|
2551
|
+
* @type {boolean}
|
|
2552
|
+
* @memberof ClientConfig
|
|
2553
|
+
*/
|
|
2554
|
+
allowSecurityLogos?: boolean;
|
|
2548
2555
|
/**
|
|
2549
2556
|
*
|
|
2550
2557
|
* @type {Array<string>}
|
|
@@ -2585,11 +2592,20 @@ declare interface ClientConfig {
|
|
|
2585
2592
|
*/
|
|
2586
2593
|
enabled: boolean;
|
|
2587
2594
|
/**
|
|
2588
|
-
*
|
|
2595
|
+
* How long guest users will be kept after their last activity.
|
|
2596
|
+
* If the user has set up a RecoveryPhrase, `guestUserInactivityTimeoutSecondsRecoveryPhrase` is used instead (if defined).
|
|
2589
2597
|
* @type {number}
|
|
2590
2598
|
* @memberof ClientConfig
|
|
2591
2599
|
*/
|
|
2592
2600
|
guestUserInactivityTimeoutSeconds?: number;
|
|
2601
|
+
/**
|
|
2602
|
+
* How long guest users will be kept after their last activity *if they have a RecoveryPhrase*.
|
|
2603
|
+
*
|
|
2604
|
+
* If the user has no RecoveryPhrase, `guestUserInactivityTimeoutSeconds` is used instead (if defined).
|
|
2605
|
+
* @type {number}
|
|
2606
|
+
* @memberof ClientConfig
|
|
2607
|
+
*/
|
|
2608
|
+
guestUserInactivityTimeoutSecondsRecoveryPhrase?: number;
|
|
2593
2609
|
/**
|
|
2594
2610
|
*
|
|
2595
2611
|
* @type {GuestUserLifetime}
|
|
@@ -2732,6 +2748,15 @@ declare interface ClientConfigUpdate {
|
|
|
2732
2748
|
* @memberof ClientConfigUpdate
|
|
2733
2749
|
*/
|
|
2734
2750
|
allowRequestsWithoutOrigin?: boolean;
|
|
2751
|
+
/**
|
|
2752
|
+
* If true, security logo URLs (`Security.logos`) are returned with positions/orders for this client.
|
|
2753
|
+
* Logos are served via `logos.brokerize.com`.
|
|
2754
|
+
*
|
|
2755
|
+
* Default is false.
|
|
2756
|
+
* @type {boolean}
|
|
2757
|
+
* @memberof ClientConfigUpdate
|
|
2758
|
+
*/
|
|
2759
|
+
allowSecurityLogos?: boolean;
|
|
2735
2760
|
/**
|
|
2736
2761
|
*
|
|
2737
2762
|
* @type {Array<string>}
|
|
@@ -2783,11 +2808,20 @@ declare interface ClientConfigUpdate {
|
|
|
2783
2808
|
*/
|
|
2784
2809
|
enabled?: boolean;
|
|
2785
2810
|
/**
|
|
2786
|
-
*
|
|
2811
|
+
* How long guest users will be kept after their last activity.
|
|
2812
|
+
* If the user has set up a RecoveryPhrase, `guestUserInactivityTimeoutSecondsRecoveryPhrase` is used instead (if defined).
|
|
2787
2813
|
* @type {number}
|
|
2788
2814
|
* @memberof ClientConfigUpdate
|
|
2789
2815
|
*/
|
|
2790
2816
|
guestUserInactivityTimeoutSeconds?: number | null;
|
|
2817
|
+
/**
|
|
2818
|
+
* How long guest users will be kept after their last activity *if they have a RecoveryPhrase*.
|
|
2819
|
+
*
|
|
2820
|
+
* If the user has no RecoveryPhrase, `guestUserInactivityTimeoutSeconds` is used instead (if defined).
|
|
2821
|
+
* @type {number}
|
|
2822
|
+
* @memberof ClientConfigUpdate
|
|
2823
|
+
*/
|
|
2824
|
+
guestUserInactivityTimeoutSecondsRecoveryPhrase?: number | null;
|
|
2791
2825
|
/**
|
|
2792
2826
|
*
|
|
2793
2827
|
* @type {GuestUserLifetime}
|
|
@@ -7842,6 +7876,7 @@ declare namespace Models {
|
|
|
7842
7876
|
Security,
|
|
7843
7877
|
SecuritySelector,
|
|
7844
7878
|
SecurityDetailedInfo,
|
|
7879
|
+
SecurityLogoUrls,
|
|
7845
7880
|
SellPosition,
|
|
7846
7881
|
Session,
|
|
7847
7882
|
SessionResponse,
|
|
@@ -9224,6 +9259,11 @@ declare namespace openApiClient {
|
|
|
9224
9259
|
SecurityDetailedInfoToJSONRecursive,
|
|
9225
9260
|
SecurityDetailedInfoToJSON,
|
|
9226
9261
|
SecurityDetailedInfo,
|
|
9262
|
+
SecurityLogoUrlsFromJSON,
|
|
9263
|
+
SecurityLogoUrlsFromJSONTyped,
|
|
9264
|
+
SecurityLogoUrlsToJSONRecursive,
|
|
9265
|
+
SecurityLogoUrlsToJSON,
|
|
9266
|
+
SecurityLogoUrls,
|
|
9227
9267
|
SecurityQuoteFromJSON,
|
|
9228
9268
|
SecurityQuoteFromJSONTyped,
|
|
9229
9269
|
SecurityQuoteToJSONRecursive,
|
|
@@ -9612,6 +9652,12 @@ declare interface Order {
|
|
|
9612
9652
|
* @memberof Order
|
|
9613
9653
|
*/
|
|
9614
9654
|
intent?: OrderIntentEnum;
|
|
9655
|
+
/**
|
|
9656
|
+
* If this is true, the order data retrieved from the broker is incomplete. Fields may be missing or be incomplete.
|
|
9657
|
+
* @type {boolean}
|
|
9658
|
+
* @memberof Order
|
|
9659
|
+
*/
|
|
9660
|
+
isIncomplete?: boolean;
|
|
9615
9661
|
/**
|
|
9616
9662
|
* The ISIN of the security to trade, if applicable. Note that at least one of `isin` and `usTicker` must be set.
|
|
9617
9663
|
*
|
|
@@ -9955,7 +10001,7 @@ declare interface OrderCostEstimation {
|
|
|
9955
10001
|
/**
|
|
9956
10002
|
* If present, users have to accept this message before creating an order.
|
|
9957
10003
|
* If accepting the costs and performing the order is one click (which is allowed), the create order button label
|
|
9958
|
-
* must contain the information that costs are accepted.
|
|
10004
|
+
* must contain the information that costs are accepted. May contain (some) HTML
|
|
9959
10005
|
* @type {string}
|
|
9960
10006
|
* @memberof OrderCostEstimation
|
|
9961
10007
|
*/
|
|
@@ -12452,6 +12498,12 @@ declare interface Security {
|
|
|
12452
12498
|
* @deprecated
|
|
12453
12499
|
*/
|
|
12454
12500
|
isin?: string;
|
|
12501
|
+
/**
|
|
12502
|
+
*
|
|
12503
|
+
* @type {SecurityLogoUrls}
|
|
12504
|
+
* @memberof Security
|
|
12505
|
+
*/
|
|
12506
|
+
logos?: SecurityLogoUrls;
|
|
12455
12507
|
/**
|
|
12456
12508
|
*
|
|
12457
12509
|
* @type {string}
|
|
@@ -12552,6 +12604,39 @@ declare function SecurityFromJSON(json: any): Security;
|
|
|
12552
12604
|
|
|
12553
12605
|
declare function SecurityFromJSONTyped(json: any, ignoreDiscriminator: boolean): Security;
|
|
12554
12606
|
|
|
12607
|
+
/**
|
|
12608
|
+
* brokerize
|
|
12609
|
+
* The brokerize API allows clients to implement multi-brokerage with a unified interface. For more information, visit brokerize.com
|
|
12610
|
+
*
|
|
12611
|
+
*
|
|
12612
|
+
*
|
|
12613
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12614
|
+
* https://openapi-generator.tech
|
|
12615
|
+
* Do not edit the class manually.
|
|
12616
|
+
*/
|
|
12617
|
+
/**
|
|
12618
|
+
* URLs to logos (e.g. company logos) for a security. Only present if the
|
|
12619
|
+
* client is configured to receive logos (`allowSecurityLogos`).
|
|
12620
|
+
* @export
|
|
12621
|
+
* @interface SecurityLogoUrls
|
|
12622
|
+
*/
|
|
12623
|
+
declare interface SecurityLogoUrls {
|
|
12624
|
+
/**
|
|
12625
|
+
* Square SVG logo. Directly embeddable URL served via `logos.brokerize.com`.
|
|
12626
|
+
* @type {string}
|
|
12627
|
+
* @memberof SecurityLogoUrls
|
|
12628
|
+
*/
|
|
12629
|
+
svgSquare?: string;
|
|
12630
|
+
}
|
|
12631
|
+
|
|
12632
|
+
declare function SecurityLogoUrlsFromJSON(json: any): SecurityLogoUrls;
|
|
12633
|
+
|
|
12634
|
+
declare function SecurityLogoUrlsFromJSONTyped(json: any, ignoreDiscriminator: boolean): SecurityLogoUrls;
|
|
12635
|
+
|
|
12636
|
+
declare function SecurityLogoUrlsToJSON(value?: SecurityLogoUrls | null): any;
|
|
12637
|
+
|
|
12638
|
+
declare function SecurityLogoUrlsToJSONRecursive(value?: SecurityLogoUrls | null, ignoreParent?: boolean): any;
|
|
12639
|
+
|
|
12555
12640
|
/**
|
|
12556
12641
|
* brokerize
|
|
12557
12642
|
* The brokerize API allows clients to implement multi-brokerage with a unified interface. For more information, visit brokerize.com
|
package/dist/modelExports.d.ts
CHANGED
|
@@ -135,6 +135,7 @@ export { RiskClassInfo } from "./swagger/models/RiskClassInfo";
|
|
|
135
135
|
export { Security } from "./swagger/models/Security";
|
|
136
136
|
export { SecuritySelector } from "./swagger/models/SecuritySelector";
|
|
137
137
|
export { SecurityDetailedInfo } from "./swagger/models/SecurityDetailedInfo";
|
|
138
|
+
export { SecurityLogoUrls } from "./swagger/models/SecurityLogoUrls";
|
|
138
139
|
export { SellPosition } from "./swagger/models/SellPosition";
|
|
139
140
|
export { Session } from "./swagger/models/Session";
|
|
140
141
|
export { SessionResponse } from "./swagger/models/SessionResponse";
|
|
@@ -25,6 +25,13 @@ export interface ClientConfig {
|
|
|
25
25
|
* @memberof ClientConfig
|
|
26
26
|
*/
|
|
27
27
|
allowRequestsWithoutOrigin: boolean;
|
|
28
|
+
/**
|
|
29
|
+
* If true, security logo URLs (`Security.logos`) are returned with positions/orders for this client.
|
|
30
|
+
* Logos are served via `logos.brokerize.com`.
|
|
31
|
+
* @type {boolean}
|
|
32
|
+
* @memberof ClientConfig
|
|
33
|
+
*/
|
|
34
|
+
allowSecurityLogos?: boolean;
|
|
28
35
|
/**
|
|
29
36
|
*
|
|
30
37
|
* @type {Array<string>}
|
|
@@ -65,11 +72,20 @@ export interface ClientConfig {
|
|
|
65
72
|
*/
|
|
66
73
|
enabled: boolean;
|
|
67
74
|
/**
|
|
68
|
-
*
|
|
75
|
+
* How long guest users will be kept after their last activity.
|
|
76
|
+
* If the user has set up a RecoveryPhrase, `guestUserInactivityTimeoutSecondsRecoveryPhrase` is used instead (if defined).
|
|
69
77
|
* @type {number}
|
|
70
78
|
* @memberof ClientConfig
|
|
71
79
|
*/
|
|
72
80
|
guestUserInactivityTimeoutSeconds?: number;
|
|
81
|
+
/**
|
|
82
|
+
* How long guest users will be kept after their last activity *if they have a RecoveryPhrase*.
|
|
83
|
+
*
|
|
84
|
+
* If the user has no RecoveryPhrase, `guestUserInactivityTimeoutSeconds` is used instead (if defined).
|
|
85
|
+
* @type {number}
|
|
86
|
+
* @memberof ClientConfig
|
|
87
|
+
*/
|
|
88
|
+
guestUserInactivityTimeoutSecondsRecoveryPhrase?: number;
|
|
73
89
|
/**
|
|
74
90
|
*
|
|
75
91
|
* @type {GuestUserLifetime}
|
|
@@ -25,6 +25,9 @@ export function ClientConfigFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
25
25
|
}
|
|
26
26
|
return {
|
|
27
27
|
allowRequestsWithoutOrigin: json["allowRequestsWithoutOrigin"],
|
|
28
|
+
allowSecurityLogos: !exists(json, "allowSecurityLogos")
|
|
29
|
+
? undefined
|
|
30
|
+
: json["allowSecurityLogos"],
|
|
28
31
|
allowedOrigins: json["allowedOrigins"],
|
|
29
32
|
allowedOriginsRegularExpressions: !exists(json, "allowedOriginsRegularExpressions")
|
|
30
33
|
? undefined
|
|
@@ -38,6 +41,9 @@ export function ClientConfigFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
38
41
|
guestUserInactivityTimeoutSeconds: !exists(json, "guestUserInactivityTimeoutSeconds")
|
|
39
42
|
? undefined
|
|
40
43
|
: json["guestUserInactivityTimeoutSeconds"],
|
|
44
|
+
guestUserInactivityTimeoutSecondsRecoveryPhrase: !exists(json, "guestUserInactivityTimeoutSecondsRecoveryPhrase")
|
|
45
|
+
? undefined
|
|
46
|
+
: json["guestUserInactivityTimeoutSecondsRecoveryPhrase"],
|
|
41
47
|
guestUserLifetime: !exists(json, "guestUserLifetime")
|
|
42
48
|
? undefined
|
|
43
49
|
: GuestUserLifetimeFromJSON(json["guestUserLifetime"]),
|
|
@@ -76,6 +82,7 @@ export function ClientConfigToJSONRecursive(value, ignoreParent = false) {
|
|
|
76
82
|
}
|
|
77
83
|
return {
|
|
78
84
|
allowRequestsWithoutOrigin: value.allowRequestsWithoutOrigin,
|
|
85
|
+
allowSecurityLogos: value.allowSecurityLogos,
|
|
79
86
|
allowedOrigins: value.allowedOrigins,
|
|
80
87
|
allowedOriginsRegularExpressions: value.allowedOriginsRegularExpressions,
|
|
81
88
|
brokerEnvFilter: mapValues(value.brokerEnvFilter, BrokerEnvFilterTypeToJSON),
|
|
@@ -83,6 +90,7 @@ export function ClientConfigToJSONRecursive(value, ignoreParent = false) {
|
|
|
83
90
|
cryptoTradingAllowed: value.cryptoTradingAllowed,
|
|
84
91
|
enabled: value.enabled,
|
|
85
92
|
guestUserInactivityTimeoutSeconds: value.guestUserInactivityTimeoutSeconds,
|
|
93
|
+
guestUserInactivityTimeoutSecondsRecoveryPhrase: value.guestUserInactivityTimeoutSecondsRecoveryPhrase,
|
|
86
94
|
guestUserLifetime: GuestUserLifetimeToJSON(value.guestUserLifetime),
|
|
87
95
|
hideOfflinePortfolios: value.hideOfflinePortfolios,
|
|
88
96
|
legalEntityName: value.legalEntityName,
|
|
@@ -28,6 +28,15 @@ export interface ClientConfigUpdate {
|
|
|
28
28
|
* @memberof ClientConfigUpdate
|
|
29
29
|
*/
|
|
30
30
|
allowRequestsWithoutOrigin?: boolean;
|
|
31
|
+
/**
|
|
32
|
+
* If true, security logo URLs (`Security.logos`) are returned with positions/orders for this client.
|
|
33
|
+
* Logos are served via `logos.brokerize.com`.
|
|
34
|
+
*
|
|
35
|
+
* Default is false.
|
|
36
|
+
* @type {boolean}
|
|
37
|
+
* @memberof ClientConfigUpdate
|
|
38
|
+
*/
|
|
39
|
+
allowSecurityLogos?: boolean;
|
|
31
40
|
/**
|
|
32
41
|
*
|
|
33
42
|
* @type {Array<string>}
|
|
@@ -79,11 +88,20 @@ export interface ClientConfigUpdate {
|
|
|
79
88
|
*/
|
|
80
89
|
enabled?: boolean;
|
|
81
90
|
/**
|
|
82
|
-
*
|
|
91
|
+
* How long guest users will be kept after their last activity.
|
|
92
|
+
* If the user has set up a RecoveryPhrase, `guestUserInactivityTimeoutSecondsRecoveryPhrase` is used instead (if defined).
|
|
83
93
|
* @type {number}
|
|
84
94
|
* @memberof ClientConfigUpdate
|
|
85
95
|
*/
|
|
86
96
|
guestUserInactivityTimeoutSeconds?: number | null;
|
|
97
|
+
/**
|
|
98
|
+
* How long guest users will be kept after their last activity *if they have a RecoveryPhrase*.
|
|
99
|
+
*
|
|
100
|
+
* If the user has no RecoveryPhrase, `guestUserInactivityTimeoutSeconds` is used instead (if defined).
|
|
101
|
+
* @type {number}
|
|
102
|
+
* @memberof ClientConfigUpdate
|
|
103
|
+
*/
|
|
104
|
+
guestUserInactivityTimeoutSecondsRecoveryPhrase?: number | null;
|
|
87
105
|
/**
|
|
88
106
|
*
|
|
89
107
|
* @type {GuestUserLifetime}
|
|
@@ -30,6 +30,9 @@ export function ClientConfigUpdateFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
30
30
|
allowRequestsWithoutOrigin: !exists(json, "allowRequestsWithoutOrigin")
|
|
31
31
|
? undefined
|
|
32
32
|
: json["allowRequestsWithoutOrigin"],
|
|
33
|
+
allowSecurityLogos: !exists(json, "allowSecurityLogos")
|
|
34
|
+
? undefined
|
|
35
|
+
: json["allowSecurityLogos"],
|
|
33
36
|
allowedOrigins: !exists(json, "allowedOrigins")
|
|
34
37
|
? undefined
|
|
35
38
|
: json["allowedOrigins"],
|
|
@@ -55,6 +58,9 @@ export function ClientConfigUpdateFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
55
58
|
guestUserInactivityTimeoutSeconds: !exists(json, "guestUserInactivityTimeoutSeconds")
|
|
56
59
|
? undefined
|
|
57
60
|
: json["guestUserInactivityTimeoutSeconds"],
|
|
61
|
+
guestUserInactivityTimeoutSecondsRecoveryPhrase: !exists(json, "guestUserInactivityTimeoutSecondsRecoveryPhrase")
|
|
62
|
+
? undefined
|
|
63
|
+
: json["guestUserInactivityTimeoutSecondsRecoveryPhrase"],
|
|
58
64
|
guestUserLifetime: !exists(json, "guestUserLifetime")
|
|
59
65
|
? undefined
|
|
60
66
|
: GuestUserLifetimeFromJSON(json["guestUserLifetime"]),
|
|
@@ -110,6 +116,7 @@ export function ClientConfigUpdateToJSONRecursive(value, ignoreParent = false) {
|
|
|
110
116
|
}
|
|
111
117
|
return {
|
|
112
118
|
allowRequestsWithoutOrigin: value.allowRequestsWithoutOrigin,
|
|
119
|
+
allowSecurityLogos: value.allowSecurityLogos,
|
|
113
120
|
allowedOrigins: value.allowedOrigins,
|
|
114
121
|
allowedOriginsRegularExpressions: value.allowedOriginsRegularExpressions,
|
|
115
122
|
brokerClientIds: BrokerClientCfgToJSON(value.brokerClientIds),
|
|
@@ -121,6 +128,7 @@ export function ClientConfigUpdateToJSONRecursive(value, ignoreParent = false) {
|
|
|
121
128
|
cryptoTradingAllowed: value.cryptoTradingAllowed,
|
|
122
129
|
enabled: value.enabled,
|
|
123
130
|
guestUserInactivityTimeoutSeconds: value.guestUserInactivityTimeoutSeconds,
|
|
131
|
+
guestUserInactivityTimeoutSecondsRecoveryPhrase: value.guestUserInactivityTimeoutSecondsRecoveryPhrase,
|
|
124
132
|
guestUserLifetime: GuestUserLifetimeToJSON(value.guestUserLifetime),
|
|
125
133
|
hideOfflinePortfolios: value.hideOfflinePortfolios,
|
|
126
134
|
legalEntityName: value.legalEntityName,
|
|
@@ -222,6 +222,12 @@ export interface Order {
|
|
|
222
222
|
* @memberof Order
|
|
223
223
|
*/
|
|
224
224
|
intent?: OrderIntentEnum;
|
|
225
|
+
/**
|
|
226
|
+
* If this is true, the order data retrieved from the broker is incomplete. Fields may be missing or be incomplete.
|
|
227
|
+
* @type {boolean}
|
|
228
|
+
* @memberof Order
|
|
229
|
+
*/
|
|
230
|
+
isIncomplete?: boolean;
|
|
225
231
|
/**
|
|
226
232
|
* The ISIN of the security to trade, if applicable. Note that at least one of `isin` and `usTicker` must be set.
|
|
227
233
|
*
|
|
@@ -110,6 +110,9 @@ export function OrderFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
110
110
|
id: json["id"],
|
|
111
111
|
ifDoneLimit: !exists(json, "ifDoneLimit") ? undefined : json["ifDoneLimit"],
|
|
112
112
|
intent: !exists(json, "intent") ? undefined : json["intent"],
|
|
113
|
+
isIncomplete: !exists(json, "isIncomplete")
|
|
114
|
+
? undefined
|
|
115
|
+
: json["isIncomplete"],
|
|
113
116
|
isin: json["isin"],
|
|
114
117
|
limit: !exists(json, "limit") ? undefined : json["limit"],
|
|
115
118
|
limitCurrencyIso: !exists(json, "limitCurrencyIso")
|
|
@@ -217,6 +220,7 @@ export function OrderToJSONRecursive(value, ignoreParent = false) {
|
|
|
217
220
|
id: value.id,
|
|
218
221
|
ifDoneLimit: value.ifDoneLimit,
|
|
219
222
|
intent: value.intent,
|
|
223
|
+
isIncomplete: value.isIncomplete,
|
|
220
224
|
isin: value.isin,
|
|
221
225
|
limit: value.limit,
|
|
222
226
|
limitCurrencyIso: value.limitCurrencyIso,
|
|
@@ -20,7 +20,7 @@ export interface OrderCostEstimation {
|
|
|
20
20
|
/**
|
|
21
21
|
* If present, users have to accept this message before creating an order.
|
|
22
22
|
* If accepting the costs and performing the order is one click (which is allowed), the create order button label
|
|
23
|
-
* must contain the information that costs are accepted.
|
|
23
|
+
* must contain the information that costs are accepted. May contain (some) HTML
|
|
24
24
|
* @type {string}
|
|
25
25
|
* @memberof OrderCostEstimation
|
|
26
26
|
*/
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
* https://openapi-generator.tech
|
|
9
9
|
* Do not edit the class manually.
|
|
10
10
|
*/
|
|
11
|
+
import { SecurityLogoUrls } from "./SecurityLogoUrls";
|
|
11
12
|
import { SecuritySelector } from "./SecuritySelector";
|
|
12
13
|
/**
|
|
13
14
|
* A security's basic data like symbols and names.
|
|
@@ -29,6 +30,12 @@ export interface Security {
|
|
|
29
30
|
* @deprecated
|
|
30
31
|
*/
|
|
31
32
|
isin?: string;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {SecurityLogoUrls}
|
|
36
|
+
* @memberof Security
|
|
37
|
+
*/
|
|
38
|
+
logos?: SecurityLogoUrls;
|
|
32
39
|
/**
|
|
33
40
|
*
|
|
34
41
|
* @type {string}
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
* Do not edit the class manually.
|
|
12
12
|
*/
|
|
13
13
|
import { exists } from "../runtime";
|
|
14
|
+
import { SecurityLogoUrlsFromJSON, SecurityLogoUrlsToJSON, } from "./SecurityLogoUrls";
|
|
14
15
|
import { SecuritySelectorFromJSON, SecuritySelectorToJSON, } from "./SecuritySelector";
|
|
15
16
|
/**
|
|
16
17
|
* @export
|
|
@@ -29,6 +30,9 @@ export function SecurityFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
29
30
|
return {
|
|
30
31
|
cryptoCode: !exists(json, "cryptoCode") ? undefined : json["cryptoCode"],
|
|
31
32
|
isin: !exists(json, "isin") ? undefined : json["isin"],
|
|
33
|
+
logos: !exists(json, "logos")
|
|
34
|
+
? undefined
|
|
35
|
+
: SecurityLogoUrlsFromJSON(json["logos"]),
|
|
32
36
|
name: !exists(json, "name") ? undefined : json["name"],
|
|
33
37
|
priceFactor: !exists(json, "priceFactor") ? undefined : json["priceFactor"],
|
|
34
38
|
selector: SecuritySelectorFromJSON(json["selector"]),
|
|
@@ -49,6 +53,7 @@ export function SecurityToJSONRecursive(value, ignoreParent = false) {
|
|
|
49
53
|
return {
|
|
50
54
|
cryptoCode: value.cryptoCode,
|
|
51
55
|
isin: value.isin,
|
|
56
|
+
logos: SecurityLogoUrlsToJSON(value.logos),
|
|
52
57
|
name: value.name,
|
|
53
58
|
priceFactor: value.priceFactor,
|
|
54
59
|
selector: SecuritySelectorToJSON(value.selector),
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* brokerize
|
|
3
|
+
* The brokerize API allows clients to implement multi-brokerage with a unified interface. For more information, visit brokerize.com
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
8
|
+
* https://openapi-generator.tech
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*/
|
|
11
|
+
/**
|
|
12
|
+
* URLs to logos (e.g. company logos) for a security. Only present if the
|
|
13
|
+
* client is configured to receive logos (`allowSecurityLogos`).
|
|
14
|
+
* @export
|
|
15
|
+
* @interface SecurityLogoUrls
|
|
16
|
+
*/
|
|
17
|
+
export interface SecurityLogoUrls {
|
|
18
|
+
/**
|
|
19
|
+
* Square SVG logo. Directly embeddable URL served via `logos.brokerize.com`.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SecurityLogoUrls
|
|
22
|
+
*/
|
|
23
|
+
svgSquare?: string;
|
|
24
|
+
}
|
|
25
|
+
export declare function SecurityLogoUrlsFromJSON(json: any): SecurityLogoUrls;
|
|
26
|
+
export declare function SecurityLogoUrlsFromJSONTyped(json: any, ignoreDiscriminator: boolean): SecurityLogoUrls;
|
|
27
|
+
export declare function SecurityLogoUrlsToJSONRecursive(value?: SecurityLogoUrls | null, ignoreParent?: boolean): any;
|
|
28
|
+
export declare function SecurityLogoUrlsToJSON(value?: SecurityLogoUrls | null): any;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* brokerize
|
|
5
|
+
* The brokerize API allows clients to implement multi-brokerage with a unified interface. For more information, visit brokerize.com
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
*
|
|
9
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
10
|
+
* https://openapi-generator.tech
|
|
11
|
+
* Do not edit the class manually.
|
|
12
|
+
*/
|
|
13
|
+
import { exists } from "../runtime";
|
|
14
|
+
export function SecurityLogoUrlsFromJSON(json) {
|
|
15
|
+
return SecurityLogoUrlsFromJSONTyped(json, false);
|
|
16
|
+
}
|
|
17
|
+
export function SecurityLogoUrlsFromJSONTyped(json, ignoreDiscriminator) {
|
|
18
|
+
if (json === undefined || json === null) {
|
|
19
|
+
return json;
|
|
20
|
+
}
|
|
21
|
+
return {
|
|
22
|
+
svgSquare: !exists(json, "svgSquare") ? undefined : json["svgSquare"],
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
export function SecurityLogoUrlsToJSONRecursive(value, ignoreParent = false) {
|
|
26
|
+
if (value === undefined) {
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
if (value === null) {
|
|
30
|
+
return null;
|
|
31
|
+
}
|
|
32
|
+
return {
|
|
33
|
+
svgSquare: value.svgSquare,
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
export function SecurityLogoUrlsToJSON(value) {
|
|
37
|
+
return SecurityLogoUrlsToJSONRecursive(value, false);
|
|
38
|
+
}
|
|
@@ -209,6 +209,7 @@ export * from "./RenderGenericTableParams";
|
|
|
209
209
|
export * from "./RiskClassInfo";
|
|
210
210
|
export * from "./Security";
|
|
211
211
|
export * from "./SecurityDetailedInfo";
|
|
212
|
+
export * from "./SecurityLogoUrls";
|
|
212
213
|
export * from "./SecurityQuote";
|
|
213
214
|
export * from "./SecurityQuotes";
|
|
214
215
|
export * from "./SecurityQuotesMeta";
|
|
@@ -211,6 +211,7 @@ export * from "./RenderGenericTableParams";
|
|
|
211
211
|
export * from "./RiskClassInfo";
|
|
212
212
|
export * from "./Security";
|
|
213
213
|
export * from "./SecurityDetailedInfo";
|
|
214
|
+
export * from "./SecurityLogoUrls";
|
|
214
215
|
export * from "./SecurityQuote";
|
|
215
216
|
export * from "./SecurityQuotes";
|
|
216
217
|
export * from "./SecurityQuotesMeta";
|