@turnkey/http 0.18.0 → 0.18.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/CHANGELOG.md +6 -0
- package/dist/__generated__/services/coordinator/public/v1/public_api.fetcher.d.ts +2710 -554
- package/dist/__generated__/services/coordinator/public/v1/public_api.fetcher.d.ts.map +1 -1
- package/dist/__generated__/services/coordinator/public/v1/public_api.fetcher.js +122 -2
- package/dist/__generated__/services/coordinator/public/v1/public_api.fetcher.js.map +1 -1
- package/dist/__generated__/services/coordinator/public/v1/public_api.swagger.json +481 -7
- package/dist/__generated__/services/coordinator/public/v1/public_api.types.d.ts +236 -4
- package/dist/__generated__/services/coordinator/public/v1/public_api.types.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -26,18 +26,14 @@ export declare const postGetActivity: (input: TPostGetActivityInput) => Promise<
|
|
|
26
26
|
id: string;
|
|
27
27
|
organizationId: string;
|
|
28
28
|
status: "ACTIVITY_STATUS_CREATED" | "ACTIVITY_STATUS_PENDING" | "ACTIVITY_STATUS_COMPLETED" | "ACTIVITY_STATUS_FAILED" | "ACTIVITY_STATUS_CONSENSUS_NEEDED" | "ACTIVITY_STATUS_REJECTED";
|
|
29
|
-
type: "ACTIVITY_TYPE_CREATE_API_KEYS" | "ACTIVITY_TYPE_CREATE_USERS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD" | "ACTIVITY_TYPE_CREATE_INVITATIONS" | "ACTIVITY_TYPE_ACCEPT_INVITATION" | "ACTIVITY_TYPE_CREATE_POLICY" | "ACTIVITY_TYPE_DISABLE_PRIVATE_KEY" | "ACTIVITY_TYPE_DELETE_USERS" | "ACTIVITY_TYPE_DELETE_API_KEYS" | "ACTIVITY_TYPE_DELETE_INVITATION" | "ACTIVITY_TYPE_DELETE_ORGANIZATION" | "ACTIVITY_TYPE_DELETE_POLICY" | "ACTIVITY_TYPE_CREATE_USER_TAG" | "ACTIVITY_TYPE_DELETE_USER_TAGS" | "ACTIVITY_TYPE_CREATE_ORGANIZATION" | "ACTIVITY_TYPE_SIGN_TRANSACTION" | "ACTIVITY_TYPE_APPROVE_ACTIVITY" | "ACTIVITY_TYPE_REJECT_ACTIVITY" | "ACTIVITY_TYPE_DELETE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS" | "ACTIVITY_TYPE_SET_PAYMENT_METHOD" | "ACTIVITY_TYPE_ACTIVATE_BILLING_TIER" | "ACTIVITY_TYPE_DELETE_PAYMENT_METHOD" | "ACTIVITY_TYPE_CREATE_POLICY_V2" | "ACTIVITY_TYPE_CREATE_POLICY_V3" | "ACTIVITY_TYPE_CREATE_API_ONLY_USERS" | "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM" | "ACTIVITY_TYPE_UPDATE_USER_TAG" | "ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS_V2" | "ACTIVITY_TYPE_CREATE_ORGANIZATION_V2" | "ACTIVITY_TYPE_CREATE_USERS_V2" | "ACTIVITY_TYPE_ACCEPT_INVITATION_V2" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V2";
|
|
29
|
+
type: "ACTIVITY_TYPE_CREATE_API_KEYS" | "ACTIVITY_TYPE_CREATE_USERS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD" | "ACTIVITY_TYPE_CREATE_INVITATIONS" | "ACTIVITY_TYPE_ACCEPT_INVITATION" | "ACTIVITY_TYPE_CREATE_POLICY" | "ACTIVITY_TYPE_DISABLE_PRIVATE_KEY" | "ACTIVITY_TYPE_DELETE_USERS" | "ACTIVITY_TYPE_DELETE_API_KEYS" | "ACTIVITY_TYPE_DELETE_INVITATION" | "ACTIVITY_TYPE_DELETE_ORGANIZATION" | "ACTIVITY_TYPE_DELETE_POLICY" | "ACTIVITY_TYPE_CREATE_USER_TAG" | "ACTIVITY_TYPE_DELETE_USER_TAGS" | "ACTIVITY_TYPE_CREATE_ORGANIZATION" | "ACTIVITY_TYPE_SIGN_TRANSACTION" | "ACTIVITY_TYPE_APPROVE_ACTIVITY" | "ACTIVITY_TYPE_REJECT_ACTIVITY" | "ACTIVITY_TYPE_DELETE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS" | "ACTIVITY_TYPE_SET_PAYMENT_METHOD" | "ACTIVITY_TYPE_ACTIVATE_BILLING_TIER" | "ACTIVITY_TYPE_DELETE_PAYMENT_METHOD" | "ACTIVITY_TYPE_CREATE_POLICY_V2" | "ACTIVITY_TYPE_CREATE_POLICY_V3" | "ACTIVITY_TYPE_CREATE_API_ONLY_USERS" | "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM" | "ACTIVITY_TYPE_UPDATE_USER_TAG" | "ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS_V2" | "ACTIVITY_TYPE_CREATE_ORGANIZATION_V2" | "ACTIVITY_TYPE_CREATE_USERS_V2" | "ACTIVITY_TYPE_ACCEPT_INVITATION_V2" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V2" | "ACTIVITY_TYPE_UPDATE_ALLOWED_ORIGINS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS_V2";
|
|
30
30
|
intent: {
|
|
31
31
|
createOrganizationIntent: {
|
|
32
32
|
organizationName: string;
|
|
33
33
|
rootEmail: string;
|
|
34
34
|
rootAuthenticator: {
|
|
35
35
|
authenticatorName: string;
|
|
36
|
-
userId: string;
|
|
37
|
-
* Create Invitations
|
|
38
|
-
*
|
|
39
|
-
* Create Invitations to join an existing Organization
|
|
40
|
-
*/
|
|
36
|
+
userId: string;
|
|
41
37
|
attestation: {
|
|
42
38
|
id: string;
|
|
43
39
|
type: "public-key";
|
|
@@ -64,11 +60,7 @@ export declare const postGetActivity: (input: TPostGetActivityInput) => Promise<
|
|
|
64
60
|
createAuthenticatorsIntent?: {
|
|
65
61
|
authenticators: {
|
|
66
62
|
authenticatorName: string;
|
|
67
|
-
userId: string;
|
|
68
|
-
* Create Invitations
|
|
69
|
-
*
|
|
70
|
-
* Create Invitations to join an existing Organization
|
|
71
|
-
*/
|
|
63
|
+
userId: string;
|
|
72
64
|
attestation: {
|
|
73
65
|
id: string;
|
|
74
66
|
type: "public-key";
|
|
@@ -103,11 +95,7 @@ export declare const postGetActivity: (input: TPostGetActivityInput) => Promise<
|
|
|
103
95
|
}[];
|
|
104
96
|
authenticators: {
|
|
105
97
|
authenticatorName: string;
|
|
106
|
-
userId: string;
|
|
107
|
-
* Create Invitations
|
|
108
|
-
*
|
|
109
|
-
* Create Invitations to join an existing Organization
|
|
110
|
-
*/
|
|
98
|
+
userId: string;
|
|
111
99
|
attestation: {
|
|
112
100
|
id: string;
|
|
113
101
|
type: "public-key";
|
|
@@ -160,11 +148,7 @@ export declare const postGetActivity: (input: TPostGetActivityInput) => Promise<
|
|
|
160
148
|
userId: string;
|
|
161
149
|
authenticator: {
|
|
162
150
|
authenticatorName: string;
|
|
163
|
-
userId: string;
|
|
164
|
-
* Create Invitations
|
|
165
|
-
*
|
|
166
|
-
* Create Invitations to join an existing Organization
|
|
167
|
-
*/
|
|
151
|
+
userId: string;
|
|
168
152
|
attestation: {
|
|
169
153
|
id: string;
|
|
170
154
|
type: "public-key";
|
|
@@ -216,6 +200,11 @@ export declare const postGetActivity: (input: TPostGetActivityInput) => Promise<
|
|
|
216
200
|
deletePolicyIntent?: {
|
|
217
201
|
policyId: string;
|
|
218
202
|
};
|
|
203
|
+
/**
|
|
204
|
+
* `POST /tkhq/public/v1/query/get_private_key`
|
|
205
|
+
*
|
|
206
|
+
* @deprecated
|
|
207
|
+
*/
|
|
219
208
|
createUserTagIntent?: {
|
|
220
209
|
userTagName: string;
|
|
221
210
|
userIds: string[];
|
|
@@ -409,6 +398,17 @@ export declare const postGetActivity: (input: TPostGetActivityInput) => Promise<
|
|
|
409
398
|
}[];
|
|
410
399
|
rootQuorumThreshold: number;
|
|
411
400
|
};
|
|
401
|
+
updateAllowedOriginsIntent?: {
|
|
402
|
+
allowedOrigins: string[];
|
|
403
|
+
};
|
|
404
|
+
createPrivateKeysIntentV2?: {
|
|
405
|
+
privateKeys: {
|
|
406
|
+
privateKeyName: string;
|
|
407
|
+
curve: "CURVE_SECP256K1" | "CURVE_ED25519";
|
|
408
|
+
privateKeyTags: string[];
|
|
409
|
+
addressFormats: ("ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM")[];
|
|
410
|
+
}[];
|
|
411
|
+
};
|
|
412
412
|
};
|
|
413
413
|
result: {
|
|
414
414
|
createOrganizationResult?: {
|
|
@@ -507,6 +507,18 @@ export declare const postGetActivity: (input: TPostGetActivityInput) => Promise<
|
|
|
507
507
|
createSubOrganizationResult?: {
|
|
508
508
|
subOrganizationId: string;
|
|
509
509
|
};
|
|
510
|
+
updateAllowedOriginsResult?: {
|
|
511
|
+
[key: string]: unknown;
|
|
512
|
+
};
|
|
513
|
+
createPrivateKeysResultV2?: {
|
|
514
|
+
privateKeys: {
|
|
515
|
+
privateKeyId?: string;
|
|
516
|
+
addresses?: {
|
|
517
|
+
format?: "ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM";
|
|
518
|
+
address?: string;
|
|
519
|
+
}[];
|
|
520
|
+
}[];
|
|
521
|
+
};
|
|
510
522
|
};
|
|
511
523
|
votes: {
|
|
512
524
|
id: string;
|
|
@@ -593,6 +605,106 @@ export declare const postGetActivity: (input: TPostGetActivityInput) => Promise<
|
|
|
593
605
|
* Get details about an Activity
|
|
594
606
|
*/
|
|
595
607
|
export declare const federatedPostGetActivity: (input: TPostGetActivityInput, options?: TurnkeyCredentialRequestOptions) => Promise<import("../../../../..").FederatedRequest>;
|
|
608
|
+
/**
|
|
609
|
+
* `POST /public/v1/query/get_authenticator`
|
|
610
|
+
*/
|
|
611
|
+
type TPostGetAuthenticatorBody = operations["PublicApiService_GetAuthenticator"]["parameters"]["body"]["body"];
|
|
612
|
+
/**
|
|
613
|
+
* `POST /public/v1/query/get_authenticator`
|
|
614
|
+
*/
|
|
615
|
+
export type TPostGetAuthenticatorResponse = operations["PublicApiService_GetAuthenticator"]["responses"]["200"]["schema"];
|
|
616
|
+
/**
|
|
617
|
+
* `POST /public/v1/query/get_authenticator`
|
|
618
|
+
*/
|
|
619
|
+
export type TPostGetAuthenticatorInput = {
|
|
620
|
+
body: TPostGetAuthenticatorBody;
|
|
621
|
+
};
|
|
622
|
+
/**
|
|
623
|
+
* Get Authenticator
|
|
624
|
+
*
|
|
625
|
+
* Get details about an authenticator
|
|
626
|
+
*
|
|
627
|
+
* `POST /public/v1/query/get_authenticator`
|
|
628
|
+
*/
|
|
629
|
+
export declare const postGetAuthenticator: (input: TPostGetAuthenticatorInput) => Promise<{
|
|
630
|
+
authenticator: {
|
|
631
|
+
transports: ("AUTHENTICATOR_TRANSPORT_BLE" | "AUTHENTICATOR_TRANSPORT_INTERNAL" | "AUTHENTICATOR_TRANSPORT_NFC" | "AUTHENTICATOR_TRANSPORT_USB" | "AUTHENTICATOR_TRANSPORT_HYBRID")[];
|
|
632
|
+
attestationType: string;
|
|
633
|
+
aaguid: string;
|
|
634
|
+
credentialId: string;
|
|
635
|
+
model: string;
|
|
636
|
+
credential: {
|
|
637
|
+
publicKey: string;
|
|
638
|
+
type: "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR" | "CREDENTIAL_TYPE_API_KEY_P256";
|
|
639
|
+
};
|
|
640
|
+
authenticatorId: string;
|
|
641
|
+
authenticatorName: string;
|
|
642
|
+
createdAt: {
|
|
643
|
+
seconds: string;
|
|
644
|
+
nanos: string;
|
|
645
|
+
};
|
|
646
|
+
updatedAt: {
|
|
647
|
+
seconds: string;
|
|
648
|
+
nanos: string;
|
|
649
|
+
};
|
|
650
|
+
};
|
|
651
|
+
}>;
|
|
652
|
+
/**
|
|
653
|
+
* Get Authenticator
|
|
654
|
+
*
|
|
655
|
+
* Get details about an authenticator
|
|
656
|
+
*/
|
|
657
|
+
export declare const federatedPostGetAuthenticator: (input: TPostGetAuthenticatorInput, options?: TurnkeyCredentialRequestOptions) => Promise<import("../../../../..").FederatedRequest>;
|
|
658
|
+
/**
|
|
659
|
+
* `POST /public/v1/query/get_authenticators`
|
|
660
|
+
*/
|
|
661
|
+
type TPostGetAuthenticatorsBody = operations["PublicApiService_GetAuthenticators"]["parameters"]["body"]["body"];
|
|
662
|
+
/**
|
|
663
|
+
* `POST /public/v1/query/get_authenticators`
|
|
664
|
+
*/
|
|
665
|
+
export type TPostGetAuthenticatorsResponse = operations["PublicApiService_GetAuthenticators"]["responses"]["200"]["schema"];
|
|
666
|
+
/**
|
|
667
|
+
* `POST /public/v1/query/get_authenticators`
|
|
668
|
+
*/
|
|
669
|
+
export type TPostGetAuthenticatorsInput = {
|
|
670
|
+
body: TPostGetAuthenticatorsBody;
|
|
671
|
+
};
|
|
672
|
+
/**
|
|
673
|
+
* Get Authenticators
|
|
674
|
+
*
|
|
675
|
+
* Get details about authenticators for a user
|
|
676
|
+
*
|
|
677
|
+
* `POST /public/v1/query/get_authenticators`
|
|
678
|
+
*/
|
|
679
|
+
export declare const postGetAuthenticators: (input: TPostGetAuthenticatorsInput) => Promise<{
|
|
680
|
+
authenticators: {
|
|
681
|
+
transports: ("AUTHENTICATOR_TRANSPORT_BLE" | "AUTHENTICATOR_TRANSPORT_INTERNAL" | "AUTHENTICATOR_TRANSPORT_NFC" | "AUTHENTICATOR_TRANSPORT_USB" | "AUTHENTICATOR_TRANSPORT_HYBRID")[];
|
|
682
|
+
attestationType: string;
|
|
683
|
+
aaguid: string;
|
|
684
|
+
credentialId: string;
|
|
685
|
+
model: string;
|
|
686
|
+
credential: {
|
|
687
|
+
publicKey: string;
|
|
688
|
+
type: "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR" | "CREDENTIAL_TYPE_API_KEY_P256";
|
|
689
|
+
};
|
|
690
|
+
authenticatorId: string;
|
|
691
|
+
authenticatorName: string;
|
|
692
|
+
createdAt: {
|
|
693
|
+
seconds: string;
|
|
694
|
+
nanos: string;
|
|
695
|
+
};
|
|
696
|
+
updatedAt: {
|
|
697
|
+
seconds: string;
|
|
698
|
+
nanos: string;
|
|
699
|
+
};
|
|
700
|
+
}[];
|
|
701
|
+
}>;
|
|
702
|
+
/**
|
|
703
|
+
* Get Authenticators
|
|
704
|
+
*
|
|
705
|
+
* Get details about authenticators for a user
|
|
706
|
+
*/
|
|
707
|
+
export declare const federatedPostGetAuthenticators: (input: TPostGetAuthenticatorsInput, options?: TurnkeyCredentialRequestOptions) => Promise<import("../../../../..").FederatedRequest>;
|
|
596
708
|
/**
|
|
597
709
|
* `POST /public/v1/query/get_organization`
|
|
598
710
|
*/
|
|
@@ -755,6 +867,7 @@ export declare const postGetOrganization: (input: TPostGetOrganizationInput) =>
|
|
|
755
867
|
threshold: number;
|
|
756
868
|
userIds: string[];
|
|
757
869
|
};
|
|
870
|
+
allowedOrigins?: string[];
|
|
758
871
|
};
|
|
759
872
|
}>;
|
|
760
873
|
/**
|
|
@@ -964,18 +1077,14 @@ export declare const postGetActivities: (input: TPostGetActivitiesInput) => Prom
|
|
|
964
1077
|
id: string;
|
|
965
1078
|
organizationId: string;
|
|
966
1079
|
status: "ACTIVITY_STATUS_CREATED" | "ACTIVITY_STATUS_PENDING" | "ACTIVITY_STATUS_COMPLETED" | "ACTIVITY_STATUS_FAILED" | "ACTIVITY_STATUS_CONSENSUS_NEEDED" | "ACTIVITY_STATUS_REJECTED";
|
|
967
|
-
type: "ACTIVITY_TYPE_CREATE_API_KEYS" | "ACTIVITY_TYPE_CREATE_USERS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD" | "ACTIVITY_TYPE_CREATE_INVITATIONS" | "ACTIVITY_TYPE_ACCEPT_INVITATION" | "ACTIVITY_TYPE_CREATE_POLICY" | "ACTIVITY_TYPE_DISABLE_PRIVATE_KEY" | "ACTIVITY_TYPE_DELETE_USERS" | "ACTIVITY_TYPE_DELETE_API_KEYS" | "ACTIVITY_TYPE_DELETE_INVITATION" | "ACTIVITY_TYPE_DELETE_ORGANIZATION" | "ACTIVITY_TYPE_DELETE_POLICY" | "ACTIVITY_TYPE_CREATE_USER_TAG" | "ACTIVITY_TYPE_DELETE_USER_TAGS" | "ACTIVITY_TYPE_CREATE_ORGANIZATION" | "ACTIVITY_TYPE_SIGN_TRANSACTION" | "ACTIVITY_TYPE_APPROVE_ACTIVITY" | "ACTIVITY_TYPE_REJECT_ACTIVITY" | "ACTIVITY_TYPE_DELETE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS" | "ACTIVITY_TYPE_SET_PAYMENT_METHOD" | "ACTIVITY_TYPE_ACTIVATE_BILLING_TIER" | "ACTIVITY_TYPE_DELETE_PAYMENT_METHOD" | "ACTIVITY_TYPE_CREATE_POLICY_V2" | "ACTIVITY_TYPE_CREATE_POLICY_V3" | "ACTIVITY_TYPE_CREATE_API_ONLY_USERS" | "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM" | "ACTIVITY_TYPE_UPDATE_USER_TAG" | "ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS_V2" | "ACTIVITY_TYPE_CREATE_ORGANIZATION_V2" | "ACTIVITY_TYPE_CREATE_USERS_V2" | "ACTIVITY_TYPE_ACCEPT_INVITATION_V2" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V2";
|
|
1080
|
+
type: "ACTIVITY_TYPE_CREATE_API_KEYS" | "ACTIVITY_TYPE_CREATE_USERS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD" | "ACTIVITY_TYPE_CREATE_INVITATIONS" | "ACTIVITY_TYPE_ACCEPT_INVITATION" | "ACTIVITY_TYPE_CREATE_POLICY" | "ACTIVITY_TYPE_DISABLE_PRIVATE_KEY" | "ACTIVITY_TYPE_DELETE_USERS" | "ACTIVITY_TYPE_DELETE_API_KEYS" | "ACTIVITY_TYPE_DELETE_INVITATION" | "ACTIVITY_TYPE_DELETE_ORGANIZATION" | "ACTIVITY_TYPE_DELETE_POLICY" | "ACTIVITY_TYPE_CREATE_USER_TAG" | "ACTIVITY_TYPE_DELETE_USER_TAGS" | "ACTIVITY_TYPE_CREATE_ORGANIZATION" | "ACTIVITY_TYPE_SIGN_TRANSACTION" | "ACTIVITY_TYPE_APPROVE_ACTIVITY" | "ACTIVITY_TYPE_REJECT_ACTIVITY" | "ACTIVITY_TYPE_DELETE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS" | "ACTIVITY_TYPE_SET_PAYMENT_METHOD" | "ACTIVITY_TYPE_ACTIVATE_BILLING_TIER" | "ACTIVITY_TYPE_DELETE_PAYMENT_METHOD" | "ACTIVITY_TYPE_CREATE_POLICY_V2" | "ACTIVITY_TYPE_CREATE_POLICY_V3" | "ACTIVITY_TYPE_CREATE_API_ONLY_USERS" | "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM" | "ACTIVITY_TYPE_UPDATE_USER_TAG" | "ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS_V2" | "ACTIVITY_TYPE_CREATE_ORGANIZATION_V2" | "ACTIVITY_TYPE_CREATE_USERS_V2" | "ACTIVITY_TYPE_ACCEPT_INVITATION_V2" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V2" | "ACTIVITY_TYPE_UPDATE_ALLOWED_ORIGINS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS_V2";
|
|
968
1081
|
intent: {
|
|
969
1082
|
createOrganizationIntent: {
|
|
970
1083
|
organizationName: string;
|
|
971
1084
|
rootEmail: string;
|
|
972
1085
|
rootAuthenticator: {
|
|
973
1086
|
authenticatorName: string;
|
|
974
|
-
userId: string;
|
|
975
|
-
* Create Invitations
|
|
976
|
-
*
|
|
977
|
-
* Create Invitations to join an existing Organization
|
|
978
|
-
*/
|
|
1087
|
+
userId: string;
|
|
979
1088
|
attestation: {
|
|
980
1089
|
id: string;
|
|
981
1090
|
type: "public-key";
|
|
@@ -1002,11 +1111,7 @@ export declare const postGetActivities: (input: TPostGetActivitiesInput) => Prom
|
|
|
1002
1111
|
createAuthenticatorsIntent?: {
|
|
1003
1112
|
authenticators: {
|
|
1004
1113
|
authenticatorName: string;
|
|
1005
|
-
userId: string;
|
|
1006
|
-
* Create Invitations
|
|
1007
|
-
*
|
|
1008
|
-
* Create Invitations to join an existing Organization
|
|
1009
|
-
*/
|
|
1114
|
+
userId: string;
|
|
1010
1115
|
attestation: {
|
|
1011
1116
|
id: string;
|
|
1012
1117
|
type: "public-key";
|
|
@@ -1041,11 +1146,7 @@ export declare const postGetActivities: (input: TPostGetActivitiesInput) => Prom
|
|
|
1041
1146
|
}[];
|
|
1042
1147
|
authenticators: {
|
|
1043
1148
|
authenticatorName: string;
|
|
1044
|
-
userId: string;
|
|
1045
|
-
* Create Invitations
|
|
1046
|
-
*
|
|
1047
|
-
* Create Invitations to join an existing Organization
|
|
1048
|
-
*/
|
|
1149
|
+
userId: string;
|
|
1049
1150
|
attestation: {
|
|
1050
1151
|
id: string;
|
|
1051
1152
|
type: "public-key";
|
|
@@ -1098,11 +1199,7 @@ export declare const postGetActivities: (input: TPostGetActivitiesInput) => Prom
|
|
|
1098
1199
|
userId: string;
|
|
1099
1200
|
authenticator: {
|
|
1100
1201
|
authenticatorName: string;
|
|
1101
|
-
userId: string;
|
|
1102
|
-
* Create Invitations
|
|
1103
|
-
*
|
|
1104
|
-
* Create Invitations to join an existing Organization
|
|
1105
|
-
*/
|
|
1202
|
+
userId: string;
|
|
1106
1203
|
attestation: {
|
|
1107
1204
|
id: string;
|
|
1108
1205
|
type: "public-key";
|
|
@@ -1154,6 +1251,11 @@ export declare const postGetActivities: (input: TPostGetActivitiesInput) => Prom
|
|
|
1154
1251
|
deletePolicyIntent?: {
|
|
1155
1252
|
policyId: string;
|
|
1156
1253
|
};
|
|
1254
|
+
/**
|
|
1255
|
+
* `POST /tkhq/public/v1/query/get_private_key`
|
|
1256
|
+
*
|
|
1257
|
+
* @deprecated
|
|
1258
|
+
*/
|
|
1157
1259
|
createUserTagIntent?: {
|
|
1158
1260
|
userTagName: string;
|
|
1159
1261
|
userIds: string[];
|
|
@@ -1347,6 +1449,17 @@ export declare const postGetActivities: (input: TPostGetActivitiesInput) => Prom
|
|
|
1347
1449
|
}[];
|
|
1348
1450
|
rootQuorumThreshold: number;
|
|
1349
1451
|
};
|
|
1452
|
+
updateAllowedOriginsIntent?: {
|
|
1453
|
+
allowedOrigins: string[];
|
|
1454
|
+
};
|
|
1455
|
+
createPrivateKeysIntentV2?: {
|
|
1456
|
+
privateKeys: {
|
|
1457
|
+
privateKeyName: string;
|
|
1458
|
+
curve: "CURVE_SECP256K1" | "CURVE_ED25519";
|
|
1459
|
+
privateKeyTags: string[];
|
|
1460
|
+
addressFormats: ("ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM")[];
|
|
1461
|
+
}[];
|
|
1462
|
+
};
|
|
1350
1463
|
};
|
|
1351
1464
|
result: {
|
|
1352
1465
|
createOrganizationResult?: {
|
|
@@ -1445,6 +1558,18 @@ export declare const postGetActivities: (input: TPostGetActivitiesInput) => Prom
|
|
|
1445
1558
|
createSubOrganizationResult?: {
|
|
1446
1559
|
subOrganizationId: string;
|
|
1447
1560
|
};
|
|
1561
|
+
updateAllowedOriginsResult?: {
|
|
1562
|
+
[key: string]: unknown;
|
|
1563
|
+
};
|
|
1564
|
+
createPrivateKeysResultV2?: {
|
|
1565
|
+
privateKeys: {
|
|
1566
|
+
privateKeyId?: string;
|
|
1567
|
+
addresses?: {
|
|
1568
|
+
format?: "ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM";
|
|
1569
|
+
address?: string;
|
|
1570
|
+
}[];
|
|
1571
|
+
}[];
|
|
1572
|
+
};
|
|
1448
1573
|
};
|
|
1449
1574
|
votes: {
|
|
1450
1575
|
id: string;
|
|
@@ -1765,18 +1890,14 @@ export declare const postApproveActivity: (input: TPostApproveActivityInput) =>
|
|
|
1765
1890
|
id: string;
|
|
1766
1891
|
organizationId: string;
|
|
1767
1892
|
status: "ACTIVITY_STATUS_CREATED" | "ACTIVITY_STATUS_PENDING" | "ACTIVITY_STATUS_COMPLETED" | "ACTIVITY_STATUS_FAILED" | "ACTIVITY_STATUS_CONSENSUS_NEEDED" | "ACTIVITY_STATUS_REJECTED";
|
|
1768
|
-
type: "ACTIVITY_TYPE_CREATE_API_KEYS" | "ACTIVITY_TYPE_CREATE_USERS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD" | "ACTIVITY_TYPE_CREATE_INVITATIONS" | "ACTIVITY_TYPE_ACCEPT_INVITATION" | "ACTIVITY_TYPE_CREATE_POLICY" | "ACTIVITY_TYPE_DISABLE_PRIVATE_KEY" | "ACTIVITY_TYPE_DELETE_USERS" | "ACTIVITY_TYPE_DELETE_API_KEYS" | "ACTIVITY_TYPE_DELETE_INVITATION" | "ACTIVITY_TYPE_DELETE_ORGANIZATION" | "ACTIVITY_TYPE_DELETE_POLICY" | "ACTIVITY_TYPE_CREATE_USER_TAG" | "ACTIVITY_TYPE_DELETE_USER_TAGS" | "ACTIVITY_TYPE_CREATE_ORGANIZATION" | "ACTIVITY_TYPE_SIGN_TRANSACTION" | "ACTIVITY_TYPE_APPROVE_ACTIVITY" | "ACTIVITY_TYPE_REJECT_ACTIVITY" | "ACTIVITY_TYPE_DELETE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS" | "ACTIVITY_TYPE_SET_PAYMENT_METHOD" | "ACTIVITY_TYPE_ACTIVATE_BILLING_TIER" | "ACTIVITY_TYPE_DELETE_PAYMENT_METHOD" | "ACTIVITY_TYPE_CREATE_POLICY_V2" | "ACTIVITY_TYPE_CREATE_POLICY_V3" | "ACTIVITY_TYPE_CREATE_API_ONLY_USERS" | "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM" | "ACTIVITY_TYPE_UPDATE_USER_TAG" | "ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS_V2" | "ACTIVITY_TYPE_CREATE_ORGANIZATION_V2" | "ACTIVITY_TYPE_CREATE_USERS_V2" | "ACTIVITY_TYPE_ACCEPT_INVITATION_V2" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V2";
|
|
1893
|
+
type: "ACTIVITY_TYPE_CREATE_API_KEYS" | "ACTIVITY_TYPE_CREATE_USERS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD" | "ACTIVITY_TYPE_CREATE_INVITATIONS" | "ACTIVITY_TYPE_ACCEPT_INVITATION" | "ACTIVITY_TYPE_CREATE_POLICY" | "ACTIVITY_TYPE_DISABLE_PRIVATE_KEY" | "ACTIVITY_TYPE_DELETE_USERS" | "ACTIVITY_TYPE_DELETE_API_KEYS" | "ACTIVITY_TYPE_DELETE_INVITATION" | "ACTIVITY_TYPE_DELETE_ORGANIZATION" | "ACTIVITY_TYPE_DELETE_POLICY" | "ACTIVITY_TYPE_CREATE_USER_TAG" | "ACTIVITY_TYPE_DELETE_USER_TAGS" | "ACTIVITY_TYPE_CREATE_ORGANIZATION" | "ACTIVITY_TYPE_SIGN_TRANSACTION" | "ACTIVITY_TYPE_APPROVE_ACTIVITY" | "ACTIVITY_TYPE_REJECT_ACTIVITY" | "ACTIVITY_TYPE_DELETE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS" | "ACTIVITY_TYPE_SET_PAYMENT_METHOD" | "ACTIVITY_TYPE_ACTIVATE_BILLING_TIER" | "ACTIVITY_TYPE_DELETE_PAYMENT_METHOD" | "ACTIVITY_TYPE_CREATE_POLICY_V2" | "ACTIVITY_TYPE_CREATE_POLICY_V3" | "ACTIVITY_TYPE_CREATE_API_ONLY_USERS" | "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM" | "ACTIVITY_TYPE_UPDATE_USER_TAG" | "ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS_V2" | "ACTIVITY_TYPE_CREATE_ORGANIZATION_V2" | "ACTIVITY_TYPE_CREATE_USERS_V2" | "ACTIVITY_TYPE_ACCEPT_INVITATION_V2" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V2" | "ACTIVITY_TYPE_UPDATE_ALLOWED_ORIGINS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS_V2";
|
|
1769
1894
|
intent: {
|
|
1770
1895
|
createOrganizationIntent: {
|
|
1771
1896
|
organizationName: string;
|
|
1772
1897
|
rootEmail: string;
|
|
1773
1898
|
rootAuthenticator: {
|
|
1774
1899
|
authenticatorName: string;
|
|
1775
|
-
userId: string;
|
|
1776
|
-
* Create Invitations
|
|
1777
|
-
*
|
|
1778
|
-
* Create Invitations to join an existing Organization
|
|
1779
|
-
*/
|
|
1900
|
+
userId: string;
|
|
1780
1901
|
attestation: {
|
|
1781
1902
|
id: string;
|
|
1782
1903
|
type: "public-key";
|
|
@@ -1803,11 +1924,7 @@ export declare const postApproveActivity: (input: TPostApproveActivityInput) =>
|
|
|
1803
1924
|
createAuthenticatorsIntent?: {
|
|
1804
1925
|
authenticators: {
|
|
1805
1926
|
authenticatorName: string;
|
|
1806
|
-
userId: string;
|
|
1807
|
-
* Create Invitations
|
|
1808
|
-
*
|
|
1809
|
-
* Create Invitations to join an existing Organization
|
|
1810
|
-
*/
|
|
1927
|
+
userId: string;
|
|
1811
1928
|
attestation: {
|
|
1812
1929
|
id: string;
|
|
1813
1930
|
type: "public-key";
|
|
@@ -1842,11 +1959,7 @@ export declare const postApproveActivity: (input: TPostApproveActivityInput) =>
|
|
|
1842
1959
|
}[];
|
|
1843
1960
|
authenticators: {
|
|
1844
1961
|
authenticatorName: string;
|
|
1845
|
-
userId: string;
|
|
1846
|
-
* Create Invitations
|
|
1847
|
-
*
|
|
1848
|
-
* Create Invitations to join an existing Organization
|
|
1849
|
-
*/
|
|
1962
|
+
userId: string;
|
|
1850
1963
|
attestation: {
|
|
1851
1964
|
id: string;
|
|
1852
1965
|
type: "public-key";
|
|
@@ -1899,11 +2012,7 @@ export declare const postApproveActivity: (input: TPostApproveActivityInput) =>
|
|
|
1899
2012
|
userId: string;
|
|
1900
2013
|
authenticator: {
|
|
1901
2014
|
authenticatorName: string;
|
|
1902
|
-
userId: string;
|
|
1903
|
-
* Create Invitations
|
|
1904
|
-
*
|
|
1905
|
-
* Create Invitations to join an existing Organization
|
|
1906
|
-
*/
|
|
2015
|
+
userId: string;
|
|
1907
2016
|
attestation: {
|
|
1908
2017
|
id: string;
|
|
1909
2018
|
type: "public-key";
|
|
@@ -1955,6 +2064,11 @@ export declare const postApproveActivity: (input: TPostApproveActivityInput) =>
|
|
|
1955
2064
|
deletePolicyIntent?: {
|
|
1956
2065
|
policyId: string;
|
|
1957
2066
|
};
|
|
2067
|
+
/**
|
|
2068
|
+
* `POST /tkhq/public/v1/query/get_private_key`
|
|
2069
|
+
*
|
|
2070
|
+
* @deprecated
|
|
2071
|
+
*/
|
|
1958
2072
|
createUserTagIntent?: {
|
|
1959
2073
|
userTagName: string;
|
|
1960
2074
|
userIds: string[];
|
|
@@ -2148,6 +2262,17 @@ export declare const postApproveActivity: (input: TPostApproveActivityInput) =>
|
|
|
2148
2262
|
}[];
|
|
2149
2263
|
rootQuorumThreshold: number;
|
|
2150
2264
|
};
|
|
2265
|
+
updateAllowedOriginsIntent?: {
|
|
2266
|
+
allowedOrigins: string[];
|
|
2267
|
+
};
|
|
2268
|
+
createPrivateKeysIntentV2?: {
|
|
2269
|
+
privateKeys: {
|
|
2270
|
+
privateKeyName: string;
|
|
2271
|
+
curve: "CURVE_SECP256K1" | "CURVE_ED25519";
|
|
2272
|
+
privateKeyTags: string[];
|
|
2273
|
+
addressFormats: ("ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM")[];
|
|
2274
|
+
}[];
|
|
2275
|
+
};
|
|
2151
2276
|
};
|
|
2152
2277
|
result: {
|
|
2153
2278
|
createOrganizationResult?: {
|
|
@@ -2246,6 +2371,18 @@ export declare const postApproveActivity: (input: TPostApproveActivityInput) =>
|
|
|
2246
2371
|
createSubOrganizationResult?: {
|
|
2247
2372
|
subOrganizationId: string;
|
|
2248
2373
|
};
|
|
2374
|
+
updateAllowedOriginsResult?: {
|
|
2375
|
+
[key: string]: unknown;
|
|
2376
|
+
};
|
|
2377
|
+
createPrivateKeysResultV2?: {
|
|
2378
|
+
privateKeys: {
|
|
2379
|
+
privateKeyId?: string;
|
|
2380
|
+
addresses?: {
|
|
2381
|
+
format?: "ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM";
|
|
2382
|
+
address?: string;
|
|
2383
|
+
}[];
|
|
2384
|
+
}[];
|
|
2385
|
+
};
|
|
2249
2386
|
};
|
|
2250
2387
|
votes: {
|
|
2251
2388
|
id: string;
|
|
@@ -2358,18 +2495,14 @@ export declare const postCreateApiKeys: (input: TPostCreateApiKeysInput) => Prom
|
|
|
2358
2495
|
id: string;
|
|
2359
2496
|
organizationId: string;
|
|
2360
2497
|
status: "ACTIVITY_STATUS_CREATED" | "ACTIVITY_STATUS_PENDING" | "ACTIVITY_STATUS_COMPLETED" | "ACTIVITY_STATUS_FAILED" | "ACTIVITY_STATUS_CONSENSUS_NEEDED" | "ACTIVITY_STATUS_REJECTED";
|
|
2361
|
-
type: "ACTIVITY_TYPE_CREATE_API_KEYS" | "ACTIVITY_TYPE_CREATE_USERS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD" | "ACTIVITY_TYPE_CREATE_INVITATIONS" | "ACTIVITY_TYPE_ACCEPT_INVITATION" | "ACTIVITY_TYPE_CREATE_POLICY" | "ACTIVITY_TYPE_DISABLE_PRIVATE_KEY" | "ACTIVITY_TYPE_DELETE_USERS" | "ACTIVITY_TYPE_DELETE_API_KEYS" | "ACTIVITY_TYPE_DELETE_INVITATION" | "ACTIVITY_TYPE_DELETE_ORGANIZATION" | "ACTIVITY_TYPE_DELETE_POLICY" | "ACTIVITY_TYPE_CREATE_USER_TAG" | "ACTIVITY_TYPE_DELETE_USER_TAGS" | "ACTIVITY_TYPE_CREATE_ORGANIZATION" | "ACTIVITY_TYPE_SIGN_TRANSACTION" | "ACTIVITY_TYPE_APPROVE_ACTIVITY" | "ACTIVITY_TYPE_REJECT_ACTIVITY" | "ACTIVITY_TYPE_DELETE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS" | "ACTIVITY_TYPE_SET_PAYMENT_METHOD" | "ACTIVITY_TYPE_ACTIVATE_BILLING_TIER" | "ACTIVITY_TYPE_DELETE_PAYMENT_METHOD" | "ACTIVITY_TYPE_CREATE_POLICY_V2" | "ACTIVITY_TYPE_CREATE_POLICY_V3" | "ACTIVITY_TYPE_CREATE_API_ONLY_USERS" | "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM" | "ACTIVITY_TYPE_UPDATE_USER_TAG" | "ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS_V2" | "ACTIVITY_TYPE_CREATE_ORGANIZATION_V2" | "ACTIVITY_TYPE_CREATE_USERS_V2" | "ACTIVITY_TYPE_ACCEPT_INVITATION_V2" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V2";
|
|
2498
|
+
type: "ACTIVITY_TYPE_CREATE_API_KEYS" | "ACTIVITY_TYPE_CREATE_USERS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD" | "ACTIVITY_TYPE_CREATE_INVITATIONS" | "ACTIVITY_TYPE_ACCEPT_INVITATION" | "ACTIVITY_TYPE_CREATE_POLICY" | "ACTIVITY_TYPE_DISABLE_PRIVATE_KEY" | "ACTIVITY_TYPE_DELETE_USERS" | "ACTIVITY_TYPE_DELETE_API_KEYS" | "ACTIVITY_TYPE_DELETE_INVITATION" | "ACTIVITY_TYPE_DELETE_ORGANIZATION" | "ACTIVITY_TYPE_DELETE_POLICY" | "ACTIVITY_TYPE_CREATE_USER_TAG" | "ACTIVITY_TYPE_DELETE_USER_TAGS" | "ACTIVITY_TYPE_CREATE_ORGANIZATION" | "ACTIVITY_TYPE_SIGN_TRANSACTION" | "ACTIVITY_TYPE_APPROVE_ACTIVITY" | "ACTIVITY_TYPE_REJECT_ACTIVITY" | "ACTIVITY_TYPE_DELETE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS" | "ACTIVITY_TYPE_SET_PAYMENT_METHOD" | "ACTIVITY_TYPE_ACTIVATE_BILLING_TIER" | "ACTIVITY_TYPE_DELETE_PAYMENT_METHOD" | "ACTIVITY_TYPE_CREATE_POLICY_V2" | "ACTIVITY_TYPE_CREATE_POLICY_V3" | "ACTIVITY_TYPE_CREATE_API_ONLY_USERS" | "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM" | "ACTIVITY_TYPE_UPDATE_USER_TAG" | "ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS_V2" | "ACTIVITY_TYPE_CREATE_ORGANIZATION_V2" | "ACTIVITY_TYPE_CREATE_USERS_V2" | "ACTIVITY_TYPE_ACCEPT_INVITATION_V2" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V2" | "ACTIVITY_TYPE_UPDATE_ALLOWED_ORIGINS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS_V2";
|
|
2362
2499
|
intent: {
|
|
2363
2500
|
createOrganizationIntent: {
|
|
2364
2501
|
organizationName: string;
|
|
2365
2502
|
rootEmail: string;
|
|
2366
2503
|
rootAuthenticator: {
|
|
2367
2504
|
authenticatorName: string;
|
|
2368
|
-
userId: string;
|
|
2369
|
-
* Create Invitations
|
|
2370
|
-
*
|
|
2371
|
-
* Create Invitations to join an existing Organization
|
|
2372
|
-
*/
|
|
2505
|
+
userId: string;
|
|
2373
2506
|
attestation: {
|
|
2374
2507
|
id: string;
|
|
2375
2508
|
type: "public-key";
|
|
@@ -2396,11 +2529,7 @@ export declare const postCreateApiKeys: (input: TPostCreateApiKeysInput) => Prom
|
|
|
2396
2529
|
createAuthenticatorsIntent?: {
|
|
2397
2530
|
authenticators: {
|
|
2398
2531
|
authenticatorName: string;
|
|
2399
|
-
userId: string;
|
|
2400
|
-
* Create Invitations
|
|
2401
|
-
*
|
|
2402
|
-
* Create Invitations to join an existing Organization
|
|
2403
|
-
*/
|
|
2532
|
+
userId: string;
|
|
2404
2533
|
attestation: {
|
|
2405
2534
|
id: string;
|
|
2406
2535
|
type: "public-key";
|
|
@@ -2435,11 +2564,7 @@ export declare const postCreateApiKeys: (input: TPostCreateApiKeysInput) => Prom
|
|
|
2435
2564
|
}[];
|
|
2436
2565
|
authenticators: {
|
|
2437
2566
|
authenticatorName: string;
|
|
2438
|
-
userId: string;
|
|
2439
|
-
* Create Invitations
|
|
2440
|
-
*
|
|
2441
|
-
* Create Invitations to join an existing Organization
|
|
2442
|
-
*/
|
|
2567
|
+
userId: string;
|
|
2443
2568
|
attestation: {
|
|
2444
2569
|
id: string;
|
|
2445
2570
|
type: "public-key";
|
|
@@ -2492,11 +2617,7 @@ export declare const postCreateApiKeys: (input: TPostCreateApiKeysInput) => Prom
|
|
|
2492
2617
|
userId: string;
|
|
2493
2618
|
authenticator: {
|
|
2494
2619
|
authenticatorName: string;
|
|
2495
|
-
userId: string;
|
|
2496
|
-
* Create Invitations
|
|
2497
|
-
*
|
|
2498
|
-
* Create Invitations to join an existing Organization
|
|
2499
|
-
*/
|
|
2620
|
+
userId: string;
|
|
2500
2621
|
attestation: {
|
|
2501
2622
|
id: string;
|
|
2502
2623
|
type: "public-key";
|
|
@@ -2548,6 +2669,11 @@ export declare const postCreateApiKeys: (input: TPostCreateApiKeysInput) => Prom
|
|
|
2548
2669
|
deletePolicyIntent?: {
|
|
2549
2670
|
policyId: string;
|
|
2550
2671
|
};
|
|
2672
|
+
/**
|
|
2673
|
+
* `POST /tkhq/public/v1/query/get_private_key`
|
|
2674
|
+
*
|
|
2675
|
+
* @deprecated
|
|
2676
|
+
*/
|
|
2551
2677
|
createUserTagIntent?: {
|
|
2552
2678
|
userTagName: string;
|
|
2553
2679
|
userIds: string[];
|
|
@@ -2741,6 +2867,17 @@ export declare const postCreateApiKeys: (input: TPostCreateApiKeysInput) => Prom
|
|
|
2741
2867
|
}[];
|
|
2742
2868
|
rootQuorumThreshold: number;
|
|
2743
2869
|
};
|
|
2870
|
+
updateAllowedOriginsIntent?: {
|
|
2871
|
+
allowedOrigins: string[];
|
|
2872
|
+
};
|
|
2873
|
+
createPrivateKeysIntentV2?: {
|
|
2874
|
+
privateKeys: {
|
|
2875
|
+
privateKeyName: string;
|
|
2876
|
+
curve: "CURVE_SECP256K1" | "CURVE_ED25519";
|
|
2877
|
+
privateKeyTags: string[];
|
|
2878
|
+
addressFormats: ("ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM")[];
|
|
2879
|
+
}[];
|
|
2880
|
+
};
|
|
2744
2881
|
};
|
|
2745
2882
|
result: {
|
|
2746
2883
|
createOrganizationResult?: {
|
|
@@ -2839,6 +2976,18 @@ export declare const postCreateApiKeys: (input: TPostCreateApiKeysInput) => Prom
|
|
|
2839
2976
|
createSubOrganizationResult?: {
|
|
2840
2977
|
subOrganizationId: string;
|
|
2841
2978
|
};
|
|
2979
|
+
updateAllowedOriginsResult?: {
|
|
2980
|
+
[key: string]: unknown;
|
|
2981
|
+
};
|
|
2982
|
+
createPrivateKeysResultV2?: {
|
|
2983
|
+
privateKeys: {
|
|
2984
|
+
privateKeyId?: string;
|
|
2985
|
+
addresses?: {
|
|
2986
|
+
format?: "ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM";
|
|
2987
|
+
address?: string;
|
|
2988
|
+
}[];
|
|
2989
|
+
}[];
|
|
2990
|
+
};
|
|
2842
2991
|
};
|
|
2843
2992
|
votes: {
|
|
2844
2993
|
id: string;
|
|
@@ -2951,18 +3100,14 @@ export declare const postCreateApiOnlyUsers: (input: TPostCreateApiOnlyUsersInpu
|
|
|
2951
3100
|
id: string;
|
|
2952
3101
|
organizationId: string;
|
|
2953
3102
|
status: "ACTIVITY_STATUS_CREATED" | "ACTIVITY_STATUS_PENDING" | "ACTIVITY_STATUS_COMPLETED" | "ACTIVITY_STATUS_FAILED" | "ACTIVITY_STATUS_CONSENSUS_NEEDED" | "ACTIVITY_STATUS_REJECTED";
|
|
2954
|
-
type: "ACTIVITY_TYPE_CREATE_API_KEYS" | "ACTIVITY_TYPE_CREATE_USERS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD" | "ACTIVITY_TYPE_CREATE_INVITATIONS" | "ACTIVITY_TYPE_ACCEPT_INVITATION" | "ACTIVITY_TYPE_CREATE_POLICY" | "ACTIVITY_TYPE_DISABLE_PRIVATE_KEY" | "ACTIVITY_TYPE_DELETE_USERS" | "ACTIVITY_TYPE_DELETE_API_KEYS" | "ACTIVITY_TYPE_DELETE_INVITATION" | "ACTIVITY_TYPE_DELETE_ORGANIZATION" | "ACTIVITY_TYPE_DELETE_POLICY" | "ACTIVITY_TYPE_CREATE_USER_TAG" | "ACTIVITY_TYPE_DELETE_USER_TAGS" | "ACTIVITY_TYPE_CREATE_ORGANIZATION" | "ACTIVITY_TYPE_SIGN_TRANSACTION" | "ACTIVITY_TYPE_APPROVE_ACTIVITY" | "ACTIVITY_TYPE_REJECT_ACTIVITY" | "ACTIVITY_TYPE_DELETE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS" | "ACTIVITY_TYPE_SET_PAYMENT_METHOD" | "ACTIVITY_TYPE_ACTIVATE_BILLING_TIER" | "ACTIVITY_TYPE_DELETE_PAYMENT_METHOD" | "ACTIVITY_TYPE_CREATE_POLICY_V2" | "ACTIVITY_TYPE_CREATE_POLICY_V3" | "ACTIVITY_TYPE_CREATE_API_ONLY_USERS" | "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM" | "ACTIVITY_TYPE_UPDATE_USER_TAG" | "ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS_V2" | "ACTIVITY_TYPE_CREATE_ORGANIZATION_V2" | "ACTIVITY_TYPE_CREATE_USERS_V2" | "ACTIVITY_TYPE_ACCEPT_INVITATION_V2" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V2";
|
|
3103
|
+
type: "ACTIVITY_TYPE_CREATE_API_KEYS" | "ACTIVITY_TYPE_CREATE_USERS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD" | "ACTIVITY_TYPE_CREATE_INVITATIONS" | "ACTIVITY_TYPE_ACCEPT_INVITATION" | "ACTIVITY_TYPE_CREATE_POLICY" | "ACTIVITY_TYPE_DISABLE_PRIVATE_KEY" | "ACTIVITY_TYPE_DELETE_USERS" | "ACTIVITY_TYPE_DELETE_API_KEYS" | "ACTIVITY_TYPE_DELETE_INVITATION" | "ACTIVITY_TYPE_DELETE_ORGANIZATION" | "ACTIVITY_TYPE_DELETE_POLICY" | "ACTIVITY_TYPE_CREATE_USER_TAG" | "ACTIVITY_TYPE_DELETE_USER_TAGS" | "ACTIVITY_TYPE_CREATE_ORGANIZATION" | "ACTIVITY_TYPE_SIGN_TRANSACTION" | "ACTIVITY_TYPE_APPROVE_ACTIVITY" | "ACTIVITY_TYPE_REJECT_ACTIVITY" | "ACTIVITY_TYPE_DELETE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS" | "ACTIVITY_TYPE_SET_PAYMENT_METHOD" | "ACTIVITY_TYPE_ACTIVATE_BILLING_TIER" | "ACTIVITY_TYPE_DELETE_PAYMENT_METHOD" | "ACTIVITY_TYPE_CREATE_POLICY_V2" | "ACTIVITY_TYPE_CREATE_POLICY_V3" | "ACTIVITY_TYPE_CREATE_API_ONLY_USERS" | "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM" | "ACTIVITY_TYPE_UPDATE_USER_TAG" | "ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS_V2" | "ACTIVITY_TYPE_CREATE_ORGANIZATION_V2" | "ACTIVITY_TYPE_CREATE_USERS_V2" | "ACTIVITY_TYPE_ACCEPT_INVITATION_V2" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V2" | "ACTIVITY_TYPE_UPDATE_ALLOWED_ORIGINS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS_V2";
|
|
2955
3104
|
intent: {
|
|
2956
3105
|
createOrganizationIntent: {
|
|
2957
3106
|
organizationName: string;
|
|
2958
3107
|
rootEmail: string;
|
|
2959
3108
|
rootAuthenticator: {
|
|
2960
3109
|
authenticatorName: string;
|
|
2961
|
-
userId: string;
|
|
2962
|
-
* Create Invitations
|
|
2963
|
-
*
|
|
2964
|
-
* Create Invitations to join an existing Organization
|
|
2965
|
-
*/
|
|
3110
|
+
userId: string;
|
|
2966
3111
|
attestation: {
|
|
2967
3112
|
id: string;
|
|
2968
3113
|
type: "public-key";
|
|
@@ -2989,11 +3134,7 @@ export declare const postCreateApiOnlyUsers: (input: TPostCreateApiOnlyUsersInpu
|
|
|
2989
3134
|
createAuthenticatorsIntent?: {
|
|
2990
3135
|
authenticators: {
|
|
2991
3136
|
authenticatorName: string;
|
|
2992
|
-
userId: string;
|
|
2993
|
-
* Create Invitations
|
|
2994
|
-
*
|
|
2995
|
-
* Create Invitations to join an existing Organization
|
|
2996
|
-
*/
|
|
3137
|
+
userId: string;
|
|
2997
3138
|
attestation: {
|
|
2998
3139
|
id: string;
|
|
2999
3140
|
type: "public-key";
|
|
@@ -3028,11 +3169,7 @@ export declare const postCreateApiOnlyUsers: (input: TPostCreateApiOnlyUsersInpu
|
|
|
3028
3169
|
}[];
|
|
3029
3170
|
authenticators: {
|
|
3030
3171
|
authenticatorName: string;
|
|
3031
|
-
userId: string;
|
|
3032
|
-
* Create Invitations
|
|
3033
|
-
*
|
|
3034
|
-
* Create Invitations to join an existing Organization
|
|
3035
|
-
*/
|
|
3172
|
+
userId: string;
|
|
3036
3173
|
attestation: {
|
|
3037
3174
|
id: string;
|
|
3038
3175
|
type: "public-key";
|
|
@@ -3085,11 +3222,7 @@ export declare const postCreateApiOnlyUsers: (input: TPostCreateApiOnlyUsersInpu
|
|
|
3085
3222
|
userId: string;
|
|
3086
3223
|
authenticator: {
|
|
3087
3224
|
authenticatorName: string;
|
|
3088
|
-
userId: string;
|
|
3089
|
-
* Create Invitations
|
|
3090
|
-
*
|
|
3091
|
-
* Create Invitations to join an existing Organization
|
|
3092
|
-
*/
|
|
3225
|
+
userId: string;
|
|
3093
3226
|
attestation: {
|
|
3094
3227
|
id: string;
|
|
3095
3228
|
type: "public-key";
|
|
@@ -3141,6 +3274,11 @@ export declare const postCreateApiOnlyUsers: (input: TPostCreateApiOnlyUsersInpu
|
|
|
3141
3274
|
deletePolicyIntent?: {
|
|
3142
3275
|
policyId: string;
|
|
3143
3276
|
};
|
|
3277
|
+
/**
|
|
3278
|
+
* `POST /tkhq/public/v1/query/get_private_key`
|
|
3279
|
+
*
|
|
3280
|
+
* @deprecated
|
|
3281
|
+
*/
|
|
3144
3282
|
createUserTagIntent?: {
|
|
3145
3283
|
userTagName: string;
|
|
3146
3284
|
userIds: string[];
|
|
@@ -3334,6 +3472,17 @@ export declare const postCreateApiOnlyUsers: (input: TPostCreateApiOnlyUsersInpu
|
|
|
3334
3472
|
}[];
|
|
3335
3473
|
rootQuorumThreshold: number;
|
|
3336
3474
|
};
|
|
3475
|
+
updateAllowedOriginsIntent?: {
|
|
3476
|
+
allowedOrigins: string[];
|
|
3477
|
+
};
|
|
3478
|
+
createPrivateKeysIntentV2?: {
|
|
3479
|
+
privateKeys: {
|
|
3480
|
+
privateKeyName: string;
|
|
3481
|
+
curve: "CURVE_SECP256K1" | "CURVE_ED25519";
|
|
3482
|
+
privateKeyTags: string[];
|
|
3483
|
+
addressFormats: ("ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM")[];
|
|
3484
|
+
}[];
|
|
3485
|
+
};
|
|
3337
3486
|
};
|
|
3338
3487
|
result: {
|
|
3339
3488
|
createOrganizationResult?: {
|
|
@@ -3432,6 +3581,18 @@ export declare const postCreateApiOnlyUsers: (input: TPostCreateApiOnlyUsersInpu
|
|
|
3432
3581
|
createSubOrganizationResult?: {
|
|
3433
3582
|
subOrganizationId: string;
|
|
3434
3583
|
};
|
|
3584
|
+
updateAllowedOriginsResult?: {
|
|
3585
|
+
[key: string]: unknown;
|
|
3586
|
+
};
|
|
3587
|
+
createPrivateKeysResultV2?: {
|
|
3588
|
+
privateKeys: {
|
|
3589
|
+
privateKeyId?: string;
|
|
3590
|
+
addresses?: {
|
|
3591
|
+
format?: "ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM";
|
|
3592
|
+
address?: string;
|
|
3593
|
+
}[];
|
|
3594
|
+
}[];
|
|
3595
|
+
};
|
|
3435
3596
|
};
|
|
3436
3597
|
votes: {
|
|
3437
3598
|
id: string;
|
|
@@ -3544,18 +3705,14 @@ export declare const postCreateAuthenticators: (input: TPostCreateAuthenticators
|
|
|
3544
3705
|
id: string;
|
|
3545
3706
|
organizationId: string;
|
|
3546
3707
|
status: "ACTIVITY_STATUS_CREATED" | "ACTIVITY_STATUS_PENDING" | "ACTIVITY_STATUS_COMPLETED" | "ACTIVITY_STATUS_FAILED" | "ACTIVITY_STATUS_CONSENSUS_NEEDED" | "ACTIVITY_STATUS_REJECTED";
|
|
3547
|
-
type: "ACTIVITY_TYPE_CREATE_API_KEYS" | "ACTIVITY_TYPE_CREATE_USERS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD" | "ACTIVITY_TYPE_CREATE_INVITATIONS" | "ACTIVITY_TYPE_ACCEPT_INVITATION" | "ACTIVITY_TYPE_CREATE_POLICY" | "ACTIVITY_TYPE_DISABLE_PRIVATE_KEY" | "ACTIVITY_TYPE_DELETE_USERS" | "ACTIVITY_TYPE_DELETE_API_KEYS" | "ACTIVITY_TYPE_DELETE_INVITATION" | "ACTIVITY_TYPE_DELETE_ORGANIZATION" | "ACTIVITY_TYPE_DELETE_POLICY" | "ACTIVITY_TYPE_CREATE_USER_TAG" | "ACTIVITY_TYPE_DELETE_USER_TAGS" | "ACTIVITY_TYPE_CREATE_ORGANIZATION" | "ACTIVITY_TYPE_SIGN_TRANSACTION" | "ACTIVITY_TYPE_APPROVE_ACTIVITY" | "ACTIVITY_TYPE_REJECT_ACTIVITY" | "ACTIVITY_TYPE_DELETE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS" | "ACTIVITY_TYPE_SET_PAYMENT_METHOD" | "ACTIVITY_TYPE_ACTIVATE_BILLING_TIER" | "ACTIVITY_TYPE_DELETE_PAYMENT_METHOD" | "ACTIVITY_TYPE_CREATE_POLICY_V2" | "ACTIVITY_TYPE_CREATE_POLICY_V3" | "ACTIVITY_TYPE_CREATE_API_ONLY_USERS" | "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM" | "ACTIVITY_TYPE_UPDATE_USER_TAG" | "ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS_V2" | "ACTIVITY_TYPE_CREATE_ORGANIZATION_V2" | "ACTIVITY_TYPE_CREATE_USERS_V2" | "ACTIVITY_TYPE_ACCEPT_INVITATION_V2" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V2";
|
|
3708
|
+
type: "ACTIVITY_TYPE_CREATE_API_KEYS" | "ACTIVITY_TYPE_CREATE_USERS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD" | "ACTIVITY_TYPE_CREATE_INVITATIONS" | "ACTIVITY_TYPE_ACCEPT_INVITATION" | "ACTIVITY_TYPE_CREATE_POLICY" | "ACTIVITY_TYPE_DISABLE_PRIVATE_KEY" | "ACTIVITY_TYPE_DELETE_USERS" | "ACTIVITY_TYPE_DELETE_API_KEYS" | "ACTIVITY_TYPE_DELETE_INVITATION" | "ACTIVITY_TYPE_DELETE_ORGANIZATION" | "ACTIVITY_TYPE_DELETE_POLICY" | "ACTIVITY_TYPE_CREATE_USER_TAG" | "ACTIVITY_TYPE_DELETE_USER_TAGS" | "ACTIVITY_TYPE_CREATE_ORGANIZATION" | "ACTIVITY_TYPE_SIGN_TRANSACTION" | "ACTIVITY_TYPE_APPROVE_ACTIVITY" | "ACTIVITY_TYPE_REJECT_ACTIVITY" | "ACTIVITY_TYPE_DELETE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS" | "ACTIVITY_TYPE_SET_PAYMENT_METHOD" | "ACTIVITY_TYPE_ACTIVATE_BILLING_TIER" | "ACTIVITY_TYPE_DELETE_PAYMENT_METHOD" | "ACTIVITY_TYPE_CREATE_POLICY_V2" | "ACTIVITY_TYPE_CREATE_POLICY_V3" | "ACTIVITY_TYPE_CREATE_API_ONLY_USERS" | "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM" | "ACTIVITY_TYPE_UPDATE_USER_TAG" | "ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS_V2" | "ACTIVITY_TYPE_CREATE_ORGANIZATION_V2" | "ACTIVITY_TYPE_CREATE_USERS_V2" | "ACTIVITY_TYPE_ACCEPT_INVITATION_V2" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V2" | "ACTIVITY_TYPE_UPDATE_ALLOWED_ORIGINS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS_V2";
|
|
3548
3709
|
intent: {
|
|
3549
3710
|
createOrganizationIntent: {
|
|
3550
3711
|
organizationName: string;
|
|
3551
3712
|
rootEmail: string;
|
|
3552
3713
|
rootAuthenticator: {
|
|
3553
3714
|
authenticatorName: string;
|
|
3554
|
-
userId: string;
|
|
3555
|
-
* Create Invitations
|
|
3556
|
-
*
|
|
3557
|
-
* Create Invitations to join an existing Organization
|
|
3558
|
-
*/
|
|
3715
|
+
userId: string;
|
|
3559
3716
|
attestation: {
|
|
3560
3717
|
id: string;
|
|
3561
3718
|
type: "public-key";
|
|
@@ -3582,11 +3739,7 @@ export declare const postCreateAuthenticators: (input: TPostCreateAuthenticators
|
|
|
3582
3739
|
createAuthenticatorsIntent?: {
|
|
3583
3740
|
authenticators: {
|
|
3584
3741
|
authenticatorName: string;
|
|
3585
|
-
userId: string;
|
|
3586
|
-
* Create Invitations
|
|
3587
|
-
*
|
|
3588
|
-
* Create Invitations to join an existing Organization
|
|
3589
|
-
*/
|
|
3742
|
+
userId: string;
|
|
3590
3743
|
attestation: {
|
|
3591
3744
|
id: string;
|
|
3592
3745
|
type: "public-key";
|
|
@@ -3621,11 +3774,7 @@ export declare const postCreateAuthenticators: (input: TPostCreateAuthenticators
|
|
|
3621
3774
|
}[];
|
|
3622
3775
|
authenticators: {
|
|
3623
3776
|
authenticatorName: string;
|
|
3624
|
-
userId: string;
|
|
3625
|
-
* Create Invitations
|
|
3626
|
-
*
|
|
3627
|
-
* Create Invitations to join an existing Organization
|
|
3628
|
-
*/
|
|
3777
|
+
userId: string;
|
|
3629
3778
|
attestation: {
|
|
3630
3779
|
id: string;
|
|
3631
3780
|
type: "public-key";
|
|
@@ -3678,11 +3827,7 @@ export declare const postCreateAuthenticators: (input: TPostCreateAuthenticators
|
|
|
3678
3827
|
userId: string;
|
|
3679
3828
|
authenticator: {
|
|
3680
3829
|
authenticatorName: string;
|
|
3681
|
-
userId: string;
|
|
3682
|
-
* Create Invitations
|
|
3683
|
-
*
|
|
3684
|
-
* Create Invitations to join an existing Organization
|
|
3685
|
-
*/
|
|
3830
|
+
userId: string;
|
|
3686
3831
|
attestation: {
|
|
3687
3832
|
id: string;
|
|
3688
3833
|
type: "public-key";
|
|
@@ -3734,6 +3879,11 @@ export declare const postCreateAuthenticators: (input: TPostCreateAuthenticators
|
|
|
3734
3879
|
deletePolicyIntent?: {
|
|
3735
3880
|
policyId: string;
|
|
3736
3881
|
};
|
|
3882
|
+
/**
|
|
3883
|
+
* `POST /tkhq/public/v1/query/get_private_key`
|
|
3884
|
+
*
|
|
3885
|
+
* @deprecated
|
|
3886
|
+
*/
|
|
3737
3887
|
createUserTagIntent?: {
|
|
3738
3888
|
userTagName: string;
|
|
3739
3889
|
userIds: string[];
|
|
@@ -3927,6 +4077,17 @@ export declare const postCreateAuthenticators: (input: TPostCreateAuthenticators
|
|
|
3927
4077
|
}[];
|
|
3928
4078
|
rootQuorumThreshold: number;
|
|
3929
4079
|
};
|
|
4080
|
+
updateAllowedOriginsIntent?: {
|
|
4081
|
+
allowedOrigins: string[];
|
|
4082
|
+
};
|
|
4083
|
+
createPrivateKeysIntentV2?: {
|
|
4084
|
+
privateKeys: {
|
|
4085
|
+
privateKeyName: string;
|
|
4086
|
+
curve: "CURVE_SECP256K1" | "CURVE_ED25519";
|
|
4087
|
+
privateKeyTags: string[];
|
|
4088
|
+
addressFormats: ("ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM")[];
|
|
4089
|
+
}[];
|
|
4090
|
+
};
|
|
3930
4091
|
};
|
|
3931
4092
|
result: {
|
|
3932
4093
|
createOrganizationResult?: {
|
|
@@ -4025,6 +4186,18 @@ export declare const postCreateAuthenticators: (input: TPostCreateAuthenticators
|
|
|
4025
4186
|
createSubOrganizationResult?: {
|
|
4026
4187
|
subOrganizationId: string;
|
|
4027
4188
|
};
|
|
4189
|
+
updateAllowedOriginsResult?: {
|
|
4190
|
+
[key: string]: unknown;
|
|
4191
|
+
};
|
|
4192
|
+
createPrivateKeysResultV2?: {
|
|
4193
|
+
privateKeys: {
|
|
4194
|
+
privateKeyId?: string;
|
|
4195
|
+
addresses?: {
|
|
4196
|
+
format?: "ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM";
|
|
4197
|
+
address?: string;
|
|
4198
|
+
}[];
|
|
4199
|
+
}[];
|
|
4200
|
+
};
|
|
4028
4201
|
};
|
|
4029
4202
|
votes: {
|
|
4030
4203
|
id: string;
|
|
@@ -4137,18 +4310,14 @@ export declare const postCreateInvitations: (input: TPostCreateInvitationsInput)
|
|
|
4137
4310
|
id: string;
|
|
4138
4311
|
organizationId: string;
|
|
4139
4312
|
status: "ACTIVITY_STATUS_CREATED" | "ACTIVITY_STATUS_PENDING" | "ACTIVITY_STATUS_COMPLETED" | "ACTIVITY_STATUS_FAILED" | "ACTIVITY_STATUS_CONSENSUS_NEEDED" | "ACTIVITY_STATUS_REJECTED";
|
|
4140
|
-
type: "ACTIVITY_TYPE_CREATE_API_KEYS" | "ACTIVITY_TYPE_CREATE_USERS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD" | "ACTIVITY_TYPE_CREATE_INVITATIONS" | "ACTIVITY_TYPE_ACCEPT_INVITATION" | "ACTIVITY_TYPE_CREATE_POLICY" | "ACTIVITY_TYPE_DISABLE_PRIVATE_KEY" | "ACTIVITY_TYPE_DELETE_USERS" | "ACTIVITY_TYPE_DELETE_API_KEYS" | "ACTIVITY_TYPE_DELETE_INVITATION" | "ACTIVITY_TYPE_DELETE_ORGANIZATION" | "ACTIVITY_TYPE_DELETE_POLICY" | "ACTIVITY_TYPE_CREATE_USER_TAG" | "ACTIVITY_TYPE_DELETE_USER_TAGS" | "ACTIVITY_TYPE_CREATE_ORGANIZATION" | "ACTIVITY_TYPE_SIGN_TRANSACTION" | "ACTIVITY_TYPE_APPROVE_ACTIVITY" | "ACTIVITY_TYPE_REJECT_ACTIVITY" | "ACTIVITY_TYPE_DELETE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS" | "ACTIVITY_TYPE_SET_PAYMENT_METHOD" | "ACTIVITY_TYPE_ACTIVATE_BILLING_TIER" | "ACTIVITY_TYPE_DELETE_PAYMENT_METHOD" | "ACTIVITY_TYPE_CREATE_POLICY_V2" | "ACTIVITY_TYPE_CREATE_POLICY_V3" | "ACTIVITY_TYPE_CREATE_API_ONLY_USERS" | "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM" | "ACTIVITY_TYPE_UPDATE_USER_TAG" | "ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS_V2" | "ACTIVITY_TYPE_CREATE_ORGANIZATION_V2" | "ACTIVITY_TYPE_CREATE_USERS_V2" | "ACTIVITY_TYPE_ACCEPT_INVITATION_V2" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V2";
|
|
4313
|
+
type: "ACTIVITY_TYPE_CREATE_API_KEYS" | "ACTIVITY_TYPE_CREATE_USERS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD" | "ACTIVITY_TYPE_CREATE_INVITATIONS" | "ACTIVITY_TYPE_ACCEPT_INVITATION" | "ACTIVITY_TYPE_CREATE_POLICY" | "ACTIVITY_TYPE_DISABLE_PRIVATE_KEY" | "ACTIVITY_TYPE_DELETE_USERS" | "ACTIVITY_TYPE_DELETE_API_KEYS" | "ACTIVITY_TYPE_DELETE_INVITATION" | "ACTIVITY_TYPE_DELETE_ORGANIZATION" | "ACTIVITY_TYPE_DELETE_POLICY" | "ACTIVITY_TYPE_CREATE_USER_TAG" | "ACTIVITY_TYPE_DELETE_USER_TAGS" | "ACTIVITY_TYPE_CREATE_ORGANIZATION" | "ACTIVITY_TYPE_SIGN_TRANSACTION" | "ACTIVITY_TYPE_APPROVE_ACTIVITY" | "ACTIVITY_TYPE_REJECT_ACTIVITY" | "ACTIVITY_TYPE_DELETE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS" | "ACTIVITY_TYPE_SET_PAYMENT_METHOD" | "ACTIVITY_TYPE_ACTIVATE_BILLING_TIER" | "ACTIVITY_TYPE_DELETE_PAYMENT_METHOD" | "ACTIVITY_TYPE_CREATE_POLICY_V2" | "ACTIVITY_TYPE_CREATE_POLICY_V3" | "ACTIVITY_TYPE_CREATE_API_ONLY_USERS" | "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM" | "ACTIVITY_TYPE_UPDATE_USER_TAG" | "ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS_V2" | "ACTIVITY_TYPE_CREATE_ORGANIZATION_V2" | "ACTIVITY_TYPE_CREATE_USERS_V2" | "ACTIVITY_TYPE_ACCEPT_INVITATION_V2" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V2" | "ACTIVITY_TYPE_UPDATE_ALLOWED_ORIGINS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS_V2";
|
|
4141
4314
|
intent: {
|
|
4142
4315
|
createOrganizationIntent: {
|
|
4143
4316
|
organizationName: string;
|
|
4144
4317
|
rootEmail: string;
|
|
4145
4318
|
rootAuthenticator: {
|
|
4146
4319
|
authenticatorName: string;
|
|
4147
|
-
userId: string;
|
|
4148
|
-
* Create Invitations
|
|
4149
|
-
*
|
|
4150
|
-
* Create Invitations to join an existing Organization
|
|
4151
|
-
*/
|
|
4320
|
+
userId: string;
|
|
4152
4321
|
attestation: {
|
|
4153
4322
|
id: string;
|
|
4154
4323
|
type: "public-key";
|
|
@@ -4175,11 +4344,7 @@ export declare const postCreateInvitations: (input: TPostCreateInvitationsInput)
|
|
|
4175
4344
|
createAuthenticatorsIntent?: {
|
|
4176
4345
|
authenticators: {
|
|
4177
4346
|
authenticatorName: string;
|
|
4178
|
-
userId: string;
|
|
4179
|
-
* Create Invitations
|
|
4180
|
-
*
|
|
4181
|
-
* Create Invitations to join an existing Organization
|
|
4182
|
-
*/
|
|
4347
|
+
userId: string;
|
|
4183
4348
|
attestation: {
|
|
4184
4349
|
id: string;
|
|
4185
4350
|
type: "public-key";
|
|
@@ -4214,11 +4379,7 @@ export declare const postCreateInvitations: (input: TPostCreateInvitationsInput)
|
|
|
4214
4379
|
}[];
|
|
4215
4380
|
authenticators: {
|
|
4216
4381
|
authenticatorName: string;
|
|
4217
|
-
userId: string;
|
|
4218
|
-
* Create Invitations
|
|
4219
|
-
*
|
|
4220
|
-
* Create Invitations to join an existing Organization
|
|
4221
|
-
*/
|
|
4382
|
+
userId: string;
|
|
4222
4383
|
attestation: {
|
|
4223
4384
|
id: string;
|
|
4224
4385
|
type: "public-key";
|
|
@@ -4271,11 +4432,7 @@ export declare const postCreateInvitations: (input: TPostCreateInvitationsInput)
|
|
|
4271
4432
|
userId: string;
|
|
4272
4433
|
authenticator: {
|
|
4273
4434
|
authenticatorName: string;
|
|
4274
|
-
userId: string;
|
|
4275
|
-
* Create Invitations
|
|
4276
|
-
*
|
|
4277
|
-
* Create Invitations to join an existing Organization
|
|
4278
|
-
*/
|
|
4435
|
+
userId: string;
|
|
4279
4436
|
attestation: {
|
|
4280
4437
|
id: string;
|
|
4281
4438
|
type: "public-key";
|
|
@@ -4327,6 +4484,11 @@ export declare const postCreateInvitations: (input: TPostCreateInvitationsInput)
|
|
|
4327
4484
|
deletePolicyIntent?: {
|
|
4328
4485
|
policyId: string;
|
|
4329
4486
|
};
|
|
4487
|
+
/**
|
|
4488
|
+
* `POST /tkhq/public/v1/query/get_private_key`
|
|
4489
|
+
*
|
|
4490
|
+
* @deprecated
|
|
4491
|
+
*/
|
|
4330
4492
|
createUserTagIntent?: {
|
|
4331
4493
|
userTagName: string;
|
|
4332
4494
|
userIds: string[];
|
|
@@ -4520,6 +4682,17 @@ export declare const postCreateInvitations: (input: TPostCreateInvitationsInput)
|
|
|
4520
4682
|
}[];
|
|
4521
4683
|
rootQuorumThreshold: number;
|
|
4522
4684
|
};
|
|
4685
|
+
updateAllowedOriginsIntent?: {
|
|
4686
|
+
allowedOrigins: string[];
|
|
4687
|
+
};
|
|
4688
|
+
createPrivateKeysIntentV2?: {
|
|
4689
|
+
privateKeys: {
|
|
4690
|
+
privateKeyName: string;
|
|
4691
|
+
curve: "CURVE_SECP256K1" | "CURVE_ED25519";
|
|
4692
|
+
privateKeyTags: string[];
|
|
4693
|
+
addressFormats: ("ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM")[];
|
|
4694
|
+
}[];
|
|
4695
|
+
};
|
|
4523
4696
|
};
|
|
4524
4697
|
result: {
|
|
4525
4698
|
createOrganizationResult?: {
|
|
@@ -4618,6 +4791,18 @@ export declare const postCreateInvitations: (input: TPostCreateInvitationsInput)
|
|
|
4618
4791
|
createSubOrganizationResult?: {
|
|
4619
4792
|
subOrganizationId: string;
|
|
4620
4793
|
};
|
|
4794
|
+
updateAllowedOriginsResult?: {
|
|
4795
|
+
[key: string]: unknown;
|
|
4796
|
+
};
|
|
4797
|
+
createPrivateKeysResultV2?: {
|
|
4798
|
+
privateKeys: {
|
|
4799
|
+
privateKeyId?: string;
|
|
4800
|
+
addresses?: {
|
|
4801
|
+
format?: "ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM";
|
|
4802
|
+
address?: string;
|
|
4803
|
+
}[];
|
|
4804
|
+
}[];
|
|
4805
|
+
};
|
|
4621
4806
|
};
|
|
4622
4807
|
votes: {
|
|
4623
4808
|
id: string;
|
|
@@ -4730,18 +4915,14 @@ export declare const postCreatePolicy: (input: TPostCreatePolicyInput) => Promis
|
|
|
4730
4915
|
id: string;
|
|
4731
4916
|
organizationId: string;
|
|
4732
4917
|
status: "ACTIVITY_STATUS_CREATED" | "ACTIVITY_STATUS_PENDING" | "ACTIVITY_STATUS_COMPLETED" | "ACTIVITY_STATUS_FAILED" | "ACTIVITY_STATUS_CONSENSUS_NEEDED" | "ACTIVITY_STATUS_REJECTED";
|
|
4733
|
-
type: "ACTIVITY_TYPE_CREATE_API_KEYS" | "ACTIVITY_TYPE_CREATE_USERS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD" | "ACTIVITY_TYPE_CREATE_INVITATIONS" | "ACTIVITY_TYPE_ACCEPT_INVITATION" | "ACTIVITY_TYPE_CREATE_POLICY" | "ACTIVITY_TYPE_DISABLE_PRIVATE_KEY" | "ACTIVITY_TYPE_DELETE_USERS" | "ACTIVITY_TYPE_DELETE_API_KEYS" | "ACTIVITY_TYPE_DELETE_INVITATION" | "ACTIVITY_TYPE_DELETE_ORGANIZATION" | "ACTIVITY_TYPE_DELETE_POLICY" | "ACTIVITY_TYPE_CREATE_USER_TAG" | "ACTIVITY_TYPE_DELETE_USER_TAGS" | "ACTIVITY_TYPE_CREATE_ORGANIZATION" | "ACTIVITY_TYPE_SIGN_TRANSACTION" | "ACTIVITY_TYPE_APPROVE_ACTIVITY" | "ACTIVITY_TYPE_REJECT_ACTIVITY" | "ACTIVITY_TYPE_DELETE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS" | "ACTIVITY_TYPE_SET_PAYMENT_METHOD" | "ACTIVITY_TYPE_ACTIVATE_BILLING_TIER" | "ACTIVITY_TYPE_DELETE_PAYMENT_METHOD" | "ACTIVITY_TYPE_CREATE_POLICY_V2" | "ACTIVITY_TYPE_CREATE_POLICY_V3" | "ACTIVITY_TYPE_CREATE_API_ONLY_USERS" | "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM" | "ACTIVITY_TYPE_UPDATE_USER_TAG" | "ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS_V2" | "ACTIVITY_TYPE_CREATE_ORGANIZATION_V2" | "ACTIVITY_TYPE_CREATE_USERS_V2" | "ACTIVITY_TYPE_ACCEPT_INVITATION_V2" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V2";
|
|
4918
|
+
type: "ACTIVITY_TYPE_CREATE_API_KEYS" | "ACTIVITY_TYPE_CREATE_USERS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD" | "ACTIVITY_TYPE_CREATE_INVITATIONS" | "ACTIVITY_TYPE_ACCEPT_INVITATION" | "ACTIVITY_TYPE_CREATE_POLICY" | "ACTIVITY_TYPE_DISABLE_PRIVATE_KEY" | "ACTIVITY_TYPE_DELETE_USERS" | "ACTIVITY_TYPE_DELETE_API_KEYS" | "ACTIVITY_TYPE_DELETE_INVITATION" | "ACTIVITY_TYPE_DELETE_ORGANIZATION" | "ACTIVITY_TYPE_DELETE_POLICY" | "ACTIVITY_TYPE_CREATE_USER_TAG" | "ACTIVITY_TYPE_DELETE_USER_TAGS" | "ACTIVITY_TYPE_CREATE_ORGANIZATION" | "ACTIVITY_TYPE_SIGN_TRANSACTION" | "ACTIVITY_TYPE_APPROVE_ACTIVITY" | "ACTIVITY_TYPE_REJECT_ACTIVITY" | "ACTIVITY_TYPE_DELETE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS" | "ACTIVITY_TYPE_SET_PAYMENT_METHOD" | "ACTIVITY_TYPE_ACTIVATE_BILLING_TIER" | "ACTIVITY_TYPE_DELETE_PAYMENT_METHOD" | "ACTIVITY_TYPE_CREATE_POLICY_V2" | "ACTIVITY_TYPE_CREATE_POLICY_V3" | "ACTIVITY_TYPE_CREATE_API_ONLY_USERS" | "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM" | "ACTIVITY_TYPE_UPDATE_USER_TAG" | "ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS_V2" | "ACTIVITY_TYPE_CREATE_ORGANIZATION_V2" | "ACTIVITY_TYPE_CREATE_USERS_V2" | "ACTIVITY_TYPE_ACCEPT_INVITATION_V2" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V2" | "ACTIVITY_TYPE_UPDATE_ALLOWED_ORIGINS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS_V2";
|
|
4734
4919
|
intent: {
|
|
4735
4920
|
createOrganizationIntent: {
|
|
4736
4921
|
organizationName: string;
|
|
4737
4922
|
rootEmail: string;
|
|
4738
4923
|
rootAuthenticator: {
|
|
4739
4924
|
authenticatorName: string;
|
|
4740
|
-
userId: string;
|
|
4741
|
-
* Create Invitations
|
|
4742
|
-
*
|
|
4743
|
-
* Create Invitations to join an existing Organization
|
|
4744
|
-
*/
|
|
4925
|
+
userId: string;
|
|
4745
4926
|
attestation: {
|
|
4746
4927
|
id: string;
|
|
4747
4928
|
type: "public-key";
|
|
@@ -4768,11 +4949,7 @@ export declare const postCreatePolicy: (input: TPostCreatePolicyInput) => Promis
|
|
|
4768
4949
|
createAuthenticatorsIntent?: {
|
|
4769
4950
|
authenticators: {
|
|
4770
4951
|
authenticatorName: string;
|
|
4771
|
-
userId: string;
|
|
4772
|
-
* Create Invitations
|
|
4773
|
-
*
|
|
4774
|
-
* Create Invitations to join an existing Organization
|
|
4775
|
-
*/
|
|
4952
|
+
userId: string;
|
|
4776
4953
|
attestation: {
|
|
4777
4954
|
id: string;
|
|
4778
4955
|
type: "public-key";
|
|
@@ -4807,11 +4984,7 @@ export declare const postCreatePolicy: (input: TPostCreatePolicyInput) => Promis
|
|
|
4807
4984
|
}[];
|
|
4808
4985
|
authenticators: {
|
|
4809
4986
|
authenticatorName: string;
|
|
4810
|
-
userId: string;
|
|
4811
|
-
* Create Invitations
|
|
4812
|
-
*
|
|
4813
|
-
* Create Invitations to join an existing Organization
|
|
4814
|
-
*/
|
|
4987
|
+
userId: string;
|
|
4815
4988
|
attestation: {
|
|
4816
4989
|
id: string;
|
|
4817
4990
|
type: "public-key";
|
|
@@ -4864,11 +5037,7 @@ export declare const postCreatePolicy: (input: TPostCreatePolicyInput) => Promis
|
|
|
4864
5037
|
userId: string;
|
|
4865
5038
|
authenticator: {
|
|
4866
5039
|
authenticatorName: string;
|
|
4867
|
-
userId: string;
|
|
4868
|
-
* Create Invitations
|
|
4869
|
-
*
|
|
4870
|
-
* Create Invitations to join an existing Organization
|
|
4871
|
-
*/
|
|
5040
|
+
userId: string;
|
|
4872
5041
|
attestation: {
|
|
4873
5042
|
id: string;
|
|
4874
5043
|
type: "public-key";
|
|
@@ -4920,6 +5089,11 @@ export declare const postCreatePolicy: (input: TPostCreatePolicyInput) => Promis
|
|
|
4920
5089
|
deletePolicyIntent?: {
|
|
4921
5090
|
policyId: string;
|
|
4922
5091
|
};
|
|
5092
|
+
/**
|
|
5093
|
+
* `POST /tkhq/public/v1/query/get_private_key`
|
|
5094
|
+
*
|
|
5095
|
+
* @deprecated
|
|
5096
|
+
*/
|
|
4923
5097
|
createUserTagIntent?: {
|
|
4924
5098
|
userTagName: string;
|
|
4925
5099
|
userIds: string[];
|
|
@@ -5113,6 +5287,17 @@ export declare const postCreatePolicy: (input: TPostCreatePolicyInput) => Promis
|
|
|
5113
5287
|
}[];
|
|
5114
5288
|
rootQuorumThreshold: number;
|
|
5115
5289
|
};
|
|
5290
|
+
updateAllowedOriginsIntent?: {
|
|
5291
|
+
allowedOrigins: string[];
|
|
5292
|
+
};
|
|
5293
|
+
createPrivateKeysIntentV2?: {
|
|
5294
|
+
privateKeys: {
|
|
5295
|
+
privateKeyName: string;
|
|
5296
|
+
curve: "CURVE_SECP256K1" | "CURVE_ED25519";
|
|
5297
|
+
privateKeyTags: string[];
|
|
5298
|
+
addressFormats: ("ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM")[];
|
|
5299
|
+
}[];
|
|
5300
|
+
};
|
|
5116
5301
|
};
|
|
5117
5302
|
result: {
|
|
5118
5303
|
createOrganizationResult?: {
|
|
@@ -5211,6 +5396,18 @@ export declare const postCreatePolicy: (input: TPostCreatePolicyInput) => Promis
|
|
|
5211
5396
|
createSubOrganizationResult?: {
|
|
5212
5397
|
subOrganizationId: string;
|
|
5213
5398
|
};
|
|
5399
|
+
updateAllowedOriginsResult?: {
|
|
5400
|
+
[key: string]: unknown;
|
|
5401
|
+
};
|
|
5402
|
+
createPrivateKeysResultV2?: {
|
|
5403
|
+
privateKeys: {
|
|
5404
|
+
privateKeyId?: string;
|
|
5405
|
+
addresses?: {
|
|
5406
|
+
format?: "ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM";
|
|
5407
|
+
address?: string;
|
|
5408
|
+
}[];
|
|
5409
|
+
}[];
|
|
5410
|
+
};
|
|
5214
5411
|
};
|
|
5215
5412
|
votes: {
|
|
5216
5413
|
id: string;
|
|
@@ -5298,43 +5495,39 @@ export declare const postCreatePolicy: (input: TPostCreatePolicyInput) => Promis
|
|
|
5298
5495
|
*/
|
|
5299
5496
|
export declare const federatedPostCreatePolicy: (input: TPostCreatePolicyInput, options?: TurnkeyCredentialRequestOptions) => Promise<import("../../../../..").FederatedRequest>;
|
|
5300
5497
|
/**
|
|
5301
|
-
* `POST /public/v1/submit/
|
|
5498
|
+
* `POST /public/v1/submit/create_private_key_tag`
|
|
5302
5499
|
*/
|
|
5303
|
-
type
|
|
5500
|
+
type TPostCreatePrivateKeyTagBody = operations["PublicApiService_CreatePrivateKeyTag"]["parameters"]["body"]["body"];
|
|
5304
5501
|
/**
|
|
5305
|
-
* `POST /public/v1/submit/
|
|
5502
|
+
* `POST /public/v1/submit/create_private_key_tag`
|
|
5306
5503
|
*/
|
|
5307
|
-
export type
|
|
5504
|
+
export type TPostCreatePrivateKeyTagResponse = operations["PublicApiService_CreatePrivateKeyTag"]["responses"]["200"]["schema"];
|
|
5308
5505
|
/**
|
|
5309
|
-
* `POST /public/v1/submit/
|
|
5506
|
+
* `POST /public/v1/submit/create_private_key_tag`
|
|
5310
5507
|
*/
|
|
5311
|
-
export type
|
|
5312
|
-
body:
|
|
5508
|
+
export type TPostCreatePrivateKeyTagInput = {
|
|
5509
|
+
body: TPostCreatePrivateKeyTagBody;
|
|
5313
5510
|
};
|
|
5314
5511
|
/**
|
|
5315
|
-
* Create
|
|
5512
|
+
* Create User Tag
|
|
5316
5513
|
*
|
|
5317
|
-
* Create
|
|
5514
|
+
* Create a private key tag and add it to private keys.
|
|
5318
5515
|
*
|
|
5319
|
-
* `POST /public/v1/submit/
|
|
5516
|
+
* `POST /public/v1/submit/create_private_key_tag`
|
|
5320
5517
|
*/
|
|
5321
|
-
export declare const
|
|
5518
|
+
export declare const postCreatePrivateKeyTag: (input: TPostCreatePrivateKeyTagInput) => Promise<{
|
|
5322
5519
|
activity: {
|
|
5323
5520
|
id: string;
|
|
5324
5521
|
organizationId: string;
|
|
5325
5522
|
status: "ACTIVITY_STATUS_CREATED" | "ACTIVITY_STATUS_PENDING" | "ACTIVITY_STATUS_COMPLETED" | "ACTIVITY_STATUS_FAILED" | "ACTIVITY_STATUS_CONSENSUS_NEEDED" | "ACTIVITY_STATUS_REJECTED";
|
|
5326
|
-
type: "ACTIVITY_TYPE_CREATE_API_KEYS" | "ACTIVITY_TYPE_CREATE_USERS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD" | "ACTIVITY_TYPE_CREATE_INVITATIONS" | "ACTIVITY_TYPE_ACCEPT_INVITATION" | "ACTIVITY_TYPE_CREATE_POLICY" | "ACTIVITY_TYPE_DISABLE_PRIVATE_KEY" | "ACTIVITY_TYPE_DELETE_USERS" | "ACTIVITY_TYPE_DELETE_API_KEYS" | "ACTIVITY_TYPE_DELETE_INVITATION" | "ACTIVITY_TYPE_DELETE_ORGANIZATION" | "ACTIVITY_TYPE_DELETE_POLICY" | "ACTIVITY_TYPE_CREATE_USER_TAG" | "ACTIVITY_TYPE_DELETE_USER_TAGS" | "ACTIVITY_TYPE_CREATE_ORGANIZATION" | "ACTIVITY_TYPE_SIGN_TRANSACTION" | "ACTIVITY_TYPE_APPROVE_ACTIVITY" | "ACTIVITY_TYPE_REJECT_ACTIVITY" | "ACTIVITY_TYPE_DELETE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS" | "ACTIVITY_TYPE_SET_PAYMENT_METHOD" | "ACTIVITY_TYPE_ACTIVATE_BILLING_TIER" | "ACTIVITY_TYPE_DELETE_PAYMENT_METHOD" | "ACTIVITY_TYPE_CREATE_POLICY_V2" | "ACTIVITY_TYPE_CREATE_POLICY_V3" | "ACTIVITY_TYPE_CREATE_API_ONLY_USERS" | "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM" | "ACTIVITY_TYPE_UPDATE_USER_TAG" | "ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS_V2" | "ACTIVITY_TYPE_CREATE_ORGANIZATION_V2" | "ACTIVITY_TYPE_CREATE_USERS_V2" | "ACTIVITY_TYPE_ACCEPT_INVITATION_V2" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V2";
|
|
5523
|
+
type: "ACTIVITY_TYPE_CREATE_API_KEYS" | "ACTIVITY_TYPE_CREATE_USERS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD" | "ACTIVITY_TYPE_CREATE_INVITATIONS" | "ACTIVITY_TYPE_ACCEPT_INVITATION" | "ACTIVITY_TYPE_CREATE_POLICY" | "ACTIVITY_TYPE_DISABLE_PRIVATE_KEY" | "ACTIVITY_TYPE_DELETE_USERS" | "ACTIVITY_TYPE_DELETE_API_KEYS" | "ACTIVITY_TYPE_DELETE_INVITATION" | "ACTIVITY_TYPE_DELETE_ORGANIZATION" | "ACTIVITY_TYPE_DELETE_POLICY" | "ACTIVITY_TYPE_CREATE_USER_TAG" | "ACTIVITY_TYPE_DELETE_USER_TAGS" | "ACTIVITY_TYPE_CREATE_ORGANIZATION" | "ACTIVITY_TYPE_SIGN_TRANSACTION" | "ACTIVITY_TYPE_APPROVE_ACTIVITY" | "ACTIVITY_TYPE_REJECT_ACTIVITY" | "ACTIVITY_TYPE_DELETE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS" | "ACTIVITY_TYPE_SET_PAYMENT_METHOD" | "ACTIVITY_TYPE_ACTIVATE_BILLING_TIER" | "ACTIVITY_TYPE_DELETE_PAYMENT_METHOD" | "ACTIVITY_TYPE_CREATE_POLICY_V2" | "ACTIVITY_TYPE_CREATE_POLICY_V3" | "ACTIVITY_TYPE_CREATE_API_ONLY_USERS" | "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM" | "ACTIVITY_TYPE_UPDATE_USER_TAG" | "ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS_V2" | "ACTIVITY_TYPE_CREATE_ORGANIZATION_V2" | "ACTIVITY_TYPE_CREATE_USERS_V2" | "ACTIVITY_TYPE_ACCEPT_INVITATION_V2" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V2" | "ACTIVITY_TYPE_UPDATE_ALLOWED_ORIGINS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS_V2";
|
|
5327
5524
|
intent: {
|
|
5328
5525
|
createOrganizationIntent: {
|
|
5329
5526
|
organizationName: string;
|
|
5330
5527
|
rootEmail: string;
|
|
5331
5528
|
rootAuthenticator: {
|
|
5332
5529
|
authenticatorName: string;
|
|
5333
|
-
userId: string;
|
|
5334
|
-
* Create Invitations
|
|
5335
|
-
*
|
|
5336
|
-
* Create Invitations to join an existing Organization
|
|
5337
|
-
*/
|
|
5530
|
+
userId: string;
|
|
5338
5531
|
attestation: {
|
|
5339
5532
|
id: string;
|
|
5340
5533
|
type: "public-key";
|
|
@@ -5361,11 +5554,7 @@ export declare const postCreatePrivateKeys: (input: TPostCreatePrivateKeysInput)
|
|
|
5361
5554
|
createAuthenticatorsIntent?: {
|
|
5362
5555
|
authenticators: {
|
|
5363
5556
|
authenticatorName: string;
|
|
5364
|
-
userId: string;
|
|
5365
|
-
* Create Invitations
|
|
5366
|
-
*
|
|
5367
|
-
* Create Invitations to join an existing Organization
|
|
5368
|
-
*/
|
|
5557
|
+
userId: string;
|
|
5369
5558
|
attestation: {
|
|
5370
5559
|
id: string;
|
|
5371
5560
|
type: "public-key";
|
|
@@ -5400,11 +5589,7 @@ export declare const postCreatePrivateKeys: (input: TPostCreatePrivateKeysInput)
|
|
|
5400
5589
|
}[];
|
|
5401
5590
|
authenticators: {
|
|
5402
5591
|
authenticatorName: string;
|
|
5403
|
-
userId: string;
|
|
5404
|
-
* Create Invitations
|
|
5405
|
-
*
|
|
5406
|
-
* Create Invitations to join an existing Organization
|
|
5407
|
-
*/
|
|
5592
|
+
userId: string;
|
|
5408
5593
|
attestation: {
|
|
5409
5594
|
id: string;
|
|
5410
5595
|
type: "public-key";
|
|
@@ -5457,11 +5642,7 @@ export declare const postCreatePrivateKeys: (input: TPostCreatePrivateKeysInput)
|
|
|
5457
5642
|
userId: string;
|
|
5458
5643
|
authenticator: {
|
|
5459
5644
|
authenticatorName: string;
|
|
5460
|
-
userId: string;
|
|
5461
|
-
* Create Invitations
|
|
5462
|
-
*
|
|
5463
|
-
* Create Invitations to join an existing Organization
|
|
5464
|
-
*/
|
|
5645
|
+
userId: string;
|
|
5465
5646
|
attestation: {
|
|
5466
5647
|
id: string;
|
|
5467
5648
|
type: "public-key";
|
|
@@ -5513,6 +5694,11 @@ export declare const postCreatePrivateKeys: (input: TPostCreatePrivateKeysInput)
|
|
|
5513
5694
|
deletePolicyIntent?: {
|
|
5514
5695
|
policyId: string;
|
|
5515
5696
|
};
|
|
5697
|
+
/**
|
|
5698
|
+
* `POST /tkhq/public/v1/query/get_private_key`
|
|
5699
|
+
*
|
|
5700
|
+
* @deprecated
|
|
5701
|
+
*/
|
|
5516
5702
|
createUserTagIntent?: {
|
|
5517
5703
|
userTagName: string;
|
|
5518
5704
|
userIds: string[];
|
|
@@ -5706,6 +5892,17 @@ export declare const postCreatePrivateKeys: (input: TPostCreatePrivateKeysInput)
|
|
|
5706
5892
|
}[];
|
|
5707
5893
|
rootQuorumThreshold: number;
|
|
5708
5894
|
};
|
|
5895
|
+
updateAllowedOriginsIntent?: {
|
|
5896
|
+
allowedOrigins: string[];
|
|
5897
|
+
};
|
|
5898
|
+
createPrivateKeysIntentV2?: {
|
|
5899
|
+
privateKeys: {
|
|
5900
|
+
privateKeyName: string;
|
|
5901
|
+
curve: "CURVE_SECP256K1" | "CURVE_ED25519";
|
|
5902
|
+
privateKeyTags: string[];
|
|
5903
|
+
addressFormats: ("ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM")[];
|
|
5904
|
+
}[];
|
|
5905
|
+
};
|
|
5709
5906
|
};
|
|
5710
5907
|
result: {
|
|
5711
5908
|
createOrganizationResult?: {
|
|
@@ -5804,6 +6001,18 @@ export declare const postCreatePrivateKeys: (input: TPostCreatePrivateKeysInput)
|
|
|
5804
6001
|
createSubOrganizationResult?: {
|
|
5805
6002
|
subOrganizationId: string;
|
|
5806
6003
|
};
|
|
6004
|
+
updateAllowedOriginsResult?: {
|
|
6005
|
+
[key: string]: unknown;
|
|
6006
|
+
};
|
|
6007
|
+
createPrivateKeysResultV2?: {
|
|
6008
|
+
privateKeys: {
|
|
6009
|
+
privateKeyId?: string;
|
|
6010
|
+
addresses?: {
|
|
6011
|
+
format?: "ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM";
|
|
6012
|
+
address?: string;
|
|
6013
|
+
}[];
|
|
6014
|
+
}[];
|
|
6015
|
+
};
|
|
5807
6016
|
};
|
|
5808
6017
|
votes: {
|
|
5809
6018
|
id: string;
|
|
@@ -5885,49 +6094,45 @@ export declare const postCreatePrivateKeys: (input: TPostCreatePrivateKeysInput)
|
|
|
5885
6094
|
};
|
|
5886
6095
|
}>;
|
|
5887
6096
|
/**
|
|
5888
|
-
* Create
|
|
6097
|
+
* Create User Tag
|
|
5889
6098
|
*
|
|
5890
|
-
* Create
|
|
6099
|
+
* Create a private key tag and add it to private keys.
|
|
5891
6100
|
*/
|
|
5892
|
-
export declare const
|
|
6101
|
+
export declare const federatedPostCreatePrivateKeyTag: (input: TPostCreatePrivateKeyTagInput, options?: TurnkeyCredentialRequestOptions) => Promise<import("../../../../..").FederatedRequest>;
|
|
5893
6102
|
/**
|
|
5894
|
-
* `POST /public/v1/submit/
|
|
6103
|
+
* `POST /public/v1/submit/create_private_keys`
|
|
5895
6104
|
*/
|
|
5896
|
-
type
|
|
6105
|
+
type TPostCreatePrivateKeysBody = operations["PublicApiService_CreatePrivateKeys"]["parameters"]["body"]["body"];
|
|
5897
6106
|
/**
|
|
5898
|
-
* `POST /public/v1/submit/
|
|
6107
|
+
* `POST /public/v1/submit/create_private_keys`
|
|
5899
6108
|
*/
|
|
5900
|
-
export type
|
|
6109
|
+
export type TPostCreatePrivateKeysResponse = operations["PublicApiService_CreatePrivateKeys"]["responses"]["200"]["schema"];
|
|
5901
6110
|
/**
|
|
5902
|
-
* `POST /public/v1/submit/
|
|
6111
|
+
* `POST /public/v1/submit/create_private_keys`
|
|
5903
6112
|
*/
|
|
5904
|
-
export type
|
|
5905
|
-
body:
|
|
6113
|
+
export type TPostCreatePrivateKeysInput = {
|
|
6114
|
+
body: TPostCreatePrivateKeysBody;
|
|
5906
6115
|
};
|
|
5907
6116
|
/**
|
|
5908
|
-
* Create
|
|
6117
|
+
* Create Private Keys
|
|
5909
6118
|
*
|
|
5910
|
-
* Create
|
|
6119
|
+
* Create new Private Keys
|
|
5911
6120
|
*
|
|
5912
|
-
* `POST /public/v1/submit/
|
|
6121
|
+
* `POST /public/v1/submit/create_private_keys`
|
|
5913
6122
|
*/
|
|
5914
|
-
export declare const
|
|
6123
|
+
export declare const postCreatePrivateKeys: (input: TPostCreatePrivateKeysInput) => Promise<{
|
|
5915
6124
|
activity: {
|
|
5916
6125
|
id: string;
|
|
5917
6126
|
organizationId: string;
|
|
5918
6127
|
status: "ACTIVITY_STATUS_CREATED" | "ACTIVITY_STATUS_PENDING" | "ACTIVITY_STATUS_COMPLETED" | "ACTIVITY_STATUS_FAILED" | "ACTIVITY_STATUS_CONSENSUS_NEEDED" | "ACTIVITY_STATUS_REJECTED";
|
|
5919
|
-
type: "ACTIVITY_TYPE_CREATE_API_KEYS" | "ACTIVITY_TYPE_CREATE_USERS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD" | "ACTIVITY_TYPE_CREATE_INVITATIONS" | "ACTIVITY_TYPE_ACCEPT_INVITATION" | "ACTIVITY_TYPE_CREATE_POLICY" | "ACTIVITY_TYPE_DISABLE_PRIVATE_KEY" | "ACTIVITY_TYPE_DELETE_USERS" | "ACTIVITY_TYPE_DELETE_API_KEYS" | "ACTIVITY_TYPE_DELETE_INVITATION" | "ACTIVITY_TYPE_DELETE_ORGANIZATION" | "ACTIVITY_TYPE_DELETE_POLICY" | "ACTIVITY_TYPE_CREATE_USER_TAG" | "ACTIVITY_TYPE_DELETE_USER_TAGS" | "ACTIVITY_TYPE_CREATE_ORGANIZATION" | "ACTIVITY_TYPE_SIGN_TRANSACTION" | "ACTIVITY_TYPE_APPROVE_ACTIVITY" | "ACTIVITY_TYPE_REJECT_ACTIVITY" | "ACTIVITY_TYPE_DELETE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS" | "ACTIVITY_TYPE_SET_PAYMENT_METHOD" | "ACTIVITY_TYPE_ACTIVATE_BILLING_TIER" | "ACTIVITY_TYPE_DELETE_PAYMENT_METHOD" | "ACTIVITY_TYPE_CREATE_POLICY_V2" | "ACTIVITY_TYPE_CREATE_POLICY_V3" | "ACTIVITY_TYPE_CREATE_API_ONLY_USERS" | "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM" | "ACTIVITY_TYPE_UPDATE_USER_TAG" | "ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS_V2" | "ACTIVITY_TYPE_CREATE_ORGANIZATION_V2" | "ACTIVITY_TYPE_CREATE_USERS_V2" | "ACTIVITY_TYPE_ACCEPT_INVITATION_V2" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V2";
|
|
6128
|
+
type: "ACTIVITY_TYPE_CREATE_API_KEYS" | "ACTIVITY_TYPE_CREATE_USERS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD" | "ACTIVITY_TYPE_CREATE_INVITATIONS" | "ACTIVITY_TYPE_ACCEPT_INVITATION" | "ACTIVITY_TYPE_CREATE_POLICY" | "ACTIVITY_TYPE_DISABLE_PRIVATE_KEY" | "ACTIVITY_TYPE_DELETE_USERS" | "ACTIVITY_TYPE_DELETE_API_KEYS" | "ACTIVITY_TYPE_DELETE_INVITATION" | "ACTIVITY_TYPE_DELETE_ORGANIZATION" | "ACTIVITY_TYPE_DELETE_POLICY" | "ACTIVITY_TYPE_CREATE_USER_TAG" | "ACTIVITY_TYPE_DELETE_USER_TAGS" | "ACTIVITY_TYPE_CREATE_ORGANIZATION" | "ACTIVITY_TYPE_SIGN_TRANSACTION" | "ACTIVITY_TYPE_APPROVE_ACTIVITY" | "ACTIVITY_TYPE_REJECT_ACTIVITY" | "ACTIVITY_TYPE_DELETE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS" | "ACTIVITY_TYPE_SET_PAYMENT_METHOD" | "ACTIVITY_TYPE_ACTIVATE_BILLING_TIER" | "ACTIVITY_TYPE_DELETE_PAYMENT_METHOD" | "ACTIVITY_TYPE_CREATE_POLICY_V2" | "ACTIVITY_TYPE_CREATE_POLICY_V3" | "ACTIVITY_TYPE_CREATE_API_ONLY_USERS" | "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM" | "ACTIVITY_TYPE_UPDATE_USER_TAG" | "ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS_V2" | "ACTIVITY_TYPE_CREATE_ORGANIZATION_V2" | "ACTIVITY_TYPE_CREATE_USERS_V2" | "ACTIVITY_TYPE_ACCEPT_INVITATION_V2" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V2" | "ACTIVITY_TYPE_UPDATE_ALLOWED_ORIGINS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS_V2";
|
|
5920
6129
|
intent: {
|
|
5921
6130
|
createOrganizationIntent: {
|
|
5922
6131
|
organizationName: string;
|
|
5923
6132
|
rootEmail: string;
|
|
5924
6133
|
rootAuthenticator: {
|
|
5925
6134
|
authenticatorName: string;
|
|
5926
|
-
userId: string;
|
|
5927
|
-
* Create Invitations
|
|
5928
|
-
*
|
|
5929
|
-
* Create Invitations to join an existing Organization
|
|
5930
|
-
*/
|
|
6135
|
+
userId: string;
|
|
5931
6136
|
attestation: {
|
|
5932
6137
|
id: string;
|
|
5933
6138
|
type: "public-key";
|
|
@@ -5954,11 +6159,7 @@ export declare const postCreateSubOrganization: (input: TPostCreateSubOrganizati
|
|
|
5954
6159
|
createAuthenticatorsIntent?: {
|
|
5955
6160
|
authenticators: {
|
|
5956
6161
|
authenticatorName: string;
|
|
5957
|
-
userId: string;
|
|
5958
|
-
* Create Invitations
|
|
5959
|
-
*
|
|
5960
|
-
* Create Invitations to join an existing Organization
|
|
5961
|
-
*/
|
|
6162
|
+
userId: string;
|
|
5962
6163
|
attestation: {
|
|
5963
6164
|
id: string;
|
|
5964
6165
|
type: "public-key";
|
|
@@ -5993,11 +6194,7 @@ export declare const postCreateSubOrganization: (input: TPostCreateSubOrganizati
|
|
|
5993
6194
|
}[];
|
|
5994
6195
|
authenticators: {
|
|
5995
6196
|
authenticatorName: string;
|
|
5996
|
-
userId: string;
|
|
5997
|
-
* Create Invitations
|
|
5998
|
-
*
|
|
5999
|
-
* Create Invitations to join an existing Organization
|
|
6000
|
-
*/
|
|
6197
|
+
userId: string;
|
|
6001
6198
|
attestation: {
|
|
6002
6199
|
id: string;
|
|
6003
6200
|
type: "public-key";
|
|
@@ -6050,11 +6247,7 @@ export declare const postCreateSubOrganization: (input: TPostCreateSubOrganizati
|
|
|
6050
6247
|
userId: string;
|
|
6051
6248
|
authenticator: {
|
|
6052
6249
|
authenticatorName: string;
|
|
6053
|
-
userId: string;
|
|
6054
|
-
* Create Invitations
|
|
6055
|
-
*
|
|
6056
|
-
* Create Invitations to join an existing Organization
|
|
6057
|
-
*/
|
|
6250
|
+
userId: string;
|
|
6058
6251
|
attestation: {
|
|
6059
6252
|
id: string;
|
|
6060
6253
|
type: "public-key";
|
|
@@ -6106,6 +6299,11 @@ export declare const postCreateSubOrganization: (input: TPostCreateSubOrganizati
|
|
|
6106
6299
|
deletePolicyIntent?: {
|
|
6107
6300
|
policyId: string;
|
|
6108
6301
|
};
|
|
6302
|
+
/**
|
|
6303
|
+
* `POST /tkhq/public/v1/query/get_private_key`
|
|
6304
|
+
*
|
|
6305
|
+
* @deprecated
|
|
6306
|
+
*/
|
|
6109
6307
|
createUserTagIntent?: {
|
|
6110
6308
|
userTagName: string;
|
|
6111
6309
|
userIds: string[];
|
|
@@ -6299,6 +6497,17 @@ export declare const postCreateSubOrganization: (input: TPostCreateSubOrganizati
|
|
|
6299
6497
|
}[];
|
|
6300
6498
|
rootQuorumThreshold: number;
|
|
6301
6499
|
};
|
|
6500
|
+
updateAllowedOriginsIntent?: {
|
|
6501
|
+
allowedOrigins: string[];
|
|
6502
|
+
};
|
|
6503
|
+
createPrivateKeysIntentV2?: {
|
|
6504
|
+
privateKeys: {
|
|
6505
|
+
privateKeyName: string;
|
|
6506
|
+
curve: "CURVE_SECP256K1" | "CURVE_ED25519";
|
|
6507
|
+
privateKeyTags: string[];
|
|
6508
|
+
addressFormats: ("ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM")[];
|
|
6509
|
+
}[];
|
|
6510
|
+
};
|
|
6302
6511
|
};
|
|
6303
6512
|
result: {
|
|
6304
6513
|
createOrganizationResult?: {
|
|
@@ -6397,6 +6606,18 @@ export declare const postCreateSubOrganization: (input: TPostCreateSubOrganizati
|
|
|
6397
6606
|
createSubOrganizationResult?: {
|
|
6398
6607
|
subOrganizationId: string;
|
|
6399
6608
|
};
|
|
6609
|
+
updateAllowedOriginsResult?: {
|
|
6610
|
+
[key: string]: unknown;
|
|
6611
|
+
};
|
|
6612
|
+
createPrivateKeysResultV2?: {
|
|
6613
|
+
privateKeys: {
|
|
6614
|
+
privateKeyId?: string;
|
|
6615
|
+
addresses?: {
|
|
6616
|
+
format?: "ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM";
|
|
6617
|
+
address?: string;
|
|
6618
|
+
}[];
|
|
6619
|
+
}[];
|
|
6620
|
+
};
|
|
6400
6621
|
};
|
|
6401
6622
|
votes: {
|
|
6402
6623
|
id: string;
|
|
@@ -6478,57 +6699,1870 @@ export declare const postCreateSubOrganization: (input: TPostCreateSubOrganizati
|
|
|
6478
6699
|
};
|
|
6479
6700
|
}>;
|
|
6480
6701
|
/**
|
|
6481
|
-
* Create
|
|
6702
|
+
* Create Private Keys
|
|
6482
6703
|
*
|
|
6483
|
-
* Create
|
|
6704
|
+
* Create new Private Keys
|
|
6484
6705
|
*/
|
|
6485
|
-
export declare const
|
|
6706
|
+
export declare const federatedPostCreatePrivateKeys: (input: TPostCreatePrivateKeysInput, options?: TurnkeyCredentialRequestOptions) => Promise<import("../../../../..").FederatedRequest>;
|
|
6486
6707
|
/**
|
|
6487
|
-
* `POST /public/v1/submit/
|
|
6488
|
-
*
|
|
6489
|
-
* @deprecated
|
|
6708
|
+
* `POST /public/v1/submit/create_sub_organization`
|
|
6490
6709
|
*/
|
|
6491
|
-
type
|
|
6710
|
+
type TPostCreateSubOrganizationBody = operations["PublicApiService_CreateSubOrganization"]["parameters"]["body"]["body"];
|
|
6492
6711
|
/**
|
|
6493
|
-
* `POST /public/v1/submit/
|
|
6494
|
-
*
|
|
6495
|
-
* @deprecated
|
|
6712
|
+
* `POST /public/v1/submit/create_sub_organization`
|
|
6496
6713
|
*/
|
|
6497
|
-
export type
|
|
6714
|
+
export type TPostCreateSubOrganizationResponse = operations["PublicApiService_CreateSubOrganization"]["responses"]["200"]["schema"];
|
|
6498
6715
|
/**
|
|
6499
|
-
* `POST /public/v1/submit/
|
|
6500
|
-
*
|
|
6501
|
-
* @deprecated
|
|
6716
|
+
* `POST /public/v1/submit/create_sub_organization`
|
|
6502
6717
|
*/
|
|
6503
|
-
export type
|
|
6504
|
-
body:
|
|
6718
|
+
export type TPostCreateSubOrganizationInput = {
|
|
6719
|
+
body: TPostCreateSubOrganizationBody;
|
|
6505
6720
|
};
|
|
6721
|
+
/**
|
|
6722
|
+
* Create Sub-Organization
|
|
6723
|
+
*
|
|
6724
|
+
* Create a new Sub-Organization
|
|
6725
|
+
*
|
|
6726
|
+
* `POST /public/v1/submit/create_sub_organization`
|
|
6727
|
+
*/
|
|
6728
|
+
export declare const postCreateSubOrganization: (input: TPostCreateSubOrganizationInput) => Promise<{
|
|
6729
|
+
activity: {
|
|
6730
|
+
id: string;
|
|
6731
|
+
organizationId: string;
|
|
6732
|
+
status: "ACTIVITY_STATUS_CREATED" | "ACTIVITY_STATUS_PENDING" | "ACTIVITY_STATUS_COMPLETED" | "ACTIVITY_STATUS_FAILED" | "ACTIVITY_STATUS_CONSENSUS_NEEDED" | "ACTIVITY_STATUS_REJECTED";
|
|
6733
|
+
type: "ACTIVITY_TYPE_CREATE_API_KEYS" | "ACTIVITY_TYPE_CREATE_USERS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD" | "ACTIVITY_TYPE_CREATE_INVITATIONS" | "ACTIVITY_TYPE_ACCEPT_INVITATION" | "ACTIVITY_TYPE_CREATE_POLICY" | "ACTIVITY_TYPE_DISABLE_PRIVATE_KEY" | "ACTIVITY_TYPE_DELETE_USERS" | "ACTIVITY_TYPE_DELETE_API_KEYS" | "ACTIVITY_TYPE_DELETE_INVITATION" | "ACTIVITY_TYPE_DELETE_ORGANIZATION" | "ACTIVITY_TYPE_DELETE_POLICY" | "ACTIVITY_TYPE_CREATE_USER_TAG" | "ACTIVITY_TYPE_DELETE_USER_TAGS" | "ACTIVITY_TYPE_CREATE_ORGANIZATION" | "ACTIVITY_TYPE_SIGN_TRANSACTION" | "ACTIVITY_TYPE_APPROVE_ACTIVITY" | "ACTIVITY_TYPE_REJECT_ACTIVITY" | "ACTIVITY_TYPE_DELETE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS" | "ACTIVITY_TYPE_SET_PAYMENT_METHOD" | "ACTIVITY_TYPE_ACTIVATE_BILLING_TIER" | "ACTIVITY_TYPE_DELETE_PAYMENT_METHOD" | "ACTIVITY_TYPE_CREATE_POLICY_V2" | "ACTIVITY_TYPE_CREATE_POLICY_V3" | "ACTIVITY_TYPE_CREATE_API_ONLY_USERS" | "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM" | "ACTIVITY_TYPE_UPDATE_USER_TAG" | "ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS_V2" | "ACTIVITY_TYPE_CREATE_ORGANIZATION_V2" | "ACTIVITY_TYPE_CREATE_USERS_V2" | "ACTIVITY_TYPE_ACCEPT_INVITATION_V2" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V2" | "ACTIVITY_TYPE_UPDATE_ALLOWED_ORIGINS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS_V2";
|
|
6734
|
+
intent: {
|
|
6735
|
+
createOrganizationIntent: {
|
|
6736
|
+
organizationName: string;
|
|
6737
|
+
rootEmail: string;
|
|
6738
|
+
rootAuthenticator: {
|
|
6739
|
+
authenticatorName: string;
|
|
6740
|
+
userId: string;
|
|
6741
|
+
attestation: {
|
|
6742
|
+
id: string;
|
|
6743
|
+
type: "public-key";
|
|
6744
|
+
rawId: string;
|
|
6745
|
+
authenticatorAttachment?: "cross-platform" | "platform" | null;
|
|
6746
|
+
response: {
|
|
6747
|
+
clientDataJson: string;
|
|
6748
|
+
attestationObject: string;
|
|
6749
|
+
transports?: ("AUTHENTICATOR_TRANSPORT_BLE" | "AUTHENTICATOR_TRANSPORT_INTERNAL" | "AUTHENTICATOR_TRANSPORT_NFC" | "AUTHENTICATOR_TRANSPORT_USB" | "AUTHENTICATOR_TRANSPORT_HYBRID")[];
|
|
6750
|
+
authenticatorAttachment?: "cross-platform" | "platform" | null;
|
|
6751
|
+
};
|
|
6752
|
+
clientExtensionResults: {
|
|
6753
|
+
appid?: boolean;
|
|
6754
|
+
appidExclude?: boolean;
|
|
6755
|
+
credProps?: {
|
|
6756
|
+
rk: boolean;
|
|
6757
|
+
};
|
|
6758
|
+
};
|
|
6759
|
+
};
|
|
6760
|
+
challenge: string;
|
|
6761
|
+
};
|
|
6762
|
+
rootUserId?: string;
|
|
6763
|
+
};
|
|
6764
|
+
createAuthenticatorsIntent?: {
|
|
6765
|
+
authenticators: {
|
|
6766
|
+
authenticatorName: string;
|
|
6767
|
+
userId: string;
|
|
6768
|
+
attestation: {
|
|
6769
|
+
id: string;
|
|
6770
|
+
type: "public-key";
|
|
6771
|
+
rawId: string;
|
|
6772
|
+
authenticatorAttachment?: "cross-platform" | "platform" | null;
|
|
6773
|
+
response: {
|
|
6774
|
+
clientDataJson: string;
|
|
6775
|
+
attestationObject: string;
|
|
6776
|
+
transports?: ("AUTHENTICATOR_TRANSPORT_BLE" | "AUTHENTICATOR_TRANSPORT_INTERNAL" | "AUTHENTICATOR_TRANSPORT_NFC" | "AUTHENTICATOR_TRANSPORT_USB" | "AUTHENTICATOR_TRANSPORT_HYBRID")[];
|
|
6777
|
+
authenticatorAttachment?: "cross-platform" | "platform" | null;
|
|
6778
|
+
};
|
|
6779
|
+
clientExtensionResults: {
|
|
6780
|
+
appid?: boolean;
|
|
6781
|
+
appidExclude?: boolean;
|
|
6782
|
+
credProps?: {
|
|
6783
|
+
rk: boolean;
|
|
6784
|
+
};
|
|
6785
|
+
};
|
|
6786
|
+
};
|
|
6787
|
+
challenge: string;
|
|
6788
|
+
}[];
|
|
6789
|
+
userId: string;
|
|
6790
|
+
};
|
|
6791
|
+
createUsersIntent?: {
|
|
6792
|
+
users: {
|
|
6793
|
+
userName: string;
|
|
6794
|
+
userEmail?: string;
|
|
6795
|
+
accessType: "ACCESS_TYPE_WEB" | "ACCESS_TYPE_API" | "ACCESS_TYPE_ALL";
|
|
6796
|
+
apiKeys: {
|
|
6797
|
+
apiKeyName: string;
|
|
6798
|
+
publicKey: string;
|
|
6799
|
+
}[];
|
|
6800
|
+
authenticators: {
|
|
6801
|
+
authenticatorName: string;
|
|
6802
|
+
userId: string;
|
|
6803
|
+
attestation: {
|
|
6804
|
+
id: string;
|
|
6805
|
+
type: "public-key";
|
|
6806
|
+
rawId: string;
|
|
6807
|
+
authenticatorAttachment?: "cross-platform" | "platform" | null;
|
|
6808
|
+
response: {
|
|
6809
|
+
clientDataJson: string;
|
|
6810
|
+
attestationObject: string;
|
|
6811
|
+
transports?: ("AUTHENTICATOR_TRANSPORT_BLE" | "AUTHENTICATOR_TRANSPORT_INTERNAL" | "AUTHENTICATOR_TRANSPORT_NFC" | "AUTHENTICATOR_TRANSPORT_USB" | "AUTHENTICATOR_TRANSPORT_HYBRID")[];
|
|
6812
|
+
authenticatorAttachment?: "cross-platform" | "platform" | null;
|
|
6813
|
+
};
|
|
6814
|
+
clientExtensionResults: {
|
|
6815
|
+
appid?: boolean;
|
|
6816
|
+
appidExclude?: boolean;
|
|
6817
|
+
credProps?: {
|
|
6818
|
+
rk: boolean;
|
|
6819
|
+
};
|
|
6820
|
+
};
|
|
6821
|
+
};
|
|
6822
|
+
challenge: string;
|
|
6823
|
+
}[];
|
|
6824
|
+
userTags: string[];
|
|
6825
|
+
}[];
|
|
6826
|
+
};
|
|
6827
|
+
createPrivateKeysIntent?: {
|
|
6828
|
+
privateKeys: {
|
|
6829
|
+
privateKeyName: string;
|
|
6830
|
+
curve: "CURVE_SECP256K1" | "CURVE_ED25519";
|
|
6831
|
+
privateKeyTags: string[];
|
|
6832
|
+
addressFormats: ("ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM")[];
|
|
6833
|
+
}[];
|
|
6834
|
+
};
|
|
6835
|
+
signRawPayloadIntent?: {
|
|
6836
|
+
privateKeyId: string;
|
|
6837
|
+
payload: string;
|
|
6838
|
+
encoding: "PAYLOAD_ENCODING_HEXADECIMAL" | "PAYLOAD_ENCODING_TEXT_UTF8";
|
|
6839
|
+
hashFunction: "HASH_FUNCTION_NO_OP" | "HASH_FUNCTION_SHA256" | "HASH_FUNCTION_KECCAK256" | "HASH_FUNCTION_NOT_APPLICABLE";
|
|
6840
|
+
};
|
|
6841
|
+
createInvitationsIntent?: {
|
|
6842
|
+
invitations: {
|
|
6843
|
+
receiverUserName: string;
|
|
6844
|
+
receiverUserEmail: string;
|
|
6845
|
+
receiverUserTags: string[];
|
|
6846
|
+
accessType: "ACCESS_TYPE_WEB" | "ACCESS_TYPE_API" | "ACCESS_TYPE_ALL";
|
|
6847
|
+
senderUserId: string;
|
|
6848
|
+
}[];
|
|
6849
|
+
};
|
|
6850
|
+
acceptInvitationIntent?: {
|
|
6851
|
+
invitationId: string;
|
|
6852
|
+
userId: string;
|
|
6853
|
+
authenticator: {
|
|
6854
|
+
authenticatorName: string;
|
|
6855
|
+
userId: string;
|
|
6856
|
+
attestation: {
|
|
6857
|
+
id: string;
|
|
6858
|
+
type: "public-key";
|
|
6859
|
+
rawId: string;
|
|
6860
|
+
authenticatorAttachment?: "cross-platform" | "platform" | null;
|
|
6861
|
+
response: {
|
|
6862
|
+
clientDataJson: string;
|
|
6863
|
+
attestationObject: string;
|
|
6864
|
+
transports?: ("AUTHENTICATOR_TRANSPORT_BLE" | "AUTHENTICATOR_TRANSPORT_INTERNAL" | "AUTHENTICATOR_TRANSPORT_NFC" | "AUTHENTICATOR_TRANSPORT_USB" | "AUTHENTICATOR_TRANSPORT_HYBRID")[];
|
|
6865
|
+
authenticatorAttachment?: "cross-platform" | "platform" | null;
|
|
6866
|
+
};
|
|
6867
|
+
clientExtensionResults: {
|
|
6868
|
+
appid?: boolean;
|
|
6869
|
+
appidExclude?: boolean;
|
|
6870
|
+
credProps?: {
|
|
6871
|
+
rk: boolean;
|
|
6872
|
+
};
|
|
6873
|
+
};
|
|
6874
|
+
};
|
|
6875
|
+
challenge: string;
|
|
6876
|
+
};
|
|
6877
|
+
};
|
|
6878
|
+
createPolicyIntent?: {
|
|
6879
|
+
policyName: string;
|
|
6880
|
+
selectors: {
|
|
6881
|
+
subject?: string;
|
|
6882
|
+
operator?: "OPERATOR_EQUAL" | "OPERATOR_MORE_THAN" | "OPERATOR_MORE_THAN_OR_EQUAL" | "OPERATOR_LESS_THAN" | "OPERATOR_LESS_THAN_OR_EQUAL" | "OPERATOR_CONTAINS" | "OPERATOR_NOT_EQUAL" | "OPERATOR_IN" | "OPERATOR_NOT_IN" | "OPERATOR_CONTAINS_ONE" | "OPERATOR_CONTAINS_ALL";
|
|
6883
|
+
target?: string;
|
|
6884
|
+
}[];
|
|
6885
|
+
effect: "EFFECT_ALLOW" | "EFFECT_DENY";
|
|
6886
|
+
notes?: string;
|
|
6887
|
+
};
|
|
6888
|
+
disablePrivateKeyIntent?: {
|
|
6889
|
+
privateKeyId: string;
|
|
6890
|
+
};
|
|
6891
|
+
deleteUsersIntent?: {
|
|
6892
|
+
userIds: string[];
|
|
6893
|
+
};
|
|
6894
|
+
deleteAuthenticatorsIntent?: {
|
|
6895
|
+
userId: string;
|
|
6896
|
+
authenticatorIds: string[];
|
|
6897
|
+
};
|
|
6898
|
+
deleteInvitationIntent?: {
|
|
6899
|
+
invitationId: string;
|
|
6900
|
+
};
|
|
6901
|
+
deleteOrganizationIntent?: {
|
|
6902
|
+
organizationId: string;
|
|
6903
|
+
};
|
|
6904
|
+
deletePolicyIntent?: {
|
|
6905
|
+
policyId: string;
|
|
6906
|
+
};
|
|
6907
|
+
/**
|
|
6908
|
+
* `POST /tkhq/public/v1/query/get_private_key`
|
|
6909
|
+
*
|
|
6910
|
+
* @deprecated
|
|
6911
|
+
*/
|
|
6912
|
+
createUserTagIntent?: {
|
|
6913
|
+
userTagName: string;
|
|
6914
|
+
userIds: string[];
|
|
6915
|
+
};
|
|
6916
|
+
deleteUserTagsIntent?: {
|
|
6917
|
+
userTagIds: string[];
|
|
6918
|
+
};
|
|
6919
|
+
signTransactionIntent?: {
|
|
6920
|
+
privateKeyId: string;
|
|
6921
|
+
unsignedTransaction: string;
|
|
6922
|
+
type: "TRANSACTION_TYPE_ETHEREUM";
|
|
6923
|
+
};
|
|
6924
|
+
createApiKeysIntent?: {
|
|
6925
|
+
apiKeys: {
|
|
6926
|
+
apiKeyName: string;
|
|
6927
|
+
publicKey: string;
|
|
6928
|
+
}[];
|
|
6929
|
+
userId: string;
|
|
6930
|
+
};
|
|
6931
|
+
deleteApiKeysIntent?: {
|
|
6932
|
+
userId: string;
|
|
6933
|
+
apiKeyIds: string[];
|
|
6934
|
+
};
|
|
6935
|
+
approveActivityIntent?: {
|
|
6936
|
+
fingerprint: string;
|
|
6937
|
+
};
|
|
6938
|
+
rejectActivityIntent?: {
|
|
6939
|
+
fingerprint: string;
|
|
6940
|
+
};
|
|
6941
|
+
createPrivateKeyTagIntent?: {
|
|
6942
|
+
privateKeyTagName: string;
|
|
6943
|
+
privateKeyIds: string[];
|
|
6944
|
+
};
|
|
6945
|
+
deletePrivateKeyTagsIntent?: {
|
|
6946
|
+
privateKeyTagIds: string[];
|
|
6947
|
+
};
|
|
6948
|
+
createPolicyIntentV2?: {
|
|
6949
|
+
policyName: string;
|
|
6950
|
+
selectors: {
|
|
6951
|
+
subject?: string;
|
|
6952
|
+
operator?: "OPERATOR_EQUAL" | "OPERATOR_MORE_THAN" | "OPERATOR_MORE_THAN_OR_EQUAL" | "OPERATOR_LESS_THAN" | "OPERATOR_LESS_THAN_OR_EQUAL" | "OPERATOR_CONTAINS" | "OPERATOR_NOT_EQUAL" | "OPERATOR_IN" | "OPERATOR_NOT_IN" | "OPERATOR_CONTAINS_ONE" | "OPERATOR_CONTAINS_ALL";
|
|
6953
|
+
targets?: string[];
|
|
6954
|
+
}[];
|
|
6955
|
+
effect: "EFFECT_ALLOW" | "EFFECT_DENY";
|
|
6956
|
+
notes?: string;
|
|
6957
|
+
};
|
|
6958
|
+
setPaymentMethodIntent?: {
|
|
6959
|
+
number: string;
|
|
6960
|
+
cvv: string;
|
|
6961
|
+
expiryMonth: string;
|
|
6962
|
+
expiryYear: string;
|
|
6963
|
+
cardHolderEmail: string;
|
|
6964
|
+
cardHolderName: string;
|
|
6965
|
+
};
|
|
6966
|
+
activateBillingTierIntent?: {
|
|
6967
|
+
productId: string;
|
|
6968
|
+
};
|
|
6969
|
+
deletePaymentMethodIntent?: {
|
|
6970
|
+
paymentMethodId: string;
|
|
6971
|
+
};
|
|
6972
|
+
createPolicyIntentV3?: {
|
|
6973
|
+
policyName: string;
|
|
6974
|
+
effect: "EFFECT_ALLOW" | "EFFECT_DENY";
|
|
6975
|
+
condition?: string;
|
|
6976
|
+
consensus?: string;
|
|
6977
|
+
notes?: string;
|
|
6978
|
+
};
|
|
6979
|
+
createApiOnlyUsersIntent?: {
|
|
6980
|
+
apiOnlyUsers: {
|
|
6981
|
+
userName: string;
|
|
6982
|
+
userEmail?: string;
|
|
6983
|
+
userTags: string[];
|
|
6984
|
+
apiKeys: {
|
|
6985
|
+
apiKeyName: string;
|
|
6986
|
+
publicKey: string;
|
|
6987
|
+
}[];
|
|
6988
|
+
}[];
|
|
6989
|
+
};
|
|
6990
|
+
updateRootQuorumIntent?: {
|
|
6991
|
+
threshold: number;
|
|
6992
|
+
userIds: string[];
|
|
6993
|
+
};
|
|
6994
|
+
updateUserTagIntent?: {
|
|
6995
|
+
userTagId: string;
|
|
6996
|
+
newUserTagName?: string;
|
|
6997
|
+
addUserIds: string[];
|
|
6998
|
+
removeUserIds: string[];
|
|
6999
|
+
};
|
|
7000
|
+
updatePrivateKeyTagIntent?: {
|
|
7001
|
+
privateKeyTagId: string;
|
|
7002
|
+
newPrivateKeyTagName?: string;
|
|
7003
|
+
addPrivateKeyIds: string[];
|
|
7004
|
+
removePrivateKeyIds: string[];
|
|
7005
|
+
};
|
|
7006
|
+
createAuthenticatorsIntentV2?: {
|
|
7007
|
+
authenticators: {
|
|
7008
|
+
authenticatorName: string;
|
|
7009
|
+
challenge: string;
|
|
7010
|
+
attestation: {
|
|
7011
|
+
credentialId: string;
|
|
7012
|
+
clientDataJson: string;
|
|
7013
|
+
attestationObject: string;
|
|
7014
|
+
transports: ("AUTHENTICATOR_TRANSPORT_BLE" | "AUTHENTICATOR_TRANSPORT_INTERNAL" | "AUTHENTICATOR_TRANSPORT_NFC" | "AUTHENTICATOR_TRANSPORT_USB" | "AUTHENTICATOR_TRANSPORT_HYBRID")[];
|
|
7015
|
+
};
|
|
7016
|
+
}[];
|
|
7017
|
+
userId: string;
|
|
7018
|
+
};
|
|
7019
|
+
acceptInvitationIntentV2?: {
|
|
7020
|
+
invitationId: string;
|
|
7021
|
+
userId: string;
|
|
7022
|
+
authenticator: {
|
|
7023
|
+
authenticatorName: string;
|
|
7024
|
+
challenge: string;
|
|
7025
|
+
attestation: {
|
|
7026
|
+
credentialId: string;
|
|
7027
|
+
clientDataJson: string;
|
|
7028
|
+
attestationObject: string;
|
|
7029
|
+
transports: ("AUTHENTICATOR_TRANSPORT_BLE" | "AUTHENTICATOR_TRANSPORT_INTERNAL" | "AUTHENTICATOR_TRANSPORT_NFC" | "AUTHENTICATOR_TRANSPORT_USB" | "AUTHENTICATOR_TRANSPORT_HYBRID")[];
|
|
7030
|
+
};
|
|
7031
|
+
};
|
|
7032
|
+
};
|
|
7033
|
+
createOrganizationIntentV2?: {
|
|
7034
|
+
organizationName: string;
|
|
7035
|
+
rootEmail: string;
|
|
7036
|
+
rootAuthenticator: {
|
|
7037
|
+
authenticatorName: string;
|
|
7038
|
+
challenge: string;
|
|
7039
|
+
attestation: {
|
|
7040
|
+
credentialId: string;
|
|
7041
|
+
clientDataJson: string;
|
|
7042
|
+
attestationObject: string;
|
|
7043
|
+
transports: ("AUTHENTICATOR_TRANSPORT_BLE" | "AUTHENTICATOR_TRANSPORT_INTERNAL" | "AUTHENTICATOR_TRANSPORT_NFC" | "AUTHENTICATOR_TRANSPORT_USB" | "AUTHENTICATOR_TRANSPORT_HYBRID")[];
|
|
7044
|
+
};
|
|
7045
|
+
};
|
|
7046
|
+
rootUserId?: string;
|
|
7047
|
+
};
|
|
7048
|
+
createUsersIntentV2?: {
|
|
7049
|
+
users: {
|
|
7050
|
+
userName: string;
|
|
7051
|
+
userEmail?: string;
|
|
7052
|
+
accessType: "ACCESS_TYPE_WEB" | "ACCESS_TYPE_API" | "ACCESS_TYPE_ALL";
|
|
7053
|
+
apiKeys: {
|
|
7054
|
+
apiKeyName: string;
|
|
7055
|
+
publicKey: string;
|
|
7056
|
+
}[];
|
|
7057
|
+
authenticators: {
|
|
7058
|
+
authenticatorName: string;
|
|
7059
|
+
challenge: string;
|
|
7060
|
+
attestation: {
|
|
7061
|
+
credentialId: string;
|
|
7062
|
+
clientDataJson: string;
|
|
7063
|
+
attestationObject: string;
|
|
7064
|
+
transports: ("AUTHENTICATOR_TRANSPORT_BLE" | "AUTHENTICATOR_TRANSPORT_INTERNAL" | "AUTHENTICATOR_TRANSPORT_NFC" | "AUTHENTICATOR_TRANSPORT_USB" | "AUTHENTICATOR_TRANSPORT_HYBRID")[];
|
|
7065
|
+
};
|
|
7066
|
+
}[];
|
|
7067
|
+
userTags: string[];
|
|
7068
|
+
}[];
|
|
7069
|
+
};
|
|
7070
|
+
createSubOrganizationIntent?: {
|
|
7071
|
+
name: string;
|
|
7072
|
+
rootAuthenticator: {
|
|
7073
|
+
authenticatorName: string;
|
|
7074
|
+
challenge: string;
|
|
7075
|
+
attestation: {
|
|
7076
|
+
credentialId: string;
|
|
7077
|
+
clientDataJson: string;
|
|
7078
|
+
attestationObject: string;
|
|
7079
|
+
transports: ("AUTHENTICATOR_TRANSPORT_BLE" | "AUTHENTICATOR_TRANSPORT_INTERNAL" | "AUTHENTICATOR_TRANSPORT_NFC" | "AUTHENTICATOR_TRANSPORT_USB" | "AUTHENTICATOR_TRANSPORT_HYBRID")[];
|
|
7080
|
+
};
|
|
7081
|
+
};
|
|
7082
|
+
};
|
|
7083
|
+
createSubOrganizationIntentV2?: {
|
|
7084
|
+
subOrganizationName: string;
|
|
7085
|
+
rootUsers: {
|
|
7086
|
+
userName: string;
|
|
7087
|
+
userEmail?: string;
|
|
7088
|
+
apiKeys: {
|
|
7089
|
+
apiKeyName: string;
|
|
7090
|
+
publicKey: string;
|
|
7091
|
+
}[];
|
|
7092
|
+
authenticators: {
|
|
7093
|
+
authenticatorName: string;
|
|
7094
|
+
challenge: string;
|
|
7095
|
+
attestation: {
|
|
7096
|
+
credentialId: string;
|
|
7097
|
+
clientDataJson: string;
|
|
7098
|
+
attestationObject: string;
|
|
7099
|
+
transports: ("AUTHENTICATOR_TRANSPORT_BLE" | "AUTHENTICATOR_TRANSPORT_INTERNAL" | "AUTHENTICATOR_TRANSPORT_NFC" | "AUTHENTICATOR_TRANSPORT_USB" | "AUTHENTICATOR_TRANSPORT_HYBRID")[];
|
|
7100
|
+
};
|
|
7101
|
+
}[];
|
|
7102
|
+
}[];
|
|
7103
|
+
rootQuorumThreshold: number;
|
|
7104
|
+
};
|
|
7105
|
+
updateAllowedOriginsIntent?: {
|
|
7106
|
+
allowedOrigins: string[];
|
|
7107
|
+
};
|
|
7108
|
+
createPrivateKeysIntentV2?: {
|
|
7109
|
+
privateKeys: {
|
|
7110
|
+
privateKeyName: string;
|
|
7111
|
+
curve: "CURVE_SECP256K1" | "CURVE_ED25519";
|
|
7112
|
+
privateKeyTags: string[];
|
|
7113
|
+
addressFormats: ("ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM")[];
|
|
7114
|
+
}[];
|
|
7115
|
+
};
|
|
7116
|
+
};
|
|
7117
|
+
result: {
|
|
7118
|
+
createOrganizationResult?: {
|
|
7119
|
+
organizationId: string;
|
|
7120
|
+
};
|
|
7121
|
+
createAuthenticatorsResult?: {
|
|
7122
|
+
authenticatorIds: string[];
|
|
7123
|
+
};
|
|
7124
|
+
createUsersResult?: {
|
|
7125
|
+
userIds: string[];
|
|
7126
|
+
};
|
|
7127
|
+
createPrivateKeysResult?: {
|
|
7128
|
+
privateKeyIds: string[];
|
|
7129
|
+
};
|
|
7130
|
+
createInvitationsResult?: {
|
|
7131
|
+
invitationIds: string[];
|
|
7132
|
+
};
|
|
7133
|
+
acceptInvitationResult?: {
|
|
7134
|
+
invitationId: string;
|
|
7135
|
+
userId: string;
|
|
7136
|
+
};
|
|
7137
|
+
signRawPayloadResult?: {
|
|
7138
|
+
r: string;
|
|
7139
|
+
s: string;
|
|
7140
|
+
v: string;
|
|
7141
|
+
};
|
|
7142
|
+
createPolicyResult?: {
|
|
7143
|
+
policyId: string;
|
|
7144
|
+
};
|
|
7145
|
+
disablePrivateKeyResult?: {
|
|
7146
|
+
privateKeyId: string;
|
|
7147
|
+
};
|
|
7148
|
+
deleteUsersResult?: {
|
|
7149
|
+
userIds: string[];
|
|
7150
|
+
};
|
|
7151
|
+
deleteAuthenticatorsResult?: {
|
|
7152
|
+
authenticatorIds: string[];
|
|
7153
|
+
};
|
|
7154
|
+
deleteInvitationResult?: {
|
|
7155
|
+
invitationId: string;
|
|
7156
|
+
};
|
|
7157
|
+
deleteOrganizationResult?: {
|
|
7158
|
+
organizationId: string;
|
|
7159
|
+
};
|
|
7160
|
+
deletePolicyResult?: {
|
|
7161
|
+
policyId: string;
|
|
7162
|
+
};
|
|
7163
|
+
createUserTagResult?: {
|
|
7164
|
+
userTagId: string;
|
|
7165
|
+
userIds: string[];
|
|
7166
|
+
};
|
|
7167
|
+
deleteUserTagsResult?: {
|
|
7168
|
+
userTagIds: string[];
|
|
7169
|
+
userIds: string[];
|
|
7170
|
+
};
|
|
7171
|
+
signTransactionResult?: {
|
|
7172
|
+
signedTransaction: string;
|
|
7173
|
+
};
|
|
7174
|
+
deleteApiKeysResult?: {
|
|
7175
|
+
apiKeyIds: string[];
|
|
7176
|
+
};
|
|
7177
|
+
createApiKeysResult?: {
|
|
7178
|
+
apiKeyIds: string[];
|
|
7179
|
+
};
|
|
7180
|
+
createPrivateKeyTagResult?: {
|
|
7181
|
+
privateKeyTagId: string;
|
|
7182
|
+
privateKeyIds: string[];
|
|
7183
|
+
};
|
|
7184
|
+
deletePrivateKeyTagsResult?: {
|
|
7185
|
+
privateKeyTagIds: string[];
|
|
7186
|
+
privateKeyIds: string[];
|
|
7187
|
+
};
|
|
7188
|
+
setPaymentMethodResult?: {
|
|
7189
|
+
lastFour: string;
|
|
7190
|
+
cardHolderName: string;
|
|
7191
|
+
cardHolderEmail: string;
|
|
7192
|
+
};
|
|
7193
|
+
activateBillingTierResult?: {
|
|
7194
|
+
productId: string;
|
|
7195
|
+
};
|
|
7196
|
+
deletePaymentMethodResult?: {
|
|
7197
|
+
paymentMethodId: string;
|
|
7198
|
+
};
|
|
7199
|
+
createApiOnlyUsersResult?: {
|
|
7200
|
+
userIds: string[];
|
|
7201
|
+
};
|
|
7202
|
+
updateRootQuorumResult?: {
|
|
7203
|
+
[key: string]: unknown;
|
|
7204
|
+
};
|
|
7205
|
+
updateUserTagResult?: {
|
|
7206
|
+
userTagId: string;
|
|
7207
|
+
};
|
|
7208
|
+
updatePrivateKeyTagResult?: {
|
|
7209
|
+
privateKeyTagId: string;
|
|
7210
|
+
};
|
|
7211
|
+
createSubOrganizationResult?: {
|
|
7212
|
+
subOrganizationId: string;
|
|
7213
|
+
};
|
|
7214
|
+
updateAllowedOriginsResult?: {
|
|
7215
|
+
[key: string]: unknown;
|
|
7216
|
+
};
|
|
7217
|
+
createPrivateKeysResultV2?: {
|
|
7218
|
+
privateKeys: {
|
|
7219
|
+
privateKeyId?: string;
|
|
7220
|
+
addresses?: {
|
|
7221
|
+
format?: "ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM";
|
|
7222
|
+
address?: string;
|
|
7223
|
+
}[];
|
|
7224
|
+
}[];
|
|
7225
|
+
};
|
|
7226
|
+
};
|
|
7227
|
+
votes: {
|
|
7228
|
+
id: string;
|
|
7229
|
+
userId: string;
|
|
7230
|
+
user: {
|
|
7231
|
+
userId: string;
|
|
7232
|
+
userName: string;
|
|
7233
|
+
userEmail?: string;
|
|
7234
|
+
accessType: "ACCESS_TYPE_WEB" | "ACCESS_TYPE_API" | "ACCESS_TYPE_ALL";
|
|
7235
|
+
authenticators: {
|
|
7236
|
+
transports: ("AUTHENTICATOR_TRANSPORT_BLE" | "AUTHENTICATOR_TRANSPORT_INTERNAL" | "AUTHENTICATOR_TRANSPORT_NFC" | "AUTHENTICATOR_TRANSPORT_USB" | "AUTHENTICATOR_TRANSPORT_HYBRID")[];
|
|
7237
|
+
attestationType: string;
|
|
7238
|
+
aaguid: string;
|
|
7239
|
+
credentialId: string;
|
|
7240
|
+
model: string;
|
|
7241
|
+
credential: {
|
|
7242
|
+
publicKey: string;
|
|
7243
|
+
type: "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR" | "CREDENTIAL_TYPE_API_KEY_P256";
|
|
7244
|
+
};
|
|
7245
|
+
authenticatorId: string;
|
|
7246
|
+
authenticatorName: string;
|
|
7247
|
+
createdAt: {
|
|
7248
|
+
seconds: string;
|
|
7249
|
+
nanos: string;
|
|
7250
|
+
};
|
|
7251
|
+
updatedAt: {
|
|
7252
|
+
seconds: string;
|
|
7253
|
+
nanos: string;
|
|
7254
|
+
};
|
|
7255
|
+
}[];
|
|
7256
|
+
apiKeys: {
|
|
7257
|
+
credential: {
|
|
7258
|
+
publicKey: string;
|
|
7259
|
+
type: "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR" | "CREDENTIAL_TYPE_API_KEY_P256";
|
|
7260
|
+
};
|
|
7261
|
+
apiKeyId: string;
|
|
7262
|
+
apiKeyName: string;
|
|
7263
|
+
createdAt: {
|
|
7264
|
+
seconds: string;
|
|
7265
|
+
nanos: string;
|
|
7266
|
+
};
|
|
7267
|
+
updatedAt: {
|
|
7268
|
+
seconds: string;
|
|
7269
|
+
nanos: string;
|
|
7270
|
+
};
|
|
7271
|
+
}[];
|
|
7272
|
+
userTags: string[];
|
|
7273
|
+
createdAt: {
|
|
7274
|
+
seconds: string;
|
|
7275
|
+
nanos: string;
|
|
7276
|
+
};
|
|
7277
|
+
updatedAt: {
|
|
7278
|
+
seconds: string;
|
|
7279
|
+
nanos: string;
|
|
7280
|
+
};
|
|
7281
|
+
};
|
|
7282
|
+
activityId: string;
|
|
7283
|
+
selection: "VOTE_SELECTION_APPROVED" | "VOTE_SELECTION_REJECTED";
|
|
7284
|
+
message: string;
|
|
7285
|
+
publicKey: string;
|
|
7286
|
+
signature: string;
|
|
7287
|
+
scheme: string;
|
|
7288
|
+
createdAt: {
|
|
7289
|
+
seconds: string;
|
|
7290
|
+
nanos: string;
|
|
7291
|
+
};
|
|
7292
|
+
}[];
|
|
7293
|
+
fingerprint: string;
|
|
7294
|
+
canApprove: boolean;
|
|
7295
|
+
canReject: boolean;
|
|
7296
|
+
createdAt: {
|
|
7297
|
+
seconds: string;
|
|
7298
|
+
nanos: string;
|
|
7299
|
+
};
|
|
7300
|
+
updatedAt: {
|
|
7301
|
+
seconds: string;
|
|
7302
|
+
nanos: string;
|
|
7303
|
+
};
|
|
7304
|
+
};
|
|
7305
|
+
}>;
|
|
7306
|
+
/**
|
|
7307
|
+
* Create Sub-Organization
|
|
7308
|
+
*
|
|
7309
|
+
* Create a new Sub-Organization
|
|
7310
|
+
*/
|
|
7311
|
+
export declare const federatedPostCreateSubOrganization: (input: TPostCreateSubOrganizationInput, options?: TurnkeyCredentialRequestOptions) => Promise<import("../../../../..").FederatedRequest>;
|
|
7312
|
+
/**
|
|
7313
|
+
* `POST /public/v1/submit/create_user_tag`
|
|
7314
|
+
*/
|
|
7315
|
+
type TPostCreateUserTagBody = operations["PublicApiService_CreateUserTag"]["parameters"]["body"]["body"];
|
|
7316
|
+
/**
|
|
7317
|
+
* `POST /public/v1/submit/create_user_tag`
|
|
7318
|
+
*/
|
|
7319
|
+
export type TPostCreateUserTagResponse = operations["PublicApiService_CreateUserTag"]["responses"]["200"]["schema"];
|
|
7320
|
+
/**
|
|
7321
|
+
* `POST /public/v1/submit/create_user_tag`
|
|
7322
|
+
*/
|
|
7323
|
+
export type TPostCreateUserTagInput = {
|
|
7324
|
+
body: TPostCreateUserTagBody;
|
|
7325
|
+
};
|
|
7326
|
+
/**
|
|
7327
|
+
* Create User Tag
|
|
7328
|
+
*
|
|
7329
|
+
* Create a user tag and add it to users.
|
|
7330
|
+
*
|
|
7331
|
+
* `POST /public/v1/submit/create_user_tag`
|
|
7332
|
+
*/
|
|
7333
|
+
export declare const postCreateUserTag: (input: TPostCreateUserTagInput) => Promise<{
|
|
7334
|
+
activity: {
|
|
7335
|
+
id: string;
|
|
7336
|
+
organizationId: string;
|
|
7337
|
+
status: "ACTIVITY_STATUS_CREATED" | "ACTIVITY_STATUS_PENDING" | "ACTIVITY_STATUS_COMPLETED" | "ACTIVITY_STATUS_FAILED" | "ACTIVITY_STATUS_CONSENSUS_NEEDED" | "ACTIVITY_STATUS_REJECTED";
|
|
7338
|
+
type: "ACTIVITY_TYPE_CREATE_API_KEYS" | "ACTIVITY_TYPE_CREATE_USERS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD" | "ACTIVITY_TYPE_CREATE_INVITATIONS" | "ACTIVITY_TYPE_ACCEPT_INVITATION" | "ACTIVITY_TYPE_CREATE_POLICY" | "ACTIVITY_TYPE_DISABLE_PRIVATE_KEY" | "ACTIVITY_TYPE_DELETE_USERS" | "ACTIVITY_TYPE_DELETE_API_KEYS" | "ACTIVITY_TYPE_DELETE_INVITATION" | "ACTIVITY_TYPE_DELETE_ORGANIZATION" | "ACTIVITY_TYPE_DELETE_POLICY" | "ACTIVITY_TYPE_CREATE_USER_TAG" | "ACTIVITY_TYPE_DELETE_USER_TAGS" | "ACTIVITY_TYPE_CREATE_ORGANIZATION" | "ACTIVITY_TYPE_SIGN_TRANSACTION" | "ACTIVITY_TYPE_APPROVE_ACTIVITY" | "ACTIVITY_TYPE_REJECT_ACTIVITY" | "ACTIVITY_TYPE_DELETE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS" | "ACTIVITY_TYPE_SET_PAYMENT_METHOD" | "ACTIVITY_TYPE_ACTIVATE_BILLING_TIER" | "ACTIVITY_TYPE_DELETE_PAYMENT_METHOD" | "ACTIVITY_TYPE_CREATE_POLICY_V2" | "ACTIVITY_TYPE_CREATE_POLICY_V3" | "ACTIVITY_TYPE_CREATE_API_ONLY_USERS" | "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM" | "ACTIVITY_TYPE_UPDATE_USER_TAG" | "ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS_V2" | "ACTIVITY_TYPE_CREATE_ORGANIZATION_V2" | "ACTIVITY_TYPE_CREATE_USERS_V2" | "ACTIVITY_TYPE_ACCEPT_INVITATION_V2" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V2" | "ACTIVITY_TYPE_UPDATE_ALLOWED_ORIGINS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS_V2";
|
|
7339
|
+
intent: {
|
|
7340
|
+
createOrganizationIntent: {
|
|
7341
|
+
organizationName: string;
|
|
7342
|
+
rootEmail: string;
|
|
7343
|
+
rootAuthenticator: {
|
|
7344
|
+
authenticatorName: string;
|
|
7345
|
+
userId: string;
|
|
7346
|
+
attestation: {
|
|
7347
|
+
id: string;
|
|
7348
|
+
type: "public-key";
|
|
7349
|
+
rawId: string;
|
|
7350
|
+
authenticatorAttachment?: "cross-platform" | "platform" | null;
|
|
7351
|
+
response: {
|
|
7352
|
+
clientDataJson: string;
|
|
7353
|
+
attestationObject: string;
|
|
7354
|
+
transports?: ("AUTHENTICATOR_TRANSPORT_BLE" | "AUTHENTICATOR_TRANSPORT_INTERNAL" | "AUTHENTICATOR_TRANSPORT_NFC" | "AUTHENTICATOR_TRANSPORT_USB" | "AUTHENTICATOR_TRANSPORT_HYBRID")[];
|
|
7355
|
+
authenticatorAttachment?: "cross-platform" | "platform" | null;
|
|
7356
|
+
};
|
|
7357
|
+
clientExtensionResults: {
|
|
7358
|
+
appid?: boolean;
|
|
7359
|
+
appidExclude?: boolean;
|
|
7360
|
+
credProps?: {
|
|
7361
|
+
rk: boolean;
|
|
7362
|
+
};
|
|
7363
|
+
};
|
|
7364
|
+
};
|
|
7365
|
+
challenge: string;
|
|
7366
|
+
};
|
|
7367
|
+
rootUserId?: string;
|
|
7368
|
+
};
|
|
7369
|
+
createAuthenticatorsIntent?: {
|
|
7370
|
+
authenticators: {
|
|
7371
|
+
authenticatorName: string;
|
|
7372
|
+
userId: string;
|
|
7373
|
+
attestation: {
|
|
7374
|
+
id: string;
|
|
7375
|
+
type: "public-key";
|
|
7376
|
+
rawId: string;
|
|
7377
|
+
authenticatorAttachment?: "cross-platform" | "platform" | null;
|
|
7378
|
+
response: {
|
|
7379
|
+
clientDataJson: string;
|
|
7380
|
+
attestationObject: string;
|
|
7381
|
+
transports?: ("AUTHENTICATOR_TRANSPORT_BLE" | "AUTHENTICATOR_TRANSPORT_INTERNAL" | "AUTHENTICATOR_TRANSPORT_NFC" | "AUTHENTICATOR_TRANSPORT_USB" | "AUTHENTICATOR_TRANSPORT_HYBRID")[];
|
|
7382
|
+
authenticatorAttachment?: "cross-platform" | "platform" | null;
|
|
7383
|
+
};
|
|
7384
|
+
clientExtensionResults: {
|
|
7385
|
+
appid?: boolean;
|
|
7386
|
+
appidExclude?: boolean;
|
|
7387
|
+
credProps?: {
|
|
7388
|
+
rk: boolean;
|
|
7389
|
+
};
|
|
7390
|
+
};
|
|
7391
|
+
};
|
|
7392
|
+
challenge: string;
|
|
7393
|
+
}[];
|
|
7394
|
+
userId: string;
|
|
7395
|
+
};
|
|
7396
|
+
createUsersIntent?: {
|
|
7397
|
+
users: {
|
|
7398
|
+
userName: string;
|
|
7399
|
+
userEmail?: string;
|
|
7400
|
+
accessType: "ACCESS_TYPE_WEB" | "ACCESS_TYPE_API" | "ACCESS_TYPE_ALL";
|
|
7401
|
+
apiKeys: {
|
|
7402
|
+
apiKeyName: string;
|
|
7403
|
+
publicKey: string;
|
|
7404
|
+
}[];
|
|
7405
|
+
authenticators: {
|
|
7406
|
+
authenticatorName: string;
|
|
7407
|
+
userId: string;
|
|
7408
|
+
attestation: {
|
|
7409
|
+
id: string;
|
|
7410
|
+
type: "public-key";
|
|
7411
|
+
rawId: string;
|
|
7412
|
+
authenticatorAttachment?: "cross-platform" | "platform" | null;
|
|
7413
|
+
response: {
|
|
7414
|
+
clientDataJson: string;
|
|
7415
|
+
attestationObject: string;
|
|
7416
|
+
transports?: ("AUTHENTICATOR_TRANSPORT_BLE" | "AUTHENTICATOR_TRANSPORT_INTERNAL" | "AUTHENTICATOR_TRANSPORT_NFC" | "AUTHENTICATOR_TRANSPORT_USB" | "AUTHENTICATOR_TRANSPORT_HYBRID")[];
|
|
7417
|
+
authenticatorAttachment?: "cross-platform" | "platform" | null;
|
|
7418
|
+
};
|
|
7419
|
+
clientExtensionResults: {
|
|
7420
|
+
appid?: boolean;
|
|
7421
|
+
appidExclude?: boolean;
|
|
7422
|
+
credProps?: {
|
|
7423
|
+
rk: boolean;
|
|
7424
|
+
};
|
|
7425
|
+
};
|
|
7426
|
+
};
|
|
7427
|
+
challenge: string;
|
|
7428
|
+
}[];
|
|
7429
|
+
userTags: string[];
|
|
7430
|
+
}[];
|
|
7431
|
+
};
|
|
7432
|
+
createPrivateKeysIntent?: {
|
|
7433
|
+
privateKeys: {
|
|
7434
|
+
privateKeyName: string;
|
|
7435
|
+
curve: "CURVE_SECP256K1" | "CURVE_ED25519";
|
|
7436
|
+
privateKeyTags: string[];
|
|
7437
|
+
addressFormats: ("ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM")[];
|
|
7438
|
+
}[];
|
|
7439
|
+
};
|
|
7440
|
+
signRawPayloadIntent?: {
|
|
7441
|
+
privateKeyId: string;
|
|
7442
|
+
payload: string;
|
|
7443
|
+
encoding: "PAYLOAD_ENCODING_HEXADECIMAL" | "PAYLOAD_ENCODING_TEXT_UTF8";
|
|
7444
|
+
hashFunction: "HASH_FUNCTION_NO_OP" | "HASH_FUNCTION_SHA256" | "HASH_FUNCTION_KECCAK256" | "HASH_FUNCTION_NOT_APPLICABLE";
|
|
7445
|
+
};
|
|
7446
|
+
createInvitationsIntent?: {
|
|
7447
|
+
invitations: {
|
|
7448
|
+
receiverUserName: string;
|
|
7449
|
+
receiverUserEmail: string;
|
|
7450
|
+
receiverUserTags: string[];
|
|
7451
|
+
accessType: "ACCESS_TYPE_WEB" | "ACCESS_TYPE_API" | "ACCESS_TYPE_ALL";
|
|
7452
|
+
senderUserId: string;
|
|
7453
|
+
}[];
|
|
7454
|
+
};
|
|
7455
|
+
acceptInvitationIntent?: {
|
|
7456
|
+
invitationId: string;
|
|
7457
|
+
userId: string;
|
|
7458
|
+
authenticator: {
|
|
7459
|
+
authenticatorName: string;
|
|
7460
|
+
userId: string;
|
|
7461
|
+
attestation: {
|
|
7462
|
+
id: string;
|
|
7463
|
+
type: "public-key";
|
|
7464
|
+
rawId: string;
|
|
7465
|
+
authenticatorAttachment?: "cross-platform" | "platform" | null;
|
|
7466
|
+
response: {
|
|
7467
|
+
clientDataJson: string;
|
|
7468
|
+
attestationObject: string;
|
|
7469
|
+
transports?: ("AUTHENTICATOR_TRANSPORT_BLE" | "AUTHENTICATOR_TRANSPORT_INTERNAL" | "AUTHENTICATOR_TRANSPORT_NFC" | "AUTHENTICATOR_TRANSPORT_USB" | "AUTHENTICATOR_TRANSPORT_HYBRID")[];
|
|
7470
|
+
authenticatorAttachment?: "cross-platform" | "platform" | null;
|
|
7471
|
+
};
|
|
7472
|
+
clientExtensionResults: {
|
|
7473
|
+
appid?: boolean;
|
|
7474
|
+
appidExclude?: boolean;
|
|
7475
|
+
credProps?: {
|
|
7476
|
+
rk: boolean;
|
|
7477
|
+
};
|
|
7478
|
+
};
|
|
7479
|
+
};
|
|
7480
|
+
challenge: string;
|
|
7481
|
+
};
|
|
7482
|
+
};
|
|
7483
|
+
createPolicyIntent?: {
|
|
7484
|
+
policyName: string;
|
|
7485
|
+
selectors: {
|
|
7486
|
+
subject?: string;
|
|
7487
|
+
operator?: "OPERATOR_EQUAL" | "OPERATOR_MORE_THAN" | "OPERATOR_MORE_THAN_OR_EQUAL" | "OPERATOR_LESS_THAN" | "OPERATOR_LESS_THAN_OR_EQUAL" | "OPERATOR_CONTAINS" | "OPERATOR_NOT_EQUAL" | "OPERATOR_IN" | "OPERATOR_NOT_IN" | "OPERATOR_CONTAINS_ONE" | "OPERATOR_CONTAINS_ALL";
|
|
7488
|
+
target?: string;
|
|
7489
|
+
}[];
|
|
7490
|
+
effect: "EFFECT_ALLOW" | "EFFECT_DENY";
|
|
7491
|
+
notes?: string;
|
|
7492
|
+
};
|
|
7493
|
+
disablePrivateKeyIntent?: {
|
|
7494
|
+
privateKeyId: string;
|
|
7495
|
+
};
|
|
7496
|
+
deleteUsersIntent?: {
|
|
7497
|
+
userIds: string[];
|
|
7498
|
+
};
|
|
7499
|
+
deleteAuthenticatorsIntent?: {
|
|
7500
|
+
userId: string;
|
|
7501
|
+
authenticatorIds: string[];
|
|
7502
|
+
};
|
|
7503
|
+
deleteInvitationIntent?: {
|
|
7504
|
+
invitationId: string;
|
|
7505
|
+
};
|
|
7506
|
+
deleteOrganizationIntent?: {
|
|
7507
|
+
organizationId: string;
|
|
7508
|
+
};
|
|
7509
|
+
deletePolicyIntent?: {
|
|
7510
|
+
policyId: string;
|
|
7511
|
+
};
|
|
7512
|
+
/**
|
|
7513
|
+
* `POST /tkhq/public/v1/query/get_private_key`
|
|
7514
|
+
*
|
|
7515
|
+
* @deprecated
|
|
7516
|
+
*/
|
|
7517
|
+
createUserTagIntent?: {
|
|
7518
|
+
userTagName: string;
|
|
7519
|
+
userIds: string[];
|
|
7520
|
+
};
|
|
7521
|
+
deleteUserTagsIntent?: {
|
|
7522
|
+
userTagIds: string[];
|
|
7523
|
+
};
|
|
7524
|
+
signTransactionIntent?: {
|
|
7525
|
+
privateKeyId: string;
|
|
7526
|
+
unsignedTransaction: string;
|
|
7527
|
+
type: "TRANSACTION_TYPE_ETHEREUM";
|
|
7528
|
+
};
|
|
7529
|
+
createApiKeysIntent?: {
|
|
7530
|
+
apiKeys: {
|
|
7531
|
+
apiKeyName: string;
|
|
7532
|
+
publicKey: string;
|
|
7533
|
+
}[];
|
|
7534
|
+
userId: string;
|
|
7535
|
+
};
|
|
7536
|
+
deleteApiKeysIntent?: {
|
|
7537
|
+
userId: string;
|
|
7538
|
+
apiKeyIds: string[];
|
|
7539
|
+
};
|
|
7540
|
+
approveActivityIntent?: {
|
|
7541
|
+
fingerprint: string;
|
|
7542
|
+
};
|
|
7543
|
+
rejectActivityIntent?: {
|
|
7544
|
+
fingerprint: string;
|
|
7545
|
+
};
|
|
7546
|
+
createPrivateKeyTagIntent?: {
|
|
7547
|
+
privateKeyTagName: string;
|
|
7548
|
+
privateKeyIds: string[];
|
|
7549
|
+
};
|
|
7550
|
+
deletePrivateKeyTagsIntent?: {
|
|
7551
|
+
privateKeyTagIds: string[];
|
|
7552
|
+
};
|
|
7553
|
+
createPolicyIntentV2?: {
|
|
7554
|
+
policyName: string;
|
|
7555
|
+
selectors: {
|
|
7556
|
+
subject?: string;
|
|
7557
|
+
operator?: "OPERATOR_EQUAL" | "OPERATOR_MORE_THAN" | "OPERATOR_MORE_THAN_OR_EQUAL" | "OPERATOR_LESS_THAN" | "OPERATOR_LESS_THAN_OR_EQUAL" | "OPERATOR_CONTAINS" | "OPERATOR_NOT_EQUAL" | "OPERATOR_IN" | "OPERATOR_NOT_IN" | "OPERATOR_CONTAINS_ONE" | "OPERATOR_CONTAINS_ALL";
|
|
7558
|
+
targets?: string[];
|
|
7559
|
+
}[];
|
|
7560
|
+
effect: "EFFECT_ALLOW" | "EFFECT_DENY";
|
|
7561
|
+
notes?: string;
|
|
7562
|
+
};
|
|
7563
|
+
setPaymentMethodIntent?: {
|
|
7564
|
+
number: string;
|
|
7565
|
+
cvv: string;
|
|
7566
|
+
expiryMonth: string;
|
|
7567
|
+
expiryYear: string;
|
|
7568
|
+
cardHolderEmail: string;
|
|
7569
|
+
cardHolderName: string;
|
|
7570
|
+
};
|
|
7571
|
+
activateBillingTierIntent?: {
|
|
7572
|
+
productId: string;
|
|
7573
|
+
};
|
|
7574
|
+
deletePaymentMethodIntent?: {
|
|
7575
|
+
paymentMethodId: string;
|
|
7576
|
+
};
|
|
7577
|
+
createPolicyIntentV3?: {
|
|
7578
|
+
policyName: string;
|
|
7579
|
+
effect: "EFFECT_ALLOW" | "EFFECT_DENY";
|
|
7580
|
+
condition?: string;
|
|
7581
|
+
consensus?: string;
|
|
7582
|
+
notes?: string;
|
|
7583
|
+
};
|
|
7584
|
+
createApiOnlyUsersIntent?: {
|
|
7585
|
+
apiOnlyUsers: {
|
|
7586
|
+
userName: string;
|
|
7587
|
+
userEmail?: string;
|
|
7588
|
+
userTags: string[];
|
|
7589
|
+
apiKeys: {
|
|
7590
|
+
apiKeyName: string;
|
|
7591
|
+
publicKey: string;
|
|
7592
|
+
}[];
|
|
7593
|
+
}[];
|
|
7594
|
+
};
|
|
7595
|
+
updateRootQuorumIntent?: {
|
|
7596
|
+
threshold: number;
|
|
7597
|
+
userIds: string[];
|
|
7598
|
+
};
|
|
7599
|
+
updateUserTagIntent?: {
|
|
7600
|
+
userTagId: string;
|
|
7601
|
+
newUserTagName?: string;
|
|
7602
|
+
addUserIds: string[];
|
|
7603
|
+
removeUserIds: string[];
|
|
7604
|
+
};
|
|
7605
|
+
updatePrivateKeyTagIntent?: {
|
|
7606
|
+
privateKeyTagId: string;
|
|
7607
|
+
newPrivateKeyTagName?: string;
|
|
7608
|
+
addPrivateKeyIds: string[];
|
|
7609
|
+
removePrivateKeyIds: string[];
|
|
7610
|
+
};
|
|
7611
|
+
createAuthenticatorsIntentV2?: {
|
|
7612
|
+
authenticators: {
|
|
7613
|
+
authenticatorName: string;
|
|
7614
|
+
challenge: string;
|
|
7615
|
+
attestation: {
|
|
7616
|
+
credentialId: string;
|
|
7617
|
+
clientDataJson: string;
|
|
7618
|
+
attestationObject: string;
|
|
7619
|
+
transports: ("AUTHENTICATOR_TRANSPORT_BLE" | "AUTHENTICATOR_TRANSPORT_INTERNAL" | "AUTHENTICATOR_TRANSPORT_NFC" | "AUTHENTICATOR_TRANSPORT_USB" | "AUTHENTICATOR_TRANSPORT_HYBRID")[];
|
|
7620
|
+
};
|
|
7621
|
+
}[];
|
|
7622
|
+
userId: string;
|
|
7623
|
+
};
|
|
7624
|
+
acceptInvitationIntentV2?: {
|
|
7625
|
+
invitationId: string;
|
|
7626
|
+
userId: string;
|
|
7627
|
+
authenticator: {
|
|
7628
|
+
authenticatorName: string;
|
|
7629
|
+
challenge: string;
|
|
7630
|
+
attestation: {
|
|
7631
|
+
credentialId: string;
|
|
7632
|
+
clientDataJson: string;
|
|
7633
|
+
attestationObject: string;
|
|
7634
|
+
transports: ("AUTHENTICATOR_TRANSPORT_BLE" | "AUTHENTICATOR_TRANSPORT_INTERNAL" | "AUTHENTICATOR_TRANSPORT_NFC" | "AUTHENTICATOR_TRANSPORT_USB" | "AUTHENTICATOR_TRANSPORT_HYBRID")[];
|
|
7635
|
+
};
|
|
7636
|
+
};
|
|
7637
|
+
};
|
|
7638
|
+
createOrganizationIntentV2?: {
|
|
7639
|
+
organizationName: string;
|
|
7640
|
+
rootEmail: string;
|
|
7641
|
+
rootAuthenticator: {
|
|
7642
|
+
authenticatorName: string;
|
|
7643
|
+
challenge: string;
|
|
7644
|
+
attestation: {
|
|
7645
|
+
credentialId: string;
|
|
7646
|
+
clientDataJson: string;
|
|
7647
|
+
attestationObject: string;
|
|
7648
|
+
transports: ("AUTHENTICATOR_TRANSPORT_BLE" | "AUTHENTICATOR_TRANSPORT_INTERNAL" | "AUTHENTICATOR_TRANSPORT_NFC" | "AUTHENTICATOR_TRANSPORT_USB" | "AUTHENTICATOR_TRANSPORT_HYBRID")[];
|
|
7649
|
+
};
|
|
7650
|
+
};
|
|
7651
|
+
rootUserId?: string;
|
|
7652
|
+
};
|
|
7653
|
+
createUsersIntentV2?: {
|
|
7654
|
+
users: {
|
|
7655
|
+
userName: string;
|
|
7656
|
+
userEmail?: string;
|
|
7657
|
+
accessType: "ACCESS_TYPE_WEB" | "ACCESS_TYPE_API" | "ACCESS_TYPE_ALL";
|
|
7658
|
+
apiKeys: {
|
|
7659
|
+
apiKeyName: string;
|
|
7660
|
+
publicKey: string;
|
|
7661
|
+
}[];
|
|
7662
|
+
authenticators: {
|
|
7663
|
+
authenticatorName: string;
|
|
7664
|
+
challenge: string;
|
|
7665
|
+
attestation: {
|
|
7666
|
+
credentialId: string;
|
|
7667
|
+
clientDataJson: string;
|
|
7668
|
+
attestationObject: string;
|
|
7669
|
+
transports: ("AUTHENTICATOR_TRANSPORT_BLE" | "AUTHENTICATOR_TRANSPORT_INTERNAL" | "AUTHENTICATOR_TRANSPORT_NFC" | "AUTHENTICATOR_TRANSPORT_USB" | "AUTHENTICATOR_TRANSPORT_HYBRID")[];
|
|
7670
|
+
};
|
|
7671
|
+
}[];
|
|
7672
|
+
userTags: string[];
|
|
7673
|
+
}[];
|
|
7674
|
+
};
|
|
7675
|
+
createSubOrganizationIntent?: {
|
|
7676
|
+
name: string;
|
|
7677
|
+
rootAuthenticator: {
|
|
7678
|
+
authenticatorName: string;
|
|
7679
|
+
challenge: string;
|
|
7680
|
+
attestation: {
|
|
7681
|
+
credentialId: string;
|
|
7682
|
+
clientDataJson: string;
|
|
7683
|
+
attestationObject: string;
|
|
7684
|
+
transports: ("AUTHENTICATOR_TRANSPORT_BLE" | "AUTHENTICATOR_TRANSPORT_INTERNAL" | "AUTHENTICATOR_TRANSPORT_NFC" | "AUTHENTICATOR_TRANSPORT_USB" | "AUTHENTICATOR_TRANSPORT_HYBRID")[];
|
|
7685
|
+
};
|
|
7686
|
+
};
|
|
7687
|
+
};
|
|
7688
|
+
createSubOrganizationIntentV2?: {
|
|
7689
|
+
subOrganizationName: string;
|
|
7690
|
+
rootUsers: {
|
|
7691
|
+
userName: string;
|
|
7692
|
+
userEmail?: string;
|
|
7693
|
+
apiKeys: {
|
|
7694
|
+
apiKeyName: string;
|
|
7695
|
+
publicKey: string;
|
|
7696
|
+
}[];
|
|
7697
|
+
authenticators: {
|
|
7698
|
+
authenticatorName: string;
|
|
7699
|
+
challenge: string;
|
|
7700
|
+
attestation: {
|
|
7701
|
+
credentialId: string;
|
|
7702
|
+
clientDataJson: string;
|
|
7703
|
+
attestationObject: string;
|
|
7704
|
+
transports: ("AUTHENTICATOR_TRANSPORT_BLE" | "AUTHENTICATOR_TRANSPORT_INTERNAL" | "AUTHENTICATOR_TRANSPORT_NFC" | "AUTHENTICATOR_TRANSPORT_USB" | "AUTHENTICATOR_TRANSPORT_HYBRID")[];
|
|
7705
|
+
};
|
|
7706
|
+
}[];
|
|
7707
|
+
}[];
|
|
7708
|
+
rootQuorumThreshold: number;
|
|
7709
|
+
};
|
|
7710
|
+
updateAllowedOriginsIntent?: {
|
|
7711
|
+
allowedOrigins: string[];
|
|
7712
|
+
};
|
|
7713
|
+
createPrivateKeysIntentV2?: {
|
|
7714
|
+
privateKeys: {
|
|
7715
|
+
privateKeyName: string;
|
|
7716
|
+
curve: "CURVE_SECP256K1" | "CURVE_ED25519";
|
|
7717
|
+
privateKeyTags: string[];
|
|
7718
|
+
addressFormats: ("ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM")[];
|
|
7719
|
+
}[];
|
|
7720
|
+
};
|
|
7721
|
+
};
|
|
7722
|
+
result: {
|
|
7723
|
+
createOrganizationResult?: {
|
|
7724
|
+
organizationId: string;
|
|
7725
|
+
};
|
|
7726
|
+
createAuthenticatorsResult?: {
|
|
7727
|
+
authenticatorIds: string[];
|
|
7728
|
+
};
|
|
7729
|
+
createUsersResult?: {
|
|
7730
|
+
userIds: string[];
|
|
7731
|
+
};
|
|
7732
|
+
createPrivateKeysResult?: {
|
|
7733
|
+
privateKeyIds: string[];
|
|
7734
|
+
};
|
|
7735
|
+
createInvitationsResult?: {
|
|
7736
|
+
invitationIds: string[];
|
|
7737
|
+
};
|
|
7738
|
+
acceptInvitationResult?: {
|
|
7739
|
+
invitationId: string;
|
|
7740
|
+
userId: string;
|
|
7741
|
+
};
|
|
7742
|
+
signRawPayloadResult?: {
|
|
7743
|
+
r: string;
|
|
7744
|
+
s: string;
|
|
7745
|
+
v: string;
|
|
7746
|
+
};
|
|
7747
|
+
createPolicyResult?: {
|
|
7748
|
+
policyId: string;
|
|
7749
|
+
};
|
|
7750
|
+
disablePrivateKeyResult?: {
|
|
7751
|
+
privateKeyId: string;
|
|
7752
|
+
};
|
|
7753
|
+
deleteUsersResult?: {
|
|
7754
|
+
userIds: string[];
|
|
7755
|
+
};
|
|
7756
|
+
deleteAuthenticatorsResult?: {
|
|
7757
|
+
authenticatorIds: string[];
|
|
7758
|
+
};
|
|
7759
|
+
deleteInvitationResult?: {
|
|
7760
|
+
invitationId: string;
|
|
7761
|
+
};
|
|
7762
|
+
deleteOrganizationResult?: {
|
|
7763
|
+
organizationId: string;
|
|
7764
|
+
};
|
|
7765
|
+
deletePolicyResult?: {
|
|
7766
|
+
policyId: string;
|
|
7767
|
+
};
|
|
7768
|
+
createUserTagResult?: {
|
|
7769
|
+
userTagId: string;
|
|
7770
|
+
userIds: string[];
|
|
7771
|
+
};
|
|
7772
|
+
deleteUserTagsResult?: {
|
|
7773
|
+
userTagIds: string[];
|
|
7774
|
+
userIds: string[];
|
|
7775
|
+
};
|
|
7776
|
+
signTransactionResult?: {
|
|
7777
|
+
signedTransaction: string;
|
|
7778
|
+
};
|
|
7779
|
+
deleteApiKeysResult?: {
|
|
7780
|
+
apiKeyIds: string[];
|
|
7781
|
+
};
|
|
7782
|
+
createApiKeysResult?: {
|
|
7783
|
+
apiKeyIds: string[];
|
|
7784
|
+
};
|
|
7785
|
+
createPrivateKeyTagResult?: {
|
|
7786
|
+
privateKeyTagId: string;
|
|
7787
|
+
privateKeyIds: string[];
|
|
7788
|
+
};
|
|
7789
|
+
deletePrivateKeyTagsResult?: {
|
|
7790
|
+
privateKeyTagIds: string[];
|
|
7791
|
+
privateKeyIds: string[];
|
|
7792
|
+
};
|
|
7793
|
+
setPaymentMethodResult?: {
|
|
7794
|
+
lastFour: string;
|
|
7795
|
+
cardHolderName: string;
|
|
7796
|
+
cardHolderEmail: string;
|
|
7797
|
+
};
|
|
7798
|
+
activateBillingTierResult?: {
|
|
7799
|
+
productId: string;
|
|
7800
|
+
};
|
|
7801
|
+
deletePaymentMethodResult?: {
|
|
7802
|
+
paymentMethodId: string;
|
|
7803
|
+
};
|
|
7804
|
+
createApiOnlyUsersResult?: {
|
|
7805
|
+
userIds: string[];
|
|
7806
|
+
};
|
|
7807
|
+
updateRootQuorumResult?: {
|
|
7808
|
+
[key: string]: unknown;
|
|
7809
|
+
};
|
|
7810
|
+
updateUserTagResult?: {
|
|
7811
|
+
userTagId: string;
|
|
7812
|
+
};
|
|
7813
|
+
updatePrivateKeyTagResult?: {
|
|
7814
|
+
privateKeyTagId: string;
|
|
7815
|
+
};
|
|
7816
|
+
createSubOrganizationResult?: {
|
|
7817
|
+
subOrganizationId: string;
|
|
7818
|
+
};
|
|
7819
|
+
updateAllowedOriginsResult?: {
|
|
7820
|
+
[key: string]: unknown;
|
|
7821
|
+
};
|
|
7822
|
+
createPrivateKeysResultV2?: {
|
|
7823
|
+
privateKeys: {
|
|
7824
|
+
privateKeyId?: string;
|
|
7825
|
+
addresses?: {
|
|
7826
|
+
format?: "ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM";
|
|
7827
|
+
address?: string;
|
|
7828
|
+
}[];
|
|
7829
|
+
}[];
|
|
7830
|
+
};
|
|
7831
|
+
};
|
|
7832
|
+
votes: {
|
|
7833
|
+
id: string;
|
|
7834
|
+
userId: string;
|
|
7835
|
+
user: {
|
|
7836
|
+
userId: string;
|
|
7837
|
+
userName: string;
|
|
7838
|
+
userEmail?: string;
|
|
7839
|
+
accessType: "ACCESS_TYPE_WEB" | "ACCESS_TYPE_API" | "ACCESS_TYPE_ALL";
|
|
7840
|
+
authenticators: {
|
|
7841
|
+
transports: ("AUTHENTICATOR_TRANSPORT_BLE" | "AUTHENTICATOR_TRANSPORT_INTERNAL" | "AUTHENTICATOR_TRANSPORT_NFC" | "AUTHENTICATOR_TRANSPORT_USB" | "AUTHENTICATOR_TRANSPORT_HYBRID")[];
|
|
7842
|
+
attestationType: string;
|
|
7843
|
+
aaguid: string;
|
|
7844
|
+
credentialId: string;
|
|
7845
|
+
model: string;
|
|
7846
|
+
credential: {
|
|
7847
|
+
publicKey: string;
|
|
7848
|
+
type: "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR" | "CREDENTIAL_TYPE_API_KEY_P256";
|
|
7849
|
+
};
|
|
7850
|
+
authenticatorId: string;
|
|
7851
|
+
authenticatorName: string;
|
|
7852
|
+
createdAt: {
|
|
7853
|
+
seconds: string;
|
|
7854
|
+
nanos: string;
|
|
7855
|
+
};
|
|
7856
|
+
updatedAt: {
|
|
7857
|
+
seconds: string;
|
|
7858
|
+
nanos: string;
|
|
7859
|
+
};
|
|
7860
|
+
}[];
|
|
7861
|
+
apiKeys: {
|
|
7862
|
+
credential: {
|
|
7863
|
+
publicKey: string;
|
|
7864
|
+
type: "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR" | "CREDENTIAL_TYPE_API_KEY_P256";
|
|
7865
|
+
};
|
|
7866
|
+
apiKeyId: string;
|
|
7867
|
+
apiKeyName: string;
|
|
7868
|
+
createdAt: {
|
|
7869
|
+
seconds: string;
|
|
7870
|
+
nanos: string;
|
|
7871
|
+
};
|
|
7872
|
+
updatedAt: {
|
|
7873
|
+
seconds: string;
|
|
7874
|
+
nanos: string;
|
|
7875
|
+
};
|
|
7876
|
+
}[];
|
|
7877
|
+
userTags: string[];
|
|
7878
|
+
createdAt: {
|
|
7879
|
+
seconds: string;
|
|
7880
|
+
nanos: string;
|
|
7881
|
+
};
|
|
7882
|
+
updatedAt: {
|
|
7883
|
+
seconds: string;
|
|
7884
|
+
nanos: string;
|
|
7885
|
+
};
|
|
7886
|
+
};
|
|
7887
|
+
activityId: string;
|
|
7888
|
+
selection: "VOTE_SELECTION_APPROVED" | "VOTE_SELECTION_REJECTED";
|
|
7889
|
+
message: string;
|
|
7890
|
+
publicKey: string;
|
|
7891
|
+
signature: string;
|
|
7892
|
+
scheme: string;
|
|
7893
|
+
createdAt: {
|
|
7894
|
+
seconds: string;
|
|
7895
|
+
nanos: string;
|
|
7896
|
+
};
|
|
7897
|
+
}[];
|
|
7898
|
+
fingerprint: string;
|
|
7899
|
+
canApprove: boolean;
|
|
7900
|
+
canReject: boolean;
|
|
7901
|
+
createdAt: {
|
|
7902
|
+
seconds: string;
|
|
7903
|
+
nanos: string;
|
|
7904
|
+
};
|
|
7905
|
+
updatedAt: {
|
|
7906
|
+
seconds: string;
|
|
7907
|
+
nanos: string;
|
|
7908
|
+
};
|
|
7909
|
+
};
|
|
7910
|
+
}>;
|
|
7911
|
+
/**
|
|
7912
|
+
* Create User Tag
|
|
7913
|
+
*
|
|
7914
|
+
* Create a user tag and add it to users.
|
|
7915
|
+
*/
|
|
7916
|
+
export declare const federatedPostCreateUserTag: (input: TPostCreateUserTagInput, options?: TurnkeyCredentialRequestOptions) => Promise<import("../../../../..").FederatedRequest>;
|
|
7917
|
+
/**
|
|
7918
|
+
* `POST /public/v1/submit/create_users`
|
|
7919
|
+
*
|
|
7920
|
+
* @deprecated
|
|
7921
|
+
*/
|
|
7922
|
+
type TPostCreateUsersBody = operations["PublicApiService_CreateUsers"]["parameters"]["body"]["body"];
|
|
7923
|
+
/**
|
|
7924
|
+
* `POST /public/v1/submit/create_users`
|
|
7925
|
+
*
|
|
7926
|
+
* @deprecated
|
|
7927
|
+
*/
|
|
7928
|
+
export type TPostCreateUsersResponse = operations["PublicApiService_CreateUsers"]["responses"]["200"]["schema"];
|
|
7929
|
+
/**
|
|
7930
|
+
* `POST /public/v1/submit/create_users`
|
|
7931
|
+
*
|
|
7932
|
+
* @deprecated
|
|
7933
|
+
*/
|
|
7934
|
+
export type TPostCreateUsersInput = {
|
|
7935
|
+
body: TPostCreateUsersBody;
|
|
7936
|
+
};
|
|
7937
|
+
/**
|
|
7938
|
+
* Create Users
|
|
7939
|
+
*
|
|
7940
|
+
* Create Users in an existing Organization
|
|
7941
|
+
*
|
|
7942
|
+
* `POST /public/v1/submit/create_users`
|
|
7943
|
+
*
|
|
7944
|
+
* @deprecated
|
|
7945
|
+
*/
|
|
7946
|
+
export declare const postCreateUsers: (input: TPostCreateUsersInput) => Promise<{
|
|
7947
|
+
activity: {
|
|
7948
|
+
id: string;
|
|
7949
|
+
organizationId: string;
|
|
7950
|
+
status: "ACTIVITY_STATUS_CREATED" | "ACTIVITY_STATUS_PENDING" | "ACTIVITY_STATUS_COMPLETED" | "ACTIVITY_STATUS_FAILED" | "ACTIVITY_STATUS_CONSENSUS_NEEDED" | "ACTIVITY_STATUS_REJECTED";
|
|
7951
|
+
type: "ACTIVITY_TYPE_CREATE_API_KEYS" | "ACTIVITY_TYPE_CREATE_USERS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD" | "ACTIVITY_TYPE_CREATE_INVITATIONS" | "ACTIVITY_TYPE_ACCEPT_INVITATION" | "ACTIVITY_TYPE_CREATE_POLICY" | "ACTIVITY_TYPE_DISABLE_PRIVATE_KEY" | "ACTIVITY_TYPE_DELETE_USERS" | "ACTIVITY_TYPE_DELETE_API_KEYS" | "ACTIVITY_TYPE_DELETE_INVITATION" | "ACTIVITY_TYPE_DELETE_ORGANIZATION" | "ACTIVITY_TYPE_DELETE_POLICY" | "ACTIVITY_TYPE_CREATE_USER_TAG" | "ACTIVITY_TYPE_DELETE_USER_TAGS" | "ACTIVITY_TYPE_CREATE_ORGANIZATION" | "ACTIVITY_TYPE_SIGN_TRANSACTION" | "ACTIVITY_TYPE_APPROVE_ACTIVITY" | "ACTIVITY_TYPE_REJECT_ACTIVITY" | "ACTIVITY_TYPE_DELETE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS" | "ACTIVITY_TYPE_SET_PAYMENT_METHOD" | "ACTIVITY_TYPE_ACTIVATE_BILLING_TIER" | "ACTIVITY_TYPE_DELETE_PAYMENT_METHOD" | "ACTIVITY_TYPE_CREATE_POLICY_V2" | "ACTIVITY_TYPE_CREATE_POLICY_V3" | "ACTIVITY_TYPE_CREATE_API_ONLY_USERS" | "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM" | "ACTIVITY_TYPE_UPDATE_USER_TAG" | "ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS_V2" | "ACTIVITY_TYPE_CREATE_ORGANIZATION_V2" | "ACTIVITY_TYPE_CREATE_USERS_V2" | "ACTIVITY_TYPE_ACCEPT_INVITATION_V2" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V2" | "ACTIVITY_TYPE_UPDATE_ALLOWED_ORIGINS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS_V2";
|
|
7952
|
+
intent: {
|
|
7953
|
+
createOrganizationIntent: {
|
|
7954
|
+
organizationName: string;
|
|
7955
|
+
rootEmail: string;
|
|
7956
|
+
rootAuthenticator: {
|
|
7957
|
+
authenticatorName: string;
|
|
7958
|
+
userId: string;
|
|
7959
|
+
attestation: {
|
|
7960
|
+
id: string;
|
|
7961
|
+
type: "public-key";
|
|
7962
|
+
rawId: string;
|
|
7963
|
+
authenticatorAttachment?: "cross-platform" | "platform" | null;
|
|
7964
|
+
response: {
|
|
7965
|
+
clientDataJson: string;
|
|
7966
|
+
attestationObject: string;
|
|
7967
|
+
transports?: ("AUTHENTICATOR_TRANSPORT_BLE" | "AUTHENTICATOR_TRANSPORT_INTERNAL" | "AUTHENTICATOR_TRANSPORT_NFC" | "AUTHENTICATOR_TRANSPORT_USB" | "AUTHENTICATOR_TRANSPORT_HYBRID")[];
|
|
7968
|
+
authenticatorAttachment?: "cross-platform" | "platform" | null;
|
|
7969
|
+
};
|
|
7970
|
+
clientExtensionResults: {
|
|
7971
|
+
appid?: boolean;
|
|
7972
|
+
appidExclude?: boolean;
|
|
7973
|
+
credProps?: {
|
|
7974
|
+
rk: boolean;
|
|
7975
|
+
};
|
|
7976
|
+
};
|
|
7977
|
+
};
|
|
7978
|
+
challenge: string;
|
|
7979
|
+
};
|
|
7980
|
+
rootUserId?: string;
|
|
7981
|
+
};
|
|
7982
|
+
createAuthenticatorsIntent?: {
|
|
7983
|
+
authenticators: {
|
|
7984
|
+
authenticatorName: string;
|
|
7985
|
+
userId: string;
|
|
7986
|
+
attestation: {
|
|
7987
|
+
id: string;
|
|
7988
|
+
type: "public-key";
|
|
7989
|
+
rawId: string;
|
|
7990
|
+
authenticatorAttachment?: "cross-platform" | "platform" | null;
|
|
7991
|
+
response: {
|
|
7992
|
+
clientDataJson: string;
|
|
7993
|
+
attestationObject: string;
|
|
7994
|
+
transports?: ("AUTHENTICATOR_TRANSPORT_BLE" | "AUTHENTICATOR_TRANSPORT_INTERNAL" | "AUTHENTICATOR_TRANSPORT_NFC" | "AUTHENTICATOR_TRANSPORT_USB" | "AUTHENTICATOR_TRANSPORT_HYBRID")[];
|
|
7995
|
+
authenticatorAttachment?: "cross-platform" | "platform" | null;
|
|
7996
|
+
};
|
|
7997
|
+
clientExtensionResults: {
|
|
7998
|
+
appid?: boolean;
|
|
7999
|
+
appidExclude?: boolean;
|
|
8000
|
+
credProps?: {
|
|
8001
|
+
rk: boolean;
|
|
8002
|
+
};
|
|
8003
|
+
};
|
|
8004
|
+
};
|
|
8005
|
+
challenge: string;
|
|
8006
|
+
}[];
|
|
8007
|
+
userId: string;
|
|
8008
|
+
};
|
|
8009
|
+
createUsersIntent?: {
|
|
8010
|
+
users: {
|
|
8011
|
+
userName: string;
|
|
8012
|
+
userEmail?: string;
|
|
8013
|
+
accessType: "ACCESS_TYPE_WEB" | "ACCESS_TYPE_API" | "ACCESS_TYPE_ALL";
|
|
8014
|
+
apiKeys: {
|
|
8015
|
+
apiKeyName: string;
|
|
8016
|
+
publicKey: string;
|
|
8017
|
+
}[];
|
|
8018
|
+
authenticators: {
|
|
8019
|
+
authenticatorName: string;
|
|
8020
|
+
userId: string;
|
|
8021
|
+
attestation: {
|
|
8022
|
+
id: string;
|
|
8023
|
+
type: "public-key";
|
|
8024
|
+
rawId: string;
|
|
8025
|
+
authenticatorAttachment?: "cross-platform" | "platform" | null;
|
|
8026
|
+
response: {
|
|
8027
|
+
clientDataJson: string;
|
|
8028
|
+
attestationObject: string;
|
|
8029
|
+
transports?: ("AUTHENTICATOR_TRANSPORT_BLE" | "AUTHENTICATOR_TRANSPORT_INTERNAL" | "AUTHENTICATOR_TRANSPORT_NFC" | "AUTHENTICATOR_TRANSPORT_USB" | "AUTHENTICATOR_TRANSPORT_HYBRID")[];
|
|
8030
|
+
authenticatorAttachment?: "cross-platform" | "platform" | null;
|
|
8031
|
+
};
|
|
8032
|
+
clientExtensionResults: {
|
|
8033
|
+
appid?: boolean;
|
|
8034
|
+
appidExclude?: boolean;
|
|
8035
|
+
credProps?: {
|
|
8036
|
+
rk: boolean;
|
|
8037
|
+
};
|
|
8038
|
+
};
|
|
8039
|
+
};
|
|
8040
|
+
challenge: string;
|
|
8041
|
+
}[];
|
|
8042
|
+
userTags: string[];
|
|
8043
|
+
}[];
|
|
8044
|
+
};
|
|
8045
|
+
createPrivateKeysIntent?: {
|
|
8046
|
+
privateKeys: {
|
|
8047
|
+
privateKeyName: string;
|
|
8048
|
+
curve: "CURVE_SECP256K1" | "CURVE_ED25519";
|
|
8049
|
+
privateKeyTags: string[];
|
|
8050
|
+
addressFormats: ("ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM")[];
|
|
8051
|
+
}[];
|
|
8052
|
+
};
|
|
8053
|
+
signRawPayloadIntent?: {
|
|
8054
|
+
privateKeyId: string;
|
|
8055
|
+
payload: string;
|
|
8056
|
+
encoding: "PAYLOAD_ENCODING_HEXADECIMAL" | "PAYLOAD_ENCODING_TEXT_UTF8";
|
|
8057
|
+
hashFunction: "HASH_FUNCTION_NO_OP" | "HASH_FUNCTION_SHA256" | "HASH_FUNCTION_KECCAK256" | "HASH_FUNCTION_NOT_APPLICABLE";
|
|
8058
|
+
};
|
|
8059
|
+
createInvitationsIntent?: {
|
|
8060
|
+
invitations: {
|
|
8061
|
+
receiverUserName: string;
|
|
8062
|
+
receiverUserEmail: string;
|
|
8063
|
+
receiverUserTags: string[];
|
|
8064
|
+
accessType: "ACCESS_TYPE_WEB" | "ACCESS_TYPE_API" | "ACCESS_TYPE_ALL";
|
|
8065
|
+
senderUserId: string;
|
|
8066
|
+
}[];
|
|
8067
|
+
};
|
|
8068
|
+
acceptInvitationIntent?: {
|
|
8069
|
+
invitationId: string;
|
|
8070
|
+
userId: string;
|
|
8071
|
+
authenticator: {
|
|
8072
|
+
authenticatorName: string;
|
|
8073
|
+
userId: string;
|
|
8074
|
+
attestation: {
|
|
8075
|
+
id: string;
|
|
8076
|
+
type: "public-key";
|
|
8077
|
+
rawId: string;
|
|
8078
|
+
authenticatorAttachment?: "cross-platform" | "platform" | null;
|
|
8079
|
+
response: {
|
|
8080
|
+
clientDataJson: string;
|
|
8081
|
+
attestationObject: string;
|
|
8082
|
+
transports?: ("AUTHENTICATOR_TRANSPORT_BLE" | "AUTHENTICATOR_TRANSPORT_INTERNAL" | "AUTHENTICATOR_TRANSPORT_NFC" | "AUTHENTICATOR_TRANSPORT_USB" | "AUTHENTICATOR_TRANSPORT_HYBRID")[];
|
|
8083
|
+
authenticatorAttachment?: "cross-platform" | "platform" | null;
|
|
8084
|
+
};
|
|
8085
|
+
clientExtensionResults: {
|
|
8086
|
+
appid?: boolean;
|
|
8087
|
+
appidExclude?: boolean;
|
|
8088
|
+
credProps?: {
|
|
8089
|
+
rk: boolean;
|
|
8090
|
+
};
|
|
8091
|
+
};
|
|
8092
|
+
};
|
|
8093
|
+
challenge: string;
|
|
8094
|
+
};
|
|
8095
|
+
};
|
|
8096
|
+
createPolicyIntent?: {
|
|
8097
|
+
policyName: string;
|
|
8098
|
+
selectors: {
|
|
8099
|
+
subject?: string;
|
|
8100
|
+
operator?: "OPERATOR_EQUAL" | "OPERATOR_MORE_THAN" | "OPERATOR_MORE_THAN_OR_EQUAL" | "OPERATOR_LESS_THAN" | "OPERATOR_LESS_THAN_OR_EQUAL" | "OPERATOR_CONTAINS" | "OPERATOR_NOT_EQUAL" | "OPERATOR_IN" | "OPERATOR_NOT_IN" | "OPERATOR_CONTAINS_ONE" | "OPERATOR_CONTAINS_ALL";
|
|
8101
|
+
target?: string;
|
|
8102
|
+
}[];
|
|
8103
|
+
effect: "EFFECT_ALLOW" | "EFFECT_DENY";
|
|
8104
|
+
notes?: string;
|
|
8105
|
+
};
|
|
8106
|
+
disablePrivateKeyIntent?: {
|
|
8107
|
+
privateKeyId: string;
|
|
8108
|
+
};
|
|
8109
|
+
deleteUsersIntent?: {
|
|
8110
|
+
userIds: string[];
|
|
8111
|
+
};
|
|
8112
|
+
deleteAuthenticatorsIntent?: {
|
|
8113
|
+
userId: string;
|
|
8114
|
+
authenticatorIds: string[];
|
|
8115
|
+
};
|
|
8116
|
+
deleteInvitationIntent?: {
|
|
8117
|
+
invitationId: string;
|
|
8118
|
+
};
|
|
8119
|
+
deleteOrganizationIntent?: {
|
|
8120
|
+
organizationId: string;
|
|
8121
|
+
};
|
|
8122
|
+
deletePolicyIntent?: {
|
|
8123
|
+
policyId: string;
|
|
8124
|
+
};
|
|
8125
|
+
/**
|
|
8126
|
+
* `POST /tkhq/public/v1/query/get_private_key`
|
|
8127
|
+
*
|
|
8128
|
+
* @deprecated
|
|
8129
|
+
*/
|
|
8130
|
+
createUserTagIntent?: {
|
|
8131
|
+
userTagName: string;
|
|
8132
|
+
userIds: string[];
|
|
8133
|
+
};
|
|
8134
|
+
deleteUserTagsIntent?: {
|
|
8135
|
+
userTagIds: string[];
|
|
8136
|
+
};
|
|
8137
|
+
signTransactionIntent?: {
|
|
8138
|
+
privateKeyId: string;
|
|
8139
|
+
unsignedTransaction: string;
|
|
8140
|
+
type: "TRANSACTION_TYPE_ETHEREUM";
|
|
8141
|
+
};
|
|
8142
|
+
createApiKeysIntent?: {
|
|
8143
|
+
apiKeys: {
|
|
8144
|
+
apiKeyName: string;
|
|
8145
|
+
publicKey: string;
|
|
8146
|
+
}[];
|
|
8147
|
+
userId: string;
|
|
8148
|
+
};
|
|
8149
|
+
deleteApiKeysIntent?: {
|
|
8150
|
+
userId: string;
|
|
8151
|
+
apiKeyIds: string[];
|
|
8152
|
+
};
|
|
8153
|
+
approveActivityIntent?: {
|
|
8154
|
+
fingerprint: string;
|
|
8155
|
+
};
|
|
8156
|
+
rejectActivityIntent?: {
|
|
8157
|
+
fingerprint: string;
|
|
8158
|
+
};
|
|
8159
|
+
createPrivateKeyTagIntent?: {
|
|
8160
|
+
privateKeyTagName: string;
|
|
8161
|
+
privateKeyIds: string[];
|
|
8162
|
+
};
|
|
8163
|
+
deletePrivateKeyTagsIntent?: {
|
|
8164
|
+
privateKeyTagIds: string[];
|
|
8165
|
+
};
|
|
8166
|
+
createPolicyIntentV2?: {
|
|
8167
|
+
policyName: string;
|
|
8168
|
+
selectors: {
|
|
8169
|
+
subject?: string;
|
|
8170
|
+
operator?: "OPERATOR_EQUAL" | "OPERATOR_MORE_THAN" | "OPERATOR_MORE_THAN_OR_EQUAL" | "OPERATOR_LESS_THAN" | "OPERATOR_LESS_THAN_OR_EQUAL" | "OPERATOR_CONTAINS" | "OPERATOR_NOT_EQUAL" | "OPERATOR_IN" | "OPERATOR_NOT_IN" | "OPERATOR_CONTAINS_ONE" | "OPERATOR_CONTAINS_ALL";
|
|
8171
|
+
targets?: string[];
|
|
8172
|
+
}[];
|
|
8173
|
+
effect: "EFFECT_ALLOW" | "EFFECT_DENY";
|
|
8174
|
+
notes?: string;
|
|
8175
|
+
};
|
|
8176
|
+
setPaymentMethodIntent?: {
|
|
8177
|
+
number: string;
|
|
8178
|
+
cvv: string;
|
|
8179
|
+
expiryMonth: string;
|
|
8180
|
+
expiryYear: string;
|
|
8181
|
+
cardHolderEmail: string;
|
|
8182
|
+
cardHolderName: string;
|
|
8183
|
+
};
|
|
8184
|
+
activateBillingTierIntent?: {
|
|
8185
|
+
productId: string;
|
|
8186
|
+
};
|
|
8187
|
+
deletePaymentMethodIntent?: {
|
|
8188
|
+
paymentMethodId: string;
|
|
8189
|
+
};
|
|
8190
|
+
createPolicyIntentV3?: {
|
|
8191
|
+
policyName: string;
|
|
8192
|
+
effect: "EFFECT_ALLOW" | "EFFECT_DENY";
|
|
8193
|
+
condition?: string;
|
|
8194
|
+
consensus?: string;
|
|
8195
|
+
notes?: string;
|
|
8196
|
+
};
|
|
8197
|
+
createApiOnlyUsersIntent?: {
|
|
8198
|
+
apiOnlyUsers: {
|
|
8199
|
+
userName: string;
|
|
8200
|
+
userEmail?: string;
|
|
8201
|
+
userTags: string[];
|
|
8202
|
+
apiKeys: {
|
|
8203
|
+
apiKeyName: string;
|
|
8204
|
+
publicKey: string;
|
|
8205
|
+
}[];
|
|
8206
|
+
}[];
|
|
8207
|
+
};
|
|
8208
|
+
updateRootQuorumIntent?: {
|
|
8209
|
+
threshold: number;
|
|
8210
|
+
userIds: string[];
|
|
8211
|
+
};
|
|
8212
|
+
updateUserTagIntent?: {
|
|
8213
|
+
userTagId: string;
|
|
8214
|
+
newUserTagName?: string;
|
|
8215
|
+
addUserIds: string[];
|
|
8216
|
+
removeUserIds: string[];
|
|
8217
|
+
};
|
|
8218
|
+
updatePrivateKeyTagIntent?: {
|
|
8219
|
+
privateKeyTagId: string;
|
|
8220
|
+
newPrivateKeyTagName?: string;
|
|
8221
|
+
addPrivateKeyIds: string[];
|
|
8222
|
+
removePrivateKeyIds: string[];
|
|
8223
|
+
};
|
|
8224
|
+
createAuthenticatorsIntentV2?: {
|
|
8225
|
+
authenticators: {
|
|
8226
|
+
authenticatorName: string;
|
|
8227
|
+
challenge: string;
|
|
8228
|
+
attestation: {
|
|
8229
|
+
credentialId: string;
|
|
8230
|
+
clientDataJson: string;
|
|
8231
|
+
attestationObject: string;
|
|
8232
|
+
transports: ("AUTHENTICATOR_TRANSPORT_BLE" | "AUTHENTICATOR_TRANSPORT_INTERNAL" | "AUTHENTICATOR_TRANSPORT_NFC" | "AUTHENTICATOR_TRANSPORT_USB" | "AUTHENTICATOR_TRANSPORT_HYBRID")[];
|
|
8233
|
+
};
|
|
8234
|
+
}[];
|
|
8235
|
+
userId: string;
|
|
8236
|
+
};
|
|
8237
|
+
acceptInvitationIntentV2?: {
|
|
8238
|
+
invitationId: string;
|
|
8239
|
+
userId: string;
|
|
8240
|
+
authenticator: {
|
|
8241
|
+
authenticatorName: string;
|
|
8242
|
+
challenge: string;
|
|
8243
|
+
attestation: {
|
|
8244
|
+
credentialId: string;
|
|
8245
|
+
clientDataJson: string;
|
|
8246
|
+
attestationObject: string;
|
|
8247
|
+
transports: ("AUTHENTICATOR_TRANSPORT_BLE" | "AUTHENTICATOR_TRANSPORT_INTERNAL" | "AUTHENTICATOR_TRANSPORT_NFC" | "AUTHENTICATOR_TRANSPORT_USB" | "AUTHENTICATOR_TRANSPORT_HYBRID")[];
|
|
8248
|
+
};
|
|
8249
|
+
};
|
|
8250
|
+
};
|
|
8251
|
+
createOrganizationIntentV2?: {
|
|
8252
|
+
organizationName: string;
|
|
8253
|
+
rootEmail: string;
|
|
8254
|
+
rootAuthenticator: {
|
|
8255
|
+
authenticatorName: string;
|
|
8256
|
+
challenge: string;
|
|
8257
|
+
attestation: {
|
|
8258
|
+
credentialId: string;
|
|
8259
|
+
clientDataJson: string;
|
|
8260
|
+
attestationObject: string;
|
|
8261
|
+
transports: ("AUTHENTICATOR_TRANSPORT_BLE" | "AUTHENTICATOR_TRANSPORT_INTERNAL" | "AUTHENTICATOR_TRANSPORT_NFC" | "AUTHENTICATOR_TRANSPORT_USB" | "AUTHENTICATOR_TRANSPORT_HYBRID")[];
|
|
8262
|
+
};
|
|
8263
|
+
};
|
|
8264
|
+
rootUserId?: string;
|
|
8265
|
+
};
|
|
8266
|
+
createUsersIntentV2?: {
|
|
8267
|
+
users: {
|
|
8268
|
+
userName: string;
|
|
8269
|
+
userEmail?: string;
|
|
8270
|
+
accessType: "ACCESS_TYPE_WEB" | "ACCESS_TYPE_API" | "ACCESS_TYPE_ALL";
|
|
8271
|
+
apiKeys: {
|
|
8272
|
+
apiKeyName: string;
|
|
8273
|
+
publicKey: string;
|
|
8274
|
+
}[];
|
|
8275
|
+
authenticators: {
|
|
8276
|
+
authenticatorName: string;
|
|
8277
|
+
challenge: string;
|
|
8278
|
+
attestation: {
|
|
8279
|
+
credentialId: string;
|
|
8280
|
+
clientDataJson: string;
|
|
8281
|
+
attestationObject: string;
|
|
8282
|
+
transports: ("AUTHENTICATOR_TRANSPORT_BLE" | "AUTHENTICATOR_TRANSPORT_INTERNAL" | "AUTHENTICATOR_TRANSPORT_NFC" | "AUTHENTICATOR_TRANSPORT_USB" | "AUTHENTICATOR_TRANSPORT_HYBRID")[];
|
|
8283
|
+
};
|
|
8284
|
+
}[];
|
|
8285
|
+
userTags: string[];
|
|
8286
|
+
}[];
|
|
8287
|
+
};
|
|
8288
|
+
createSubOrganizationIntent?: {
|
|
8289
|
+
name: string;
|
|
8290
|
+
rootAuthenticator: {
|
|
8291
|
+
authenticatorName: string;
|
|
8292
|
+
challenge: string;
|
|
8293
|
+
attestation: {
|
|
8294
|
+
credentialId: string;
|
|
8295
|
+
clientDataJson: string;
|
|
8296
|
+
attestationObject: string;
|
|
8297
|
+
transports: ("AUTHENTICATOR_TRANSPORT_BLE" | "AUTHENTICATOR_TRANSPORT_INTERNAL" | "AUTHENTICATOR_TRANSPORT_NFC" | "AUTHENTICATOR_TRANSPORT_USB" | "AUTHENTICATOR_TRANSPORT_HYBRID")[];
|
|
8298
|
+
};
|
|
8299
|
+
};
|
|
8300
|
+
};
|
|
8301
|
+
createSubOrganizationIntentV2?: {
|
|
8302
|
+
subOrganizationName: string;
|
|
8303
|
+
rootUsers: {
|
|
8304
|
+
userName: string;
|
|
8305
|
+
userEmail?: string;
|
|
8306
|
+
apiKeys: {
|
|
8307
|
+
apiKeyName: string;
|
|
8308
|
+
publicKey: string;
|
|
8309
|
+
}[];
|
|
8310
|
+
authenticators: {
|
|
8311
|
+
authenticatorName: string;
|
|
8312
|
+
challenge: string;
|
|
8313
|
+
attestation: {
|
|
8314
|
+
credentialId: string;
|
|
8315
|
+
clientDataJson: string;
|
|
8316
|
+
attestationObject: string;
|
|
8317
|
+
transports: ("AUTHENTICATOR_TRANSPORT_BLE" | "AUTHENTICATOR_TRANSPORT_INTERNAL" | "AUTHENTICATOR_TRANSPORT_NFC" | "AUTHENTICATOR_TRANSPORT_USB" | "AUTHENTICATOR_TRANSPORT_HYBRID")[];
|
|
8318
|
+
};
|
|
8319
|
+
}[];
|
|
8320
|
+
}[];
|
|
8321
|
+
rootQuorumThreshold: number;
|
|
8322
|
+
};
|
|
8323
|
+
updateAllowedOriginsIntent?: {
|
|
8324
|
+
allowedOrigins: string[];
|
|
8325
|
+
};
|
|
8326
|
+
createPrivateKeysIntentV2?: {
|
|
8327
|
+
privateKeys: {
|
|
8328
|
+
privateKeyName: string;
|
|
8329
|
+
curve: "CURVE_SECP256K1" | "CURVE_ED25519";
|
|
8330
|
+
privateKeyTags: string[];
|
|
8331
|
+
addressFormats: ("ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM")[];
|
|
8332
|
+
}[];
|
|
8333
|
+
};
|
|
8334
|
+
};
|
|
8335
|
+
result: {
|
|
8336
|
+
createOrganizationResult?: {
|
|
8337
|
+
organizationId: string;
|
|
8338
|
+
};
|
|
8339
|
+
createAuthenticatorsResult?: {
|
|
8340
|
+
authenticatorIds: string[];
|
|
8341
|
+
};
|
|
8342
|
+
createUsersResult?: {
|
|
8343
|
+
userIds: string[];
|
|
8344
|
+
};
|
|
8345
|
+
createPrivateKeysResult?: {
|
|
8346
|
+
privateKeyIds: string[];
|
|
8347
|
+
};
|
|
8348
|
+
createInvitationsResult?: {
|
|
8349
|
+
invitationIds: string[];
|
|
8350
|
+
};
|
|
8351
|
+
acceptInvitationResult?: {
|
|
8352
|
+
invitationId: string;
|
|
8353
|
+
userId: string;
|
|
8354
|
+
};
|
|
8355
|
+
signRawPayloadResult?: {
|
|
8356
|
+
r: string;
|
|
8357
|
+
s: string;
|
|
8358
|
+
v: string;
|
|
8359
|
+
};
|
|
8360
|
+
createPolicyResult?: {
|
|
8361
|
+
policyId: string;
|
|
8362
|
+
};
|
|
8363
|
+
disablePrivateKeyResult?: {
|
|
8364
|
+
privateKeyId: string;
|
|
8365
|
+
};
|
|
8366
|
+
deleteUsersResult?: {
|
|
8367
|
+
userIds: string[];
|
|
8368
|
+
};
|
|
8369
|
+
deleteAuthenticatorsResult?: {
|
|
8370
|
+
authenticatorIds: string[];
|
|
8371
|
+
};
|
|
8372
|
+
deleteInvitationResult?: {
|
|
8373
|
+
invitationId: string;
|
|
8374
|
+
};
|
|
8375
|
+
deleteOrganizationResult?: {
|
|
8376
|
+
organizationId: string;
|
|
8377
|
+
};
|
|
8378
|
+
deletePolicyResult?: {
|
|
8379
|
+
policyId: string;
|
|
8380
|
+
};
|
|
8381
|
+
createUserTagResult?: {
|
|
8382
|
+
userTagId: string;
|
|
8383
|
+
userIds: string[];
|
|
8384
|
+
};
|
|
8385
|
+
deleteUserTagsResult?: {
|
|
8386
|
+
userTagIds: string[];
|
|
8387
|
+
userIds: string[];
|
|
8388
|
+
};
|
|
8389
|
+
signTransactionResult?: {
|
|
8390
|
+
signedTransaction: string;
|
|
8391
|
+
};
|
|
8392
|
+
deleteApiKeysResult?: {
|
|
8393
|
+
apiKeyIds: string[];
|
|
8394
|
+
};
|
|
8395
|
+
createApiKeysResult?: {
|
|
8396
|
+
apiKeyIds: string[];
|
|
8397
|
+
};
|
|
8398
|
+
createPrivateKeyTagResult?: {
|
|
8399
|
+
privateKeyTagId: string;
|
|
8400
|
+
privateKeyIds: string[];
|
|
8401
|
+
};
|
|
8402
|
+
deletePrivateKeyTagsResult?: {
|
|
8403
|
+
privateKeyTagIds: string[];
|
|
8404
|
+
privateKeyIds: string[];
|
|
8405
|
+
};
|
|
8406
|
+
setPaymentMethodResult?: {
|
|
8407
|
+
lastFour: string;
|
|
8408
|
+
cardHolderName: string;
|
|
8409
|
+
cardHolderEmail: string;
|
|
8410
|
+
};
|
|
8411
|
+
activateBillingTierResult?: {
|
|
8412
|
+
productId: string;
|
|
8413
|
+
};
|
|
8414
|
+
deletePaymentMethodResult?: {
|
|
8415
|
+
paymentMethodId: string;
|
|
8416
|
+
};
|
|
8417
|
+
createApiOnlyUsersResult?: {
|
|
8418
|
+
userIds: string[];
|
|
8419
|
+
};
|
|
8420
|
+
updateRootQuorumResult?: {
|
|
8421
|
+
[key: string]: unknown;
|
|
8422
|
+
};
|
|
8423
|
+
updateUserTagResult?: {
|
|
8424
|
+
userTagId: string;
|
|
8425
|
+
};
|
|
8426
|
+
updatePrivateKeyTagResult?: {
|
|
8427
|
+
privateKeyTagId: string;
|
|
8428
|
+
};
|
|
8429
|
+
createSubOrganizationResult?: {
|
|
8430
|
+
subOrganizationId: string;
|
|
8431
|
+
};
|
|
8432
|
+
updateAllowedOriginsResult?: {
|
|
8433
|
+
[key: string]: unknown;
|
|
8434
|
+
};
|
|
8435
|
+
createPrivateKeysResultV2?: {
|
|
8436
|
+
privateKeys: {
|
|
8437
|
+
privateKeyId?: string;
|
|
8438
|
+
addresses?: {
|
|
8439
|
+
format?: "ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM";
|
|
8440
|
+
address?: string;
|
|
8441
|
+
}[];
|
|
8442
|
+
}[];
|
|
8443
|
+
};
|
|
8444
|
+
};
|
|
8445
|
+
votes: {
|
|
8446
|
+
id: string;
|
|
8447
|
+
userId: string;
|
|
8448
|
+
user: {
|
|
8449
|
+
userId: string;
|
|
8450
|
+
userName: string;
|
|
8451
|
+
userEmail?: string;
|
|
8452
|
+
accessType: "ACCESS_TYPE_WEB" | "ACCESS_TYPE_API" | "ACCESS_TYPE_ALL";
|
|
8453
|
+
authenticators: {
|
|
8454
|
+
transports: ("AUTHENTICATOR_TRANSPORT_BLE" | "AUTHENTICATOR_TRANSPORT_INTERNAL" | "AUTHENTICATOR_TRANSPORT_NFC" | "AUTHENTICATOR_TRANSPORT_USB" | "AUTHENTICATOR_TRANSPORT_HYBRID")[];
|
|
8455
|
+
attestationType: string;
|
|
8456
|
+
aaguid: string;
|
|
8457
|
+
credentialId: string;
|
|
8458
|
+
model: string;
|
|
8459
|
+
credential: {
|
|
8460
|
+
publicKey: string;
|
|
8461
|
+
type: "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR" | "CREDENTIAL_TYPE_API_KEY_P256";
|
|
8462
|
+
};
|
|
8463
|
+
authenticatorId: string;
|
|
8464
|
+
authenticatorName: string;
|
|
8465
|
+
createdAt: {
|
|
8466
|
+
seconds: string;
|
|
8467
|
+
nanos: string;
|
|
8468
|
+
};
|
|
8469
|
+
updatedAt: {
|
|
8470
|
+
seconds: string;
|
|
8471
|
+
nanos: string;
|
|
8472
|
+
};
|
|
8473
|
+
}[];
|
|
8474
|
+
apiKeys: {
|
|
8475
|
+
credential: {
|
|
8476
|
+
publicKey: string;
|
|
8477
|
+
type: "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR" | "CREDENTIAL_TYPE_API_KEY_P256";
|
|
8478
|
+
};
|
|
8479
|
+
apiKeyId: string;
|
|
8480
|
+
apiKeyName: string;
|
|
8481
|
+
createdAt: {
|
|
8482
|
+
seconds: string;
|
|
8483
|
+
nanos: string;
|
|
8484
|
+
};
|
|
8485
|
+
updatedAt: {
|
|
8486
|
+
seconds: string;
|
|
8487
|
+
nanos: string;
|
|
8488
|
+
};
|
|
8489
|
+
}[];
|
|
8490
|
+
userTags: string[];
|
|
8491
|
+
createdAt: {
|
|
8492
|
+
seconds: string;
|
|
8493
|
+
nanos: string;
|
|
8494
|
+
};
|
|
8495
|
+
updatedAt: {
|
|
8496
|
+
seconds: string;
|
|
8497
|
+
nanos: string;
|
|
8498
|
+
};
|
|
8499
|
+
};
|
|
8500
|
+
activityId: string;
|
|
8501
|
+
selection: "VOTE_SELECTION_APPROVED" | "VOTE_SELECTION_REJECTED";
|
|
8502
|
+
message: string;
|
|
8503
|
+
publicKey: string;
|
|
8504
|
+
signature: string;
|
|
8505
|
+
scheme: string;
|
|
8506
|
+
createdAt: {
|
|
8507
|
+
seconds: string;
|
|
8508
|
+
nanos: string;
|
|
8509
|
+
};
|
|
8510
|
+
}[];
|
|
8511
|
+
fingerprint: string;
|
|
8512
|
+
canApprove: boolean;
|
|
8513
|
+
canReject: boolean;
|
|
8514
|
+
createdAt: {
|
|
8515
|
+
seconds: string;
|
|
8516
|
+
nanos: string;
|
|
8517
|
+
};
|
|
8518
|
+
updatedAt: {
|
|
8519
|
+
seconds: string;
|
|
8520
|
+
nanos: string;
|
|
8521
|
+
};
|
|
8522
|
+
};
|
|
8523
|
+
}>;
|
|
6506
8524
|
/**
|
|
6507
8525
|
* Create Users
|
|
6508
8526
|
*
|
|
6509
8527
|
* Create Users in an existing Organization
|
|
6510
8528
|
*
|
|
6511
|
-
* `POST /public/v1/submit/create_users`
|
|
6512
|
-
*
|
|
6513
8529
|
* @deprecated
|
|
6514
8530
|
*/
|
|
6515
|
-
export declare const
|
|
8531
|
+
export declare const federatedPostCreateUsers: (input: TPostCreateUsersInput, options?: TurnkeyCredentialRequestOptions) => Promise<import("../../../../..").FederatedRequest>;
|
|
8532
|
+
/**
|
|
8533
|
+
* `POST /public/v1/submit/delete_api_keys`
|
|
8534
|
+
*/
|
|
8535
|
+
type TPostDeleteApiKeysBody = operations["PublicApiService_DeleteApiKeys"]["parameters"]["body"]["body"];
|
|
8536
|
+
/**
|
|
8537
|
+
* `POST /public/v1/submit/delete_api_keys`
|
|
8538
|
+
*/
|
|
8539
|
+
export type TPostDeleteApiKeysResponse = operations["PublicApiService_DeleteApiKeys"]["responses"]["200"]["schema"];
|
|
8540
|
+
/**
|
|
8541
|
+
* `POST /public/v1/submit/delete_api_keys`
|
|
8542
|
+
*/
|
|
8543
|
+
export type TPostDeleteApiKeysInput = {
|
|
8544
|
+
body: TPostDeleteApiKeysBody;
|
|
8545
|
+
};
|
|
8546
|
+
/**
|
|
8547
|
+
* Delete API Keys
|
|
8548
|
+
*
|
|
8549
|
+
* Remove api keys from a User
|
|
8550
|
+
*
|
|
8551
|
+
* `POST /public/v1/submit/delete_api_keys`
|
|
8552
|
+
*/
|
|
8553
|
+
export declare const postDeleteApiKeys: (input: TPostDeleteApiKeysInput) => Promise<{
|
|
6516
8554
|
activity: {
|
|
6517
8555
|
id: string;
|
|
6518
8556
|
organizationId: string;
|
|
6519
8557
|
status: "ACTIVITY_STATUS_CREATED" | "ACTIVITY_STATUS_PENDING" | "ACTIVITY_STATUS_COMPLETED" | "ACTIVITY_STATUS_FAILED" | "ACTIVITY_STATUS_CONSENSUS_NEEDED" | "ACTIVITY_STATUS_REJECTED";
|
|
6520
|
-
type: "ACTIVITY_TYPE_CREATE_API_KEYS" | "ACTIVITY_TYPE_CREATE_USERS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD" | "ACTIVITY_TYPE_CREATE_INVITATIONS" | "ACTIVITY_TYPE_ACCEPT_INVITATION" | "ACTIVITY_TYPE_CREATE_POLICY" | "ACTIVITY_TYPE_DISABLE_PRIVATE_KEY" | "ACTIVITY_TYPE_DELETE_USERS" | "ACTIVITY_TYPE_DELETE_API_KEYS" | "ACTIVITY_TYPE_DELETE_INVITATION" | "ACTIVITY_TYPE_DELETE_ORGANIZATION" | "ACTIVITY_TYPE_DELETE_POLICY" | "ACTIVITY_TYPE_CREATE_USER_TAG" | "ACTIVITY_TYPE_DELETE_USER_TAGS" | "ACTIVITY_TYPE_CREATE_ORGANIZATION" | "ACTIVITY_TYPE_SIGN_TRANSACTION" | "ACTIVITY_TYPE_APPROVE_ACTIVITY" | "ACTIVITY_TYPE_REJECT_ACTIVITY" | "ACTIVITY_TYPE_DELETE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS" | "ACTIVITY_TYPE_SET_PAYMENT_METHOD" | "ACTIVITY_TYPE_ACTIVATE_BILLING_TIER" | "ACTIVITY_TYPE_DELETE_PAYMENT_METHOD" | "ACTIVITY_TYPE_CREATE_POLICY_V2" | "ACTIVITY_TYPE_CREATE_POLICY_V3" | "ACTIVITY_TYPE_CREATE_API_ONLY_USERS" | "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM" | "ACTIVITY_TYPE_UPDATE_USER_TAG" | "ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS_V2" | "ACTIVITY_TYPE_CREATE_ORGANIZATION_V2" | "ACTIVITY_TYPE_CREATE_USERS_V2" | "ACTIVITY_TYPE_ACCEPT_INVITATION_V2" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V2";
|
|
8558
|
+
type: "ACTIVITY_TYPE_CREATE_API_KEYS" | "ACTIVITY_TYPE_CREATE_USERS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD" | "ACTIVITY_TYPE_CREATE_INVITATIONS" | "ACTIVITY_TYPE_ACCEPT_INVITATION" | "ACTIVITY_TYPE_CREATE_POLICY" | "ACTIVITY_TYPE_DISABLE_PRIVATE_KEY" | "ACTIVITY_TYPE_DELETE_USERS" | "ACTIVITY_TYPE_DELETE_API_KEYS" | "ACTIVITY_TYPE_DELETE_INVITATION" | "ACTIVITY_TYPE_DELETE_ORGANIZATION" | "ACTIVITY_TYPE_DELETE_POLICY" | "ACTIVITY_TYPE_CREATE_USER_TAG" | "ACTIVITY_TYPE_DELETE_USER_TAGS" | "ACTIVITY_TYPE_CREATE_ORGANIZATION" | "ACTIVITY_TYPE_SIGN_TRANSACTION" | "ACTIVITY_TYPE_APPROVE_ACTIVITY" | "ACTIVITY_TYPE_REJECT_ACTIVITY" | "ACTIVITY_TYPE_DELETE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS" | "ACTIVITY_TYPE_SET_PAYMENT_METHOD" | "ACTIVITY_TYPE_ACTIVATE_BILLING_TIER" | "ACTIVITY_TYPE_DELETE_PAYMENT_METHOD" | "ACTIVITY_TYPE_CREATE_POLICY_V2" | "ACTIVITY_TYPE_CREATE_POLICY_V3" | "ACTIVITY_TYPE_CREATE_API_ONLY_USERS" | "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM" | "ACTIVITY_TYPE_UPDATE_USER_TAG" | "ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS_V2" | "ACTIVITY_TYPE_CREATE_ORGANIZATION_V2" | "ACTIVITY_TYPE_CREATE_USERS_V2" | "ACTIVITY_TYPE_ACCEPT_INVITATION_V2" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V2" | "ACTIVITY_TYPE_UPDATE_ALLOWED_ORIGINS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS_V2";
|
|
6521
8559
|
intent: {
|
|
6522
8560
|
createOrganizationIntent: {
|
|
6523
8561
|
organizationName: string;
|
|
6524
8562
|
rootEmail: string;
|
|
6525
8563
|
rootAuthenticator: {
|
|
6526
8564
|
authenticatorName: string;
|
|
6527
|
-
userId: string;
|
|
6528
|
-
* Create Invitations
|
|
6529
|
-
*
|
|
6530
|
-
* Create Invitations to join an existing Organization
|
|
6531
|
-
*/
|
|
8565
|
+
userId: string;
|
|
6532
8566
|
attestation: {
|
|
6533
8567
|
id: string;
|
|
6534
8568
|
type: "public-key";
|
|
@@ -6555,11 +8589,7 @@ export declare const postCreateUsers: (input: TPostCreateUsersInput) => Promise<
|
|
|
6555
8589
|
createAuthenticatorsIntent?: {
|
|
6556
8590
|
authenticators: {
|
|
6557
8591
|
authenticatorName: string;
|
|
6558
|
-
userId: string;
|
|
6559
|
-
* Create Invitations
|
|
6560
|
-
*
|
|
6561
|
-
* Create Invitations to join an existing Organization
|
|
6562
|
-
*/
|
|
8592
|
+
userId: string;
|
|
6563
8593
|
attestation: {
|
|
6564
8594
|
id: string;
|
|
6565
8595
|
type: "public-key";
|
|
@@ -6594,11 +8624,7 @@ export declare const postCreateUsers: (input: TPostCreateUsersInput) => Promise<
|
|
|
6594
8624
|
}[];
|
|
6595
8625
|
authenticators: {
|
|
6596
8626
|
authenticatorName: string;
|
|
6597
|
-
userId: string;
|
|
6598
|
-
* Create Invitations
|
|
6599
|
-
*
|
|
6600
|
-
* Create Invitations to join an existing Organization
|
|
6601
|
-
*/
|
|
8627
|
+
userId: string;
|
|
6602
8628
|
attestation: {
|
|
6603
8629
|
id: string;
|
|
6604
8630
|
type: "public-key";
|
|
@@ -6651,11 +8677,7 @@ export declare const postCreateUsers: (input: TPostCreateUsersInput) => Promise<
|
|
|
6651
8677
|
userId: string;
|
|
6652
8678
|
authenticator: {
|
|
6653
8679
|
authenticatorName: string;
|
|
6654
|
-
userId: string;
|
|
6655
|
-
* Create Invitations
|
|
6656
|
-
*
|
|
6657
|
-
* Create Invitations to join an existing Organization
|
|
6658
|
-
*/
|
|
8680
|
+
userId: string;
|
|
6659
8681
|
attestation: {
|
|
6660
8682
|
id: string;
|
|
6661
8683
|
type: "public-key";
|
|
@@ -6707,6 +8729,11 @@ export declare const postCreateUsers: (input: TPostCreateUsersInput) => Promise<
|
|
|
6707
8729
|
deletePolicyIntent?: {
|
|
6708
8730
|
policyId: string;
|
|
6709
8731
|
};
|
|
8732
|
+
/**
|
|
8733
|
+
* `POST /tkhq/public/v1/query/get_private_key`
|
|
8734
|
+
*
|
|
8735
|
+
* @deprecated
|
|
8736
|
+
*/
|
|
6710
8737
|
createUserTagIntent?: {
|
|
6711
8738
|
userTagName: string;
|
|
6712
8739
|
userIds: string[];
|
|
@@ -6900,6 +8927,17 @@ export declare const postCreateUsers: (input: TPostCreateUsersInput) => Promise<
|
|
|
6900
8927
|
}[];
|
|
6901
8928
|
rootQuorumThreshold: number;
|
|
6902
8929
|
};
|
|
8930
|
+
updateAllowedOriginsIntent?: {
|
|
8931
|
+
allowedOrigins: string[];
|
|
8932
|
+
};
|
|
8933
|
+
createPrivateKeysIntentV2?: {
|
|
8934
|
+
privateKeys: {
|
|
8935
|
+
privateKeyName: string;
|
|
8936
|
+
curve: "CURVE_SECP256K1" | "CURVE_ED25519";
|
|
8937
|
+
privateKeyTags: string[];
|
|
8938
|
+
addressFormats: ("ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM")[];
|
|
8939
|
+
}[];
|
|
8940
|
+
};
|
|
6903
8941
|
};
|
|
6904
8942
|
result: {
|
|
6905
8943
|
createOrganizationResult?: {
|
|
@@ -6998,6 +9036,18 @@ export declare const postCreateUsers: (input: TPostCreateUsersInput) => Promise<
|
|
|
6998
9036
|
createSubOrganizationResult?: {
|
|
6999
9037
|
subOrganizationId: string;
|
|
7000
9038
|
};
|
|
9039
|
+
updateAllowedOriginsResult?: {
|
|
9040
|
+
[key: string]: unknown;
|
|
9041
|
+
};
|
|
9042
|
+
createPrivateKeysResultV2?: {
|
|
9043
|
+
privateKeys: {
|
|
9044
|
+
privateKeyId?: string;
|
|
9045
|
+
addresses?: {
|
|
9046
|
+
format?: "ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM";
|
|
9047
|
+
address?: string;
|
|
9048
|
+
}[];
|
|
9049
|
+
}[];
|
|
9050
|
+
};
|
|
7001
9051
|
};
|
|
7002
9052
|
votes: {
|
|
7003
9053
|
id: string;
|
|
@@ -7079,51 +9129,45 @@ export declare const postCreateUsers: (input: TPostCreateUsersInput) => Promise<
|
|
|
7079
9129
|
};
|
|
7080
9130
|
}>;
|
|
7081
9131
|
/**
|
|
7082
|
-
*
|
|
7083
|
-
*
|
|
7084
|
-
* Create Users in an existing Organization
|
|
9132
|
+
* Delete API Keys
|
|
7085
9133
|
*
|
|
7086
|
-
*
|
|
9134
|
+
* Remove api keys from a User
|
|
7087
9135
|
*/
|
|
7088
|
-
export declare const
|
|
9136
|
+
export declare const federatedPostDeleteApiKeys: (input: TPostDeleteApiKeysInput, options?: TurnkeyCredentialRequestOptions) => Promise<import("../../../../..").FederatedRequest>;
|
|
7089
9137
|
/**
|
|
7090
|
-
* `POST /public/v1/submit/
|
|
9138
|
+
* `POST /public/v1/submit/delete_invitations`
|
|
7091
9139
|
*/
|
|
7092
|
-
type
|
|
9140
|
+
type TPostDeleteInvitationBody = operations["PublicApiService_DeleteInvitation"]["parameters"]["body"]["body"];
|
|
7093
9141
|
/**
|
|
7094
|
-
* `POST /public/v1/submit/
|
|
9142
|
+
* `POST /public/v1/submit/delete_invitations`
|
|
7095
9143
|
*/
|
|
7096
|
-
export type
|
|
9144
|
+
export type TPostDeleteInvitationResponse = operations["PublicApiService_DeleteInvitation"]["responses"]["200"]["schema"];
|
|
7097
9145
|
/**
|
|
7098
|
-
* `POST /public/v1/submit/
|
|
9146
|
+
* `POST /public/v1/submit/delete_invitations`
|
|
7099
9147
|
*/
|
|
7100
|
-
export type
|
|
7101
|
-
body:
|
|
9148
|
+
export type TPostDeleteInvitationInput = {
|
|
9149
|
+
body: TPostDeleteInvitationBody;
|
|
7102
9150
|
};
|
|
7103
9151
|
/**
|
|
7104
|
-
* Delete
|
|
9152
|
+
* Delete Invitation
|
|
7105
9153
|
*
|
|
7106
|
-
*
|
|
9154
|
+
* Delete an existing Invitation
|
|
7107
9155
|
*
|
|
7108
|
-
* `POST /public/v1/submit/
|
|
9156
|
+
* `POST /public/v1/submit/delete_invitations`
|
|
7109
9157
|
*/
|
|
7110
|
-
export declare const
|
|
9158
|
+
export declare const postDeleteInvitation: (input: TPostDeleteInvitationInput) => Promise<{
|
|
7111
9159
|
activity: {
|
|
7112
9160
|
id: string;
|
|
7113
9161
|
organizationId: string;
|
|
7114
9162
|
status: "ACTIVITY_STATUS_CREATED" | "ACTIVITY_STATUS_PENDING" | "ACTIVITY_STATUS_COMPLETED" | "ACTIVITY_STATUS_FAILED" | "ACTIVITY_STATUS_CONSENSUS_NEEDED" | "ACTIVITY_STATUS_REJECTED";
|
|
7115
|
-
type: "ACTIVITY_TYPE_CREATE_API_KEYS" | "ACTIVITY_TYPE_CREATE_USERS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD" | "ACTIVITY_TYPE_CREATE_INVITATIONS" | "ACTIVITY_TYPE_ACCEPT_INVITATION" | "ACTIVITY_TYPE_CREATE_POLICY" | "ACTIVITY_TYPE_DISABLE_PRIVATE_KEY" | "ACTIVITY_TYPE_DELETE_USERS" | "ACTIVITY_TYPE_DELETE_API_KEYS" | "ACTIVITY_TYPE_DELETE_INVITATION" | "ACTIVITY_TYPE_DELETE_ORGANIZATION" | "ACTIVITY_TYPE_DELETE_POLICY" | "ACTIVITY_TYPE_CREATE_USER_TAG" | "ACTIVITY_TYPE_DELETE_USER_TAGS" | "ACTIVITY_TYPE_CREATE_ORGANIZATION" | "ACTIVITY_TYPE_SIGN_TRANSACTION" | "ACTIVITY_TYPE_APPROVE_ACTIVITY" | "ACTIVITY_TYPE_REJECT_ACTIVITY" | "ACTIVITY_TYPE_DELETE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS" | "ACTIVITY_TYPE_SET_PAYMENT_METHOD" | "ACTIVITY_TYPE_ACTIVATE_BILLING_TIER" | "ACTIVITY_TYPE_DELETE_PAYMENT_METHOD" | "ACTIVITY_TYPE_CREATE_POLICY_V2" | "ACTIVITY_TYPE_CREATE_POLICY_V3" | "ACTIVITY_TYPE_CREATE_API_ONLY_USERS" | "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM" | "ACTIVITY_TYPE_UPDATE_USER_TAG" | "ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS_V2" | "ACTIVITY_TYPE_CREATE_ORGANIZATION_V2" | "ACTIVITY_TYPE_CREATE_USERS_V2" | "ACTIVITY_TYPE_ACCEPT_INVITATION_V2" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V2";
|
|
9163
|
+
type: "ACTIVITY_TYPE_CREATE_API_KEYS" | "ACTIVITY_TYPE_CREATE_USERS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD" | "ACTIVITY_TYPE_CREATE_INVITATIONS" | "ACTIVITY_TYPE_ACCEPT_INVITATION" | "ACTIVITY_TYPE_CREATE_POLICY" | "ACTIVITY_TYPE_DISABLE_PRIVATE_KEY" | "ACTIVITY_TYPE_DELETE_USERS" | "ACTIVITY_TYPE_DELETE_API_KEYS" | "ACTIVITY_TYPE_DELETE_INVITATION" | "ACTIVITY_TYPE_DELETE_ORGANIZATION" | "ACTIVITY_TYPE_DELETE_POLICY" | "ACTIVITY_TYPE_CREATE_USER_TAG" | "ACTIVITY_TYPE_DELETE_USER_TAGS" | "ACTIVITY_TYPE_CREATE_ORGANIZATION" | "ACTIVITY_TYPE_SIGN_TRANSACTION" | "ACTIVITY_TYPE_APPROVE_ACTIVITY" | "ACTIVITY_TYPE_REJECT_ACTIVITY" | "ACTIVITY_TYPE_DELETE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS" | "ACTIVITY_TYPE_SET_PAYMENT_METHOD" | "ACTIVITY_TYPE_ACTIVATE_BILLING_TIER" | "ACTIVITY_TYPE_DELETE_PAYMENT_METHOD" | "ACTIVITY_TYPE_CREATE_POLICY_V2" | "ACTIVITY_TYPE_CREATE_POLICY_V3" | "ACTIVITY_TYPE_CREATE_API_ONLY_USERS" | "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM" | "ACTIVITY_TYPE_UPDATE_USER_TAG" | "ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS_V2" | "ACTIVITY_TYPE_CREATE_ORGANIZATION_V2" | "ACTIVITY_TYPE_CREATE_USERS_V2" | "ACTIVITY_TYPE_ACCEPT_INVITATION_V2" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V2" | "ACTIVITY_TYPE_UPDATE_ALLOWED_ORIGINS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS_V2";
|
|
7116
9164
|
intent: {
|
|
7117
9165
|
createOrganizationIntent: {
|
|
7118
9166
|
organizationName: string;
|
|
7119
9167
|
rootEmail: string;
|
|
7120
9168
|
rootAuthenticator: {
|
|
7121
9169
|
authenticatorName: string;
|
|
7122
|
-
userId: string;
|
|
7123
|
-
* Create Invitations
|
|
7124
|
-
*
|
|
7125
|
-
* Create Invitations to join an existing Organization
|
|
7126
|
-
*/
|
|
9170
|
+
userId: string;
|
|
7127
9171
|
attestation: {
|
|
7128
9172
|
id: string;
|
|
7129
9173
|
type: "public-key";
|
|
@@ -7150,11 +9194,7 @@ export declare const postDeleteApiKeys: (input: TPostDeleteApiKeysInput) => Prom
|
|
|
7150
9194
|
createAuthenticatorsIntent?: {
|
|
7151
9195
|
authenticators: {
|
|
7152
9196
|
authenticatorName: string;
|
|
7153
|
-
userId: string;
|
|
7154
|
-
* Create Invitations
|
|
7155
|
-
*
|
|
7156
|
-
* Create Invitations to join an existing Organization
|
|
7157
|
-
*/
|
|
9197
|
+
userId: string;
|
|
7158
9198
|
attestation: {
|
|
7159
9199
|
id: string;
|
|
7160
9200
|
type: "public-key";
|
|
@@ -7189,11 +9229,7 @@ export declare const postDeleteApiKeys: (input: TPostDeleteApiKeysInput) => Prom
|
|
|
7189
9229
|
}[];
|
|
7190
9230
|
authenticators: {
|
|
7191
9231
|
authenticatorName: string;
|
|
7192
|
-
userId: string;
|
|
7193
|
-
* Create Invitations
|
|
7194
|
-
*
|
|
7195
|
-
* Create Invitations to join an existing Organization
|
|
7196
|
-
*/
|
|
9232
|
+
userId: string;
|
|
7197
9233
|
attestation: {
|
|
7198
9234
|
id: string;
|
|
7199
9235
|
type: "public-key";
|
|
@@ -7246,11 +9282,7 @@ export declare const postDeleteApiKeys: (input: TPostDeleteApiKeysInput) => Prom
|
|
|
7246
9282
|
userId: string;
|
|
7247
9283
|
authenticator: {
|
|
7248
9284
|
authenticatorName: string;
|
|
7249
|
-
userId: string;
|
|
7250
|
-
* Create Invitations
|
|
7251
|
-
*
|
|
7252
|
-
* Create Invitations to join an existing Organization
|
|
7253
|
-
*/
|
|
9285
|
+
userId: string;
|
|
7254
9286
|
attestation: {
|
|
7255
9287
|
id: string;
|
|
7256
9288
|
type: "public-key";
|
|
@@ -7302,6 +9334,11 @@ export declare const postDeleteApiKeys: (input: TPostDeleteApiKeysInput) => Prom
|
|
|
7302
9334
|
deletePolicyIntent?: {
|
|
7303
9335
|
policyId: string;
|
|
7304
9336
|
};
|
|
9337
|
+
/**
|
|
9338
|
+
* `POST /tkhq/public/v1/query/get_private_key`
|
|
9339
|
+
*
|
|
9340
|
+
* @deprecated
|
|
9341
|
+
*/
|
|
7305
9342
|
createUserTagIntent?: {
|
|
7306
9343
|
userTagName: string;
|
|
7307
9344
|
userIds: string[];
|
|
@@ -7493,7 +9530,18 @@ export declare const postDeleteApiKeys: (input: TPostDeleteApiKeysInput) => Prom
|
|
|
7493
9530
|
};
|
|
7494
9531
|
}[];
|
|
7495
9532
|
}[];
|
|
7496
|
-
rootQuorumThreshold: number;
|
|
9533
|
+
rootQuorumThreshold: number;
|
|
9534
|
+
};
|
|
9535
|
+
updateAllowedOriginsIntent?: {
|
|
9536
|
+
allowedOrigins: string[];
|
|
9537
|
+
};
|
|
9538
|
+
createPrivateKeysIntentV2?: {
|
|
9539
|
+
privateKeys: {
|
|
9540
|
+
privateKeyName: string;
|
|
9541
|
+
curve: "CURVE_SECP256K1" | "CURVE_ED25519";
|
|
9542
|
+
privateKeyTags: string[];
|
|
9543
|
+
addressFormats: ("ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM")[];
|
|
9544
|
+
}[];
|
|
7497
9545
|
};
|
|
7498
9546
|
};
|
|
7499
9547
|
result: {
|
|
@@ -7593,6 +9641,18 @@ export declare const postDeleteApiKeys: (input: TPostDeleteApiKeysInput) => Prom
|
|
|
7593
9641
|
createSubOrganizationResult?: {
|
|
7594
9642
|
subOrganizationId: string;
|
|
7595
9643
|
};
|
|
9644
|
+
updateAllowedOriginsResult?: {
|
|
9645
|
+
[key: string]: unknown;
|
|
9646
|
+
};
|
|
9647
|
+
createPrivateKeysResultV2?: {
|
|
9648
|
+
privateKeys: {
|
|
9649
|
+
privateKeyId?: string;
|
|
9650
|
+
addresses?: {
|
|
9651
|
+
format?: "ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM";
|
|
9652
|
+
address?: string;
|
|
9653
|
+
}[];
|
|
9654
|
+
}[];
|
|
9655
|
+
};
|
|
7596
9656
|
};
|
|
7597
9657
|
votes: {
|
|
7598
9658
|
id: string;
|
|
@@ -7674,49 +9734,45 @@ export declare const postDeleteApiKeys: (input: TPostDeleteApiKeysInput) => Prom
|
|
|
7674
9734
|
};
|
|
7675
9735
|
}>;
|
|
7676
9736
|
/**
|
|
7677
|
-
* Delete
|
|
9737
|
+
* Delete Invitation
|
|
7678
9738
|
*
|
|
7679
|
-
*
|
|
9739
|
+
* Delete an existing Invitation
|
|
7680
9740
|
*/
|
|
7681
|
-
export declare const
|
|
9741
|
+
export declare const federatedPostDeleteInvitation: (input: TPostDeleteInvitationInput, options?: TurnkeyCredentialRequestOptions) => Promise<import("../../../../..").FederatedRequest>;
|
|
7682
9742
|
/**
|
|
7683
|
-
* `POST /public/v1/submit/
|
|
9743
|
+
* `POST /public/v1/submit/delete_policy`
|
|
7684
9744
|
*/
|
|
7685
|
-
type
|
|
9745
|
+
type TPostDeletePolicyBody = operations["PublicApiService_DeletePolicy"]["parameters"]["body"]["body"];
|
|
7686
9746
|
/**
|
|
7687
|
-
* `POST /public/v1/submit/
|
|
9747
|
+
* `POST /public/v1/submit/delete_policy`
|
|
7688
9748
|
*/
|
|
7689
|
-
export type
|
|
9749
|
+
export type TPostDeletePolicyResponse = operations["PublicApiService_DeletePolicy"]["responses"]["200"]["schema"];
|
|
7690
9750
|
/**
|
|
7691
|
-
* `POST /public/v1/submit/
|
|
9751
|
+
* `POST /public/v1/submit/delete_policy`
|
|
7692
9752
|
*/
|
|
7693
|
-
export type
|
|
7694
|
-
body:
|
|
9753
|
+
export type TPostDeletePolicyInput = {
|
|
9754
|
+
body: TPostDeletePolicyBody;
|
|
7695
9755
|
};
|
|
7696
9756
|
/**
|
|
7697
|
-
* Delete
|
|
9757
|
+
* Delete Policy
|
|
7698
9758
|
*
|
|
7699
|
-
* Delete an existing
|
|
9759
|
+
* Delete an existing Policy
|
|
7700
9760
|
*
|
|
7701
|
-
* `POST /public/v1/submit/
|
|
9761
|
+
* `POST /public/v1/submit/delete_policy`
|
|
7702
9762
|
*/
|
|
7703
|
-
export declare const
|
|
9763
|
+
export declare const postDeletePolicy: (input: TPostDeletePolicyInput) => Promise<{
|
|
7704
9764
|
activity: {
|
|
7705
9765
|
id: string;
|
|
7706
9766
|
organizationId: string;
|
|
7707
9767
|
status: "ACTIVITY_STATUS_CREATED" | "ACTIVITY_STATUS_PENDING" | "ACTIVITY_STATUS_COMPLETED" | "ACTIVITY_STATUS_FAILED" | "ACTIVITY_STATUS_CONSENSUS_NEEDED" | "ACTIVITY_STATUS_REJECTED";
|
|
7708
|
-
type: "ACTIVITY_TYPE_CREATE_API_KEYS" | "ACTIVITY_TYPE_CREATE_USERS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD" | "ACTIVITY_TYPE_CREATE_INVITATIONS" | "ACTIVITY_TYPE_ACCEPT_INVITATION" | "ACTIVITY_TYPE_CREATE_POLICY" | "ACTIVITY_TYPE_DISABLE_PRIVATE_KEY" | "ACTIVITY_TYPE_DELETE_USERS" | "ACTIVITY_TYPE_DELETE_API_KEYS" | "ACTIVITY_TYPE_DELETE_INVITATION" | "ACTIVITY_TYPE_DELETE_ORGANIZATION" | "ACTIVITY_TYPE_DELETE_POLICY" | "ACTIVITY_TYPE_CREATE_USER_TAG" | "ACTIVITY_TYPE_DELETE_USER_TAGS" | "ACTIVITY_TYPE_CREATE_ORGANIZATION" | "ACTIVITY_TYPE_SIGN_TRANSACTION" | "ACTIVITY_TYPE_APPROVE_ACTIVITY" | "ACTIVITY_TYPE_REJECT_ACTIVITY" | "ACTIVITY_TYPE_DELETE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS" | "ACTIVITY_TYPE_SET_PAYMENT_METHOD" | "ACTIVITY_TYPE_ACTIVATE_BILLING_TIER" | "ACTIVITY_TYPE_DELETE_PAYMENT_METHOD" | "ACTIVITY_TYPE_CREATE_POLICY_V2" | "ACTIVITY_TYPE_CREATE_POLICY_V3" | "ACTIVITY_TYPE_CREATE_API_ONLY_USERS" | "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM" | "ACTIVITY_TYPE_UPDATE_USER_TAG" | "ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS_V2" | "ACTIVITY_TYPE_CREATE_ORGANIZATION_V2" | "ACTIVITY_TYPE_CREATE_USERS_V2" | "ACTIVITY_TYPE_ACCEPT_INVITATION_V2" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V2";
|
|
9768
|
+
type: "ACTIVITY_TYPE_CREATE_API_KEYS" | "ACTIVITY_TYPE_CREATE_USERS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD" | "ACTIVITY_TYPE_CREATE_INVITATIONS" | "ACTIVITY_TYPE_ACCEPT_INVITATION" | "ACTIVITY_TYPE_CREATE_POLICY" | "ACTIVITY_TYPE_DISABLE_PRIVATE_KEY" | "ACTIVITY_TYPE_DELETE_USERS" | "ACTIVITY_TYPE_DELETE_API_KEYS" | "ACTIVITY_TYPE_DELETE_INVITATION" | "ACTIVITY_TYPE_DELETE_ORGANIZATION" | "ACTIVITY_TYPE_DELETE_POLICY" | "ACTIVITY_TYPE_CREATE_USER_TAG" | "ACTIVITY_TYPE_DELETE_USER_TAGS" | "ACTIVITY_TYPE_CREATE_ORGANIZATION" | "ACTIVITY_TYPE_SIGN_TRANSACTION" | "ACTIVITY_TYPE_APPROVE_ACTIVITY" | "ACTIVITY_TYPE_REJECT_ACTIVITY" | "ACTIVITY_TYPE_DELETE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS" | "ACTIVITY_TYPE_SET_PAYMENT_METHOD" | "ACTIVITY_TYPE_ACTIVATE_BILLING_TIER" | "ACTIVITY_TYPE_DELETE_PAYMENT_METHOD" | "ACTIVITY_TYPE_CREATE_POLICY_V2" | "ACTIVITY_TYPE_CREATE_POLICY_V3" | "ACTIVITY_TYPE_CREATE_API_ONLY_USERS" | "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM" | "ACTIVITY_TYPE_UPDATE_USER_TAG" | "ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS_V2" | "ACTIVITY_TYPE_CREATE_ORGANIZATION_V2" | "ACTIVITY_TYPE_CREATE_USERS_V2" | "ACTIVITY_TYPE_ACCEPT_INVITATION_V2" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V2" | "ACTIVITY_TYPE_UPDATE_ALLOWED_ORIGINS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS_V2";
|
|
7709
9769
|
intent: {
|
|
7710
9770
|
createOrganizationIntent: {
|
|
7711
9771
|
organizationName: string;
|
|
7712
9772
|
rootEmail: string;
|
|
7713
9773
|
rootAuthenticator: {
|
|
7714
9774
|
authenticatorName: string;
|
|
7715
|
-
userId: string;
|
|
7716
|
-
* Create Invitations
|
|
7717
|
-
*
|
|
7718
|
-
* Create Invitations to join an existing Organization
|
|
7719
|
-
*/
|
|
9775
|
+
userId: string;
|
|
7720
9776
|
attestation: {
|
|
7721
9777
|
id: string;
|
|
7722
9778
|
type: "public-key";
|
|
@@ -7743,11 +9799,7 @@ export declare const postDeleteInvitation: (input: TPostDeleteInvitationInput) =
|
|
|
7743
9799
|
createAuthenticatorsIntent?: {
|
|
7744
9800
|
authenticators: {
|
|
7745
9801
|
authenticatorName: string;
|
|
7746
|
-
userId: string;
|
|
7747
|
-
* Create Invitations
|
|
7748
|
-
*
|
|
7749
|
-
* Create Invitations to join an existing Organization
|
|
7750
|
-
*/
|
|
9802
|
+
userId: string;
|
|
7751
9803
|
attestation: {
|
|
7752
9804
|
id: string;
|
|
7753
9805
|
type: "public-key";
|
|
@@ -7782,11 +9834,7 @@ export declare const postDeleteInvitation: (input: TPostDeleteInvitationInput) =
|
|
|
7782
9834
|
}[];
|
|
7783
9835
|
authenticators: {
|
|
7784
9836
|
authenticatorName: string;
|
|
7785
|
-
userId: string;
|
|
7786
|
-
* Create Invitations
|
|
7787
|
-
*
|
|
7788
|
-
* Create Invitations to join an existing Organization
|
|
7789
|
-
*/
|
|
9837
|
+
userId: string;
|
|
7790
9838
|
attestation: {
|
|
7791
9839
|
id: string;
|
|
7792
9840
|
type: "public-key";
|
|
@@ -7839,11 +9887,7 @@ export declare const postDeleteInvitation: (input: TPostDeleteInvitationInput) =
|
|
|
7839
9887
|
userId: string;
|
|
7840
9888
|
authenticator: {
|
|
7841
9889
|
authenticatorName: string;
|
|
7842
|
-
userId: string;
|
|
7843
|
-
* Create Invitations
|
|
7844
|
-
*
|
|
7845
|
-
* Create Invitations to join an existing Organization
|
|
7846
|
-
*/
|
|
9890
|
+
userId: string;
|
|
7847
9891
|
attestation: {
|
|
7848
9892
|
id: string;
|
|
7849
9893
|
type: "public-key";
|
|
@@ -7895,6 +9939,11 @@ export declare const postDeleteInvitation: (input: TPostDeleteInvitationInput) =
|
|
|
7895
9939
|
deletePolicyIntent?: {
|
|
7896
9940
|
policyId: string;
|
|
7897
9941
|
};
|
|
9942
|
+
/**
|
|
9943
|
+
* `POST /tkhq/public/v1/query/get_private_key`
|
|
9944
|
+
*
|
|
9945
|
+
* @deprecated
|
|
9946
|
+
*/
|
|
7898
9947
|
createUserTagIntent?: {
|
|
7899
9948
|
userTagName: string;
|
|
7900
9949
|
userIds: string[];
|
|
@@ -8088,6 +10137,17 @@ export declare const postDeleteInvitation: (input: TPostDeleteInvitationInput) =
|
|
|
8088
10137
|
}[];
|
|
8089
10138
|
rootQuorumThreshold: number;
|
|
8090
10139
|
};
|
|
10140
|
+
updateAllowedOriginsIntent?: {
|
|
10141
|
+
allowedOrigins: string[];
|
|
10142
|
+
};
|
|
10143
|
+
createPrivateKeysIntentV2?: {
|
|
10144
|
+
privateKeys: {
|
|
10145
|
+
privateKeyName: string;
|
|
10146
|
+
curve: "CURVE_SECP256K1" | "CURVE_ED25519";
|
|
10147
|
+
privateKeyTags: string[];
|
|
10148
|
+
addressFormats: ("ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM")[];
|
|
10149
|
+
}[];
|
|
10150
|
+
};
|
|
8091
10151
|
};
|
|
8092
10152
|
result: {
|
|
8093
10153
|
createOrganizationResult?: {
|
|
@@ -8186,6 +10246,18 @@ export declare const postDeleteInvitation: (input: TPostDeleteInvitationInput) =
|
|
|
8186
10246
|
createSubOrganizationResult?: {
|
|
8187
10247
|
subOrganizationId: string;
|
|
8188
10248
|
};
|
|
10249
|
+
updateAllowedOriginsResult?: {
|
|
10250
|
+
[key: string]: unknown;
|
|
10251
|
+
};
|
|
10252
|
+
createPrivateKeysResultV2?: {
|
|
10253
|
+
privateKeys: {
|
|
10254
|
+
privateKeyId?: string;
|
|
10255
|
+
addresses?: {
|
|
10256
|
+
format?: "ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM";
|
|
10257
|
+
address?: string;
|
|
10258
|
+
}[];
|
|
10259
|
+
}[];
|
|
10260
|
+
};
|
|
8189
10261
|
};
|
|
8190
10262
|
votes: {
|
|
8191
10263
|
id: string;
|
|
@@ -8267,49 +10339,45 @@ export declare const postDeleteInvitation: (input: TPostDeleteInvitationInput) =
|
|
|
8267
10339
|
};
|
|
8268
10340
|
}>;
|
|
8269
10341
|
/**
|
|
8270
|
-
* Delete
|
|
10342
|
+
* Delete Policy
|
|
8271
10343
|
*
|
|
8272
|
-
* Delete an existing
|
|
10344
|
+
* Delete an existing Policy
|
|
8273
10345
|
*/
|
|
8274
|
-
export declare const
|
|
10346
|
+
export declare const federatedPostDeletePolicy: (input: TPostDeletePolicyInput, options?: TurnkeyCredentialRequestOptions) => Promise<import("../../../../..").FederatedRequest>;
|
|
8275
10347
|
/**
|
|
8276
|
-
* `POST /public/v1/submit/
|
|
10348
|
+
* `POST /public/v1/submit/reject_activity`
|
|
8277
10349
|
*/
|
|
8278
|
-
type
|
|
10350
|
+
type TPostRejectActivityBody = operations["PublicApiService_RejectActivity"]["parameters"]["body"]["body"];
|
|
8279
10351
|
/**
|
|
8280
|
-
* `POST /public/v1/submit/
|
|
10352
|
+
* `POST /public/v1/submit/reject_activity`
|
|
8281
10353
|
*/
|
|
8282
|
-
export type
|
|
10354
|
+
export type TPostRejectActivityResponse = operations["PublicApiService_RejectActivity"]["responses"]["200"]["schema"];
|
|
8283
10355
|
/**
|
|
8284
|
-
* `POST /public/v1/submit/
|
|
10356
|
+
* `POST /public/v1/submit/reject_activity`
|
|
8285
10357
|
*/
|
|
8286
|
-
export type
|
|
8287
|
-
body:
|
|
10358
|
+
export type TPostRejectActivityInput = {
|
|
10359
|
+
body: TPostRejectActivityBody;
|
|
8288
10360
|
};
|
|
8289
10361
|
/**
|
|
8290
|
-
*
|
|
10362
|
+
* Reject Activity
|
|
8291
10363
|
*
|
|
8292
|
-
*
|
|
10364
|
+
* Reject an Activity
|
|
8293
10365
|
*
|
|
8294
|
-
* `POST /public/v1/submit/
|
|
10366
|
+
* `POST /public/v1/submit/reject_activity`
|
|
8295
10367
|
*/
|
|
8296
|
-
export declare const
|
|
10368
|
+
export declare const postRejectActivity: (input: TPostRejectActivityInput) => Promise<{
|
|
8297
10369
|
activity: {
|
|
8298
10370
|
id: string;
|
|
8299
10371
|
organizationId: string;
|
|
8300
10372
|
status: "ACTIVITY_STATUS_CREATED" | "ACTIVITY_STATUS_PENDING" | "ACTIVITY_STATUS_COMPLETED" | "ACTIVITY_STATUS_FAILED" | "ACTIVITY_STATUS_CONSENSUS_NEEDED" | "ACTIVITY_STATUS_REJECTED";
|
|
8301
|
-
type: "ACTIVITY_TYPE_CREATE_API_KEYS" | "ACTIVITY_TYPE_CREATE_USERS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD" | "ACTIVITY_TYPE_CREATE_INVITATIONS" | "ACTIVITY_TYPE_ACCEPT_INVITATION" | "ACTIVITY_TYPE_CREATE_POLICY" | "ACTIVITY_TYPE_DISABLE_PRIVATE_KEY" | "ACTIVITY_TYPE_DELETE_USERS" | "ACTIVITY_TYPE_DELETE_API_KEYS" | "ACTIVITY_TYPE_DELETE_INVITATION" | "ACTIVITY_TYPE_DELETE_ORGANIZATION" | "ACTIVITY_TYPE_DELETE_POLICY" | "ACTIVITY_TYPE_CREATE_USER_TAG" | "ACTIVITY_TYPE_DELETE_USER_TAGS" | "ACTIVITY_TYPE_CREATE_ORGANIZATION" | "ACTIVITY_TYPE_SIGN_TRANSACTION" | "ACTIVITY_TYPE_APPROVE_ACTIVITY" | "ACTIVITY_TYPE_REJECT_ACTIVITY" | "ACTIVITY_TYPE_DELETE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS" | "ACTIVITY_TYPE_SET_PAYMENT_METHOD" | "ACTIVITY_TYPE_ACTIVATE_BILLING_TIER" | "ACTIVITY_TYPE_DELETE_PAYMENT_METHOD" | "ACTIVITY_TYPE_CREATE_POLICY_V2" | "ACTIVITY_TYPE_CREATE_POLICY_V3" | "ACTIVITY_TYPE_CREATE_API_ONLY_USERS" | "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM" | "ACTIVITY_TYPE_UPDATE_USER_TAG" | "ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS_V2" | "ACTIVITY_TYPE_CREATE_ORGANIZATION_V2" | "ACTIVITY_TYPE_CREATE_USERS_V2" | "ACTIVITY_TYPE_ACCEPT_INVITATION_V2" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V2";
|
|
10373
|
+
type: "ACTIVITY_TYPE_CREATE_API_KEYS" | "ACTIVITY_TYPE_CREATE_USERS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD" | "ACTIVITY_TYPE_CREATE_INVITATIONS" | "ACTIVITY_TYPE_ACCEPT_INVITATION" | "ACTIVITY_TYPE_CREATE_POLICY" | "ACTIVITY_TYPE_DISABLE_PRIVATE_KEY" | "ACTIVITY_TYPE_DELETE_USERS" | "ACTIVITY_TYPE_DELETE_API_KEYS" | "ACTIVITY_TYPE_DELETE_INVITATION" | "ACTIVITY_TYPE_DELETE_ORGANIZATION" | "ACTIVITY_TYPE_DELETE_POLICY" | "ACTIVITY_TYPE_CREATE_USER_TAG" | "ACTIVITY_TYPE_DELETE_USER_TAGS" | "ACTIVITY_TYPE_CREATE_ORGANIZATION" | "ACTIVITY_TYPE_SIGN_TRANSACTION" | "ACTIVITY_TYPE_APPROVE_ACTIVITY" | "ACTIVITY_TYPE_REJECT_ACTIVITY" | "ACTIVITY_TYPE_DELETE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS" | "ACTIVITY_TYPE_SET_PAYMENT_METHOD" | "ACTIVITY_TYPE_ACTIVATE_BILLING_TIER" | "ACTIVITY_TYPE_DELETE_PAYMENT_METHOD" | "ACTIVITY_TYPE_CREATE_POLICY_V2" | "ACTIVITY_TYPE_CREATE_POLICY_V3" | "ACTIVITY_TYPE_CREATE_API_ONLY_USERS" | "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM" | "ACTIVITY_TYPE_UPDATE_USER_TAG" | "ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS_V2" | "ACTIVITY_TYPE_CREATE_ORGANIZATION_V2" | "ACTIVITY_TYPE_CREATE_USERS_V2" | "ACTIVITY_TYPE_ACCEPT_INVITATION_V2" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V2" | "ACTIVITY_TYPE_UPDATE_ALLOWED_ORIGINS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS_V2";
|
|
8302
10374
|
intent: {
|
|
8303
10375
|
createOrganizationIntent: {
|
|
8304
10376
|
organizationName: string;
|
|
8305
10377
|
rootEmail: string;
|
|
8306
10378
|
rootAuthenticator: {
|
|
8307
10379
|
authenticatorName: string;
|
|
8308
|
-
userId: string;
|
|
8309
|
-
* Create Invitations
|
|
8310
|
-
*
|
|
8311
|
-
* Create Invitations to join an existing Organization
|
|
8312
|
-
*/
|
|
10380
|
+
userId: string;
|
|
8313
10381
|
attestation: {
|
|
8314
10382
|
id: string;
|
|
8315
10383
|
type: "public-key";
|
|
@@ -8336,11 +10404,7 @@ export declare const postDeletePolicy: (input: TPostDeletePolicyInput) => Promis
|
|
|
8336
10404
|
createAuthenticatorsIntent?: {
|
|
8337
10405
|
authenticators: {
|
|
8338
10406
|
authenticatorName: string;
|
|
8339
|
-
userId: string;
|
|
8340
|
-
* Create Invitations
|
|
8341
|
-
*
|
|
8342
|
-
* Create Invitations to join an existing Organization
|
|
8343
|
-
*/
|
|
10407
|
+
userId: string;
|
|
8344
10408
|
attestation: {
|
|
8345
10409
|
id: string;
|
|
8346
10410
|
type: "public-key";
|
|
@@ -8375,11 +10439,7 @@ export declare const postDeletePolicy: (input: TPostDeletePolicyInput) => Promis
|
|
|
8375
10439
|
}[];
|
|
8376
10440
|
authenticators: {
|
|
8377
10441
|
authenticatorName: string;
|
|
8378
|
-
userId: string;
|
|
8379
|
-
* Create Invitations
|
|
8380
|
-
*
|
|
8381
|
-
* Create Invitations to join an existing Organization
|
|
8382
|
-
*/
|
|
10442
|
+
userId: string;
|
|
8383
10443
|
attestation: {
|
|
8384
10444
|
id: string;
|
|
8385
10445
|
type: "public-key";
|
|
@@ -8432,11 +10492,7 @@ export declare const postDeletePolicy: (input: TPostDeletePolicyInput) => Promis
|
|
|
8432
10492
|
userId: string;
|
|
8433
10493
|
authenticator: {
|
|
8434
10494
|
authenticatorName: string;
|
|
8435
|
-
userId: string;
|
|
8436
|
-
* Create Invitations
|
|
8437
|
-
*
|
|
8438
|
-
* Create Invitations to join an existing Organization
|
|
8439
|
-
*/
|
|
10495
|
+
userId: string;
|
|
8440
10496
|
attestation: {
|
|
8441
10497
|
id: string;
|
|
8442
10498
|
type: "public-key";
|
|
@@ -8488,6 +10544,11 @@ export declare const postDeletePolicy: (input: TPostDeletePolicyInput) => Promis
|
|
|
8488
10544
|
deletePolicyIntent?: {
|
|
8489
10545
|
policyId: string;
|
|
8490
10546
|
};
|
|
10547
|
+
/**
|
|
10548
|
+
* `POST /tkhq/public/v1/query/get_private_key`
|
|
10549
|
+
*
|
|
10550
|
+
* @deprecated
|
|
10551
|
+
*/
|
|
8491
10552
|
createUserTagIntent?: {
|
|
8492
10553
|
userTagName: string;
|
|
8493
10554
|
userIds: string[];
|
|
@@ -8681,6 +10742,17 @@ export declare const postDeletePolicy: (input: TPostDeletePolicyInput) => Promis
|
|
|
8681
10742
|
}[];
|
|
8682
10743
|
rootQuorumThreshold: number;
|
|
8683
10744
|
};
|
|
10745
|
+
updateAllowedOriginsIntent?: {
|
|
10746
|
+
allowedOrigins: string[];
|
|
10747
|
+
};
|
|
10748
|
+
createPrivateKeysIntentV2?: {
|
|
10749
|
+
privateKeys: {
|
|
10750
|
+
privateKeyName: string;
|
|
10751
|
+
curve: "CURVE_SECP256K1" | "CURVE_ED25519";
|
|
10752
|
+
privateKeyTags: string[];
|
|
10753
|
+
addressFormats: ("ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM")[];
|
|
10754
|
+
}[];
|
|
10755
|
+
};
|
|
8684
10756
|
};
|
|
8685
10757
|
result: {
|
|
8686
10758
|
createOrganizationResult?: {
|
|
@@ -8779,6 +10851,18 @@ export declare const postDeletePolicy: (input: TPostDeletePolicyInput) => Promis
|
|
|
8779
10851
|
createSubOrganizationResult?: {
|
|
8780
10852
|
subOrganizationId: string;
|
|
8781
10853
|
};
|
|
10854
|
+
updateAllowedOriginsResult?: {
|
|
10855
|
+
[key: string]: unknown;
|
|
10856
|
+
};
|
|
10857
|
+
createPrivateKeysResultV2?: {
|
|
10858
|
+
privateKeys: {
|
|
10859
|
+
privateKeyId?: string;
|
|
10860
|
+
addresses?: {
|
|
10861
|
+
format?: "ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM";
|
|
10862
|
+
address?: string;
|
|
10863
|
+
}[];
|
|
10864
|
+
}[];
|
|
10865
|
+
};
|
|
8782
10866
|
};
|
|
8783
10867
|
votes: {
|
|
8784
10868
|
id: string;
|
|
@@ -8860,49 +10944,45 @@ export declare const postDeletePolicy: (input: TPostDeletePolicyInput) => Promis
|
|
|
8860
10944
|
};
|
|
8861
10945
|
}>;
|
|
8862
10946
|
/**
|
|
8863
|
-
*
|
|
10947
|
+
* Reject Activity
|
|
8864
10948
|
*
|
|
8865
|
-
*
|
|
10949
|
+
* Reject an Activity
|
|
8866
10950
|
*/
|
|
8867
|
-
export declare const
|
|
10951
|
+
export declare const federatedPostRejectActivity: (input: TPostRejectActivityInput, options?: TurnkeyCredentialRequestOptions) => Promise<import("../../../../..").FederatedRequest>;
|
|
8868
10952
|
/**
|
|
8869
|
-
* `POST /public/v1/submit/
|
|
10953
|
+
* `POST /public/v1/submit/sign_raw_payload`
|
|
8870
10954
|
*/
|
|
8871
|
-
type
|
|
10955
|
+
type TPostSignRawPayloadBody = operations["PublicApiService_SignRawPayload"]["parameters"]["body"]["body"];
|
|
8872
10956
|
/**
|
|
8873
|
-
* `POST /public/v1/submit/
|
|
10957
|
+
* `POST /public/v1/submit/sign_raw_payload`
|
|
8874
10958
|
*/
|
|
8875
|
-
export type
|
|
10959
|
+
export type TPostSignRawPayloadResponse = operations["PublicApiService_SignRawPayload"]["responses"]["200"]["schema"];
|
|
8876
10960
|
/**
|
|
8877
|
-
* `POST /public/v1/submit/
|
|
10961
|
+
* `POST /public/v1/submit/sign_raw_payload`
|
|
8878
10962
|
*/
|
|
8879
|
-
export type
|
|
8880
|
-
body:
|
|
10963
|
+
export type TPostSignRawPayloadInput = {
|
|
10964
|
+
body: TPostSignRawPayloadBody;
|
|
8881
10965
|
};
|
|
8882
10966
|
/**
|
|
8883
|
-
*
|
|
10967
|
+
* Sign Raw Payload
|
|
8884
10968
|
*
|
|
8885
|
-
*
|
|
10969
|
+
* Sign a raw payload with a Private Key
|
|
8886
10970
|
*
|
|
8887
|
-
* `POST /public/v1/submit/
|
|
10971
|
+
* `POST /public/v1/submit/sign_raw_payload`
|
|
8888
10972
|
*/
|
|
8889
|
-
export declare const
|
|
10973
|
+
export declare const postSignRawPayload: (input: TPostSignRawPayloadInput) => Promise<{
|
|
8890
10974
|
activity: {
|
|
8891
10975
|
id: string;
|
|
8892
10976
|
organizationId: string;
|
|
8893
10977
|
status: "ACTIVITY_STATUS_CREATED" | "ACTIVITY_STATUS_PENDING" | "ACTIVITY_STATUS_COMPLETED" | "ACTIVITY_STATUS_FAILED" | "ACTIVITY_STATUS_CONSENSUS_NEEDED" | "ACTIVITY_STATUS_REJECTED";
|
|
8894
|
-
type: "ACTIVITY_TYPE_CREATE_API_KEYS" | "ACTIVITY_TYPE_CREATE_USERS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD" | "ACTIVITY_TYPE_CREATE_INVITATIONS" | "ACTIVITY_TYPE_ACCEPT_INVITATION" | "ACTIVITY_TYPE_CREATE_POLICY" | "ACTIVITY_TYPE_DISABLE_PRIVATE_KEY" | "ACTIVITY_TYPE_DELETE_USERS" | "ACTIVITY_TYPE_DELETE_API_KEYS" | "ACTIVITY_TYPE_DELETE_INVITATION" | "ACTIVITY_TYPE_DELETE_ORGANIZATION" | "ACTIVITY_TYPE_DELETE_POLICY" | "ACTIVITY_TYPE_CREATE_USER_TAG" | "ACTIVITY_TYPE_DELETE_USER_TAGS" | "ACTIVITY_TYPE_CREATE_ORGANIZATION" | "ACTIVITY_TYPE_SIGN_TRANSACTION" | "ACTIVITY_TYPE_APPROVE_ACTIVITY" | "ACTIVITY_TYPE_REJECT_ACTIVITY" | "ACTIVITY_TYPE_DELETE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS" | "ACTIVITY_TYPE_SET_PAYMENT_METHOD" | "ACTIVITY_TYPE_ACTIVATE_BILLING_TIER" | "ACTIVITY_TYPE_DELETE_PAYMENT_METHOD" | "ACTIVITY_TYPE_CREATE_POLICY_V2" | "ACTIVITY_TYPE_CREATE_POLICY_V3" | "ACTIVITY_TYPE_CREATE_API_ONLY_USERS" | "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM" | "ACTIVITY_TYPE_UPDATE_USER_TAG" | "ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS_V2" | "ACTIVITY_TYPE_CREATE_ORGANIZATION_V2" | "ACTIVITY_TYPE_CREATE_USERS_V2" | "ACTIVITY_TYPE_ACCEPT_INVITATION_V2" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V2";
|
|
10978
|
+
type: "ACTIVITY_TYPE_CREATE_API_KEYS" | "ACTIVITY_TYPE_CREATE_USERS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD" | "ACTIVITY_TYPE_CREATE_INVITATIONS" | "ACTIVITY_TYPE_ACCEPT_INVITATION" | "ACTIVITY_TYPE_CREATE_POLICY" | "ACTIVITY_TYPE_DISABLE_PRIVATE_KEY" | "ACTIVITY_TYPE_DELETE_USERS" | "ACTIVITY_TYPE_DELETE_API_KEYS" | "ACTIVITY_TYPE_DELETE_INVITATION" | "ACTIVITY_TYPE_DELETE_ORGANIZATION" | "ACTIVITY_TYPE_DELETE_POLICY" | "ACTIVITY_TYPE_CREATE_USER_TAG" | "ACTIVITY_TYPE_DELETE_USER_TAGS" | "ACTIVITY_TYPE_CREATE_ORGANIZATION" | "ACTIVITY_TYPE_SIGN_TRANSACTION" | "ACTIVITY_TYPE_APPROVE_ACTIVITY" | "ACTIVITY_TYPE_REJECT_ACTIVITY" | "ACTIVITY_TYPE_DELETE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS" | "ACTIVITY_TYPE_SET_PAYMENT_METHOD" | "ACTIVITY_TYPE_ACTIVATE_BILLING_TIER" | "ACTIVITY_TYPE_DELETE_PAYMENT_METHOD" | "ACTIVITY_TYPE_CREATE_POLICY_V2" | "ACTIVITY_TYPE_CREATE_POLICY_V3" | "ACTIVITY_TYPE_CREATE_API_ONLY_USERS" | "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM" | "ACTIVITY_TYPE_UPDATE_USER_TAG" | "ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS_V2" | "ACTIVITY_TYPE_CREATE_ORGANIZATION_V2" | "ACTIVITY_TYPE_CREATE_USERS_V2" | "ACTIVITY_TYPE_ACCEPT_INVITATION_V2" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V2" | "ACTIVITY_TYPE_UPDATE_ALLOWED_ORIGINS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS_V2";
|
|
8895
10979
|
intent: {
|
|
8896
10980
|
createOrganizationIntent: {
|
|
8897
10981
|
organizationName: string;
|
|
8898
10982
|
rootEmail: string;
|
|
8899
10983
|
rootAuthenticator: {
|
|
8900
10984
|
authenticatorName: string;
|
|
8901
|
-
userId: string;
|
|
8902
|
-
* Create Invitations
|
|
8903
|
-
*
|
|
8904
|
-
* Create Invitations to join an existing Organization
|
|
8905
|
-
*/
|
|
10985
|
+
userId: string;
|
|
8906
10986
|
attestation: {
|
|
8907
10987
|
id: string;
|
|
8908
10988
|
type: "public-key";
|
|
@@ -8929,11 +11009,7 @@ export declare const postRejectActivity: (input: TPostRejectActivityInput) => Pr
|
|
|
8929
11009
|
createAuthenticatorsIntent?: {
|
|
8930
11010
|
authenticators: {
|
|
8931
11011
|
authenticatorName: string;
|
|
8932
|
-
userId: string;
|
|
8933
|
-
* Create Invitations
|
|
8934
|
-
*
|
|
8935
|
-
* Create Invitations to join an existing Organization
|
|
8936
|
-
*/
|
|
11012
|
+
userId: string;
|
|
8937
11013
|
attestation: {
|
|
8938
11014
|
id: string;
|
|
8939
11015
|
type: "public-key";
|
|
@@ -8968,11 +11044,7 @@ export declare const postRejectActivity: (input: TPostRejectActivityInput) => Pr
|
|
|
8968
11044
|
}[];
|
|
8969
11045
|
authenticators: {
|
|
8970
11046
|
authenticatorName: string;
|
|
8971
|
-
userId: string;
|
|
8972
|
-
* Create Invitations
|
|
8973
|
-
*
|
|
8974
|
-
* Create Invitations to join an existing Organization
|
|
8975
|
-
*/
|
|
11047
|
+
userId: string;
|
|
8976
11048
|
attestation: {
|
|
8977
11049
|
id: string;
|
|
8978
11050
|
type: "public-key";
|
|
@@ -9025,11 +11097,7 @@ export declare const postRejectActivity: (input: TPostRejectActivityInput) => Pr
|
|
|
9025
11097
|
userId: string;
|
|
9026
11098
|
authenticator: {
|
|
9027
11099
|
authenticatorName: string;
|
|
9028
|
-
userId: string;
|
|
9029
|
-
* Create Invitations
|
|
9030
|
-
*
|
|
9031
|
-
* Create Invitations to join an existing Organization
|
|
9032
|
-
*/
|
|
11100
|
+
userId: string;
|
|
9033
11101
|
attestation: {
|
|
9034
11102
|
id: string;
|
|
9035
11103
|
type: "public-key";
|
|
@@ -9081,6 +11149,11 @@ export declare const postRejectActivity: (input: TPostRejectActivityInput) => Pr
|
|
|
9081
11149
|
deletePolicyIntent?: {
|
|
9082
11150
|
policyId: string;
|
|
9083
11151
|
};
|
|
11152
|
+
/**
|
|
11153
|
+
* `POST /tkhq/public/v1/query/get_private_key`
|
|
11154
|
+
*
|
|
11155
|
+
* @deprecated
|
|
11156
|
+
*/
|
|
9084
11157
|
createUserTagIntent?: {
|
|
9085
11158
|
userTagName: string;
|
|
9086
11159
|
userIds: string[];
|
|
@@ -9274,6 +11347,17 @@ export declare const postRejectActivity: (input: TPostRejectActivityInput) => Pr
|
|
|
9274
11347
|
}[];
|
|
9275
11348
|
rootQuorumThreshold: number;
|
|
9276
11349
|
};
|
|
11350
|
+
updateAllowedOriginsIntent?: {
|
|
11351
|
+
allowedOrigins: string[];
|
|
11352
|
+
};
|
|
11353
|
+
createPrivateKeysIntentV2?: {
|
|
11354
|
+
privateKeys: {
|
|
11355
|
+
privateKeyName: string;
|
|
11356
|
+
curve: "CURVE_SECP256K1" | "CURVE_ED25519";
|
|
11357
|
+
privateKeyTags: string[];
|
|
11358
|
+
addressFormats: ("ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM")[];
|
|
11359
|
+
}[];
|
|
11360
|
+
};
|
|
9277
11361
|
};
|
|
9278
11362
|
result: {
|
|
9279
11363
|
createOrganizationResult?: {
|
|
@@ -9372,6 +11456,18 @@ export declare const postRejectActivity: (input: TPostRejectActivityInput) => Pr
|
|
|
9372
11456
|
createSubOrganizationResult?: {
|
|
9373
11457
|
subOrganizationId: string;
|
|
9374
11458
|
};
|
|
11459
|
+
updateAllowedOriginsResult?: {
|
|
11460
|
+
[key: string]: unknown;
|
|
11461
|
+
};
|
|
11462
|
+
createPrivateKeysResultV2?: {
|
|
11463
|
+
privateKeys: {
|
|
11464
|
+
privateKeyId?: string;
|
|
11465
|
+
addresses?: {
|
|
11466
|
+
format?: "ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM";
|
|
11467
|
+
address?: string;
|
|
11468
|
+
}[];
|
|
11469
|
+
}[];
|
|
11470
|
+
};
|
|
9375
11471
|
};
|
|
9376
11472
|
votes: {
|
|
9377
11473
|
id: string;
|
|
@@ -9453,49 +11549,45 @@ export declare const postRejectActivity: (input: TPostRejectActivityInput) => Pr
|
|
|
9453
11549
|
};
|
|
9454
11550
|
}>;
|
|
9455
11551
|
/**
|
|
9456
|
-
*
|
|
11552
|
+
* Sign Raw Payload
|
|
9457
11553
|
*
|
|
9458
|
-
*
|
|
11554
|
+
* Sign a raw payload with a Private Key
|
|
9459
11555
|
*/
|
|
9460
|
-
export declare const
|
|
11556
|
+
export declare const federatedPostSignRawPayload: (input: TPostSignRawPayloadInput, options?: TurnkeyCredentialRequestOptions) => Promise<import("../../../../..").FederatedRequest>;
|
|
9461
11557
|
/**
|
|
9462
|
-
* `POST /public/v1/submit/
|
|
11558
|
+
* `POST /public/v1/submit/sign_transaction`
|
|
9463
11559
|
*/
|
|
9464
|
-
type
|
|
11560
|
+
type TPostSignTransactionBody = operations["PublicApiService_SignTransaction"]["parameters"]["body"]["body"];
|
|
9465
11561
|
/**
|
|
9466
|
-
* `POST /public/v1/submit/
|
|
11562
|
+
* `POST /public/v1/submit/sign_transaction`
|
|
9467
11563
|
*/
|
|
9468
|
-
export type
|
|
11564
|
+
export type TPostSignTransactionResponse = operations["PublicApiService_SignTransaction"]["responses"]["200"]["schema"];
|
|
9469
11565
|
/**
|
|
9470
|
-
* `POST /public/v1/submit/
|
|
11566
|
+
* `POST /public/v1/submit/sign_transaction`
|
|
9471
11567
|
*/
|
|
9472
|
-
export type
|
|
9473
|
-
body:
|
|
11568
|
+
export type TPostSignTransactionInput = {
|
|
11569
|
+
body: TPostSignTransactionBody;
|
|
9474
11570
|
};
|
|
9475
11571
|
/**
|
|
9476
|
-
* Sign
|
|
11572
|
+
* Sign Transaction
|
|
9477
11573
|
*
|
|
9478
|
-
* Sign a
|
|
11574
|
+
* Sign a transaction with a Private Key
|
|
9479
11575
|
*
|
|
9480
|
-
* `POST /public/v1/submit/
|
|
11576
|
+
* `POST /public/v1/submit/sign_transaction`
|
|
9481
11577
|
*/
|
|
9482
|
-
export declare const
|
|
11578
|
+
export declare const postSignTransaction: (input: TPostSignTransactionInput) => Promise<{
|
|
9483
11579
|
activity: {
|
|
9484
11580
|
id: string;
|
|
9485
11581
|
organizationId: string;
|
|
9486
11582
|
status: "ACTIVITY_STATUS_CREATED" | "ACTIVITY_STATUS_PENDING" | "ACTIVITY_STATUS_COMPLETED" | "ACTIVITY_STATUS_FAILED" | "ACTIVITY_STATUS_CONSENSUS_NEEDED" | "ACTIVITY_STATUS_REJECTED";
|
|
9487
|
-
type: "ACTIVITY_TYPE_CREATE_API_KEYS" | "ACTIVITY_TYPE_CREATE_USERS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD" | "ACTIVITY_TYPE_CREATE_INVITATIONS" | "ACTIVITY_TYPE_ACCEPT_INVITATION" | "ACTIVITY_TYPE_CREATE_POLICY" | "ACTIVITY_TYPE_DISABLE_PRIVATE_KEY" | "ACTIVITY_TYPE_DELETE_USERS" | "ACTIVITY_TYPE_DELETE_API_KEYS" | "ACTIVITY_TYPE_DELETE_INVITATION" | "ACTIVITY_TYPE_DELETE_ORGANIZATION" | "ACTIVITY_TYPE_DELETE_POLICY" | "ACTIVITY_TYPE_CREATE_USER_TAG" | "ACTIVITY_TYPE_DELETE_USER_TAGS" | "ACTIVITY_TYPE_CREATE_ORGANIZATION" | "ACTIVITY_TYPE_SIGN_TRANSACTION" | "ACTIVITY_TYPE_APPROVE_ACTIVITY" | "ACTIVITY_TYPE_REJECT_ACTIVITY" | "ACTIVITY_TYPE_DELETE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS" | "ACTIVITY_TYPE_SET_PAYMENT_METHOD" | "ACTIVITY_TYPE_ACTIVATE_BILLING_TIER" | "ACTIVITY_TYPE_DELETE_PAYMENT_METHOD" | "ACTIVITY_TYPE_CREATE_POLICY_V2" | "ACTIVITY_TYPE_CREATE_POLICY_V3" | "ACTIVITY_TYPE_CREATE_API_ONLY_USERS" | "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM" | "ACTIVITY_TYPE_UPDATE_USER_TAG" | "ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS_V2" | "ACTIVITY_TYPE_CREATE_ORGANIZATION_V2" | "ACTIVITY_TYPE_CREATE_USERS_V2" | "ACTIVITY_TYPE_ACCEPT_INVITATION_V2" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V2";
|
|
11583
|
+
type: "ACTIVITY_TYPE_CREATE_API_KEYS" | "ACTIVITY_TYPE_CREATE_USERS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD" | "ACTIVITY_TYPE_CREATE_INVITATIONS" | "ACTIVITY_TYPE_ACCEPT_INVITATION" | "ACTIVITY_TYPE_CREATE_POLICY" | "ACTIVITY_TYPE_DISABLE_PRIVATE_KEY" | "ACTIVITY_TYPE_DELETE_USERS" | "ACTIVITY_TYPE_DELETE_API_KEYS" | "ACTIVITY_TYPE_DELETE_INVITATION" | "ACTIVITY_TYPE_DELETE_ORGANIZATION" | "ACTIVITY_TYPE_DELETE_POLICY" | "ACTIVITY_TYPE_CREATE_USER_TAG" | "ACTIVITY_TYPE_DELETE_USER_TAGS" | "ACTIVITY_TYPE_CREATE_ORGANIZATION" | "ACTIVITY_TYPE_SIGN_TRANSACTION" | "ACTIVITY_TYPE_APPROVE_ACTIVITY" | "ACTIVITY_TYPE_REJECT_ACTIVITY" | "ACTIVITY_TYPE_DELETE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS" | "ACTIVITY_TYPE_SET_PAYMENT_METHOD" | "ACTIVITY_TYPE_ACTIVATE_BILLING_TIER" | "ACTIVITY_TYPE_DELETE_PAYMENT_METHOD" | "ACTIVITY_TYPE_CREATE_POLICY_V2" | "ACTIVITY_TYPE_CREATE_POLICY_V3" | "ACTIVITY_TYPE_CREATE_API_ONLY_USERS" | "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM" | "ACTIVITY_TYPE_UPDATE_USER_TAG" | "ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS_V2" | "ACTIVITY_TYPE_CREATE_ORGANIZATION_V2" | "ACTIVITY_TYPE_CREATE_USERS_V2" | "ACTIVITY_TYPE_ACCEPT_INVITATION_V2" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V2" | "ACTIVITY_TYPE_UPDATE_ALLOWED_ORIGINS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS_V2";
|
|
9488
11584
|
intent: {
|
|
9489
11585
|
createOrganizationIntent: {
|
|
9490
11586
|
organizationName: string;
|
|
9491
11587
|
rootEmail: string;
|
|
9492
11588
|
rootAuthenticator: {
|
|
9493
11589
|
authenticatorName: string;
|
|
9494
|
-
userId: string;
|
|
9495
|
-
* Create Invitations
|
|
9496
|
-
*
|
|
9497
|
-
* Create Invitations to join an existing Organization
|
|
9498
|
-
*/
|
|
11590
|
+
userId: string;
|
|
9499
11591
|
attestation: {
|
|
9500
11592
|
id: string;
|
|
9501
11593
|
type: "public-key";
|
|
@@ -9522,11 +11614,7 @@ export declare const postSignRawPayload: (input: TPostSignRawPayloadInput) => Pr
|
|
|
9522
11614
|
createAuthenticatorsIntent?: {
|
|
9523
11615
|
authenticators: {
|
|
9524
11616
|
authenticatorName: string;
|
|
9525
|
-
userId: string;
|
|
9526
|
-
* Create Invitations
|
|
9527
|
-
*
|
|
9528
|
-
* Create Invitations to join an existing Organization
|
|
9529
|
-
*/
|
|
11617
|
+
userId: string;
|
|
9530
11618
|
attestation: {
|
|
9531
11619
|
id: string;
|
|
9532
11620
|
type: "public-key";
|
|
@@ -9561,11 +11649,7 @@ export declare const postSignRawPayload: (input: TPostSignRawPayloadInput) => Pr
|
|
|
9561
11649
|
}[];
|
|
9562
11650
|
authenticators: {
|
|
9563
11651
|
authenticatorName: string;
|
|
9564
|
-
userId: string;
|
|
9565
|
-
* Create Invitations
|
|
9566
|
-
*
|
|
9567
|
-
* Create Invitations to join an existing Organization
|
|
9568
|
-
*/
|
|
11652
|
+
userId: string;
|
|
9569
11653
|
attestation: {
|
|
9570
11654
|
id: string;
|
|
9571
11655
|
type: "public-key";
|
|
@@ -9618,11 +11702,7 @@ export declare const postSignRawPayload: (input: TPostSignRawPayloadInput) => Pr
|
|
|
9618
11702
|
userId: string;
|
|
9619
11703
|
authenticator: {
|
|
9620
11704
|
authenticatorName: string;
|
|
9621
|
-
userId: string;
|
|
9622
|
-
* Create Invitations
|
|
9623
|
-
*
|
|
9624
|
-
* Create Invitations to join an existing Organization
|
|
9625
|
-
*/
|
|
11705
|
+
userId: string;
|
|
9626
11706
|
attestation: {
|
|
9627
11707
|
id: string;
|
|
9628
11708
|
type: "public-key";
|
|
@@ -9674,6 +11754,11 @@ export declare const postSignRawPayload: (input: TPostSignRawPayloadInput) => Pr
|
|
|
9674
11754
|
deletePolicyIntent?: {
|
|
9675
11755
|
policyId: string;
|
|
9676
11756
|
};
|
|
11757
|
+
/**
|
|
11758
|
+
* `POST /tkhq/public/v1/query/get_private_key`
|
|
11759
|
+
*
|
|
11760
|
+
* @deprecated
|
|
11761
|
+
*/
|
|
9677
11762
|
createUserTagIntent?: {
|
|
9678
11763
|
userTagName: string;
|
|
9679
11764
|
userIds: string[];
|
|
@@ -9867,6 +11952,17 @@ export declare const postSignRawPayload: (input: TPostSignRawPayloadInput) => Pr
|
|
|
9867
11952
|
}[];
|
|
9868
11953
|
rootQuorumThreshold: number;
|
|
9869
11954
|
};
|
|
11955
|
+
updateAllowedOriginsIntent?: {
|
|
11956
|
+
allowedOrigins: string[];
|
|
11957
|
+
};
|
|
11958
|
+
createPrivateKeysIntentV2?: {
|
|
11959
|
+
privateKeys: {
|
|
11960
|
+
privateKeyName: string;
|
|
11961
|
+
curve: "CURVE_SECP256K1" | "CURVE_ED25519";
|
|
11962
|
+
privateKeyTags: string[];
|
|
11963
|
+
addressFormats: ("ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM")[];
|
|
11964
|
+
}[];
|
|
11965
|
+
};
|
|
9870
11966
|
};
|
|
9871
11967
|
result: {
|
|
9872
11968
|
createOrganizationResult?: {
|
|
@@ -9965,6 +12061,18 @@ export declare const postSignRawPayload: (input: TPostSignRawPayloadInput) => Pr
|
|
|
9965
12061
|
createSubOrganizationResult?: {
|
|
9966
12062
|
subOrganizationId: string;
|
|
9967
12063
|
};
|
|
12064
|
+
updateAllowedOriginsResult?: {
|
|
12065
|
+
[key: string]: unknown;
|
|
12066
|
+
};
|
|
12067
|
+
createPrivateKeysResultV2?: {
|
|
12068
|
+
privateKeys: {
|
|
12069
|
+
privateKeyId?: string;
|
|
12070
|
+
addresses?: {
|
|
12071
|
+
format?: "ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM";
|
|
12072
|
+
address?: string;
|
|
12073
|
+
}[];
|
|
12074
|
+
}[];
|
|
12075
|
+
};
|
|
9968
12076
|
};
|
|
9969
12077
|
votes: {
|
|
9970
12078
|
id: string;
|
|
@@ -10046,49 +12154,45 @@ export declare const postSignRawPayload: (input: TPostSignRawPayloadInput) => Pr
|
|
|
10046
12154
|
};
|
|
10047
12155
|
}>;
|
|
10048
12156
|
/**
|
|
10049
|
-
* Sign
|
|
12157
|
+
* Sign Transaction
|
|
10050
12158
|
*
|
|
10051
|
-
* Sign a
|
|
12159
|
+
* Sign a transaction with a Private Key
|
|
10052
12160
|
*/
|
|
10053
|
-
export declare const
|
|
12161
|
+
export declare const federatedPostSignTransaction: (input: TPostSignTransactionInput, options?: TurnkeyCredentialRequestOptions) => Promise<import("../../../../..").FederatedRequest>;
|
|
10054
12162
|
/**
|
|
10055
|
-
* `POST /public/v1/submit/
|
|
12163
|
+
* `POST /public/v1/submit/update_allowed_origins`
|
|
10056
12164
|
*/
|
|
10057
|
-
type
|
|
12165
|
+
type TPostUpdateAllowedOriginsBody = operations["PublicApiService_UpdateAllowedOrigins"]["parameters"]["body"]["body"];
|
|
10058
12166
|
/**
|
|
10059
|
-
* `POST /public/v1/submit/
|
|
12167
|
+
* `POST /public/v1/submit/update_allowed_origins`
|
|
10060
12168
|
*/
|
|
10061
|
-
export type
|
|
12169
|
+
export type TPostUpdateAllowedOriginsResponse = operations["PublicApiService_UpdateAllowedOrigins"]["responses"]["200"]["schema"];
|
|
10062
12170
|
/**
|
|
10063
|
-
* `POST /public/v1/submit/
|
|
12171
|
+
* `POST /public/v1/submit/update_allowed_origins`
|
|
10064
12172
|
*/
|
|
10065
|
-
export type
|
|
10066
|
-
body:
|
|
12173
|
+
export type TPostUpdateAllowedOriginsInput = {
|
|
12174
|
+
body: TPostUpdateAllowedOriginsBody;
|
|
10067
12175
|
};
|
|
10068
12176
|
/**
|
|
10069
|
-
*
|
|
12177
|
+
* Update the allowable origins
|
|
10070
12178
|
*
|
|
10071
|
-
*
|
|
12179
|
+
* Update the additional allowable origins for requests besides Turnkey origins
|
|
10072
12180
|
*
|
|
10073
|
-
* `POST /public/v1/submit/
|
|
12181
|
+
* `POST /public/v1/submit/update_allowed_origins`
|
|
10074
12182
|
*/
|
|
10075
|
-
export declare const
|
|
12183
|
+
export declare const postUpdateAllowedOrigins: (input: TPostUpdateAllowedOriginsInput) => Promise<{
|
|
10076
12184
|
activity: {
|
|
10077
12185
|
id: string;
|
|
10078
12186
|
organizationId: string;
|
|
10079
12187
|
status: "ACTIVITY_STATUS_CREATED" | "ACTIVITY_STATUS_PENDING" | "ACTIVITY_STATUS_COMPLETED" | "ACTIVITY_STATUS_FAILED" | "ACTIVITY_STATUS_CONSENSUS_NEEDED" | "ACTIVITY_STATUS_REJECTED";
|
|
10080
|
-
type: "ACTIVITY_TYPE_CREATE_API_KEYS" | "ACTIVITY_TYPE_CREATE_USERS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD" | "ACTIVITY_TYPE_CREATE_INVITATIONS" | "ACTIVITY_TYPE_ACCEPT_INVITATION" | "ACTIVITY_TYPE_CREATE_POLICY" | "ACTIVITY_TYPE_DISABLE_PRIVATE_KEY" | "ACTIVITY_TYPE_DELETE_USERS" | "ACTIVITY_TYPE_DELETE_API_KEYS" | "ACTIVITY_TYPE_DELETE_INVITATION" | "ACTIVITY_TYPE_DELETE_ORGANIZATION" | "ACTIVITY_TYPE_DELETE_POLICY" | "ACTIVITY_TYPE_CREATE_USER_TAG" | "ACTIVITY_TYPE_DELETE_USER_TAGS" | "ACTIVITY_TYPE_CREATE_ORGANIZATION" | "ACTIVITY_TYPE_SIGN_TRANSACTION" | "ACTIVITY_TYPE_APPROVE_ACTIVITY" | "ACTIVITY_TYPE_REJECT_ACTIVITY" | "ACTIVITY_TYPE_DELETE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS" | "ACTIVITY_TYPE_SET_PAYMENT_METHOD" | "ACTIVITY_TYPE_ACTIVATE_BILLING_TIER" | "ACTIVITY_TYPE_DELETE_PAYMENT_METHOD" | "ACTIVITY_TYPE_CREATE_POLICY_V2" | "ACTIVITY_TYPE_CREATE_POLICY_V3" | "ACTIVITY_TYPE_CREATE_API_ONLY_USERS" | "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM" | "ACTIVITY_TYPE_UPDATE_USER_TAG" | "ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS_V2" | "ACTIVITY_TYPE_CREATE_ORGANIZATION_V2" | "ACTIVITY_TYPE_CREATE_USERS_V2" | "ACTIVITY_TYPE_ACCEPT_INVITATION_V2" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V2";
|
|
12188
|
+
type: "ACTIVITY_TYPE_CREATE_API_KEYS" | "ACTIVITY_TYPE_CREATE_USERS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD" | "ACTIVITY_TYPE_CREATE_INVITATIONS" | "ACTIVITY_TYPE_ACCEPT_INVITATION" | "ACTIVITY_TYPE_CREATE_POLICY" | "ACTIVITY_TYPE_DISABLE_PRIVATE_KEY" | "ACTIVITY_TYPE_DELETE_USERS" | "ACTIVITY_TYPE_DELETE_API_KEYS" | "ACTIVITY_TYPE_DELETE_INVITATION" | "ACTIVITY_TYPE_DELETE_ORGANIZATION" | "ACTIVITY_TYPE_DELETE_POLICY" | "ACTIVITY_TYPE_CREATE_USER_TAG" | "ACTIVITY_TYPE_DELETE_USER_TAGS" | "ACTIVITY_TYPE_CREATE_ORGANIZATION" | "ACTIVITY_TYPE_SIGN_TRANSACTION" | "ACTIVITY_TYPE_APPROVE_ACTIVITY" | "ACTIVITY_TYPE_REJECT_ACTIVITY" | "ACTIVITY_TYPE_DELETE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS" | "ACTIVITY_TYPE_SET_PAYMENT_METHOD" | "ACTIVITY_TYPE_ACTIVATE_BILLING_TIER" | "ACTIVITY_TYPE_DELETE_PAYMENT_METHOD" | "ACTIVITY_TYPE_CREATE_POLICY_V2" | "ACTIVITY_TYPE_CREATE_POLICY_V3" | "ACTIVITY_TYPE_CREATE_API_ONLY_USERS" | "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM" | "ACTIVITY_TYPE_UPDATE_USER_TAG" | "ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS_V2" | "ACTIVITY_TYPE_CREATE_ORGANIZATION_V2" | "ACTIVITY_TYPE_CREATE_USERS_V2" | "ACTIVITY_TYPE_ACCEPT_INVITATION_V2" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V2" | "ACTIVITY_TYPE_UPDATE_ALLOWED_ORIGINS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS_V2";
|
|
10081
12189
|
intent: {
|
|
10082
12190
|
createOrganizationIntent: {
|
|
10083
12191
|
organizationName: string;
|
|
10084
12192
|
rootEmail: string;
|
|
10085
12193
|
rootAuthenticator: {
|
|
10086
12194
|
authenticatorName: string;
|
|
10087
|
-
userId: string;
|
|
10088
|
-
* Create Invitations
|
|
10089
|
-
*
|
|
10090
|
-
* Create Invitations to join an existing Organization
|
|
10091
|
-
*/
|
|
12195
|
+
userId: string;
|
|
10092
12196
|
attestation: {
|
|
10093
12197
|
id: string;
|
|
10094
12198
|
type: "public-key";
|
|
@@ -10115,11 +12219,7 @@ export declare const postSignTransaction: (input: TPostSignTransactionInput) =>
|
|
|
10115
12219
|
createAuthenticatorsIntent?: {
|
|
10116
12220
|
authenticators: {
|
|
10117
12221
|
authenticatorName: string;
|
|
10118
|
-
userId: string;
|
|
10119
|
-
* Create Invitations
|
|
10120
|
-
*
|
|
10121
|
-
* Create Invitations to join an existing Organization
|
|
10122
|
-
*/
|
|
12222
|
+
userId: string;
|
|
10123
12223
|
attestation: {
|
|
10124
12224
|
id: string;
|
|
10125
12225
|
type: "public-key";
|
|
@@ -10154,11 +12254,7 @@ export declare const postSignTransaction: (input: TPostSignTransactionInput) =>
|
|
|
10154
12254
|
}[];
|
|
10155
12255
|
authenticators: {
|
|
10156
12256
|
authenticatorName: string;
|
|
10157
|
-
userId: string;
|
|
10158
|
-
* Create Invitations
|
|
10159
|
-
*
|
|
10160
|
-
* Create Invitations to join an existing Organization
|
|
10161
|
-
*/
|
|
12257
|
+
userId: string;
|
|
10162
12258
|
attestation: {
|
|
10163
12259
|
id: string;
|
|
10164
12260
|
type: "public-key";
|
|
@@ -10211,11 +12307,7 @@ export declare const postSignTransaction: (input: TPostSignTransactionInput) =>
|
|
|
10211
12307
|
userId: string;
|
|
10212
12308
|
authenticator: {
|
|
10213
12309
|
authenticatorName: string;
|
|
10214
|
-
userId: string;
|
|
10215
|
-
* Create Invitations
|
|
10216
|
-
*
|
|
10217
|
-
* Create Invitations to join an existing Organization
|
|
10218
|
-
*/
|
|
12310
|
+
userId: string;
|
|
10219
12311
|
attestation: {
|
|
10220
12312
|
id: string;
|
|
10221
12313
|
type: "public-key";
|
|
@@ -10267,6 +12359,11 @@ export declare const postSignTransaction: (input: TPostSignTransactionInput) =>
|
|
|
10267
12359
|
deletePolicyIntent?: {
|
|
10268
12360
|
policyId: string;
|
|
10269
12361
|
};
|
|
12362
|
+
/**
|
|
12363
|
+
* `POST /tkhq/public/v1/query/get_private_key`
|
|
12364
|
+
*
|
|
12365
|
+
* @deprecated
|
|
12366
|
+
*/
|
|
10270
12367
|
createUserTagIntent?: {
|
|
10271
12368
|
userTagName: string;
|
|
10272
12369
|
userIds: string[];
|
|
@@ -10460,6 +12557,17 @@ export declare const postSignTransaction: (input: TPostSignTransactionInput) =>
|
|
|
10460
12557
|
}[];
|
|
10461
12558
|
rootQuorumThreshold: number;
|
|
10462
12559
|
};
|
|
12560
|
+
updateAllowedOriginsIntent?: {
|
|
12561
|
+
allowedOrigins: string[];
|
|
12562
|
+
};
|
|
12563
|
+
createPrivateKeysIntentV2?: {
|
|
12564
|
+
privateKeys: {
|
|
12565
|
+
privateKeyName: string;
|
|
12566
|
+
curve: "CURVE_SECP256K1" | "CURVE_ED25519";
|
|
12567
|
+
privateKeyTags: string[];
|
|
12568
|
+
addressFormats: ("ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM")[];
|
|
12569
|
+
}[];
|
|
12570
|
+
};
|
|
10463
12571
|
};
|
|
10464
12572
|
result: {
|
|
10465
12573
|
createOrganizationResult?: {
|
|
@@ -10558,6 +12666,18 @@ export declare const postSignTransaction: (input: TPostSignTransactionInput) =>
|
|
|
10558
12666
|
createSubOrganizationResult?: {
|
|
10559
12667
|
subOrganizationId: string;
|
|
10560
12668
|
};
|
|
12669
|
+
updateAllowedOriginsResult?: {
|
|
12670
|
+
[key: string]: unknown;
|
|
12671
|
+
};
|
|
12672
|
+
createPrivateKeysResultV2?: {
|
|
12673
|
+
privateKeys: {
|
|
12674
|
+
privateKeyId?: string;
|
|
12675
|
+
addresses?: {
|
|
12676
|
+
format?: "ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM";
|
|
12677
|
+
address?: string;
|
|
12678
|
+
}[];
|
|
12679
|
+
}[];
|
|
12680
|
+
};
|
|
10561
12681
|
};
|
|
10562
12682
|
votes: {
|
|
10563
12683
|
id: string;
|
|
@@ -10639,11 +12759,11 @@ export declare const postSignTransaction: (input: TPostSignTransactionInput) =>
|
|
|
10639
12759
|
};
|
|
10640
12760
|
}>;
|
|
10641
12761
|
/**
|
|
10642
|
-
*
|
|
12762
|
+
* Update the allowable origins
|
|
10643
12763
|
*
|
|
10644
|
-
*
|
|
12764
|
+
* Update the additional allowable origins for requests besides Turnkey origins
|
|
10645
12765
|
*/
|
|
10646
|
-
export declare const
|
|
12766
|
+
export declare const federatedPostUpdateAllowedOrigins: (input: TPostUpdateAllowedOriginsInput, options?: TurnkeyCredentialRequestOptions) => Promise<import("../../../../..").FederatedRequest>;
|
|
10647
12767
|
/**
|
|
10648
12768
|
* `POST /public/v1/submit/update_private_key_tag`
|
|
10649
12769
|
*/
|
|
@@ -10670,18 +12790,14 @@ export declare const postUpdatePrivateKeyTag: (input: TPostUpdatePrivateKeyTagIn
|
|
|
10670
12790
|
id: string;
|
|
10671
12791
|
organizationId: string;
|
|
10672
12792
|
status: "ACTIVITY_STATUS_CREATED" | "ACTIVITY_STATUS_PENDING" | "ACTIVITY_STATUS_COMPLETED" | "ACTIVITY_STATUS_FAILED" | "ACTIVITY_STATUS_CONSENSUS_NEEDED" | "ACTIVITY_STATUS_REJECTED";
|
|
10673
|
-
type: "ACTIVITY_TYPE_CREATE_API_KEYS" | "ACTIVITY_TYPE_CREATE_USERS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD" | "ACTIVITY_TYPE_CREATE_INVITATIONS" | "ACTIVITY_TYPE_ACCEPT_INVITATION" | "ACTIVITY_TYPE_CREATE_POLICY" | "ACTIVITY_TYPE_DISABLE_PRIVATE_KEY" | "ACTIVITY_TYPE_DELETE_USERS" | "ACTIVITY_TYPE_DELETE_API_KEYS" | "ACTIVITY_TYPE_DELETE_INVITATION" | "ACTIVITY_TYPE_DELETE_ORGANIZATION" | "ACTIVITY_TYPE_DELETE_POLICY" | "ACTIVITY_TYPE_CREATE_USER_TAG" | "ACTIVITY_TYPE_DELETE_USER_TAGS" | "ACTIVITY_TYPE_CREATE_ORGANIZATION" | "ACTIVITY_TYPE_SIGN_TRANSACTION" | "ACTIVITY_TYPE_APPROVE_ACTIVITY" | "ACTIVITY_TYPE_REJECT_ACTIVITY" | "ACTIVITY_TYPE_DELETE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS" | "ACTIVITY_TYPE_SET_PAYMENT_METHOD" | "ACTIVITY_TYPE_ACTIVATE_BILLING_TIER" | "ACTIVITY_TYPE_DELETE_PAYMENT_METHOD" | "ACTIVITY_TYPE_CREATE_POLICY_V2" | "ACTIVITY_TYPE_CREATE_POLICY_V3" | "ACTIVITY_TYPE_CREATE_API_ONLY_USERS" | "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM" | "ACTIVITY_TYPE_UPDATE_USER_TAG" | "ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS_V2" | "ACTIVITY_TYPE_CREATE_ORGANIZATION_V2" | "ACTIVITY_TYPE_CREATE_USERS_V2" | "ACTIVITY_TYPE_ACCEPT_INVITATION_V2" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V2";
|
|
12793
|
+
type: "ACTIVITY_TYPE_CREATE_API_KEYS" | "ACTIVITY_TYPE_CREATE_USERS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD" | "ACTIVITY_TYPE_CREATE_INVITATIONS" | "ACTIVITY_TYPE_ACCEPT_INVITATION" | "ACTIVITY_TYPE_CREATE_POLICY" | "ACTIVITY_TYPE_DISABLE_PRIVATE_KEY" | "ACTIVITY_TYPE_DELETE_USERS" | "ACTIVITY_TYPE_DELETE_API_KEYS" | "ACTIVITY_TYPE_DELETE_INVITATION" | "ACTIVITY_TYPE_DELETE_ORGANIZATION" | "ACTIVITY_TYPE_DELETE_POLICY" | "ACTIVITY_TYPE_CREATE_USER_TAG" | "ACTIVITY_TYPE_DELETE_USER_TAGS" | "ACTIVITY_TYPE_CREATE_ORGANIZATION" | "ACTIVITY_TYPE_SIGN_TRANSACTION" | "ACTIVITY_TYPE_APPROVE_ACTIVITY" | "ACTIVITY_TYPE_REJECT_ACTIVITY" | "ACTIVITY_TYPE_DELETE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS" | "ACTIVITY_TYPE_SET_PAYMENT_METHOD" | "ACTIVITY_TYPE_ACTIVATE_BILLING_TIER" | "ACTIVITY_TYPE_DELETE_PAYMENT_METHOD" | "ACTIVITY_TYPE_CREATE_POLICY_V2" | "ACTIVITY_TYPE_CREATE_POLICY_V3" | "ACTIVITY_TYPE_CREATE_API_ONLY_USERS" | "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM" | "ACTIVITY_TYPE_UPDATE_USER_TAG" | "ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS_V2" | "ACTIVITY_TYPE_CREATE_ORGANIZATION_V2" | "ACTIVITY_TYPE_CREATE_USERS_V2" | "ACTIVITY_TYPE_ACCEPT_INVITATION_V2" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V2" | "ACTIVITY_TYPE_UPDATE_ALLOWED_ORIGINS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS_V2";
|
|
10674
12794
|
intent: {
|
|
10675
12795
|
createOrganizationIntent: {
|
|
10676
12796
|
organizationName: string;
|
|
10677
12797
|
rootEmail: string;
|
|
10678
12798
|
rootAuthenticator: {
|
|
10679
12799
|
authenticatorName: string;
|
|
10680
|
-
userId: string;
|
|
10681
|
-
* Create Invitations
|
|
10682
|
-
*
|
|
10683
|
-
* Create Invitations to join an existing Organization
|
|
10684
|
-
*/
|
|
12800
|
+
userId: string;
|
|
10685
12801
|
attestation: {
|
|
10686
12802
|
id: string;
|
|
10687
12803
|
type: "public-key";
|
|
@@ -10708,11 +12824,7 @@ export declare const postUpdatePrivateKeyTag: (input: TPostUpdatePrivateKeyTagIn
|
|
|
10708
12824
|
createAuthenticatorsIntent?: {
|
|
10709
12825
|
authenticators: {
|
|
10710
12826
|
authenticatorName: string;
|
|
10711
|
-
userId: string;
|
|
10712
|
-
* Create Invitations
|
|
10713
|
-
*
|
|
10714
|
-
* Create Invitations to join an existing Organization
|
|
10715
|
-
*/
|
|
12827
|
+
userId: string;
|
|
10716
12828
|
attestation: {
|
|
10717
12829
|
id: string;
|
|
10718
12830
|
type: "public-key";
|
|
@@ -10747,11 +12859,7 @@ export declare const postUpdatePrivateKeyTag: (input: TPostUpdatePrivateKeyTagIn
|
|
|
10747
12859
|
}[];
|
|
10748
12860
|
authenticators: {
|
|
10749
12861
|
authenticatorName: string;
|
|
10750
|
-
userId: string;
|
|
10751
|
-
* Create Invitations
|
|
10752
|
-
*
|
|
10753
|
-
* Create Invitations to join an existing Organization
|
|
10754
|
-
*/
|
|
12862
|
+
userId: string;
|
|
10755
12863
|
attestation: {
|
|
10756
12864
|
id: string;
|
|
10757
12865
|
type: "public-key";
|
|
@@ -10804,11 +12912,7 @@ export declare const postUpdatePrivateKeyTag: (input: TPostUpdatePrivateKeyTagIn
|
|
|
10804
12912
|
userId: string;
|
|
10805
12913
|
authenticator: {
|
|
10806
12914
|
authenticatorName: string;
|
|
10807
|
-
userId: string;
|
|
10808
|
-
* Create Invitations
|
|
10809
|
-
*
|
|
10810
|
-
* Create Invitations to join an existing Organization
|
|
10811
|
-
*/
|
|
12915
|
+
userId: string;
|
|
10812
12916
|
attestation: {
|
|
10813
12917
|
id: string;
|
|
10814
12918
|
type: "public-key";
|
|
@@ -10860,6 +12964,11 @@ export declare const postUpdatePrivateKeyTag: (input: TPostUpdatePrivateKeyTagIn
|
|
|
10860
12964
|
deletePolicyIntent?: {
|
|
10861
12965
|
policyId: string;
|
|
10862
12966
|
};
|
|
12967
|
+
/**
|
|
12968
|
+
* `POST /tkhq/public/v1/query/get_private_key`
|
|
12969
|
+
*
|
|
12970
|
+
* @deprecated
|
|
12971
|
+
*/
|
|
10863
12972
|
createUserTagIntent?: {
|
|
10864
12973
|
userTagName: string;
|
|
10865
12974
|
userIds: string[];
|
|
@@ -11053,6 +13162,17 @@ export declare const postUpdatePrivateKeyTag: (input: TPostUpdatePrivateKeyTagIn
|
|
|
11053
13162
|
}[];
|
|
11054
13163
|
rootQuorumThreshold: number;
|
|
11055
13164
|
};
|
|
13165
|
+
updateAllowedOriginsIntent?: {
|
|
13166
|
+
allowedOrigins: string[];
|
|
13167
|
+
};
|
|
13168
|
+
createPrivateKeysIntentV2?: {
|
|
13169
|
+
privateKeys: {
|
|
13170
|
+
privateKeyName: string;
|
|
13171
|
+
curve: "CURVE_SECP256K1" | "CURVE_ED25519";
|
|
13172
|
+
privateKeyTags: string[];
|
|
13173
|
+
addressFormats: ("ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM")[];
|
|
13174
|
+
}[];
|
|
13175
|
+
};
|
|
11056
13176
|
};
|
|
11057
13177
|
result: {
|
|
11058
13178
|
createOrganizationResult?: {
|
|
@@ -11151,6 +13271,18 @@ export declare const postUpdatePrivateKeyTag: (input: TPostUpdatePrivateKeyTagIn
|
|
|
11151
13271
|
createSubOrganizationResult?: {
|
|
11152
13272
|
subOrganizationId: string;
|
|
11153
13273
|
};
|
|
13274
|
+
updateAllowedOriginsResult?: {
|
|
13275
|
+
[key: string]: unknown;
|
|
13276
|
+
};
|
|
13277
|
+
createPrivateKeysResultV2?: {
|
|
13278
|
+
privateKeys: {
|
|
13279
|
+
privateKeyId?: string;
|
|
13280
|
+
addresses?: {
|
|
13281
|
+
format?: "ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM";
|
|
13282
|
+
address?: string;
|
|
13283
|
+
}[];
|
|
13284
|
+
}[];
|
|
13285
|
+
};
|
|
11154
13286
|
};
|
|
11155
13287
|
votes: {
|
|
11156
13288
|
id: string;
|
|
@@ -11263,18 +13395,14 @@ export declare const postUpdateRootQuorum: (input: TPostUpdateRootQuorumInput) =
|
|
|
11263
13395
|
id: string;
|
|
11264
13396
|
organizationId: string;
|
|
11265
13397
|
status: "ACTIVITY_STATUS_CREATED" | "ACTIVITY_STATUS_PENDING" | "ACTIVITY_STATUS_COMPLETED" | "ACTIVITY_STATUS_FAILED" | "ACTIVITY_STATUS_CONSENSUS_NEEDED" | "ACTIVITY_STATUS_REJECTED";
|
|
11266
|
-
type: "ACTIVITY_TYPE_CREATE_API_KEYS" | "ACTIVITY_TYPE_CREATE_USERS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD" | "ACTIVITY_TYPE_CREATE_INVITATIONS" | "ACTIVITY_TYPE_ACCEPT_INVITATION" | "ACTIVITY_TYPE_CREATE_POLICY" | "ACTIVITY_TYPE_DISABLE_PRIVATE_KEY" | "ACTIVITY_TYPE_DELETE_USERS" | "ACTIVITY_TYPE_DELETE_API_KEYS" | "ACTIVITY_TYPE_DELETE_INVITATION" | "ACTIVITY_TYPE_DELETE_ORGANIZATION" | "ACTIVITY_TYPE_DELETE_POLICY" | "ACTIVITY_TYPE_CREATE_USER_TAG" | "ACTIVITY_TYPE_DELETE_USER_TAGS" | "ACTIVITY_TYPE_CREATE_ORGANIZATION" | "ACTIVITY_TYPE_SIGN_TRANSACTION" | "ACTIVITY_TYPE_APPROVE_ACTIVITY" | "ACTIVITY_TYPE_REJECT_ACTIVITY" | "ACTIVITY_TYPE_DELETE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS" | "ACTIVITY_TYPE_SET_PAYMENT_METHOD" | "ACTIVITY_TYPE_ACTIVATE_BILLING_TIER" | "ACTIVITY_TYPE_DELETE_PAYMENT_METHOD" | "ACTIVITY_TYPE_CREATE_POLICY_V2" | "ACTIVITY_TYPE_CREATE_POLICY_V3" | "ACTIVITY_TYPE_CREATE_API_ONLY_USERS" | "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM" | "ACTIVITY_TYPE_UPDATE_USER_TAG" | "ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS_V2" | "ACTIVITY_TYPE_CREATE_ORGANIZATION_V2" | "ACTIVITY_TYPE_CREATE_USERS_V2" | "ACTIVITY_TYPE_ACCEPT_INVITATION_V2" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V2";
|
|
13398
|
+
type: "ACTIVITY_TYPE_CREATE_API_KEYS" | "ACTIVITY_TYPE_CREATE_USERS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD" | "ACTIVITY_TYPE_CREATE_INVITATIONS" | "ACTIVITY_TYPE_ACCEPT_INVITATION" | "ACTIVITY_TYPE_CREATE_POLICY" | "ACTIVITY_TYPE_DISABLE_PRIVATE_KEY" | "ACTIVITY_TYPE_DELETE_USERS" | "ACTIVITY_TYPE_DELETE_API_KEYS" | "ACTIVITY_TYPE_DELETE_INVITATION" | "ACTIVITY_TYPE_DELETE_ORGANIZATION" | "ACTIVITY_TYPE_DELETE_POLICY" | "ACTIVITY_TYPE_CREATE_USER_TAG" | "ACTIVITY_TYPE_DELETE_USER_TAGS" | "ACTIVITY_TYPE_CREATE_ORGANIZATION" | "ACTIVITY_TYPE_SIGN_TRANSACTION" | "ACTIVITY_TYPE_APPROVE_ACTIVITY" | "ACTIVITY_TYPE_REJECT_ACTIVITY" | "ACTIVITY_TYPE_DELETE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS" | "ACTIVITY_TYPE_SET_PAYMENT_METHOD" | "ACTIVITY_TYPE_ACTIVATE_BILLING_TIER" | "ACTIVITY_TYPE_DELETE_PAYMENT_METHOD" | "ACTIVITY_TYPE_CREATE_POLICY_V2" | "ACTIVITY_TYPE_CREATE_POLICY_V3" | "ACTIVITY_TYPE_CREATE_API_ONLY_USERS" | "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM" | "ACTIVITY_TYPE_UPDATE_USER_TAG" | "ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS_V2" | "ACTIVITY_TYPE_CREATE_ORGANIZATION_V2" | "ACTIVITY_TYPE_CREATE_USERS_V2" | "ACTIVITY_TYPE_ACCEPT_INVITATION_V2" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V2" | "ACTIVITY_TYPE_UPDATE_ALLOWED_ORIGINS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS_V2";
|
|
11267
13399
|
intent: {
|
|
11268
13400
|
createOrganizationIntent: {
|
|
11269
13401
|
organizationName: string;
|
|
11270
13402
|
rootEmail: string;
|
|
11271
13403
|
rootAuthenticator: {
|
|
11272
13404
|
authenticatorName: string;
|
|
11273
|
-
userId: string;
|
|
11274
|
-
* Create Invitations
|
|
11275
|
-
*
|
|
11276
|
-
* Create Invitations to join an existing Organization
|
|
11277
|
-
*/
|
|
13405
|
+
userId: string;
|
|
11278
13406
|
attestation: {
|
|
11279
13407
|
id: string;
|
|
11280
13408
|
type: "public-key";
|
|
@@ -11301,11 +13429,7 @@ export declare const postUpdateRootQuorum: (input: TPostUpdateRootQuorumInput) =
|
|
|
11301
13429
|
createAuthenticatorsIntent?: {
|
|
11302
13430
|
authenticators: {
|
|
11303
13431
|
authenticatorName: string;
|
|
11304
|
-
userId: string;
|
|
11305
|
-
* Create Invitations
|
|
11306
|
-
*
|
|
11307
|
-
* Create Invitations to join an existing Organization
|
|
11308
|
-
*/
|
|
13432
|
+
userId: string;
|
|
11309
13433
|
attestation: {
|
|
11310
13434
|
id: string;
|
|
11311
13435
|
type: "public-key";
|
|
@@ -11340,11 +13464,7 @@ export declare const postUpdateRootQuorum: (input: TPostUpdateRootQuorumInput) =
|
|
|
11340
13464
|
}[];
|
|
11341
13465
|
authenticators: {
|
|
11342
13466
|
authenticatorName: string;
|
|
11343
|
-
userId: string;
|
|
11344
|
-
* Create Invitations
|
|
11345
|
-
*
|
|
11346
|
-
* Create Invitations to join an existing Organization
|
|
11347
|
-
*/
|
|
13467
|
+
userId: string;
|
|
11348
13468
|
attestation: {
|
|
11349
13469
|
id: string;
|
|
11350
13470
|
type: "public-key";
|
|
@@ -11397,11 +13517,7 @@ export declare const postUpdateRootQuorum: (input: TPostUpdateRootQuorumInput) =
|
|
|
11397
13517
|
userId: string;
|
|
11398
13518
|
authenticator: {
|
|
11399
13519
|
authenticatorName: string;
|
|
11400
|
-
userId: string;
|
|
11401
|
-
* Create Invitations
|
|
11402
|
-
*
|
|
11403
|
-
* Create Invitations to join an existing Organization
|
|
11404
|
-
*/
|
|
13520
|
+
userId: string;
|
|
11405
13521
|
attestation: {
|
|
11406
13522
|
id: string;
|
|
11407
13523
|
type: "public-key";
|
|
@@ -11453,6 +13569,11 @@ export declare const postUpdateRootQuorum: (input: TPostUpdateRootQuorumInput) =
|
|
|
11453
13569
|
deletePolicyIntent?: {
|
|
11454
13570
|
policyId: string;
|
|
11455
13571
|
};
|
|
13572
|
+
/**
|
|
13573
|
+
* `POST /tkhq/public/v1/query/get_private_key`
|
|
13574
|
+
*
|
|
13575
|
+
* @deprecated
|
|
13576
|
+
*/
|
|
11456
13577
|
createUserTagIntent?: {
|
|
11457
13578
|
userTagName: string;
|
|
11458
13579
|
userIds: string[];
|
|
@@ -11646,6 +13767,17 @@ export declare const postUpdateRootQuorum: (input: TPostUpdateRootQuorumInput) =
|
|
|
11646
13767
|
}[];
|
|
11647
13768
|
rootQuorumThreshold: number;
|
|
11648
13769
|
};
|
|
13770
|
+
updateAllowedOriginsIntent?: {
|
|
13771
|
+
allowedOrigins: string[];
|
|
13772
|
+
};
|
|
13773
|
+
createPrivateKeysIntentV2?: {
|
|
13774
|
+
privateKeys: {
|
|
13775
|
+
privateKeyName: string;
|
|
13776
|
+
curve: "CURVE_SECP256K1" | "CURVE_ED25519";
|
|
13777
|
+
privateKeyTags: string[];
|
|
13778
|
+
addressFormats: ("ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM")[];
|
|
13779
|
+
}[];
|
|
13780
|
+
};
|
|
11649
13781
|
};
|
|
11650
13782
|
result: {
|
|
11651
13783
|
createOrganizationResult?: {
|
|
@@ -11744,6 +13876,18 @@ export declare const postUpdateRootQuorum: (input: TPostUpdateRootQuorumInput) =
|
|
|
11744
13876
|
createSubOrganizationResult?: {
|
|
11745
13877
|
subOrganizationId: string;
|
|
11746
13878
|
};
|
|
13879
|
+
updateAllowedOriginsResult?: {
|
|
13880
|
+
[key: string]: unknown;
|
|
13881
|
+
};
|
|
13882
|
+
createPrivateKeysResultV2?: {
|
|
13883
|
+
privateKeys: {
|
|
13884
|
+
privateKeyId?: string;
|
|
13885
|
+
addresses?: {
|
|
13886
|
+
format?: "ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM";
|
|
13887
|
+
address?: string;
|
|
13888
|
+
}[];
|
|
13889
|
+
}[];
|
|
13890
|
+
};
|
|
11747
13891
|
};
|
|
11748
13892
|
votes: {
|
|
11749
13893
|
id: string;
|
|
@@ -11856,18 +14000,14 @@ export declare const postUpdateUserTag: (input: TPostUpdateUserTagInput) => Prom
|
|
|
11856
14000
|
id: string;
|
|
11857
14001
|
organizationId: string;
|
|
11858
14002
|
status: "ACTIVITY_STATUS_CREATED" | "ACTIVITY_STATUS_PENDING" | "ACTIVITY_STATUS_COMPLETED" | "ACTIVITY_STATUS_FAILED" | "ACTIVITY_STATUS_CONSENSUS_NEEDED" | "ACTIVITY_STATUS_REJECTED";
|
|
11859
|
-
type: "ACTIVITY_TYPE_CREATE_API_KEYS" | "ACTIVITY_TYPE_CREATE_USERS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD" | "ACTIVITY_TYPE_CREATE_INVITATIONS" | "ACTIVITY_TYPE_ACCEPT_INVITATION" | "ACTIVITY_TYPE_CREATE_POLICY" | "ACTIVITY_TYPE_DISABLE_PRIVATE_KEY" | "ACTIVITY_TYPE_DELETE_USERS" | "ACTIVITY_TYPE_DELETE_API_KEYS" | "ACTIVITY_TYPE_DELETE_INVITATION" | "ACTIVITY_TYPE_DELETE_ORGANIZATION" | "ACTIVITY_TYPE_DELETE_POLICY" | "ACTIVITY_TYPE_CREATE_USER_TAG" | "ACTIVITY_TYPE_DELETE_USER_TAGS" | "ACTIVITY_TYPE_CREATE_ORGANIZATION" | "ACTIVITY_TYPE_SIGN_TRANSACTION" | "ACTIVITY_TYPE_APPROVE_ACTIVITY" | "ACTIVITY_TYPE_REJECT_ACTIVITY" | "ACTIVITY_TYPE_DELETE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS" | "ACTIVITY_TYPE_SET_PAYMENT_METHOD" | "ACTIVITY_TYPE_ACTIVATE_BILLING_TIER" | "ACTIVITY_TYPE_DELETE_PAYMENT_METHOD" | "ACTIVITY_TYPE_CREATE_POLICY_V2" | "ACTIVITY_TYPE_CREATE_POLICY_V3" | "ACTIVITY_TYPE_CREATE_API_ONLY_USERS" | "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM" | "ACTIVITY_TYPE_UPDATE_USER_TAG" | "ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS_V2" | "ACTIVITY_TYPE_CREATE_ORGANIZATION_V2" | "ACTIVITY_TYPE_CREATE_USERS_V2" | "ACTIVITY_TYPE_ACCEPT_INVITATION_V2" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V2";
|
|
14003
|
+
type: "ACTIVITY_TYPE_CREATE_API_KEYS" | "ACTIVITY_TYPE_CREATE_USERS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD" | "ACTIVITY_TYPE_CREATE_INVITATIONS" | "ACTIVITY_TYPE_ACCEPT_INVITATION" | "ACTIVITY_TYPE_CREATE_POLICY" | "ACTIVITY_TYPE_DISABLE_PRIVATE_KEY" | "ACTIVITY_TYPE_DELETE_USERS" | "ACTIVITY_TYPE_DELETE_API_KEYS" | "ACTIVITY_TYPE_DELETE_INVITATION" | "ACTIVITY_TYPE_DELETE_ORGANIZATION" | "ACTIVITY_TYPE_DELETE_POLICY" | "ACTIVITY_TYPE_CREATE_USER_TAG" | "ACTIVITY_TYPE_DELETE_USER_TAGS" | "ACTIVITY_TYPE_CREATE_ORGANIZATION" | "ACTIVITY_TYPE_SIGN_TRANSACTION" | "ACTIVITY_TYPE_APPROVE_ACTIVITY" | "ACTIVITY_TYPE_REJECT_ACTIVITY" | "ACTIVITY_TYPE_DELETE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS" | "ACTIVITY_TYPE_SET_PAYMENT_METHOD" | "ACTIVITY_TYPE_ACTIVATE_BILLING_TIER" | "ACTIVITY_TYPE_DELETE_PAYMENT_METHOD" | "ACTIVITY_TYPE_CREATE_POLICY_V2" | "ACTIVITY_TYPE_CREATE_POLICY_V3" | "ACTIVITY_TYPE_CREATE_API_ONLY_USERS" | "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM" | "ACTIVITY_TYPE_UPDATE_USER_TAG" | "ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS_V2" | "ACTIVITY_TYPE_CREATE_ORGANIZATION_V2" | "ACTIVITY_TYPE_CREATE_USERS_V2" | "ACTIVITY_TYPE_ACCEPT_INVITATION_V2" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V2" | "ACTIVITY_TYPE_UPDATE_ALLOWED_ORIGINS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS_V2";
|
|
11860
14004
|
intent: {
|
|
11861
14005
|
createOrganizationIntent: {
|
|
11862
14006
|
organizationName: string;
|
|
11863
14007
|
rootEmail: string;
|
|
11864
14008
|
rootAuthenticator: {
|
|
11865
14009
|
authenticatorName: string;
|
|
11866
|
-
userId: string;
|
|
11867
|
-
* Create Invitations
|
|
11868
|
-
*
|
|
11869
|
-
* Create Invitations to join an existing Organization
|
|
11870
|
-
*/
|
|
14010
|
+
userId: string;
|
|
11871
14011
|
attestation: {
|
|
11872
14012
|
id: string;
|
|
11873
14013
|
type: "public-key";
|
|
@@ -11894,11 +14034,7 @@ export declare const postUpdateUserTag: (input: TPostUpdateUserTagInput) => Prom
|
|
|
11894
14034
|
createAuthenticatorsIntent?: {
|
|
11895
14035
|
authenticators: {
|
|
11896
14036
|
authenticatorName: string;
|
|
11897
|
-
userId: string;
|
|
11898
|
-
* Create Invitations
|
|
11899
|
-
*
|
|
11900
|
-
* Create Invitations to join an existing Organization
|
|
11901
|
-
*/
|
|
14037
|
+
userId: string;
|
|
11902
14038
|
attestation: {
|
|
11903
14039
|
id: string;
|
|
11904
14040
|
type: "public-key";
|
|
@@ -11933,11 +14069,7 @@ export declare const postUpdateUserTag: (input: TPostUpdateUserTagInput) => Prom
|
|
|
11933
14069
|
}[];
|
|
11934
14070
|
authenticators: {
|
|
11935
14071
|
authenticatorName: string;
|
|
11936
|
-
userId: string;
|
|
11937
|
-
* Create Invitations
|
|
11938
|
-
*
|
|
11939
|
-
* Create Invitations to join an existing Organization
|
|
11940
|
-
*/
|
|
14072
|
+
userId: string;
|
|
11941
14073
|
attestation: {
|
|
11942
14074
|
id: string;
|
|
11943
14075
|
type: "public-key";
|
|
@@ -11990,11 +14122,7 @@ export declare const postUpdateUserTag: (input: TPostUpdateUserTagInput) => Prom
|
|
|
11990
14122
|
userId: string;
|
|
11991
14123
|
authenticator: {
|
|
11992
14124
|
authenticatorName: string;
|
|
11993
|
-
userId: string;
|
|
11994
|
-
* Create Invitations
|
|
11995
|
-
*
|
|
11996
|
-
* Create Invitations to join an existing Organization
|
|
11997
|
-
*/
|
|
14125
|
+
userId: string;
|
|
11998
14126
|
attestation: {
|
|
11999
14127
|
id: string;
|
|
12000
14128
|
type: "public-key";
|
|
@@ -12046,6 +14174,11 @@ export declare const postUpdateUserTag: (input: TPostUpdateUserTagInput) => Prom
|
|
|
12046
14174
|
deletePolicyIntent?: {
|
|
12047
14175
|
policyId: string;
|
|
12048
14176
|
};
|
|
14177
|
+
/**
|
|
14178
|
+
* `POST /tkhq/public/v1/query/get_private_key`
|
|
14179
|
+
*
|
|
14180
|
+
* @deprecated
|
|
14181
|
+
*/
|
|
12049
14182
|
createUserTagIntent?: {
|
|
12050
14183
|
userTagName: string;
|
|
12051
14184
|
userIds: string[];
|
|
@@ -12239,6 +14372,17 @@ export declare const postUpdateUserTag: (input: TPostUpdateUserTagInput) => Prom
|
|
|
12239
14372
|
}[];
|
|
12240
14373
|
rootQuorumThreshold: number;
|
|
12241
14374
|
};
|
|
14375
|
+
updateAllowedOriginsIntent?: {
|
|
14376
|
+
allowedOrigins: string[];
|
|
14377
|
+
};
|
|
14378
|
+
createPrivateKeysIntentV2?: {
|
|
14379
|
+
privateKeys: {
|
|
14380
|
+
privateKeyName: string;
|
|
14381
|
+
curve: "CURVE_SECP256K1" | "CURVE_ED25519";
|
|
14382
|
+
privateKeyTags: string[];
|
|
14383
|
+
addressFormats: ("ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM")[];
|
|
14384
|
+
}[];
|
|
14385
|
+
};
|
|
12242
14386
|
};
|
|
12243
14387
|
result: {
|
|
12244
14388
|
createOrganizationResult?: {
|
|
@@ -12337,6 +14481,18 @@ export declare const postUpdateUserTag: (input: TPostUpdateUserTagInput) => Prom
|
|
|
12337
14481
|
createSubOrganizationResult?: {
|
|
12338
14482
|
subOrganizationId: string;
|
|
12339
14483
|
};
|
|
14484
|
+
updateAllowedOriginsResult?: {
|
|
14485
|
+
[key: string]: unknown;
|
|
14486
|
+
};
|
|
14487
|
+
createPrivateKeysResultV2?: {
|
|
14488
|
+
privateKeys: {
|
|
14489
|
+
privateKeyId?: string;
|
|
14490
|
+
addresses?: {
|
|
14491
|
+
format?: "ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM";
|
|
14492
|
+
address?: string;
|
|
14493
|
+
}[];
|
|
14494
|
+
}[];
|
|
14495
|
+
};
|
|
12340
14496
|
};
|
|
12341
14497
|
votes: {
|
|
12342
14498
|
id: string;
|