forked from fireblocks/ts-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathauthorization-info.ts
53 lines (46 loc) · 1.37 KB
/
authorization-info.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
/* tslint:disable */
/* eslint-disable */
/**
* Fireblocks API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 1.6.2
* Contact: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
// May contain unused imports in some cases
// @ts-ignore
import { AuthorizationGroups } from './authorization-groups';
/**
* The information about your [Transaction Authorization Policy (TAP).](https://developers.fireblocks.com/docs/capabilities#transaction-authorization-policy-tap)
* @export
* @interface AuthorizationInfo
*/
export interface AuthorizationInfo {
/**
*
* @type {boolean}
* @memberof AuthorizationInfo
*/
'allowOperatorAsAuthorizer'?: boolean;
/**
*
* @type {string}
* @memberof AuthorizationInfo
*/
'logic'?: AuthorizationInfoLogicEnum;
/**
*
* @type {Array<AuthorizationGroups>}
* @memberof AuthorizationInfo
*/
'groups'?: Array<AuthorizationGroups>;
}
export const AuthorizationInfoLogicEnum = {
And: 'AND',
Or: 'OR'
} as const;
export type AuthorizationInfoLogicEnum = typeof AuthorizationInfoLogicEnum[keyof typeof AuthorizationInfoLogicEnum];