@dynamic-labs/sdk-api 0.0.786 → 0.0.788

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/sdk-api",
3
- "version": "0.0.786",
3
+ "version": "0.0.788",
4
4
  "author": "Dynamic Labs",
5
5
  "license": "Apache-2.0",
6
6
  "publishConfig": {
package/src/index.cjs CHANGED
@@ -558,6 +558,7 @@ var WaasPolicyUpdateRequest = require('./models/WaasPolicyUpdateRequest.cjs');
558
558
  var WaasWalletProperties = require('./models/WaasWalletProperties.cjs');
559
559
  var WaasWalletResponse = require('./models/WaasWalletResponse.cjs');
560
560
  var WaasWalletResponseWallet = require('./models/WaasWalletResponseWallet.cjs');
561
+ var WaasWalletSettings = require('./models/WaasWalletSettings.cjs');
561
562
  var Wallet = require('./models/Wallet.cjs');
562
563
  var WalletAdditionalAddress = require('./models/WalletAdditionalAddress.cjs');
563
564
  var WalletAddressType = require('./models/WalletAddressType.cjs');
@@ -2509,6 +2510,9 @@ exports.WaasWalletResponseToJSON = WaasWalletResponse.WaasWalletResponseToJSON;
2509
2510
  exports.WaasWalletResponseWalletFromJSON = WaasWalletResponseWallet.WaasWalletResponseWalletFromJSON;
2510
2511
  exports.WaasWalletResponseWalletFromJSONTyped = WaasWalletResponseWallet.WaasWalletResponseWalletFromJSONTyped;
2511
2512
  exports.WaasWalletResponseWalletToJSON = WaasWalletResponseWallet.WaasWalletResponseWalletToJSON;
2513
+ exports.WaasWalletSettingsFromJSON = WaasWalletSettings.WaasWalletSettingsFromJSON;
2514
+ exports.WaasWalletSettingsFromJSONTyped = WaasWalletSettings.WaasWalletSettingsFromJSONTyped;
2515
+ exports.WaasWalletSettingsToJSON = WaasWalletSettings.WaasWalletSettingsToJSON;
2512
2516
  exports.WalletFromJSON = Wallet.WalletFromJSON;
2513
2517
  exports.WalletFromJSONTyped = Wallet.WalletFromJSONTyped;
2514
2518
  exports.WalletToJSON = Wallet.WalletToJSON;
package/src/index.js CHANGED
@@ -554,6 +554,7 @@ export { WaasPolicyUpdateRequestFromJSON, WaasPolicyUpdateRequestFromJSONTyped,
554
554
  export { WaasWalletPropertiesFromJSON, WaasWalletPropertiesFromJSONTyped, WaasWalletPropertiesToJSON } from './models/WaasWalletProperties.js';
555
555
  export { WaasWalletResponseFromJSON, WaasWalletResponseFromJSONTyped, WaasWalletResponseToJSON } from './models/WaasWalletResponse.js';
556
556
  export { WaasWalletResponseWalletFromJSON, WaasWalletResponseWalletFromJSONTyped, WaasWalletResponseWalletToJSON } from './models/WaasWalletResponseWallet.js';
557
+ export { WaasWalletSettingsFromJSON, WaasWalletSettingsFromJSONTyped, WaasWalletSettingsToJSON } from './models/WaasWalletSettings.js';
557
558
  export { WalletFromJSON, WalletFromJSONTyped, WalletToJSON } from './models/Wallet.js';
558
559
  export { WalletAdditionalAddressFromJSON, WalletAdditionalAddressFromJSONTyped, WalletAdditionalAddressToJSON } from './models/WalletAdditionalAddress.js';
559
560
  export { WalletAddressType, WalletAddressTypeFromJSON, WalletAddressTypeFromJSONTyped, WalletAddressTypeToJSON } from './models/WalletAddressType.js';
@@ -4,6 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var runtime = require('../runtime.cjs');
6
6
  var ThresholdSignatureScheme = require('./ThresholdSignatureScheme.cjs');
7
+ var WaasWalletSettings = require('./WaasWalletSettings.cjs');
7
8
  var WalletKeyShareInfo = require('./WalletKeyShareInfo.cjs');
8
9
 
9
10
  /* tslint:disable */
@@ -18,6 +19,7 @@ function WaasWalletPropertiesFromJSONTyped(json, ignoreDiscriminator) {
18
19
  'keyShares': !runtime.exists(json, 'keyShares') ? undefined : (json['keyShares'].map(WalletKeyShareInfo.WalletKeyShareInfoFromJSON)),
19
20
  'thresholdSignatureScheme': !runtime.exists(json, 'thresholdSignatureScheme') ? undefined : ThresholdSignatureScheme.ThresholdSignatureSchemeFromJSON(json['thresholdSignatureScheme']),
20
21
  'derivationPath': !runtime.exists(json, 'derivationPath') ? undefined : json['derivationPath'],
22
+ 'settings': !runtime.exists(json, 'settings') ? undefined : WaasWalletSettings.WaasWalletSettingsFromJSON(json['settings']),
21
23
  };
22
24
  }
23
25
  function WaasWalletPropertiesToJSON(value) {
@@ -31,6 +33,7 @@ function WaasWalletPropertiesToJSON(value) {
31
33
  'keyShares': value.keyShares === undefined ? undefined : (value.keyShares.map(WalletKeyShareInfo.WalletKeyShareInfoToJSON)),
32
34
  'thresholdSignatureScheme': ThresholdSignatureScheme.ThresholdSignatureSchemeToJSON(value.thresholdSignatureScheme),
33
35
  'derivationPath': value.derivationPath,
36
+ 'settings': WaasWalletSettings.WaasWalletSettingsToJSON(value.settings),
34
37
  };
35
38
  }
36
39
 
@@ -10,6 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import { ThresholdSignatureScheme } from './ThresholdSignatureScheme';
13
+ import { WaasWalletSettings } from './WaasWalletSettings';
13
14
  import { WalletKeyShareInfo } from './WalletKeyShareInfo';
14
15
  /**
15
16
  *
@@ -35,6 +36,12 @@ export interface WaasWalletProperties {
35
36
  * @memberof WaasWalletProperties
36
37
  */
37
38
  derivationPath?: string;
39
+ /**
40
+ *
41
+ * @type {WaasWalletSettings}
42
+ * @memberof WaasWalletProperties
43
+ */
44
+ settings?: WaasWalletSettings;
38
45
  }
39
46
  export declare function WaasWalletPropertiesFromJSON(json: any): WaasWalletProperties;
40
47
  export declare function WaasWalletPropertiesFromJSONTyped(json: any, ignoreDiscriminator: boolean): WaasWalletProperties;
@@ -1,5 +1,6 @@
1
1
  import { exists } from '../runtime.js';
2
2
  import { ThresholdSignatureSchemeFromJSON, ThresholdSignatureSchemeToJSON } from './ThresholdSignatureScheme.js';
3
+ import { WaasWalletSettingsFromJSON, WaasWalletSettingsToJSON } from './WaasWalletSettings.js';
3
4
  import { WalletKeyShareInfoFromJSON, WalletKeyShareInfoToJSON } from './WalletKeyShareInfo.js';
4
5
 
5
6
  /* tslint:disable */
@@ -14,6 +15,7 @@ function WaasWalletPropertiesFromJSONTyped(json, ignoreDiscriminator) {
14
15
  'keyShares': !exists(json, 'keyShares') ? undefined : (json['keyShares'].map(WalletKeyShareInfoFromJSON)),
15
16
  'thresholdSignatureScheme': !exists(json, 'thresholdSignatureScheme') ? undefined : ThresholdSignatureSchemeFromJSON(json['thresholdSignatureScheme']),
16
17
  'derivationPath': !exists(json, 'derivationPath') ? undefined : json['derivationPath'],
18
+ 'settings': !exists(json, 'settings') ? undefined : WaasWalletSettingsFromJSON(json['settings']),
17
19
  };
18
20
  }
19
21
  function WaasWalletPropertiesToJSON(value) {
@@ -27,6 +29,7 @@ function WaasWalletPropertiesToJSON(value) {
27
29
  'keyShares': value.keyShares === undefined ? undefined : (value.keyShares.map(WalletKeyShareInfoToJSON)),
28
30
  'thresholdSignatureScheme': ThresholdSignatureSchemeToJSON(value.thresholdSignatureScheme),
29
31
  'derivationPath': value.derivationPath,
32
+ 'settings': WaasWalletSettingsToJSON(value.settings),
30
33
  };
31
34
  }
32
35
 
@@ -0,0 +1,38 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var runtime = require('../runtime.cjs');
6
+ var ThresholdSignatureScheme = require('./ThresholdSignatureScheme.cjs');
7
+
8
+ /* tslint:disable */
9
+ function WaasWalletSettingsFromJSON(json) {
10
+ return WaasWalletSettingsFromJSONTyped(json);
11
+ }
12
+ function WaasWalletSettingsFromJSONTyped(json, ignoreDiscriminator) {
13
+ if ((json === undefined) || (json === null)) {
14
+ return json;
15
+ }
16
+ return {
17
+ 'hasDeniedDelegatedAccess': !runtime.exists(json, 'hasDeniedDelegatedAccess') ? undefined : json['hasDeniedDelegatedAccess'],
18
+ 'shouldRefreshOnNextSignOn': !runtime.exists(json, 'shouldRefreshOnNextSignOn') ? undefined : ThresholdSignatureScheme.ThresholdSignatureSchemeFromJSON(json['shouldRefreshOnNextSignOn']),
19
+ 'shouldReshareOnNextSignOn': !runtime.exists(json, 'shouldReshareOnNextSignOn') ? undefined : json['shouldReshareOnNextSignOn'],
20
+ };
21
+ }
22
+ function WaasWalletSettingsToJSON(value) {
23
+ if (value === undefined) {
24
+ return undefined;
25
+ }
26
+ if (value === null) {
27
+ return null;
28
+ }
29
+ return {
30
+ 'hasDeniedDelegatedAccess': value.hasDeniedDelegatedAccess,
31
+ 'shouldRefreshOnNextSignOn': ThresholdSignatureScheme.ThresholdSignatureSchemeToJSON(value.shouldRefreshOnNextSignOn),
32
+ 'shouldReshareOnNextSignOn': value.shouldReshareOnNextSignOn,
33
+ };
34
+ }
35
+
36
+ exports.WaasWalletSettingsFromJSON = WaasWalletSettingsFromJSON;
37
+ exports.WaasWalletSettingsFromJSONTyped = WaasWalletSettingsFromJSONTyped;
38
+ exports.WaasWalletSettingsToJSON = WaasWalletSettingsToJSON;
@@ -0,0 +1,40 @@
1
+ /**
2
+ * Dashboard API
3
+ * Dashboard API documentation
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { ThresholdSignatureScheme } from './ThresholdSignatureScheme';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface WaasWalletSettings
17
+ */
18
+ export interface WaasWalletSettings {
19
+ /**
20
+ *
21
+ * @type {boolean}
22
+ * @memberof WaasWalletSettings
23
+ */
24
+ hasDeniedDelegatedAccess?: boolean;
25
+ /**
26
+ *
27
+ * @type {ThresholdSignatureScheme}
28
+ * @memberof WaasWalletSettings
29
+ */
30
+ shouldRefreshOnNextSignOn?: ThresholdSignatureScheme;
31
+ /**
32
+ *
33
+ * @type {boolean}
34
+ * @memberof WaasWalletSettings
35
+ */
36
+ shouldReshareOnNextSignOn?: boolean;
37
+ }
38
+ export declare function WaasWalletSettingsFromJSON(json: any): WaasWalletSettings;
39
+ export declare function WaasWalletSettingsFromJSONTyped(json: any, ignoreDiscriminator: boolean): WaasWalletSettings;
40
+ export declare function WaasWalletSettingsToJSON(value?: WaasWalletSettings | null): any;
@@ -0,0 +1,32 @@
1
+ import { exists } from '../runtime.js';
2
+ import { ThresholdSignatureSchemeFromJSON, ThresholdSignatureSchemeToJSON } from './ThresholdSignatureScheme.js';
3
+
4
+ /* tslint:disable */
5
+ function WaasWalletSettingsFromJSON(json) {
6
+ return WaasWalletSettingsFromJSONTyped(json);
7
+ }
8
+ function WaasWalletSettingsFromJSONTyped(json, ignoreDiscriminator) {
9
+ if ((json === undefined) || (json === null)) {
10
+ return json;
11
+ }
12
+ return {
13
+ 'hasDeniedDelegatedAccess': !exists(json, 'hasDeniedDelegatedAccess') ? undefined : json['hasDeniedDelegatedAccess'],
14
+ 'shouldRefreshOnNextSignOn': !exists(json, 'shouldRefreshOnNextSignOn') ? undefined : ThresholdSignatureSchemeFromJSON(json['shouldRefreshOnNextSignOn']),
15
+ 'shouldReshareOnNextSignOn': !exists(json, 'shouldReshareOnNextSignOn') ? undefined : json['shouldReshareOnNextSignOn'],
16
+ };
17
+ }
18
+ function WaasWalletSettingsToJSON(value) {
19
+ if (value === undefined) {
20
+ return undefined;
21
+ }
22
+ if (value === null) {
23
+ return null;
24
+ }
25
+ return {
26
+ 'hasDeniedDelegatedAccess': value.hasDeniedDelegatedAccess,
27
+ 'shouldRefreshOnNextSignOn': ThresholdSignatureSchemeToJSON(value.shouldRefreshOnNextSignOn),
28
+ 'shouldReshareOnNextSignOn': value.shouldReshareOnNextSignOn,
29
+ };
30
+ }
31
+
32
+ export { WaasWalletSettingsFromJSON, WaasWalletSettingsFromJSONTyped, WaasWalletSettingsToJSON };
@@ -10,6 +10,7 @@ var PasswordSourceTypeEnum = require('./PasswordSourceTypeEnum.cjs');
10
10
  var ProviderEntryPointVersionEnum = require('./ProviderEntryPointVersionEnum.cjs');
11
11
  var ProviderKernelVersionEnum = require('./ProviderKernelVersionEnum.cjs');
12
12
  var ThresholdSignatureScheme = require('./ThresholdSignatureScheme.cjs');
13
+ var WaasWalletSettings = require('./WaasWalletSettings.cjs');
13
14
  var WalletKeyShareInfo = require('./WalletKeyShareInfo.cjs');
14
15
 
15
16
  /* tslint:disable */
@@ -37,6 +38,7 @@ function WalletPropertiesFromJSONTyped(json, ignoreDiscriminator) {
37
38
  'keyShares': !runtime.exists(json, 'keyShares') ? undefined : (json['keyShares'].map(WalletKeyShareInfo.WalletKeyShareInfoFromJSON)),
38
39
  'thresholdSignatureScheme': !runtime.exists(json, 'thresholdSignatureScheme') ? undefined : ThresholdSignatureScheme.ThresholdSignatureSchemeFromJSON(json['thresholdSignatureScheme']),
39
40
  'derivationPath': !runtime.exists(json, 'derivationPath') ? undefined : json['derivationPath'],
41
+ 'settings': !runtime.exists(json, 'settings') ? undefined : WaasWalletSettings.WaasWalletSettingsFromJSON(json['settings']),
40
42
  };
41
43
  }
42
44
  function WalletPropertiesToJSON(value) {
@@ -63,6 +65,7 @@ function WalletPropertiesToJSON(value) {
63
65
  'keyShares': value.keyShares === undefined ? undefined : (value.keyShares.map(WalletKeyShareInfo.WalletKeyShareInfoToJSON)),
64
66
  'thresholdSignatureScheme': ThresholdSignatureScheme.ThresholdSignatureSchemeToJSON(value.thresholdSignatureScheme),
65
67
  'derivationPath': value.derivationPath,
68
+ 'settings': WaasWalletSettings.WaasWalletSettingsToJSON(value.settings),
66
69
  };
67
70
  }
68
71
 
@@ -16,6 +16,7 @@ import { PasswordSourceTypeEnum } from './PasswordSourceTypeEnum';
16
16
  import { ProviderEntryPointVersionEnum } from './ProviderEntryPointVersionEnum';
17
17
  import { ProviderKernelVersionEnum } from './ProviderKernelVersionEnum';
18
18
  import { ThresholdSignatureScheme } from './ThresholdSignatureScheme';
19
+ import { WaasWalletSettings } from './WaasWalletSettings';
19
20
  import { WalletKeyShareInfo } from './WalletKeyShareInfo';
20
21
  /**
21
22
  *
@@ -119,6 +120,12 @@ export interface WalletProperties {
119
120
  * @memberof WalletProperties
120
121
  */
121
122
  derivationPath?: string;
123
+ /**
124
+ *
125
+ * @type {WaasWalletSettings}
126
+ * @memberof WalletProperties
127
+ */
128
+ settings?: WaasWalletSettings;
122
129
  }
123
130
  export declare function WalletPropertiesFromJSON(json: any): WalletProperties;
124
131
  export declare function WalletPropertiesFromJSONTyped(json: any, ignoreDiscriminator: boolean): WalletProperties;
@@ -6,6 +6,7 @@ import { PasswordSourceTypeEnumFromJSON, PasswordSourceTypeEnumToJSON } from './
6
6
  import { ProviderEntryPointVersionEnumFromJSON, ProviderEntryPointVersionEnumToJSON } from './ProviderEntryPointVersionEnum.js';
7
7
  import { ProviderKernelVersionEnumFromJSON, ProviderKernelVersionEnumToJSON } from './ProviderKernelVersionEnum.js';
8
8
  import { ThresholdSignatureSchemeFromJSON, ThresholdSignatureSchemeToJSON } from './ThresholdSignatureScheme.js';
9
+ import { WaasWalletSettingsFromJSON, WaasWalletSettingsToJSON } from './WaasWalletSettings.js';
9
10
  import { WalletKeyShareInfoFromJSON, WalletKeyShareInfoToJSON } from './WalletKeyShareInfo.js';
10
11
 
11
12
  /* tslint:disable */
@@ -33,6 +34,7 @@ function WalletPropertiesFromJSONTyped(json, ignoreDiscriminator) {
33
34
  'keyShares': !exists(json, 'keyShares') ? undefined : (json['keyShares'].map(WalletKeyShareInfoFromJSON)),
34
35
  'thresholdSignatureScheme': !exists(json, 'thresholdSignatureScheme') ? undefined : ThresholdSignatureSchemeFromJSON(json['thresholdSignatureScheme']),
35
36
  'derivationPath': !exists(json, 'derivationPath') ? undefined : json['derivationPath'],
37
+ 'settings': !exists(json, 'settings') ? undefined : WaasWalletSettingsFromJSON(json['settings']),
36
38
  };
37
39
  }
38
40
  function WalletPropertiesToJSON(value) {
@@ -59,6 +61,7 @@ function WalletPropertiesToJSON(value) {
59
61
  'keyShares': value.keyShares === undefined ? undefined : (value.keyShares.map(WalletKeyShareInfoToJSON)),
60
62
  'thresholdSignatureScheme': ThresholdSignatureSchemeToJSON(value.thresholdSignatureScheme),
61
63
  'derivationPath': value.derivationPath,
64
+ 'settings': WaasWalletSettingsToJSON(value.settings),
62
65
  };
63
66
  }
64
67
 
@@ -517,6 +517,7 @@ export * from './WaasPolicyUpdateRequest';
517
517
  export * from './WaasWalletProperties';
518
518
  export * from './WaasWalletResponse';
519
519
  export * from './WaasWalletResponseWallet';
520
+ export * from './WaasWalletSettings';
520
521
  export * from './Wallet';
521
522
  export * from './WalletAdditionalAddress';
522
523
  export * from './WalletAddressType';