@dynamic-labs/sdk-api 0.59.0 → 0.61.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/package.json +1 -1
- package/src/models/BackupKeySharesToLocationsRequest.cjs +2 -0
- package/src/models/BackupKeySharesToLocationsRequest.d.ts +8 -0
- package/src/models/BackupKeySharesToLocationsRequest.js +2 -0
- package/src/models/FlowUIConfig.cjs +6 -0
- package/src/models/FlowUIConfig.d.ts +18 -0
- package/src/models/FlowUIConfig.js +6 -0
package/package.json
CHANGED
|
@@ -15,6 +15,7 @@ function BackupKeySharesToLocationsRequestFromJSONTyped(json, ignoreDiscriminato
|
|
|
15
15
|
}
|
|
16
16
|
return {
|
|
17
17
|
'passwordUpdateBatchId': !runtime.exists(json, 'passwordUpdateBatchId') ? undefined : json['passwordUpdateBatchId'],
|
|
18
|
+
'businessAccountId': !runtime.exists(json, 'businessAccountId') ? undefined : json['businessAccountId'],
|
|
18
19
|
'shareSetId': !runtime.exists(json, 'shareSetId') ? undefined : json['shareSetId'],
|
|
19
20
|
'locations': (json['locations'].map(BackupKeySharesToLocationsRequestLocations.BackupKeySharesToLocationsRequestLocationsFromJSON)),
|
|
20
21
|
};
|
|
@@ -28,6 +29,7 @@ function BackupKeySharesToLocationsRequestToJSON(value) {
|
|
|
28
29
|
}
|
|
29
30
|
return {
|
|
30
31
|
'passwordUpdateBatchId': value.passwordUpdateBatchId,
|
|
32
|
+
'businessAccountId': value.businessAccountId,
|
|
31
33
|
'shareSetId': value.shareSetId,
|
|
32
34
|
'locations': (value.locations.map(BackupKeySharesToLocationsRequestLocations.BackupKeySharesToLocationsRequestLocationsToJSON)),
|
|
33
35
|
};
|
|
@@ -22,6 +22,14 @@ export interface BackupKeySharesToLocationsRequest {
|
|
|
22
22
|
* @memberof BackupKeySharesToLocationsRequest
|
|
23
23
|
*/
|
|
24
24
|
passwordUpdateBatchId?: string;
|
|
25
|
+
/**
|
|
26
|
+
* Business account the caller is signing for. Required when the wallet
|
|
27
|
+
* is linked into a business account so the caller's signer share set can
|
|
28
|
+
* be resolved; omit for personal wallets.
|
|
29
|
+
* @type {string}
|
|
30
|
+
* @memberof BackupKeySharesToLocationsRequest
|
|
31
|
+
*/
|
|
32
|
+
businessAccountId?: string | null;
|
|
25
33
|
/**
|
|
26
34
|
* Identifier of the share set (WaasWallets row) being activated. SDKs
|
|
27
35
|
* that already receive shareSetId from the ceremony_complete event
|
|
@@ -11,6 +11,7 @@ function BackupKeySharesToLocationsRequestFromJSONTyped(json, ignoreDiscriminato
|
|
|
11
11
|
}
|
|
12
12
|
return {
|
|
13
13
|
'passwordUpdateBatchId': !exists(json, 'passwordUpdateBatchId') ? undefined : json['passwordUpdateBatchId'],
|
|
14
|
+
'businessAccountId': !exists(json, 'businessAccountId') ? undefined : json['businessAccountId'],
|
|
14
15
|
'shareSetId': !exists(json, 'shareSetId') ? undefined : json['shareSetId'],
|
|
15
16
|
'locations': (json['locations'].map(BackupKeySharesToLocationsRequestLocationsFromJSON)),
|
|
16
17
|
};
|
|
@@ -24,6 +25,7 @@ function BackupKeySharesToLocationsRequestToJSON(value) {
|
|
|
24
25
|
}
|
|
25
26
|
return {
|
|
26
27
|
'passwordUpdateBatchId': value.passwordUpdateBatchId,
|
|
28
|
+
'businessAccountId': value.businessAccountId,
|
|
27
29
|
'shareSetId': value.shareSetId,
|
|
28
30
|
'locations': (value.locations.map(BackupKeySharesToLocationsRequestLocationsToJSON)),
|
|
29
31
|
};
|
|
@@ -15,6 +15,9 @@ function FlowUIConfigFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
15
15
|
return {
|
|
16
16
|
'returnUrl': !runtime.exists(json, 'returnUrl') ? undefined : json['returnUrl'],
|
|
17
17
|
'termsOfServicesUrl': !runtime.exists(json, 'termsOfServicesUrl') ? undefined : json['termsOfServicesUrl'],
|
|
18
|
+
'merchantName': !runtime.exists(json, 'merchantName') ? undefined : json['merchantName'],
|
|
19
|
+
'merchantLogoUrl': !runtime.exists(json, 'merchantLogoUrl') ? undefined : json['merchantLogoUrl'],
|
|
20
|
+
'externalPaymentId': !runtime.exists(json, 'externalPaymentId') ? undefined : json['externalPaymentId'],
|
|
18
21
|
};
|
|
19
22
|
}
|
|
20
23
|
function FlowUIConfigToJSON(value) {
|
|
@@ -27,6 +30,9 @@ function FlowUIConfigToJSON(value) {
|
|
|
27
30
|
return {
|
|
28
31
|
'returnUrl': value.returnUrl,
|
|
29
32
|
'termsOfServicesUrl': value.termsOfServicesUrl,
|
|
33
|
+
'merchantName': value.merchantName,
|
|
34
|
+
'merchantLogoUrl': value.merchantLogoUrl,
|
|
35
|
+
'externalPaymentId': value.externalPaymentId,
|
|
30
36
|
};
|
|
31
37
|
}
|
|
32
38
|
|
|
@@ -27,6 +27,24 @@ export interface FlowUIConfig {
|
|
|
27
27
|
* @memberof FlowUIConfig
|
|
28
28
|
*/
|
|
29
29
|
termsOfServicesUrl?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof FlowUIConfig
|
|
34
|
+
*/
|
|
35
|
+
merchantName?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof FlowUIConfig
|
|
40
|
+
*/
|
|
41
|
+
merchantLogoUrl?: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof FlowUIConfig
|
|
46
|
+
*/
|
|
47
|
+
externalPaymentId?: string;
|
|
30
48
|
}
|
|
31
49
|
export declare function FlowUIConfigFromJSON(json: any): FlowUIConfig;
|
|
32
50
|
export declare function FlowUIConfigFromJSONTyped(json: any, ignoreDiscriminator: boolean): FlowUIConfig;
|
|
@@ -11,6 +11,9 @@ function FlowUIConfigFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
11
11
|
return {
|
|
12
12
|
'returnUrl': !exists(json, 'returnUrl') ? undefined : json['returnUrl'],
|
|
13
13
|
'termsOfServicesUrl': !exists(json, 'termsOfServicesUrl') ? undefined : json['termsOfServicesUrl'],
|
|
14
|
+
'merchantName': !exists(json, 'merchantName') ? undefined : json['merchantName'],
|
|
15
|
+
'merchantLogoUrl': !exists(json, 'merchantLogoUrl') ? undefined : json['merchantLogoUrl'],
|
|
16
|
+
'externalPaymentId': !exists(json, 'externalPaymentId') ? undefined : json['externalPaymentId'],
|
|
14
17
|
};
|
|
15
18
|
}
|
|
16
19
|
function FlowUIConfigToJSON(value) {
|
|
@@ -23,6 +26,9 @@ function FlowUIConfigToJSON(value) {
|
|
|
23
26
|
return {
|
|
24
27
|
'returnUrl': value.returnUrl,
|
|
25
28
|
'termsOfServicesUrl': value.termsOfServicesUrl,
|
|
29
|
+
'merchantName': value.merchantName,
|
|
30
|
+
'merchantLogoUrl': value.merchantLogoUrl,
|
|
31
|
+
'externalPaymentId': value.externalPaymentId,
|
|
26
32
|
};
|
|
27
33
|
}
|
|
28
34
|
|