@xkova/sdk 0.1.0-alpha.1
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/LICENSE +202 -0
- package/README.md +453 -0
- package/dist/abi.d.ts +10288 -0
- package/dist/abi.js +6645 -0
- package/dist/client.d.ts +80 -0
- package/dist/client.js +251 -0
- package/dist/cursor.d.ts +21 -0
- package/dist/cursor.js +28 -0
- package/dist/errors.d.ts +31 -0
- package/dist/errors.js +63 -0
- package/dist/generated/types.d.ts +13371 -0
- package/dist/generated/types.js +3 -0
- package/dist/idempotency.d.ts +25 -0
- package/dist/idempotency.js +46 -0
- package/dist/index.d.ts +11 -0
- package/dist/index.js +8 -0
- package/dist/member-action-intents.d.ts +72 -0
- package/dist/member-action-intents.js +181 -0
- package/dist/member-bff.d.ts +535 -0
- package/dist/member-bff.js +1594 -0
- package/dist/member-resources.d.ts +203 -0
- package/dist/member-resources.js +56 -0
- package/dist/request-signing.d.ts +23 -0
- package/dist/request-signing.js +112 -0
- package/dist/resources/account-holders.d.ts +295 -0
- package/dist/resources/account-holders.js +166 -0
- package/dist/resources/base.d.ts +47 -0
- package/dist/resources/base.js +25 -0
- package/dist/resources/branding.d.ts +154 -0
- package/dist/resources/branding.js +34 -0
- package/dist/resources/chains.d.ts +6 -0
- package/dist/resources/chains.js +6 -0
- package/dist/resources/contacts.d.ts +55 -0
- package/dist/resources/contacts.js +22 -0
- package/dist/resources/escrows.d.ts +45 -0
- package/dist/resources/escrows.js +18 -0
- package/dist/resources/fee-schedules.d.ts +40 -0
- package/dist/resources/fee-schedules.js +15 -0
- package/dist/resources/index.d.ts +21 -0
- package/dist/resources/index.js +21 -0
- package/dist/resources/integration-gateways.d.ts +114 -0
- package/dist/resources/integration-gateways.js +27 -0
- package/dist/resources/onboarding.d.ts +18 -0
- package/dist/resources/onboarding.js +9 -0
- package/dist/resources/payment-requests.d.ts +115 -0
- package/dist/resources/payment-requests.js +27 -0
- package/dist/resources/payments.d.ts +182 -0
- package/dist/resources/payments.js +33 -0
- package/dist/resources/ramps.d.ts +163 -0
- package/dist/resources/ramps.js +44 -0
- package/dist/resources/rwa.d.ts +397 -0
- package/dist/resources/rwa.js +150 -0
- package/dist/resources/tenant.d.ts +136 -0
- package/dist/resources/tenant.js +42 -0
- package/dist/resources/tokenization.d.ts +394 -0
- package/dist/resources/tokenization.js +126 -0
- package/dist/resources/transactions.d.ts +8 -0
- package/dist/resources/transactions.js +6 -0
- package/dist/resources/wallets.d.ts +56 -0
- package/dist/resources/wallets.js +21 -0
- package/dist/resources/webhooks.d.ts +115 -0
- package/dist/resources/webhooks.js +43 -0
- package/dist/resources/workflows.d.ts +44 -0
- package/dist/resources/workflows.js +70 -0
- package/dist/resources/workspace-tokens.d.ts +6 -0
- package/dist/resources/workspace-tokens.js +6 -0
- package/dist/resources/workspaces.d.ts +25 -0
- package/dist/resources/workspaces.js +12 -0
- package/dist/retry.d.ts +21 -0
- package/dist/retry.js +44 -0
- package/dist/rwa-verify.d.ts +50 -0
- package/dist/rwa-verify.js +159 -0
- package/dist/webhook.d.ts +24 -0
- package/dist/webhook.js +56 -0
- package/llms.txt +84 -0
- package/package.json +62 -0
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
import { Resource, type Query, type ReqBody } from './base.js';
|
|
2
|
+
import type { XKOVAMutationOptions, XKOVARequestControl } from '../client.js';
|
|
3
|
+
export declare class TenantResource extends Resource {
|
|
4
|
+
retrieve(): Promise<{
|
|
5
|
+
id: string;
|
|
6
|
+
partner_id: import("../generated/types.js").components["schemas"]["PartnerId"];
|
|
7
|
+
name: string;
|
|
8
|
+
type: "cu_federal" | "cu_state" | "community_bank" | "fintech" | "other";
|
|
9
|
+
status: "provisioning" | "active" | "read_only" | "suspended";
|
|
10
|
+
regulator_type: "ncua" | "occ" | "fdic" | "fintech" | "other";
|
|
11
|
+
bill_to: "partner" | "tenant";
|
|
12
|
+
provider: "thirdweb" | "turnkey" | "fireblocks" | "privy" | "crossmint";
|
|
13
|
+
custody_model: "custodial" | "non_custodial";
|
|
14
|
+
ip_allowlist?: string[] | null;
|
|
15
|
+
send_initiation_locked: boolean;
|
|
16
|
+
contacts_feature_enabled: boolean;
|
|
17
|
+
created_at: import("../generated/types.js").components["schemas"]["TimestampUtc"];
|
|
18
|
+
updated_at: import("../generated/types.js").components["schemas"]["TimestampUtc"];
|
|
19
|
+
}>;
|
|
20
|
+
policies(): Promise<{
|
|
21
|
+
tos?: {
|
|
22
|
+
url?: string;
|
|
23
|
+
version?: string;
|
|
24
|
+
} | null;
|
|
25
|
+
privacy?: {
|
|
26
|
+
url?: string;
|
|
27
|
+
version?: string;
|
|
28
|
+
} | null;
|
|
29
|
+
marketing_consent?: {
|
|
30
|
+
text?: string;
|
|
31
|
+
version?: string;
|
|
32
|
+
required?: boolean;
|
|
33
|
+
} | null;
|
|
34
|
+
required?: ("tos" | "privacy" | "marketing")[];
|
|
35
|
+
}>;
|
|
36
|
+
listMemberAuthApplications(query?: Query<'listMemberAuthApplications'>, control?: XKOVARequestControl): Promise<{
|
|
37
|
+
data: import("../generated/types.js").components["schemas"]["MemberAuthApplicationSummary"][];
|
|
38
|
+
next_cursor: string | null;
|
|
39
|
+
has_more: boolean;
|
|
40
|
+
}>;
|
|
41
|
+
createHostedApplication(body: ReqBody<'createMemberAuthHostedApplication'>, opts?: XKOVAMutationOptions): Promise<{
|
|
42
|
+
id: string;
|
|
43
|
+
workspace_id: string;
|
|
44
|
+
api_key_id: import("../generated/types.js").components["schemas"]["ApiKeyId"];
|
|
45
|
+
api_key_name: string;
|
|
46
|
+
api_key_prefix: string | null;
|
|
47
|
+
publishable_key: string;
|
|
48
|
+
name: string;
|
|
49
|
+
provider_kind: "xkova_hosted" | "oidc" | "signed_launch";
|
|
50
|
+
enrollment_mode: import("../generated/types.js").components["schemas"]["MemberAuthEnrollmentMode"];
|
|
51
|
+
is_default: boolean;
|
|
52
|
+
status: "active" | "principal_disabled";
|
|
53
|
+
config_version: number;
|
|
54
|
+
session_policy_version: number;
|
|
55
|
+
max_auth_age_seconds: number;
|
|
56
|
+
required_acr_values: string[];
|
|
57
|
+
action_authorization_enabled: boolean;
|
|
58
|
+
action_max_auth_age_seconds: number;
|
|
59
|
+
action_required_acr_values: string[];
|
|
60
|
+
action_required_amr_values: string[];
|
|
61
|
+
action_policy_version: number;
|
|
62
|
+
origins: import("../generated/types.js").components["schemas"]["MemberAuthAllowedOriginEntry"][];
|
|
63
|
+
redirects: import("../generated/types.js").components["schemas"]["MemberAuthRedirectUrlEntry"][];
|
|
64
|
+
created_at: import("../generated/types.js").components["schemas"]["TimestampUtc"];
|
|
65
|
+
updated_at: import("../generated/types.js").components["schemas"]["TimestampUtc"];
|
|
66
|
+
}>;
|
|
67
|
+
updateHostedApplication(id: string, body: ReqBody<'updateMemberAuthApplication'>, opts?: XKOVAMutationOptions): Promise<{
|
|
68
|
+
id: string;
|
|
69
|
+
workspace_id: string;
|
|
70
|
+
api_key_id: import("../generated/types.js").components["schemas"]["ApiKeyId"];
|
|
71
|
+
api_key_name: string;
|
|
72
|
+
api_key_prefix: string | null;
|
|
73
|
+
publishable_key: string;
|
|
74
|
+
name: string;
|
|
75
|
+
provider_kind: "xkova_hosted" | "oidc" | "signed_launch";
|
|
76
|
+
enrollment_mode: import("../generated/types.js").components["schemas"]["MemberAuthEnrollmentMode"];
|
|
77
|
+
is_default: boolean;
|
|
78
|
+
status: "active" | "principal_disabled";
|
|
79
|
+
config_version: number;
|
|
80
|
+
session_policy_version: number;
|
|
81
|
+
max_auth_age_seconds: number;
|
|
82
|
+
required_acr_values: string[];
|
|
83
|
+
action_authorization_enabled: boolean;
|
|
84
|
+
action_max_auth_age_seconds: number;
|
|
85
|
+
action_required_acr_values: string[];
|
|
86
|
+
action_required_amr_values: string[];
|
|
87
|
+
action_policy_version: number;
|
|
88
|
+
origins: import("../generated/types.js").components["schemas"]["MemberAuthAllowedOriginEntry"][];
|
|
89
|
+
redirects: import("../generated/types.js").components["schemas"]["MemberAuthRedirectUrlEntry"][];
|
|
90
|
+
created_at: import("../generated/types.js").components["schemas"]["TimestampUtc"];
|
|
91
|
+
updated_at: import("../generated/types.js").components["schemas"]["TimestampUtc"];
|
|
92
|
+
}>;
|
|
93
|
+
disableHostedApplication(id: string, opts?: XKOVAMutationOptions): Promise<void>;
|
|
94
|
+
configureOidcApplication(body: ReqBody<'configureMemberAuthOidcApplication'>, opts?: XKOVAMutationOptions): Promise<{
|
|
95
|
+
id: string;
|
|
96
|
+
publishable_key: string;
|
|
97
|
+
name: string;
|
|
98
|
+
provider_kind: "oidc";
|
|
99
|
+
provider_namespace: string;
|
|
100
|
+
issuer: string;
|
|
101
|
+
audience: string;
|
|
102
|
+
jwks_uri: string;
|
|
103
|
+
allowed_jwt_algorithms: ("RS256" | "PS256" | "ES256" | "EdDSA")[];
|
|
104
|
+
proof_binding_mode: "authorization_nonce" | "server_assertion_jti";
|
|
105
|
+
max_auth_age_seconds: number;
|
|
106
|
+
required_acr_values: string[];
|
|
107
|
+
action_authorization_enabled: boolean;
|
|
108
|
+
action_max_auth_age_seconds: number;
|
|
109
|
+
action_required_acr_values: string[];
|
|
110
|
+
action_required_amr_values: string[];
|
|
111
|
+
action_policy_version: number;
|
|
112
|
+
config_version: number;
|
|
113
|
+
session_policy_version: number;
|
|
114
|
+
}>;
|
|
115
|
+
listAllowedOrigins(query: Query<'listMemberAuthAllowedOrigins'>, control?: XKOVARequestControl): Promise<{
|
|
116
|
+
data: import("../generated/types.js").components["schemas"]["MemberAuthAllowedOriginEntry"][];
|
|
117
|
+
}>;
|
|
118
|
+
createAllowedOrigin(body: ReqBody<'createMemberAuthAllowedOrigin'>, opts?: XKOVAMutationOptions): Promise<{
|
|
119
|
+
id: string;
|
|
120
|
+
origin: string;
|
|
121
|
+
created_at: import("../generated/types.js").components["schemas"]["TimestampUtc"];
|
|
122
|
+
updated_at: import("../generated/types.js").components["schemas"]["TimestampUtc"];
|
|
123
|
+
}>;
|
|
124
|
+
deleteAllowedOrigin(id: string, query: Query<'deleteMemberAuthAllowedOrigin'>, opts?: XKOVAMutationOptions): Promise<void>;
|
|
125
|
+
listRedirectUrls(query: Query<'listMemberAuthRedirectUrls'>, control?: XKOVARequestControl): Promise<{
|
|
126
|
+
data: import("../generated/types.js").components["schemas"]["MemberAuthRedirectUrlEntry"][];
|
|
127
|
+
}>;
|
|
128
|
+
createRedirectUrl(body: ReqBody<'createMemberAuthRedirectUrl'>, opts?: XKOVAMutationOptions): Promise<{
|
|
129
|
+
id: string;
|
|
130
|
+
purpose: "email_confirm" | "password_reset" | "magic_link" | "authorization_result";
|
|
131
|
+
url: string;
|
|
132
|
+
created_at: import("../generated/types.js").components["schemas"]["TimestampUtc"];
|
|
133
|
+
updated_at: import("../generated/types.js").components["schemas"]["TimestampUtc"];
|
|
134
|
+
}>;
|
|
135
|
+
deleteRedirectUrl(id: string, query: Query<'deleteMemberAuthRedirectUrl'>, opts?: XKOVAMutationOptions): Promise<void>;
|
|
136
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { Resource } from './base.js';
|
|
2
|
+
export class TenantResource extends Resource {
|
|
3
|
+
retrieve() {
|
|
4
|
+
return this.getJson('/tenant');
|
|
5
|
+
}
|
|
6
|
+
policies() {
|
|
7
|
+
return this.getJson('/tenant/policies');
|
|
8
|
+
}
|
|
9
|
+
listMemberAuthApplications(query = {}, control) {
|
|
10
|
+
return this.getJson('/tenant/member-auth/applications', query, control);
|
|
11
|
+
}
|
|
12
|
+
createHostedApplication(body, opts) {
|
|
13
|
+
return this.postJson('/tenant/member-auth/applications/hosted', body, opts);
|
|
14
|
+
}
|
|
15
|
+
updateHostedApplication(id, body, opts) {
|
|
16
|
+
return this.patchJson(`/tenant/member-auth/applications/${this.enc(id)}`, body, opts);
|
|
17
|
+
}
|
|
18
|
+
disableHostedApplication(id, opts) {
|
|
19
|
+
return this.deleteJson(`/tenant/member-auth/applications/${this.enc(id)}`, opts);
|
|
20
|
+
}
|
|
21
|
+
configureOidcApplication(body, opts) {
|
|
22
|
+
return this.putJson('/tenant/member-auth/application', body, opts);
|
|
23
|
+
}
|
|
24
|
+
listAllowedOrigins(query, control) {
|
|
25
|
+
return this.getJson('/tenant/member-auth/allowed-origins', query, control);
|
|
26
|
+
}
|
|
27
|
+
createAllowedOrigin(body, opts) {
|
|
28
|
+
return this.postJson('/tenant/member-auth/allowed-origins', body, opts);
|
|
29
|
+
}
|
|
30
|
+
deleteAllowedOrigin(id, query, opts) {
|
|
31
|
+
return this.deleteJson(`/tenant/member-auth/allowed-origins/${this.enc(id)}`, opts, query);
|
|
32
|
+
}
|
|
33
|
+
listRedirectUrls(query, control) {
|
|
34
|
+
return this.getJson('/tenant/member-auth/redirect-urls', query, control);
|
|
35
|
+
}
|
|
36
|
+
createRedirectUrl(body, opts) {
|
|
37
|
+
return this.postJson('/tenant/member-auth/redirect-urls', body, opts);
|
|
38
|
+
}
|
|
39
|
+
deleteRedirectUrl(id, query, opts) {
|
|
40
|
+
return this.deleteJson(`/tenant/member-auth/redirect-urls/${this.enc(id)}`, opts, query);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,394 @@
|
|
|
1
|
+
import { Resource, type ReqBody, type Query } from './base.js';
|
|
2
|
+
import type { XKOVAMutationOptions } from '../client.js';
|
|
3
|
+
export declare class TokenizationResource extends Resource {
|
|
4
|
+
deployErc20(body: ReqBody<'deployCustomerErc20'>, opts?: XKOVAMutationOptions): Promise<{
|
|
5
|
+
operation_id: import("../generated/types.js").components["schemas"]["TokenizationOperationId"];
|
|
6
|
+
customer_token_id: import("../generated/types.js").components["schemas"]["CustomerTokenId"];
|
|
7
|
+
status: string;
|
|
8
|
+
token_proxy_address: string;
|
|
9
|
+
}>;
|
|
10
|
+
deployErc721(body: ReqBody<'deployCustomerErc721'>, opts?: XKOVAMutationOptions): Promise<{
|
|
11
|
+
operation_id: import("../generated/types.js").components["schemas"]["TokenizationOperationId"];
|
|
12
|
+
customer_token_id: import("../generated/types.js").components["schemas"]["CustomerTokenId"];
|
|
13
|
+
status: string;
|
|
14
|
+
token_proxy_address: string;
|
|
15
|
+
}>;
|
|
16
|
+
deployErc1155(body: ReqBody<'deployCustomerErc1155'>, opts?: XKOVAMutationOptions): Promise<{
|
|
17
|
+
operation_id: import("../generated/types.js").components["schemas"]["TokenizationOperationId"];
|
|
18
|
+
customer_token_id: import("../generated/types.js").components["schemas"]["CustomerTokenId"];
|
|
19
|
+
status: string;
|
|
20
|
+
token_proxy_address: string;
|
|
21
|
+
}>;
|
|
22
|
+
list(query?: Query<'listCustomerTokens'>): Promise<{
|
|
23
|
+
data: import("../generated/types.js").components["schemas"]["CustomerToken"][];
|
|
24
|
+
}>;
|
|
25
|
+
retrieve(id: string): Promise<{
|
|
26
|
+
id: import("../generated/types.js").components["schemas"]["CustomerTokenId"];
|
|
27
|
+
standard: "erc20" | "erc721" | "erc1155";
|
|
28
|
+
symbol: string;
|
|
29
|
+
name: string;
|
|
30
|
+
decimals: number | null;
|
|
31
|
+
status: "pending_deploy" | "awaiting_admin_setup" | "active" | "paused" | "deprecated" | "failed_resumable" | "failed_terminal";
|
|
32
|
+
chain_id: string;
|
|
33
|
+
chain: import("../generated/types.js").components["schemas"]["ChainDescriptor"];
|
|
34
|
+
token_proxy_address: string | null;
|
|
35
|
+
access_registry_proxy_address: string | null;
|
|
36
|
+
access_control: "allowlist" | "denylist" | null;
|
|
37
|
+
created_at: import("../generated/types.js").components["schemas"]["TimestampUtc"];
|
|
38
|
+
}>;
|
|
39
|
+
mint(id: string, body: ReqBody<'mintCustomerToken'>, opts?: XKOVAMutationOptions): Promise<{
|
|
40
|
+
operation_id: import("../generated/types.js").components["schemas"]["TokenizationOperationId"];
|
|
41
|
+
safe_tx_hash: string;
|
|
42
|
+
typed_data: import("../generated/types.js").components["schemas"]["SafeEip712TypedData"];
|
|
43
|
+
status: import("../generated/types.js").components["schemas"]["TokenizationOperationStatus"];
|
|
44
|
+
}>;
|
|
45
|
+
burn(id: string, body: ReqBody<'burnCustomerToken'>, opts?: XKOVAMutationOptions): Promise<{
|
|
46
|
+
operation_id: import("../generated/types.js").components["schemas"]["TokenizationOperationId"];
|
|
47
|
+
safe_tx_hash: string;
|
|
48
|
+
typed_data: import("../generated/types.js").components["schemas"]["SafeEip712TypedData"];
|
|
49
|
+
status: import("../generated/types.js").components["schemas"]["TokenizationOperationStatus"];
|
|
50
|
+
}>;
|
|
51
|
+
listAuthorities(query?: Query<'listTokenAuthorities'>): Promise<{
|
|
52
|
+
data: import("../generated/types.js").components["schemas"]["TokenAuthority"][];
|
|
53
|
+
}>;
|
|
54
|
+
registerAuthority(body: ReqBody<'registerTokenAuthority'>, opts?: XKOVAMutationOptions): Promise<{
|
|
55
|
+
id: import("../generated/types.js").components["schemas"]["TokenAuthorityId"];
|
|
56
|
+
kind: "server_key" | "safe";
|
|
57
|
+
purpose: "operator" | "service_account";
|
|
58
|
+
safe_purpose: ("fund_vault" | "token_control" | "multi_purpose") | null;
|
|
59
|
+
address: string;
|
|
60
|
+
label: string | null;
|
|
61
|
+
managed_safe_id: import("../generated/types.js").components["schemas"]["ManagedSafeId"] | null;
|
|
62
|
+
treasury_wallet_id: import("../generated/types.js").components["schemas"]["TreasuryWalletId"] | null;
|
|
63
|
+
verified_at: string | null;
|
|
64
|
+
created_at: import("../generated/types.js").components["schemas"]["TimestampUtc"];
|
|
65
|
+
}>;
|
|
66
|
+
getAuthority(id: string): Promise<{
|
|
67
|
+
id: import("../generated/types.js").components["schemas"]["TokenAuthorityId"];
|
|
68
|
+
kind: "server_key" | "safe";
|
|
69
|
+
purpose: "operator" | "service_account";
|
|
70
|
+
safe_purpose: ("fund_vault" | "token_control" | "multi_purpose") | null;
|
|
71
|
+
address: string;
|
|
72
|
+
label: string | null;
|
|
73
|
+
managed_safe_id: import("../generated/types.js").components["schemas"]["ManagedSafeId"] | null;
|
|
74
|
+
treasury_wallet_id: import("../generated/types.js").components["schemas"]["TreasuryWalletId"] | null;
|
|
75
|
+
verified_at: string | null;
|
|
76
|
+
created_at: import("../generated/types.js").components["schemas"]["TimestampUtc"];
|
|
77
|
+
} & {
|
|
78
|
+
roles: import("../generated/types.js").components["schemas"]["AuthorityRoleAssignment"][];
|
|
79
|
+
}>;
|
|
80
|
+
submitAuthorityProof(id: string, body: ReqBody<'submitTokenAuthorityProof'>, opts?: XKOVAMutationOptions): Promise<{
|
|
81
|
+
id: import("../generated/types.js").components["schemas"]["TokenAuthorityId"];
|
|
82
|
+
kind: "server_key" | "safe";
|
|
83
|
+
purpose: "operator" | "service_account";
|
|
84
|
+
safe_purpose: ("fund_vault" | "token_control" | "multi_purpose") | null;
|
|
85
|
+
address: string;
|
|
86
|
+
label: string | null;
|
|
87
|
+
managed_safe_id: import("../generated/types.js").components["schemas"]["ManagedSafeId"] | null;
|
|
88
|
+
treasury_wallet_id: import("../generated/types.js").components["schemas"]["TreasuryWalletId"] | null;
|
|
89
|
+
verified_at: string | null;
|
|
90
|
+
created_at: import("../generated/types.js").components["schemas"]["TimestampUtc"];
|
|
91
|
+
}>;
|
|
92
|
+
issueAuthorityProofChallenge(id: string, opts?: XKOVAMutationOptions): Promise<{
|
|
93
|
+
authority_id: import("../generated/types.js").components["schemas"]["TokenAuthorityId"];
|
|
94
|
+
challenge: string;
|
|
95
|
+
message: string;
|
|
96
|
+
expires_at: import("../generated/types.js").components["schemas"]["TimestampUtc"];
|
|
97
|
+
}>;
|
|
98
|
+
createControlSafe(body: ReqBody<'createTokenControlSafe'>, opts?: XKOVAMutationOptions): Promise<{
|
|
99
|
+
id: import("../generated/types.js").components["schemas"]["TokenAuthorityId"];
|
|
100
|
+
kind: "server_key" | "safe";
|
|
101
|
+
purpose: "operator" | "service_account";
|
|
102
|
+
safe_purpose: ("fund_vault" | "token_control" | "multi_purpose") | null;
|
|
103
|
+
address: string;
|
|
104
|
+
label: string | null;
|
|
105
|
+
managed_safe_id: import("../generated/types.js").components["schemas"]["ManagedSafeId"] | null;
|
|
106
|
+
treasury_wallet_id: import("../generated/types.js").components["schemas"]["TreasuryWalletId"] | null;
|
|
107
|
+
verified_at: string | null;
|
|
108
|
+
created_at: import("../generated/types.js").components["schemas"]["TimestampUtc"];
|
|
109
|
+
}>;
|
|
110
|
+
accessListAdd(id: string, body: ReqBody<'accessListAddCustomerToken'>, opts?: XKOVAMutationOptions): Promise<{
|
|
111
|
+
operation_id: import("../generated/types.js").components["schemas"]["TokenizationOperationId"];
|
|
112
|
+
safe_tx_hash: string;
|
|
113
|
+
typed_data: import("../generated/types.js").components["schemas"]["SafeEip712TypedData"];
|
|
114
|
+
status: import("../generated/types.js").components["schemas"]["TokenizationOperationStatus"];
|
|
115
|
+
}>;
|
|
116
|
+
accessListRemove(id: string, body: ReqBody<'accessListRemoveCustomerToken'>, opts?: XKOVAMutationOptions): Promise<{
|
|
117
|
+
operation_id: import("../generated/types.js").components["schemas"]["TokenizationOperationId"];
|
|
118
|
+
safe_tx_hash: string;
|
|
119
|
+
typed_data: import("../generated/types.js").components["schemas"]["SafeEip712TypedData"];
|
|
120
|
+
status: import("../generated/types.js").components["schemas"]["TokenizationOperationStatus"];
|
|
121
|
+
}>;
|
|
122
|
+
enableAccessRegistry(id: string, body: ReqBody<'enableAccessRegistryCustomerToken'>, opts?: XKOVAMutationOptions): Promise<{
|
|
123
|
+
operation_id: import("../generated/types.js").components["schemas"]["TokenizationOperationId"];
|
|
124
|
+
customer_token_id: import("../generated/types.js").components["schemas"]["CustomerTokenId"];
|
|
125
|
+
access_control: "allowlist" | "denylist";
|
|
126
|
+
status: string;
|
|
127
|
+
}>;
|
|
128
|
+
disableAccessRegistry(id: string, opts?: XKOVAMutationOptions): Promise<{
|
|
129
|
+
operation_id: import("../generated/types.js").components["schemas"]["TokenizationOperationId"];
|
|
130
|
+
safe_tx_hash: string;
|
|
131
|
+
typed_data: import("../generated/types.js").components["schemas"]["SafeEip712TypedData"];
|
|
132
|
+
status: import("../generated/types.js").components["schemas"]["TokenizationOperationStatus"];
|
|
133
|
+
}>;
|
|
134
|
+
listContracts(id: string): Promise<{
|
|
135
|
+
customer_token_id: import("../generated/types.js").components["schemas"]["CustomerTokenId"];
|
|
136
|
+
contracts: import("../generated/types.js").components["schemas"]["ExplorableContract"][];
|
|
137
|
+
}>;
|
|
138
|
+
read(id: string, query: Query<'readTokenizationContract'>): Promise<{
|
|
139
|
+
customer_token_id: import("../generated/types.js").components["schemas"]["CustomerTokenId"];
|
|
140
|
+
contract: "token" | "access_registry" | "roles_modifier";
|
|
141
|
+
address: string;
|
|
142
|
+
function: string;
|
|
143
|
+
result: string | number | boolean | unknown[] | {
|
|
144
|
+
[key: string]: unknown;
|
|
145
|
+
} | null;
|
|
146
|
+
}>;
|
|
147
|
+
resumeDeploy(id: string, opts?: XKOVAMutationOptions): Promise<{
|
|
148
|
+
operation_id: import("../generated/types.js").components["schemas"]["TokenizationOperationId"];
|
|
149
|
+
customer_token_id: import("../generated/types.js").components["schemas"]["CustomerTokenId"];
|
|
150
|
+
status: string;
|
|
151
|
+
token_proxy_address: string;
|
|
152
|
+
}>;
|
|
153
|
+
deprecate(id: string, opts?: XKOVAMutationOptions): Promise<{
|
|
154
|
+
customer_token_id: import("../generated/types.js").components["schemas"]["CustomerTokenId"];
|
|
155
|
+
status: "deprecated";
|
|
156
|
+
}>;
|
|
157
|
+
relayGaslessTransfer(id: string, body: ReqBody<'relayCustomerTokenGaslessTransfer'>, opts?: XKOVAMutationOptions): Promise<{
|
|
158
|
+
id: import("../generated/types.js").components["schemas"]["TokenizationOperationId"];
|
|
159
|
+
customer_token_id: import("../generated/types.js").components["schemas"]["CustomerTokenId"];
|
|
160
|
+
chain: import("../generated/types.js").components["schemas"]["ChainDescriptor"];
|
|
161
|
+
kind: "mint" | "burn" | "recover" | "grant_role" | "revoke_role" | "set_policy" | "set_mint_policy" | "access_list_add" | "access_list_remove" | "policy_mint" | "gasless_relay" | "pause" | "unpause" | "raw_safe_tx";
|
|
162
|
+
status: import("../generated/types.js").components["schemas"]["TokenizationOperationStatus"];
|
|
163
|
+
to: string | null;
|
|
164
|
+
amount: string | null;
|
|
165
|
+
role: string | null;
|
|
166
|
+
account: string | null;
|
|
167
|
+
addresses: string[] | null;
|
|
168
|
+
access_registry_proxy_address: string | null;
|
|
169
|
+
safe_tx_hash: string | null;
|
|
170
|
+
threshold: number;
|
|
171
|
+
signatures: import("../generated/types.js").components["schemas"]["TokenizationOperationSignature"][];
|
|
172
|
+
threshold_met: boolean;
|
|
173
|
+
tx_hash: string | null;
|
|
174
|
+
typed_data: import("../generated/types.js").components["schemas"]["SafeEip712TypedData"] | null;
|
|
175
|
+
authority_id: import("../generated/types.js").components["schemas"]["TokenAuthorityId"] | null;
|
|
176
|
+
amount_cap_raw: string | null;
|
|
177
|
+
function_name: string | null;
|
|
178
|
+
module_typed_data: import("../generated/types.js").components["schemas"]["ModuleTxEip712TypedData"] | null;
|
|
179
|
+
module_tx_hash: string | null;
|
|
180
|
+
forward_request_typed_data: import("../generated/types.js").components["schemas"]["ForwardRequestEip712TypedData"] | null;
|
|
181
|
+
from: string | null;
|
|
182
|
+
raw_contract: string | null;
|
|
183
|
+
raw_function: string | null;
|
|
184
|
+
raw_args: string[] | null;
|
|
185
|
+
created_at: string;
|
|
186
|
+
updated_at: string;
|
|
187
|
+
}>;
|
|
188
|
+
buildGaslessTransferRequest(id: string, body: ReqBody<'buildCustomerTokenGaslessTransferRequest'>, opts?: XKOVAMutationOptions): Promise<{
|
|
189
|
+
operation_id: import("../generated/types.js").components["schemas"]["TokenizationOperationId"];
|
|
190
|
+
forward_request_typed_data: import("../generated/types.js").components["schemas"]["ForwardRequestEip712TypedData"];
|
|
191
|
+
status: import("../generated/types.js").components["schemas"]["TokenizationOperationStatus"];
|
|
192
|
+
}>;
|
|
193
|
+
relayNftTransfer(id: string, body: ReqBody<'relayCustomerTokenNftTransfer'>, opts?: XKOVAMutationOptions): Promise<{
|
|
194
|
+
id: import("../generated/types.js").components["schemas"]["TokenizationOperationId"];
|
|
195
|
+
customer_token_id: import("../generated/types.js").components["schemas"]["CustomerTokenId"];
|
|
196
|
+
chain: import("../generated/types.js").components["schemas"]["ChainDescriptor"];
|
|
197
|
+
kind: "mint" | "burn" | "recover" | "grant_role" | "revoke_role" | "set_policy" | "set_mint_policy" | "access_list_add" | "access_list_remove" | "policy_mint" | "gasless_relay" | "pause" | "unpause" | "raw_safe_tx";
|
|
198
|
+
status: import("../generated/types.js").components["schemas"]["TokenizationOperationStatus"];
|
|
199
|
+
to: string | null;
|
|
200
|
+
amount: string | null;
|
|
201
|
+
role: string | null;
|
|
202
|
+
account: string | null;
|
|
203
|
+
addresses: string[] | null;
|
|
204
|
+
access_registry_proxy_address: string | null;
|
|
205
|
+
safe_tx_hash: string | null;
|
|
206
|
+
threshold: number;
|
|
207
|
+
signatures: import("../generated/types.js").components["schemas"]["TokenizationOperationSignature"][];
|
|
208
|
+
threshold_met: boolean;
|
|
209
|
+
tx_hash: string | null;
|
|
210
|
+
typed_data: import("../generated/types.js").components["schemas"]["SafeEip712TypedData"] | null;
|
|
211
|
+
authority_id: import("../generated/types.js").components["schemas"]["TokenAuthorityId"] | null;
|
|
212
|
+
amount_cap_raw: string | null;
|
|
213
|
+
function_name: string | null;
|
|
214
|
+
module_typed_data: import("../generated/types.js").components["schemas"]["ModuleTxEip712TypedData"] | null;
|
|
215
|
+
module_tx_hash: string | null;
|
|
216
|
+
forward_request_typed_data: import("../generated/types.js").components["schemas"]["ForwardRequestEip712TypedData"] | null;
|
|
217
|
+
from: string | null;
|
|
218
|
+
raw_contract: string | null;
|
|
219
|
+
raw_function: string | null;
|
|
220
|
+
raw_args: string[] | null;
|
|
221
|
+
created_at: string;
|
|
222
|
+
updated_at: string;
|
|
223
|
+
}>;
|
|
224
|
+
buildNftTransferRequest(id: string, body: ReqBody<'buildCustomerTokenNftTransferRequest'>, opts?: XKOVAMutationOptions): Promise<{
|
|
225
|
+
operation_id: import("../generated/types.js").components["schemas"]["TokenizationOperationId"];
|
|
226
|
+
forward_request_typed_data: import("../generated/types.js").components["schemas"]["ForwardRequestEip712TypedData"];
|
|
227
|
+
status: import("../generated/types.js").components["schemas"]["TokenizationOperationStatus"];
|
|
228
|
+
}>;
|
|
229
|
+
listOperations(id: string, query?: Query<'listTokenizationOperations'>): Promise<{
|
|
230
|
+
data: import("../generated/types.js").components["schemas"]["TokenizationOperation"][];
|
|
231
|
+
}>;
|
|
232
|
+
getOperation(id: string, opId: string): Promise<{
|
|
233
|
+
id: import("../generated/types.js").components["schemas"]["TokenizationOperationId"];
|
|
234
|
+
customer_token_id: import("../generated/types.js").components["schemas"]["CustomerTokenId"];
|
|
235
|
+
chain: import("../generated/types.js").components["schemas"]["ChainDescriptor"];
|
|
236
|
+
kind: "mint" | "burn" | "recover" | "grant_role" | "revoke_role" | "set_policy" | "set_mint_policy" | "access_list_add" | "access_list_remove" | "policy_mint" | "gasless_relay" | "pause" | "unpause" | "raw_safe_tx";
|
|
237
|
+
status: import("../generated/types.js").components["schemas"]["TokenizationOperationStatus"];
|
|
238
|
+
to: string | null;
|
|
239
|
+
amount: string | null;
|
|
240
|
+
role: string | null;
|
|
241
|
+
account: string | null;
|
|
242
|
+
addresses: string[] | null;
|
|
243
|
+
access_registry_proxy_address: string | null;
|
|
244
|
+
safe_tx_hash: string | null;
|
|
245
|
+
threshold: number;
|
|
246
|
+
signatures: import("../generated/types.js").components["schemas"]["TokenizationOperationSignature"][];
|
|
247
|
+
threshold_met: boolean;
|
|
248
|
+
tx_hash: string | null;
|
|
249
|
+
typed_data: import("../generated/types.js").components["schemas"]["SafeEip712TypedData"] | null;
|
|
250
|
+
authority_id: import("../generated/types.js").components["schemas"]["TokenAuthorityId"] | null;
|
|
251
|
+
amount_cap_raw: string | null;
|
|
252
|
+
function_name: string | null;
|
|
253
|
+
module_typed_data: import("../generated/types.js").components["schemas"]["ModuleTxEip712TypedData"] | null;
|
|
254
|
+
module_tx_hash: string | null;
|
|
255
|
+
forward_request_typed_data: import("../generated/types.js").components["schemas"]["ForwardRequestEip712TypedData"] | null;
|
|
256
|
+
from: string | null;
|
|
257
|
+
raw_contract: string | null;
|
|
258
|
+
raw_function: string | null;
|
|
259
|
+
raw_args: string[] | null;
|
|
260
|
+
created_at: string;
|
|
261
|
+
updated_at: string;
|
|
262
|
+
}>;
|
|
263
|
+
submitModuleSignature(id: string, opId: string, body: ReqBody<'submitCustomerTokenModuleSignature'>, opts?: XKOVAMutationOptions): Promise<{
|
|
264
|
+
id: import("../generated/types.js").components["schemas"]["TokenizationOperationId"];
|
|
265
|
+
customer_token_id: import("../generated/types.js").components["schemas"]["CustomerTokenId"];
|
|
266
|
+
chain: import("../generated/types.js").components["schemas"]["ChainDescriptor"];
|
|
267
|
+
kind: "mint" | "burn" | "recover" | "grant_role" | "revoke_role" | "set_policy" | "set_mint_policy" | "access_list_add" | "access_list_remove" | "policy_mint" | "gasless_relay" | "pause" | "unpause" | "raw_safe_tx";
|
|
268
|
+
status: import("../generated/types.js").components["schemas"]["TokenizationOperationStatus"];
|
|
269
|
+
to: string | null;
|
|
270
|
+
amount: string | null;
|
|
271
|
+
role: string | null;
|
|
272
|
+
account: string | null;
|
|
273
|
+
addresses: string[] | null;
|
|
274
|
+
access_registry_proxy_address: string | null;
|
|
275
|
+
safe_tx_hash: string | null;
|
|
276
|
+
threshold: number;
|
|
277
|
+
signatures: import("../generated/types.js").components["schemas"]["TokenizationOperationSignature"][];
|
|
278
|
+
threshold_met: boolean;
|
|
279
|
+
tx_hash: string | null;
|
|
280
|
+
typed_data: import("../generated/types.js").components["schemas"]["SafeEip712TypedData"] | null;
|
|
281
|
+
authority_id: import("../generated/types.js").components["schemas"]["TokenAuthorityId"] | null;
|
|
282
|
+
amount_cap_raw: string | null;
|
|
283
|
+
function_name: string | null;
|
|
284
|
+
module_typed_data: import("../generated/types.js").components["schemas"]["ModuleTxEip712TypedData"] | null;
|
|
285
|
+
module_tx_hash: string | null;
|
|
286
|
+
forward_request_typed_data: import("../generated/types.js").components["schemas"]["ForwardRequestEip712TypedData"] | null;
|
|
287
|
+
from: string | null;
|
|
288
|
+
raw_contract: string | null;
|
|
289
|
+
raw_function: string | null;
|
|
290
|
+
raw_args: string[] | null;
|
|
291
|
+
created_at: string;
|
|
292
|
+
updated_at: string;
|
|
293
|
+
}>;
|
|
294
|
+
submitOperationSignature(id: string, opId: string, body: ReqBody<'submitTokenizationOperationSignature'>, opts?: XKOVAMutationOptions): Promise<{
|
|
295
|
+
id: import("../generated/types.js").components["schemas"]["TokenizationOperationId"];
|
|
296
|
+
customer_token_id: import("../generated/types.js").components["schemas"]["CustomerTokenId"];
|
|
297
|
+
chain: import("../generated/types.js").components["schemas"]["ChainDescriptor"];
|
|
298
|
+
kind: "mint" | "burn" | "recover" | "grant_role" | "revoke_role" | "set_policy" | "set_mint_policy" | "access_list_add" | "access_list_remove" | "policy_mint" | "gasless_relay" | "pause" | "unpause" | "raw_safe_tx";
|
|
299
|
+
status: import("../generated/types.js").components["schemas"]["TokenizationOperationStatus"];
|
|
300
|
+
to: string | null;
|
|
301
|
+
amount: string | null;
|
|
302
|
+
role: string | null;
|
|
303
|
+
account: string | null;
|
|
304
|
+
addresses: string[] | null;
|
|
305
|
+
access_registry_proxy_address: string | null;
|
|
306
|
+
safe_tx_hash: string | null;
|
|
307
|
+
threshold: number;
|
|
308
|
+
signatures: import("../generated/types.js").components["schemas"]["TokenizationOperationSignature"][];
|
|
309
|
+
threshold_met: boolean;
|
|
310
|
+
tx_hash: string | null;
|
|
311
|
+
typed_data: import("../generated/types.js").components["schemas"]["SafeEip712TypedData"] | null;
|
|
312
|
+
authority_id: import("../generated/types.js").components["schemas"]["TokenAuthorityId"] | null;
|
|
313
|
+
amount_cap_raw: string | null;
|
|
314
|
+
function_name: string | null;
|
|
315
|
+
module_typed_data: import("../generated/types.js").components["schemas"]["ModuleTxEip712TypedData"] | null;
|
|
316
|
+
module_tx_hash: string | null;
|
|
317
|
+
forward_request_typed_data: import("../generated/types.js").components["schemas"]["ForwardRequestEip712TypedData"] | null;
|
|
318
|
+
from: string | null;
|
|
319
|
+
raw_contract: string | null;
|
|
320
|
+
raw_function: string | null;
|
|
321
|
+
raw_args: string[] | null;
|
|
322
|
+
created_at: string;
|
|
323
|
+
updated_at: string;
|
|
324
|
+
}>;
|
|
325
|
+
pause(id: string, opts?: XKOVAMutationOptions): Promise<{
|
|
326
|
+
operation_id: import("../generated/types.js").components["schemas"]["TokenizationOperationId"];
|
|
327
|
+
safe_tx_hash: string;
|
|
328
|
+
typed_data: import("../generated/types.js").components["schemas"]["SafeEip712TypedData"];
|
|
329
|
+
status: import("../generated/types.js").components["schemas"]["TokenizationOperationStatus"];
|
|
330
|
+
}>;
|
|
331
|
+
unpause(id: string, opts?: XKOVAMutationOptions): Promise<{
|
|
332
|
+
operation_id: import("../generated/types.js").components["schemas"]["TokenizationOperationId"];
|
|
333
|
+
safe_tx_hash: string;
|
|
334
|
+
typed_data: import("../generated/types.js").components["schemas"]["SafeEip712TypedData"];
|
|
335
|
+
status: import("../generated/types.js").components["schemas"]["TokenizationOperationStatus"];
|
|
336
|
+
}>;
|
|
337
|
+
setMintPolicy(id: string, body: ReqBody<'setCustomerTokenMintPolicy'>, opts?: XKOVAMutationOptions): Promise<{
|
|
338
|
+
operation_id: import("../generated/types.js").components["schemas"]["TokenizationOperationId"];
|
|
339
|
+
safe_tx_hash: string;
|
|
340
|
+
typed_data: import("../generated/types.js").components["schemas"]["SafeEip712TypedData"];
|
|
341
|
+
status: import("../generated/types.js").components["schemas"]["TokenizationOperationStatus"];
|
|
342
|
+
}>;
|
|
343
|
+
revokeMintPolicy(id: string, body: ReqBody<'revokeCustomerTokenMintPolicy'>, opts?: XKOVAMutationOptions): Promise<{
|
|
344
|
+
operation_id: import("../generated/types.js").components["schemas"]["TokenizationOperationId"];
|
|
345
|
+
safe_tx_hash: string;
|
|
346
|
+
typed_data: import("../generated/types.js").components["schemas"]["SafeEip712TypedData"];
|
|
347
|
+
status: import("../generated/types.js").components["schemas"]["TokenizationOperationStatus"];
|
|
348
|
+
}>;
|
|
349
|
+
buildPolicyMint(id: string, body: ReqBody<'buildCustomerTokenPolicyMint'>, opts?: XKOVAMutationOptions): Promise<{
|
|
350
|
+
operation_id: import("../generated/types.js").components["schemas"]["TokenizationOperationId"];
|
|
351
|
+
module_tx_hash: string;
|
|
352
|
+
module_typed_data: import("../generated/types.js").components["schemas"]["ModuleTxEip712TypedData"];
|
|
353
|
+
status: import("../generated/types.js").components["schemas"]["TokenizationOperationStatus"];
|
|
354
|
+
}>;
|
|
355
|
+
rawSafeTx(id: string, body: ReqBody<'rawSafeTxCustomerToken'>, opts?: XKOVAMutationOptions): Promise<{
|
|
356
|
+
operation_id: import("../generated/types.js").components["schemas"]["TokenizationOperationId"];
|
|
357
|
+
safe_tx_hash: string;
|
|
358
|
+
typed_data: import("../generated/types.js").components["schemas"]["SafeEip712TypedData"];
|
|
359
|
+
status: import("../generated/types.js").components["schemas"]["TokenizationOperationStatus"];
|
|
360
|
+
}>;
|
|
361
|
+
recover(id: string, body: ReqBody<'recoverCustomerToken'>, opts?: XKOVAMutationOptions): Promise<{
|
|
362
|
+
operation_id: import("../generated/types.js").components["schemas"]["TokenizationOperationId"];
|
|
363
|
+
safe_tx_hash: string;
|
|
364
|
+
typed_data: import("../generated/types.js").components["schemas"]["SafeEip712TypedData"];
|
|
365
|
+
status: import("../generated/types.js").components["schemas"]["TokenizationOperationStatus"];
|
|
366
|
+
}>;
|
|
367
|
+
grantRole(id: string, body: ReqBody<'grantCustomerTokenRole'>, opts?: XKOVAMutationOptions): Promise<{
|
|
368
|
+
operation_id: import("../generated/types.js").components["schemas"]["TokenizationOperationId"];
|
|
369
|
+
safe_tx_hash: string;
|
|
370
|
+
typed_data: import("../generated/types.js").components["schemas"]["SafeEip712TypedData"];
|
|
371
|
+
status: import("../generated/types.js").components["schemas"]["TokenizationOperationStatus"];
|
|
372
|
+
}>;
|
|
373
|
+
revokeRole(id: string, body: ReqBody<'revokeCustomerTokenRole'>, opts?: XKOVAMutationOptions): Promise<{
|
|
374
|
+
operation_id: import("../generated/types.js").components["schemas"]["TokenizationOperationId"];
|
|
375
|
+
safe_tx_hash: string;
|
|
376
|
+
typed_data: import("../generated/types.js").components["schemas"]["SafeEip712TypedData"];
|
|
377
|
+
status: import("../generated/types.js").components["schemas"]["TokenizationOperationStatus"];
|
|
378
|
+
}>;
|
|
379
|
+
disableForTreasury(id: string, opts?: XKOVAMutationOptions): Promise<{
|
|
380
|
+
customer_token_id: import("../generated/types.js").components["schemas"]["CustomerTokenId"];
|
|
381
|
+
treasury_enabled: boolean;
|
|
382
|
+
is_stable: boolean;
|
|
383
|
+
}>;
|
|
384
|
+
enableForTreasury(id: string, body: ReqBody<'enableCustomerTokenForTreasury'>, opts?: XKOVAMutationOptions): Promise<{
|
|
385
|
+
customer_token_id: import("../generated/types.js").components["schemas"]["CustomerTokenId"];
|
|
386
|
+
treasury_enabled: boolean;
|
|
387
|
+
is_stable: boolean;
|
|
388
|
+
}>;
|
|
389
|
+
treasuryStatus(id: string): Promise<{
|
|
390
|
+
customer_token_id: import("../generated/types.js").components["schemas"]["CustomerTokenId"];
|
|
391
|
+
treasury_enabled: boolean;
|
|
392
|
+
is_stable: boolean;
|
|
393
|
+
}>;
|
|
394
|
+
}
|