@dynamic-labs/sdk-api-core 0.42.0 → 0.44.0
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/index.cjs +28 -0
- package/src/index.cjs.map +1 -1
- package/src/index.js +7 -0
- package/src/index.js.map +1 -1
- package/src/models/FlowFeeConfig.d.ts +1 -1
- package/src/models/SignMessageApprovalQuorum.cjs +41 -0
- package/src/models/SignMessageApprovalQuorum.cjs.map +1 -0
- package/src/models/SignMessageApprovalQuorum.d.ts +48 -0
- package/src/models/SignMessageApprovalQuorum.js +35 -0
- package/src/models/SignMessageApprovalQuorum.js.map +1 -0
- package/src/models/SignMessageApprovalQuorumApproval.cjs +45 -0
- package/src/models/SignMessageApprovalQuorumApproval.cjs.map +1 -0
- package/src/models/SignMessageApprovalQuorumApproval.d.ts +33 -0
- package/src/models/SignMessageApprovalQuorumApproval.js +39 -0
- package/src/models/SignMessageApprovalQuorumApproval.js.map +1 -0
- package/src/models/SignMessageApprovalQuorumIntent.cjs +55 -0
- package/src/models/SignMessageApprovalQuorumIntent.cjs.map +1 -0
- package/src/models/SignMessageApprovalQuorumIntent.d.ts +63 -0
- package/src/models/SignMessageApprovalQuorumIntent.js +49 -0
- package/src/models/SignMessageApprovalQuorumIntent.js.map +1 -0
- package/src/models/SignMessageWithWaasRequest.cjs +3 -0
- package/src/models/SignMessageWithWaasRequest.cjs.map +1 -1
- package/src/models/SignMessageWithWaasRequest.d.ts +7 -0
- package/src/models/SignMessageWithWaasRequest.js +3 -0
- package/src/models/SignMessageWithWaasRequest.js.map +1 -1
- package/src/models/WaasPolicyLayerResponseRule.cjs +3 -0
- package/src/models/WaasPolicyLayerResponseRule.cjs.map +1 -1
- package/src/models/WaasPolicyLayerResponseRule.d.ts +7 -0
- package/src/models/WaasPolicyLayerResponseRule.js +3 -0
- package/src/models/WaasPolicyLayerResponseRule.js.map +1 -1
- package/src/models/WaasPolicyRule.cjs +3 -0
- package/src/models/WaasPolicyRule.cjs.map +1 -1
- package/src/models/WaasPolicyRule.d.ts +7 -0
- package/src/models/WaasPolicyRule.js +3 -0
- package/src/models/WaasPolicyRule.js.map +1 -1
- package/src/models/WaasPolicyRuleApprovalRequirements.cjs +46 -0
- package/src/models/WaasPolicyRuleApprovalRequirements.cjs.map +1 -0
- package/src/models/WaasPolicyRuleApprovalRequirements.d.ts +64 -0
- package/src/models/WaasPolicyRuleApprovalRequirements.js +40 -0
- package/src/models/WaasPolicyRuleApprovalRequirements.js.map +1 -0
- package/src/models/WaasPolicyRuleWhen.cjs +39 -0
- package/src/models/WaasPolicyRuleWhen.cjs.map +1 -0
- package/src/models/WaasPolicyRuleWhen.d.ts +41 -0
- package/src/models/WaasPolicyRuleWhen.js +33 -0
- package/src/models/WaasPolicyRuleWhen.js.map +1 -0
- package/src/models/WaasPolicyRuleWhenInitiatorRole.cjs +35 -0
- package/src/models/WaasPolicyRuleWhenInitiatorRole.cjs.map +1 -0
- package/src/models/WaasPolicyRuleWhenInitiatorRole.d.ts +33 -0
- package/src/models/WaasPolicyRuleWhenInitiatorRole.js +29 -0
- package/src/models/WaasPolicyRuleWhenInitiatorRole.js.map +1 -0
- package/src/models/WaasPolicyRuleWhenMinValue.cjs +35 -0
- package/src/models/WaasPolicyRuleWhenMinValue.cjs.map +1 -0
- package/src/models/WaasPolicyRuleWhenMinValue.d.ts +33 -0
- package/src/models/WaasPolicyRuleWhenMinValue.js +29 -0
- package/src/models/WaasPolicyRuleWhenMinValue.js.map +1 -0
- package/src/models/index.d.ts +7 -0
|
@@ -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
|
+
* Matches on the user who starts the action. Not yet resolved — until it is, a requirement that sets this field applies to all initiators.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface WaasPolicyRuleWhenInitiatorRole
|
|
16
|
+
*/
|
|
17
|
+
export interface WaasPolicyRuleWhenInitiatorRole {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {Array<string>}
|
|
21
|
+
* @memberof WaasPolicyRuleWhenInitiatorRole
|
|
22
|
+
*/
|
|
23
|
+
roles?: Array<string>;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {Array<string>}
|
|
27
|
+
* @memberof WaasPolicyRuleWhenInitiatorRole
|
|
28
|
+
*/
|
|
29
|
+
userIds?: Array<string>;
|
|
30
|
+
}
|
|
31
|
+
export declare function WaasPolicyRuleWhenInitiatorRoleFromJSON(json: any): WaasPolicyRuleWhenInitiatorRole;
|
|
32
|
+
export declare function WaasPolicyRuleWhenInitiatorRoleFromJSONTyped(json: any, ignoreDiscriminator: boolean): WaasPolicyRuleWhenInitiatorRole;
|
|
33
|
+
export declare function WaasPolicyRuleWhenInitiatorRoleToJSON(value?: WaasPolicyRuleWhenInitiatorRole | null): any;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
function WaasPolicyRuleWhenInitiatorRoleFromJSON(json) {
|
|
5
|
+
return WaasPolicyRuleWhenInitiatorRoleFromJSONTyped(json);
|
|
6
|
+
}
|
|
7
|
+
function WaasPolicyRuleWhenInitiatorRoleFromJSONTyped(json, ignoreDiscriminator) {
|
|
8
|
+
if ((json === undefined) || (json === null)) {
|
|
9
|
+
return json;
|
|
10
|
+
}
|
|
11
|
+
return {
|
|
12
|
+
'roles': !exists(json, 'roles') ? undefined : json['roles'],
|
|
13
|
+
'userIds': !exists(json, 'userIds') ? undefined : json['userIds'],
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
function WaasPolicyRuleWhenInitiatorRoleToJSON(value) {
|
|
17
|
+
if (value === undefined) {
|
|
18
|
+
return undefined;
|
|
19
|
+
}
|
|
20
|
+
if (value === null) {
|
|
21
|
+
return null;
|
|
22
|
+
}
|
|
23
|
+
return {
|
|
24
|
+
'roles': value.roles,
|
|
25
|
+
'userIds': value.userIds,
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export { WaasPolicyRuleWhenInitiatorRoleFromJSON, WaasPolicyRuleWhenInitiatorRoleFromJSONTyped, WaasPolicyRuleWhenInitiatorRoleToJSON };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WaasPolicyRuleWhenInitiatorRole.js","sources":["../../../../../libs/sdk-api-core/src/models/WaasPolicyRuleWhenInitiatorRole.ts"],"sourcesContent":null,"names":[],"mappings":";;AAAA;AAmCM,SAAU,uCAAuC,CAAC,IAAS,EAAA;AAC7D,IAAA,OAAO,4CAA4C,CAAC,IAAW,CAAC,CAAC;AACrE,CAAC;AAEe,SAAA,4CAA4C,CAAC,IAAS,EAAE,mBAA4B,EAAA;AAChG,IAAA,IAAI,CAAC,IAAI,KAAK,SAAS,MAAM,IAAI,KAAK,IAAI,CAAC,EAAE;AACzC,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;AAEH,QAAA,OAAO,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,OAAO,CAAC;AAC3D,QAAA,SAAS,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,SAAS,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,SAAS,CAAC;KACpE,CAAC;AACN,CAAC;AAEK,SAAU,qCAAqC,CAAC,KAA8C,EAAA;AAChG,IAAA,IAAI,KAAK,KAAK,SAAS,EAAE;AACrB,QAAA,OAAO,SAAS,CAAC;KACpB;AACD,IAAA,IAAI,KAAK,KAAK,IAAI,EAAE;AAChB,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,OAAO,EAAE,KAAK,CAAC,KAAK;QACpB,SAAS,EAAE,KAAK,CAAC,OAAO;KAC3B,CAAC;AACN;;;;"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
|
|
7
|
+
/* tslint:disable */
|
|
8
|
+
function WaasPolicyRuleWhenMinValueFromJSON(json) {
|
|
9
|
+
return WaasPolicyRuleWhenMinValueFromJSONTyped(json);
|
|
10
|
+
}
|
|
11
|
+
function WaasPolicyRuleWhenMinValueFromJSONTyped(json, ignoreDiscriminator) {
|
|
12
|
+
if ((json === undefined) || (json === null)) {
|
|
13
|
+
return json;
|
|
14
|
+
}
|
|
15
|
+
return {
|
|
16
|
+
'asset': !runtime.exists(json, 'asset') ? undefined : json['asset'],
|
|
17
|
+
'amount': !runtime.exists(json, 'amount') ? undefined : json['amount'],
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
function WaasPolicyRuleWhenMinValueToJSON(value) {
|
|
21
|
+
if (value === undefined) {
|
|
22
|
+
return undefined;
|
|
23
|
+
}
|
|
24
|
+
if (value === null) {
|
|
25
|
+
return null;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'asset': value.asset,
|
|
29
|
+
'amount': value.amount,
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
exports.WaasPolicyRuleWhenMinValueFromJSON = WaasPolicyRuleWhenMinValueFromJSON;
|
|
34
|
+
exports.WaasPolicyRuleWhenMinValueFromJSONTyped = WaasPolicyRuleWhenMinValueFromJSONTyped;
|
|
35
|
+
exports.WaasPolicyRuleWhenMinValueToJSON = WaasPolicyRuleWhenMinValueToJSON;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WaasPolicyRuleWhenMinValue.cjs","sources":["../../../../../libs/sdk-api-core/src/models/WaasPolicyRuleWhenMinValue.ts"],"sourcesContent":null,"names":["exists"],"mappings":";;;;;;AAAA;AAmCM,SAAU,kCAAkC,CAAC,IAAS,EAAA;AACxD,IAAA,OAAO,uCAAuC,CAAC,IAAW,CAAC,CAAC;AAChE,CAAC;AAEe,SAAA,uCAAuC,CAAC,IAAS,EAAE,mBAA4B,EAAA;AAC3F,IAAA,IAAI,CAAC,IAAI,KAAK,SAAS,MAAM,IAAI,KAAK,IAAI,CAAC,EAAE;AACzC,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;AAEH,QAAA,OAAO,EAAE,CAACA,cAAM,CAAC,IAAI,EAAE,OAAO,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,OAAO,CAAC;AAC3D,QAAA,QAAQ,EAAE,CAACA,cAAM,CAAC,IAAI,EAAE,QAAQ,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,QAAQ,CAAC;KACjE,CAAC;AACN,CAAC;AAEK,SAAU,gCAAgC,CAAC,KAAyC,EAAA;AACtF,IAAA,IAAI,KAAK,KAAK,SAAS,EAAE;AACrB,QAAA,OAAO,SAAS,CAAC;KACpB;AACD,IAAA,IAAI,KAAK,KAAK,IAAI,EAAE;AAChB,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,OAAO,EAAE,KAAK,CAAC,KAAK;QACpB,QAAQ,EAAE,KAAK,CAAC,MAAM;KACzB,CAAC;AACN;;;;;;"}
|
|
@@ -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
|
+
* The amount at which this requirement starts to apply.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface WaasPolicyRuleWhenMinValue
|
|
16
|
+
*/
|
|
17
|
+
export interface WaasPolicyRuleWhenMinValue {
|
|
18
|
+
/**
|
|
19
|
+
* Target asset address. If undefined, refers to native token (e.g., ETH)
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof WaasPolicyRuleWhenMinValue
|
|
22
|
+
*/
|
|
23
|
+
asset?: string | null;
|
|
24
|
+
/**
|
|
25
|
+
* Threshold amount (as string to handle bigint)
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof WaasPolicyRuleWhenMinValue
|
|
28
|
+
*/
|
|
29
|
+
amount?: string;
|
|
30
|
+
}
|
|
31
|
+
export declare function WaasPolicyRuleWhenMinValueFromJSON(json: any): WaasPolicyRuleWhenMinValue;
|
|
32
|
+
export declare function WaasPolicyRuleWhenMinValueFromJSONTyped(json: any, ignoreDiscriminator: boolean): WaasPolicyRuleWhenMinValue;
|
|
33
|
+
export declare function WaasPolicyRuleWhenMinValueToJSON(value?: WaasPolicyRuleWhenMinValue | null): any;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
function WaasPolicyRuleWhenMinValueFromJSON(json) {
|
|
5
|
+
return WaasPolicyRuleWhenMinValueFromJSONTyped(json);
|
|
6
|
+
}
|
|
7
|
+
function WaasPolicyRuleWhenMinValueFromJSONTyped(json, ignoreDiscriminator) {
|
|
8
|
+
if ((json === undefined) || (json === null)) {
|
|
9
|
+
return json;
|
|
10
|
+
}
|
|
11
|
+
return {
|
|
12
|
+
'asset': !exists(json, 'asset') ? undefined : json['asset'],
|
|
13
|
+
'amount': !exists(json, 'amount') ? undefined : json['amount'],
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
function WaasPolicyRuleWhenMinValueToJSON(value) {
|
|
17
|
+
if (value === undefined) {
|
|
18
|
+
return undefined;
|
|
19
|
+
}
|
|
20
|
+
if (value === null) {
|
|
21
|
+
return null;
|
|
22
|
+
}
|
|
23
|
+
return {
|
|
24
|
+
'asset': value.asset,
|
|
25
|
+
'amount': value.amount,
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export { WaasPolicyRuleWhenMinValueFromJSON, WaasPolicyRuleWhenMinValueFromJSONTyped, WaasPolicyRuleWhenMinValueToJSON };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WaasPolicyRuleWhenMinValue.js","sources":["../../../../../libs/sdk-api-core/src/models/WaasPolicyRuleWhenMinValue.ts"],"sourcesContent":null,"names":[],"mappings":";;AAAA;AAmCM,SAAU,kCAAkC,CAAC,IAAS,EAAA;AACxD,IAAA,OAAO,uCAAuC,CAAC,IAAW,CAAC,CAAC;AAChE,CAAC;AAEe,SAAA,uCAAuC,CAAC,IAAS,EAAE,mBAA4B,EAAA;AAC3F,IAAA,IAAI,CAAC,IAAI,KAAK,SAAS,MAAM,IAAI,KAAK,IAAI,CAAC,EAAE;AACzC,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;AAEH,QAAA,OAAO,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,OAAO,CAAC;AAC3D,QAAA,QAAQ,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,QAAQ,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,QAAQ,CAAC;KACjE,CAAC;AACN,CAAC;AAEK,SAAU,gCAAgC,CAAC,KAAyC,EAAA;AACtF,IAAA,IAAI,KAAK,KAAK,SAAS,EAAE;AACrB,QAAA,OAAO,SAAS,CAAC;KACpB;AACD,IAAA,IAAI,KAAK,KAAK,IAAI,EAAE;AAChB,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,OAAO,EAAE,KAAK,CAAC,KAAK;QACpB,QAAQ,EAAE,KAAK,CAAC,MAAM;KACzB,CAAC;AACN;;;;"}
|
package/src/models/index.d.ts
CHANGED
|
@@ -423,6 +423,9 @@ export * from './SettlementConfigInput';
|
|
|
423
423
|
export * from './SettlementStrategyEnum';
|
|
424
424
|
export * from './SignAleoRequestWithWaasRequest';
|
|
425
425
|
export * from './SignInProviderEnum';
|
|
426
|
+
export * from './SignMessageApprovalQuorum';
|
|
427
|
+
export * from './SignMessageApprovalQuorumApproval';
|
|
428
|
+
export * from './SignMessageApprovalQuorumIntent';
|
|
426
429
|
export * from './SignMessageAuthorizationSignature';
|
|
427
430
|
export * from './SignMessageBtcTransaction';
|
|
428
431
|
export * from './SignMessageContext';
|
|
@@ -544,9 +547,13 @@ export * from './WaasPolicyLayerResponseRule';
|
|
|
544
547
|
export * from './WaasPolicyLayerRuleOperation';
|
|
545
548
|
export * from './WaasPolicyLayerUpdateRequest';
|
|
546
549
|
export * from './WaasPolicyRule';
|
|
550
|
+
export * from './WaasPolicyRuleApprovalRequirements';
|
|
547
551
|
export * from './WaasPolicyRuleOperationRestrictions';
|
|
548
552
|
export * from './WaasPolicyRuleType';
|
|
549
553
|
export * from './WaasPolicyRuleValueLimit';
|
|
554
|
+
export * from './WaasPolicyRuleWhen';
|
|
555
|
+
export * from './WaasPolicyRuleWhenInitiatorRole';
|
|
556
|
+
export * from './WaasPolicyRuleWhenMinValue';
|
|
550
557
|
export * from './WaasShareSet';
|
|
551
558
|
export * from './WaasSignerPolicyLayerUpdateRequest';
|
|
552
559
|
export * from './WaasSignerPolicyLayerUpdateRequestAllOf';
|