@turnkey/http 0.18.1 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,16 +3,16 @@ import type { operations } from "./public_api.types";
3
3
  /**
4
4
  * `POST /public/v1/query/get_activity`
5
5
  */
6
- type TPostGetActivityBody = operations["PublicApiService_GetActivity"]["parameters"]["body"]["body"];
6
+ type TGetActivityBody = operations["PublicApiService_GetActivity"]["parameters"]["body"]["body"];
7
7
  /**
8
8
  * `POST /public/v1/query/get_activity`
9
9
  */
10
- export type TPostGetActivityResponse = operations["PublicApiService_GetActivity"]["responses"]["200"]["schema"];
10
+ export type TGetActivityResponse = operations["PublicApiService_GetActivity"]["responses"]["200"]["schema"];
11
11
  /**
12
12
  * `POST /public/v1/query/get_activity`
13
13
  */
14
- export type TPostGetActivityInput = {
15
- body: TPostGetActivityBody;
14
+ export type TGetActivityInput = {
15
+ body: TGetActivityBody;
16
16
  };
17
17
  /**
18
18
  * Get Activity
@@ -21,7 +21,7 @@ export type TPostGetActivityInput = {
21
21
  *
22
22
  * `POST /public/v1/query/get_activity`
23
23
  */
24
- export declare const postGetActivity: (input: TPostGetActivityInput) => Promise<{
24
+ export declare const getActivity: (input: TGetActivityInput) => Promise<{
25
25
  activity: {
26
26
  id: string;
27
27
  organizationId: string;
@@ -141,7 +141,9 @@ export declare const postGetActivity: (input: TPostGetActivityInput) => Promise<
141
141
  receiverUserTags: string[];
142
142
  accessType: "ACCESS_TYPE_WEB" | "ACCESS_TYPE_API" | "ACCESS_TYPE_ALL";
143
143
  senderUserId: string;
144
- }[];
144
+ }[]; /**
145
+ * `POST /public/v1/submit/create_private_key_tag`
146
+ */
145
147
  };
146
148
  acceptInvitationIntent?: {
147
149
  invitationId: string;
@@ -200,11 +202,6 @@ export declare const postGetActivity: (input: TPostGetActivityInput) => Promise<
200
202
  deletePolicyIntent?: {
201
203
  policyId: string;
202
204
  };
203
- /**
204
- * `POST /tkhq/public/v1/query/get_private_key`
205
- *
206
- * @deprecated
207
- */
208
205
  createUserTagIntent?: {
209
206
  userTagName: string;
210
207
  userIds: string[];
@@ -468,6 +465,9 @@ export declare const postGetActivity: (input: TPostGetActivityInput) => Promise<
468
465
  signedTransaction: string;
469
466
  };
470
467
  deleteApiKeysResult?: {
468
+ /**
469
+ * `POST /public/v1/submit/reject_activity`
470
+ */
471
471
  apiKeyIds: string[];
472
472
  };
473
473
  createApiKeysResult?: {
@@ -487,6 +487,13 @@ export declare const postGetActivity: (input: TPostGetActivityInput) => Promise<
487
487
  cardHolderEmail: string;
488
488
  };
489
489
  activateBillingTierResult?: {
490
+ /**
491
+ * List Private Keys
492
+ *
493
+ * List all Private Keys within an Organization
494
+ *
495
+ * `POST /public/v1/query/list_private_keys`
496
+ */
490
497
  productId: string;
491
498
  };
492
499
  deletePaymentMethodResult?: {
@@ -600,24 +607,24 @@ export declare const postGetActivity: (input: TPostGetActivityInput) => Promise<
600
607
  };
601
608
  }>;
602
609
  /**
603
- * Get Activity
610
+ * Request a WebAuthn assertion and return a signed `GetActivity` request, ready to be POSTed to Turnkey.
604
611
  *
605
- * Get details about an Activity
612
+ * See {@link GetActivity}
606
613
  */
607
- export declare const federatedPostGetActivity: (input: TPostGetActivityInput, options?: TurnkeyCredentialRequestOptions) => Promise<import("../../../../..").FederatedRequest>;
614
+ export declare const signGetActivity: (input: TGetActivityInput, options?: TurnkeyCredentialRequestOptions) => Promise<import("../../../../..").SignedRequest>;
608
615
  /**
609
616
  * `POST /public/v1/query/get_authenticator`
610
617
  */
611
- type TPostGetAuthenticatorBody = operations["PublicApiService_GetAuthenticator"]["parameters"]["body"]["body"];
618
+ type TGetAuthenticatorBody = operations["PublicApiService_GetAuthenticator"]["parameters"]["body"]["body"];
612
619
  /**
613
620
  * `POST /public/v1/query/get_authenticator`
614
621
  */
615
- export type TPostGetAuthenticatorResponse = operations["PublicApiService_GetAuthenticator"]["responses"]["200"]["schema"];
622
+ export type TGetAuthenticatorResponse = operations["PublicApiService_GetAuthenticator"]["responses"]["200"]["schema"];
616
623
  /**
617
624
  * `POST /public/v1/query/get_authenticator`
618
625
  */
619
- export type TPostGetAuthenticatorInput = {
620
- body: TPostGetAuthenticatorBody;
626
+ export type TGetAuthenticatorInput = {
627
+ body: TGetAuthenticatorBody;
621
628
  };
622
629
  /**
623
630
  * Get Authenticator
@@ -626,7 +633,7 @@ export type TPostGetAuthenticatorInput = {
626
633
  *
627
634
  * `POST /public/v1/query/get_authenticator`
628
635
  */
629
- export declare const postGetAuthenticator: (input: TPostGetAuthenticatorInput) => Promise<{
636
+ export declare const getAuthenticator: (input: TGetAuthenticatorInput) => Promise<{
630
637
  authenticator: {
631
638
  transports: ("AUTHENTICATOR_TRANSPORT_BLE" | "AUTHENTICATOR_TRANSPORT_INTERNAL" | "AUTHENTICATOR_TRANSPORT_NFC" | "AUTHENTICATOR_TRANSPORT_USB" | "AUTHENTICATOR_TRANSPORT_HYBRID")[];
632
639
  attestationType: string;
@@ -650,24 +657,24 @@ export declare const postGetAuthenticator: (input: TPostGetAuthenticatorInput) =
650
657
  };
651
658
  }>;
652
659
  /**
653
- * Get Authenticator
660
+ * Request a WebAuthn assertion and return a signed `GetAuthenticator` request, ready to be POSTed to Turnkey.
654
661
  *
655
- * Get details about an authenticator
662
+ * See {@link GetAuthenticator}
656
663
  */
657
- export declare const federatedPostGetAuthenticator: (input: TPostGetAuthenticatorInput, options?: TurnkeyCredentialRequestOptions) => Promise<import("../../../../..").FederatedRequest>;
664
+ export declare const signGetAuthenticator: (input: TGetAuthenticatorInput, options?: TurnkeyCredentialRequestOptions) => Promise<import("../../../../..").SignedRequest>;
658
665
  /**
659
666
  * `POST /public/v1/query/get_authenticators`
660
667
  */
661
- type TPostGetAuthenticatorsBody = operations["PublicApiService_GetAuthenticators"]["parameters"]["body"]["body"];
668
+ type TGetAuthenticatorsBody = operations["PublicApiService_GetAuthenticators"]["parameters"]["body"]["body"];
662
669
  /**
663
670
  * `POST /public/v1/query/get_authenticators`
664
671
  */
665
- export type TPostGetAuthenticatorsResponse = operations["PublicApiService_GetAuthenticators"]["responses"]["200"]["schema"];
672
+ export type TGetAuthenticatorsResponse = operations["PublicApiService_GetAuthenticators"]["responses"]["200"]["schema"];
666
673
  /**
667
674
  * `POST /public/v1/query/get_authenticators`
668
675
  */
669
- export type TPostGetAuthenticatorsInput = {
670
- body: TPostGetAuthenticatorsBody;
676
+ export type TGetAuthenticatorsInput = {
677
+ body: TGetAuthenticatorsBody;
671
678
  };
672
679
  /**
673
680
  * Get Authenticators
@@ -676,7 +683,7 @@ export type TPostGetAuthenticatorsInput = {
676
683
  *
677
684
  * `POST /public/v1/query/get_authenticators`
678
685
  */
679
- export declare const postGetAuthenticators: (input: TPostGetAuthenticatorsInput) => Promise<{
686
+ export declare const getAuthenticators: (input: TGetAuthenticatorsInput) => Promise<{
680
687
  authenticators: {
681
688
  transports: ("AUTHENTICATOR_TRANSPORT_BLE" | "AUTHENTICATOR_TRANSPORT_INTERNAL" | "AUTHENTICATOR_TRANSPORT_NFC" | "AUTHENTICATOR_TRANSPORT_USB" | "AUTHENTICATOR_TRANSPORT_HYBRID")[];
682
689
  attestationType: string;
@@ -700,24 +707,24 @@ export declare const postGetAuthenticators: (input: TPostGetAuthenticatorsInput)
700
707
  }[];
701
708
  }>;
702
709
  /**
703
- * Get Authenticators
710
+ * Request a WebAuthn assertion and return a signed `GetAuthenticators` request, ready to be POSTed to Turnkey.
704
711
  *
705
- * Get details about authenticators for a user
712
+ * See {@link GetAuthenticators}
706
713
  */
707
- export declare const federatedPostGetAuthenticators: (input: TPostGetAuthenticatorsInput, options?: TurnkeyCredentialRequestOptions) => Promise<import("../../../../..").FederatedRequest>;
714
+ export declare const signGetAuthenticators: (input: TGetAuthenticatorsInput, options?: TurnkeyCredentialRequestOptions) => Promise<import("../../../../..").SignedRequest>;
708
715
  /**
709
716
  * `POST /public/v1/query/get_organization`
710
717
  */
711
- type TPostGetOrganizationBody = operations["PublicApiService_GetOrganization"]["parameters"]["body"]["body"];
718
+ type TGetOrganizationBody = operations["PublicApiService_GetOrganization"]["parameters"]["body"]["body"];
712
719
  /**
713
720
  * `POST /public/v1/query/get_organization`
714
721
  */
715
- export type TPostGetOrganizationResponse = operations["PublicApiService_GetOrganization"]["responses"]["200"]["schema"];
722
+ export type TGetOrganizationResponse = operations["PublicApiService_GetOrganization"]["responses"]["200"]["schema"];
716
723
  /**
717
724
  * `POST /public/v1/query/get_organization`
718
725
  */
719
- export type TPostGetOrganizationInput = {
720
- body: TPostGetOrganizationBody;
726
+ export type TGetOrganizationInput = {
727
+ body: TGetOrganizationBody;
721
728
  };
722
729
  /**
723
730
  * Get Organization
@@ -726,7 +733,7 @@ export type TPostGetOrganizationInput = {
726
733
  *
727
734
  * `POST /public/v1/query/get_organization`
728
735
  */
729
- export declare const postGetOrganization: (input: TPostGetOrganizationInput) => Promise<{
736
+ export declare const getOrganization: (input: TGetOrganizationInput) => Promise<{
730
737
  organizationData: {
731
738
  organizationId?: string;
732
739
  name?: string;
@@ -871,24 +878,24 @@ export declare const postGetOrganization: (input: TPostGetOrganizationInput) =>
871
878
  };
872
879
  }>;
873
880
  /**
874
- * Get Organization
881
+ * Request a WebAuthn assertion and return a signed `GetOrganization` request, ready to be POSTed to Turnkey.
875
882
  *
876
- * Get details about an Organization
883
+ * See {@link GetOrganization}
877
884
  */
878
- export declare const federatedPostGetOrganization: (input: TPostGetOrganizationInput, options?: TurnkeyCredentialRequestOptions) => Promise<import("../../../../..").FederatedRequest>;
885
+ export declare const signGetOrganization: (input: TGetOrganizationInput, options?: TurnkeyCredentialRequestOptions) => Promise<import("../../../../..").SignedRequest>;
879
886
  /**
880
887
  * `POST /public/v1/query/get_policy`
881
888
  */
882
- type TPostGetPolicyBody = operations["PublicApiService_GetPolicy"]["parameters"]["body"]["body"];
889
+ type TGetPolicyBody = operations["PublicApiService_GetPolicy"]["parameters"]["body"]["body"];
883
890
  /**
884
891
  * `POST /public/v1/query/get_policy`
885
892
  */
886
- export type TPostGetPolicyResponse = operations["PublicApiService_GetPolicy"]["responses"]["200"]["schema"];
893
+ export type TGetPolicyResponse = operations["PublicApiService_GetPolicy"]["responses"]["200"]["schema"];
887
894
  /**
888
895
  * `POST /public/v1/query/get_policy`
889
896
  */
890
- export type TPostGetPolicyInput = {
891
- body: TPostGetPolicyBody;
897
+ export type TGetPolicyInput = {
898
+ body: TGetPolicyBody;
892
899
  };
893
900
  /**
894
901
  * Get Policy
@@ -897,7 +904,7 @@ export type TPostGetPolicyInput = {
897
904
  *
898
905
  * `POST /public/v1/query/get_policy`
899
906
  */
900
- export declare const postGetPolicy: (input: TPostGetPolicyInput) => Promise<{
907
+ export declare const getPolicy: (input: TGetPolicyInput) => Promise<{
901
908
  policy: {
902
909
  policyId: string;
903
910
  policyName: string;
@@ -921,24 +928,24 @@ export declare const postGetPolicy: (input: TPostGetPolicyInput) => Promise<{
921
928
  };
922
929
  }>;
923
930
  /**
924
- * Get Policy
931
+ * Request a WebAuthn assertion and return a signed `GetPolicy` request, ready to be POSTed to Turnkey.
925
932
  *
926
- * Get details about a Policy
933
+ * See {@link GetPolicy}
927
934
  */
928
- export declare const federatedPostGetPolicy: (input: TPostGetPolicyInput, options?: TurnkeyCredentialRequestOptions) => Promise<import("../../../../..").FederatedRequest>;
935
+ export declare const signGetPolicy: (input: TGetPolicyInput, options?: TurnkeyCredentialRequestOptions) => Promise<import("../../../../..").SignedRequest>;
929
936
  /**
930
937
  * `POST /public/v1/query/get_private_key`
931
938
  */
932
- type TPostGetPrivateKeyBody = operations["PublicApiService_GetPrivateKey"]["parameters"]["body"]["body"];
939
+ type TGetPrivateKeyBody = operations["PublicApiService_GetPrivateKey"]["parameters"]["body"]["body"];
933
940
  /**
934
941
  * `POST /public/v1/query/get_private_key`
935
942
  */
936
- export type TPostGetPrivateKeyResponse = operations["PublicApiService_GetPrivateKey"]["responses"]["200"]["schema"];
943
+ export type TGetPrivateKeyResponse = operations["PublicApiService_GetPrivateKey"]["responses"]["200"]["schema"];
937
944
  /**
938
945
  * `POST /public/v1/query/get_private_key`
939
946
  */
940
- export type TPostGetPrivateKeyInput = {
941
- body: TPostGetPrivateKeyBody;
947
+ export type TGetPrivateKeyInput = {
948
+ body: TGetPrivateKeyBody;
942
949
  };
943
950
  /**
944
951
  * Get Private Key
@@ -947,7 +954,7 @@ export type TPostGetPrivateKeyInput = {
947
954
  *
948
955
  * `POST /public/v1/query/get_private_key`
949
956
  */
950
- export declare const postGetPrivateKey: (input: TPostGetPrivateKeyInput) => Promise<{
957
+ export declare const getPrivateKey: (input: TGetPrivateKeyInput) => Promise<{
951
958
  privateKey: {
952
959
  privateKeyId: string;
953
960
  publicKey: string;
@@ -965,24 +972,24 @@ export declare const postGetPrivateKey: (input: TPostGetPrivateKeyInput) => Prom
965
972
  };
966
973
  }>;
967
974
  /**
968
- * Get Private Key
975
+ * Request a WebAuthn assertion and return a signed `GetPrivateKey` request, ready to be POSTed to Turnkey.
969
976
  *
970
- * Get details about a Private Key
977
+ * See {@link GetPrivateKey}
971
978
  */
972
- export declare const federatedPostGetPrivateKey: (input: TPostGetPrivateKeyInput, options?: TurnkeyCredentialRequestOptions) => Promise<import("../../../../..").FederatedRequest>;
979
+ export declare const signGetPrivateKey: (input: TGetPrivateKeyInput, options?: TurnkeyCredentialRequestOptions) => Promise<import("../../../../..").SignedRequest>;
973
980
  /**
974
981
  * `POST /public/v1/query/get_user`
975
982
  */
976
- type TPostGetUserBody = operations["PublicApiService_GetUser"]["parameters"]["body"]["body"];
983
+ type TGetUserBody = operations["PublicApiService_GetUser"]["parameters"]["body"]["body"];
977
984
  /**
978
985
  * `POST /public/v1/query/get_user`
979
986
  */
980
- export type TPostGetUserResponse = operations["PublicApiService_GetUser"]["responses"]["200"]["schema"];
987
+ export type TGetUserResponse = operations["PublicApiService_GetUser"]["responses"]["200"]["schema"];
981
988
  /**
982
989
  * `POST /public/v1/query/get_user`
983
990
  */
984
- export type TPostGetUserInput = {
985
- body: TPostGetUserBody;
991
+ export type TGetUserInput = {
992
+ body: TGetUserBody;
986
993
  };
987
994
  /**
988
995
  * Get User
@@ -991,7 +998,7 @@ export type TPostGetUserInput = {
991
998
  *
992
999
  * `POST /public/v1/query/get_user`
993
1000
  */
994
- export declare const postGetUser: (input: TPostGetUserInput) => Promise<{
1001
+ export declare const getUser: (input: TGetUserInput) => Promise<{
995
1002
  user: {
996
1003
  userId: string;
997
1004
  userName: string;
@@ -1046,24 +1053,24 @@ export declare const postGetUser: (input: TPostGetUserInput) => Promise<{
1046
1053
  };
1047
1054
  }>;
1048
1055
  /**
1049
- * Get User
1056
+ * Request a WebAuthn assertion and return a signed `GetUser` request, ready to be POSTed to Turnkey.
1050
1057
  *
1051
- * Get details about a User
1058
+ * See {@link GetUser}
1052
1059
  */
1053
- export declare const federatedPostGetUser: (input: TPostGetUserInput, options?: TurnkeyCredentialRequestOptions) => Promise<import("../../../../..").FederatedRequest>;
1060
+ export declare const signGetUser: (input: TGetUserInput, options?: TurnkeyCredentialRequestOptions) => Promise<import("../../../../..").SignedRequest>;
1054
1061
  /**
1055
1062
  * `POST /public/v1/query/list_activities`
1056
1063
  */
1057
- type TPostGetActivitiesBody = operations["PublicApiService_GetActivities"]["parameters"]["body"]["body"];
1064
+ type TGetActivitiesBody = operations["PublicApiService_GetActivities"]["parameters"]["body"]["body"];
1058
1065
  /**
1059
1066
  * `POST /public/v1/query/list_activities`
1060
1067
  */
1061
- export type TPostGetActivitiesResponse = operations["PublicApiService_GetActivities"]["responses"]["200"]["schema"];
1068
+ export type TGetActivitiesResponse = operations["PublicApiService_GetActivities"]["responses"]["200"]["schema"];
1062
1069
  /**
1063
1070
  * `POST /public/v1/query/list_activities`
1064
1071
  */
1065
- export type TPostGetActivitiesInput = {
1066
- body: TPostGetActivitiesBody;
1072
+ export type TGetActivitiesInput = {
1073
+ body: TGetActivitiesBody;
1067
1074
  };
1068
1075
  /**
1069
1076
  * List Activities
@@ -1072,7 +1079,7 @@ export type TPostGetActivitiesInput = {
1072
1079
  *
1073
1080
  * `POST /public/v1/query/list_activities`
1074
1081
  */
1075
- export declare const postGetActivities: (input: TPostGetActivitiesInput) => Promise<{
1082
+ export declare const getActivities: (input: TGetActivitiesInput) => Promise<{
1076
1083
  activities: {
1077
1084
  id: string;
1078
1085
  organizationId: string;
@@ -1192,7 +1199,9 @@ export declare const postGetActivities: (input: TPostGetActivitiesInput) => Prom
1192
1199
  receiverUserTags: string[];
1193
1200
  accessType: "ACCESS_TYPE_WEB" | "ACCESS_TYPE_API" | "ACCESS_TYPE_ALL";
1194
1201
  senderUserId: string;
1195
- }[];
1202
+ }[]; /**
1203
+ * `POST /public/v1/submit/create_private_key_tag`
1204
+ */
1196
1205
  };
1197
1206
  acceptInvitationIntent?: {
1198
1207
  invitationId: string;
@@ -1251,11 +1260,6 @@ export declare const postGetActivities: (input: TPostGetActivitiesInput) => Prom
1251
1260
  deletePolicyIntent?: {
1252
1261
  policyId: string;
1253
1262
  };
1254
- /**
1255
- * `POST /tkhq/public/v1/query/get_private_key`
1256
- *
1257
- * @deprecated
1258
- */
1259
1263
  createUserTagIntent?: {
1260
1264
  userTagName: string;
1261
1265
  userIds: string[];
@@ -1519,6 +1523,9 @@ export declare const postGetActivities: (input: TPostGetActivitiesInput) => Prom
1519
1523
  signedTransaction: string;
1520
1524
  };
1521
1525
  deleteApiKeysResult?: {
1526
+ /**
1527
+ * `POST /public/v1/submit/reject_activity`
1528
+ */
1522
1529
  apiKeyIds: string[];
1523
1530
  };
1524
1531
  createApiKeysResult?: {
@@ -1538,6 +1545,13 @@ export declare const postGetActivities: (input: TPostGetActivitiesInput) => Prom
1538
1545
  cardHolderEmail: string;
1539
1546
  };
1540
1547
  activateBillingTierResult?: {
1548
+ /**
1549
+ * List Private Keys
1550
+ *
1551
+ * List all Private Keys within an Organization
1552
+ *
1553
+ * `POST /public/v1/query/list_private_keys`
1554
+ */
1541
1555
  productId: string;
1542
1556
  };
1543
1557
  deletePaymentMethodResult?: {
@@ -1651,24 +1665,24 @@ export declare const postGetActivities: (input: TPostGetActivitiesInput) => Prom
1651
1665
  }[];
1652
1666
  }>;
1653
1667
  /**
1654
- * List Activities
1668
+ * Request a WebAuthn assertion and return a signed `GetActivities` request, ready to be POSTed to Turnkey.
1655
1669
  *
1656
- * List all Activities within an Organization
1670
+ * See {@link GetActivities}
1657
1671
  */
1658
- export declare const federatedPostGetActivities: (input: TPostGetActivitiesInput, options?: TurnkeyCredentialRequestOptions) => Promise<import("../../../../..").FederatedRequest>;
1672
+ export declare const signGetActivities: (input: TGetActivitiesInput, options?: TurnkeyCredentialRequestOptions) => Promise<import("../../../../..").SignedRequest>;
1659
1673
  /**
1660
1674
  * `POST /public/v1/query/list_policies`
1661
1675
  */
1662
- type TPostGetPoliciesBody = operations["PublicApiService_GetPolicies"]["parameters"]["body"]["body"];
1676
+ type TGetPoliciesBody = operations["PublicApiService_GetPolicies"]["parameters"]["body"]["body"];
1663
1677
  /**
1664
1678
  * `POST /public/v1/query/list_policies`
1665
1679
  */
1666
- export type TPostGetPoliciesResponse = operations["PublicApiService_GetPolicies"]["responses"]["200"]["schema"];
1680
+ export type TGetPoliciesResponse = operations["PublicApiService_GetPolicies"]["responses"]["200"]["schema"];
1667
1681
  /**
1668
1682
  * `POST /public/v1/query/list_policies`
1669
1683
  */
1670
- export type TPostGetPoliciesInput = {
1671
- body: TPostGetPoliciesBody;
1684
+ export type TGetPoliciesInput = {
1685
+ body: TGetPoliciesBody;
1672
1686
  };
1673
1687
  /**
1674
1688
  * List Policies
@@ -1677,7 +1691,7 @@ export type TPostGetPoliciesInput = {
1677
1691
  *
1678
1692
  * `POST /public/v1/query/list_policies`
1679
1693
  */
1680
- export declare const postGetPolicies: (input: TPostGetPoliciesInput) => Promise<{
1694
+ export declare const getPolicies: (input: TGetPoliciesInput) => Promise<{
1681
1695
  policies: {
1682
1696
  policyId: string;
1683
1697
  policyName: string;
@@ -1701,24 +1715,24 @@ export declare const postGetPolicies: (input: TPostGetPoliciesInput) => Promise<
1701
1715
  }[];
1702
1716
  }>;
1703
1717
  /**
1704
- * List Policies
1718
+ * Request a WebAuthn assertion and return a signed `GetPolicies` request, ready to be POSTed to Turnkey.
1705
1719
  *
1706
- * List all Policies within an Organization
1720
+ * See {@link GetPolicies}
1707
1721
  */
1708
- export declare const federatedPostGetPolicies: (input: TPostGetPoliciesInput, options?: TurnkeyCredentialRequestOptions) => Promise<import("../../../../..").FederatedRequest>;
1722
+ export declare const signGetPolicies: (input: TGetPoliciesInput, options?: TurnkeyCredentialRequestOptions) => Promise<import("../../../../..").SignedRequest>;
1709
1723
  /**
1710
1724
  * `POST /public/v1/query/list_private_keys`
1711
1725
  */
1712
- type TPostGetPrivateKeysBody = operations["PublicApiService_GetPrivateKeys"]["parameters"]["body"]["body"];
1726
+ type TGetPrivateKeysBody = operations["PublicApiService_GetPrivateKeys"]["parameters"]["body"]["body"];
1713
1727
  /**
1714
1728
  * `POST /public/v1/query/list_private_keys`
1715
1729
  */
1716
- export type TPostGetPrivateKeysResponse = operations["PublicApiService_GetPrivateKeys"]["responses"]["200"]["schema"];
1730
+ export type TGetPrivateKeysResponse = operations["PublicApiService_GetPrivateKeys"]["responses"]["200"]["schema"];
1717
1731
  /**
1718
1732
  * `POST /public/v1/query/list_private_keys`
1719
1733
  */
1720
- export type TPostGetPrivateKeysInput = {
1721
- body: TPostGetPrivateKeysBody;
1734
+ export type TGetPrivateKeysInput = {
1735
+ body: TGetPrivateKeysBody;
1722
1736
  };
1723
1737
  /**
1724
1738
  * List Private Keys
@@ -1727,7 +1741,7 @@ export type TPostGetPrivateKeysInput = {
1727
1741
  *
1728
1742
  * `POST /public/v1/query/list_private_keys`
1729
1743
  */
1730
- export declare const postGetPrivateKeys: (input: TPostGetPrivateKeysInput) => Promise<{
1744
+ export declare const getPrivateKeys: (input: TGetPrivateKeysInput) => Promise<{
1731
1745
  privateKeys: {
1732
1746
  privateKeyId: string;
1733
1747
  publicKey: string;
@@ -1745,24 +1759,24 @@ export declare const postGetPrivateKeys: (input: TPostGetPrivateKeysInput) => Pr
1745
1759
  }[];
1746
1760
  }>;
1747
1761
  /**
1748
- * List Private Keys
1762
+ * Request a WebAuthn assertion and return a signed `GetPrivateKeys` request, ready to be POSTed to Turnkey.
1749
1763
  *
1750
- * List all Private Keys within an Organization
1764
+ * See {@link GetPrivateKeys}
1751
1765
  */
1752
- export declare const federatedPostGetPrivateKeys: (input: TPostGetPrivateKeysInput, options?: TurnkeyCredentialRequestOptions) => Promise<import("../../../../..").FederatedRequest>;
1766
+ export declare const signGetPrivateKeys: (input: TGetPrivateKeysInput, options?: TurnkeyCredentialRequestOptions) => Promise<import("../../../../..").SignedRequest>;
1753
1767
  /**
1754
1768
  * `POST /public/v1/query/list_users`
1755
1769
  */
1756
- type TPostGetUsersBody = operations["PublicApiService_GetUsers"]["parameters"]["body"]["body"];
1770
+ type TGetUsersBody = operations["PublicApiService_GetUsers"]["parameters"]["body"]["body"];
1757
1771
  /**
1758
1772
  * `POST /public/v1/query/list_users`
1759
1773
  */
1760
- export type TPostGetUsersResponse = operations["PublicApiService_GetUsers"]["responses"]["200"]["schema"];
1774
+ export type TGetUsersResponse = operations["PublicApiService_GetUsers"]["responses"]["200"]["schema"];
1761
1775
  /**
1762
1776
  * `POST /public/v1/query/list_users`
1763
1777
  */
1764
- export type TPostGetUsersInput = {
1765
- body: TPostGetUsersBody;
1778
+ export type TGetUsersInput = {
1779
+ body: TGetUsersBody;
1766
1780
  };
1767
1781
  /**
1768
1782
  * List Users
@@ -1771,7 +1785,7 @@ export type TPostGetUsersInput = {
1771
1785
  *
1772
1786
  * `POST /public/v1/query/list_users`
1773
1787
  */
1774
- export declare const postGetUsers: (input: TPostGetUsersInput) => Promise<{
1788
+ export declare const getUsers: (input: TGetUsersInput) => Promise<{
1775
1789
  users: {
1776
1790
  userId: string;
1777
1791
  userName: string;
@@ -1826,24 +1840,24 @@ export declare const postGetUsers: (input: TPostGetUsersInput) => Promise<{
1826
1840
  }[];
1827
1841
  }>;
1828
1842
  /**
1829
- * List Users
1843
+ * Request a WebAuthn assertion and return a signed `GetUsers` request, ready to be POSTed to Turnkey.
1830
1844
  *
1831
- * List all Users within an Organization
1845
+ * See {@link GetUsers}
1832
1846
  */
1833
- export declare const federatedPostGetUsers: (input: TPostGetUsersInput, options?: TurnkeyCredentialRequestOptions) => Promise<import("../../../../..").FederatedRequest>;
1847
+ export declare const signGetUsers: (input: TGetUsersInput, options?: TurnkeyCredentialRequestOptions) => Promise<import("../../../../..").SignedRequest>;
1834
1848
  /**
1835
1849
  * `POST /public/v1/query/whoami`
1836
1850
  */
1837
- type TPostGetWhoamiBody = operations["PublicApiService_GetWhoami"]["parameters"]["body"]["body"];
1851
+ type TGetWhoamiBody = operations["PublicApiService_GetWhoami"]["parameters"]["body"]["body"];
1838
1852
  /**
1839
1853
  * `POST /public/v1/query/whoami`
1840
1854
  */
1841
- export type TPostGetWhoamiResponse = operations["PublicApiService_GetWhoami"]["responses"]["200"]["schema"];
1855
+ export type TGetWhoamiResponse = operations["PublicApiService_GetWhoami"]["responses"]["200"]["schema"];
1842
1856
  /**
1843
1857
  * `POST /public/v1/query/whoami`
1844
1858
  */
1845
- export type TPostGetWhoamiInput = {
1846
- body: TPostGetWhoamiBody;
1859
+ export type TGetWhoamiInput = {
1860
+ body: TGetWhoamiBody;
1847
1861
  };
1848
1862
  /**
1849
1863
  * Who am I?
@@ -1852,31 +1866,36 @@ export type TPostGetWhoamiInput = {
1852
1866
  *
1853
1867
  * `POST /public/v1/query/whoami`
1854
1868
  */
1855
- export declare const postGetWhoami: (input: TPostGetWhoamiInput) => Promise<{
1869
+ export declare const getWhoami: (input: TGetWhoamiInput) => Promise<{
1856
1870
  organizationId: string;
1857
1871
  organizationName: string;
1872
+ /**
1873
+ * `POST /public/v1/submit/update_user_tag`
1874
+ */
1858
1875
  userId: string;
1859
- username: string;
1876
+ username: string; /**
1877
+ * `POST /public/v1/submit/update_user_tag`
1878
+ */
1860
1879
  }>;
1861
1880
  /**
1862
- * Who am I?
1881
+ * Request a WebAuthn assertion and return a signed `GetWhoami` request, ready to be POSTed to Turnkey.
1863
1882
  *
1864
- * Get basic information about your current API user and your organization
1883
+ * See {@link GetWhoami}
1865
1884
  */
1866
- export declare const federatedPostGetWhoami: (input: TPostGetWhoamiInput, options?: TurnkeyCredentialRequestOptions) => Promise<import("../../../../..").FederatedRequest>;
1885
+ export declare const signGetWhoami: (input: TGetWhoamiInput, options?: TurnkeyCredentialRequestOptions) => Promise<import("../../../../..").SignedRequest>;
1867
1886
  /**
1868
1887
  * `POST /public/v1/submit/approve_activity`
1869
1888
  */
1870
- type TPostApproveActivityBody = operations["PublicApiService_ApproveActivity"]["parameters"]["body"]["body"];
1889
+ type TApproveActivityBody = operations["PublicApiService_ApproveActivity"]["parameters"]["body"]["body"];
1871
1890
  /**
1872
1891
  * `POST /public/v1/submit/approve_activity`
1873
1892
  */
1874
- export type TPostApproveActivityResponse = operations["PublicApiService_ApproveActivity"]["responses"]["200"]["schema"];
1893
+ export type TApproveActivityResponse = operations["PublicApiService_ApproveActivity"]["responses"]["200"]["schema"];
1875
1894
  /**
1876
1895
  * `POST /public/v1/submit/approve_activity`
1877
1896
  */
1878
- export type TPostApproveActivityInput = {
1879
- body: TPostApproveActivityBody;
1897
+ export type TApproveActivityInput = {
1898
+ body: TApproveActivityBody;
1880
1899
  };
1881
1900
  /**
1882
1901
  * Approve Activity
@@ -1885,7 +1904,7 @@ export type TPostApproveActivityInput = {
1885
1904
  *
1886
1905
  * `POST /public/v1/submit/approve_activity`
1887
1906
  */
1888
- export declare const postApproveActivity: (input: TPostApproveActivityInput) => Promise<{
1907
+ export declare const approveActivity: (input: TApproveActivityInput) => Promise<{
1889
1908
  activity: {
1890
1909
  id: string;
1891
1910
  organizationId: string;
@@ -2005,7 +2024,9 @@ export declare const postApproveActivity: (input: TPostApproveActivityInput) =>
2005
2024
  receiverUserTags: string[];
2006
2025
  accessType: "ACCESS_TYPE_WEB" | "ACCESS_TYPE_API" | "ACCESS_TYPE_ALL";
2007
2026
  senderUserId: string;
2008
- }[];
2027
+ }[]; /**
2028
+ * `POST /public/v1/submit/create_private_key_tag`
2029
+ */
2009
2030
  };
2010
2031
  acceptInvitationIntent?: {
2011
2032
  invitationId: string;
@@ -2064,11 +2085,6 @@ export declare const postApproveActivity: (input: TPostApproveActivityInput) =>
2064
2085
  deletePolicyIntent?: {
2065
2086
  policyId: string;
2066
2087
  };
2067
- /**
2068
- * `POST /tkhq/public/v1/query/get_private_key`
2069
- *
2070
- * @deprecated
2071
- */
2072
2088
  createUserTagIntent?: {
2073
2089
  userTagName: string;
2074
2090
  userIds: string[];
@@ -2332,6 +2348,9 @@ export declare const postApproveActivity: (input: TPostApproveActivityInput) =>
2332
2348
  signedTransaction: string;
2333
2349
  };
2334
2350
  deleteApiKeysResult?: {
2351
+ /**
2352
+ * `POST /public/v1/submit/reject_activity`
2353
+ */
2335
2354
  apiKeyIds: string[];
2336
2355
  };
2337
2356
  createApiKeysResult?: {
@@ -2351,6 +2370,13 @@ export declare const postApproveActivity: (input: TPostApproveActivityInput) =>
2351
2370
  cardHolderEmail: string;
2352
2371
  };
2353
2372
  activateBillingTierResult?: {
2373
+ /**
2374
+ * List Private Keys
2375
+ *
2376
+ * List all Private Keys within an Organization
2377
+ *
2378
+ * `POST /public/v1/query/list_private_keys`
2379
+ */
2354
2380
  productId: string;
2355
2381
  };
2356
2382
  deletePaymentMethodResult?: {
@@ -2464,24 +2490,24 @@ export declare const postApproveActivity: (input: TPostApproveActivityInput) =>
2464
2490
  };
2465
2491
  }>;
2466
2492
  /**
2467
- * Approve Activity
2493
+ * Request a WebAuthn assertion and return a signed `ApproveActivity` request, ready to be POSTed to Turnkey.
2468
2494
  *
2469
- * Approve an Activity
2495
+ * See {@link ApproveActivity}
2470
2496
  */
2471
- export declare const federatedPostApproveActivity: (input: TPostApproveActivityInput, options?: TurnkeyCredentialRequestOptions) => Promise<import("../../../../..").FederatedRequest>;
2497
+ export declare const signApproveActivity: (input: TApproveActivityInput, options?: TurnkeyCredentialRequestOptions) => Promise<import("../../../../..").SignedRequest>;
2472
2498
  /**
2473
2499
  * `POST /public/v1/submit/create_api_keys`
2474
2500
  */
2475
- type TPostCreateApiKeysBody = operations["PublicApiService_CreateApiKeys"]["parameters"]["body"]["body"];
2501
+ type TCreateApiKeysBody = operations["PublicApiService_CreateApiKeys"]["parameters"]["body"]["body"];
2476
2502
  /**
2477
2503
  * `POST /public/v1/submit/create_api_keys`
2478
2504
  */
2479
- export type TPostCreateApiKeysResponse = operations["PublicApiService_CreateApiKeys"]["responses"]["200"]["schema"];
2505
+ export type TCreateApiKeysResponse = operations["PublicApiService_CreateApiKeys"]["responses"]["200"]["schema"];
2480
2506
  /**
2481
2507
  * `POST /public/v1/submit/create_api_keys`
2482
2508
  */
2483
- export type TPostCreateApiKeysInput = {
2484
- body: TPostCreateApiKeysBody;
2509
+ export type TCreateApiKeysInput = {
2510
+ body: TCreateApiKeysBody;
2485
2511
  };
2486
2512
  /**
2487
2513
  * Create API Keys
@@ -2490,7 +2516,7 @@ export type TPostCreateApiKeysInput = {
2490
2516
  *
2491
2517
  * `POST /public/v1/submit/create_api_keys`
2492
2518
  */
2493
- export declare const postCreateApiKeys: (input: TPostCreateApiKeysInput) => Promise<{
2519
+ export declare const createApiKeys: (input: TCreateApiKeysInput) => Promise<{
2494
2520
  activity: {
2495
2521
  id: string;
2496
2522
  organizationId: string;
@@ -2610,7 +2636,9 @@ export declare const postCreateApiKeys: (input: TPostCreateApiKeysInput) => Prom
2610
2636
  receiverUserTags: string[];
2611
2637
  accessType: "ACCESS_TYPE_WEB" | "ACCESS_TYPE_API" | "ACCESS_TYPE_ALL";
2612
2638
  senderUserId: string;
2613
- }[];
2639
+ }[]; /**
2640
+ * `POST /public/v1/submit/create_private_key_tag`
2641
+ */
2614
2642
  };
2615
2643
  acceptInvitationIntent?: {
2616
2644
  invitationId: string;
@@ -2669,11 +2697,6 @@ export declare const postCreateApiKeys: (input: TPostCreateApiKeysInput) => Prom
2669
2697
  deletePolicyIntent?: {
2670
2698
  policyId: string;
2671
2699
  };
2672
- /**
2673
- * `POST /tkhq/public/v1/query/get_private_key`
2674
- *
2675
- * @deprecated
2676
- */
2677
2700
  createUserTagIntent?: {
2678
2701
  userTagName: string;
2679
2702
  userIds: string[];
@@ -2937,6 +2960,9 @@ export declare const postCreateApiKeys: (input: TPostCreateApiKeysInput) => Prom
2937
2960
  signedTransaction: string;
2938
2961
  };
2939
2962
  deleteApiKeysResult?: {
2963
+ /**
2964
+ * `POST /public/v1/submit/reject_activity`
2965
+ */
2940
2966
  apiKeyIds: string[];
2941
2967
  };
2942
2968
  createApiKeysResult?: {
@@ -2956,6 +2982,13 @@ export declare const postCreateApiKeys: (input: TPostCreateApiKeysInput) => Prom
2956
2982
  cardHolderEmail: string;
2957
2983
  };
2958
2984
  activateBillingTierResult?: {
2985
+ /**
2986
+ * List Private Keys
2987
+ *
2988
+ * List all Private Keys within an Organization
2989
+ *
2990
+ * `POST /public/v1/query/list_private_keys`
2991
+ */
2959
2992
  productId: string;
2960
2993
  };
2961
2994
  deletePaymentMethodResult?: {
@@ -3069,24 +3102,24 @@ export declare const postCreateApiKeys: (input: TPostCreateApiKeysInput) => Prom
3069
3102
  };
3070
3103
  }>;
3071
3104
  /**
3072
- * Create API Keys
3105
+ * Request a WebAuthn assertion and return a signed `CreateApiKeys` request, ready to be POSTed to Turnkey.
3073
3106
  *
3074
- * Add api keys to an existing User
3107
+ * See {@link CreateApiKeys}
3075
3108
  */
3076
- export declare const federatedPostCreateApiKeys: (input: TPostCreateApiKeysInput, options?: TurnkeyCredentialRequestOptions) => Promise<import("../../../../..").FederatedRequest>;
3109
+ export declare const signCreateApiKeys: (input: TCreateApiKeysInput, options?: TurnkeyCredentialRequestOptions) => Promise<import("../../../../..").SignedRequest>;
3077
3110
  /**
3078
3111
  * `POST /public/v1/submit/create_api_only_users`
3079
3112
  */
3080
- type TPostCreateApiOnlyUsersBody = operations["PublicApiService_CreateApiOnlyUsers"]["parameters"]["body"]["body"];
3113
+ type TCreateApiOnlyUsersBody = operations["PublicApiService_CreateApiOnlyUsers"]["parameters"]["body"]["body"];
3081
3114
  /**
3082
3115
  * `POST /public/v1/submit/create_api_only_users`
3083
3116
  */
3084
- export type TPostCreateApiOnlyUsersResponse = operations["PublicApiService_CreateApiOnlyUsers"]["responses"]["200"]["schema"];
3117
+ export type TCreateApiOnlyUsersResponse = operations["PublicApiService_CreateApiOnlyUsers"]["responses"]["200"]["schema"];
3085
3118
  /**
3086
3119
  * `POST /public/v1/submit/create_api_only_users`
3087
3120
  */
3088
- export type TPostCreateApiOnlyUsersInput = {
3089
- body: TPostCreateApiOnlyUsersBody;
3121
+ export type TCreateApiOnlyUsersInput = {
3122
+ body: TCreateApiOnlyUsersBody;
3090
3123
  };
3091
3124
  /**
3092
3125
  * Create API-only Users
@@ -3095,7 +3128,7 @@ export type TPostCreateApiOnlyUsersInput = {
3095
3128
  *
3096
3129
  * `POST /public/v1/submit/create_api_only_users`
3097
3130
  */
3098
- export declare const postCreateApiOnlyUsers: (input: TPostCreateApiOnlyUsersInput) => Promise<{
3131
+ export declare const createApiOnlyUsers: (input: TCreateApiOnlyUsersInput) => Promise<{
3099
3132
  activity: {
3100
3133
  id: string;
3101
3134
  organizationId: string;
@@ -3215,7 +3248,9 @@ export declare const postCreateApiOnlyUsers: (input: TPostCreateApiOnlyUsersInpu
3215
3248
  receiverUserTags: string[];
3216
3249
  accessType: "ACCESS_TYPE_WEB" | "ACCESS_TYPE_API" | "ACCESS_TYPE_ALL";
3217
3250
  senderUserId: string;
3218
- }[];
3251
+ }[]; /**
3252
+ * `POST /public/v1/submit/create_private_key_tag`
3253
+ */
3219
3254
  };
3220
3255
  acceptInvitationIntent?: {
3221
3256
  invitationId: string;
@@ -3274,11 +3309,6 @@ export declare const postCreateApiOnlyUsers: (input: TPostCreateApiOnlyUsersInpu
3274
3309
  deletePolicyIntent?: {
3275
3310
  policyId: string;
3276
3311
  };
3277
- /**
3278
- * `POST /tkhq/public/v1/query/get_private_key`
3279
- *
3280
- * @deprecated
3281
- */
3282
3312
  createUserTagIntent?: {
3283
3313
  userTagName: string;
3284
3314
  userIds: string[];
@@ -3542,6 +3572,9 @@ export declare const postCreateApiOnlyUsers: (input: TPostCreateApiOnlyUsersInpu
3542
3572
  signedTransaction: string;
3543
3573
  };
3544
3574
  deleteApiKeysResult?: {
3575
+ /**
3576
+ * `POST /public/v1/submit/reject_activity`
3577
+ */
3545
3578
  apiKeyIds: string[];
3546
3579
  };
3547
3580
  createApiKeysResult?: {
@@ -3561,6 +3594,13 @@ export declare const postCreateApiOnlyUsers: (input: TPostCreateApiOnlyUsersInpu
3561
3594
  cardHolderEmail: string;
3562
3595
  };
3563
3596
  activateBillingTierResult?: {
3597
+ /**
3598
+ * List Private Keys
3599
+ *
3600
+ * List all Private Keys within an Organization
3601
+ *
3602
+ * `POST /public/v1/query/list_private_keys`
3603
+ */
3564
3604
  productId: string;
3565
3605
  };
3566
3606
  deletePaymentMethodResult?: {
@@ -3674,24 +3714,24 @@ export declare const postCreateApiOnlyUsers: (input: TPostCreateApiOnlyUsersInpu
3674
3714
  };
3675
3715
  }>;
3676
3716
  /**
3677
- * Create API-only Users
3717
+ * Request a WebAuthn assertion and return a signed `CreateApiOnlyUsers` request, ready to be POSTed to Turnkey.
3678
3718
  *
3679
- * Create API-only Users in an existing Organization
3719
+ * See {@link CreateApiOnlyUsers}
3680
3720
  */
3681
- export declare const federatedPostCreateApiOnlyUsers: (input: TPostCreateApiOnlyUsersInput, options?: TurnkeyCredentialRequestOptions) => Promise<import("../../../../..").FederatedRequest>;
3721
+ export declare const signCreateApiOnlyUsers: (input: TCreateApiOnlyUsersInput, options?: TurnkeyCredentialRequestOptions) => Promise<import("../../../../..").SignedRequest>;
3682
3722
  /**
3683
3723
  * `POST /public/v1/submit/create_authenticators`
3684
3724
  */
3685
- type TPostCreateAuthenticatorsBody = operations["PublicApiService_CreateAuthenticators"]["parameters"]["body"]["body"];
3725
+ type TCreateAuthenticatorsBody = operations["PublicApiService_CreateAuthenticators"]["parameters"]["body"]["body"];
3686
3726
  /**
3687
3727
  * `POST /public/v1/submit/create_authenticators`
3688
3728
  */
3689
- export type TPostCreateAuthenticatorsResponse = operations["PublicApiService_CreateAuthenticators"]["responses"]["200"]["schema"];
3729
+ export type TCreateAuthenticatorsResponse = operations["PublicApiService_CreateAuthenticators"]["responses"]["200"]["schema"];
3690
3730
  /**
3691
3731
  * `POST /public/v1/submit/create_authenticators`
3692
3732
  */
3693
- export type TPostCreateAuthenticatorsInput = {
3694
- body: TPostCreateAuthenticatorsBody;
3733
+ export type TCreateAuthenticatorsInput = {
3734
+ body: TCreateAuthenticatorsBody;
3695
3735
  };
3696
3736
  /**
3697
3737
  * Create Authenticators
@@ -3700,7 +3740,7 @@ export type TPostCreateAuthenticatorsInput = {
3700
3740
  *
3701
3741
  * `POST /public/v1/submit/create_authenticators`
3702
3742
  */
3703
- export declare const postCreateAuthenticators: (input: TPostCreateAuthenticatorsInput) => Promise<{
3743
+ export declare const createAuthenticators: (input: TCreateAuthenticatorsInput) => Promise<{
3704
3744
  activity: {
3705
3745
  id: string;
3706
3746
  organizationId: string;
@@ -3820,7 +3860,9 @@ export declare const postCreateAuthenticators: (input: TPostCreateAuthenticators
3820
3860
  receiverUserTags: string[];
3821
3861
  accessType: "ACCESS_TYPE_WEB" | "ACCESS_TYPE_API" | "ACCESS_TYPE_ALL";
3822
3862
  senderUserId: string;
3823
- }[];
3863
+ }[]; /**
3864
+ * `POST /public/v1/submit/create_private_key_tag`
3865
+ */
3824
3866
  };
3825
3867
  acceptInvitationIntent?: {
3826
3868
  invitationId: string;
@@ -3879,11 +3921,6 @@ export declare const postCreateAuthenticators: (input: TPostCreateAuthenticators
3879
3921
  deletePolicyIntent?: {
3880
3922
  policyId: string;
3881
3923
  };
3882
- /**
3883
- * `POST /tkhq/public/v1/query/get_private_key`
3884
- *
3885
- * @deprecated
3886
- */
3887
3924
  createUserTagIntent?: {
3888
3925
  userTagName: string;
3889
3926
  userIds: string[];
@@ -4147,6 +4184,9 @@ export declare const postCreateAuthenticators: (input: TPostCreateAuthenticators
4147
4184
  signedTransaction: string;
4148
4185
  };
4149
4186
  deleteApiKeysResult?: {
4187
+ /**
4188
+ * `POST /public/v1/submit/reject_activity`
4189
+ */
4150
4190
  apiKeyIds: string[];
4151
4191
  };
4152
4192
  createApiKeysResult?: {
@@ -4166,6 +4206,13 @@ export declare const postCreateAuthenticators: (input: TPostCreateAuthenticators
4166
4206
  cardHolderEmail: string;
4167
4207
  };
4168
4208
  activateBillingTierResult?: {
4209
+ /**
4210
+ * List Private Keys
4211
+ *
4212
+ * List all Private Keys within an Organization
4213
+ *
4214
+ * `POST /public/v1/query/list_private_keys`
4215
+ */
4169
4216
  productId: string;
4170
4217
  };
4171
4218
  deletePaymentMethodResult?: {
@@ -4279,24 +4326,24 @@ export declare const postCreateAuthenticators: (input: TPostCreateAuthenticators
4279
4326
  };
4280
4327
  }>;
4281
4328
  /**
4282
- * Create Authenticators
4329
+ * Request a WebAuthn assertion and return a signed `CreateAuthenticators` request, ready to be POSTed to Turnkey.
4283
4330
  *
4284
- * Create Authenticators to authenticate requests to Turnkey
4331
+ * See {@link CreateAuthenticators}
4285
4332
  */
4286
- export declare const federatedPostCreateAuthenticators: (input: TPostCreateAuthenticatorsInput, options?: TurnkeyCredentialRequestOptions) => Promise<import("../../../../..").FederatedRequest>;
4333
+ export declare const signCreateAuthenticators: (input: TCreateAuthenticatorsInput, options?: TurnkeyCredentialRequestOptions) => Promise<import("../../../../..").SignedRequest>;
4287
4334
  /**
4288
4335
  * `POST /public/v1/submit/create_invitations`
4289
4336
  */
4290
- type TPostCreateInvitationsBody = operations["PublicApiService_CreateInvitations"]["parameters"]["body"]["body"];
4337
+ type TCreateInvitationsBody = operations["PublicApiService_CreateInvitations"]["parameters"]["body"]["body"];
4291
4338
  /**
4292
4339
  * `POST /public/v1/submit/create_invitations`
4293
4340
  */
4294
- export type TPostCreateInvitationsResponse = operations["PublicApiService_CreateInvitations"]["responses"]["200"]["schema"];
4341
+ export type TCreateInvitationsResponse = operations["PublicApiService_CreateInvitations"]["responses"]["200"]["schema"];
4295
4342
  /**
4296
4343
  * `POST /public/v1/submit/create_invitations`
4297
4344
  */
4298
- export type TPostCreateInvitationsInput = {
4299
- body: TPostCreateInvitationsBody;
4345
+ export type TCreateInvitationsInput = {
4346
+ body: TCreateInvitationsBody;
4300
4347
  };
4301
4348
  /**
4302
4349
  * Create Invitations
@@ -4305,7 +4352,7 @@ export type TPostCreateInvitationsInput = {
4305
4352
  *
4306
4353
  * `POST /public/v1/submit/create_invitations`
4307
4354
  */
4308
- export declare const postCreateInvitations: (input: TPostCreateInvitationsInput) => Promise<{
4355
+ export declare const createInvitations: (input: TCreateInvitationsInput) => Promise<{
4309
4356
  activity: {
4310
4357
  id: string;
4311
4358
  organizationId: string;
@@ -4425,7 +4472,9 @@ export declare const postCreateInvitations: (input: TPostCreateInvitationsInput)
4425
4472
  receiverUserTags: string[];
4426
4473
  accessType: "ACCESS_TYPE_WEB" | "ACCESS_TYPE_API" | "ACCESS_TYPE_ALL";
4427
4474
  senderUserId: string;
4428
- }[];
4475
+ }[]; /**
4476
+ * `POST /public/v1/submit/create_private_key_tag`
4477
+ */
4429
4478
  };
4430
4479
  acceptInvitationIntent?: {
4431
4480
  invitationId: string;
@@ -4484,11 +4533,6 @@ export declare const postCreateInvitations: (input: TPostCreateInvitationsInput)
4484
4533
  deletePolicyIntent?: {
4485
4534
  policyId: string;
4486
4535
  };
4487
- /**
4488
- * `POST /tkhq/public/v1/query/get_private_key`
4489
- *
4490
- * @deprecated
4491
- */
4492
4536
  createUserTagIntent?: {
4493
4537
  userTagName: string;
4494
4538
  userIds: string[];
@@ -4752,6 +4796,9 @@ export declare const postCreateInvitations: (input: TPostCreateInvitationsInput)
4752
4796
  signedTransaction: string;
4753
4797
  };
4754
4798
  deleteApiKeysResult?: {
4799
+ /**
4800
+ * `POST /public/v1/submit/reject_activity`
4801
+ */
4755
4802
  apiKeyIds: string[];
4756
4803
  };
4757
4804
  createApiKeysResult?: {
@@ -4771,6 +4818,13 @@ export declare const postCreateInvitations: (input: TPostCreateInvitationsInput)
4771
4818
  cardHolderEmail: string;
4772
4819
  };
4773
4820
  activateBillingTierResult?: {
4821
+ /**
4822
+ * List Private Keys
4823
+ *
4824
+ * List all Private Keys within an Organization
4825
+ *
4826
+ * `POST /public/v1/query/list_private_keys`
4827
+ */
4774
4828
  productId: string;
4775
4829
  };
4776
4830
  deletePaymentMethodResult?: {
@@ -4884,24 +4938,24 @@ export declare const postCreateInvitations: (input: TPostCreateInvitationsInput)
4884
4938
  };
4885
4939
  }>;
4886
4940
  /**
4887
- * Create Invitations
4941
+ * Request a WebAuthn assertion and return a signed `CreateInvitations` request, ready to be POSTed to Turnkey.
4888
4942
  *
4889
- * Create Invitations to join an existing Organization
4943
+ * See {@link CreateInvitations}
4890
4944
  */
4891
- export declare const federatedPostCreateInvitations: (input: TPostCreateInvitationsInput, options?: TurnkeyCredentialRequestOptions) => Promise<import("../../../../..").FederatedRequest>;
4945
+ export declare const signCreateInvitations: (input: TCreateInvitationsInput, options?: TurnkeyCredentialRequestOptions) => Promise<import("../../../../..").SignedRequest>;
4892
4946
  /**
4893
4947
  * `POST /public/v1/submit/create_policy`
4894
4948
  */
4895
- type TPostCreatePolicyBody = operations["PublicApiService_CreatePolicy"]["parameters"]["body"]["body"];
4949
+ type TCreatePolicyBody = operations["PublicApiService_CreatePolicy"]["parameters"]["body"]["body"];
4896
4950
  /**
4897
4951
  * `POST /public/v1/submit/create_policy`
4898
4952
  */
4899
- export type TPostCreatePolicyResponse = operations["PublicApiService_CreatePolicy"]["responses"]["200"]["schema"];
4953
+ export type TCreatePolicyResponse = operations["PublicApiService_CreatePolicy"]["responses"]["200"]["schema"];
4900
4954
  /**
4901
4955
  * `POST /public/v1/submit/create_policy`
4902
4956
  */
4903
- export type TPostCreatePolicyInput = {
4904
- body: TPostCreatePolicyBody;
4957
+ export type TCreatePolicyInput = {
4958
+ body: TCreatePolicyBody;
4905
4959
  };
4906
4960
  /**
4907
4961
  * Create Policy
@@ -4910,7 +4964,7 @@ export type TPostCreatePolicyInput = {
4910
4964
  *
4911
4965
  * `POST /public/v1/submit/create_policy`
4912
4966
  */
4913
- export declare const postCreatePolicy: (input: TPostCreatePolicyInput) => Promise<{
4967
+ export declare const createPolicy: (input: TCreatePolicyInput) => Promise<{
4914
4968
  activity: {
4915
4969
  id: string;
4916
4970
  organizationId: string;
@@ -5030,7 +5084,9 @@ export declare const postCreatePolicy: (input: TPostCreatePolicyInput) => Promis
5030
5084
  receiverUserTags: string[];
5031
5085
  accessType: "ACCESS_TYPE_WEB" | "ACCESS_TYPE_API" | "ACCESS_TYPE_ALL";
5032
5086
  senderUserId: string;
5033
- }[];
5087
+ }[]; /**
5088
+ * `POST /public/v1/submit/create_private_key_tag`
5089
+ */
5034
5090
  };
5035
5091
  acceptInvitationIntent?: {
5036
5092
  invitationId: string;
@@ -5089,11 +5145,6 @@ export declare const postCreatePolicy: (input: TPostCreatePolicyInput) => Promis
5089
5145
  deletePolicyIntent?: {
5090
5146
  policyId: string;
5091
5147
  };
5092
- /**
5093
- * `POST /tkhq/public/v1/query/get_private_key`
5094
- *
5095
- * @deprecated
5096
- */
5097
5148
  createUserTagIntent?: {
5098
5149
  userTagName: string;
5099
5150
  userIds: string[];
@@ -5357,6 +5408,9 @@ export declare const postCreatePolicy: (input: TPostCreatePolicyInput) => Promis
5357
5408
  signedTransaction: string;
5358
5409
  };
5359
5410
  deleteApiKeysResult?: {
5411
+ /**
5412
+ * `POST /public/v1/submit/reject_activity`
5413
+ */
5360
5414
  apiKeyIds: string[];
5361
5415
  };
5362
5416
  createApiKeysResult?: {
@@ -5376,6 +5430,13 @@ export declare const postCreatePolicy: (input: TPostCreatePolicyInput) => Promis
5376
5430
  cardHolderEmail: string;
5377
5431
  };
5378
5432
  activateBillingTierResult?: {
5433
+ /**
5434
+ * List Private Keys
5435
+ *
5436
+ * List all Private Keys within an Organization
5437
+ *
5438
+ * `POST /public/v1/query/list_private_keys`
5439
+ */
5379
5440
  productId: string;
5380
5441
  };
5381
5442
  deletePaymentMethodResult?: {
@@ -5489,33 +5550,33 @@ export declare const postCreatePolicy: (input: TPostCreatePolicyInput) => Promis
5489
5550
  };
5490
5551
  }>;
5491
5552
  /**
5492
- * Create Policy
5553
+ * Request a WebAuthn assertion and return a signed `CreatePolicy` request, ready to be POSTed to Turnkey.
5493
5554
  *
5494
- * Create a new Policy
5555
+ * See {@link CreatePolicy}
5495
5556
  */
5496
- export declare const federatedPostCreatePolicy: (input: TPostCreatePolicyInput, options?: TurnkeyCredentialRequestOptions) => Promise<import("../../../../..").FederatedRequest>;
5557
+ export declare const signCreatePolicy: (input: TCreatePolicyInput, options?: TurnkeyCredentialRequestOptions) => Promise<import("../../../../..").SignedRequest>;
5497
5558
  /**
5498
5559
  * `POST /public/v1/submit/create_private_key_tag`
5499
5560
  */
5500
- type TPostCreatePrivateKeyTagBody = operations["PublicApiService_CreatePrivateKeyTag"]["parameters"]["body"]["body"];
5561
+ type TCreatePrivateKeyTagBody = operations["PublicApiService_CreatePrivateKeyTag"]["parameters"]["body"]["body"];
5501
5562
  /**
5502
5563
  * `POST /public/v1/submit/create_private_key_tag`
5503
5564
  */
5504
- export type TPostCreatePrivateKeyTagResponse = operations["PublicApiService_CreatePrivateKeyTag"]["responses"]["200"]["schema"];
5565
+ export type TCreatePrivateKeyTagResponse = operations["PublicApiService_CreatePrivateKeyTag"]["responses"]["200"]["schema"];
5505
5566
  /**
5506
5567
  * `POST /public/v1/submit/create_private_key_tag`
5507
5568
  */
5508
- export type TPostCreatePrivateKeyTagInput = {
5509
- body: TPostCreatePrivateKeyTagBody;
5569
+ export type TCreatePrivateKeyTagInput = {
5570
+ body: TCreatePrivateKeyTagBody;
5510
5571
  };
5511
5572
  /**
5512
- * Create User Tag
5573
+ * Create Private Key Tag
5513
5574
  *
5514
5575
  * Create a private key tag and add it to private keys.
5515
5576
  *
5516
5577
  * `POST /public/v1/submit/create_private_key_tag`
5517
5578
  */
5518
- export declare const postCreatePrivateKeyTag: (input: TPostCreatePrivateKeyTagInput) => Promise<{
5579
+ export declare const createPrivateKeyTag: (input: TCreatePrivateKeyTagInput) => Promise<{
5519
5580
  activity: {
5520
5581
  id: string;
5521
5582
  organizationId: string;
@@ -5635,7 +5696,9 @@ export declare const postCreatePrivateKeyTag: (input: TPostCreatePrivateKeyTagIn
5635
5696
  receiverUserTags: string[];
5636
5697
  accessType: "ACCESS_TYPE_WEB" | "ACCESS_TYPE_API" | "ACCESS_TYPE_ALL";
5637
5698
  senderUserId: string;
5638
- }[];
5699
+ }[]; /**
5700
+ * `POST /public/v1/submit/create_private_key_tag`
5701
+ */
5639
5702
  };
5640
5703
  acceptInvitationIntent?: {
5641
5704
  invitationId: string;
@@ -5694,11 +5757,6 @@ export declare const postCreatePrivateKeyTag: (input: TPostCreatePrivateKeyTagIn
5694
5757
  deletePolicyIntent?: {
5695
5758
  policyId: string;
5696
5759
  };
5697
- /**
5698
- * `POST /tkhq/public/v1/query/get_private_key`
5699
- *
5700
- * @deprecated
5701
- */
5702
5760
  createUserTagIntent?: {
5703
5761
  userTagName: string;
5704
5762
  userIds: string[];
@@ -5962,6 +6020,9 @@ export declare const postCreatePrivateKeyTag: (input: TPostCreatePrivateKeyTagIn
5962
6020
  signedTransaction: string;
5963
6021
  };
5964
6022
  deleteApiKeysResult?: {
6023
+ /**
6024
+ * `POST /public/v1/submit/reject_activity`
6025
+ */
5965
6026
  apiKeyIds: string[];
5966
6027
  };
5967
6028
  createApiKeysResult?: {
@@ -5981,6 +6042,13 @@ export declare const postCreatePrivateKeyTag: (input: TPostCreatePrivateKeyTagIn
5981
6042
  cardHolderEmail: string;
5982
6043
  };
5983
6044
  activateBillingTierResult?: {
6045
+ /**
6046
+ * List Private Keys
6047
+ *
6048
+ * List all Private Keys within an Organization
6049
+ *
6050
+ * `POST /public/v1/query/list_private_keys`
6051
+ */
5984
6052
  productId: string;
5985
6053
  };
5986
6054
  deletePaymentMethodResult?: {
@@ -6094,24 +6162,24 @@ export declare const postCreatePrivateKeyTag: (input: TPostCreatePrivateKeyTagIn
6094
6162
  };
6095
6163
  }>;
6096
6164
  /**
6097
- * Create User Tag
6165
+ * Request a WebAuthn assertion and return a signed `CreatePrivateKeyTag` request, ready to be POSTed to Turnkey.
6098
6166
  *
6099
- * Create a private key tag and add it to private keys.
6167
+ * See {@link CreatePrivateKeyTag}
6100
6168
  */
6101
- export declare const federatedPostCreatePrivateKeyTag: (input: TPostCreatePrivateKeyTagInput, options?: TurnkeyCredentialRequestOptions) => Promise<import("../../../../..").FederatedRequest>;
6169
+ export declare const signCreatePrivateKeyTag: (input: TCreatePrivateKeyTagInput, options?: TurnkeyCredentialRequestOptions) => Promise<import("../../../../..").SignedRequest>;
6102
6170
  /**
6103
6171
  * `POST /public/v1/submit/create_private_keys`
6104
6172
  */
6105
- type TPostCreatePrivateKeysBody = operations["PublicApiService_CreatePrivateKeys"]["parameters"]["body"]["body"];
6173
+ type TCreatePrivateKeysBody = operations["PublicApiService_CreatePrivateKeys"]["parameters"]["body"]["body"];
6106
6174
  /**
6107
6175
  * `POST /public/v1/submit/create_private_keys`
6108
6176
  */
6109
- export type TPostCreatePrivateKeysResponse = operations["PublicApiService_CreatePrivateKeys"]["responses"]["200"]["schema"];
6177
+ export type TCreatePrivateKeysResponse = operations["PublicApiService_CreatePrivateKeys"]["responses"]["200"]["schema"];
6110
6178
  /**
6111
6179
  * `POST /public/v1/submit/create_private_keys`
6112
6180
  */
6113
- export type TPostCreatePrivateKeysInput = {
6114
- body: TPostCreatePrivateKeysBody;
6181
+ export type TCreatePrivateKeysInput = {
6182
+ body: TCreatePrivateKeysBody;
6115
6183
  };
6116
6184
  /**
6117
6185
  * Create Private Keys
@@ -6120,7 +6188,7 @@ export type TPostCreatePrivateKeysInput = {
6120
6188
  *
6121
6189
  * `POST /public/v1/submit/create_private_keys`
6122
6190
  */
6123
- export declare const postCreatePrivateKeys: (input: TPostCreatePrivateKeysInput) => Promise<{
6191
+ export declare const createPrivateKeys: (input: TCreatePrivateKeysInput) => Promise<{
6124
6192
  activity: {
6125
6193
  id: string;
6126
6194
  organizationId: string;
@@ -6240,7 +6308,9 @@ export declare const postCreatePrivateKeys: (input: TPostCreatePrivateKeysInput)
6240
6308
  receiverUserTags: string[];
6241
6309
  accessType: "ACCESS_TYPE_WEB" | "ACCESS_TYPE_API" | "ACCESS_TYPE_ALL";
6242
6310
  senderUserId: string;
6243
- }[];
6311
+ }[]; /**
6312
+ * `POST /public/v1/submit/create_private_key_tag`
6313
+ */
6244
6314
  };
6245
6315
  acceptInvitationIntent?: {
6246
6316
  invitationId: string;
@@ -6299,11 +6369,6 @@ export declare const postCreatePrivateKeys: (input: TPostCreatePrivateKeysInput)
6299
6369
  deletePolicyIntent?: {
6300
6370
  policyId: string;
6301
6371
  };
6302
- /**
6303
- * `POST /tkhq/public/v1/query/get_private_key`
6304
- *
6305
- * @deprecated
6306
- */
6307
6372
  createUserTagIntent?: {
6308
6373
  userTagName: string;
6309
6374
  userIds: string[];
@@ -6567,6 +6632,9 @@ export declare const postCreatePrivateKeys: (input: TPostCreatePrivateKeysInput)
6567
6632
  signedTransaction: string;
6568
6633
  };
6569
6634
  deleteApiKeysResult?: {
6635
+ /**
6636
+ * `POST /public/v1/submit/reject_activity`
6637
+ */
6570
6638
  apiKeyIds: string[];
6571
6639
  };
6572
6640
  createApiKeysResult?: {
@@ -6586,6 +6654,13 @@ export declare const postCreatePrivateKeys: (input: TPostCreatePrivateKeysInput)
6586
6654
  cardHolderEmail: string;
6587
6655
  };
6588
6656
  activateBillingTierResult?: {
6657
+ /**
6658
+ * List Private Keys
6659
+ *
6660
+ * List all Private Keys within an Organization
6661
+ *
6662
+ * `POST /public/v1/query/list_private_keys`
6663
+ */
6589
6664
  productId: string;
6590
6665
  };
6591
6666
  deletePaymentMethodResult?: {
@@ -6699,24 +6774,24 @@ export declare const postCreatePrivateKeys: (input: TPostCreatePrivateKeysInput)
6699
6774
  };
6700
6775
  }>;
6701
6776
  /**
6702
- * Create Private Keys
6777
+ * Request a WebAuthn assertion and return a signed `CreatePrivateKeys` request, ready to be POSTed to Turnkey.
6703
6778
  *
6704
- * Create new Private Keys
6779
+ * See {@link CreatePrivateKeys}
6705
6780
  */
6706
- export declare const federatedPostCreatePrivateKeys: (input: TPostCreatePrivateKeysInput, options?: TurnkeyCredentialRequestOptions) => Promise<import("../../../../..").FederatedRequest>;
6781
+ export declare const signCreatePrivateKeys: (input: TCreatePrivateKeysInput, options?: TurnkeyCredentialRequestOptions) => Promise<import("../../../../..").SignedRequest>;
6707
6782
  /**
6708
6783
  * `POST /public/v1/submit/create_sub_organization`
6709
6784
  */
6710
- type TPostCreateSubOrganizationBody = operations["PublicApiService_CreateSubOrganization"]["parameters"]["body"]["body"];
6785
+ type TCreateSubOrganizationBody = operations["PublicApiService_CreateSubOrganization"]["parameters"]["body"]["body"];
6711
6786
  /**
6712
6787
  * `POST /public/v1/submit/create_sub_organization`
6713
6788
  */
6714
- export type TPostCreateSubOrganizationResponse = operations["PublicApiService_CreateSubOrganization"]["responses"]["200"]["schema"];
6789
+ export type TCreateSubOrganizationResponse = operations["PublicApiService_CreateSubOrganization"]["responses"]["200"]["schema"];
6715
6790
  /**
6716
6791
  * `POST /public/v1/submit/create_sub_organization`
6717
6792
  */
6718
- export type TPostCreateSubOrganizationInput = {
6719
- body: TPostCreateSubOrganizationBody;
6793
+ export type TCreateSubOrganizationInput = {
6794
+ body: TCreateSubOrganizationBody;
6720
6795
  };
6721
6796
  /**
6722
6797
  * Create Sub-Organization
@@ -6725,7 +6800,7 @@ export type TPostCreateSubOrganizationInput = {
6725
6800
  *
6726
6801
  * `POST /public/v1/submit/create_sub_organization`
6727
6802
  */
6728
- export declare const postCreateSubOrganization: (input: TPostCreateSubOrganizationInput) => Promise<{
6803
+ export declare const createSubOrganization: (input: TCreateSubOrganizationInput) => Promise<{
6729
6804
  activity: {
6730
6805
  id: string;
6731
6806
  organizationId: string;
@@ -6845,7 +6920,9 @@ export declare const postCreateSubOrganization: (input: TPostCreateSubOrganizati
6845
6920
  receiverUserTags: string[];
6846
6921
  accessType: "ACCESS_TYPE_WEB" | "ACCESS_TYPE_API" | "ACCESS_TYPE_ALL";
6847
6922
  senderUserId: string;
6848
- }[];
6923
+ }[]; /**
6924
+ * `POST /public/v1/submit/create_private_key_tag`
6925
+ */
6849
6926
  };
6850
6927
  acceptInvitationIntent?: {
6851
6928
  invitationId: string;
@@ -6904,11 +6981,6 @@ export declare const postCreateSubOrganization: (input: TPostCreateSubOrganizati
6904
6981
  deletePolicyIntent?: {
6905
6982
  policyId: string;
6906
6983
  };
6907
- /**
6908
- * `POST /tkhq/public/v1/query/get_private_key`
6909
- *
6910
- * @deprecated
6911
- */
6912
6984
  createUserTagIntent?: {
6913
6985
  userTagName: string;
6914
6986
  userIds: string[];
@@ -7172,6 +7244,9 @@ export declare const postCreateSubOrganization: (input: TPostCreateSubOrganizati
7172
7244
  signedTransaction: string;
7173
7245
  };
7174
7246
  deleteApiKeysResult?: {
7247
+ /**
7248
+ * `POST /public/v1/submit/reject_activity`
7249
+ */
7175
7250
  apiKeyIds: string[];
7176
7251
  };
7177
7252
  createApiKeysResult?: {
@@ -7191,6 +7266,13 @@ export declare const postCreateSubOrganization: (input: TPostCreateSubOrganizati
7191
7266
  cardHolderEmail: string;
7192
7267
  };
7193
7268
  activateBillingTierResult?: {
7269
+ /**
7270
+ * List Private Keys
7271
+ *
7272
+ * List all Private Keys within an Organization
7273
+ *
7274
+ * `POST /public/v1/query/list_private_keys`
7275
+ */
7194
7276
  productId: string;
7195
7277
  };
7196
7278
  deletePaymentMethodResult?: {
@@ -7304,24 +7386,24 @@ export declare const postCreateSubOrganization: (input: TPostCreateSubOrganizati
7304
7386
  };
7305
7387
  }>;
7306
7388
  /**
7307
- * Create Sub-Organization
7389
+ * Request a WebAuthn assertion and return a signed `CreateSubOrganization` request, ready to be POSTed to Turnkey.
7308
7390
  *
7309
- * Create a new Sub-Organization
7391
+ * See {@link CreateSubOrganization}
7310
7392
  */
7311
- export declare const federatedPostCreateSubOrganization: (input: TPostCreateSubOrganizationInput, options?: TurnkeyCredentialRequestOptions) => Promise<import("../../../../..").FederatedRequest>;
7393
+ export declare const signCreateSubOrganization: (input: TCreateSubOrganizationInput, options?: TurnkeyCredentialRequestOptions) => Promise<import("../../../../..").SignedRequest>;
7312
7394
  /**
7313
7395
  * `POST /public/v1/submit/create_user_tag`
7314
7396
  */
7315
- type TPostCreateUserTagBody = operations["PublicApiService_CreateUserTag"]["parameters"]["body"]["body"];
7397
+ type TCreateUserTagBody = operations["PublicApiService_CreateUserTag"]["parameters"]["body"]["body"];
7316
7398
  /**
7317
7399
  * `POST /public/v1/submit/create_user_tag`
7318
7400
  */
7319
- export type TPostCreateUserTagResponse = operations["PublicApiService_CreateUserTag"]["responses"]["200"]["schema"];
7401
+ export type TCreateUserTagResponse = operations["PublicApiService_CreateUserTag"]["responses"]["200"]["schema"];
7320
7402
  /**
7321
7403
  * `POST /public/v1/submit/create_user_tag`
7322
7404
  */
7323
- export type TPostCreateUserTagInput = {
7324
- body: TPostCreateUserTagBody;
7405
+ export type TCreateUserTagInput = {
7406
+ body: TCreateUserTagBody;
7325
7407
  };
7326
7408
  /**
7327
7409
  * Create User Tag
@@ -7330,7 +7412,7 @@ export type TPostCreateUserTagInput = {
7330
7412
  *
7331
7413
  * `POST /public/v1/submit/create_user_tag`
7332
7414
  */
7333
- export declare const postCreateUserTag: (input: TPostCreateUserTagInput) => Promise<{
7415
+ export declare const createUserTag: (input: TCreateUserTagInput) => Promise<{
7334
7416
  activity: {
7335
7417
  id: string;
7336
7418
  organizationId: string;
@@ -7450,7 +7532,9 @@ export declare const postCreateUserTag: (input: TPostCreateUserTagInput) => Prom
7450
7532
  receiverUserTags: string[];
7451
7533
  accessType: "ACCESS_TYPE_WEB" | "ACCESS_TYPE_API" | "ACCESS_TYPE_ALL";
7452
7534
  senderUserId: string;
7453
- }[];
7535
+ }[]; /**
7536
+ * `POST /public/v1/submit/create_private_key_tag`
7537
+ */
7454
7538
  };
7455
7539
  acceptInvitationIntent?: {
7456
7540
  invitationId: string;
@@ -7509,11 +7593,6 @@ export declare const postCreateUserTag: (input: TPostCreateUserTagInput) => Prom
7509
7593
  deletePolicyIntent?: {
7510
7594
  policyId: string;
7511
7595
  };
7512
- /**
7513
- * `POST /tkhq/public/v1/query/get_private_key`
7514
- *
7515
- * @deprecated
7516
- */
7517
7596
  createUserTagIntent?: {
7518
7597
  userTagName: string;
7519
7598
  userIds: string[];
@@ -7777,6 +7856,9 @@ export declare const postCreateUserTag: (input: TPostCreateUserTagInput) => Prom
7777
7856
  signedTransaction: string;
7778
7857
  };
7779
7858
  deleteApiKeysResult?: {
7859
+ /**
7860
+ * `POST /public/v1/submit/reject_activity`
7861
+ */
7780
7862
  apiKeyIds: string[];
7781
7863
  };
7782
7864
  createApiKeysResult?: {
@@ -7796,6 +7878,13 @@ export declare const postCreateUserTag: (input: TPostCreateUserTagInput) => Prom
7796
7878
  cardHolderEmail: string;
7797
7879
  };
7798
7880
  activateBillingTierResult?: {
7881
+ /**
7882
+ * List Private Keys
7883
+ *
7884
+ * List all Private Keys within an Organization
7885
+ *
7886
+ * `POST /public/v1/query/list_private_keys`
7887
+ */
7799
7888
  productId: string;
7800
7889
  };
7801
7890
  deletePaymentMethodResult?: {
@@ -7909,30 +7998,30 @@ export declare const postCreateUserTag: (input: TPostCreateUserTagInput) => Prom
7909
7998
  };
7910
7999
  }>;
7911
8000
  /**
7912
- * Create User Tag
8001
+ * Request a WebAuthn assertion and return a signed `CreateUserTag` request, ready to be POSTed to Turnkey.
7913
8002
  *
7914
- * Create a user tag and add it to users.
8003
+ * See {@link CreateUserTag}
7915
8004
  */
7916
- export declare const federatedPostCreateUserTag: (input: TPostCreateUserTagInput, options?: TurnkeyCredentialRequestOptions) => Promise<import("../../../../..").FederatedRequest>;
8005
+ export declare const signCreateUserTag: (input: TCreateUserTagInput, options?: TurnkeyCredentialRequestOptions) => Promise<import("../../../../..").SignedRequest>;
7917
8006
  /**
7918
8007
  * `POST /public/v1/submit/create_users`
7919
8008
  *
7920
8009
  * @deprecated
7921
8010
  */
7922
- type TPostCreateUsersBody = operations["PublicApiService_CreateUsers"]["parameters"]["body"]["body"];
8011
+ type TCreateUsersBody = operations["PublicApiService_CreateUsers"]["parameters"]["body"]["body"];
7923
8012
  /**
7924
8013
  * `POST /public/v1/submit/create_users`
7925
8014
  *
7926
8015
  * @deprecated
7927
8016
  */
7928
- export type TPostCreateUsersResponse = operations["PublicApiService_CreateUsers"]["responses"]["200"]["schema"];
8017
+ export type TCreateUsersResponse = operations["PublicApiService_CreateUsers"]["responses"]["200"]["schema"];
7929
8018
  /**
7930
8019
  * `POST /public/v1/submit/create_users`
7931
8020
  *
7932
8021
  * @deprecated
7933
8022
  */
7934
- export type TPostCreateUsersInput = {
7935
- body: TPostCreateUsersBody;
8023
+ export type TCreateUsersInput = {
8024
+ body: TCreateUsersBody;
7936
8025
  };
7937
8026
  /**
7938
8027
  * Create Users
@@ -7943,7 +8032,7 @@ export type TPostCreateUsersInput = {
7943
8032
  *
7944
8033
  * @deprecated
7945
8034
  */
7946
- export declare const postCreateUsers: (input: TPostCreateUsersInput) => Promise<{
8035
+ export declare const createUsers: (input: TCreateUsersInput) => Promise<{
7947
8036
  activity: {
7948
8037
  id: string;
7949
8038
  organizationId: string;
@@ -8063,7 +8152,9 @@ export declare const postCreateUsers: (input: TPostCreateUsersInput) => Promise<
8063
8152
  receiverUserTags: string[];
8064
8153
  accessType: "ACCESS_TYPE_WEB" | "ACCESS_TYPE_API" | "ACCESS_TYPE_ALL";
8065
8154
  senderUserId: string;
8066
- }[];
8155
+ }[]; /**
8156
+ * `POST /public/v1/submit/create_private_key_tag`
8157
+ */
8067
8158
  };
8068
8159
  acceptInvitationIntent?: {
8069
8160
  invitationId: string;
@@ -8122,11 +8213,6 @@ export declare const postCreateUsers: (input: TPostCreateUsersInput) => Promise<
8122
8213
  deletePolicyIntent?: {
8123
8214
  policyId: string;
8124
8215
  };
8125
- /**
8126
- * `POST /tkhq/public/v1/query/get_private_key`
8127
- *
8128
- * @deprecated
8129
- */
8130
8216
  createUserTagIntent?: {
8131
8217
  userTagName: string;
8132
8218
  userIds: string[];
@@ -8390,6 +8476,9 @@ export declare const postCreateUsers: (input: TPostCreateUsersInput) => Promise<
8390
8476
  signedTransaction: string;
8391
8477
  };
8392
8478
  deleteApiKeysResult?: {
8479
+ /**
8480
+ * `POST /public/v1/submit/reject_activity`
8481
+ */
8393
8482
  apiKeyIds: string[];
8394
8483
  };
8395
8484
  createApiKeysResult?: {
@@ -8409,6 +8498,13 @@ export declare const postCreateUsers: (input: TPostCreateUsersInput) => Promise<
8409
8498
  cardHolderEmail: string;
8410
8499
  };
8411
8500
  activateBillingTierResult?: {
8501
+ /**
8502
+ * List Private Keys
8503
+ *
8504
+ * List all Private Keys within an Organization
8505
+ *
8506
+ * `POST /public/v1/query/list_private_keys`
8507
+ */
8412
8508
  productId: string;
8413
8509
  };
8414
8510
  deletePaymentMethodResult?: {
@@ -8522,26 +8618,26 @@ export declare const postCreateUsers: (input: TPostCreateUsersInput) => Promise<
8522
8618
  };
8523
8619
  }>;
8524
8620
  /**
8525
- * Create Users
8621
+ * Request a WebAuthn assertion and return a signed `CreateUsers` request, ready to be POSTed to Turnkey.
8526
8622
  *
8527
- * Create Users in an existing Organization
8623
+ * See {@link CreateUsers}
8528
8624
  *
8529
8625
  * @deprecated
8530
8626
  */
8531
- export declare const federatedPostCreateUsers: (input: TPostCreateUsersInput, options?: TurnkeyCredentialRequestOptions) => Promise<import("../../../../..").FederatedRequest>;
8627
+ export declare const signCreateUsers: (input: TCreateUsersInput, options?: TurnkeyCredentialRequestOptions) => Promise<import("../../../../..").SignedRequest>;
8532
8628
  /**
8533
8629
  * `POST /public/v1/submit/delete_api_keys`
8534
8630
  */
8535
- type TPostDeleteApiKeysBody = operations["PublicApiService_DeleteApiKeys"]["parameters"]["body"]["body"];
8631
+ type TDeleteApiKeysBody = operations["PublicApiService_DeleteApiKeys"]["parameters"]["body"]["body"];
8536
8632
  /**
8537
8633
  * `POST /public/v1/submit/delete_api_keys`
8538
8634
  */
8539
- export type TPostDeleteApiKeysResponse = operations["PublicApiService_DeleteApiKeys"]["responses"]["200"]["schema"];
8635
+ export type TDeleteApiKeysResponse = operations["PublicApiService_DeleteApiKeys"]["responses"]["200"]["schema"];
8540
8636
  /**
8541
8637
  * `POST /public/v1/submit/delete_api_keys`
8542
8638
  */
8543
- export type TPostDeleteApiKeysInput = {
8544
- body: TPostDeleteApiKeysBody;
8639
+ export type TDeleteApiKeysInput = {
8640
+ body: TDeleteApiKeysBody;
8545
8641
  };
8546
8642
  /**
8547
8643
  * Delete API Keys
@@ -8550,7 +8646,7 @@ export type TPostDeleteApiKeysInput = {
8550
8646
  *
8551
8647
  * `POST /public/v1/submit/delete_api_keys`
8552
8648
  */
8553
- export declare const postDeleteApiKeys: (input: TPostDeleteApiKeysInput) => Promise<{
8649
+ export declare const deleteApiKeys: (input: TDeleteApiKeysInput) => Promise<{
8554
8650
  activity: {
8555
8651
  id: string;
8556
8652
  organizationId: string;
@@ -8670,7 +8766,9 @@ export declare const postDeleteApiKeys: (input: TPostDeleteApiKeysInput) => Prom
8670
8766
  receiverUserTags: string[];
8671
8767
  accessType: "ACCESS_TYPE_WEB" | "ACCESS_TYPE_API" | "ACCESS_TYPE_ALL";
8672
8768
  senderUserId: string;
8673
- }[];
8769
+ }[]; /**
8770
+ * `POST /public/v1/submit/create_private_key_tag`
8771
+ */
8674
8772
  };
8675
8773
  acceptInvitationIntent?: {
8676
8774
  invitationId: string;
@@ -8729,11 +8827,6 @@ export declare const postDeleteApiKeys: (input: TPostDeleteApiKeysInput) => Prom
8729
8827
  deletePolicyIntent?: {
8730
8828
  policyId: string;
8731
8829
  };
8732
- /**
8733
- * `POST /tkhq/public/v1/query/get_private_key`
8734
- *
8735
- * @deprecated
8736
- */
8737
8830
  createUserTagIntent?: {
8738
8831
  userTagName: string;
8739
8832
  userIds: string[];
@@ -8997,6 +9090,9 @@ export declare const postDeleteApiKeys: (input: TPostDeleteApiKeysInput) => Prom
8997
9090
  signedTransaction: string;
8998
9091
  };
8999
9092
  deleteApiKeysResult?: {
9093
+ /**
9094
+ * `POST /public/v1/submit/reject_activity`
9095
+ */
9000
9096
  apiKeyIds: string[];
9001
9097
  };
9002
9098
  createApiKeysResult?: {
@@ -9016,6 +9112,13 @@ export declare const postDeleteApiKeys: (input: TPostDeleteApiKeysInput) => Prom
9016
9112
  cardHolderEmail: string;
9017
9113
  };
9018
9114
  activateBillingTierResult?: {
9115
+ /**
9116
+ * List Private Keys
9117
+ *
9118
+ * List all Private Keys within an Organization
9119
+ *
9120
+ * `POST /public/v1/query/list_private_keys`
9121
+ */
9019
9122
  productId: string;
9020
9123
  };
9021
9124
  deletePaymentMethodResult?: {
@@ -9129,24 +9232,24 @@ export declare const postDeleteApiKeys: (input: TPostDeleteApiKeysInput) => Prom
9129
9232
  };
9130
9233
  }>;
9131
9234
  /**
9132
- * Delete API Keys
9235
+ * Request a WebAuthn assertion and return a signed `DeleteApiKeys` request, ready to be POSTed to Turnkey.
9133
9236
  *
9134
- * Remove api keys from a User
9237
+ * See {@link DeleteApiKeys}
9135
9238
  */
9136
- export declare const federatedPostDeleteApiKeys: (input: TPostDeleteApiKeysInput, options?: TurnkeyCredentialRequestOptions) => Promise<import("../../../../..").FederatedRequest>;
9239
+ export declare const signDeleteApiKeys: (input: TDeleteApiKeysInput, options?: TurnkeyCredentialRequestOptions) => Promise<import("../../../../..").SignedRequest>;
9137
9240
  /**
9138
9241
  * `POST /public/v1/submit/delete_invitations`
9139
9242
  */
9140
- type TPostDeleteInvitationBody = operations["PublicApiService_DeleteInvitation"]["parameters"]["body"]["body"];
9243
+ type TDeleteInvitationBody = operations["PublicApiService_DeleteInvitation"]["parameters"]["body"]["body"];
9141
9244
  /**
9142
9245
  * `POST /public/v1/submit/delete_invitations`
9143
9246
  */
9144
- export type TPostDeleteInvitationResponse = operations["PublicApiService_DeleteInvitation"]["responses"]["200"]["schema"];
9247
+ export type TDeleteInvitationResponse = operations["PublicApiService_DeleteInvitation"]["responses"]["200"]["schema"];
9145
9248
  /**
9146
9249
  * `POST /public/v1/submit/delete_invitations`
9147
9250
  */
9148
- export type TPostDeleteInvitationInput = {
9149
- body: TPostDeleteInvitationBody;
9251
+ export type TDeleteInvitationInput = {
9252
+ body: TDeleteInvitationBody;
9150
9253
  };
9151
9254
  /**
9152
9255
  * Delete Invitation
@@ -9155,7 +9258,7 @@ export type TPostDeleteInvitationInput = {
9155
9258
  *
9156
9259
  * `POST /public/v1/submit/delete_invitations`
9157
9260
  */
9158
- export declare const postDeleteInvitation: (input: TPostDeleteInvitationInput) => Promise<{
9261
+ export declare const deleteInvitation: (input: TDeleteInvitationInput) => Promise<{
9159
9262
  activity: {
9160
9263
  id: string;
9161
9264
  organizationId: string;
@@ -9275,7 +9378,9 @@ export declare const postDeleteInvitation: (input: TPostDeleteInvitationInput) =
9275
9378
  receiverUserTags: string[];
9276
9379
  accessType: "ACCESS_TYPE_WEB" | "ACCESS_TYPE_API" | "ACCESS_TYPE_ALL";
9277
9380
  senderUserId: string;
9278
- }[];
9381
+ }[]; /**
9382
+ * `POST /public/v1/submit/create_private_key_tag`
9383
+ */
9279
9384
  };
9280
9385
  acceptInvitationIntent?: {
9281
9386
  invitationId: string;
@@ -9334,11 +9439,6 @@ export declare const postDeleteInvitation: (input: TPostDeleteInvitationInput) =
9334
9439
  deletePolicyIntent?: {
9335
9440
  policyId: string;
9336
9441
  };
9337
- /**
9338
- * `POST /tkhq/public/v1/query/get_private_key`
9339
- *
9340
- * @deprecated
9341
- */
9342
9442
  createUserTagIntent?: {
9343
9443
  userTagName: string;
9344
9444
  userIds: string[];
@@ -9602,6 +9702,9 @@ export declare const postDeleteInvitation: (input: TPostDeleteInvitationInput) =
9602
9702
  signedTransaction: string;
9603
9703
  };
9604
9704
  deleteApiKeysResult?: {
9705
+ /**
9706
+ * `POST /public/v1/submit/reject_activity`
9707
+ */
9605
9708
  apiKeyIds: string[];
9606
9709
  };
9607
9710
  createApiKeysResult?: {
@@ -9621,6 +9724,13 @@ export declare const postDeleteInvitation: (input: TPostDeleteInvitationInput) =
9621
9724
  cardHolderEmail: string;
9622
9725
  };
9623
9726
  activateBillingTierResult?: {
9727
+ /**
9728
+ * List Private Keys
9729
+ *
9730
+ * List all Private Keys within an Organization
9731
+ *
9732
+ * `POST /public/v1/query/list_private_keys`
9733
+ */
9624
9734
  productId: string;
9625
9735
  };
9626
9736
  deletePaymentMethodResult?: {
@@ -9734,24 +9844,24 @@ export declare const postDeleteInvitation: (input: TPostDeleteInvitationInput) =
9734
9844
  };
9735
9845
  }>;
9736
9846
  /**
9737
- * Delete Invitation
9847
+ * Request a WebAuthn assertion and return a signed `DeleteInvitation` request, ready to be POSTed to Turnkey.
9738
9848
  *
9739
- * Delete an existing Invitation
9849
+ * See {@link DeleteInvitation}
9740
9850
  */
9741
- export declare const federatedPostDeleteInvitation: (input: TPostDeleteInvitationInput, options?: TurnkeyCredentialRequestOptions) => Promise<import("../../../../..").FederatedRequest>;
9851
+ export declare const signDeleteInvitation: (input: TDeleteInvitationInput, options?: TurnkeyCredentialRequestOptions) => Promise<import("../../../../..").SignedRequest>;
9742
9852
  /**
9743
9853
  * `POST /public/v1/submit/delete_policy`
9744
9854
  */
9745
- type TPostDeletePolicyBody = operations["PublicApiService_DeletePolicy"]["parameters"]["body"]["body"];
9855
+ type TDeletePolicyBody = operations["PublicApiService_DeletePolicy"]["parameters"]["body"]["body"];
9746
9856
  /**
9747
9857
  * `POST /public/v1/submit/delete_policy`
9748
9858
  */
9749
- export type TPostDeletePolicyResponse = operations["PublicApiService_DeletePolicy"]["responses"]["200"]["schema"];
9859
+ export type TDeletePolicyResponse = operations["PublicApiService_DeletePolicy"]["responses"]["200"]["schema"];
9750
9860
  /**
9751
9861
  * `POST /public/v1/submit/delete_policy`
9752
9862
  */
9753
- export type TPostDeletePolicyInput = {
9754
- body: TPostDeletePolicyBody;
9863
+ export type TDeletePolicyInput = {
9864
+ body: TDeletePolicyBody;
9755
9865
  };
9756
9866
  /**
9757
9867
  * Delete Policy
@@ -9760,7 +9870,7 @@ export type TPostDeletePolicyInput = {
9760
9870
  *
9761
9871
  * `POST /public/v1/submit/delete_policy`
9762
9872
  */
9763
- export declare const postDeletePolicy: (input: TPostDeletePolicyInput) => Promise<{
9873
+ export declare const deletePolicy: (input: TDeletePolicyInput) => Promise<{
9764
9874
  activity: {
9765
9875
  id: string;
9766
9876
  organizationId: string;
@@ -9880,7 +9990,9 @@ export declare const postDeletePolicy: (input: TPostDeletePolicyInput) => Promis
9880
9990
  receiverUserTags: string[];
9881
9991
  accessType: "ACCESS_TYPE_WEB" | "ACCESS_TYPE_API" | "ACCESS_TYPE_ALL";
9882
9992
  senderUserId: string;
9883
- }[];
9993
+ }[]; /**
9994
+ * `POST /public/v1/submit/create_private_key_tag`
9995
+ */
9884
9996
  };
9885
9997
  acceptInvitationIntent?: {
9886
9998
  invitationId: string;
@@ -9939,11 +10051,6 @@ export declare const postDeletePolicy: (input: TPostDeletePolicyInput) => Promis
9939
10051
  deletePolicyIntent?: {
9940
10052
  policyId: string;
9941
10053
  };
9942
- /**
9943
- * `POST /tkhq/public/v1/query/get_private_key`
9944
- *
9945
- * @deprecated
9946
- */
9947
10054
  createUserTagIntent?: {
9948
10055
  userTagName: string;
9949
10056
  userIds: string[];
@@ -10207,6 +10314,9 @@ export declare const postDeletePolicy: (input: TPostDeletePolicyInput) => Promis
10207
10314
  signedTransaction: string;
10208
10315
  };
10209
10316
  deleteApiKeysResult?: {
10317
+ /**
10318
+ * `POST /public/v1/submit/reject_activity`
10319
+ */
10210
10320
  apiKeyIds: string[];
10211
10321
  };
10212
10322
  createApiKeysResult?: {
@@ -10226,6 +10336,13 @@ export declare const postDeletePolicy: (input: TPostDeletePolicyInput) => Promis
10226
10336
  cardHolderEmail: string;
10227
10337
  };
10228
10338
  activateBillingTierResult?: {
10339
+ /**
10340
+ * List Private Keys
10341
+ *
10342
+ * List all Private Keys within an Organization
10343
+ *
10344
+ * `POST /public/v1/query/list_private_keys`
10345
+ */
10229
10346
  productId: string;
10230
10347
  };
10231
10348
  deletePaymentMethodResult?: {
@@ -10339,24 +10456,24 @@ export declare const postDeletePolicy: (input: TPostDeletePolicyInput) => Promis
10339
10456
  };
10340
10457
  }>;
10341
10458
  /**
10342
- * Delete Policy
10459
+ * Request a WebAuthn assertion and return a signed `DeletePolicy` request, ready to be POSTed to Turnkey.
10343
10460
  *
10344
- * Delete an existing Policy
10461
+ * See {@link DeletePolicy}
10345
10462
  */
10346
- export declare const federatedPostDeletePolicy: (input: TPostDeletePolicyInput, options?: TurnkeyCredentialRequestOptions) => Promise<import("../../../../..").FederatedRequest>;
10463
+ export declare const signDeletePolicy: (input: TDeletePolicyInput, options?: TurnkeyCredentialRequestOptions) => Promise<import("../../../../..").SignedRequest>;
10347
10464
  /**
10348
10465
  * `POST /public/v1/submit/reject_activity`
10349
10466
  */
10350
- type TPostRejectActivityBody = operations["PublicApiService_RejectActivity"]["parameters"]["body"]["body"];
10467
+ type TRejectActivityBody = operations["PublicApiService_RejectActivity"]["parameters"]["body"]["body"];
10351
10468
  /**
10352
10469
  * `POST /public/v1/submit/reject_activity`
10353
10470
  */
10354
- export type TPostRejectActivityResponse = operations["PublicApiService_RejectActivity"]["responses"]["200"]["schema"];
10471
+ export type TRejectActivityResponse = operations["PublicApiService_RejectActivity"]["responses"]["200"]["schema"];
10355
10472
  /**
10356
10473
  * `POST /public/v1/submit/reject_activity`
10357
10474
  */
10358
- export type TPostRejectActivityInput = {
10359
- body: TPostRejectActivityBody;
10475
+ export type TRejectActivityInput = {
10476
+ body: TRejectActivityBody;
10360
10477
  };
10361
10478
  /**
10362
10479
  * Reject Activity
@@ -10365,7 +10482,7 @@ export type TPostRejectActivityInput = {
10365
10482
  *
10366
10483
  * `POST /public/v1/submit/reject_activity`
10367
10484
  */
10368
- export declare const postRejectActivity: (input: TPostRejectActivityInput) => Promise<{
10485
+ export declare const rejectActivity: (input: TRejectActivityInput) => Promise<{
10369
10486
  activity: {
10370
10487
  id: string;
10371
10488
  organizationId: string;
@@ -10485,7 +10602,9 @@ export declare const postRejectActivity: (input: TPostRejectActivityInput) => Pr
10485
10602
  receiverUserTags: string[];
10486
10603
  accessType: "ACCESS_TYPE_WEB" | "ACCESS_TYPE_API" | "ACCESS_TYPE_ALL";
10487
10604
  senderUserId: string;
10488
- }[];
10605
+ }[]; /**
10606
+ * `POST /public/v1/submit/create_private_key_tag`
10607
+ */
10489
10608
  };
10490
10609
  acceptInvitationIntent?: {
10491
10610
  invitationId: string;
@@ -10544,11 +10663,6 @@ export declare const postRejectActivity: (input: TPostRejectActivityInput) => Pr
10544
10663
  deletePolicyIntent?: {
10545
10664
  policyId: string;
10546
10665
  };
10547
- /**
10548
- * `POST /tkhq/public/v1/query/get_private_key`
10549
- *
10550
- * @deprecated
10551
- */
10552
10666
  createUserTagIntent?: {
10553
10667
  userTagName: string;
10554
10668
  userIds: string[];
@@ -10812,6 +10926,9 @@ export declare const postRejectActivity: (input: TPostRejectActivityInput) => Pr
10812
10926
  signedTransaction: string;
10813
10927
  };
10814
10928
  deleteApiKeysResult?: {
10929
+ /**
10930
+ * `POST /public/v1/submit/reject_activity`
10931
+ */
10815
10932
  apiKeyIds: string[];
10816
10933
  };
10817
10934
  createApiKeysResult?: {
@@ -10831,6 +10948,13 @@ export declare const postRejectActivity: (input: TPostRejectActivityInput) => Pr
10831
10948
  cardHolderEmail: string;
10832
10949
  };
10833
10950
  activateBillingTierResult?: {
10951
+ /**
10952
+ * List Private Keys
10953
+ *
10954
+ * List all Private Keys within an Organization
10955
+ *
10956
+ * `POST /public/v1/query/list_private_keys`
10957
+ */
10834
10958
  productId: string;
10835
10959
  };
10836
10960
  deletePaymentMethodResult?: {
@@ -10944,24 +11068,24 @@ export declare const postRejectActivity: (input: TPostRejectActivityInput) => Pr
10944
11068
  };
10945
11069
  }>;
10946
11070
  /**
10947
- * Reject Activity
11071
+ * Request a WebAuthn assertion and return a signed `RejectActivity` request, ready to be POSTed to Turnkey.
10948
11072
  *
10949
- * Reject an Activity
11073
+ * See {@link RejectActivity}
10950
11074
  */
10951
- export declare const federatedPostRejectActivity: (input: TPostRejectActivityInput, options?: TurnkeyCredentialRequestOptions) => Promise<import("../../../../..").FederatedRequest>;
11075
+ export declare const signRejectActivity: (input: TRejectActivityInput, options?: TurnkeyCredentialRequestOptions) => Promise<import("../../../../..").SignedRequest>;
10952
11076
  /**
10953
11077
  * `POST /public/v1/submit/sign_raw_payload`
10954
11078
  */
10955
- type TPostSignRawPayloadBody = operations["PublicApiService_SignRawPayload"]["parameters"]["body"]["body"];
11079
+ type TSignRawPayloadBody = operations["PublicApiService_SignRawPayload"]["parameters"]["body"]["body"];
10956
11080
  /**
10957
11081
  * `POST /public/v1/submit/sign_raw_payload`
10958
11082
  */
10959
- export type TPostSignRawPayloadResponse = operations["PublicApiService_SignRawPayload"]["responses"]["200"]["schema"];
11083
+ export type TSignRawPayloadResponse = operations["PublicApiService_SignRawPayload"]["responses"]["200"]["schema"];
10960
11084
  /**
10961
11085
  * `POST /public/v1/submit/sign_raw_payload`
10962
11086
  */
10963
- export type TPostSignRawPayloadInput = {
10964
- body: TPostSignRawPayloadBody;
11087
+ export type TSignRawPayloadInput = {
11088
+ body: TSignRawPayloadBody;
10965
11089
  };
10966
11090
  /**
10967
11091
  * Sign Raw Payload
@@ -10970,7 +11094,7 @@ export type TPostSignRawPayloadInput = {
10970
11094
  *
10971
11095
  * `POST /public/v1/submit/sign_raw_payload`
10972
11096
  */
10973
- export declare const postSignRawPayload: (input: TPostSignRawPayloadInput) => Promise<{
11097
+ export declare const signRawPayload: (input: TSignRawPayloadInput) => Promise<{
10974
11098
  activity: {
10975
11099
  id: string;
10976
11100
  organizationId: string;
@@ -11090,7 +11214,9 @@ export declare const postSignRawPayload: (input: TPostSignRawPayloadInput) => Pr
11090
11214
  receiverUserTags: string[];
11091
11215
  accessType: "ACCESS_TYPE_WEB" | "ACCESS_TYPE_API" | "ACCESS_TYPE_ALL";
11092
11216
  senderUserId: string;
11093
- }[];
11217
+ }[]; /**
11218
+ * `POST /public/v1/submit/create_private_key_tag`
11219
+ */
11094
11220
  };
11095
11221
  acceptInvitationIntent?: {
11096
11222
  invitationId: string;
@@ -11149,11 +11275,6 @@ export declare const postSignRawPayload: (input: TPostSignRawPayloadInput) => Pr
11149
11275
  deletePolicyIntent?: {
11150
11276
  policyId: string;
11151
11277
  };
11152
- /**
11153
- * `POST /tkhq/public/v1/query/get_private_key`
11154
- *
11155
- * @deprecated
11156
- */
11157
11278
  createUserTagIntent?: {
11158
11279
  userTagName: string;
11159
11280
  userIds: string[];
@@ -11417,6 +11538,9 @@ export declare const postSignRawPayload: (input: TPostSignRawPayloadInput) => Pr
11417
11538
  signedTransaction: string;
11418
11539
  };
11419
11540
  deleteApiKeysResult?: {
11541
+ /**
11542
+ * `POST /public/v1/submit/reject_activity`
11543
+ */
11420
11544
  apiKeyIds: string[];
11421
11545
  };
11422
11546
  createApiKeysResult?: {
@@ -11436,6 +11560,13 @@ export declare const postSignRawPayload: (input: TPostSignRawPayloadInput) => Pr
11436
11560
  cardHolderEmail: string;
11437
11561
  };
11438
11562
  activateBillingTierResult?: {
11563
+ /**
11564
+ * List Private Keys
11565
+ *
11566
+ * List all Private Keys within an Organization
11567
+ *
11568
+ * `POST /public/v1/query/list_private_keys`
11569
+ */
11439
11570
  productId: string;
11440
11571
  };
11441
11572
  deletePaymentMethodResult?: {
@@ -11549,24 +11680,24 @@ export declare const postSignRawPayload: (input: TPostSignRawPayloadInput) => Pr
11549
11680
  };
11550
11681
  }>;
11551
11682
  /**
11552
- * Sign Raw Payload
11683
+ * Request a WebAuthn assertion and return a signed `SignRawPayload` request, ready to be POSTed to Turnkey.
11553
11684
  *
11554
- * Sign a raw payload with a Private Key
11685
+ * See {@link SignRawPayload}
11555
11686
  */
11556
- export declare const federatedPostSignRawPayload: (input: TPostSignRawPayloadInput, options?: TurnkeyCredentialRequestOptions) => Promise<import("../../../../..").FederatedRequest>;
11687
+ export declare const signSignRawPayload: (input: TSignRawPayloadInput, options?: TurnkeyCredentialRequestOptions) => Promise<import("../../../../..").SignedRequest>;
11557
11688
  /**
11558
11689
  * `POST /public/v1/submit/sign_transaction`
11559
11690
  */
11560
- type TPostSignTransactionBody = operations["PublicApiService_SignTransaction"]["parameters"]["body"]["body"];
11691
+ type TSignTransactionBody = operations["PublicApiService_SignTransaction"]["parameters"]["body"]["body"];
11561
11692
  /**
11562
11693
  * `POST /public/v1/submit/sign_transaction`
11563
11694
  */
11564
- export type TPostSignTransactionResponse = operations["PublicApiService_SignTransaction"]["responses"]["200"]["schema"];
11695
+ export type TSignTransactionResponse = operations["PublicApiService_SignTransaction"]["responses"]["200"]["schema"];
11565
11696
  /**
11566
11697
  * `POST /public/v1/submit/sign_transaction`
11567
11698
  */
11568
- export type TPostSignTransactionInput = {
11569
- body: TPostSignTransactionBody;
11699
+ export type TSignTransactionInput = {
11700
+ body: TSignTransactionBody;
11570
11701
  };
11571
11702
  /**
11572
11703
  * Sign Transaction
@@ -11575,7 +11706,7 @@ export type TPostSignTransactionInput = {
11575
11706
  *
11576
11707
  * `POST /public/v1/submit/sign_transaction`
11577
11708
  */
11578
- export declare const postSignTransaction: (input: TPostSignTransactionInput) => Promise<{
11709
+ export declare const signTransaction: (input: TSignTransactionInput) => Promise<{
11579
11710
  activity: {
11580
11711
  id: string;
11581
11712
  organizationId: string;
@@ -11695,7 +11826,9 @@ export declare const postSignTransaction: (input: TPostSignTransactionInput) =>
11695
11826
  receiverUserTags: string[];
11696
11827
  accessType: "ACCESS_TYPE_WEB" | "ACCESS_TYPE_API" | "ACCESS_TYPE_ALL";
11697
11828
  senderUserId: string;
11698
- }[];
11829
+ }[]; /**
11830
+ * `POST /public/v1/submit/create_private_key_tag`
11831
+ */
11699
11832
  };
11700
11833
  acceptInvitationIntent?: {
11701
11834
  invitationId: string;
@@ -11754,11 +11887,6 @@ export declare const postSignTransaction: (input: TPostSignTransactionInput) =>
11754
11887
  deletePolicyIntent?: {
11755
11888
  policyId: string;
11756
11889
  };
11757
- /**
11758
- * `POST /tkhq/public/v1/query/get_private_key`
11759
- *
11760
- * @deprecated
11761
- */
11762
11890
  createUserTagIntent?: {
11763
11891
  userTagName: string;
11764
11892
  userIds: string[];
@@ -12022,6 +12150,9 @@ export declare const postSignTransaction: (input: TPostSignTransactionInput) =>
12022
12150
  signedTransaction: string;
12023
12151
  };
12024
12152
  deleteApiKeysResult?: {
12153
+ /**
12154
+ * `POST /public/v1/submit/reject_activity`
12155
+ */
12025
12156
  apiKeyIds: string[];
12026
12157
  };
12027
12158
  createApiKeysResult?: {
@@ -12041,6 +12172,13 @@ export declare const postSignTransaction: (input: TPostSignTransactionInput) =>
12041
12172
  cardHolderEmail: string;
12042
12173
  };
12043
12174
  activateBillingTierResult?: {
12175
+ /**
12176
+ * List Private Keys
12177
+ *
12178
+ * List all Private Keys within an Organization
12179
+ *
12180
+ * `POST /public/v1/query/list_private_keys`
12181
+ */
12044
12182
  productId: string;
12045
12183
  };
12046
12184
  deletePaymentMethodResult?: {
@@ -12154,33 +12292,33 @@ export declare const postSignTransaction: (input: TPostSignTransactionInput) =>
12154
12292
  };
12155
12293
  }>;
12156
12294
  /**
12157
- * Sign Transaction
12295
+ * Request a WebAuthn assertion and return a signed `SignTransaction` request, ready to be POSTed to Turnkey.
12158
12296
  *
12159
- * Sign a transaction with a Private Key
12297
+ * See {@link SignTransaction}
12160
12298
  */
12161
- export declare const federatedPostSignTransaction: (input: TPostSignTransactionInput, options?: TurnkeyCredentialRequestOptions) => Promise<import("../../../../..").FederatedRequest>;
12299
+ export declare const signSignTransaction: (input: TSignTransactionInput, options?: TurnkeyCredentialRequestOptions) => Promise<import("../../../../..").SignedRequest>;
12162
12300
  /**
12163
12301
  * `POST /public/v1/submit/update_allowed_origins`
12164
12302
  */
12165
- type TPostUpdateAllowedOriginsBody = operations["PublicApiService_UpdateAllowedOrigins"]["parameters"]["body"]["body"];
12303
+ type TUpdateAllowedOriginsBody = operations["PublicApiService_UpdateAllowedOrigins"]["parameters"]["body"]["body"];
12166
12304
  /**
12167
12305
  * `POST /public/v1/submit/update_allowed_origins`
12168
12306
  */
12169
- export type TPostUpdateAllowedOriginsResponse = operations["PublicApiService_UpdateAllowedOrigins"]["responses"]["200"]["schema"];
12307
+ export type TUpdateAllowedOriginsResponse = operations["PublicApiService_UpdateAllowedOrigins"]["responses"]["200"]["schema"];
12170
12308
  /**
12171
12309
  * `POST /public/v1/submit/update_allowed_origins`
12172
12310
  */
12173
- export type TPostUpdateAllowedOriginsInput = {
12174
- body: TPostUpdateAllowedOriginsBody;
12311
+ export type TUpdateAllowedOriginsInput = {
12312
+ body: TUpdateAllowedOriginsBody;
12175
12313
  };
12176
12314
  /**
12177
- * Update the allowable origins
12315
+ * Update Allowable Origins
12178
12316
  *
12179
- * Update the additional allowable origins for requests besides Turnkey origins
12317
+ * Update the allowable origins for credentials and requests
12180
12318
  *
12181
12319
  * `POST /public/v1/submit/update_allowed_origins`
12182
12320
  */
12183
- export declare const postUpdateAllowedOrigins: (input: TPostUpdateAllowedOriginsInput) => Promise<{
12321
+ export declare const updateAllowedOrigins: (input: TUpdateAllowedOriginsInput) => Promise<{
12184
12322
  activity: {
12185
12323
  id: string;
12186
12324
  organizationId: string;
@@ -12300,7 +12438,9 @@ export declare const postUpdateAllowedOrigins: (input: TPostUpdateAllowedOrigins
12300
12438
  receiverUserTags: string[];
12301
12439
  accessType: "ACCESS_TYPE_WEB" | "ACCESS_TYPE_API" | "ACCESS_TYPE_ALL";
12302
12440
  senderUserId: string;
12303
- }[];
12441
+ }[]; /**
12442
+ * `POST /public/v1/submit/create_private_key_tag`
12443
+ */
12304
12444
  };
12305
12445
  acceptInvitationIntent?: {
12306
12446
  invitationId: string;
@@ -12359,11 +12499,6 @@ export declare const postUpdateAllowedOrigins: (input: TPostUpdateAllowedOrigins
12359
12499
  deletePolicyIntent?: {
12360
12500
  policyId: string;
12361
12501
  };
12362
- /**
12363
- * `POST /tkhq/public/v1/query/get_private_key`
12364
- *
12365
- * @deprecated
12366
- */
12367
12502
  createUserTagIntent?: {
12368
12503
  userTagName: string;
12369
12504
  userIds: string[];
@@ -12627,6 +12762,9 @@ export declare const postUpdateAllowedOrigins: (input: TPostUpdateAllowedOrigins
12627
12762
  signedTransaction: string;
12628
12763
  };
12629
12764
  deleteApiKeysResult?: {
12765
+ /**
12766
+ * `POST /public/v1/submit/reject_activity`
12767
+ */
12630
12768
  apiKeyIds: string[];
12631
12769
  };
12632
12770
  createApiKeysResult?: {
@@ -12646,6 +12784,13 @@ export declare const postUpdateAllowedOrigins: (input: TPostUpdateAllowedOrigins
12646
12784
  cardHolderEmail: string;
12647
12785
  };
12648
12786
  activateBillingTierResult?: {
12787
+ /**
12788
+ * List Private Keys
12789
+ *
12790
+ * List all Private Keys within an Organization
12791
+ *
12792
+ * `POST /public/v1/query/list_private_keys`
12793
+ */
12649
12794
  productId: string;
12650
12795
  };
12651
12796
  deletePaymentMethodResult?: {
@@ -12759,24 +12904,24 @@ export declare const postUpdateAllowedOrigins: (input: TPostUpdateAllowedOrigins
12759
12904
  };
12760
12905
  }>;
12761
12906
  /**
12762
- * Update the allowable origins
12907
+ * Request a WebAuthn assertion and return a signed `UpdateAllowedOrigins` request, ready to be POSTed to Turnkey.
12763
12908
  *
12764
- * Update the additional allowable origins for requests besides Turnkey origins
12909
+ * See {@link UpdateAllowedOrigins}
12765
12910
  */
12766
- export declare const federatedPostUpdateAllowedOrigins: (input: TPostUpdateAllowedOriginsInput, options?: TurnkeyCredentialRequestOptions) => Promise<import("../../../../..").FederatedRequest>;
12911
+ export declare const signUpdateAllowedOrigins: (input: TUpdateAllowedOriginsInput, options?: TurnkeyCredentialRequestOptions) => Promise<import("../../../../..").SignedRequest>;
12767
12912
  /**
12768
12913
  * `POST /public/v1/submit/update_private_key_tag`
12769
12914
  */
12770
- type TPostUpdatePrivateKeyTagBody = operations["PublicApiService_UpdatePrivateKeyTag"]["parameters"]["body"]["body"];
12915
+ type TUpdatePrivateKeyTagBody = operations["PublicApiService_UpdatePrivateKeyTag"]["parameters"]["body"]["body"];
12771
12916
  /**
12772
12917
  * `POST /public/v1/submit/update_private_key_tag`
12773
12918
  */
12774
- export type TPostUpdatePrivateKeyTagResponse = operations["PublicApiService_UpdatePrivateKeyTag"]["responses"]["200"]["schema"];
12919
+ export type TUpdatePrivateKeyTagResponse = operations["PublicApiService_UpdatePrivateKeyTag"]["responses"]["200"]["schema"];
12775
12920
  /**
12776
12921
  * `POST /public/v1/submit/update_private_key_tag`
12777
12922
  */
12778
- export type TPostUpdatePrivateKeyTagInput = {
12779
- body: TPostUpdatePrivateKeyTagBody;
12923
+ export type TUpdatePrivateKeyTagInput = {
12924
+ body: TUpdatePrivateKeyTagBody;
12780
12925
  };
12781
12926
  /**
12782
12927
  * Update Private Key Tag
@@ -12785,7 +12930,7 @@ export type TPostUpdatePrivateKeyTagInput = {
12785
12930
  *
12786
12931
  * `POST /public/v1/submit/update_private_key_tag`
12787
12932
  */
12788
- export declare const postUpdatePrivateKeyTag: (input: TPostUpdatePrivateKeyTagInput) => Promise<{
12933
+ export declare const updatePrivateKeyTag: (input: TUpdatePrivateKeyTagInput) => Promise<{
12789
12934
  activity: {
12790
12935
  id: string;
12791
12936
  organizationId: string;
@@ -12905,7 +13050,9 @@ export declare const postUpdatePrivateKeyTag: (input: TPostUpdatePrivateKeyTagIn
12905
13050
  receiverUserTags: string[];
12906
13051
  accessType: "ACCESS_TYPE_WEB" | "ACCESS_TYPE_API" | "ACCESS_TYPE_ALL";
12907
13052
  senderUserId: string;
12908
- }[];
13053
+ }[]; /**
13054
+ * `POST /public/v1/submit/create_private_key_tag`
13055
+ */
12909
13056
  };
12910
13057
  acceptInvitationIntent?: {
12911
13058
  invitationId: string;
@@ -12964,11 +13111,6 @@ export declare const postUpdatePrivateKeyTag: (input: TPostUpdatePrivateKeyTagIn
12964
13111
  deletePolicyIntent?: {
12965
13112
  policyId: string;
12966
13113
  };
12967
- /**
12968
- * `POST /tkhq/public/v1/query/get_private_key`
12969
- *
12970
- * @deprecated
12971
- */
12972
13114
  createUserTagIntent?: {
12973
13115
  userTagName: string;
12974
13116
  userIds: string[];
@@ -13232,6 +13374,9 @@ export declare const postUpdatePrivateKeyTag: (input: TPostUpdatePrivateKeyTagIn
13232
13374
  signedTransaction: string;
13233
13375
  };
13234
13376
  deleteApiKeysResult?: {
13377
+ /**
13378
+ * `POST /public/v1/submit/reject_activity`
13379
+ */
13235
13380
  apiKeyIds: string[];
13236
13381
  };
13237
13382
  createApiKeysResult?: {
@@ -13251,6 +13396,13 @@ export declare const postUpdatePrivateKeyTag: (input: TPostUpdatePrivateKeyTagIn
13251
13396
  cardHolderEmail: string;
13252
13397
  };
13253
13398
  activateBillingTierResult?: {
13399
+ /**
13400
+ * List Private Keys
13401
+ *
13402
+ * List all Private Keys within an Organization
13403
+ *
13404
+ * `POST /public/v1/query/list_private_keys`
13405
+ */
13254
13406
  productId: string;
13255
13407
  };
13256
13408
  deletePaymentMethodResult?: {
@@ -13364,33 +13516,33 @@ export declare const postUpdatePrivateKeyTag: (input: TPostUpdatePrivateKeyTagIn
13364
13516
  };
13365
13517
  }>;
13366
13518
  /**
13367
- * Update Private Key Tag
13519
+ * Request a WebAuthn assertion and return a signed `UpdatePrivateKeyTag` request, ready to be POSTed to Turnkey.
13368
13520
  *
13369
- * Update human-readable name or associated private keys. Note that this activity is atomic: all of the updates will succeed at once, or all of them will fail.
13521
+ * See {@link UpdatePrivateKeyTag}
13370
13522
  */
13371
- export declare const federatedPostUpdatePrivateKeyTag: (input: TPostUpdatePrivateKeyTagInput, options?: TurnkeyCredentialRequestOptions) => Promise<import("../../../../..").FederatedRequest>;
13523
+ export declare const signUpdatePrivateKeyTag: (input: TUpdatePrivateKeyTagInput, options?: TurnkeyCredentialRequestOptions) => Promise<import("../../../../..").SignedRequest>;
13372
13524
  /**
13373
13525
  * `POST /public/v1/submit/update_root_quorum`
13374
13526
  */
13375
- type TPostUpdateRootQuorumBody = operations["PublicApiService_UpdateRootQuorum"]["parameters"]["body"]["body"];
13527
+ type TUpdateRootQuorumBody = operations["PublicApiService_UpdateRootQuorum"]["parameters"]["body"]["body"];
13376
13528
  /**
13377
13529
  * `POST /public/v1/submit/update_root_quorum`
13378
13530
  */
13379
- export type TPostUpdateRootQuorumResponse = operations["PublicApiService_UpdateRootQuorum"]["responses"]["200"]["schema"];
13531
+ export type TUpdateRootQuorumResponse = operations["PublicApiService_UpdateRootQuorum"]["responses"]["200"]["schema"];
13380
13532
  /**
13381
13533
  * `POST /public/v1/submit/update_root_quorum`
13382
13534
  */
13383
- export type TPostUpdateRootQuorumInput = {
13384
- body: TPostUpdateRootQuorumBody;
13535
+ export type TUpdateRootQuorumInput = {
13536
+ body: TUpdateRootQuorumBody;
13385
13537
  };
13386
13538
  /**
13387
- * Set the root quorum
13539
+ * Update Root Quorum
13388
13540
  *
13389
13541
  * Set the threshold and members of the root quorum. This must be approved by the current root quorum.
13390
13542
  *
13391
13543
  * `POST /public/v1/submit/update_root_quorum`
13392
13544
  */
13393
- export declare const postUpdateRootQuorum: (input: TPostUpdateRootQuorumInput) => Promise<{
13545
+ export declare const updateRootQuorum: (input: TUpdateRootQuorumInput) => Promise<{
13394
13546
  activity: {
13395
13547
  id: string;
13396
13548
  organizationId: string;
@@ -13510,7 +13662,9 @@ export declare const postUpdateRootQuorum: (input: TPostUpdateRootQuorumInput) =
13510
13662
  receiverUserTags: string[];
13511
13663
  accessType: "ACCESS_TYPE_WEB" | "ACCESS_TYPE_API" | "ACCESS_TYPE_ALL";
13512
13664
  senderUserId: string;
13513
- }[];
13665
+ }[]; /**
13666
+ * `POST /public/v1/submit/create_private_key_tag`
13667
+ */
13514
13668
  };
13515
13669
  acceptInvitationIntent?: {
13516
13670
  invitationId: string;
@@ -13569,11 +13723,6 @@ export declare const postUpdateRootQuorum: (input: TPostUpdateRootQuorumInput) =
13569
13723
  deletePolicyIntent?: {
13570
13724
  policyId: string;
13571
13725
  };
13572
- /**
13573
- * `POST /tkhq/public/v1/query/get_private_key`
13574
- *
13575
- * @deprecated
13576
- */
13577
13726
  createUserTagIntent?: {
13578
13727
  userTagName: string;
13579
13728
  userIds: string[];
@@ -13837,6 +13986,9 @@ export declare const postUpdateRootQuorum: (input: TPostUpdateRootQuorumInput) =
13837
13986
  signedTransaction: string;
13838
13987
  };
13839
13988
  deleteApiKeysResult?: {
13989
+ /**
13990
+ * `POST /public/v1/submit/reject_activity`
13991
+ */
13840
13992
  apiKeyIds: string[];
13841
13993
  };
13842
13994
  createApiKeysResult?: {
@@ -13856,6 +14008,13 @@ export declare const postUpdateRootQuorum: (input: TPostUpdateRootQuorumInput) =
13856
14008
  cardHolderEmail: string;
13857
14009
  };
13858
14010
  activateBillingTierResult?: {
14011
+ /**
14012
+ * List Private Keys
14013
+ *
14014
+ * List all Private Keys within an Organization
14015
+ *
14016
+ * `POST /public/v1/query/list_private_keys`
14017
+ */
13859
14018
  productId: string;
13860
14019
  };
13861
14020
  deletePaymentMethodResult?: {
@@ -13969,24 +14128,24 @@ export declare const postUpdateRootQuorum: (input: TPostUpdateRootQuorumInput) =
13969
14128
  };
13970
14129
  }>;
13971
14130
  /**
13972
- * Set the root quorum
14131
+ * Request a WebAuthn assertion and return a signed `UpdateRootQuorum` request, ready to be POSTed to Turnkey.
13973
14132
  *
13974
- * Set the threshold and members of the root quorum. This must be approved by the current root quorum.
14133
+ * See {@link UpdateRootQuorum}
13975
14134
  */
13976
- export declare const federatedPostUpdateRootQuorum: (input: TPostUpdateRootQuorumInput, options?: TurnkeyCredentialRequestOptions) => Promise<import("../../../../..").FederatedRequest>;
14135
+ export declare const signUpdateRootQuorum: (input: TUpdateRootQuorumInput, options?: TurnkeyCredentialRequestOptions) => Promise<import("../../../../..").SignedRequest>;
13977
14136
  /**
13978
14137
  * `POST /public/v1/submit/update_user_tag`
13979
14138
  */
13980
- type TPostUpdateUserTagBody = operations["PublicApiService_UpdateUserTag"]["parameters"]["body"]["body"];
14139
+ type TUpdateUserTagBody = operations["PublicApiService_UpdateUserTag"]["parameters"]["body"]["body"];
13981
14140
  /**
13982
14141
  * `POST /public/v1/submit/update_user_tag`
13983
14142
  */
13984
- export type TPostUpdateUserTagResponse = operations["PublicApiService_UpdateUserTag"]["responses"]["200"]["schema"];
14143
+ export type TUpdateUserTagResponse = operations["PublicApiService_UpdateUserTag"]["responses"]["200"]["schema"];
13985
14144
  /**
13986
14145
  * `POST /public/v1/submit/update_user_tag`
13987
14146
  */
13988
- export type TPostUpdateUserTagInput = {
13989
- body: TPostUpdateUserTagBody;
14147
+ export type TUpdateUserTagInput = {
14148
+ body: TUpdateUserTagBody;
13990
14149
  };
13991
14150
  /**
13992
14151
  * Update User Tag
@@ -13995,7 +14154,7 @@ export type TPostUpdateUserTagInput = {
13995
14154
  *
13996
14155
  * `POST /public/v1/submit/update_user_tag`
13997
14156
  */
13998
- export declare const postUpdateUserTag: (input: TPostUpdateUserTagInput) => Promise<{
14157
+ export declare const updateUserTag: (input: TUpdateUserTagInput) => Promise<{
13999
14158
  activity: {
14000
14159
  id: string;
14001
14160
  organizationId: string;
@@ -14115,7 +14274,9 @@ export declare const postUpdateUserTag: (input: TPostUpdateUserTagInput) => Prom
14115
14274
  receiverUserTags: string[];
14116
14275
  accessType: "ACCESS_TYPE_WEB" | "ACCESS_TYPE_API" | "ACCESS_TYPE_ALL";
14117
14276
  senderUserId: string;
14118
- }[];
14277
+ }[]; /**
14278
+ * `POST /public/v1/submit/create_private_key_tag`
14279
+ */
14119
14280
  };
14120
14281
  acceptInvitationIntent?: {
14121
14282
  invitationId: string;
@@ -14174,11 +14335,6 @@ export declare const postUpdateUserTag: (input: TPostUpdateUserTagInput) => Prom
14174
14335
  deletePolicyIntent?: {
14175
14336
  policyId: string;
14176
14337
  };
14177
- /**
14178
- * `POST /tkhq/public/v1/query/get_private_key`
14179
- *
14180
- * @deprecated
14181
- */
14182
14338
  createUserTagIntent?: {
14183
14339
  userTagName: string;
14184
14340
  userIds: string[];
@@ -14442,6 +14598,9 @@ export declare const postUpdateUserTag: (input: TPostUpdateUserTagInput) => Prom
14442
14598
  signedTransaction: string;
14443
14599
  };
14444
14600
  deleteApiKeysResult?: {
14601
+ /**
14602
+ * `POST /public/v1/submit/reject_activity`
14603
+ */
14445
14604
  apiKeyIds: string[];
14446
14605
  };
14447
14606
  createApiKeysResult?: {
@@ -14461,6 +14620,13 @@ export declare const postUpdateUserTag: (input: TPostUpdateUserTagInput) => Prom
14461
14620
  cardHolderEmail: string;
14462
14621
  };
14463
14622
  activateBillingTierResult?: {
14623
+ /**
14624
+ * List Private Keys
14625
+ *
14626
+ * List all Private Keys within an Organization
14627
+ *
14628
+ * `POST /public/v1/query/list_private_keys`
14629
+ */
14464
14630
  productId: string;
14465
14631
  };
14466
14632
  deletePaymentMethodResult?: {
@@ -14574,15 +14740,15 @@ export declare const postUpdateUserTag: (input: TPostUpdateUserTagInput) => Prom
14574
14740
  };
14575
14741
  }>;
14576
14742
  /**
14577
- * Update User Tag
14743
+ * Request a WebAuthn assertion and return a signed `UpdateUserTag` request, ready to be POSTed to Turnkey.
14578
14744
  *
14579
- * Update human-readable name or associated users. Note that this activity is atomic: all of the updates will succeed at once, or all of them will fail.
14745
+ * See {@link UpdateUserTag}
14580
14746
  */
14581
- export declare const federatedPostUpdateUserTag: (input: TPostUpdateUserTagInput, options?: TurnkeyCredentialRequestOptions) => Promise<import("../../../../..").FederatedRequest>;
14747
+ export declare const signUpdateUserTag: (input: TUpdateUserTagInput, options?: TurnkeyCredentialRequestOptions) => Promise<import("../../../../..").SignedRequest>;
14582
14748
  /**
14583
14749
  * `POST /tkhq/api/v1/noop-codegen-anchor`
14584
14750
  */
14585
- export type TPostNOOPCodegenAnchorResponse = operations["PublicApiService_NOOPCodegenAnchor"]["responses"]["200"]["schema"];
14751
+ export type TNOOPCodegenAnchorResponse = operations["PublicApiService_NOOPCodegenAnchor"]["responses"]["200"]["schema"];
14586
14752
  /**
14587
14753
  * This route does nothing and does not need an implementation, but please don't remove it.
14588
14754
  It's used at compile time for generating extra OpenAPI/TypeScript types
@@ -14590,7 +14756,7 @@ that are not directly referenced in requests.
14590
14756
  *
14591
14757
  * `POST /tkhq/api/v1/noop-codegen-anchor`
14592
14758
  */
14593
- export declare const postNOOPCodegenAnchor: () => Promise<{
14759
+ export declare const nOOPCodegenAnchor: () => Promise<{
14594
14760
  stamp: {
14595
14761
  credentialId: string;
14596
14762
  clientDataJson: string;
@@ -14599,30 +14765,30 @@ export declare const postNOOPCodegenAnchor: () => Promise<{
14599
14765
  };
14600
14766
  }>;
14601
14767
  /**
14602
- * This route does nothing and does not need an implementation, but please don't remove it.
14603
- It's used at compile time for generating extra OpenAPI/TypeScript types
14604
- that are not directly referenced in requests.
14768
+ * Request a WebAuthn assertion and return a signed `NOOPCodegenAnchor` request, ready to be POSTed to Turnkey.
14769
+ *
14770
+ * See {@link NOOPCodegenAnchor}
14605
14771
  */
14606
- export declare const federatedPostNOOPCodegenAnchor: () => Promise<import("../../../../..").FederatedRequest>;
14772
+ export declare const signNOOPCodegenAnchor: () => Promise<import("../../../../..").SignedRequest>;
14607
14773
  /**
14608
14774
  * `POST /tkhq/public/v1/query/get_private_key`
14609
14775
  *
14610
14776
  * @deprecated
14611
14777
  */
14612
- type TPostGetPrivateKeyBackwardsCompatBody = operations["PublicApiService_GetPrivateKeyBackwardsCompat"]["parameters"]["body"]["body"];
14778
+ type TGetPrivateKeyBackwardsCompatBody = operations["PublicApiService_GetPrivateKeyBackwardsCompat"]["parameters"]["body"]["body"];
14613
14779
  /**
14614
14780
  * `POST /tkhq/public/v1/query/get_private_key`
14615
14781
  *
14616
14782
  * @deprecated
14617
14783
  */
14618
- export type TPostGetPrivateKeyBackwardsCompatResponse = operations["PublicApiService_GetPrivateKeyBackwardsCompat"]["responses"]["200"]["schema"];
14784
+ export type TGetPrivateKeyBackwardsCompatResponse = operations["PublicApiService_GetPrivateKeyBackwardsCompat"]["responses"]["200"]["schema"];
14619
14785
  /**
14620
14786
  * `POST /tkhq/public/v1/query/get_private_key`
14621
14787
  *
14622
14788
  * @deprecated
14623
14789
  */
14624
- export type TPostGetPrivateKeyBackwardsCompatInput = {
14625
- body: TPostGetPrivateKeyBackwardsCompatBody;
14790
+ export type TGetPrivateKeyBackwardsCompatInput = {
14791
+ body: TGetPrivateKeyBackwardsCompatBody;
14626
14792
  };
14627
14793
  /**
14628
14794
  * Get Private Key
@@ -14633,7 +14799,7 @@ export type TPostGetPrivateKeyBackwardsCompatInput = {
14633
14799
  *
14634
14800
  * @deprecated
14635
14801
  */
14636
- export declare const postGetPrivateKeyBackwardsCompat: (input: TPostGetPrivateKeyBackwardsCompatInput) => Promise<{
14802
+ export declare const getPrivateKeyBackwardsCompat: (input: TGetPrivateKeyBackwardsCompatInput) => Promise<{
14637
14803
  privateKey: {
14638
14804
  privateKeyId: string;
14639
14805
  publicKey: string;
@@ -14651,12 +14817,12 @@ export declare const postGetPrivateKeyBackwardsCompat: (input: TPostGetPrivateKe
14651
14817
  };
14652
14818
  }>;
14653
14819
  /**
14654
- * Get Private Key
14820
+ * Request a WebAuthn assertion and return a signed `GetPrivateKeyBackwardsCompat` request, ready to be POSTed to Turnkey.
14655
14821
  *
14656
- * Get details about a Private Key
14822
+ * See {@link GetPrivateKeyBackwardsCompat}
14657
14823
  *
14658
14824
  * @deprecated
14659
14825
  */
14660
- export declare const federatedPostGetPrivateKeyBackwardsCompat: (input: TPostGetPrivateKeyBackwardsCompatInput, options?: TurnkeyCredentialRequestOptions) => Promise<import("../../../../..").FederatedRequest>;
14826
+ export declare const signGetPrivateKeyBackwardsCompat: (input: TGetPrivateKeyBackwardsCompatInput, options?: TurnkeyCredentialRequestOptions) => Promise<import("../../../../..").SignedRequest>;
14661
14827
  export {};
14662
14828
  //# sourceMappingURL=public_api.fetcher.d.ts.map