@dynamic-labs/sdk-api-core 0.0.538 → 0.0.539
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 +262 -1
- package/src/apis/SDKApi.d.ts +91 -1
- package/src/apis/SDKApi.js +262 -1
- package/src/index.cjs +40 -0
- package/src/index.js +8 -0
- package/src/models/CoinbaseMpcWalletProperties.cjs +36 -0
- package/src/models/CoinbaseMpcWalletProperties.d.ts +34 -0
- package/src/models/CoinbaseMpcWalletProperties.js +30 -0
- package/src/models/EmbeddedWalletAuthToken.cjs +43 -0
- package/src/models/EmbeddedWalletAuthToken.d.ts +27 -0
- package/src/models/EmbeddedWalletAuthToken.js +37 -0
- package/src/models/EmbeddedWalletAuthType.cjs +39 -0
- package/src/models/EmbeddedWalletAuthType.d.ts +22 -0
- package/src/models/EmbeddedWalletAuthType.js +33 -0
- package/src/models/EmbeddedWalletPasscodeClaimRequest.cjs +43 -0
- package/src/models/EmbeddedWalletPasscodeClaimRequest.d.ts +27 -0
- package/src/models/EmbeddedWalletPasscodeClaimRequest.js +37 -0
- package/src/models/EmbeddedWalletSecret.cjs +38 -0
- package/src/models/EmbeddedWalletSecret.d.ts +40 -0
- package/src/models/EmbeddedWalletSecret.js +32 -0
- package/src/models/EmbeddedWalletSecretWithUpdatedJwt.cjs +49 -0
- package/src/models/EmbeddedWalletSecretWithUpdatedJwt.d.ts +71 -0
- package/src/models/EmbeddedWalletSecretWithUpdatedJwt.js +43 -0
- package/src/models/EmbeddedWalletSecretWithUpdatedJwtAllOf.cjs +38 -0
- package/src/models/EmbeddedWalletSecretWithUpdatedJwtAllOf.d.ts +40 -0
- package/src/models/EmbeddedWalletSecretWithUpdatedJwtAllOf.js +32 -0
- package/src/models/PasswordSourceTypeEnum.cjs +40 -0
- package/src/models/PasswordSourceTypeEnum.d.ts +23 -0
- package/src/models/PasswordSourceTypeEnum.js +34 -0
- package/src/models/UnprocessableEntityErrorCode.cjs +1 -0
- package/src/models/UnprocessableEntityErrorCode.d.ts +1 -0
- package/src/models/UnprocessableEntityErrorCode.js +1 -0
- package/src/models/VerifyRequest.cjs +3 -0
- package/src/models/VerifyRequest.d.ts +7 -0
- package/src/models/VerifyRequest.js +3 -0
- package/src/models/WalletProperties.cjs +5 -0
- package/src/models/WalletProperties.d.ts +13 -0
- package/src/models/WalletProperties.js +5 -0
- package/src/models/index.d.ts +8 -0
|
@@ -0,0 +1,39 @@
|
|
|
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
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @enum {string}
|
|
22
|
+
*/
|
|
23
|
+
exports.EmbeddedWalletAuthType = void 0;
|
|
24
|
+
(function (EmbeddedWalletAuthType) {
|
|
25
|
+
EmbeddedWalletAuthType["Mpc"] = "mpc";
|
|
26
|
+
})(exports.EmbeddedWalletAuthType || (exports.EmbeddedWalletAuthType = {}));
|
|
27
|
+
function EmbeddedWalletAuthTypeFromJSON(json) {
|
|
28
|
+
return EmbeddedWalletAuthTypeFromJSONTyped(json);
|
|
29
|
+
}
|
|
30
|
+
function EmbeddedWalletAuthTypeFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
function EmbeddedWalletAuthTypeToJSON(value) {
|
|
34
|
+
return value;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
exports.EmbeddedWalletAuthTypeFromJSON = EmbeddedWalletAuthTypeFromJSON;
|
|
38
|
+
exports.EmbeddedWalletAuthTypeFromJSONTyped = EmbeddedWalletAuthTypeFromJSONTyped;
|
|
39
|
+
exports.EmbeddedWalletAuthTypeToJSON = EmbeddedWalletAuthTypeToJSON;
|
|
@@ -0,0 +1,22 @@
|
|
|
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
|
+
* @enum {string}
|
|
16
|
+
*/
|
|
17
|
+
export declare enum EmbeddedWalletAuthType {
|
|
18
|
+
Mpc = "mpc"
|
|
19
|
+
}
|
|
20
|
+
export declare function EmbeddedWalletAuthTypeFromJSON(json: any): EmbeddedWalletAuthType;
|
|
21
|
+
export declare function EmbeddedWalletAuthTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): EmbeddedWalletAuthType;
|
|
22
|
+
export declare function EmbeddedWalletAuthTypeToJSON(value?: EmbeddedWalletAuthType | null): any;
|
|
@@ -0,0 +1,33 @@
|
|
|
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
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @enum {string}
|
|
18
|
+
*/
|
|
19
|
+
var EmbeddedWalletAuthType;
|
|
20
|
+
(function (EmbeddedWalletAuthType) {
|
|
21
|
+
EmbeddedWalletAuthType["Mpc"] = "mpc";
|
|
22
|
+
})(EmbeddedWalletAuthType || (EmbeddedWalletAuthType = {}));
|
|
23
|
+
function EmbeddedWalletAuthTypeFromJSON(json) {
|
|
24
|
+
return EmbeddedWalletAuthTypeFromJSONTyped(json);
|
|
25
|
+
}
|
|
26
|
+
function EmbeddedWalletAuthTypeFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
+
return json;
|
|
28
|
+
}
|
|
29
|
+
function EmbeddedWalletAuthTypeToJSON(value) {
|
|
30
|
+
return value;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export { EmbeddedWalletAuthType, EmbeddedWalletAuthTypeFromJSON, EmbeddedWalletAuthTypeFromJSONTyped, EmbeddedWalletAuthTypeToJSON };
|
|
@@ -0,0 +1,43 @@
|
|
|
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
|
+
function EmbeddedWalletPasscodeClaimRequestFromJSON(json) {
|
|
19
|
+
return EmbeddedWalletPasscodeClaimRequestFromJSONTyped(json);
|
|
20
|
+
}
|
|
21
|
+
function EmbeddedWalletPasscodeClaimRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
22
|
+
if ((json === undefined) || (json === null)) {
|
|
23
|
+
return json;
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
'walletId': json['walletId'],
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
function EmbeddedWalletPasscodeClaimRequestToJSON(value) {
|
|
30
|
+
if (value === undefined) {
|
|
31
|
+
return undefined;
|
|
32
|
+
}
|
|
33
|
+
if (value === null) {
|
|
34
|
+
return null;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'walletId': value.walletId,
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
exports.EmbeddedWalletPasscodeClaimRequestFromJSON = EmbeddedWalletPasscodeClaimRequestFromJSON;
|
|
42
|
+
exports.EmbeddedWalletPasscodeClaimRequestFromJSONTyped = EmbeddedWalletPasscodeClaimRequestFromJSONTyped;
|
|
43
|
+
exports.EmbeddedWalletPasscodeClaimRequestToJSON = EmbeddedWalletPasscodeClaimRequestToJSON;
|
|
@@ -0,0 +1,27 @@
|
|
|
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 EmbeddedWalletPasscodeClaimRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface EmbeddedWalletPasscodeClaimRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof EmbeddedWalletPasscodeClaimRequest
|
|
22
|
+
*/
|
|
23
|
+
walletId: string;
|
|
24
|
+
}
|
|
25
|
+
export declare function EmbeddedWalletPasscodeClaimRequestFromJSON(json: any): EmbeddedWalletPasscodeClaimRequest;
|
|
26
|
+
export declare function EmbeddedWalletPasscodeClaimRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): EmbeddedWalletPasscodeClaimRequest;
|
|
27
|
+
export declare function EmbeddedWalletPasscodeClaimRequestToJSON(value?: EmbeddedWalletPasscodeClaimRequest | null): any;
|
|
@@ -0,0 +1,37 @@
|
|
|
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
|
+
function EmbeddedWalletPasscodeClaimRequestFromJSON(json) {
|
|
15
|
+
return EmbeddedWalletPasscodeClaimRequestFromJSONTyped(json);
|
|
16
|
+
}
|
|
17
|
+
function EmbeddedWalletPasscodeClaimRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
18
|
+
if ((json === undefined) || (json === null)) {
|
|
19
|
+
return json;
|
|
20
|
+
}
|
|
21
|
+
return {
|
|
22
|
+
'walletId': json['walletId'],
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
function EmbeddedWalletPasscodeClaimRequestToJSON(value) {
|
|
26
|
+
if (value === undefined) {
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
if (value === null) {
|
|
30
|
+
return null;
|
|
31
|
+
}
|
|
32
|
+
return {
|
|
33
|
+
'walletId': value.walletId,
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export { EmbeddedWalletPasscodeClaimRequestFromJSON, EmbeddedWalletPasscodeClaimRequestFromJSONTyped, EmbeddedWalletPasscodeClaimRequestToJSON };
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
var PasswordSourceTypeEnum = require('./PasswordSourceTypeEnum.cjs');
|
|
7
|
+
|
|
8
|
+
/* tslint:disable */
|
|
9
|
+
function EmbeddedWalletSecretFromJSON(json) {
|
|
10
|
+
return EmbeddedWalletSecretFromJSONTyped(json);
|
|
11
|
+
}
|
|
12
|
+
function EmbeddedWalletSecretFromJSONTyped(json, ignoreDiscriminator) {
|
|
13
|
+
if ((json === undefined) || (json === null)) {
|
|
14
|
+
return json;
|
|
15
|
+
}
|
|
16
|
+
return {
|
|
17
|
+
'walletId': json['walletId'],
|
|
18
|
+
'secret': json['secret'],
|
|
19
|
+
'source': !runtime.exists(json, 'source') ? undefined : PasswordSourceTypeEnum.PasswordSourceTypeEnumFromJSON(json['source']),
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
function EmbeddedWalletSecretToJSON(value) {
|
|
23
|
+
if (value === undefined) {
|
|
24
|
+
return undefined;
|
|
25
|
+
}
|
|
26
|
+
if (value === null) {
|
|
27
|
+
return null;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'walletId': value.walletId,
|
|
31
|
+
'secret': value.secret,
|
|
32
|
+
'source': PasswordSourceTypeEnum.PasswordSourceTypeEnumToJSON(value.source),
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
exports.EmbeddedWalletSecretFromJSON = EmbeddedWalletSecretFromJSON;
|
|
37
|
+
exports.EmbeddedWalletSecretFromJSONTyped = EmbeddedWalletSecretFromJSONTyped;
|
|
38
|
+
exports.EmbeddedWalletSecretToJSON = EmbeddedWalletSecretToJSON;
|
|
@@ -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 { PasswordSourceTypeEnum } from './PasswordSourceTypeEnum';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface EmbeddedWalletSecret
|
|
17
|
+
*/
|
|
18
|
+
export interface EmbeddedWalletSecret {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof EmbeddedWalletSecret
|
|
23
|
+
*/
|
|
24
|
+
walletId: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof EmbeddedWalletSecret
|
|
29
|
+
*/
|
|
30
|
+
secret: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {PasswordSourceTypeEnum}
|
|
34
|
+
* @memberof EmbeddedWalletSecret
|
|
35
|
+
*/
|
|
36
|
+
source?: PasswordSourceTypeEnum;
|
|
37
|
+
}
|
|
38
|
+
export declare function EmbeddedWalletSecretFromJSON(json: any): EmbeddedWalletSecret;
|
|
39
|
+
export declare function EmbeddedWalletSecretFromJSONTyped(json: any, ignoreDiscriminator: boolean): EmbeddedWalletSecret;
|
|
40
|
+
export declare function EmbeddedWalletSecretToJSON(value?: EmbeddedWalletSecret | null): any;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
import { PasswordSourceTypeEnumFromJSON, PasswordSourceTypeEnumToJSON } from './PasswordSourceTypeEnum.js';
|
|
3
|
+
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
function EmbeddedWalletSecretFromJSON(json) {
|
|
6
|
+
return EmbeddedWalletSecretFromJSONTyped(json);
|
|
7
|
+
}
|
|
8
|
+
function EmbeddedWalletSecretFromJSONTyped(json, ignoreDiscriminator) {
|
|
9
|
+
if ((json === undefined) || (json === null)) {
|
|
10
|
+
return json;
|
|
11
|
+
}
|
|
12
|
+
return {
|
|
13
|
+
'walletId': json['walletId'],
|
|
14
|
+
'secret': json['secret'],
|
|
15
|
+
'source': !exists(json, 'source') ? undefined : PasswordSourceTypeEnumFromJSON(json['source']),
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
function EmbeddedWalletSecretToJSON(value) {
|
|
19
|
+
if (value === undefined) {
|
|
20
|
+
return undefined;
|
|
21
|
+
}
|
|
22
|
+
if (value === null) {
|
|
23
|
+
return null;
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
'walletId': value.walletId,
|
|
27
|
+
'secret': value.secret,
|
|
28
|
+
'source': PasswordSourceTypeEnumToJSON(value.source),
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export { EmbeddedWalletSecretFromJSON, EmbeddedWalletSecretFromJSONTyped, EmbeddedWalletSecretToJSON };
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
var PasswordSourceTypeEnum = require('./PasswordSourceTypeEnum.cjs');
|
|
7
|
+
var SdkUser = require('./SdkUser.cjs');
|
|
8
|
+
|
|
9
|
+
/* tslint:disable */
|
|
10
|
+
function EmbeddedWalletSecretWithUpdatedJwtFromJSON(json) {
|
|
11
|
+
return EmbeddedWalletSecretWithUpdatedJwtFromJSONTyped(json);
|
|
12
|
+
}
|
|
13
|
+
function EmbeddedWalletSecretWithUpdatedJwtFromJSONTyped(json, ignoreDiscriminator) {
|
|
14
|
+
if ((json === undefined) || (json === null)) {
|
|
15
|
+
return json;
|
|
16
|
+
}
|
|
17
|
+
return {
|
|
18
|
+
'mfaToken': !runtime.exists(json, 'mfaToken') ? undefined : json['mfaToken'],
|
|
19
|
+
'jwt': !runtime.exists(json, 'jwt') ? undefined : json['jwt'],
|
|
20
|
+
'user': SdkUser.SdkUserFromJSON(json['user']),
|
|
21
|
+
'minifiedJwt': !runtime.exists(json, 'minifiedJwt') ? undefined : json['minifiedJwt'],
|
|
22
|
+
'expiresAt': json['expiresAt'],
|
|
23
|
+
'walletId': json['walletId'],
|
|
24
|
+
'secret': !runtime.exists(json, 'secret') ? undefined : json['secret'],
|
|
25
|
+
'source': !runtime.exists(json, 'source') ? undefined : PasswordSourceTypeEnum.PasswordSourceTypeEnumFromJSON(json['source']),
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
function EmbeddedWalletSecretWithUpdatedJwtToJSON(value) {
|
|
29
|
+
if (value === undefined) {
|
|
30
|
+
return undefined;
|
|
31
|
+
}
|
|
32
|
+
if (value === null) {
|
|
33
|
+
return null;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'mfaToken': value.mfaToken,
|
|
37
|
+
'jwt': value.jwt,
|
|
38
|
+
'user': SdkUser.SdkUserToJSON(value.user),
|
|
39
|
+
'minifiedJwt': value.minifiedJwt,
|
|
40
|
+
'expiresAt': value.expiresAt,
|
|
41
|
+
'walletId': value.walletId,
|
|
42
|
+
'secret': value.secret,
|
|
43
|
+
'source': PasswordSourceTypeEnum.PasswordSourceTypeEnumToJSON(value.source),
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
exports.EmbeddedWalletSecretWithUpdatedJwtFromJSON = EmbeddedWalletSecretWithUpdatedJwtFromJSON;
|
|
48
|
+
exports.EmbeddedWalletSecretWithUpdatedJwtFromJSONTyped = EmbeddedWalletSecretWithUpdatedJwtFromJSONTyped;
|
|
49
|
+
exports.EmbeddedWalletSecretWithUpdatedJwtToJSON = EmbeddedWalletSecretWithUpdatedJwtToJSON;
|
|
@@ -0,0 +1,71 @@
|
|
|
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 { PasswordSourceTypeEnum } from './PasswordSourceTypeEnum';
|
|
13
|
+
import { SdkUser } from './SdkUser';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface EmbeddedWalletSecretWithUpdatedJwt
|
|
18
|
+
*/
|
|
19
|
+
export interface EmbeddedWalletSecretWithUpdatedJwt {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof EmbeddedWalletSecretWithUpdatedJwt
|
|
24
|
+
*/
|
|
25
|
+
mfaToken?: string;
|
|
26
|
+
/**
|
|
27
|
+
* Encoded JWT token. This will only be returned when cookie-based authentication is disabled in favor of standard Auth header based authentication.
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof EmbeddedWalletSecretWithUpdatedJwt
|
|
30
|
+
*/
|
|
31
|
+
jwt?: string;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {SdkUser}
|
|
35
|
+
* @memberof EmbeddedWalletSecretWithUpdatedJwt
|
|
36
|
+
*/
|
|
37
|
+
user: SdkUser;
|
|
38
|
+
/**
|
|
39
|
+
* Encoded JWT token. This will only be returned when cookie-based authentication is disabled in favor of standard Auth header based authentication.
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof EmbeddedWalletSecretWithUpdatedJwt
|
|
42
|
+
*/
|
|
43
|
+
minifiedJwt?: string;
|
|
44
|
+
/**
|
|
45
|
+
* Format is a unix-based timestamp. When set, this will be the expiration timestamp on the JWT sent using either the `jwt` field or a response httpOnly cookie set by the server.
|
|
46
|
+
* @type {number}
|
|
47
|
+
* @memberof EmbeddedWalletSecretWithUpdatedJwt
|
|
48
|
+
*/
|
|
49
|
+
expiresAt: number;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof EmbeddedWalletSecretWithUpdatedJwt
|
|
54
|
+
*/
|
|
55
|
+
walletId: string;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {string}
|
|
59
|
+
* @memberof EmbeddedWalletSecretWithUpdatedJwt
|
|
60
|
+
*/
|
|
61
|
+
secret?: string;
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
* @type {PasswordSourceTypeEnum}
|
|
65
|
+
* @memberof EmbeddedWalletSecretWithUpdatedJwt
|
|
66
|
+
*/
|
|
67
|
+
source?: PasswordSourceTypeEnum;
|
|
68
|
+
}
|
|
69
|
+
export declare function EmbeddedWalletSecretWithUpdatedJwtFromJSON(json: any): EmbeddedWalletSecretWithUpdatedJwt;
|
|
70
|
+
export declare function EmbeddedWalletSecretWithUpdatedJwtFromJSONTyped(json: any, ignoreDiscriminator: boolean): EmbeddedWalletSecretWithUpdatedJwt;
|
|
71
|
+
export declare function EmbeddedWalletSecretWithUpdatedJwtToJSON(value?: EmbeddedWalletSecretWithUpdatedJwt | null): any;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
import { PasswordSourceTypeEnumFromJSON, PasswordSourceTypeEnumToJSON } from './PasswordSourceTypeEnum.js';
|
|
3
|
+
import { SdkUserFromJSON, SdkUserToJSON } from './SdkUser.js';
|
|
4
|
+
|
|
5
|
+
/* tslint:disable */
|
|
6
|
+
function EmbeddedWalletSecretWithUpdatedJwtFromJSON(json) {
|
|
7
|
+
return EmbeddedWalletSecretWithUpdatedJwtFromJSONTyped(json);
|
|
8
|
+
}
|
|
9
|
+
function EmbeddedWalletSecretWithUpdatedJwtFromJSONTyped(json, ignoreDiscriminator) {
|
|
10
|
+
if ((json === undefined) || (json === null)) {
|
|
11
|
+
return json;
|
|
12
|
+
}
|
|
13
|
+
return {
|
|
14
|
+
'mfaToken': !exists(json, 'mfaToken') ? undefined : json['mfaToken'],
|
|
15
|
+
'jwt': !exists(json, 'jwt') ? undefined : json['jwt'],
|
|
16
|
+
'user': SdkUserFromJSON(json['user']),
|
|
17
|
+
'minifiedJwt': !exists(json, 'minifiedJwt') ? undefined : json['minifiedJwt'],
|
|
18
|
+
'expiresAt': json['expiresAt'],
|
|
19
|
+
'walletId': json['walletId'],
|
|
20
|
+
'secret': !exists(json, 'secret') ? undefined : json['secret'],
|
|
21
|
+
'source': !exists(json, 'source') ? undefined : PasswordSourceTypeEnumFromJSON(json['source']),
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
function EmbeddedWalletSecretWithUpdatedJwtToJSON(value) {
|
|
25
|
+
if (value === undefined) {
|
|
26
|
+
return undefined;
|
|
27
|
+
}
|
|
28
|
+
if (value === null) {
|
|
29
|
+
return null;
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
'mfaToken': value.mfaToken,
|
|
33
|
+
'jwt': value.jwt,
|
|
34
|
+
'user': SdkUserToJSON(value.user),
|
|
35
|
+
'minifiedJwt': value.minifiedJwt,
|
|
36
|
+
'expiresAt': value.expiresAt,
|
|
37
|
+
'walletId': value.walletId,
|
|
38
|
+
'secret': value.secret,
|
|
39
|
+
'source': PasswordSourceTypeEnumToJSON(value.source),
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export { EmbeddedWalletSecretWithUpdatedJwtFromJSON, EmbeddedWalletSecretWithUpdatedJwtFromJSONTyped, EmbeddedWalletSecretWithUpdatedJwtToJSON };
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
var PasswordSourceTypeEnum = require('./PasswordSourceTypeEnum.cjs');
|
|
7
|
+
|
|
8
|
+
/* tslint:disable */
|
|
9
|
+
function EmbeddedWalletSecretWithUpdatedJwtAllOfFromJSON(json) {
|
|
10
|
+
return EmbeddedWalletSecretWithUpdatedJwtAllOfFromJSONTyped(json);
|
|
11
|
+
}
|
|
12
|
+
function EmbeddedWalletSecretWithUpdatedJwtAllOfFromJSONTyped(json, ignoreDiscriminator) {
|
|
13
|
+
if ((json === undefined) || (json === null)) {
|
|
14
|
+
return json;
|
|
15
|
+
}
|
|
16
|
+
return {
|
|
17
|
+
'walletId': json['walletId'],
|
|
18
|
+
'secret': !runtime.exists(json, 'secret') ? undefined : json['secret'],
|
|
19
|
+
'source': !runtime.exists(json, 'source') ? undefined : PasswordSourceTypeEnum.PasswordSourceTypeEnumFromJSON(json['source']),
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
function EmbeddedWalletSecretWithUpdatedJwtAllOfToJSON(value) {
|
|
23
|
+
if (value === undefined) {
|
|
24
|
+
return undefined;
|
|
25
|
+
}
|
|
26
|
+
if (value === null) {
|
|
27
|
+
return null;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'walletId': value.walletId,
|
|
31
|
+
'secret': value.secret,
|
|
32
|
+
'source': PasswordSourceTypeEnum.PasswordSourceTypeEnumToJSON(value.source),
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
exports.EmbeddedWalletSecretWithUpdatedJwtAllOfFromJSON = EmbeddedWalletSecretWithUpdatedJwtAllOfFromJSON;
|
|
37
|
+
exports.EmbeddedWalletSecretWithUpdatedJwtAllOfFromJSONTyped = EmbeddedWalletSecretWithUpdatedJwtAllOfFromJSONTyped;
|
|
38
|
+
exports.EmbeddedWalletSecretWithUpdatedJwtAllOfToJSON = EmbeddedWalletSecretWithUpdatedJwtAllOfToJSON;
|
|
@@ -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 { PasswordSourceTypeEnum } from './PasswordSourceTypeEnum';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface EmbeddedWalletSecretWithUpdatedJwtAllOf
|
|
17
|
+
*/
|
|
18
|
+
export interface EmbeddedWalletSecretWithUpdatedJwtAllOf {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof EmbeddedWalletSecretWithUpdatedJwtAllOf
|
|
23
|
+
*/
|
|
24
|
+
walletId: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof EmbeddedWalletSecretWithUpdatedJwtAllOf
|
|
29
|
+
*/
|
|
30
|
+
secret?: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {PasswordSourceTypeEnum}
|
|
34
|
+
* @memberof EmbeddedWalletSecretWithUpdatedJwtAllOf
|
|
35
|
+
*/
|
|
36
|
+
source?: PasswordSourceTypeEnum;
|
|
37
|
+
}
|
|
38
|
+
export declare function EmbeddedWalletSecretWithUpdatedJwtAllOfFromJSON(json: any): EmbeddedWalletSecretWithUpdatedJwtAllOf;
|
|
39
|
+
export declare function EmbeddedWalletSecretWithUpdatedJwtAllOfFromJSONTyped(json: any, ignoreDiscriminator: boolean): EmbeddedWalletSecretWithUpdatedJwtAllOf;
|
|
40
|
+
export declare function EmbeddedWalletSecretWithUpdatedJwtAllOfToJSON(value?: EmbeddedWalletSecretWithUpdatedJwtAllOf | null): any;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
import { PasswordSourceTypeEnumFromJSON, PasswordSourceTypeEnumToJSON } from './PasswordSourceTypeEnum.js';
|
|
3
|
+
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
function EmbeddedWalletSecretWithUpdatedJwtAllOfFromJSON(json) {
|
|
6
|
+
return EmbeddedWalletSecretWithUpdatedJwtAllOfFromJSONTyped(json);
|
|
7
|
+
}
|
|
8
|
+
function EmbeddedWalletSecretWithUpdatedJwtAllOfFromJSONTyped(json, ignoreDiscriminator) {
|
|
9
|
+
if ((json === undefined) || (json === null)) {
|
|
10
|
+
return json;
|
|
11
|
+
}
|
|
12
|
+
return {
|
|
13
|
+
'walletId': json['walletId'],
|
|
14
|
+
'secret': !exists(json, 'secret') ? undefined : json['secret'],
|
|
15
|
+
'source': !exists(json, 'source') ? undefined : PasswordSourceTypeEnumFromJSON(json['source']),
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
function EmbeddedWalletSecretWithUpdatedJwtAllOfToJSON(value) {
|
|
19
|
+
if (value === undefined) {
|
|
20
|
+
return undefined;
|
|
21
|
+
}
|
|
22
|
+
if (value === null) {
|
|
23
|
+
return null;
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
'walletId': value.walletId,
|
|
27
|
+
'secret': value.secret,
|
|
28
|
+
'source': PasswordSourceTypeEnumToJSON(value.source),
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export { EmbeddedWalletSecretWithUpdatedJwtAllOfFromJSON, EmbeddedWalletSecretWithUpdatedJwtAllOfFromJSONTyped, EmbeddedWalletSecretWithUpdatedJwtAllOfToJSON };
|
|
@@ -0,0 +1,40 @@
|
|
|
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
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @enum {string}
|
|
22
|
+
*/
|
|
23
|
+
exports.PasswordSourceTypeEnum = void 0;
|
|
24
|
+
(function (PasswordSourceTypeEnum) {
|
|
25
|
+
PasswordSourceTypeEnum["Dynamic"] = "dynamic";
|
|
26
|
+
PasswordSourceTypeEnum["User"] = "user";
|
|
27
|
+
})(exports.PasswordSourceTypeEnum || (exports.PasswordSourceTypeEnum = {}));
|
|
28
|
+
function PasswordSourceTypeEnumFromJSON(json) {
|
|
29
|
+
return PasswordSourceTypeEnumFromJSONTyped(json);
|
|
30
|
+
}
|
|
31
|
+
function PasswordSourceTypeEnumFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
function PasswordSourceTypeEnumToJSON(value) {
|
|
35
|
+
return value;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
exports.PasswordSourceTypeEnumFromJSON = PasswordSourceTypeEnumFromJSON;
|
|
39
|
+
exports.PasswordSourceTypeEnumFromJSONTyped = PasswordSourceTypeEnumFromJSONTyped;
|
|
40
|
+
exports.PasswordSourceTypeEnumToJSON = PasswordSourceTypeEnumToJSON;
|
|
@@ -0,0 +1,23 @@
|
|
|
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
|
+
* @enum {string}
|
|
16
|
+
*/
|
|
17
|
+
export declare enum PasswordSourceTypeEnum {
|
|
18
|
+
Dynamic = "dynamic",
|
|
19
|
+
User = "user"
|
|
20
|
+
}
|
|
21
|
+
export declare function PasswordSourceTypeEnumFromJSON(json: any): PasswordSourceTypeEnum;
|
|
22
|
+
export declare function PasswordSourceTypeEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): PasswordSourceTypeEnum;
|
|
23
|
+
export declare function PasswordSourceTypeEnumToJSON(value?: PasswordSourceTypeEnum | null): any;
|