@dynamic-labs/sdk-api-core 0.0.1110 → 0.0.1112
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/SDKApi.cjs +68 -4
- package/src/apis/SDKApi.cjs.map +1 -1
- package/src/apis/SDKApi.d.ts +30 -5
- package/src/apis/SDKApi.js +68 -4
- package/src/apis/SDKApi.js.map +1 -1
- package/src/apis/WaasApi.cjs +2 -0
- package/src/apis/WaasApi.cjs.map +1 -1
- package/src/apis/WaasApi.js +2 -0
- package/src/apis/WaasApi.js.map +1 -1
- package/src/index.cjs +52 -0
- package/src/index.cjs.map +1 -1
- package/src/index.js +11 -0
- package/src/index.js.map +1 -1
- package/src/models/ScreenTransactionRequest.cjs +41 -0
- package/src/models/ScreenTransactionRequest.cjs.map +1 -0
- package/src/models/ScreenTransactionRequest.d.ts +47 -0
- package/src/models/ScreenTransactionRequest.js +35 -0
- package/src/models/ScreenTransactionRequest.js.map +1 -0
- package/src/models/ScreenTransactionRequestContext.cjs +49 -0
- package/src/models/ScreenTransactionRequestContext.cjs.map +1 -0
- package/src/models/ScreenTransactionRequestContext.d.ts +63 -0
- package/src/models/ScreenTransactionRequestContext.js +43 -0
- package/src/models/ScreenTransactionRequestContext.js.map +1 -0
- package/src/models/ScreenTransactionRequestContextBtcTransaction.cjs +37 -0
- package/src/models/ScreenTransactionRequestContextBtcTransaction.cjs.map +1 -0
- package/src/models/ScreenTransactionRequestContextBtcTransaction.d.ts +39 -0
- package/src/models/ScreenTransactionRequestContextBtcTransaction.js +31 -0
- package/src/models/ScreenTransactionRequestContextBtcTransaction.js.map +1 -0
- package/src/models/ScreenTransactionRequestContextEvmTransaction.cjs +33 -0
- package/src/models/ScreenTransactionRequestContextEvmTransaction.cjs.map +1 -0
- package/src/models/ScreenTransactionRequestContextEvmTransaction.d.ts +27 -0
- package/src/models/ScreenTransactionRequestContextEvmTransaction.js +27 -0
- package/src/models/ScreenTransactionRequestContextEvmTransaction.js.map +1 -0
- package/src/models/ScreenTransactionRequestContextStellarTransaction.cjs +43 -0
- package/src/models/ScreenTransactionRequestContextStellarTransaction.cjs.map +1 -0
- package/src/models/ScreenTransactionRequestContextStellarTransaction.d.ts +27 -0
- package/src/models/ScreenTransactionRequestContextStellarTransaction.js +37 -0
- package/src/models/ScreenTransactionRequestContextStellarTransaction.js.map +1 -0
- package/src/models/ScreenTransactionRequestContextSuiTransaction.cjs +43 -0
- package/src/models/ScreenTransactionRequestContextSuiTransaction.cjs.map +1 -0
- package/src/models/ScreenTransactionRequestContextSuiTransaction.d.ts +27 -0
- package/src/models/ScreenTransactionRequestContextSuiTransaction.js +37 -0
- package/src/models/ScreenTransactionRequestContextSuiTransaction.js.map +1 -0
- package/src/models/ScreenTransactionRequestContextSvmTransaction.cjs +43 -0
- package/src/models/ScreenTransactionRequestContextSvmTransaction.cjs.map +1 -0
- package/src/models/ScreenTransactionRequestContextSvmTransaction.d.ts +27 -0
- package/src/models/ScreenTransactionRequestContextSvmTransaction.js +37 -0
- package/src/models/ScreenTransactionRequestContextSvmTransaction.js.map +1 -0
- package/src/models/ScreenTransactionRequestContextTronTransaction.cjs +43 -0
- package/src/models/ScreenTransactionRequestContextTronTransaction.cjs.map +1 -0
- package/src/models/ScreenTransactionRequestContextTronTransaction.d.ts +27 -0
- package/src/models/ScreenTransactionRequestContextTronTransaction.js +37 -0
- package/src/models/ScreenTransactionRequestContextTronTransaction.js.map +1 -0
- package/src/models/ScreenTransactionResponse.cjs +46 -0
- package/src/models/ScreenTransactionResponse.cjs.map +1 -0
- package/src/models/ScreenTransactionResponse.d.ts +47 -0
- package/src/models/ScreenTransactionResponse.js +40 -0
- package/src/models/ScreenTransactionResponse.js.map +1 -0
- package/src/models/WaasPolicyLayerResponseLayerContent.cjs +3 -3
- package/src/models/WaasPolicyLayerResponseLayerContent.cjs.map +1 -1
- package/src/models/WaasPolicyLayerResponseLayerContent.d.ts +3 -3
- package/src/models/WaasPolicyLayerResponseLayerContent.js +3 -3
- package/src/models/WaasPolicyLayerResponseLayerContent.js.map +1 -1
- package/src/models/WaasPolicyLayerResponseRule.cjs +66 -0
- package/src/models/WaasPolicyLayerResponseRule.cjs.map +1 -0
- package/src/models/WaasPolicyLayerResponseRule.d.ts +116 -0
- package/src/models/WaasPolicyLayerResponseRule.js +60 -0
- package/src/models/WaasPolicyLayerResponseRule.js.map +1 -0
- package/src/models/WaasPolicyLayerRuleOperation.cjs +47 -0
- package/src/models/WaasPolicyLayerRuleOperation.cjs.map +1 -0
- package/src/models/WaasPolicyLayerRuleOperation.d.ts +48 -0
- package/src/models/WaasPolicyLayerRuleOperation.js +41 -0
- package/src/models/WaasPolicyLayerRuleOperation.js.map +1 -0
- package/src/models/WaasPolicyLayerUpdateRequest.cjs +4 -0
- package/src/models/WaasPolicyLayerUpdateRequest.cjs.map +1 -1
- package/src/models/WaasPolicyLayerUpdateRequest.d.ts +10 -2
- package/src/models/WaasPolicyLayerUpdateRequest.js +4 -0
- package/src/models/WaasPolicyLayerUpdateRequest.js.map +1 -1
- package/src/models/WaasSignerPolicyLayerUpdateRequest.cjs +4 -0
- package/src/models/WaasSignerPolicyLayerUpdateRequest.cjs.map +1 -1
- package/src/models/WaasSignerPolicyLayerUpdateRequest.d.ts +10 -2
- package/src/models/WaasSignerPolicyLayerUpdateRequest.js +4 -0
- package/src/models/WaasSignerPolicyLayerUpdateRequest.js.map +1 -1
- package/src/models/index.d.ts +11 -0
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { WaasPolicyLayerRuleOperation } from './WaasPolicyLayerRuleOperation';
|
|
12
13
|
import { WaasPolicyRule } from './WaasPolicyRule';
|
|
13
14
|
/**
|
|
14
15
|
*
|
|
@@ -17,7 +18,7 @@ import { WaasPolicyRule } from './WaasPolicyRule';
|
|
|
17
18
|
*/
|
|
18
19
|
export interface WaasPolicyLayerUpdateRequest {
|
|
19
20
|
/**
|
|
20
|
-
* The per-Rule operation to apply to the wallet-Layer
|
|
21
|
+
* The per-Rule operation to apply to the wallet-Layer, or batch to apply multiple operations atomically in one enclave cycle
|
|
21
22
|
* @type {string}
|
|
22
23
|
* @memberof WaasPolicyLayerUpdateRequest
|
|
23
24
|
*/
|
|
@@ -34,6 +35,12 @@ export interface WaasPolicyLayerUpdateRequest {
|
|
|
34
35
|
* @memberof WaasPolicyLayerUpdateRequest
|
|
35
36
|
*/
|
|
36
37
|
ruleId?: string;
|
|
38
|
+
/**
|
|
39
|
+
* Only used when op is batch — applied atomically in one enclave cycle
|
|
40
|
+
* @type {Array<WaasPolicyLayerRuleOperation>}
|
|
41
|
+
* @memberof WaasPolicyLayerUpdateRequest
|
|
42
|
+
*/
|
|
43
|
+
operations?: Array<WaasPolicyLayerRuleOperation>;
|
|
37
44
|
}
|
|
38
45
|
/**
|
|
39
46
|
* @export
|
|
@@ -41,7 +48,8 @@ export interface WaasPolicyLayerUpdateRequest {
|
|
|
41
48
|
*/
|
|
42
49
|
export declare enum WaasPolicyLayerUpdateRequestOpEnum {
|
|
43
50
|
Upsert = "upsert",
|
|
44
|
-
Remove = "remove"
|
|
51
|
+
Remove = "remove",
|
|
52
|
+
Batch = "batch"
|
|
45
53
|
}
|
|
46
54
|
export declare function WaasPolicyLayerUpdateRequestFromJSON(json: any): WaasPolicyLayerUpdateRequest;
|
|
47
55
|
export declare function WaasPolicyLayerUpdateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): WaasPolicyLayerUpdateRequest;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { exists } from '../runtime.js';
|
|
2
|
+
import { WaasPolicyLayerRuleOperationFromJSON, WaasPolicyLayerRuleOperationToJSON } from './WaasPolicyLayerRuleOperation.js';
|
|
2
3
|
import { WaasPolicyRuleFromJSON, WaasPolicyRuleToJSON } from './WaasPolicyRule.js';
|
|
3
4
|
|
|
4
5
|
/* tslint:disable */
|
|
@@ -10,6 +11,7 @@ var WaasPolicyLayerUpdateRequestOpEnum;
|
|
|
10
11
|
(function (WaasPolicyLayerUpdateRequestOpEnum) {
|
|
11
12
|
WaasPolicyLayerUpdateRequestOpEnum["Upsert"] = "upsert";
|
|
12
13
|
WaasPolicyLayerUpdateRequestOpEnum["Remove"] = "remove";
|
|
14
|
+
WaasPolicyLayerUpdateRequestOpEnum["Batch"] = "batch";
|
|
13
15
|
})(WaasPolicyLayerUpdateRequestOpEnum || (WaasPolicyLayerUpdateRequestOpEnum = {}));
|
|
14
16
|
function WaasPolicyLayerUpdateRequestFromJSON(json) {
|
|
15
17
|
return WaasPolicyLayerUpdateRequestFromJSONTyped(json);
|
|
@@ -22,6 +24,7 @@ function WaasPolicyLayerUpdateRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
22
24
|
'op': json['op'],
|
|
23
25
|
'rule': !exists(json, 'rule') ? undefined : WaasPolicyRuleFromJSON(json['rule']),
|
|
24
26
|
'ruleId': !exists(json, 'ruleId') ? undefined : json['ruleId'],
|
|
27
|
+
'operations': !exists(json, 'operations') ? undefined : (json['operations'].map(WaasPolicyLayerRuleOperationFromJSON)),
|
|
25
28
|
};
|
|
26
29
|
}
|
|
27
30
|
function WaasPolicyLayerUpdateRequestToJSON(value) {
|
|
@@ -35,6 +38,7 @@ function WaasPolicyLayerUpdateRequestToJSON(value) {
|
|
|
35
38
|
'op': value.op,
|
|
36
39
|
'rule': WaasPolicyRuleToJSON(value.rule),
|
|
37
40
|
'ruleId': value.ruleId,
|
|
41
|
+
'operations': value.operations === undefined ? undefined : (value.operations.map(WaasPolicyLayerRuleOperationToJSON)),
|
|
38
42
|
};
|
|
39
43
|
}
|
|
40
44
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WaasPolicyLayerUpdateRequest.js","sources":["../../../../../libs/sdk-api-core/src/models/WaasPolicyLayerUpdateRequest.ts"],"sourcesContent":null,"names":[],"mappings":"
|
|
1
|
+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AAS,EAAE;AACrB,QAAA,OAAO,SAAS,CAAC;KACpB;AACD,IAAA,IAAI,KAAK,KAAK,IAAI,EAAE;AAChB,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,IAAI,EAAE,KAAK,CAAC,EAAE;AACd,QAAA,MAAM,EAAE,oBAAoB,CAAC,KAAK,CAAC,IAAI,CAAC;QACxC,QAAQ,EAAE,KAAK,CAAC,MAAM;QACtB,YAAY,EAAE,KAAK,CAAC,UAAU,KAAK,SAAS,GAAG,SAAS,IAAK,KAAK,CAAC,UAAyB,CAAC,GAAG,CAAC,kCAAkC,CAAC,CAAC;KACxI,CAAC;AACN;;;;"}
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var runtime = require('../runtime.cjs');
|
|
6
|
+
var WaasPolicyLayerRuleOperation = require('./WaasPolicyLayerRuleOperation.cjs');
|
|
6
7
|
var WaasPolicyRule = require('./WaasPolicyRule.cjs');
|
|
7
8
|
|
|
8
9
|
/* tslint:disable */
|
|
@@ -14,6 +15,7 @@ exports.WaasSignerPolicyLayerUpdateRequestOpEnum = void 0;
|
|
|
14
15
|
(function (WaasSignerPolicyLayerUpdateRequestOpEnum) {
|
|
15
16
|
WaasSignerPolicyLayerUpdateRequestOpEnum["Upsert"] = "upsert";
|
|
16
17
|
WaasSignerPolicyLayerUpdateRequestOpEnum["Remove"] = "remove";
|
|
18
|
+
WaasSignerPolicyLayerUpdateRequestOpEnum["Batch"] = "batch";
|
|
17
19
|
})(exports.WaasSignerPolicyLayerUpdateRequestOpEnum || (exports.WaasSignerPolicyLayerUpdateRequestOpEnum = {}));
|
|
18
20
|
function WaasSignerPolicyLayerUpdateRequestFromJSON(json) {
|
|
19
21
|
return WaasSignerPolicyLayerUpdateRequestFromJSONTyped(json);
|
|
@@ -26,6 +28,7 @@ function WaasSignerPolicyLayerUpdateRequestFromJSONTyped(json, ignoreDiscriminat
|
|
|
26
28
|
'op': json['op'],
|
|
27
29
|
'rule': !runtime.exists(json, 'rule') ? undefined : WaasPolicyRule.WaasPolicyRuleFromJSON(json['rule']),
|
|
28
30
|
'ruleId': !runtime.exists(json, 'ruleId') ? undefined : json['ruleId'],
|
|
31
|
+
'operations': !runtime.exists(json, 'operations') ? undefined : (json['operations'].map(WaasPolicyLayerRuleOperation.WaasPolicyLayerRuleOperationFromJSON)),
|
|
29
32
|
'shareSetId': !runtime.exists(json, 'shareSetId') ? undefined : json['shareSetId'],
|
|
30
33
|
};
|
|
31
34
|
}
|
|
@@ -40,6 +43,7 @@ function WaasSignerPolicyLayerUpdateRequestToJSON(value) {
|
|
|
40
43
|
'op': value.op,
|
|
41
44
|
'rule': WaasPolicyRule.WaasPolicyRuleToJSON(value.rule),
|
|
42
45
|
'ruleId': value.ruleId,
|
|
46
|
+
'operations': value.operations === undefined ? undefined : (value.operations.map(WaasPolicyLayerRuleOperation.WaasPolicyLayerRuleOperationToJSON)),
|
|
43
47
|
'shareSetId': value.shareSetId,
|
|
44
48
|
};
|
|
45
49
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WaasSignerPolicyLayerUpdateRequest.cjs","sources":["../../../../../libs/sdk-api-core/src/models/WaasSignerPolicyLayerUpdateRequest.ts"],"sourcesContent":null,"names":["WaasSignerPolicyLayerUpdateRequestOpEnum","exists","WaasPolicyRuleFromJSON","WaasPolicyRuleToJSON"],"mappings":"
|
|
1
|
+
{"version":3,"file":"WaasSignerPolicyLayerUpdateRequest.cjs","sources":["../../../../../libs/sdk-api-core/src/models/WaasSignerPolicyLayerUpdateRequest.ts"],"sourcesContent":null,"names":["WaasSignerPolicyLayerUpdateRequestOpEnum","exists","WaasPolicyRuleFromJSON","WaasPolicyLayerRuleOperationFromJSON","WaasPolicyRuleToJSON","WaasPolicyLayerRuleOperationToJSON"],"mappings":";;;;;;;;AAAA;AAmFA;;;AAGE;AACUA,0DAIX;AAJD,CAAA,UAAY,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AK,KAAK,IAAI,EAAE;AAChB,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,IAAI,EAAE,KAAK,CAAC,EAAE;AACd,QAAA,MAAM,EAAEG,mCAAoB,CAAC,KAAK,CAAC,IAAI,CAAC;QACxC,QAAQ,EAAE,KAAK,CAAC,MAAM;QACtB,YAAY,EAAE,KAAK,CAAC,UAAU,KAAK,SAAS,GAAG,SAAS,IAAK,KAAK,CAAC,UAAyB,CAAC,GAAG,CAACC,+DAAkC,CAAC,CAAC;QACrI,YAAY,EAAE,KAAK,CAAC,UAAU;KACjC,CAAC;AACN;;;;;;"}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { WaasPolicyLayerRuleOperation } from './WaasPolicyLayerRuleOperation';
|
|
12
13
|
import { WaasPolicyRule } from './WaasPolicyRule';
|
|
13
14
|
/**
|
|
14
15
|
*
|
|
@@ -17,7 +18,7 @@ import { WaasPolicyRule } from './WaasPolicyRule';
|
|
|
17
18
|
*/
|
|
18
19
|
export interface WaasSignerPolicyLayerUpdateRequest {
|
|
19
20
|
/**
|
|
20
|
-
* The per-Rule operation to apply to the wallet-Layer
|
|
21
|
+
* The per-Rule operation to apply to the wallet-Layer, or batch to apply multiple operations atomically in one enclave cycle
|
|
21
22
|
* @type {string}
|
|
22
23
|
* @memberof WaasSignerPolicyLayerUpdateRequest
|
|
23
24
|
*/
|
|
@@ -34,6 +35,12 @@ export interface WaasSignerPolicyLayerUpdateRequest {
|
|
|
34
35
|
* @memberof WaasSignerPolicyLayerUpdateRequest
|
|
35
36
|
*/
|
|
36
37
|
ruleId?: string;
|
|
38
|
+
/**
|
|
39
|
+
* Only used when op is batch — applied atomically in one enclave cycle
|
|
40
|
+
* @type {Array<WaasPolicyLayerRuleOperation>}
|
|
41
|
+
* @memberof WaasSignerPolicyLayerUpdateRequest
|
|
42
|
+
*/
|
|
43
|
+
operations?: Array<WaasPolicyLayerRuleOperation>;
|
|
37
44
|
/**
|
|
38
45
|
* Targets a share set other than the caller's own, as returned in
|
|
39
46
|
* the wallet's shareSetId or otherShareSets. Omit to target the
|
|
@@ -52,7 +59,8 @@ export interface WaasSignerPolicyLayerUpdateRequest {
|
|
|
52
59
|
*/
|
|
53
60
|
export declare enum WaasSignerPolicyLayerUpdateRequestOpEnum {
|
|
54
61
|
Upsert = "upsert",
|
|
55
|
-
Remove = "remove"
|
|
62
|
+
Remove = "remove",
|
|
63
|
+
Batch = "batch"
|
|
56
64
|
}
|
|
57
65
|
export declare function WaasSignerPolicyLayerUpdateRequestFromJSON(json: any): WaasSignerPolicyLayerUpdateRequest;
|
|
58
66
|
export declare function WaasSignerPolicyLayerUpdateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): WaasSignerPolicyLayerUpdateRequest;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { exists } from '../runtime.js';
|
|
2
|
+
import { WaasPolicyLayerRuleOperationFromJSON, WaasPolicyLayerRuleOperationToJSON } from './WaasPolicyLayerRuleOperation.js';
|
|
2
3
|
import { WaasPolicyRuleFromJSON, WaasPolicyRuleToJSON } from './WaasPolicyRule.js';
|
|
3
4
|
|
|
4
5
|
/* tslint:disable */
|
|
@@ -10,6 +11,7 @@ var WaasSignerPolicyLayerUpdateRequestOpEnum;
|
|
|
10
11
|
(function (WaasSignerPolicyLayerUpdateRequestOpEnum) {
|
|
11
12
|
WaasSignerPolicyLayerUpdateRequestOpEnum["Upsert"] = "upsert";
|
|
12
13
|
WaasSignerPolicyLayerUpdateRequestOpEnum["Remove"] = "remove";
|
|
14
|
+
WaasSignerPolicyLayerUpdateRequestOpEnum["Batch"] = "batch";
|
|
13
15
|
})(WaasSignerPolicyLayerUpdateRequestOpEnum || (WaasSignerPolicyLayerUpdateRequestOpEnum = {}));
|
|
14
16
|
function WaasSignerPolicyLayerUpdateRequestFromJSON(json) {
|
|
15
17
|
return WaasSignerPolicyLayerUpdateRequestFromJSONTyped(json);
|
|
@@ -22,6 +24,7 @@ function WaasSignerPolicyLayerUpdateRequestFromJSONTyped(json, ignoreDiscriminat
|
|
|
22
24
|
'op': json['op'],
|
|
23
25
|
'rule': !exists(json, 'rule') ? undefined : WaasPolicyRuleFromJSON(json['rule']),
|
|
24
26
|
'ruleId': !exists(json, 'ruleId') ? undefined : json['ruleId'],
|
|
27
|
+
'operations': !exists(json, 'operations') ? undefined : (json['operations'].map(WaasPolicyLayerRuleOperationFromJSON)),
|
|
25
28
|
'shareSetId': !exists(json, 'shareSetId') ? undefined : json['shareSetId'],
|
|
26
29
|
};
|
|
27
30
|
}
|
|
@@ -36,6 +39,7 @@ function WaasSignerPolicyLayerUpdateRequestToJSON(value) {
|
|
|
36
39
|
'op': value.op,
|
|
37
40
|
'rule': WaasPolicyRuleToJSON(value.rule),
|
|
38
41
|
'ruleId': value.ruleId,
|
|
42
|
+
'operations': value.operations === undefined ? undefined : (value.operations.map(WaasPolicyLayerRuleOperationToJSON)),
|
|
39
43
|
'shareSetId': value.shareSetId,
|
|
40
44
|
};
|
|
41
45
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WaasSignerPolicyLayerUpdateRequest.js","sources":["../../../../../libs/sdk-api-core/src/models/WaasSignerPolicyLayerUpdateRequest.ts"],"sourcesContent":null,"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"WaasSignerPolicyLayerUpdateRequest.js","sources":["../../../../../libs/sdk-api-core/src/models/WaasSignerPolicyLayerUpdateRequest.ts"],"sourcesContent":null,"names":[],"mappings":";;;;AAAA;AAmFA;;;AAGE;IACU,yCAIX;AAJD,CAAA,UAAY,wCAAwC,EAAA;AAChD,IAAA,wCAAA,CAAA,QAAA,CAAA,GAAA,QAAiB,CAAA;AACjB,IAAA,wCAAA,CAAA,QAAA,CAAA,GAAA,QAAiB,CAAA;AACjB,IAAA,wCAAA,CAAA,OAAA,CAAA,GAAA,OAAe,CA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,KAAK,CAAC,MAAM;QACtB,YAAY,EAAE,KAAK,CAAC,UAAU,KAAK,SAAS,GAAG,SAAS,IAAK,KAAK,CAAC,UAAyB,CAAC,GAAG,CAAC,kCAAkC,CAAC,CAAC;QACrI,YAAY,EAAE,KAAK,CAAC,UAAU;KACjC,CAAC;AACN;;;;"}
|
package/src/models/index.d.ts
CHANGED
|
@@ -372,6 +372,15 @@ export * from './ResidentKeyRequirement';
|
|
|
372
372
|
export * from './RoomTypeEnum';
|
|
373
373
|
export * from './ScanWebsiteUrlRequest';
|
|
374
374
|
export * from './ScanWebsiteUrlResponse';
|
|
375
|
+
export * from './ScreenTransactionRequest';
|
|
376
|
+
export * from './ScreenTransactionRequestContext';
|
|
377
|
+
export * from './ScreenTransactionRequestContextBtcTransaction';
|
|
378
|
+
export * from './ScreenTransactionRequestContextEvmTransaction';
|
|
379
|
+
export * from './ScreenTransactionRequestContextStellarTransaction';
|
|
380
|
+
export * from './ScreenTransactionRequestContextSuiTransaction';
|
|
381
|
+
export * from './ScreenTransactionRequestContextSvmTransaction';
|
|
382
|
+
export * from './ScreenTransactionRequestContextTronTransaction';
|
|
383
|
+
export * from './ScreenTransactionResponse';
|
|
375
384
|
export * from './SdkEnvironmentIdWaasWalletIdAdditionalAddressesAdditionalAddresses';
|
|
376
385
|
export * from './SdkSettingsRequest';
|
|
377
386
|
export * from './SdkUser';
|
|
@@ -502,6 +511,8 @@ export * from './WaasPolicyArgumentConstraint';
|
|
|
502
511
|
export * from './WaasPolicyConstraintCondition';
|
|
503
512
|
export * from './WaasPolicyLayerResponse';
|
|
504
513
|
export * from './WaasPolicyLayerResponseLayerContent';
|
|
514
|
+
export * from './WaasPolicyLayerResponseRule';
|
|
515
|
+
export * from './WaasPolicyLayerRuleOperation';
|
|
505
516
|
export * from './WaasPolicyLayerUpdateRequest';
|
|
506
517
|
export * from './WaasPolicyRule';
|
|
507
518
|
export * from './WaasPolicyRuleOperationRestrictions';
|