@brokerize/client 1.1.0 → 1.1.1

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 CHANGED
@@ -3899,6 +3899,15 @@ declare function DemoAccountFromJSONTyped(json: any, ignoreDiscriminator: boolea
3899
3899
  * @interface DemoAccountSettings
3900
3900
  */
3901
3901
  declare interface DemoAccountSettings {
3902
+ /**
3903
+ * Set an `authMethodStyle` to test different auth method behaviors. The following values are currently supported:
3904
+ * - `default`: the broker will have various methods with different flows
3905
+ * - `lazy`: the demo account reveals the complete list of auth methods only after the first session TAN challenge request. This also sets `allOperationsRequireSessionTan` to `true` for the account.
3906
+ * - `one-decoupled`: the account will have *one auth method* with flow `DECOUPLED` (also sets `allOperationsRequireSessionTan=true`)
3907
+ * @type {string}
3908
+ * @memberof DemoAccountSettings
3909
+ */
3910
+ authMethodStyle?: string;
3902
3911
  /**
3903
3912
  * Set this to `true` to create a single depot instead of the default two
3904
3913
  * @type {boolean}
@@ -3912,6 +3921,7 @@ declare interface DemoAccountSettings {
3912
3921
  * This also sets `allOperationsRequireSessionTan` to `true` for the account.
3913
3922
  * @type {boolean}
3914
3923
  * @memberof DemoAccountSettings
3924
+ * @deprecated
3915
3925
  */
3916
3926
  lazyAuthMethods?: boolean;
3917
3927
  /**
@@ -14,6 +14,15 @@
14
14
  * @interface DemoAccountSettings
15
15
  */
16
16
  export interface DemoAccountSettings {
17
+ /**
18
+ * Set an `authMethodStyle` to test different auth method behaviors. The following values are currently supported:
19
+ * - `default`: the broker will have various methods with different flows
20
+ * - `lazy`: the demo account reveals the complete list of auth methods only after the first session TAN challenge request. This also sets `allOperationsRequireSessionTan` to `true` for the account.
21
+ * - `one-decoupled`: the account will have *one auth method* with flow `DECOUPLED` (also sets `allOperationsRequireSessionTan=true`)
22
+ * @type {string}
23
+ * @memberof DemoAccountSettings
24
+ */
25
+ authMethodStyle?: string;
17
26
  /**
18
27
  * Set this to `true` to create a single depot instead of the default two
19
28
  * @type {boolean}
@@ -27,6 +36,7 @@ export interface DemoAccountSettings {
27
36
  * This also sets `allOperationsRequireSessionTan` to `true` for the account.
28
37
  * @type {boolean}
29
38
  * @memberof DemoAccountSettings
39
+ * @deprecated
30
40
  */
31
41
  lazyAuthMethods?: boolean;
32
42
  /**
@@ -19,6 +19,9 @@ export function DemoAccountSettingsFromJSONTyped(json, ignoreDiscriminator) {
19
19
  return json;
20
20
  }
21
21
  return {
22
+ authMethodStyle: !exists(json, "authMethodStyle")
23
+ ? undefined
24
+ : json["authMethodStyle"],
22
25
  isSinglePortfolio: !exists(json, "isSinglePortfolio")
23
26
  ? undefined
24
27
  : json["isSinglePortfolio"],
@@ -39,6 +42,7 @@ export function DemoAccountSettingsToJSONRecursive(value, ignoreParent = false)
39
42
  return null;
40
43
  }
41
44
  return {
45
+ authMethodStyle: value.authMethodStyle,
42
46
  isSinglePortfolio: value.isSinglePortfolio,
43
47
  lazyAuthMethods: value.lazyAuthMethods,
44
48
  seedOrders: value.seedOrders,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brokerize/client",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "Client for the brokerize.com API",
5
5
  "keywords": [],
6
6
  "homepage": "https://github.com/brokerize/client-js#readme",