@dynamic-labs/sdk-api 0.0.942 → 0.0.944
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/AdminActionsApi.cjs +287 -0
- package/src/apis/AdminActionsApi.d.ts +80 -0
- package/src/apis/AdminActionsApi.js +283 -0
- package/src/apis/AllowlistsApi.cjs +3 -0
- package/src/apis/AllowlistsApi.js +3 -0
- package/src/apis/AnalyticsApi.cjs +3 -0
- package/src/apis/AnalyticsApi.js +3 -0
- package/src/apis/ChainalysisApi.cjs +3 -0
- package/src/apis/ChainalysisApi.js +3 -0
- package/src/apis/ChainsApi.cjs +3 -0
- package/src/apis/ChainsApi.js +3 -0
- package/src/apis/CustomFieldsApi.cjs +3 -0
- package/src/apis/CustomFieldsApi.js +3 -0
- package/src/apis/CustomHostnamesApi.cjs +3 -0
- package/src/apis/CustomHostnamesApi.js +3 -0
- package/src/apis/CustomNetworksApi.cjs +3 -0
- package/src/apis/CustomNetworksApi.js +3 -0
- package/src/apis/DeeplinkUrlsApi.cjs +3 -0
- package/src/apis/DeeplinkUrlsApi.js +3 -0
- package/src/apis/DepositApi.cjs +3 -0
- package/src/apis/DepositApi.js +3 -0
- package/src/apis/EnvironmentsApi.cjs +3 -0
- package/src/apis/EnvironmentsApi.js +3 -0
- package/src/apis/EventsApi.cjs +3 -0
- package/src/apis/EventsApi.js +3 -0
- package/src/apis/ExchangesApi.cjs +3 -0
- package/src/apis/ExchangesApi.js +3 -0
- package/src/apis/ExportsApi.cjs +3 -0
- package/src/apis/ExportsApi.js +3 -0
- package/src/apis/ExternalJwtApi.cjs +3 -0
- package/src/apis/ExternalJwtApi.js +3 -0
- package/src/apis/GatesApi.cjs +3 -0
- package/src/apis/GatesApi.js +3 -0
- package/src/apis/GlobalWalletAccessControlApi.cjs +3 -0
- package/src/apis/GlobalWalletAccessControlApi.js +3 -0
- package/src/apis/GlobalWalletConnectionsApi.cjs +3 -0
- package/src/apis/GlobalWalletConnectionsApi.js +3 -0
- package/src/apis/GlobalWalletsApi.cjs +3 -0
- package/src/apis/GlobalWalletsApi.js +3 -0
- package/src/apis/InvitesApi.cjs +3 -0
- package/src/apis/InvitesApi.js +3 -0
- package/src/apis/MembersApi.cjs +3 -0
- package/src/apis/MembersApi.js +3 -0
- package/src/apis/MfaSettingsApi.cjs +3 -0
- package/src/apis/MfaSettingsApi.js +3 -0
- package/src/apis/NameServicesApi.cjs +3 -0
- package/src/apis/NameServicesApi.js +3 -0
- package/src/apis/OrganizationSettingsApi.cjs +197 -0
- package/src/apis/OrganizationSettingsApi.d.ts +45 -0
- package/src/apis/OrganizationSettingsApi.js +193 -0
- package/src/apis/OrganizationsApi.cjs +3 -0
- package/src/apis/OrganizationsApi.js +3 -0
- package/src/apis/OriginsApi.cjs +3 -0
- package/src/apis/OriginsApi.js +3 -0
- package/src/apis/ProjectsApi.cjs +3 -0
- package/src/apis/ProjectsApi.js +3 -0
- package/src/apis/ProvidersApi.cjs +3 -0
- package/src/apis/ProvidersApi.js +3 -0
- package/src/apis/SDKApi.cjs +3 -0
- package/src/apis/SDKApi.js +3 -0
- package/src/apis/SDKViewsApi.cjs +3 -0
- package/src/apis/SDKViewsApi.js +3 -0
- package/src/apis/SessionsApi.cjs +3 -0
- package/src/apis/SessionsApi.js +3 -0
- package/src/apis/TestAccountApi.cjs +3 -0
- package/src/apis/TestAccountApi.js +3 -0
- package/src/apis/TokensApi.cjs +3 -0
- package/src/apis/TokensApi.js +3 -0
- package/src/apis/UserApiTokensApi.cjs +3 -0
- package/src/apis/UserApiTokensApi.js +3 -0
- package/src/apis/UsersApi.cjs +3 -0
- package/src/apis/UsersApi.js +3 -0
- package/src/apis/VisitsApi.cjs +3 -0
- package/src/apis/VisitsApi.js +3 -0
- package/src/apis/WaasApi.cjs +3 -0
- package/src/apis/WaasApi.js +3 -0
- package/src/apis/WalletConnectApi.cjs +3 -0
- package/src/apis/WalletConnectApi.js +3 -0
- package/src/apis/WalletsApi.cjs +3 -0
- package/src/apis/WalletsApi.js +3 -0
- package/src/apis/WebhooksApi.cjs +3 -0
- package/src/apis/WebhooksApi.js +3 -0
- package/src/apis/index.d.ts +2 -0
- package/src/index.cjs +64 -0
- package/src/index.js +14 -0
- package/src/models/AdminActionRequest.cjs +73 -0
- package/src/models/AdminActionRequest.d.ts +139 -0
- package/src/models/AdminActionRequest.js +67 -0
- package/src/models/AdminActionRequestListResponse.cjs +37 -0
- package/src/models/AdminActionRequestListResponse.d.ts +40 -0
- package/src/models/AdminActionRequestListResponse.js +31 -0
- package/src/models/AdminActionRequestResponse.cjs +36 -0
- package/src/models/AdminActionRequestResponse.d.ts +34 -0
- package/src/models/AdminActionRequestResponse.js +30 -0
- package/src/models/AdminActionRequestStatus.cjs +43 -0
- package/src/models/AdminActionRequestStatus.d.ts +26 -0
- package/src/models/AdminActionRequestStatus.js +37 -0
- package/src/models/AdminActionRequestUser.cjs +37 -0
- package/src/models/AdminActionRequestUser.d.ts +39 -0
- package/src/models/AdminActionRequestUser.js +31 -0
- package/src/models/AdminActionResponseDecision.cjs +40 -0
- package/src/models/AdminActionResponseDecision.d.ts +23 -0
- package/src/models/AdminActionResponseDecision.js +34 -0
- package/src/models/AdminActionResponseItem.cjs +47 -0
- package/src/models/AdminActionResponseItem.d.ts +65 -0
- package/src/models/AdminActionResponseItem.js +41 -0
- package/src/models/AdminActionReviewRequest.cjs +33 -0
- package/src/models/AdminActionReviewRequest.d.ts +27 -0
- package/src/models/AdminActionReviewRequest.js +27 -0
- package/src/models/AdminActionType.cjs +40 -0
- package/src/models/AdminActionType.d.ts +23 -0
- package/src/models/AdminActionType.js +34 -0
- package/src/models/OrganizationSettings.cjs +47 -0
- package/src/models/OrganizationSettings.d.ts +69 -0
- package/src/models/OrganizationSettings.js +41 -0
- package/src/models/OrganizationSettingsResponse.cjs +33 -0
- package/src/models/OrganizationSettingsResponse.d.ts +28 -0
- package/src/models/OrganizationSettingsResponse.js +27 -0
- package/src/models/OrganizationSettingsUpdateRequest.cjs +37 -0
- package/src/models/OrganizationSettingsUpdateRequest.d.ts +39 -0
- package/src/models/OrganizationSettingsUpdateRequest.js +31 -0
- package/src/models/ProjectSettingsSecurity.cjs +2 -0
- package/src/models/ProjectSettingsSecurity.d.ts +6 -0
- package/src/models/ProjectSettingsSecurity.js +2 -0
- package/src/models/index.d.ts +12 -0
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
import { AdminActionRequestUserFromJSON, AdminActionRequestUserToJSON } from './AdminActionRequestUser.js';
|
|
3
|
+
import { AdminActionResponseDecisionFromJSON, AdminActionResponseDecisionToJSON } from './AdminActionResponseDecision.js';
|
|
4
|
+
|
|
5
|
+
/* tslint:disable */
|
|
6
|
+
function AdminActionResponseItemFromJSON(json) {
|
|
7
|
+
return AdminActionResponseItemFromJSONTyped(json);
|
|
8
|
+
}
|
|
9
|
+
function AdminActionResponseItemFromJSONTyped(json, ignoreDiscriminator) {
|
|
10
|
+
if ((json === undefined) || (json === null)) {
|
|
11
|
+
return json;
|
|
12
|
+
}
|
|
13
|
+
return {
|
|
14
|
+
'id': json['id'],
|
|
15
|
+
'actionRequestId': json['actionRequestId'],
|
|
16
|
+
'reviewerId': json['reviewerId'],
|
|
17
|
+
'reviewer': !exists(json, 'reviewer') ? undefined : AdminActionRequestUserFromJSON(json['reviewer']),
|
|
18
|
+
'decision': AdminActionResponseDecisionFromJSON(json['decision']),
|
|
19
|
+
'note': !exists(json, 'note') ? undefined : json['note'],
|
|
20
|
+
'createdAt': (new Date(json['createdAt'])),
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
function AdminActionResponseItemToJSON(value) {
|
|
24
|
+
if (value === undefined) {
|
|
25
|
+
return undefined;
|
|
26
|
+
}
|
|
27
|
+
if (value === null) {
|
|
28
|
+
return null;
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
'id': value.id,
|
|
32
|
+
'actionRequestId': value.actionRequestId,
|
|
33
|
+
'reviewerId': value.reviewerId,
|
|
34
|
+
'reviewer': AdminActionRequestUserToJSON(value.reviewer),
|
|
35
|
+
'decision': AdminActionResponseDecisionToJSON(value.decision),
|
|
36
|
+
'note': value.note,
|
|
37
|
+
'createdAt': (value.createdAt.toISOString()),
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export { AdminActionResponseItemFromJSON, AdminActionResponseItemFromJSONTyped, AdminActionResponseItemToJSON };
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
|
|
7
|
+
/* tslint:disable */
|
|
8
|
+
function AdminActionReviewRequestFromJSON(json) {
|
|
9
|
+
return AdminActionReviewRequestFromJSONTyped(json);
|
|
10
|
+
}
|
|
11
|
+
function AdminActionReviewRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
12
|
+
if ((json === undefined) || (json === null)) {
|
|
13
|
+
return json;
|
|
14
|
+
}
|
|
15
|
+
return {
|
|
16
|
+
'note': !runtime.exists(json, 'note') ? undefined : json['note'],
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
function AdminActionReviewRequestToJSON(value) {
|
|
20
|
+
if (value === undefined) {
|
|
21
|
+
return undefined;
|
|
22
|
+
}
|
|
23
|
+
if (value === null) {
|
|
24
|
+
return null;
|
|
25
|
+
}
|
|
26
|
+
return {
|
|
27
|
+
'note': value.note,
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
exports.AdminActionReviewRequestFromJSON = AdminActionReviewRequestFromJSON;
|
|
32
|
+
exports.AdminActionReviewRequestFromJSONTyped = AdminActionReviewRequestFromJSONTyped;
|
|
33
|
+
exports.AdminActionReviewRequestToJSON = AdminActionReviewRequestToJSON;
|
|
@@ -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
|
+
* Request body for approving or denying an action request.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface AdminActionReviewRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface AdminActionReviewRequest {
|
|
18
|
+
/**
|
|
19
|
+
* Optional note explaining the decision. Shown to the submitter.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof AdminActionReviewRequest
|
|
22
|
+
*/
|
|
23
|
+
note?: string;
|
|
24
|
+
}
|
|
25
|
+
export declare function AdminActionReviewRequestFromJSON(json: any): AdminActionReviewRequest;
|
|
26
|
+
export declare function AdminActionReviewRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): AdminActionReviewRequest;
|
|
27
|
+
export declare function AdminActionReviewRequestToJSON(value?: AdminActionReviewRequest | null): any;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
function AdminActionReviewRequestFromJSON(json) {
|
|
5
|
+
return AdminActionReviewRequestFromJSONTyped(json);
|
|
6
|
+
}
|
|
7
|
+
function AdminActionReviewRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
8
|
+
if ((json === undefined) || (json === null)) {
|
|
9
|
+
return json;
|
|
10
|
+
}
|
|
11
|
+
return {
|
|
12
|
+
'note': !exists(json, 'note') ? undefined : json['note'],
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
function AdminActionReviewRequestToJSON(value) {
|
|
16
|
+
if (value === undefined) {
|
|
17
|
+
return undefined;
|
|
18
|
+
}
|
|
19
|
+
if (value === null) {
|
|
20
|
+
return null;
|
|
21
|
+
}
|
|
22
|
+
return {
|
|
23
|
+
'note': value.note,
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export { AdminActionReviewRequestFromJSON, AdminActionReviewRequestFromJSONTyped, AdminActionReviewRequestToJSON };
|
|
@@ -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
|
+
* The type of admin action. Determines how the action payload is interpreted and executed.
|
|
20
|
+
* @export
|
|
21
|
+
* @enum {string}
|
|
22
|
+
*/
|
|
23
|
+
exports.AdminActionType = void 0;
|
|
24
|
+
(function (AdminActionType) {
|
|
25
|
+
AdminActionType["SettingsChange"] = "settings_change";
|
|
26
|
+
AdminActionType["ResetUserMfa"] = "reset_user_mfa";
|
|
27
|
+
})(exports.AdminActionType || (exports.AdminActionType = {}));
|
|
28
|
+
function AdminActionTypeFromJSON(json) {
|
|
29
|
+
return AdminActionTypeFromJSONTyped(json);
|
|
30
|
+
}
|
|
31
|
+
function AdminActionTypeFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
function AdminActionTypeToJSON(value) {
|
|
35
|
+
return value;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
exports.AdminActionTypeFromJSON = AdminActionTypeFromJSON;
|
|
39
|
+
exports.AdminActionTypeFromJSONTyped = AdminActionTypeFromJSONTyped;
|
|
40
|
+
exports.AdminActionTypeToJSON = AdminActionTypeToJSON;
|
|
@@ -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
|
+
* The type of admin action. Determines how the action payload is interpreted and executed.
|
|
14
|
+
* @export
|
|
15
|
+
* @enum {string}
|
|
16
|
+
*/
|
|
17
|
+
export declare enum AdminActionType {
|
|
18
|
+
SettingsChange = "settings_change",
|
|
19
|
+
ResetUserMfa = "reset_user_mfa"
|
|
20
|
+
}
|
|
21
|
+
export declare function AdminActionTypeFromJSON(json: any): AdminActionType;
|
|
22
|
+
export declare function AdminActionTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): AdminActionType;
|
|
23
|
+
export declare function AdminActionTypeToJSON(value?: AdminActionType | null): any;
|
|
@@ -0,0 +1,34 @@
|
|
|
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
|
+
* The type of admin action. Determines how the action payload is interpreted and executed.
|
|
16
|
+
* @export
|
|
17
|
+
* @enum {string}
|
|
18
|
+
*/
|
|
19
|
+
var AdminActionType;
|
|
20
|
+
(function (AdminActionType) {
|
|
21
|
+
AdminActionType["SettingsChange"] = "settings_change";
|
|
22
|
+
AdminActionType["ResetUserMfa"] = "reset_user_mfa";
|
|
23
|
+
})(AdminActionType || (AdminActionType = {}));
|
|
24
|
+
function AdminActionTypeFromJSON(json) {
|
|
25
|
+
return AdminActionTypeFromJSONTyped(json);
|
|
26
|
+
}
|
|
27
|
+
function AdminActionTypeFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
function AdminActionTypeToJSON(value) {
|
|
31
|
+
return value;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export { AdminActionType, AdminActionTypeFromJSON, AdminActionTypeFromJSONTyped, AdminActionTypeToJSON };
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
|
|
7
|
+
/* tslint:disable */
|
|
8
|
+
function OrganizationSettingsFromJSON(json) {
|
|
9
|
+
return OrganizationSettingsFromJSONTyped(json);
|
|
10
|
+
}
|
|
11
|
+
function OrganizationSettingsFromJSONTyped(json, ignoreDiscriminator) {
|
|
12
|
+
if ((json === undefined) || (json === null)) {
|
|
13
|
+
return json;
|
|
14
|
+
}
|
|
15
|
+
return {
|
|
16
|
+
'id': !runtime.exists(json, 'id') ? undefined : json['id'],
|
|
17
|
+
'organizationId': !runtime.exists(json, 'organizationId') ? undefined : json['organizationId'],
|
|
18
|
+
'approvalEnabled': json['approvalEnabled'],
|
|
19
|
+
'approvalTtlHours': json['approvalTtlHours'],
|
|
20
|
+
'approvalRequiredApprovals': json['approvalRequiredApprovals'],
|
|
21
|
+
'updatedById': !runtime.exists(json, 'updatedById') ? undefined : json['updatedById'],
|
|
22
|
+
'createdAt': !runtime.exists(json, 'createdAt') ? undefined : (new Date(json['createdAt'])),
|
|
23
|
+
'updatedAt': !runtime.exists(json, 'updatedAt') ? undefined : (new Date(json['updatedAt'])),
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
function OrganizationSettingsToJSON(value) {
|
|
27
|
+
if (value === undefined) {
|
|
28
|
+
return undefined;
|
|
29
|
+
}
|
|
30
|
+
if (value === null) {
|
|
31
|
+
return null;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'id': value.id,
|
|
35
|
+
'organizationId': value.organizationId,
|
|
36
|
+
'approvalEnabled': value.approvalEnabled,
|
|
37
|
+
'approvalTtlHours': value.approvalTtlHours,
|
|
38
|
+
'approvalRequiredApprovals': value.approvalRequiredApprovals,
|
|
39
|
+
'updatedById': value.updatedById,
|
|
40
|
+
'createdAt': value.createdAt === undefined ? undefined : (value.createdAt.toISOString()),
|
|
41
|
+
'updatedAt': value.updatedAt === undefined ? undefined : (value.updatedAt.toISOString()),
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
exports.OrganizationSettingsFromJSON = OrganizationSettingsFromJSON;
|
|
46
|
+
exports.OrganizationSettingsFromJSONTyped = OrganizationSettingsFromJSONTyped;
|
|
47
|
+
exports.OrganizationSettingsToJSON = OrganizationSettingsToJSON;
|
|
@@ -0,0 +1,69 @@
|
|
|
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
|
+
* Organization-level settings with typed columns. One row per organization, lazily created on first write.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface OrganizationSettings
|
|
16
|
+
*/
|
|
17
|
+
export interface OrganizationSettings {
|
|
18
|
+
/**
|
|
19
|
+
* Unique identifier for the settings row.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof OrganizationSettings
|
|
22
|
+
*/
|
|
23
|
+
id?: string;
|
|
24
|
+
/**
|
|
25
|
+
* The organization these settings belong to.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof OrganizationSettings
|
|
28
|
+
*/
|
|
29
|
+
organizationId?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Whether the approval workflow is active for this organization. When true, sensitive admin actions require a second admin to approve.
|
|
32
|
+
* @type {boolean}
|
|
33
|
+
* @memberof OrganizationSettings
|
|
34
|
+
*/
|
|
35
|
+
approvalEnabled: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* Number of hours before a pending approval request expires. Default 8.
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof OrganizationSettings
|
|
40
|
+
*/
|
|
41
|
+
approvalTtlHours: number;
|
|
42
|
+
/**
|
|
43
|
+
* Number of approvals required before an action is executed. Default 1 (v1). Reserved for future quorum support.
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof OrganizationSettings
|
|
46
|
+
*/
|
|
47
|
+
approvalRequiredApprovals: number;
|
|
48
|
+
/**
|
|
49
|
+
* The user who last updated these settings.
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof OrganizationSettings
|
|
52
|
+
*/
|
|
53
|
+
updatedById?: string | null;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {Date}
|
|
57
|
+
* @memberof OrganizationSettings
|
|
58
|
+
*/
|
|
59
|
+
createdAt?: Date;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {Date}
|
|
63
|
+
* @memberof OrganizationSettings
|
|
64
|
+
*/
|
|
65
|
+
updatedAt?: Date;
|
|
66
|
+
}
|
|
67
|
+
export declare function OrganizationSettingsFromJSON(json: any): OrganizationSettings;
|
|
68
|
+
export declare function OrganizationSettingsFromJSONTyped(json: any, ignoreDiscriminator: boolean): OrganizationSettings;
|
|
69
|
+
export declare function OrganizationSettingsToJSON(value?: OrganizationSettings | null): any;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
function OrganizationSettingsFromJSON(json) {
|
|
5
|
+
return OrganizationSettingsFromJSONTyped(json);
|
|
6
|
+
}
|
|
7
|
+
function OrganizationSettingsFromJSONTyped(json, ignoreDiscriminator) {
|
|
8
|
+
if ((json === undefined) || (json === null)) {
|
|
9
|
+
return json;
|
|
10
|
+
}
|
|
11
|
+
return {
|
|
12
|
+
'id': !exists(json, 'id') ? undefined : json['id'],
|
|
13
|
+
'organizationId': !exists(json, 'organizationId') ? undefined : json['organizationId'],
|
|
14
|
+
'approvalEnabled': json['approvalEnabled'],
|
|
15
|
+
'approvalTtlHours': json['approvalTtlHours'],
|
|
16
|
+
'approvalRequiredApprovals': json['approvalRequiredApprovals'],
|
|
17
|
+
'updatedById': !exists(json, 'updatedById') ? undefined : json['updatedById'],
|
|
18
|
+
'createdAt': !exists(json, 'createdAt') ? undefined : (new Date(json['createdAt'])),
|
|
19
|
+
'updatedAt': !exists(json, 'updatedAt') ? undefined : (new Date(json['updatedAt'])),
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
function OrganizationSettingsToJSON(value) {
|
|
23
|
+
if (value === undefined) {
|
|
24
|
+
return undefined;
|
|
25
|
+
}
|
|
26
|
+
if (value === null) {
|
|
27
|
+
return null;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'id': value.id,
|
|
31
|
+
'organizationId': value.organizationId,
|
|
32
|
+
'approvalEnabled': value.approvalEnabled,
|
|
33
|
+
'approvalTtlHours': value.approvalTtlHours,
|
|
34
|
+
'approvalRequiredApprovals': value.approvalRequiredApprovals,
|
|
35
|
+
'updatedById': value.updatedById,
|
|
36
|
+
'createdAt': value.createdAt === undefined ? undefined : (value.createdAt.toISOString()),
|
|
37
|
+
'updatedAt': value.updatedAt === undefined ? undefined : (value.updatedAt.toISOString()),
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export { OrganizationSettingsFromJSON, OrganizationSettingsFromJSONTyped, OrganizationSettingsToJSON };
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var OrganizationSettings = require('./OrganizationSettings.cjs');
|
|
6
|
+
|
|
7
|
+
/* tslint:disable */
|
|
8
|
+
function OrganizationSettingsResponseFromJSON(json) {
|
|
9
|
+
return OrganizationSettingsResponseFromJSONTyped(json);
|
|
10
|
+
}
|
|
11
|
+
function OrganizationSettingsResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
12
|
+
if ((json === undefined) || (json === null)) {
|
|
13
|
+
return json;
|
|
14
|
+
}
|
|
15
|
+
return {
|
|
16
|
+
'organizationSettings': OrganizationSettings.OrganizationSettingsFromJSON(json['organizationSettings']),
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
function OrganizationSettingsResponseToJSON(value) {
|
|
20
|
+
if (value === undefined) {
|
|
21
|
+
return undefined;
|
|
22
|
+
}
|
|
23
|
+
if (value === null) {
|
|
24
|
+
return null;
|
|
25
|
+
}
|
|
26
|
+
return {
|
|
27
|
+
'organizationSettings': OrganizationSettings.OrganizationSettingsToJSON(value.organizationSettings),
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
exports.OrganizationSettingsResponseFromJSON = OrganizationSettingsResponseFromJSON;
|
|
32
|
+
exports.OrganizationSettingsResponseFromJSONTyped = OrganizationSettingsResponseFromJSONTyped;
|
|
33
|
+
exports.OrganizationSettingsResponseToJSON = OrganizationSettingsResponseToJSON;
|
|
@@ -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 { OrganizationSettings } from './OrganizationSettings';
|
|
13
|
+
/**
|
|
14
|
+
* Wrapper response for a single organization settings object.
|
|
15
|
+
* @export
|
|
16
|
+
* @interface OrganizationSettingsResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface OrganizationSettingsResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {OrganizationSettings}
|
|
22
|
+
* @memberof OrganizationSettingsResponse
|
|
23
|
+
*/
|
|
24
|
+
organizationSettings: OrganizationSettings;
|
|
25
|
+
}
|
|
26
|
+
export declare function OrganizationSettingsResponseFromJSON(json: any): OrganizationSettingsResponse;
|
|
27
|
+
export declare function OrganizationSettingsResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): OrganizationSettingsResponse;
|
|
28
|
+
export declare function OrganizationSettingsResponseToJSON(value?: OrganizationSettingsResponse | null): any;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { OrganizationSettingsFromJSON, OrganizationSettingsToJSON } from './OrganizationSettings.js';
|
|
2
|
+
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
function OrganizationSettingsResponseFromJSON(json) {
|
|
5
|
+
return OrganizationSettingsResponseFromJSONTyped(json);
|
|
6
|
+
}
|
|
7
|
+
function OrganizationSettingsResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
8
|
+
if ((json === undefined) || (json === null)) {
|
|
9
|
+
return json;
|
|
10
|
+
}
|
|
11
|
+
return {
|
|
12
|
+
'organizationSettings': OrganizationSettingsFromJSON(json['organizationSettings']),
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
function OrganizationSettingsResponseToJSON(value) {
|
|
16
|
+
if (value === undefined) {
|
|
17
|
+
return undefined;
|
|
18
|
+
}
|
|
19
|
+
if (value === null) {
|
|
20
|
+
return null;
|
|
21
|
+
}
|
|
22
|
+
return {
|
|
23
|
+
'organizationSettings': OrganizationSettingsToJSON(value.organizationSettings),
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export { OrganizationSettingsResponseFromJSON, OrganizationSettingsResponseFromJSONTyped, OrganizationSettingsResponseToJSON };
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
|
|
7
|
+
/* tslint:disable */
|
|
8
|
+
function OrganizationSettingsUpdateRequestFromJSON(json) {
|
|
9
|
+
return OrganizationSettingsUpdateRequestFromJSONTyped(json);
|
|
10
|
+
}
|
|
11
|
+
function OrganizationSettingsUpdateRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
12
|
+
if ((json === undefined) || (json === null)) {
|
|
13
|
+
return json;
|
|
14
|
+
}
|
|
15
|
+
return {
|
|
16
|
+
'approvalEnabled': !runtime.exists(json, 'approvalEnabled') ? undefined : json['approvalEnabled'],
|
|
17
|
+
'approvalTtlHours': !runtime.exists(json, 'approvalTtlHours') ? undefined : json['approvalTtlHours'],
|
|
18
|
+
'approvalRequiredApprovals': !runtime.exists(json, 'approvalRequiredApprovals') ? undefined : json['approvalRequiredApprovals'],
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
function OrganizationSettingsUpdateRequestToJSON(value) {
|
|
22
|
+
if (value === undefined) {
|
|
23
|
+
return undefined;
|
|
24
|
+
}
|
|
25
|
+
if (value === null) {
|
|
26
|
+
return null;
|
|
27
|
+
}
|
|
28
|
+
return {
|
|
29
|
+
'approvalEnabled': value.approvalEnabled,
|
|
30
|
+
'approvalTtlHours': value.approvalTtlHours,
|
|
31
|
+
'approvalRequiredApprovals': value.approvalRequiredApprovals,
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
exports.OrganizationSettingsUpdateRequestFromJSON = OrganizationSettingsUpdateRequestFromJSON;
|
|
36
|
+
exports.OrganizationSettingsUpdateRequestFromJSONTyped = OrganizationSettingsUpdateRequestFromJSONTyped;
|
|
37
|
+
exports.OrganizationSettingsUpdateRequestToJSON = OrganizationSettingsUpdateRequestToJSON;
|
|
@@ -0,0 +1,39 @@
|
|
|
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
|
+
* Partial update for organization settings. Only provided fields are updated.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface OrganizationSettingsUpdateRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface OrganizationSettingsUpdateRequest {
|
|
18
|
+
/**
|
|
19
|
+
* Toggle the approval workflow on or off.
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @memberof OrganizationSettingsUpdateRequest
|
|
22
|
+
*/
|
|
23
|
+
approvalEnabled?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* Hours before a pending request expires (1–168).
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof OrganizationSettingsUpdateRequest
|
|
28
|
+
*/
|
|
29
|
+
approvalTtlHours?: number;
|
|
30
|
+
/**
|
|
31
|
+
* Number of approvals required (minimum 1).
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof OrganizationSettingsUpdateRequest
|
|
34
|
+
*/
|
|
35
|
+
approvalRequiredApprovals?: number;
|
|
36
|
+
}
|
|
37
|
+
export declare function OrganizationSettingsUpdateRequestFromJSON(json: any): OrganizationSettingsUpdateRequest;
|
|
38
|
+
export declare function OrganizationSettingsUpdateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): OrganizationSettingsUpdateRequest;
|
|
39
|
+
export declare function OrganizationSettingsUpdateRequestToJSON(value?: OrganizationSettingsUpdateRequest | null): any;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
function OrganizationSettingsUpdateRequestFromJSON(json) {
|
|
5
|
+
return OrganizationSettingsUpdateRequestFromJSONTyped(json);
|
|
6
|
+
}
|
|
7
|
+
function OrganizationSettingsUpdateRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
8
|
+
if ((json === undefined) || (json === null)) {
|
|
9
|
+
return json;
|
|
10
|
+
}
|
|
11
|
+
return {
|
|
12
|
+
'approvalEnabled': !exists(json, 'approvalEnabled') ? undefined : json['approvalEnabled'],
|
|
13
|
+
'approvalTtlHours': !exists(json, 'approvalTtlHours') ? undefined : json['approvalTtlHours'],
|
|
14
|
+
'approvalRequiredApprovals': !exists(json, 'approvalRequiredApprovals') ? undefined : json['approvalRequiredApprovals'],
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
function OrganizationSettingsUpdateRequestToJSON(value) {
|
|
18
|
+
if (value === undefined) {
|
|
19
|
+
return undefined;
|
|
20
|
+
}
|
|
21
|
+
if (value === null) {
|
|
22
|
+
return null;
|
|
23
|
+
}
|
|
24
|
+
return {
|
|
25
|
+
'approvalEnabled': value.approvalEnabled,
|
|
26
|
+
'approvalTtlHours': value.approvalTtlHours,
|
|
27
|
+
'approvalRequiredApprovals': value.approvalRequiredApprovals,
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export { OrganizationSettingsUpdateRequestFromJSON, OrganizationSettingsUpdateRequestFromJSONTyped, OrganizationSettingsUpdateRequestToJSON };
|
|
@@ -24,6 +24,7 @@ function ProjectSettingsSecurityFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
24
24
|
'mfa': !runtime.exists(json, 'mfa') ? undefined : MFASettings.MFASettingsFromJSON(json['mfa']),
|
|
25
25
|
'auth': !runtime.exists(json, 'auth') ? undefined : AuthSettings.AuthSettingsFromJSON(json['auth']),
|
|
26
26
|
'externalAuth': !runtime.exists(json, 'externalAuth') ? undefined : ExternalAuth.ExternalAuthFromJSON(json['externalAuth']),
|
|
27
|
+
'deviceRegistrationRequired': !runtime.exists(json, 'deviceRegistrationRequired') ? undefined : json['deviceRegistrationRequired'],
|
|
27
28
|
'environmentLocked': !runtime.exists(json, 'environmentLocked') ? undefined : json['environmentLocked'],
|
|
28
29
|
'notifications': !runtime.exists(json, 'notifications') ? undefined : SecurityNotifications.SecurityNotificationsFromJSON(json['notifications']),
|
|
29
30
|
};
|
|
@@ -41,6 +42,7 @@ function ProjectSettingsSecurityToJSON(value) {
|
|
|
41
42
|
'mfa': MFASettings.MFASettingsToJSON(value.mfa),
|
|
42
43
|
'auth': AuthSettings.AuthSettingsToJSON(value.auth),
|
|
43
44
|
'externalAuth': ExternalAuth.ExternalAuthToJSON(value.externalAuth),
|
|
45
|
+
'deviceRegistrationRequired': value.deviceRegistrationRequired,
|
|
44
46
|
'environmentLocked': value.environmentLocked,
|
|
45
47
|
'notifications': SecurityNotifications.SecurityNotificationsToJSON(value.notifications),
|
|
46
48
|
};
|
|
@@ -51,6 +51,12 @@ export interface ProjectSettingsSecurity {
|
|
|
51
51
|
* @memberof ProjectSettingsSecurity
|
|
52
52
|
*/
|
|
53
53
|
externalAuth?: ExternalAuth;
|
|
54
|
+
/**
|
|
55
|
+
* When enabled, users must verify new devices via email before accessing the application. Defaults to true when not set.
|
|
56
|
+
* @type {boolean}
|
|
57
|
+
* @memberof ProjectSettingsSecurity
|
|
58
|
+
*/
|
|
59
|
+
deviceRegistrationRequired?: boolean;
|
|
54
60
|
/**
|
|
55
61
|
* When enabled, all SDK requests to this environment will be blocked.
|
|
56
62
|
* @type {boolean}
|
|
@@ -20,6 +20,7 @@ function ProjectSettingsSecurityFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
20
20
|
'mfa': !exists(json, 'mfa') ? undefined : MFASettingsFromJSON(json['mfa']),
|
|
21
21
|
'auth': !exists(json, 'auth') ? undefined : AuthSettingsFromJSON(json['auth']),
|
|
22
22
|
'externalAuth': !exists(json, 'externalAuth') ? undefined : ExternalAuthFromJSON(json['externalAuth']),
|
|
23
|
+
'deviceRegistrationRequired': !exists(json, 'deviceRegistrationRequired') ? undefined : json['deviceRegistrationRequired'],
|
|
23
24
|
'environmentLocked': !exists(json, 'environmentLocked') ? undefined : json['environmentLocked'],
|
|
24
25
|
'notifications': !exists(json, 'notifications') ? undefined : SecurityNotificationsFromJSON(json['notifications']),
|
|
25
26
|
};
|
|
@@ -37,6 +38,7 @@ function ProjectSettingsSecurityToJSON(value) {
|
|
|
37
38
|
'mfa': MFASettingsToJSON(value.mfa),
|
|
38
39
|
'auth': AuthSettingsToJSON(value.auth),
|
|
39
40
|
'externalAuth': ExternalAuthToJSON(value.externalAuth),
|
|
41
|
+
'deviceRegistrationRequired': value.deviceRegistrationRequired,
|
|
40
42
|
'environmentLocked': value.environmentLocked,
|
|
41
43
|
'notifications': SecurityNotificationsToJSON(value.notifications),
|
|
42
44
|
};
|
package/src/models/index.d.ts
CHANGED
|
@@ -4,6 +4,15 @@ export * from './AccountBalances';
|
|
|
4
4
|
export * from './ActiveUsersTrendResult';
|
|
5
5
|
export * from './ActiveWeeklyDaysResult';
|
|
6
6
|
export * from './AddDeeplinkUrlRequest';
|
|
7
|
+
export * from './AdminActionRequest';
|
|
8
|
+
export * from './AdminActionRequestListResponse';
|
|
9
|
+
export * from './AdminActionRequestResponse';
|
|
10
|
+
export * from './AdminActionRequestStatus';
|
|
11
|
+
export * from './AdminActionRequestUser';
|
|
12
|
+
export * from './AdminActionResponseDecision';
|
|
13
|
+
export * from './AdminActionResponseItem';
|
|
14
|
+
export * from './AdminActionReviewRequest';
|
|
15
|
+
export * from './AdminActionType';
|
|
7
16
|
export * from './AdminSecurityAccessControl';
|
|
8
17
|
export * from './AdminSecurityAccessControlAccessControl';
|
|
9
18
|
export * from './AdminSecurityCookieDomain';
|
|
@@ -373,6 +382,9 @@ export * from './OrganizationMfaSettingsResponse';
|
|
|
373
382
|
export * from './OrganizationRequest';
|
|
374
383
|
export * from './OrganizationResponse';
|
|
375
384
|
export * from './OrganizationResponseOrganization';
|
|
385
|
+
export * from './OrganizationSettings';
|
|
386
|
+
export * from './OrganizationSettingsResponse';
|
|
387
|
+
export * from './OrganizationSettingsUpdateRequest';
|
|
376
388
|
export * from './OrganizationsResponse';
|
|
377
389
|
export * from './OriginResponse';
|
|
378
390
|
export * from './OriginsResponse';
|