@dynamic-labs/sdk-api-core 0.0.909 → 0.0.911
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/apis/SDKApi.cjs +1 -0
- package/src/apis/SDKApi.js +1 -0
- package/src/apis/WaasApi.cjs +2 -0
- package/src/apis/WaasApi.js +2 -0
- package/src/index.cjs +12 -0
- package/src/index.js +2 -1
- package/src/models/BackupKeySharesToLocationsPendingResponse.cjs +55 -0
- package/src/models/BackupKeySharesToLocationsPendingResponse.d.ts +46 -0
- package/src/models/BackupKeySharesToLocationsPendingResponse.js +49 -0
- package/src/models/BackupKeySharesToLocationsRequest.cjs +3 -0
- package/src/models/BackupKeySharesToLocationsRequest.d.ts +6 -0
- package/src/models/BackupKeySharesToLocationsRequest.js +3 -0
- package/src/models/BackupKeySharesToLocationsResponse.cjs +12 -0
- package/src/models/BackupKeySharesToLocationsResponse.d.ts +14 -0
- package/src/models/BackupKeySharesToLocationsResponse.js +13 -1
- package/src/models/ChainSettlementConfig.d.ts +1 -1
- package/src/models/QuoteRequest.d.ts +1 -1
- package/src/models/index.d.ts +1 -0
package/package.json
CHANGED
package/src/apis/SDKApi.cjs
CHANGED
|
@@ -15,6 +15,7 @@ require('../models/UserVerificationRequirement.cjs');
|
|
|
15
15
|
require('../models/AuthenticatorTransportProtocol.cjs');
|
|
16
16
|
var BackupKeySharesToLocationRequest = require('../models/BackupKeySharesToLocationRequest.cjs');
|
|
17
17
|
var BackupKeySharesToLocationResponse = require('../models/BackupKeySharesToLocationResponse.cjs');
|
|
18
|
+
require('../models/BackupKeySharesToLocationsPendingResponse.cjs');
|
|
18
19
|
var BackupKeySharesToLocationsRequest = require('../models/BackupKeySharesToLocationsRequest.cjs');
|
|
19
20
|
require('../models/ThresholdSignatureScheme.cjs');
|
|
20
21
|
require('../models/WaasBackupOptionsEnum.cjs');
|
package/src/apis/SDKApi.js
CHANGED
|
@@ -11,6 +11,7 @@ import '../models/UserVerificationRequirement.js';
|
|
|
11
11
|
import '../models/AuthenticatorTransportProtocol.js';
|
|
12
12
|
import { BackupKeySharesToLocationRequestToJSON } from '../models/BackupKeySharesToLocationRequest.js';
|
|
13
13
|
import { BackupKeySharesToLocationResponseFromJSON } from '../models/BackupKeySharesToLocationResponse.js';
|
|
14
|
+
import '../models/BackupKeySharesToLocationsPendingResponse.js';
|
|
14
15
|
import { BackupKeySharesToLocationsRequestToJSON } from '../models/BackupKeySharesToLocationsRequest.js';
|
|
15
16
|
import '../models/ThresholdSignatureScheme.js';
|
|
16
17
|
import '../models/WaasBackupOptionsEnum.js';
|
package/src/apis/WaasApi.cjs
CHANGED
|
@@ -15,7 +15,9 @@ require('../models/ResidentKeyRequirement.cjs');
|
|
|
15
15
|
require('../models/UserVerificationRequirement.cjs');
|
|
16
16
|
require('../models/AuthenticatorTransportProtocol.cjs');
|
|
17
17
|
require('../models/WaasBackupOptionsEnum.cjs');
|
|
18
|
+
require('../models/BackupKeySharesToLocationsPendingResponse.cjs');
|
|
18
19
|
require('../models/ThresholdSignatureScheme.cjs');
|
|
20
|
+
require('../models/BackupKeySharesToLocationsResponse.cjs');
|
|
19
21
|
require('../models/JwtVerifiedCredentialFormatEnum.cjs');
|
|
20
22
|
require('../models/ProviderEnum.cjs');
|
|
21
23
|
require('../models/WalletAddressType.cjs');
|
package/src/apis/WaasApi.js
CHANGED
|
@@ -11,7 +11,9 @@ import '../models/ResidentKeyRequirement.js';
|
|
|
11
11
|
import '../models/UserVerificationRequirement.js';
|
|
12
12
|
import '../models/AuthenticatorTransportProtocol.js';
|
|
13
13
|
import '../models/WaasBackupOptionsEnum.js';
|
|
14
|
+
import '../models/BackupKeySharesToLocationsPendingResponse.js';
|
|
14
15
|
import '../models/ThresholdSignatureScheme.js';
|
|
16
|
+
import '../models/BackupKeySharesToLocationsResponse.js';
|
|
15
17
|
import '../models/JwtVerifiedCredentialFormatEnum.js';
|
|
16
18
|
import '../models/ProviderEnum.js';
|
|
17
19
|
import '../models/WalletAddressType.js';
|
package/src/index.cjs
CHANGED
|
@@ -26,6 +26,7 @@ var AuthenticatorSelectionCriteria = require('./models/AuthenticatorSelectionCri
|
|
|
26
26
|
var AuthenticatorTransportProtocol = require('./models/AuthenticatorTransportProtocol.cjs');
|
|
27
27
|
var BackupKeySharesToLocationRequest = require('./models/BackupKeySharesToLocationRequest.cjs');
|
|
28
28
|
var BackupKeySharesToLocationResponse = require('./models/BackupKeySharesToLocationResponse.cjs');
|
|
29
|
+
var BackupKeySharesToLocationsPendingResponse = require('./models/BackupKeySharesToLocationsPendingResponse.cjs');
|
|
29
30
|
var BackupKeySharesToLocationsRequest = require('./models/BackupKeySharesToLocationsRequest.cjs');
|
|
30
31
|
var BackupKeySharesToLocationsRequestLocations = require('./models/BackupKeySharesToLocationsRequestLocations.cjs');
|
|
31
32
|
var BackupKeySharesToLocationsResponse = require('./models/BackupKeySharesToLocationsResponse.cjs');
|
|
@@ -533,6 +534,13 @@ exports.BackupKeySharesToLocationRequestToJSON = BackupKeySharesToLocationReques
|
|
|
533
534
|
exports.BackupKeySharesToLocationResponseFromJSON = BackupKeySharesToLocationResponse.BackupKeySharesToLocationResponseFromJSON;
|
|
534
535
|
exports.BackupKeySharesToLocationResponseFromJSONTyped = BackupKeySharesToLocationResponse.BackupKeySharesToLocationResponseFromJSONTyped;
|
|
535
536
|
exports.BackupKeySharesToLocationResponseToJSON = BackupKeySharesToLocationResponse.BackupKeySharesToLocationResponseToJSON;
|
|
537
|
+
exports.BackupKeySharesToLocationsPendingResponseFromJSON = BackupKeySharesToLocationsPendingResponse.BackupKeySharesToLocationsPendingResponseFromJSON;
|
|
538
|
+
exports.BackupKeySharesToLocationsPendingResponseFromJSONTyped = BackupKeySharesToLocationsPendingResponse.BackupKeySharesToLocationsPendingResponseFromJSONTyped;
|
|
539
|
+
Object.defineProperty(exports, 'BackupKeySharesToLocationsPendingResponsePasswordUpdateStatusEnum', {
|
|
540
|
+
enumerable: true,
|
|
541
|
+
get: function () { return BackupKeySharesToLocationsPendingResponse.BackupKeySharesToLocationsPendingResponsePasswordUpdateStatusEnum; }
|
|
542
|
+
});
|
|
543
|
+
exports.BackupKeySharesToLocationsPendingResponseToJSON = BackupKeySharesToLocationsPendingResponse.BackupKeySharesToLocationsPendingResponseToJSON;
|
|
536
544
|
exports.BackupKeySharesToLocationsRequestFromJSON = BackupKeySharesToLocationsRequest.BackupKeySharesToLocationsRequestFromJSON;
|
|
537
545
|
exports.BackupKeySharesToLocationsRequestFromJSONTyped = BackupKeySharesToLocationsRequest.BackupKeySharesToLocationsRequestFromJSONTyped;
|
|
538
546
|
exports.BackupKeySharesToLocationsRequestToJSON = BackupKeySharesToLocationsRequest.BackupKeySharesToLocationsRequestToJSON;
|
|
@@ -541,6 +549,10 @@ exports.BackupKeySharesToLocationsRequestLocationsFromJSONTyped = BackupKeyShare
|
|
|
541
549
|
exports.BackupKeySharesToLocationsRequestLocationsToJSON = BackupKeySharesToLocationsRequestLocations.BackupKeySharesToLocationsRequestLocationsToJSON;
|
|
542
550
|
exports.BackupKeySharesToLocationsResponseFromJSON = BackupKeySharesToLocationsResponse.BackupKeySharesToLocationsResponseFromJSON;
|
|
543
551
|
exports.BackupKeySharesToLocationsResponseFromJSONTyped = BackupKeySharesToLocationsResponse.BackupKeySharesToLocationsResponseFromJSONTyped;
|
|
552
|
+
Object.defineProperty(exports, 'BackupKeySharesToLocationsResponsePasswordUpdateStatusEnum', {
|
|
553
|
+
enumerable: true,
|
|
554
|
+
get: function () { return BackupKeySharesToLocationsResponse.BackupKeySharesToLocationsResponsePasswordUpdateStatusEnum; }
|
|
555
|
+
});
|
|
544
556
|
exports.BackupKeySharesToLocationsResponseToJSON = BackupKeySharesToLocationsResponse.BackupKeySharesToLocationsResponseToJSON;
|
|
545
557
|
exports.BackupKeySharesToLocationsResponseLocationsWithKeySharesFromJSON = BackupKeySharesToLocationsResponseLocationsWithKeyShares.BackupKeySharesToLocationsResponseLocationsWithKeySharesFromJSON;
|
|
546
558
|
exports.BackupKeySharesToLocationsResponseLocationsWithKeySharesFromJSONTyped = BackupKeySharesToLocationsResponseLocationsWithKeyShares.BackupKeySharesToLocationsResponseLocationsWithKeySharesFromJSONTyped;
|
package/src/index.js
CHANGED
|
@@ -22,9 +22,10 @@ export { AuthenticatorSelectionCriteriaFromJSON, AuthenticatorSelectionCriteriaF
|
|
|
22
22
|
export { AuthenticatorTransportProtocol, AuthenticatorTransportProtocolFromJSON, AuthenticatorTransportProtocolFromJSONTyped, AuthenticatorTransportProtocolToJSON } from './models/AuthenticatorTransportProtocol.js';
|
|
23
23
|
export { BackupKeySharesToLocationRequestFromJSON, BackupKeySharesToLocationRequestFromJSONTyped, BackupKeySharesToLocationRequestToJSON } from './models/BackupKeySharesToLocationRequest.js';
|
|
24
24
|
export { BackupKeySharesToLocationResponseFromJSON, BackupKeySharesToLocationResponseFromJSONTyped, BackupKeySharesToLocationResponseToJSON } from './models/BackupKeySharesToLocationResponse.js';
|
|
25
|
+
export { BackupKeySharesToLocationsPendingResponseFromJSON, BackupKeySharesToLocationsPendingResponseFromJSONTyped, BackupKeySharesToLocationsPendingResponsePasswordUpdateStatusEnum, BackupKeySharesToLocationsPendingResponseToJSON } from './models/BackupKeySharesToLocationsPendingResponse.js';
|
|
25
26
|
export { BackupKeySharesToLocationsRequestFromJSON, BackupKeySharesToLocationsRequestFromJSONTyped, BackupKeySharesToLocationsRequestToJSON } from './models/BackupKeySharesToLocationsRequest.js';
|
|
26
27
|
export { BackupKeySharesToLocationsRequestLocationsFromJSON, BackupKeySharesToLocationsRequestLocationsFromJSONTyped, BackupKeySharesToLocationsRequestLocationsToJSON } from './models/BackupKeySharesToLocationsRequestLocations.js';
|
|
27
|
-
export { BackupKeySharesToLocationsResponseFromJSON, BackupKeySharesToLocationsResponseFromJSONTyped, BackupKeySharesToLocationsResponseToJSON } from './models/BackupKeySharesToLocationsResponse.js';
|
|
28
|
+
export { BackupKeySharesToLocationsResponseFromJSON, BackupKeySharesToLocationsResponseFromJSONTyped, BackupKeySharesToLocationsResponsePasswordUpdateStatusEnum, BackupKeySharesToLocationsResponseToJSON } from './models/BackupKeySharesToLocationsResponse.js';
|
|
28
29
|
export { BackupKeySharesToLocationsResponseLocationsWithKeySharesFromJSON, BackupKeySharesToLocationsResponseLocationsWithKeySharesFromJSONTyped, BackupKeySharesToLocationsResponseLocationsWithKeySharesToJSON } from './models/BackupKeySharesToLocationsResponseLocationsWithKeyShares.js';
|
|
29
30
|
export { BackupMultipleClientKeySharesResponseFromJSON, BackupMultipleClientKeySharesResponseFromJSONTyped, BackupMultipleClientKeySharesResponseToJSON } from './models/BackupMultipleClientKeySharesResponse.js';
|
|
30
31
|
export { BadGatewayFromJSON, BadGatewayFromJSONTyped, BadGatewayToJSON } from './models/BadGateway.js';
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
/* tslint:disable */
|
|
6
|
+
/* eslint-disable */
|
|
7
|
+
/**
|
|
8
|
+
* Dashboard API
|
|
9
|
+
* Dashboard API documentation
|
|
10
|
+
*
|
|
11
|
+
* The version of the OpenAPI document: 1.0.0
|
|
12
|
+
*
|
|
13
|
+
*
|
|
14
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
15
|
+
* https://openapi-generator.tech
|
|
16
|
+
* Do not edit the class manually.
|
|
17
|
+
*/
|
|
18
|
+
/**
|
|
19
|
+
* @export
|
|
20
|
+
* @enum {string}
|
|
21
|
+
*/
|
|
22
|
+
exports.BackupKeySharesToLocationsPendingResponsePasswordUpdateStatusEnum = void 0;
|
|
23
|
+
(function (BackupKeySharesToLocationsPendingResponsePasswordUpdateStatusEnum) {
|
|
24
|
+
BackupKeySharesToLocationsPendingResponsePasswordUpdateStatusEnum["Pending"] = "pending";
|
|
25
|
+
})(exports.BackupKeySharesToLocationsPendingResponsePasswordUpdateStatusEnum || (exports.BackupKeySharesToLocationsPendingResponsePasswordUpdateStatusEnum = {}));
|
|
26
|
+
function BackupKeySharesToLocationsPendingResponseFromJSON(json) {
|
|
27
|
+
return BackupKeySharesToLocationsPendingResponseFromJSONTyped(json);
|
|
28
|
+
}
|
|
29
|
+
function BackupKeySharesToLocationsPendingResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
if ((json === undefined) || (json === null)) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'message': json['message'],
|
|
35
|
+
'walletId': json['walletId'],
|
|
36
|
+
'passwordUpdateStatus': json['passwordUpdateStatus'],
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
function BackupKeySharesToLocationsPendingResponseToJSON(value) {
|
|
40
|
+
if (value === undefined) {
|
|
41
|
+
return undefined;
|
|
42
|
+
}
|
|
43
|
+
if (value === null) {
|
|
44
|
+
return null;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'message': value.message,
|
|
48
|
+
'walletId': value.walletId,
|
|
49
|
+
'passwordUpdateStatus': value.passwordUpdateStatus,
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
exports.BackupKeySharesToLocationsPendingResponseFromJSON = BackupKeySharesToLocationsPendingResponseFromJSON;
|
|
54
|
+
exports.BackupKeySharesToLocationsPendingResponseFromJSONTyped = BackupKeySharesToLocationsPendingResponseFromJSONTyped;
|
|
55
|
+
exports.BackupKeySharesToLocationsPendingResponseToJSON = BackupKeySharesToLocationsPendingResponseToJSON;
|
|
@@ -0,0 +1,46 @@
|
|
|
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
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface BackupKeySharesToLocationsPendingResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface BackupKeySharesToLocationsPendingResponse {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof BackupKeySharesToLocationsPendingResponse
|
|
22
|
+
*/
|
|
23
|
+
message: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof BackupKeySharesToLocationsPendingResponse
|
|
28
|
+
*/
|
|
29
|
+
walletId: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof BackupKeySharesToLocationsPendingResponse
|
|
34
|
+
*/
|
|
35
|
+
passwordUpdateStatus: BackupKeySharesToLocationsPendingResponsePasswordUpdateStatusEnum;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* @export
|
|
39
|
+
* @enum {string}
|
|
40
|
+
*/
|
|
41
|
+
export declare enum BackupKeySharesToLocationsPendingResponsePasswordUpdateStatusEnum {
|
|
42
|
+
Pending = "pending"
|
|
43
|
+
}
|
|
44
|
+
export declare function BackupKeySharesToLocationsPendingResponseFromJSON(json: any): BackupKeySharesToLocationsPendingResponse;
|
|
45
|
+
export declare function BackupKeySharesToLocationsPendingResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): BackupKeySharesToLocationsPendingResponse;
|
|
46
|
+
export declare function BackupKeySharesToLocationsPendingResponseToJSON(value?: BackupKeySharesToLocationsPendingResponse | null): any;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Dashboard API
|
|
5
|
+
* Dashboard API documentation
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* @export
|
|
16
|
+
* @enum {string}
|
|
17
|
+
*/
|
|
18
|
+
var BackupKeySharesToLocationsPendingResponsePasswordUpdateStatusEnum;
|
|
19
|
+
(function (BackupKeySharesToLocationsPendingResponsePasswordUpdateStatusEnum) {
|
|
20
|
+
BackupKeySharesToLocationsPendingResponsePasswordUpdateStatusEnum["Pending"] = "pending";
|
|
21
|
+
})(BackupKeySharesToLocationsPendingResponsePasswordUpdateStatusEnum || (BackupKeySharesToLocationsPendingResponsePasswordUpdateStatusEnum = {}));
|
|
22
|
+
function BackupKeySharesToLocationsPendingResponseFromJSON(json) {
|
|
23
|
+
return BackupKeySharesToLocationsPendingResponseFromJSONTyped(json);
|
|
24
|
+
}
|
|
25
|
+
function BackupKeySharesToLocationsPendingResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
+
if ((json === undefined) || (json === null)) {
|
|
27
|
+
return json;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'message': json['message'],
|
|
31
|
+
'walletId': json['walletId'],
|
|
32
|
+
'passwordUpdateStatus': json['passwordUpdateStatus'],
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
function BackupKeySharesToLocationsPendingResponseToJSON(value) {
|
|
36
|
+
if (value === undefined) {
|
|
37
|
+
return undefined;
|
|
38
|
+
}
|
|
39
|
+
if (value === null) {
|
|
40
|
+
return null;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'message': value.message,
|
|
44
|
+
'walletId': value.walletId,
|
|
45
|
+
'passwordUpdateStatus': value.passwordUpdateStatus,
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export { BackupKeySharesToLocationsPendingResponseFromJSON, BackupKeySharesToLocationsPendingResponseFromJSONTyped, BackupKeySharesToLocationsPendingResponsePasswordUpdateStatusEnum, BackupKeySharesToLocationsPendingResponseToJSON };
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
5
6
|
var BackupKeySharesToLocationsRequestLocations = require('./BackupKeySharesToLocationsRequestLocations.cjs');
|
|
6
7
|
|
|
7
8
|
/* tslint:disable */
|
|
@@ -13,6 +14,7 @@ function BackupKeySharesToLocationsRequestFromJSONTyped(json, ignoreDiscriminato
|
|
|
13
14
|
return json;
|
|
14
15
|
}
|
|
15
16
|
return {
|
|
17
|
+
'passwordUpdateBatchId': !runtime.exists(json, 'passwordUpdateBatchId') ? undefined : json['passwordUpdateBatchId'],
|
|
16
18
|
'locations': (json['locations'].map(BackupKeySharesToLocationsRequestLocations.BackupKeySharesToLocationsRequestLocationsFromJSON)),
|
|
17
19
|
};
|
|
18
20
|
}
|
|
@@ -24,6 +26,7 @@ function BackupKeySharesToLocationsRequestToJSON(value) {
|
|
|
24
26
|
return null;
|
|
25
27
|
}
|
|
26
28
|
return {
|
|
29
|
+
'passwordUpdateBatchId': value.passwordUpdateBatchId,
|
|
27
30
|
'locations': (value.locations.map(BackupKeySharesToLocationsRequestLocations.BackupKeySharesToLocationsRequestLocationsToJSON)),
|
|
28
31
|
};
|
|
29
32
|
}
|
|
@@ -16,6 +16,12 @@ import { BackupKeySharesToLocationsRequestLocations } from './BackupKeySharesToL
|
|
|
16
16
|
* @interface BackupKeySharesToLocationsRequest
|
|
17
17
|
*/
|
|
18
18
|
export interface BackupKeySharesToLocationsRequest {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof BackupKeySharesToLocationsRequest
|
|
23
|
+
*/
|
|
24
|
+
passwordUpdateBatchId?: string;
|
|
19
25
|
/**
|
|
20
26
|
*
|
|
21
27
|
* @type {Array<BackupKeySharesToLocationsRequestLocations>}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
1
2
|
import { BackupKeySharesToLocationsRequestLocationsFromJSON, BackupKeySharesToLocationsRequestLocationsToJSON } from './BackupKeySharesToLocationsRequestLocations.js';
|
|
2
3
|
|
|
3
4
|
/* tslint:disable */
|
|
@@ -9,6 +10,7 @@ function BackupKeySharesToLocationsRequestFromJSONTyped(json, ignoreDiscriminato
|
|
|
9
10
|
return json;
|
|
10
11
|
}
|
|
11
12
|
return {
|
|
13
|
+
'passwordUpdateBatchId': !exists(json, 'passwordUpdateBatchId') ? undefined : json['passwordUpdateBatchId'],
|
|
12
14
|
'locations': (json['locations'].map(BackupKeySharesToLocationsRequestLocationsFromJSON)),
|
|
13
15
|
};
|
|
14
16
|
}
|
|
@@ -20,6 +22,7 @@ function BackupKeySharesToLocationsRequestToJSON(value) {
|
|
|
20
22
|
return null;
|
|
21
23
|
}
|
|
22
24
|
return {
|
|
25
|
+
'passwordUpdateBatchId': value.passwordUpdateBatchId,
|
|
23
26
|
'locations': (value.locations.map(BackupKeySharesToLocationsRequestLocationsToJSON)),
|
|
24
27
|
};
|
|
25
28
|
}
|
|
@@ -2,9 +2,19 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
5
6
|
var BackupKeySharesToLocationsResponseLocationsWithKeyShares = require('./BackupKeySharesToLocationsResponseLocationsWithKeyShares.cjs');
|
|
6
7
|
|
|
7
8
|
/* tslint:disable */
|
|
9
|
+
/**
|
|
10
|
+
* @export
|
|
11
|
+
* @enum {string}
|
|
12
|
+
*/
|
|
13
|
+
exports.BackupKeySharesToLocationsResponsePasswordUpdateStatusEnum = void 0;
|
|
14
|
+
(function (BackupKeySharesToLocationsResponsePasswordUpdateStatusEnum) {
|
|
15
|
+
BackupKeySharesToLocationsResponsePasswordUpdateStatusEnum["Pending"] = "pending";
|
|
16
|
+
BackupKeySharesToLocationsResponsePasswordUpdateStatusEnum["Activated"] = "activated";
|
|
17
|
+
})(exports.BackupKeySharesToLocationsResponsePasswordUpdateStatusEnum || (exports.BackupKeySharesToLocationsResponsePasswordUpdateStatusEnum = {}));
|
|
8
18
|
function BackupKeySharesToLocationsResponseFromJSON(json) {
|
|
9
19
|
return BackupKeySharesToLocationsResponseFromJSONTyped(json);
|
|
10
20
|
}
|
|
@@ -15,6 +25,7 @@ function BackupKeySharesToLocationsResponseFromJSONTyped(json, ignoreDiscriminat
|
|
|
15
25
|
return {
|
|
16
26
|
'message': json['message'],
|
|
17
27
|
'walletId': json['walletId'],
|
|
28
|
+
'passwordUpdateStatus': !runtime.exists(json, 'passwordUpdateStatus') ? undefined : json['passwordUpdateStatus'],
|
|
18
29
|
'locationsWithKeyShares': (json['locationsWithKeyShares'].map(BackupKeySharesToLocationsResponseLocationsWithKeyShares.BackupKeySharesToLocationsResponseLocationsWithKeySharesFromJSON)),
|
|
19
30
|
};
|
|
20
31
|
}
|
|
@@ -28,6 +39,7 @@ function BackupKeySharesToLocationsResponseToJSON(value) {
|
|
|
28
39
|
return {
|
|
29
40
|
'message': value.message,
|
|
30
41
|
'walletId': value.walletId,
|
|
42
|
+
'passwordUpdateStatus': value.passwordUpdateStatus,
|
|
31
43
|
'locationsWithKeyShares': (value.locationsWithKeyShares.map(BackupKeySharesToLocationsResponseLocationsWithKeyShares.BackupKeySharesToLocationsResponseLocationsWithKeySharesToJSON)),
|
|
32
44
|
};
|
|
33
45
|
}
|
|
@@ -28,6 +28,12 @@ export interface BackupKeySharesToLocationsResponse {
|
|
|
28
28
|
* @memberof BackupKeySharesToLocationsResponse
|
|
29
29
|
*/
|
|
30
30
|
walletId: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof BackupKeySharesToLocationsResponse
|
|
35
|
+
*/
|
|
36
|
+
passwordUpdateStatus?: BackupKeySharesToLocationsResponsePasswordUpdateStatusEnum;
|
|
31
37
|
/**
|
|
32
38
|
*
|
|
33
39
|
* @type {Array<BackupKeySharesToLocationsResponseLocationsWithKeyShares>}
|
|
@@ -35,6 +41,14 @@ export interface BackupKeySharesToLocationsResponse {
|
|
|
35
41
|
*/
|
|
36
42
|
locationsWithKeyShares: Array<BackupKeySharesToLocationsResponseLocationsWithKeyShares>;
|
|
37
43
|
}
|
|
44
|
+
/**
|
|
45
|
+
* @export
|
|
46
|
+
* @enum {string}
|
|
47
|
+
*/
|
|
48
|
+
export declare enum BackupKeySharesToLocationsResponsePasswordUpdateStatusEnum {
|
|
49
|
+
Pending = "pending",
|
|
50
|
+
Activated = "activated"
|
|
51
|
+
}
|
|
38
52
|
export declare function BackupKeySharesToLocationsResponseFromJSON(json: any): BackupKeySharesToLocationsResponse;
|
|
39
53
|
export declare function BackupKeySharesToLocationsResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): BackupKeySharesToLocationsResponse;
|
|
40
54
|
export declare function BackupKeySharesToLocationsResponseToJSON(value?: BackupKeySharesToLocationsResponse | null): any;
|
|
@@ -1,6 +1,16 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
1
2
|
import { BackupKeySharesToLocationsResponseLocationsWithKeySharesFromJSON, BackupKeySharesToLocationsResponseLocationsWithKeySharesToJSON } from './BackupKeySharesToLocationsResponseLocationsWithKeyShares.js';
|
|
2
3
|
|
|
3
4
|
/* tslint:disable */
|
|
5
|
+
/**
|
|
6
|
+
* @export
|
|
7
|
+
* @enum {string}
|
|
8
|
+
*/
|
|
9
|
+
var BackupKeySharesToLocationsResponsePasswordUpdateStatusEnum;
|
|
10
|
+
(function (BackupKeySharesToLocationsResponsePasswordUpdateStatusEnum) {
|
|
11
|
+
BackupKeySharesToLocationsResponsePasswordUpdateStatusEnum["Pending"] = "pending";
|
|
12
|
+
BackupKeySharesToLocationsResponsePasswordUpdateStatusEnum["Activated"] = "activated";
|
|
13
|
+
})(BackupKeySharesToLocationsResponsePasswordUpdateStatusEnum || (BackupKeySharesToLocationsResponsePasswordUpdateStatusEnum = {}));
|
|
4
14
|
function BackupKeySharesToLocationsResponseFromJSON(json) {
|
|
5
15
|
return BackupKeySharesToLocationsResponseFromJSONTyped(json);
|
|
6
16
|
}
|
|
@@ -11,6 +21,7 @@ function BackupKeySharesToLocationsResponseFromJSONTyped(json, ignoreDiscriminat
|
|
|
11
21
|
return {
|
|
12
22
|
'message': json['message'],
|
|
13
23
|
'walletId': json['walletId'],
|
|
24
|
+
'passwordUpdateStatus': !exists(json, 'passwordUpdateStatus') ? undefined : json['passwordUpdateStatus'],
|
|
14
25
|
'locationsWithKeyShares': (json['locationsWithKeyShares'].map(BackupKeySharesToLocationsResponseLocationsWithKeySharesFromJSON)),
|
|
15
26
|
};
|
|
16
27
|
}
|
|
@@ -24,8 +35,9 @@ function BackupKeySharesToLocationsResponseToJSON(value) {
|
|
|
24
35
|
return {
|
|
25
36
|
'message': value.message,
|
|
26
37
|
'walletId': value.walletId,
|
|
38
|
+
'passwordUpdateStatus': value.passwordUpdateStatus,
|
|
27
39
|
'locationsWithKeyShares': (value.locationsWithKeyShares.map(BackupKeySharesToLocationsResponseLocationsWithKeySharesToJSON)),
|
|
28
40
|
};
|
|
29
41
|
}
|
|
30
42
|
|
|
31
|
-
export { BackupKeySharesToLocationsResponseFromJSON, BackupKeySharesToLocationsResponseFromJSONTyped, BackupKeySharesToLocationsResponseToJSON };
|
|
43
|
+
export { BackupKeySharesToLocationsResponseFromJSON, BackupKeySharesToLocationsResponseFromJSONTyped, BackupKeySharesToLocationsResponsePasswordUpdateStatusEnum, BackupKeySharesToLocationsResponseToJSON };
|
package/src/models/index.d.ts
CHANGED
|
@@ -19,6 +19,7 @@ export * from './AuthenticatorSelectionCriteria';
|
|
|
19
19
|
export * from './AuthenticatorTransportProtocol';
|
|
20
20
|
export * from './BackupKeySharesToLocationRequest';
|
|
21
21
|
export * from './BackupKeySharesToLocationResponse';
|
|
22
|
+
export * from './BackupKeySharesToLocationsPendingResponse';
|
|
22
23
|
export * from './BackupKeySharesToLocationsRequest';
|
|
23
24
|
export * from './BackupKeySharesToLocationsRequestLocations';
|
|
24
25
|
export * from './BackupKeySharesToLocationsResponse';
|