@dynamic-labs/sdk-api 0.0.1080 → 0.0.1081
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 +1 -1
- package/src/models/WaasWalletProperties.cjs +2 -0
- package/src/models/WaasWalletProperties.d.ts +6 -0
- package/src/models/WaasWalletProperties.js +2 -0
- package/src/models/WalletProperties.cjs +2 -0
- package/src/models/WalletProperties.d.ts +6 -0
- package/src/models/WalletProperties.js +2 -0
package/package.json
CHANGED
|
@@ -25,6 +25,7 @@ function WaasWalletPropertiesFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
25
25
|
'settings': !runtime.exists(json, 'settings') ? undefined : WaasWalletSettings.WaasWalletSettingsFromJSON(json['settings']),
|
|
26
26
|
'shareSetId': !runtime.exists(json, 'shareSetId') ? undefined : json['shareSetId'],
|
|
27
27
|
'shareSetType': !runtime.exists(json, 'shareSetType') ? undefined : WaasWalletShareSetType.WaasWalletShareSetTypeFromJSON(json['shareSetType']),
|
|
28
|
+
'businessAccountId': !runtime.exists(json, 'businessAccountId') ? undefined : json['businessAccountId'],
|
|
28
29
|
'otherShareSets': !runtime.exists(json, 'otherShareSets') ? undefined : (json['otherShareSets'].map(WaasShareSet.WaasShareSetFromJSON)),
|
|
29
30
|
'version': !runtime.exists(json, 'version') ? undefined : EmbeddedWalletVersionEnum.EmbeddedWalletVersionEnumFromJSON(json['version']),
|
|
30
31
|
};
|
|
@@ -43,6 +44,7 @@ function WaasWalletPropertiesToJSON(value) {
|
|
|
43
44
|
'settings': WaasWalletSettings.WaasWalletSettingsToJSON(value.settings),
|
|
44
45
|
'shareSetId': value.shareSetId,
|
|
45
46
|
'shareSetType': WaasWalletShareSetType.WaasWalletShareSetTypeToJSON(value.shareSetType),
|
|
47
|
+
'businessAccountId': value.businessAccountId,
|
|
46
48
|
'otherShareSets': value.otherShareSets === undefined ? undefined : (value.otherShareSets.map(WaasShareSet.WaasShareSetToJSON)),
|
|
47
49
|
'version': EmbeddedWalletVersionEnum.EmbeddedWalletVersionEnumToJSON(value.version),
|
|
48
50
|
};
|
|
@@ -57,6 +57,12 @@ export interface WaasWalletProperties {
|
|
|
57
57
|
* @memberof WaasWalletProperties
|
|
58
58
|
*/
|
|
59
59
|
shareSetType?: WaasWalletShareSetType;
|
|
60
|
+
/**
|
|
61
|
+
* Identifier of the business account that owns this wallet, when it is a business-account wallet; absent for personal wallets.
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof WaasWalletProperties
|
|
64
|
+
*/
|
|
65
|
+
businessAccountId?: string;
|
|
60
66
|
/**
|
|
61
67
|
* All other active share sets that exist on this wallet (i.e., owned by other auth principals). Returned for awareness so consumers can see, e.g., that a delegated share set is set up alongside their rootUser. Server-typed share sets are never exposed.
|
|
62
68
|
* @type {Array<WaasShareSet>}
|
|
@@ -21,6 +21,7 @@ function WaasWalletPropertiesFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
21
21
|
'settings': !exists(json, 'settings') ? undefined : WaasWalletSettingsFromJSON(json['settings']),
|
|
22
22
|
'shareSetId': !exists(json, 'shareSetId') ? undefined : json['shareSetId'],
|
|
23
23
|
'shareSetType': !exists(json, 'shareSetType') ? undefined : WaasWalletShareSetTypeFromJSON(json['shareSetType']),
|
|
24
|
+
'businessAccountId': !exists(json, 'businessAccountId') ? undefined : json['businessAccountId'],
|
|
24
25
|
'otherShareSets': !exists(json, 'otherShareSets') ? undefined : (json['otherShareSets'].map(WaasShareSetFromJSON)),
|
|
25
26
|
'version': !exists(json, 'version') ? undefined : EmbeddedWalletVersionEnumFromJSON(json['version']),
|
|
26
27
|
};
|
|
@@ -39,6 +40,7 @@ function WaasWalletPropertiesToJSON(value) {
|
|
|
39
40
|
'settings': WaasWalletSettingsToJSON(value.settings),
|
|
40
41
|
'shareSetId': value.shareSetId,
|
|
41
42
|
'shareSetType': WaasWalletShareSetTypeToJSON(value.shareSetType),
|
|
43
|
+
'businessAccountId': value.businessAccountId,
|
|
42
44
|
'otherShareSets': value.otherShareSets === undefined ? undefined : (value.otherShareSets.map(WaasShareSetToJSON)),
|
|
43
45
|
'version': EmbeddedWalletVersionEnumToJSON(value.version),
|
|
44
46
|
};
|
|
@@ -43,6 +43,7 @@ function WalletPropertiesFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
43
43
|
'settings': !runtime.exists(json, 'settings') ? undefined : WaasWalletSettings.WaasWalletSettingsFromJSON(json['settings']),
|
|
44
44
|
'shareSetId': !runtime.exists(json, 'shareSetId') ? undefined : json['shareSetId'],
|
|
45
45
|
'shareSetType': !runtime.exists(json, 'shareSetType') ? undefined : WaasWalletShareSetType.WaasWalletShareSetTypeFromJSON(json['shareSetType']),
|
|
46
|
+
'businessAccountId': !runtime.exists(json, 'businessAccountId') ? undefined : json['businessAccountId'],
|
|
46
47
|
'otherShareSets': !runtime.exists(json, 'otherShareSets') ? undefined : (json['otherShareSets'].map(WaasShareSet.WaasShareSetFromJSON)),
|
|
47
48
|
};
|
|
48
49
|
}
|
|
@@ -73,6 +74,7 @@ function WalletPropertiesToJSON(value) {
|
|
|
73
74
|
'settings': WaasWalletSettings.WaasWalletSettingsToJSON(value.settings),
|
|
74
75
|
'shareSetId': value.shareSetId,
|
|
75
76
|
'shareSetType': WaasWalletShareSetType.WaasWalletShareSetTypeToJSON(value.shareSetType),
|
|
77
|
+
'businessAccountId': value.businessAccountId,
|
|
76
78
|
'otherShareSets': value.otherShareSets === undefined ? undefined : (value.otherShareSets.map(WaasShareSet.WaasShareSetToJSON)),
|
|
77
79
|
};
|
|
78
80
|
}
|
|
@@ -140,6 +140,12 @@ export interface WalletProperties {
|
|
|
140
140
|
* @memberof WalletProperties
|
|
141
141
|
*/
|
|
142
142
|
shareSetType?: WaasWalletShareSetType;
|
|
143
|
+
/**
|
|
144
|
+
* Identifier of the business account that owns this wallet, when it is a business-account wallet; absent for personal wallets.
|
|
145
|
+
* @type {string}
|
|
146
|
+
* @memberof WalletProperties
|
|
147
|
+
*/
|
|
148
|
+
businessAccountId?: string;
|
|
143
149
|
/**
|
|
144
150
|
* All other active share sets that exist on this wallet (i.e., owned by other auth principals). Returned for awareness so consumers can see, e.g., that a delegated share set is set up alongside their rootUser. Server-typed share sets are never exposed.
|
|
145
151
|
* @type {Array<WaasShareSet>}
|
|
@@ -39,6 +39,7 @@ function WalletPropertiesFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
39
39
|
'settings': !exists(json, 'settings') ? undefined : WaasWalletSettingsFromJSON(json['settings']),
|
|
40
40
|
'shareSetId': !exists(json, 'shareSetId') ? undefined : json['shareSetId'],
|
|
41
41
|
'shareSetType': !exists(json, 'shareSetType') ? undefined : WaasWalletShareSetTypeFromJSON(json['shareSetType']),
|
|
42
|
+
'businessAccountId': !exists(json, 'businessAccountId') ? undefined : json['businessAccountId'],
|
|
42
43
|
'otherShareSets': !exists(json, 'otherShareSets') ? undefined : (json['otherShareSets'].map(WaasShareSetFromJSON)),
|
|
43
44
|
};
|
|
44
45
|
}
|
|
@@ -69,6 +70,7 @@ function WalletPropertiesToJSON(value) {
|
|
|
69
70
|
'settings': WaasWalletSettingsToJSON(value.settings),
|
|
70
71
|
'shareSetId': value.shareSetId,
|
|
71
72
|
'shareSetType': WaasWalletShareSetTypeToJSON(value.shareSetType),
|
|
73
|
+
'businessAccountId': value.businessAccountId,
|
|
72
74
|
'otherShareSets': value.otherShareSets === undefined ? undefined : (value.otherShareSets.map(WaasShareSetToJSON)),
|
|
73
75
|
};
|
|
74
76
|
}
|