@dynamic-labs/sdk-api 0.0.390 → 0.0.392
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/AllowlistsApi.cjs +1 -0
- package/src/apis/AllowlistsApi.js +1 -0
- package/src/apis/AnalyticsApi.cjs +1 -0
- package/src/apis/AnalyticsApi.js +1 -0
- package/src/apis/ChainalysisApi.cjs +1 -0
- package/src/apis/ChainalysisApi.js +1 -0
- package/src/apis/ChainsApi.cjs +1 -0
- package/src/apis/ChainsApi.js +1 -0
- package/src/apis/CustomFieldsApi.cjs +1 -0
- package/src/apis/CustomFieldsApi.js +1 -0
- package/src/apis/EnvironmentsApi.cjs +1 -0
- package/src/apis/EnvironmentsApi.js +1 -0
- package/src/apis/EventsApi.cjs +1 -0
- package/src/apis/EventsApi.js +1 -0
- package/src/apis/ExportsApi.cjs +1 -0
- package/src/apis/ExportsApi.js +1 -0
- package/src/apis/GatesApi.cjs +1 -0
- package/src/apis/GatesApi.js +1 -0
- package/src/apis/InvitesApi.cjs +1 -0
- package/src/apis/InvitesApi.js +1 -0
- package/src/apis/MembersApi.cjs +1 -0
- package/src/apis/MembersApi.js +1 -0
- package/src/apis/OrganizationsApi.cjs +1 -0
- package/src/apis/OrganizationsApi.js +1 -0
- package/src/apis/OriginsApi.cjs +1 -0
- package/src/apis/OriginsApi.js +1 -0
- package/src/apis/ProjectsApi.cjs +1 -0
- package/src/apis/ProjectsApi.js +1 -0
- package/src/apis/SDKApi.cjs +550 -0
- package/src/apis/SDKApi.d.ts +185 -1
- package/src/apis/SDKApi.js +550 -0
- package/src/apis/SDKViewsApi.cjs +1 -0
- package/src/apis/SDKViewsApi.js +1 -0
- package/src/apis/SessionsApi.cjs +1 -0
- package/src/apis/SessionsApi.js +1 -0
- package/src/apis/SettingsApi.cjs +1 -0
- package/src/apis/SettingsApi.js +1 -0
- package/src/apis/TokensApi.cjs +1 -0
- package/src/apis/TokensApi.js +1 -0
- package/src/apis/UsersApi.cjs +1 -0
- package/src/apis/UsersApi.js +1 -0
- package/src/apis/VisitsApi.cjs +1 -0
- package/src/apis/VisitsApi.js +1 -0
- package/src/apis/WalletsApi.cjs +1 -0
- package/src/apis/WalletsApi.js +1 -0
- package/src/apis/WebhooksApi.cjs +1 -0
- package/src/apis/WebhooksApi.js +1 -0
- package/src/index.cjs +52 -0
- package/src/index.js +12 -0
- package/src/models/DynamicJwt.cjs +2 -0
- package/src/models/DynamicJwt.d.ts +6 -0
- package/src/models/DynamicJwt.js +2 -0
- package/src/models/MFAAuthRecoveryDevicePostRequest.cjs +43 -0
- package/src/models/MFAAuthRecoveryDevicePostRequest.d.ts +27 -0
- package/src/models/MFAAuthRecoveryDevicePostRequest.js +37 -0
- package/src/models/MFAAuthResponse.cjs +45 -0
- package/src/models/MFAAuthResponse.d.ts +33 -0
- package/src/models/MFAAuthResponse.js +39 -0
- package/src/models/MFAAuthTotpDevicePostRequest.cjs +35 -0
- package/src/models/MFAAuthTotpDevicePostRequest.d.ts +33 -0
- package/src/models/MFAAuthTotpDevicePostRequest.js +29 -0
- package/src/models/MFADevice.cjs +42 -0
- package/src/models/MFADevice.d.ts +52 -0
- package/src/models/MFADevice.js +36 -0
- package/src/models/MFADeviceType.cjs +39 -0
- package/src/models/MFADeviceType.d.ts +22 -0
- package/src/models/MFADeviceType.js +33 -0
- package/src/models/MFAGetDeviceResponse.d.ts +28 -0
- package/src/models/MFAGetRecoveryCodesResponse.cjs +45 -0
- package/src/models/MFAGetRecoveryCodesResponse.d.ts +33 -0
- package/src/models/MFAGetRecoveryCodesResponse.js +39 -0
- package/src/models/MFAListDevicesResponse.cjs +35 -0
- package/src/models/MFAListDevicesResponse.d.ts +34 -0
- package/src/models/MFAListDevicesResponse.js +29 -0
- package/src/models/MFARegenRecoveryCodesResponse.cjs +45 -0
- package/src/models/MFARegenRecoveryCodesResponse.d.ts +33 -0
- package/src/models/MFARegenRecoveryCodesResponse.js +39 -0
- package/src/models/MFARegisterDevicePostRequest.d.ts +40 -0
- package/src/models/MFARegisterTotpDeviceGetResponse.cjs +39 -0
- package/src/models/MFARegisterTotpDeviceGetResponse.d.ts +46 -0
- package/src/models/MFARegisterTotpDeviceGetResponse.js +33 -0
- package/src/models/MFARegisterTotpDevicePostRequest.cjs +35 -0
- package/src/models/MFARegisterTotpDevicePostRequest.d.ts +34 -0
- package/src/models/MFARegisterTotpDevicePostRequest.js +29 -0
- package/src/models/MFAUpdateDeviceRequest.cjs +43 -0
- package/src/models/MFAUpdateDeviceRequest.d.ts +27 -0
- package/src/models/MFAUpdateDeviceRequest.js +37 -0
- package/src/models/MinifiedDynamicJwt.cjs +4 -0
- package/src/models/MinifiedDynamicJwt.d.ts +12 -0
- package/src/models/MinifiedDynamicJwt.js +4 -0
- package/src/models/NotFound.cjs +45 -0
- package/src/models/NotFound.d.ts +33 -0
- package/src/models/NotFound.js +39 -0
- package/src/models/UnprocessableEntityErrorCode.cjs +5 -1
- package/src/models/UnprocessableEntityErrorCode.d.ts +6 -2
- package/src/models/UnprocessableEntityErrorCode.js +5 -1
- package/src/models/index.d.ts +12 -0
|
@@ -0,0 +1,52 @@
|
|
|
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 { MFADeviceType } from './MFADeviceType';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface MFADevice
|
|
17
|
+
*/
|
|
18
|
+
export interface MFADevice {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {MFADeviceType}
|
|
22
|
+
* @memberof MFADevice
|
|
23
|
+
*/
|
|
24
|
+
type?: MFADeviceType;
|
|
25
|
+
/**
|
|
26
|
+
* Whether or not the user has a verified this MFA Device
|
|
27
|
+
* @type {boolean}
|
|
28
|
+
* @memberof MFADevice
|
|
29
|
+
*/
|
|
30
|
+
verified?: boolean;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof MFADevice
|
|
35
|
+
*/
|
|
36
|
+
id?: string;
|
|
37
|
+
/**
|
|
38
|
+
* The date and time the MFA device was created
|
|
39
|
+
* @type {Date}
|
|
40
|
+
* @memberof MFADevice
|
|
41
|
+
*/
|
|
42
|
+
createdAt?: Date;
|
|
43
|
+
/**
|
|
44
|
+
* Whether or not this is the default MFA device for the user
|
|
45
|
+
* @type {boolean}
|
|
46
|
+
* @memberof MFADevice
|
|
47
|
+
*/
|
|
48
|
+
_default?: boolean;
|
|
49
|
+
}
|
|
50
|
+
export declare function MFADeviceFromJSON(json: any): MFADevice;
|
|
51
|
+
export declare function MFADeviceFromJSONTyped(json: any, ignoreDiscriminator: boolean): MFADevice;
|
|
52
|
+
export declare function MFADeviceToJSON(value?: MFADevice | null): any;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
import { MFADeviceTypeFromJSON, MFADeviceTypeToJSON } from './MFADeviceType.js';
|
|
3
|
+
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
function MFADeviceFromJSON(json) {
|
|
6
|
+
return MFADeviceFromJSONTyped(json);
|
|
7
|
+
}
|
|
8
|
+
function MFADeviceFromJSONTyped(json, ignoreDiscriminator) {
|
|
9
|
+
if ((json === undefined) || (json === null)) {
|
|
10
|
+
return json;
|
|
11
|
+
}
|
|
12
|
+
return {
|
|
13
|
+
'type': !exists(json, 'type') ? undefined : MFADeviceTypeFromJSON(json['type']),
|
|
14
|
+
'verified': !exists(json, 'verified') ? undefined : json['verified'],
|
|
15
|
+
'id': !exists(json, 'id') ? undefined : json['id'],
|
|
16
|
+
'createdAt': !exists(json, 'createdAt') ? undefined : (new Date(json['createdAt'])),
|
|
17
|
+
'_default': !exists(json, 'default') ? undefined : json['default'],
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
function MFADeviceToJSON(value) {
|
|
21
|
+
if (value === undefined) {
|
|
22
|
+
return undefined;
|
|
23
|
+
}
|
|
24
|
+
if (value === null) {
|
|
25
|
+
return null;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'type': MFADeviceTypeToJSON(value.type),
|
|
29
|
+
'verified': value.verified,
|
|
30
|
+
'id': value.id,
|
|
31
|
+
'createdAt': value.createdAt === undefined ? undefined : (value.createdAt.toISOString()),
|
|
32
|
+
'default': value._default,
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export { MFADeviceFromJSON, MFADeviceFromJSONTyped, MFADeviceToJSON };
|
|
@@ -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.MFADeviceType = void 0;
|
|
24
|
+
(function (MFADeviceType) {
|
|
25
|
+
MFADeviceType["Totp"] = "totp";
|
|
26
|
+
})(exports.MFADeviceType || (exports.MFADeviceType = {}));
|
|
27
|
+
function MFADeviceTypeFromJSON(json) {
|
|
28
|
+
return MFADeviceTypeFromJSONTyped(json);
|
|
29
|
+
}
|
|
30
|
+
function MFADeviceTypeFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
function MFADeviceTypeToJSON(value) {
|
|
34
|
+
return value;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
exports.MFADeviceTypeFromJSON = MFADeviceTypeFromJSON;
|
|
38
|
+
exports.MFADeviceTypeFromJSONTyped = MFADeviceTypeFromJSONTyped;
|
|
39
|
+
exports.MFADeviceTypeToJSON = MFADeviceTypeToJSON;
|
|
@@ -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 MFADeviceType {
|
|
18
|
+
Totp = "totp"
|
|
19
|
+
}
|
|
20
|
+
export declare function MFADeviceTypeFromJSON(json: any): MFADeviceType;
|
|
21
|
+
export declare function MFADeviceTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): MFADeviceType;
|
|
22
|
+
export declare function MFADeviceTypeToJSON(value?: MFADeviceType | 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 MFADeviceType;
|
|
20
|
+
(function (MFADeviceType) {
|
|
21
|
+
MFADeviceType["Totp"] = "totp";
|
|
22
|
+
})(MFADeviceType || (MFADeviceType = {}));
|
|
23
|
+
function MFADeviceTypeFromJSON(json) {
|
|
24
|
+
return MFADeviceTypeFromJSONTyped(json);
|
|
25
|
+
}
|
|
26
|
+
function MFADeviceTypeFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
+
return json;
|
|
28
|
+
}
|
|
29
|
+
function MFADeviceTypeToJSON(value) {
|
|
30
|
+
return value;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export { MFADeviceType, MFADeviceTypeFromJSON, MFADeviceTypeFromJSONTyped, MFADeviceTypeToJSON };
|
|
@@ -0,0 +1,28 @@
|
|
|
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 { MFADevice } from './MFADevice';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface MFAGetDeviceResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface MFAGetDeviceResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {MFADevice}
|
|
22
|
+
* @memberof MFAGetDeviceResponse
|
|
23
|
+
*/
|
|
24
|
+
device: MFADevice;
|
|
25
|
+
}
|
|
26
|
+
export declare function MFAGetDeviceResponseFromJSON(json: any): MFAGetDeviceResponse;
|
|
27
|
+
export declare function MFAGetDeviceResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): MFAGetDeviceResponse;
|
|
28
|
+
export declare function MFAGetDeviceResponseToJSON(value?: MFAGetDeviceResponse | null): any;
|
|
@@ -0,0 +1,45 @@
|
|
|
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 MFAGetRecoveryCodesResponseFromJSON(json) {
|
|
19
|
+
return MFAGetRecoveryCodesResponseFromJSONTyped(json);
|
|
20
|
+
}
|
|
21
|
+
function MFAGetRecoveryCodesResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
22
|
+
if ((json === undefined) || (json === null)) {
|
|
23
|
+
return json;
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
'count': json['count'],
|
|
27
|
+
'recoveryCodes': json['recoveryCodes'],
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
function MFAGetRecoveryCodesResponseToJSON(value) {
|
|
31
|
+
if (value === undefined) {
|
|
32
|
+
return undefined;
|
|
33
|
+
}
|
|
34
|
+
if (value === null) {
|
|
35
|
+
return null;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'count': value.count,
|
|
39
|
+
'recoveryCodes': value.recoveryCodes,
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
exports.MFAGetRecoveryCodesResponseFromJSON = MFAGetRecoveryCodesResponseFromJSON;
|
|
44
|
+
exports.MFAGetRecoveryCodesResponseFromJSONTyped = MFAGetRecoveryCodesResponseFromJSONTyped;
|
|
45
|
+
exports.MFAGetRecoveryCodesResponseToJSON = MFAGetRecoveryCodesResponseToJSON;
|
|
@@ -0,0 +1,33 @@
|
|
|
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 MFAGetRecoveryCodesResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface MFAGetRecoveryCodesResponse {
|
|
18
|
+
/**
|
|
19
|
+
* The number of recovery codes available
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof MFAGetRecoveryCodesResponse
|
|
22
|
+
*/
|
|
23
|
+
count: number;
|
|
24
|
+
/**
|
|
25
|
+
* Recovery codes for the user to use in case they lose access to their MFA device
|
|
26
|
+
* @type {Array<string>}
|
|
27
|
+
* @memberof MFAGetRecoveryCodesResponse
|
|
28
|
+
*/
|
|
29
|
+
recoveryCodes: Array<string>;
|
|
30
|
+
}
|
|
31
|
+
export declare function MFAGetRecoveryCodesResponseFromJSON(json: any): MFAGetRecoveryCodesResponse;
|
|
32
|
+
export declare function MFAGetRecoveryCodesResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): MFAGetRecoveryCodesResponse;
|
|
33
|
+
export declare function MFAGetRecoveryCodesResponseToJSON(value?: MFAGetRecoveryCodesResponse | null): any;
|
|
@@ -0,0 +1,39 @@
|
|
|
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 MFAGetRecoveryCodesResponseFromJSON(json) {
|
|
15
|
+
return MFAGetRecoveryCodesResponseFromJSONTyped(json);
|
|
16
|
+
}
|
|
17
|
+
function MFAGetRecoveryCodesResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
18
|
+
if ((json === undefined) || (json === null)) {
|
|
19
|
+
return json;
|
|
20
|
+
}
|
|
21
|
+
return {
|
|
22
|
+
'count': json['count'],
|
|
23
|
+
'recoveryCodes': json['recoveryCodes'],
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
function MFAGetRecoveryCodesResponseToJSON(value) {
|
|
27
|
+
if (value === undefined) {
|
|
28
|
+
return undefined;
|
|
29
|
+
}
|
|
30
|
+
if (value === null) {
|
|
31
|
+
return null;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'count': value.count,
|
|
35
|
+
'recoveryCodes': value.recoveryCodes,
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export { MFAGetRecoveryCodesResponseFromJSON, MFAGetRecoveryCodesResponseFromJSONTyped, MFAGetRecoveryCodesResponseToJSON };
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var MFADevice = require('./MFADevice.cjs');
|
|
6
|
+
|
|
7
|
+
/* tslint:disable */
|
|
8
|
+
function MFAListDevicesResponseFromJSON(json) {
|
|
9
|
+
return MFAListDevicesResponseFromJSONTyped(json);
|
|
10
|
+
}
|
|
11
|
+
function MFAListDevicesResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
12
|
+
if ((json === undefined) || (json === null)) {
|
|
13
|
+
return json;
|
|
14
|
+
}
|
|
15
|
+
return {
|
|
16
|
+
'count': json['count'],
|
|
17
|
+
'devices': (json['devices'].map(MFADevice.MFADeviceFromJSON)),
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
function MFAListDevicesResponseToJSON(value) {
|
|
21
|
+
if (value === undefined) {
|
|
22
|
+
return undefined;
|
|
23
|
+
}
|
|
24
|
+
if (value === null) {
|
|
25
|
+
return null;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'count': value.count,
|
|
29
|
+
'devices': (value.devices.map(MFADevice.MFADeviceToJSON)),
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
exports.MFAListDevicesResponseFromJSON = MFAListDevicesResponseFromJSON;
|
|
34
|
+
exports.MFAListDevicesResponseFromJSONTyped = MFAListDevicesResponseFromJSONTyped;
|
|
35
|
+
exports.MFAListDevicesResponseToJSON = MFAListDevicesResponseToJSON;
|
|
@@ -0,0 +1,34 @@
|
|
|
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 { MFADevice } from './MFADevice';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface MFAListDevicesResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface MFAListDevicesResponse {
|
|
19
|
+
/**
|
|
20
|
+
* The number of MFA devices available
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof MFAListDevicesResponse
|
|
23
|
+
*/
|
|
24
|
+
count: number;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {Array<MFADevice>}
|
|
28
|
+
* @memberof MFAListDevicesResponse
|
|
29
|
+
*/
|
|
30
|
+
devices: Array<MFADevice>;
|
|
31
|
+
}
|
|
32
|
+
export declare function MFAListDevicesResponseFromJSON(json: any): MFAListDevicesResponse;
|
|
33
|
+
export declare function MFAListDevicesResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): MFAListDevicesResponse;
|
|
34
|
+
export declare function MFAListDevicesResponseToJSON(value?: MFAListDevicesResponse | null): any;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { MFADeviceFromJSON, MFADeviceToJSON } from './MFADevice.js';
|
|
2
|
+
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
function MFAListDevicesResponseFromJSON(json) {
|
|
5
|
+
return MFAListDevicesResponseFromJSONTyped(json);
|
|
6
|
+
}
|
|
7
|
+
function MFAListDevicesResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
8
|
+
if ((json === undefined) || (json === null)) {
|
|
9
|
+
return json;
|
|
10
|
+
}
|
|
11
|
+
return {
|
|
12
|
+
'count': json['count'],
|
|
13
|
+
'devices': (json['devices'].map(MFADeviceFromJSON)),
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
function MFAListDevicesResponseToJSON(value) {
|
|
17
|
+
if (value === undefined) {
|
|
18
|
+
return undefined;
|
|
19
|
+
}
|
|
20
|
+
if (value === null) {
|
|
21
|
+
return null;
|
|
22
|
+
}
|
|
23
|
+
return {
|
|
24
|
+
'count': value.count,
|
|
25
|
+
'devices': (value.devices.map(MFADeviceToJSON)),
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export { MFAListDevicesResponseFromJSON, MFAListDevicesResponseFromJSONTyped, MFAListDevicesResponseToJSON };
|
|
@@ -0,0 +1,45 @@
|
|
|
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 MFARegenRecoveryCodesResponseFromJSON(json) {
|
|
19
|
+
return MFARegenRecoveryCodesResponseFromJSONTyped(json);
|
|
20
|
+
}
|
|
21
|
+
function MFARegenRecoveryCodesResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
22
|
+
if ((json === undefined) || (json === null)) {
|
|
23
|
+
return json;
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
'count': json['count'],
|
|
27
|
+
'recoveryCodes': json['recoveryCodes'],
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
function MFARegenRecoveryCodesResponseToJSON(value) {
|
|
31
|
+
if (value === undefined) {
|
|
32
|
+
return undefined;
|
|
33
|
+
}
|
|
34
|
+
if (value === null) {
|
|
35
|
+
return null;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'count': value.count,
|
|
39
|
+
'recoveryCodes': value.recoveryCodes,
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
exports.MFARegenRecoveryCodesResponseFromJSON = MFARegenRecoveryCodesResponseFromJSON;
|
|
44
|
+
exports.MFARegenRecoveryCodesResponseFromJSONTyped = MFARegenRecoveryCodesResponseFromJSONTyped;
|
|
45
|
+
exports.MFARegenRecoveryCodesResponseToJSON = MFARegenRecoveryCodesResponseToJSON;
|
|
@@ -0,0 +1,33 @@
|
|
|
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 MFARegenRecoveryCodesResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface MFARegenRecoveryCodesResponse {
|
|
18
|
+
/**
|
|
19
|
+
* The number of recovery codes available
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof MFARegenRecoveryCodesResponse
|
|
22
|
+
*/
|
|
23
|
+
count: number;
|
|
24
|
+
/**
|
|
25
|
+
* Recovery codes for the user to use in case they lose access to their MFA device
|
|
26
|
+
* @type {Array<string>}
|
|
27
|
+
* @memberof MFARegenRecoveryCodesResponse
|
|
28
|
+
*/
|
|
29
|
+
recoveryCodes: Array<string>;
|
|
30
|
+
}
|
|
31
|
+
export declare function MFARegenRecoveryCodesResponseFromJSON(json: any): MFARegenRecoveryCodesResponse;
|
|
32
|
+
export declare function MFARegenRecoveryCodesResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): MFARegenRecoveryCodesResponse;
|
|
33
|
+
export declare function MFARegenRecoveryCodesResponseToJSON(value?: MFARegenRecoveryCodesResponse | null): any;
|
|
@@ -0,0 +1,39 @@
|
|
|
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 MFARegenRecoveryCodesResponseFromJSON(json) {
|
|
15
|
+
return MFARegenRecoveryCodesResponseFromJSONTyped(json);
|
|
16
|
+
}
|
|
17
|
+
function MFARegenRecoveryCodesResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
18
|
+
if ((json === undefined) || (json === null)) {
|
|
19
|
+
return json;
|
|
20
|
+
}
|
|
21
|
+
return {
|
|
22
|
+
'count': json['count'],
|
|
23
|
+
'recoveryCodes': json['recoveryCodes'],
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
function MFARegenRecoveryCodesResponseToJSON(value) {
|
|
27
|
+
if (value === undefined) {
|
|
28
|
+
return undefined;
|
|
29
|
+
}
|
|
30
|
+
if (value === null) {
|
|
31
|
+
return null;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'count': value.count,
|
|
35
|
+
'recoveryCodes': value.recoveryCodes,
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export { MFARegenRecoveryCodesResponseFromJSON, MFARegenRecoveryCodesResponseFromJSONTyped, MFARegenRecoveryCodesResponseToJSON };
|
|
@@ -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 { MFADeviceType } from './MFADeviceType';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface MFARegisterDevicePostRequest
|
|
17
|
+
*/
|
|
18
|
+
export interface MFARegisterDevicePostRequest {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {MFADeviceType}
|
|
22
|
+
* @memberof MFARegisterDevicePostRequest
|
|
23
|
+
*/
|
|
24
|
+
type: MFADeviceType;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof MFARegisterDevicePostRequest
|
|
29
|
+
*/
|
|
30
|
+
id: string;
|
|
31
|
+
/**
|
|
32
|
+
* The TOTP code generated by the user
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof MFARegisterDevicePostRequest
|
|
35
|
+
*/
|
|
36
|
+
code: string;
|
|
37
|
+
}
|
|
38
|
+
export declare function MFARegisterDevicePostRequestFromJSON(json: any): MFARegisterDevicePostRequest;
|
|
39
|
+
export declare function MFARegisterDevicePostRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): MFARegisterDevicePostRequest;
|
|
40
|
+
export declare function MFARegisterDevicePostRequestToJSON(value?: MFARegisterDevicePostRequest | null): any;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var MFADeviceType = require('./MFADeviceType.cjs');
|
|
6
|
+
|
|
7
|
+
/* tslint:disable */
|
|
8
|
+
function MFARegisterTotpDeviceGetResponseFromJSON(json) {
|
|
9
|
+
return MFARegisterTotpDeviceGetResponseFromJSONTyped(json);
|
|
10
|
+
}
|
|
11
|
+
function MFARegisterTotpDeviceGetResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
12
|
+
if ((json === undefined) || (json === null)) {
|
|
13
|
+
return json;
|
|
14
|
+
}
|
|
15
|
+
return {
|
|
16
|
+
'id': json['id'],
|
|
17
|
+
'type': MFADeviceType.MFADeviceTypeFromJSON(json['type']),
|
|
18
|
+
'secret': json['secret'],
|
|
19
|
+
'uri': json['uri'],
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
function MFARegisterTotpDeviceGetResponseToJSON(value) {
|
|
23
|
+
if (value === undefined) {
|
|
24
|
+
return undefined;
|
|
25
|
+
}
|
|
26
|
+
if (value === null) {
|
|
27
|
+
return null;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'id': value.id,
|
|
31
|
+
'type': MFADeviceType.MFADeviceTypeToJSON(value.type),
|
|
32
|
+
'secret': value.secret,
|
|
33
|
+
'uri': value.uri,
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
exports.MFARegisterTotpDeviceGetResponseFromJSON = MFARegisterTotpDeviceGetResponseFromJSON;
|
|
38
|
+
exports.MFARegisterTotpDeviceGetResponseFromJSONTyped = MFARegisterTotpDeviceGetResponseFromJSONTyped;
|
|
39
|
+
exports.MFARegisterTotpDeviceGetResponseToJSON = MFARegisterTotpDeviceGetResponseToJSON;
|
|
@@ -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
|
+
import { MFADeviceType } from './MFADeviceType';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface MFARegisterTotpDeviceGetResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface MFARegisterTotpDeviceGetResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof MFARegisterTotpDeviceGetResponse
|
|
23
|
+
*/
|
|
24
|
+
id: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {MFADeviceType}
|
|
28
|
+
* @memberof MFARegisterTotpDeviceGetResponse
|
|
29
|
+
*/
|
|
30
|
+
type: MFADeviceType;
|
|
31
|
+
/**
|
|
32
|
+
* The secret key for the TOTP device
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof MFARegisterTotpDeviceGetResponse
|
|
35
|
+
*/
|
|
36
|
+
secret: string;
|
|
37
|
+
/**
|
|
38
|
+
* The OTP Auth URI
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof MFARegisterTotpDeviceGetResponse
|
|
41
|
+
*/
|
|
42
|
+
uri: string;
|
|
43
|
+
}
|
|
44
|
+
export declare function MFARegisterTotpDeviceGetResponseFromJSON(json: any): MFARegisterTotpDeviceGetResponse;
|
|
45
|
+
export declare function MFARegisterTotpDeviceGetResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): MFARegisterTotpDeviceGetResponse;
|
|
46
|
+
export declare function MFARegisterTotpDeviceGetResponseToJSON(value?: MFARegisterTotpDeviceGetResponse | null): any;
|