@dynamic-labs/sdk-api 0.94.0 → 0.96.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/apis/AdminActionsApi.cjs +1 -0
- package/src/apis/AdminActionsApi.js +1 -0
- package/src/apis/AllowlistsApi.cjs +1 -0
- package/src/apis/AllowlistsApi.js +1 -0
- package/src/apis/AnalyticsApi.cjs +1 -0
- package/src/apis/AnalyticsApi.js +1 -0
- package/src/apis/AuthorizedClientsApi.cjs +1 -0
- package/src/apis/AuthorizedClientsApi.js +1 -0
- package/src/apis/BusinessAccountsApi.cjs +1 -0
- package/src/apis/BusinessAccountsApi.js +1 -0
- package/src/apis/CaptchaApi.cjs +1 -0
- package/src/apis/CaptchaApi.js +1 -0
- package/src/apis/ChainalysisApi.cjs +1 -0
- package/src/apis/ChainalysisApi.js +1 -0
- package/src/apis/ChainsApi.cjs +1 -0
- package/src/apis/ChainsApi.js +1 -0
- package/src/apis/CheckoutApi.cjs +1 -0
- package/src/apis/CheckoutApi.js +1 -0
- package/src/apis/ClientGrantApi.cjs +1 -0
- package/src/apis/ClientGrantApi.js +1 -0
- package/src/apis/CustomFieldsApi.cjs +1 -0
- package/src/apis/CustomFieldsApi.js +1 -0
- package/src/apis/CustomHostnamesApi.cjs +1 -0
- package/src/apis/CustomHostnamesApi.js +1 -0
- package/src/apis/CustomNetworksApi.cjs +1 -0
- package/src/apis/CustomNetworksApi.js +1 -0
- package/src/apis/DeeplinkUrlsApi.cjs +1 -0
- package/src/apis/DeeplinkUrlsApi.js +1 -0
- package/src/apis/EnvironmentsApi.cjs +1 -0
- package/src/apis/EnvironmentsApi.js +1 -0
- package/src/apis/EventsApi.cjs +1 -0
- package/src/apis/EventsApi.js +1 -0
- package/src/apis/ExchangesApi.cjs +1 -0
- package/src/apis/ExchangesApi.js +1 -0
- package/src/apis/ExportsApi.cjs +1 -0
- package/src/apis/ExportsApi.js +1 -0
- package/src/apis/ExternalJwtApi.cjs +1 -0
- package/src/apis/ExternalJwtApi.js +1 -0
- package/src/apis/FlowAnalyticsApi.cjs +1 -0
- package/src/apis/FlowAnalyticsApi.js +1 -0
- package/src/apis/GaslessApi.cjs +1 -0
- package/src/apis/GaslessApi.js +1 -0
- package/src/apis/GatesApi.cjs +1 -0
- package/src/apis/GatesApi.js +1 -0
- package/src/apis/GlobalWalletAccessControlApi.cjs +1 -0
- package/src/apis/GlobalWalletAccessControlApi.js +1 -0
- package/src/apis/GlobalWalletConnectionsApi.cjs +1 -0
- package/src/apis/GlobalWalletConnectionsApi.js +1 -0
- package/src/apis/GlobalWalletsApi.cjs +1 -0
- package/src/apis/GlobalWalletsApi.js +1 -0
- package/src/apis/InvitesApi.cjs +1 -0
- package/src/apis/InvitesApi.js +1 -0
- package/src/apis/KybApi.cjs +1 -0
- package/src/apis/KybApi.js +1 -0
- package/src/apis/MembersApi.cjs +1 -0
- package/src/apis/MembersApi.js +1 -0
- package/src/apis/MfaSettingsApi.cjs +1 -0
- package/src/apis/MfaSettingsApi.js +1 -0
- package/src/apis/NameServicesApi.cjs +1 -0
- package/src/apis/NameServicesApi.js +1 -0
- package/src/apis/OrganizationSettingsApi.cjs +1 -0
- package/src/apis/OrganizationSettingsApi.js +1 -0
- package/src/apis/OrganizationsApi.cjs +1 -0
- package/src/apis/OrganizationsApi.js +1 -0
- package/src/apis/OriginsApi.cjs +1 -0
- package/src/apis/OriginsApi.js +1 -0
- package/src/apis/ProjectsApi.cjs +1 -0
- package/src/apis/ProjectsApi.js +1 -0
- package/src/apis/ProvidersApi.cjs +1 -0
- package/src/apis/ProvidersApi.js +1 -0
- package/src/apis/SDKApi.cjs +1 -0
- package/src/apis/SDKApi.js +1 -0
- package/src/apis/SDKViewsApi.cjs +1 -0
- package/src/apis/SDKViewsApi.js +1 -0
- package/src/apis/ScreeningPoliciesApi.cjs +1 -0
- package/src/apis/ScreeningPoliciesApi.js +1 -0
- package/src/apis/ServerApi.cjs +1 -0
- package/src/apis/ServerApi.js +1 -0
- package/src/apis/SessionsApi.cjs +1 -0
- package/src/apis/SessionsApi.js +1 -0
- package/src/apis/TestAccountApi.cjs +1 -0
- package/src/apis/TestAccountApi.js +1 -0
- package/src/apis/TokensApi.cjs +1 -0
- package/src/apis/TokensApi.js +1 -0
- package/src/apis/UserApiTokensApi.cjs +1 -0
- package/src/apis/UserApiTokensApi.js +1 -0
- package/src/apis/UsersApi.cjs +1 -0
- package/src/apis/UsersApi.js +1 -0
- package/src/apis/VisitsApi.cjs +1 -0
- package/src/apis/VisitsApi.js +1 -0
- package/src/apis/WaasApi.cjs +1 -0
- package/src/apis/WaasApi.js +1 -0
- package/src/apis/WalletConnectApi.cjs +1 -0
- package/src/apis/WalletConnectApi.js +1 -0
- package/src/apis/WalletsApi.cjs +1 -0
- package/src/apis/WalletsApi.js +1 -0
- package/src/apis/WebhooksApi.cjs +1 -0
- package/src/apis/WebhooksApi.js +1 -0
- package/src/apis/YieldApi.cjs +1 -0
- package/src/apis/YieldApi.js +1 -0
- package/src/apis/ZendeskApi.cjs +1 -0
- package/src/apis/ZendeskApi.js +1 -0
- package/src/index.cjs +12 -0
- package/src/index.js +2 -0
- package/src/models/BusinessAccountGovernedAction.cjs +1 -0
- package/src/models/BusinessAccountGovernedAction.d.ts +2 -1
- package/src/models/BusinessAccountGovernedAction.js +1 -0
- package/src/models/ExportWaasWalletPrivateKeyRequest.cjs +5 -0
- package/src/models/ExportWaasWalletPrivateKeyRequest.d.ts +13 -0
- package/src/models/ExportWaasWalletPrivateKeyRequest.js +5 -0
- package/src/models/UnprocessableEntity.cjs +2 -0
- package/src/models/UnprocessableEntity.d.ts +6 -0
- package/src/models/UnprocessableEntity.js +2 -0
- package/src/models/WaasExportApprovalQuorum.cjs +35 -0
- package/src/models/WaasExportApprovalQuorum.d.ts +35 -0
- package/src/models/WaasExportApprovalQuorum.js +29 -0
- package/src/models/WaasExportIntent.cjs +67 -0
- package/src/models/WaasExportIntent.d.ts +79 -0
- package/src/models/WaasExportIntent.js +61 -0
- package/src/models/index.d.ts +2 -0
|
@@ -0,0 +1,35 @@
|
|
|
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 { WaasExportIntent } from './WaasExportIntent';
|
|
13
|
+
/**
|
|
14
|
+
* The initiator's signed export Intent, sent with the export call. When the wallet's policy needs approvals, the call answers with a proposal to approve instead of starting the export.
|
|
15
|
+
* @export
|
|
16
|
+
* @interface WaasExportApprovalQuorum
|
|
17
|
+
*/
|
|
18
|
+
export interface WaasExportApprovalQuorum {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {WaasExportIntent}
|
|
22
|
+
* @memberof WaasExportApprovalQuorum
|
|
23
|
+
*/
|
|
24
|
+
intent: WaasExportIntent;
|
|
25
|
+
/**
|
|
26
|
+
* Hex-encoded ECDSA P-256 signature over the canonicalized payload, produced by the signer's session key — which never leaves their device, so consent cannot be given on their behalf.
|
|
27
|
+
* Exactly 128 hex characters. WebCrypto emits the raw r‖s form with both halves padded to 32 bytes, so unlike DER the length never varies. Constrained here so a malformed value is a 400 at the edge rather than an enclave round trip that returns INTENT_SIGNATURE_INVALID, and so an unbounded string cannot be persisted against a proposal.
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof WaasExportApprovalQuorum
|
|
30
|
+
*/
|
|
31
|
+
intentSignature: string;
|
|
32
|
+
}
|
|
33
|
+
export declare function WaasExportApprovalQuorumFromJSON(json: any): WaasExportApprovalQuorum;
|
|
34
|
+
export declare function WaasExportApprovalQuorumFromJSONTyped(json: any, ignoreDiscriminator: boolean): WaasExportApprovalQuorum;
|
|
35
|
+
export declare function WaasExportApprovalQuorumToJSON(value?: WaasExportApprovalQuorum | null): any;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { WaasExportIntentFromJSON, WaasExportIntentToJSON } from './WaasExportIntent.js';
|
|
2
|
+
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
function WaasExportApprovalQuorumFromJSON(json) {
|
|
5
|
+
return WaasExportApprovalQuorumFromJSONTyped(json);
|
|
6
|
+
}
|
|
7
|
+
function WaasExportApprovalQuorumFromJSONTyped(json, ignoreDiscriminator) {
|
|
8
|
+
if ((json === undefined) || (json === null)) {
|
|
9
|
+
return json;
|
|
10
|
+
}
|
|
11
|
+
return {
|
|
12
|
+
'intent': WaasExportIntentFromJSON(json['intent']),
|
|
13
|
+
'intentSignature': json['intentSignature'],
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
function WaasExportApprovalQuorumToJSON(value) {
|
|
17
|
+
if (value === undefined) {
|
|
18
|
+
return undefined;
|
|
19
|
+
}
|
|
20
|
+
if (value === null) {
|
|
21
|
+
return null;
|
|
22
|
+
}
|
|
23
|
+
return {
|
|
24
|
+
'intent': WaasExportIntentToJSON(value.intent),
|
|
25
|
+
'intentSignature': value.intentSignature,
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export { WaasExportApprovalQuorumFromJSON, WaasExportApprovalQuorumFromJSONTyped, WaasExportApprovalQuorumToJSON };
|
|
@@ -0,0 +1,67 @@
|
|
|
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
|
+
* @export
|
|
20
|
+
* @enum {string}
|
|
21
|
+
*/
|
|
22
|
+
exports.WaasExportIntentActionTypeEnum = void 0;
|
|
23
|
+
(function (WaasExportIntentActionTypeEnum) {
|
|
24
|
+
WaasExportIntentActionTypeEnum["WaasExportQuorumApprove"] = "waasExportQuorumApprove";
|
|
25
|
+
})(exports.WaasExportIntentActionTypeEnum || (exports.WaasExportIntentActionTypeEnum = {}));
|
|
26
|
+
function WaasExportIntentFromJSON(json) {
|
|
27
|
+
return WaasExportIntentFromJSONTyped(json);
|
|
28
|
+
}
|
|
29
|
+
function WaasExportIntentFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
if ((json === undefined) || (json === null)) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
...json,
|
|
35
|
+
'intentId': json['intentId'],
|
|
36
|
+
'businessAccountId': json['businessAccountId'],
|
|
37
|
+
'accountAddress': json['accountAddress'],
|
|
38
|
+
'actionType': json['actionType'],
|
|
39
|
+
'initiatorUserId': json['initiatorUserId'],
|
|
40
|
+
'createdAt': json['createdAt'],
|
|
41
|
+
'completeBy': json['completeBy'],
|
|
42
|
+
'operation': json['operation'],
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
function WaasExportIntentToJSON(value) {
|
|
46
|
+
if (value === undefined) {
|
|
47
|
+
return undefined;
|
|
48
|
+
}
|
|
49
|
+
if (value === null) {
|
|
50
|
+
return null;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
...value,
|
|
54
|
+
'intentId': value.intentId,
|
|
55
|
+
'businessAccountId': value.businessAccountId,
|
|
56
|
+
'accountAddress': value.accountAddress,
|
|
57
|
+
'actionType': value.actionType,
|
|
58
|
+
'initiatorUserId': value.initiatorUserId,
|
|
59
|
+
'createdAt': value.createdAt,
|
|
60
|
+
'completeBy': value.completeBy,
|
|
61
|
+
'operation': value.operation,
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
exports.WaasExportIntentFromJSON = WaasExportIntentFromJSON;
|
|
66
|
+
exports.WaasExportIntentFromJSONTyped = WaasExportIntentFromJSONTyped;
|
|
67
|
+
exports.WaasExportIntentToJSON = WaasExportIntentToJSON;
|
|
@@ -0,0 +1,79 @@
|
|
|
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 client-created export Intent. The enclave checks it against the export request.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface WaasExportIntent
|
|
16
|
+
*/
|
|
17
|
+
export interface WaasExportIntent {
|
|
18
|
+
[key: string]: object | any;
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof WaasExportIntent
|
|
23
|
+
*/
|
|
24
|
+
intentId: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof WaasExportIntent
|
|
29
|
+
*/
|
|
30
|
+
businessAccountId: string;
|
|
31
|
+
/**
|
|
32
|
+
* Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight, hyphens allowed for chains using base64url-encoded addresses like TON)
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof WaasExportIntent
|
|
35
|
+
*/
|
|
36
|
+
accountAddress: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof WaasExportIntent
|
|
41
|
+
*/
|
|
42
|
+
actionType: WaasExportIntentActionTypeEnum;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof WaasExportIntent
|
|
47
|
+
*/
|
|
48
|
+
initiatorUserId: string;
|
|
49
|
+
/**
|
|
50
|
+
* Signed timestamp preserved as an ISO string.
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof WaasExportIntent
|
|
53
|
+
*/
|
|
54
|
+
createdAt: string;
|
|
55
|
+
/**
|
|
56
|
+
* Signed deadline preserved as an ISO string.
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof WaasExportIntent
|
|
59
|
+
*/
|
|
60
|
+
completeBy: string;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {{ [key: string]: object; }}
|
|
64
|
+
* @memberof WaasExportIntent
|
|
65
|
+
*/
|
|
66
|
+
operation: {
|
|
67
|
+
[key: string]: object;
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* @export
|
|
72
|
+
* @enum {string}
|
|
73
|
+
*/
|
|
74
|
+
export declare enum WaasExportIntentActionTypeEnum {
|
|
75
|
+
WaasExportQuorumApprove = "waasExportQuorumApprove"
|
|
76
|
+
}
|
|
77
|
+
export declare function WaasExportIntentFromJSON(json: any): WaasExportIntent;
|
|
78
|
+
export declare function WaasExportIntentFromJSONTyped(json: any, ignoreDiscriminator: boolean): WaasExportIntent;
|
|
79
|
+
export declare function WaasExportIntentToJSON(value?: WaasExportIntent | null): any;
|
|
@@ -0,0 +1,61 @@
|
|
|
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
|
+
* @export
|
|
16
|
+
* @enum {string}
|
|
17
|
+
*/
|
|
18
|
+
var WaasExportIntentActionTypeEnum;
|
|
19
|
+
(function (WaasExportIntentActionTypeEnum) {
|
|
20
|
+
WaasExportIntentActionTypeEnum["WaasExportQuorumApprove"] = "waasExportQuorumApprove";
|
|
21
|
+
})(WaasExportIntentActionTypeEnum || (WaasExportIntentActionTypeEnum = {}));
|
|
22
|
+
function WaasExportIntentFromJSON(json) {
|
|
23
|
+
return WaasExportIntentFromJSONTyped(json);
|
|
24
|
+
}
|
|
25
|
+
function WaasExportIntentFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
+
if ((json === undefined) || (json === null)) {
|
|
27
|
+
return json;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
...json,
|
|
31
|
+
'intentId': json['intentId'],
|
|
32
|
+
'businessAccountId': json['businessAccountId'],
|
|
33
|
+
'accountAddress': json['accountAddress'],
|
|
34
|
+
'actionType': json['actionType'],
|
|
35
|
+
'initiatorUserId': json['initiatorUserId'],
|
|
36
|
+
'createdAt': json['createdAt'],
|
|
37
|
+
'completeBy': json['completeBy'],
|
|
38
|
+
'operation': json['operation'],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function WaasExportIntentToJSON(value) {
|
|
42
|
+
if (value === undefined) {
|
|
43
|
+
return undefined;
|
|
44
|
+
}
|
|
45
|
+
if (value === null) {
|
|
46
|
+
return null;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
...value,
|
|
50
|
+
'intentId': value.intentId,
|
|
51
|
+
'businessAccountId': value.businessAccountId,
|
|
52
|
+
'accountAddress': value.accountAddress,
|
|
53
|
+
'actionType': value.actionType,
|
|
54
|
+
'initiatorUserId': value.initiatorUserId,
|
|
55
|
+
'createdAt': value.createdAt,
|
|
56
|
+
'completeBy': value.completeBy,
|
|
57
|
+
'operation': value.operation,
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export { WaasExportIntentActionTypeEnum, WaasExportIntentFromJSON, WaasExportIntentFromJSONTyped, WaasExportIntentToJSON };
|
package/src/models/index.d.ts
CHANGED
|
@@ -897,6 +897,8 @@ export * from './WaasDelegatedAccessEncryptionPublicKeyType';
|
|
|
897
897
|
export * from './WaasDelegationCredentialsRequest';
|
|
898
898
|
export * from './WaasDelegationCredentialsResponse';
|
|
899
899
|
export * from './WaasEnvPolicyLayerUpdateRequest';
|
|
900
|
+
export * from './WaasExportApprovalQuorum';
|
|
901
|
+
export * from './WaasExportIntent';
|
|
900
902
|
export * from './WaasPolicyAction';
|
|
901
903
|
export * from './WaasPolicyArgumentConstraint';
|
|
902
904
|
export * from './WaasPolicyConstraintCondition';
|