@dynamic-labs/sdk-api 0.0.730 → 0.0.732
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 +2 -0
- package/src/apis/AllowlistsApi.js +2 -0
- package/src/apis/AnalyticsApi.cjs +2 -0
- package/src/apis/AnalyticsApi.js +2 -0
- package/src/apis/ChainalysisApi.cjs +2 -0
- package/src/apis/ChainalysisApi.js +2 -0
- package/src/apis/ChainsApi.cjs +2 -0
- package/src/apis/ChainsApi.js +2 -0
- package/src/apis/CustomFieldsApi.cjs +2 -0
- package/src/apis/CustomFieldsApi.js +2 -0
- package/src/apis/CustomHostnamesApi.cjs +2 -0
- package/src/apis/CustomHostnamesApi.js +2 -0
- package/src/apis/CustomNetworksApi.cjs +2 -0
- package/src/apis/CustomNetworksApi.js +2 -0
- package/src/apis/DeeplinkUrlsApi.cjs +2 -0
- package/src/apis/DeeplinkUrlsApi.js +2 -0
- package/src/apis/EnvironmentsApi.cjs +2 -0
- package/src/apis/EnvironmentsApi.js +2 -0
- package/src/apis/EventsApi.cjs +2 -0
- package/src/apis/EventsApi.js +2 -0
- package/src/apis/ExportsApi.cjs +2 -0
- package/src/apis/ExportsApi.js +2 -0
- package/src/apis/ExternalJwtApi.cjs +2 -0
- package/src/apis/ExternalJwtApi.js +2 -0
- package/src/apis/GatesApi.cjs +2 -0
- package/src/apis/GatesApi.js +2 -0
- package/src/apis/GlobalWalletAccessControlApi.cjs +2 -0
- package/src/apis/GlobalWalletAccessControlApi.js +2 -0
- package/src/apis/GlobalWalletsApi.cjs +2 -0
- package/src/apis/GlobalWalletsApi.js +2 -0
- package/src/apis/InvitesApi.cjs +2 -0
- package/src/apis/InvitesApi.js +2 -0
- package/src/apis/MembersApi.cjs +2 -0
- package/src/apis/MembersApi.js +2 -0
- package/src/apis/MfaSettingsApi.cjs +2 -0
- package/src/apis/MfaSettingsApi.js +2 -0
- package/src/apis/NameServicesApi.cjs +2 -0
- package/src/apis/NameServicesApi.js +2 -0
- package/src/apis/OrganizationsApi.cjs +2 -0
- package/src/apis/OrganizationsApi.js +2 -0
- package/src/apis/OriginsApi.cjs +2 -0
- package/src/apis/OriginsApi.js +2 -0
- package/src/apis/ProjectsApi.cjs +2 -0
- package/src/apis/ProjectsApi.js +2 -0
- package/src/apis/SDKApi.cjs +2 -0
- package/src/apis/SDKApi.js +2 -0
- package/src/apis/SDKViewsApi.cjs +2 -0
- package/src/apis/SDKViewsApi.js +2 -0
- package/src/apis/SessionsApi.cjs +2 -0
- package/src/apis/SessionsApi.js +2 -0
- package/src/apis/SettingsApi.cjs +2 -0
- package/src/apis/SettingsApi.js +2 -0
- package/src/apis/TestAccountApi.cjs +2 -0
- package/src/apis/TestAccountApi.js +2 -0
- package/src/apis/TokensApi.cjs +2 -0
- package/src/apis/TokensApi.js +2 -0
- package/src/apis/UserApiTokensApi.cjs +2 -0
- package/src/apis/UserApiTokensApi.js +2 -0
- package/src/apis/UsersApi.cjs +2 -0
- package/src/apis/UsersApi.js +2 -0
- package/src/apis/VisitsApi.cjs +2 -0
- package/src/apis/VisitsApi.js +2 -0
- package/src/apis/WaasApi.cjs +37 -0
- package/src/apis/WaasApi.d.ts +13 -1
- package/src/apis/WaasApi.js +37 -0
- package/src/apis/WalletsApi.cjs +2 -0
- package/src/apis/WalletsApi.js +2 -0
- package/src/apis/WebhooksApi.cjs +2 -0
- package/src/apis/WebhooksApi.js +2 -0
- package/src/index.cjs +48 -0
- package/src/index.js +10 -0
- package/src/models/SignMessageWithWaasRequest.cjs +3 -0
- package/src/models/SignMessageWithWaasRequest.d.ts +7 -0
- package/src/models/SignMessageWithWaasRequest.js +3 -0
- package/src/models/SignMessageWithWaasRequestContext.cjs +37 -0
- package/src/models/SignMessageWithWaasRequestContext.d.ts +35 -0
- package/src/models/SignMessageWithWaasRequestContext.js +31 -0
- package/src/models/SignMessageWithWaasRequestContextTransaction.cjs +49 -0
- package/src/models/SignMessageWithWaasRequestContextTransaction.d.ts +75 -0
- package/src/models/SignMessageWithWaasRequestContextTransaction.js +43 -0
- package/src/models/SignMessageWithWaasRequestContextUserOperation.cjs +63 -0
- package/src/models/SignMessageWithWaasRequestContextUserOperation.d.ts +117 -0
- package/src/models/SignMessageWithWaasRequestContextUserOperation.js +57 -0
- package/src/models/WaasPolicyArgumentConstraint.cjs +37 -0
- package/src/models/WaasPolicyArgumentConstraint.d.ts +40 -0
- package/src/models/WaasPolicyArgumentConstraint.js +31 -0
- package/src/models/WaasPolicyConstraintCondition.cjs +44 -0
- package/src/models/WaasPolicyConstraintCondition.d.ts +27 -0
- package/src/models/WaasPolicyConstraintCondition.js +38 -0
- package/src/models/WaasPolicyCreateRequest.cjs +38 -0
- package/src/models/WaasPolicyCreateRequest.d.ts +41 -0
- package/src/models/WaasPolicyCreateRequest.js +32 -0
- package/src/models/WaasPolicyResponse.cjs +33 -0
- package/src/models/WaasPolicyResponse.d.ts +27 -0
- package/src/models/WaasPolicyResponse.js +27 -0
- package/src/models/WaasPolicyRule.cjs +46 -0
- package/src/models/WaasPolicyRule.d.ts +60 -0
- package/src/models/WaasPolicyRule.js +40 -0
- package/src/models/WaasPolicyRuleType.cjs +40 -0
- package/src/models/WaasPolicyRuleType.d.ts +23 -0
- package/src/models/WaasPolicyRuleType.js +34 -0
- package/src/models/WaasPolicyRuleValueLimit.cjs +37 -0
- package/src/models/WaasPolicyRuleValueLimit.d.ts +39 -0
- package/src/models/WaasPolicyRuleValueLimit.js +31 -0
- package/src/models/index.d.ts +10 -0
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
var WaasPolicyArgumentConstraint = require('./WaasPolicyArgumentConstraint.cjs');
|
|
7
|
+
var WaasPolicyRuleType = require('./WaasPolicyRuleType.cjs');
|
|
8
|
+
var WaasPolicyRuleValueLimit = require('./WaasPolicyRuleValueLimit.cjs');
|
|
9
|
+
|
|
10
|
+
/* tslint:disable */
|
|
11
|
+
function WaasPolicyRuleFromJSON(json) {
|
|
12
|
+
return WaasPolicyRuleFromJSONTyped(json);
|
|
13
|
+
}
|
|
14
|
+
function WaasPolicyRuleFromJSONTyped(json, ignoreDiscriminator) {
|
|
15
|
+
if ((json === undefined) || (json === null)) {
|
|
16
|
+
return json;
|
|
17
|
+
}
|
|
18
|
+
return {
|
|
19
|
+
'ruleType': WaasPolicyRuleType.WaasPolicyRuleTypeFromJSON(json['ruleType']),
|
|
20
|
+
'address': json['address'],
|
|
21
|
+
'contractAbi': !runtime.exists(json, 'contractAbi') ? undefined : json['contractAbi'],
|
|
22
|
+
'functionName': !runtime.exists(json, 'functionName') ? undefined : json['functionName'],
|
|
23
|
+
'argumentConstraints': !runtime.exists(json, 'argumentConstraints') ? undefined : (json['argumentConstraints'].map(WaasPolicyArgumentConstraint.WaasPolicyArgumentConstraintFromJSON)),
|
|
24
|
+
'valueLimit': !runtime.exists(json, 'valueLimit') ? undefined : WaasPolicyRuleValueLimit.WaasPolicyRuleValueLimitFromJSON(json['valueLimit']),
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
function WaasPolicyRuleToJSON(value) {
|
|
28
|
+
if (value === undefined) {
|
|
29
|
+
return undefined;
|
|
30
|
+
}
|
|
31
|
+
if (value === null) {
|
|
32
|
+
return null;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'ruleType': WaasPolicyRuleType.WaasPolicyRuleTypeToJSON(value.ruleType),
|
|
36
|
+
'address': value.address,
|
|
37
|
+
'contractAbi': value.contractAbi,
|
|
38
|
+
'functionName': value.functionName,
|
|
39
|
+
'argumentConstraints': value.argumentConstraints === undefined ? undefined : (value.argumentConstraints.map(WaasPolicyArgumentConstraint.WaasPolicyArgumentConstraintToJSON)),
|
|
40
|
+
'valueLimit': WaasPolicyRuleValueLimit.WaasPolicyRuleValueLimitToJSON(value.valueLimit),
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
exports.WaasPolicyRuleFromJSON = WaasPolicyRuleFromJSON;
|
|
45
|
+
exports.WaasPolicyRuleFromJSONTyped = WaasPolicyRuleFromJSONTyped;
|
|
46
|
+
exports.WaasPolicyRuleToJSON = WaasPolicyRuleToJSON;
|
|
@@ -0,0 +1,60 @@
|
|
|
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 { WaasPolicyArgumentConstraint } from './WaasPolicyArgumentConstraint';
|
|
13
|
+
import { WaasPolicyRuleType } from './WaasPolicyRuleType';
|
|
14
|
+
import { WaasPolicyRuleValueLimit } from './WaasPolicyRuleValueLimit';
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface WaasPolicyRule
|
|
19
|
+
*/
|
|
20
|
+
export interface WaasPolicyRule {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {WaasPolicyRuleType}
|
|
24
|
+
* @memberof WaasPolicyRule
|
|
25
|
+
*/
|
|
26
|
+
ruleType: WaasPolicyRuleType;
|
|
27
|
+
/**
|
|
28
|
+
* Target contract address
|
|
29
|
+
* @type {string}
|
|
30
|
+
* @memberof WaasPolicyRule
|
|
31
|
+
*/
|
|
32
|
+
address: string;
|
|
33
|
+
/**
|
|
34
|
+
* Contract ABI interface
|
|
35
|
+
* @type {Array<object>}
|
|
36
|
+
* @memberof WaasPolicyRule
|
|
37
|
+
*/
|
|
38
|
+
contractAbi?: Array<object>;
|
|
39
|
+
/**
|
|
40
|
+
* Specific function name to permit/deny
|
|
41
|
+
* @type {string}
|
|
42
|
+
* @memberof WaasPolicyRule
|
|
43
|
+
*/
|
|
44
|
+
functionName?: string;
|
|
45
|
+
/**
|
|
46
|
+
* Validation rules for function arguments
|
|
47
|
+
* @type {Array<WaasPolicyArgumentConstraint>}
|
|
48
|
+
* @memberof WaasPolicyRule
|
|
49
|
+
*/
|
|
50
|
+
argumentConstraints?: Array<WaasPolicyArgumentConstraint>;
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* @type {WaasPolicyRuleValueLimit}
|
|
54
|
+
* @memberof WaasPolicyRule
|
|
55
|
+
*/
|
|
56
|
+
valueLimit?: WaasPolicyRuleValueLimit;
|
|
57
|
+
}
|
|
58
|
+
export declare function WaasPolicyRuleFromJSON(json: any): WaasPolicyRule;
|
|
59
|
+
export declare function WaasPolicyRuleFromJSONTyped(json: any, ignoreDiscriminator: boolean): WaasPolicyRule;
|
|
60
|
+
export declare function WaasPolicyRuleToJSON(value?: WaasPolicyRule | null): any;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
import { WaasPolicyArgumentConstraintFromJSON, WaasPolicyArgumentConstraintToJSON } from './WaasPolicyArgumentConstraint.js';
|
|
3
|
+
import { WaasPolicyRuleTypeFromJSON, WaasPolicyRuleTypeToJSON } from './WaasPolicyRuleType.js';
|
|
4
|
+
import { WaasPolicyRuleValueLimitFromJSON, WaasPolicyRuleValueLimitToJSON } from './WaasPolicyRuleValueLimit.js';
|
|
5
|
+
|
|
6
|
+
/* tslint:disable */
|
|
7
|
+
function WaasPolicyRuleFromJSON(json) {
|
|
8
|
+
return WaasPolicyRuleFromJSONTyped(json);
|
|
9
|
+
}
|
|
10
|
+
function WaasPolicyRuleFromJSONTyped(json, ignoreDiscriminator) {
|
|
11
|
+
if ((json === undefined) || (json === null)) {
|
|
12
|
+
return json;
|
|
13
|
+
}
|
|
14
|
+
return {
|
|
15
|
+
'ruleType': WaasPolicyRuleTypeFromJSON(json['ruleType']),
|
|
16
|
+
'address': json['address'],
|
|
17
|
+
'contractAbi': !exists(json, 'contractAbi') ? undefined : json['contractAbi'],
|
|
18
|
+
'functionName': !exists(json, 'functionName') ? undefined : json['functionName'],
|
|
19
|
+
'argumentConstraints': !exists(json, 'argumentConstraints') ? undefined : (json['argumentConstraints'].map(WaasPolicyArgumentConstraintFromJSON)),
|
|
20
|
+
'valueLimit': !exists(json, 'valueLimit') ? undefined : WaasPolicyRuleValueLimitFromJSON(json['valueLimit']),
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
function WaasPolicyRuleToJSON(value) {
|
|
24
|
+
if (value === undefined) {
|
|
25
|
+
return undefined;
|
|
26
|
+
}
|
|
27
|
+
if (value === null) {
|
|
28
|
+
return null;
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
'ruleType': WaasPolicyRuleTypeToJSON(value.ruleType),
|
|
32
|
+
'address': value.address,
|
|
33
|
+
'contractAbi': value.contractAbi,
|
|
34
|
+
'functionName': value.functionName,
|
|
35
|
+
'argumentConstraints': value.argumentConstraints === undefined ? undefined : (value.argumentConstraints.map(WaasPolicyArgumentConstraintToJSON)),
|
|
36
|
+
'valueLimit': WaasPolicyRuleValueLimitToJSON(value.valueLimit),
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export { WaasPolicyRuleFromJSON, WaasPolicyRuleFromJSONTyped, WaasPolicyRuleToJSON };
|
|
@@ -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
|
+
* Whether the rule permits or denies the specified action
|
|
20
|
+
* @export
|
|
21
|
+
* @enum {string}
|
|
22
|
+
*/
|
|
23
|
+
exports.WaasPolicyRuleType = void 0;
|
|
24
|
+
(function (WaasPolicyRuleType) {
|
|
25
|
+
WaasPolicyRuleType["Allow"] = "allow";
|
|
26
|
+
WaasPolicyRuleType["Deny"] = "deny";
|
|
27
|
+
})(exports.WaasPolicyRuleType || (exports.WaasPolicyRuleType = {}));
|
|
28
|
+
function WaasPolicyRuleTypeFromJSON(json) {
|
|
29
|
+
return WaasPolicyRuleTypeFromJSONTyped(json);
|
|
30
|
+
}
|
|
31
|
+
function WaasPolicyRuleTypeFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
function WaasPolicyRuleTypeToJSON(value) {
|
|
35
|
+
return value;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
exports.WaasPolicyRuleTypeFromJSON = WaasPolicyRuleTypeFromJSON;
|
|
39
|
+
exports.WaasPolicyRuleTypeFromJSONTyped = WaasPolicyRuleTypeFromJSONTyped;
|
|
40
|
+
exports.WaasPolicyRuleTypeToJSON = WaasPolicyRuleTypeToJSON;
|
|
@@ -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
|
+
* Whether the rule permits or denies the specified action
|
|
14
|
+
* @export
|
|
15
|
+
* @enum {string}
|
|
16
|
+
*/
|
|
17
|
+
export declare enum WaasPolicyRuleType {
|
|
18
|
+
Allow = "allow",
|
|
19
|
+
Deny = "deny"
|
|
20
|
+
}
|
|
21
|
+
export declare function WaasPolicyRuleTypeFromJSON(json: any): WaasPolicyRuleType;
|
|
22
|
+
export declare function WaasPolicyRuleTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): WaasPolicyRuleType;
|
|
23
|
+
export declare function WaasPolicyRuleTypeToJSON(value?: WaasPolicyRuleType | 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
|
+
* Whether the rule permits or denies the specified action
|
|
16
|
+
* @export
|
|
17
|
+
* @enum {string}
|
|
18
|
+
*/
|
|
19
|
+
var WaasPolicyRuleType;
|
|
20
|
+
(function (WaasPolicyRuleType) {
|
|
21
|
+
WaasPolicyRuleType["Allow"] = "allow";
|
|
22
|
+
WaasPolicyRuleType["Deny"] = "deny";
|
|
23
|
+
})(WaasPolicyRuleType || (WaasPolicyRuleType = {}));
|
|
24
|
+
function WaasPolicyRuleTypeFromJSON(json) {
|
|
25
|
+
return WaasPolicyRuleTypeFromJSONTyped(json);
|
|
26
|
+
}
|
|
27
|
+
function WaasPolicyRuleTypeFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
function WaasPolicyRuleTypeToJSON(value) {
|
|
31
|
+
return value;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export { WaasPolicyRuleType, WaasPolicyRuleTypeFromJSON, WaasPolicyRuleTypeFromJSONTyped, WaasPolicyRuleTypeToJSON };
|
|
@@ -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 WaasPolicyRuleValueLimitFromJSON(json) {
|
|
9
|
+
return WaasPolicyRuleValueLimitFromJSONTyped(json);
|
|
10
|
+
}
|
|
11
|
+
function WaasPolicyRuleValueLimitFromJSONTyped(json, ignoreDiscriminator) {
|
|
12
|
+
if ((json === undefined) || (json === null)) {
|
|
13
|
+
return json;
|
|
14
|
+
}
|
|
15
|
+
return {
|
|
16
|
+
'asset': !runtime.exists(json, 'asset') ? undefined : json['asset'],
|
|
17
|
+
'maxPerCall': !runtime.exists(json, 'maxPerCall') ? undefined : json['maxPerCall'],
|
|
18
|
+
'totalLimit': !runtime.exists(json, 'totalLimit') ? undefined : json['totalLimit'],
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
function WaasPolicyRuleValueLimitToJSON(value) {
|
|
22
|
+
if (value === undefined) {
|
|
23
|
+
return undefined;
|
|
24
|
+
}
|
|
25
|
+
if (value === null) {
|
|
26
|
+
return null;
|
|
27
|
+
}
|
|
28
|
+
return {
|
|
29
|
+
'asset': value.asset,
|
|
30
|
+
'maxPerCall': value.maxPerCall,
|
|
31
|
+
'totalLimit': value.totalLimit,
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
exports.WaasPolicyRuleValueLimitFromJSON = WaasPolicyRuleValueLimitFromJSON;
|
|
36
|
+
exports.WaasPolicyRuleValueLimitFromJSONTyped = WaasPolicyRuleValueLimitFromJSONTyped;
|
|
37
|
+
exports.WaasPolicyRuleValueLimitToJSON = WaasPolicyRuleValueLimitToJSON;
|
|
@@ -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
|
+
* Value limits for the policy rule
|
|
14
|
+
* @export
|
|
15
|
+
* @interface WaasPolicyRuleValueLimit
|
|
16
|
+
*/
|
|
17
|
+
export interface WaasPolicyRuleValueLimit {
|
|
18
|
+
/**
|
|
19
|
+
* Target asset address. If undefined, refers to native token (e.g., ETH)
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof WaasPolicyRuleValueLimit
|
|
22
|
+
*/
|
|
23
|
+
asset?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Maximum value per function call (as string to handle bigint)
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof WaasPolicyRuleValueLimit
|
|
28
|
+
*/
|
|
29
|
+
maxPerCall?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Cumulative value limit (as string to handle bigint)
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof WaasPolicyRuleValueLimit
|
|
34
|
+
*/
|
|
35
|
+
totalLimit?: string;
|
|
36
|
+
}
|
|
37
|
+
export declare function WaasPolicyRuleValueLimitFromJSON(json: any): WaasPolicyRuleValueLimit;
|
|
38
|
+
export declare function WaasPolicyRuleValueLimitFromJSONTyped(json: any, ignoreDiscriminator: boolean): WaasPolicyRuleValueLimit;
|
|
39
|
+
export declare function WaasPolicyRuleValueLimitToJSON(value?: WaasPolicyRuleValueLimit | null): any;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
function WaasPolicyRuleValueLimitFromJSON(json) {
|
|
5
|
+
return WaasPolicyRuleValueLimitFromJSONTyped(json);
|
|
6
|
+
}
|
|
7
|
+
function WaasPolicyRuleValueLimitFromJSONTyped(json, ignoreDiscriminator) {
|
|
8
|
+
if ((json === undefined) || (json === null)) {
|
|
9
|
+
return json;
|
|
10
|
+
}
|
|
11
|
+
return {
|
|
12
|
+
'asset': !exists(json, 'asset') ? undefined : json['asset'],
|
|
13
|
+
'maxPerCall': !exists(json, 'maxPerCall') ? undefined : json['maxPerCall'],
|
|
14
|
+
'totalLimit': !exists(json, 'totalLimit') ? undefined : json['totalLimit'],
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
function WaasPolicyRuleValueLimitToJSON(value) {
|
|
18
|
+
if (value === undefined) {
|
|
19
|
+
return undefined;
|
|
20
|
+
}
|
|
21
|
+
if (value === null) {
|
|
22
|
+
return null;
|
|
23
|
+
}
|
|
24
|
+
return {
|
|
25
|
+
'asset': value.asset,
|
|
26
|
+
'maxPerCall': value.maxPerCall,
|
|
27
|
+
'totalLimit': value.totalLimit,
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export { WaasPolicyRuleValueLimitFromJSON, WaasPolicyRuleValueLimitFromJSONTyped, WaasPolicyRuleValueLimitToJSON };
|
package/src/models/index.d.ts
CHANGED
|
@@ -382,6 +382,9 @@ export * from './SessionsHeatmapResult';
|
|
|
382
382
|
export * from './SessionsTrendResult';
|
|
383
383
|
export * from './SignInProviderEnum';
|
|
384
384
|
export * from './SignMessageWithWaasRequest';
|
|
385
|
+
export * from './SignMessageWithWaasRequestContext';
|
|
386
|
+
export * from './SignMessageWithWaasRequestContextTransaction';
|
|
387
|
+
export * from './SignMessageWithWaasRequestContextUserOperation';
|
|
385
388
|
export * from './SignTransactionWithWaasRequest';
|
|
386
389
|
export * from './SimulateEVMTransactionRequest';
|
|
387
390
|
export * from './SimulateSVMTransactionRequest';
|
|
@@ -467,6 +470,13 @@ export * from './WaasAuthenticateResponseEncodedJwts';
|
|
|
467
470
|
export * from './WaasBackupOptionsEnum';
|
|
468
471
|
export * from './WaasChainEnum';
|
|
469
472
|
export * from './WaasDelegateSignMessageRequest';
|
|
473
|
+
export * from './WaasPolicyArgumentConstraint';
|
|
474
|
+
export * from './WaasPolicyConstraintCondition';
|
|
475
|
+
export * from './WaasPolicyCreateRequest';
|
|
476
|
+
export * from './WaasPolicyResponse';
|
|
477
|
+
export * from './WaasPolicyRule';
|
|
478
|
+
export * from './WaasPolicyRuleType';
|
|
479
|
+
export * from './WaasPolicyRuleValueLimit';
|
|
470
480
|
export * from './WaasWalletProperties';
|
|
471
481
|
export * from './Wallet';
|
|
472
482
|
export * from './WalletAdditionalAddress';
|