@turnkey/http 0.15.0 → 0.17.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.
@@ -25,7 +25,7 @@ export declare const postGetActivity: (input: TPostGetActivityInput) => Promise<
25
25
  id: string;
26
26
  organizationId: string;
27
27
  status: "ACTIVITY_STATUS_CREATED" | "ACTIVITY_STATUS_PENDING" | "ACTIVITY_STATUS_COMPLETED" | "ACTIVITY_STATUS_FAILED" | "ACTIVITY_STATUS_CONSENSUS_NEEDED" | "ACTIVITY_STATUS_REJECTED";
28
- type: "ACTIVITY_TYPE_CREATE_API_KEYS" | "ACTIVITY_TYPE_CREATE_USERS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD" | "ACTIVITY_TYPE_CREATE_INVITATIONS" | "ACTIVITY_TYPE_ACCEPT_INVITATION" | "ACTIVITY_TYPE_CREATE_POLICY" | "ACTIVITY_TYPE_DISABLE_PRIVATE_KEY" | "ACTIVITY_TYPE_DELETE_USERS" | "ACTIVITY_TYPE_DELETE_API_KEYS" | "ACTIVITY_TYPE_DELETE_INVITATION" | "ACTIVITY_TYPE_DELETE_ORGANIZATION" | "ACTIVITY_TYPE_DELETE_POLICY" | "ACTIVITY_TYPE_CREATE_USER_TAG" | "ACTIVITY_TYPE_DELETE_USER_TAGS" | "ACTIVITY_TYPE_CREATE_ORGANIZATION" | "ACTIVITY_TYPE_SIGN_TRANSACTION" | "ACTIVITY_TYPE_APPROVE_ACTIVITY" | "ACTIVITY_TYPE_REJECT_ACTIVITY" | "ACTIVITY_TYPE_DELETE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS" | "ACTIVITY_TYPE_SET_PAYMENT_METHOD" | "ACTIVITY_TYPE_ACTIVATE_BILLING_TIER" | "ACTIVITY_TYPE_DELETE_PAYMENT_METHOD" | "ACTIVITY_TYPE_CREATE_POLICY_V2" | "ACTIVITY_TYPE_CREATE_POLICY_V3" | "ACTIVITY_TYPE_CREATE_API_ONLY_USERS" | "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM";
28
+ type: "ACTIVITY_TYPE_CREATE_API_KEYS" | "ACTIVITY_TYPE_CREATE_USERS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD" | "ACTIVITY_TYPE_CREATE_INVITATIONS" | "ACTIVITY_TYPE_ACCEPT_INVITATION" | "ACTIVITY_TYPE_CREATE_POLICY" | "ACTIVITY_TYPE_DISABLE_PRIVATE_KEY" | "ACTIVITY_TYPE_DELETE_USERS" | "ACTIVITY_TYPE_DELETE_API_KEYS" | "ACTIVITY_TYPE_DELETE_INVITATION" | "ACTIVITY_TYPE_DELETE_ORGANIZATION" | "ACTIVITY_TYPE_DELETE_POLICY" | "ACTIVITY_TYPE_CREATE_USER_TAG" | "ACTIVITY_TYPE_DELETE_USER_TAGS" | "ACTIVITY_TYPE_CREATE_ORGANIZATION" | "ACTIVITY_TYPE_SIGN_TRANSACTION" | "ACTIVITY_TYPE_APPROVE_ACTIVITY" | "ACTIVITY_TYPE_REJECT_ACTIVITY" | "ACTIVITY_TYPE_DELETE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS" | "ACTIVITY_TYPE_SET_PAYMENT_METHOD" | "ACTIVITY_TYPE_ACTIVATE_BILLING_TIER" | "ACTIVITY_TYPE_DELETE_PAYMENT_METHOD" | "ACTIVITY_TYPE_CREATE_POLICY_V2" | "ACTIVITY_TYPE_CREATE_POLICY_V3" | "ACTIVITY_TYPE_CREATE_API_ONLY_USERS" | "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM" | "ACTIVITY_TYPE_UPDATE_USER_TAG" | "ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG";
29
29
  intent: {
30
30
  createOrganizationIntent: {
31
31
  organizationName: string;
@@ -122,7 +122,7 @@ export declare const postGetActivity: (input: TPostGetActivityInput) => Promise<
122
122
  createPrivateKeysIntent?: {
123
123
  privateKeys: {
124
124
  privateKeyName: string;
125
- curve: "CURVE_SECP256K1";
125
+ curve: "CURVE_SECP256K1" | "CURVE_ED25519";
126
126
  privateKeyTags: string[];
127
127
  addressFormats: ("ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM")[];
128
128
  }[];
@@ -131,12 +131,9 @@ export declare const postGetActivity: (input: TPostGetActivityInput) => Promise<
131
131
  privateKeyId: string;
132
132
  payload: string;
133
133
  encoding: "PAYLOAD_ENCODING_HEXADECIMAL" | "PAYLOAD_ENCODING_TEXT_UTF8";
134
- hashFunction: "HASH_FUNCTION_NO_OP" | "HASH_FUNCTION_SHA256" | "HASH_FUNCTION_KECCAK256";
134
+ hashFunction: "HASH_FUNCTION_NO_OP" | "HASH_FUNCTION_SHA256" | "HASH_FUNCTION_KECCAK256" | "HASH_FUNCTION_NOT_APPLICABLE";
135
135
  };
136
136
  createInvitationsIntent?: {
137
- /**
138
- * `POST /public/v1/submit/sign_transaction`
139
- */
140
137
  invitations: {
141
138
  receiverUserName: string;
142
139
  receiverUserEmail: string;
@@ -176,9 +173,6 @@ export declare const postGetActivity: (input: TPostGetActivityInput) => Promise<
176
173
  createPolicyIntent?: {
177
174
  policyName: string;
178
175
  selectors: {
179
- /**
180
- * `POST /public/v1/query/whoami`
181
- */
182
176
  subject?: string;
183
177
  operator?: "OPERATOR_EQUAL" | "OPERATOR_MORE_THAN" | "OPERATOR_MORE_THAN_OR_EQUAL" | "OPERATOR_LESS_THAN" | "OPERATOR_LESS_THAN_OR_EQUAL" | "OPERATOR_CONTAINS" | "OPERATOR_NOT_EQUAL" | "OPERATOR_IN" | "OPERATOR_NOT_IN" | "OPERATOR_CONTAINS_ONE" | "OPERATOR_CONTAINS_ALL";
184
178
  target?: string;
@@ -222,9 +216,6 @@ export declare const postGetActivity: (input: TPostGetActivityInput) => Promise<
222
216
  apiKeyName: string;
223
217
  publicKey: string;
224
218
  }[];
225
- /**
226
- * `POST /public/v1/submit/delete_policy`
227
- */
228
219
  userId: string;
229
220
  };
230
221
  deleteApiKeysIntent?: {
@@ -290,6 +281,18 @@ export declare const postGetActivity: (input: TPostGetActivityInput) => Promise<
290
281
  threshold: number;
291
282
  userIds: string[];
292
283
  };
284
+ updateUserTagIntent?: {
285
+ userTagId: string;
286
+ newUserTagName?: string;
287
+ addUserIds: string[];
288
+ removeUserIds: string[];
289
+ };
290
+ updatePrivateKeyTagIntent?: {
291
+ privateKeyTagId: string;
292
+ newPrivateKeyTagName?: string;
293
+ addPrivateKeyIds: string[];
294
+ removePrivateKeyIds: string[];
295
+ };
293
296
  };
294
297
  result: {
295
298
  createOrganizationResult?: {
@@ -379,6 +382,12 @@ export declare const postGetActivity: (input: TPostGetActivityInput) => Promise<
379
382
  updateRootQuorumResult?: {
380
383
  [key: string]: unknown;
381
384
  };
385
+ updateUserTagResult?: {
386
+ userTagId: string;
387
+ };
388
+ updatePrivateKeyTagResult?: {
389
+ privateKeyTagId: string;
390
+ };
382
391
  };
383
392
  votes: {
384
393
  id: string;
@@ -563,7 +572,7 @@ export declare const postGetOrganization: (input: TPostGetOrganizationInput) =>
563
572
  privateKeyId: string;
564
573
  publicKey: string;
565
574
  privateKeyName: string;
566
- curve: "CURVE_SECP256K1";
575
+ curve: "CURVE_SECP256K1" | "CURVE_ED25519";
567
576
  addresses: {
568
577
  format?: "ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM";
569
578
  address?: string;
@@ -594,6 +603,9 @@ export declare const postGetOrganization: (input: TPostGetOrganizationInput) =>
594
603
  tags?: {
595
604
  tagId: string;
596
605
  tagName: string;
606
+ /**
607
+ * `POST /public/v1/query/list_activities`
608
+ */
597
609
  tagType: "TAG_TYPE_USER" | "TAG_TYPE_PRIVATE_KEY";
598
610
  createdAt: {
599
611
  seconds: string;
@@ -602,7 +614,13 @@ export declare const postGetOrganization: (input: TPostGetOrganizationInput) =>
602
614
  updatedAt: {
603
615
  seconds: string;
604
616
  nanos: string;
605
- };
617
+ }; /**
618
+ * List Activities
619
+ *
620
+ * List all Activities within an Organization
621
+ *
622
+ * `POST /public/v1/query/list_activities`
623
+ */
606
624
  }[];
607
625
  deletedUsers?: {
608
626
  userId: string;
@@ -682,7 +700,7 @@ export declare const postGetOrganization: (input: TPostGetOrganizationInput) =>
682
700
  privateKeyId: string;
683
701
  publicKey: string;
684
702
  privateKeyName: string;
685
- curve: "CURVE_SECP256K1";
703
+ curve: "CURVE_SECP256K1" | "CURVE_ED25519";
686
704
  addresses: {
687
705
  format?: "ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM";
688
706
  address?: string;
@@ -751,6 +769,9 @@ export declare const postGetOrganization: (input: TPostGetOrganizationInput) =>
751
769
  deletedTags?: {
752
770
  tagId: string;
753
771
  tagName: string;
772
+ /**
773
+ * `POST /public/v1/query/list_activities`
774
+ */
754
775
  tagType: "TAG_TYPE_USER" | "TAG_TYPE_PRIVATE_KEY";
755
776
  createdAt: {
756
777
  seconds: string;
@@ -759,7 +780,13 @@ export declare const postGetOrganization: (input: TPostGetOrganizationInput) =>
759
780
  updatedAt: {
760
781
  seconds: string;
761
782
  nanos: string;
762
- };
783
+ }; /**
784
+ * List Activities
785
+ *
786
+ * List all Activities within an Organization
787
+ *
788
+ * `POST /public/v1/query/list_activities`
789
+ */
763
790
  }[];
764
791
  };
765
792
  }>;
@@ -807,6 +834,44 @@ export declare const postGetPolicy: (input: TPostGetPolicyInput) => Promise<{
807
834
  condition: string;
808
835
  };
809
836
  }>;
837
+ /**
838
+ * `POST /public/v1/query/get_private_key`
839
+ */
840
+ type TPostGetPrivateKeyBody = operations["PublicApiService_GetPrivateKey"]["parameters"]["body"]["body"];
841
+ /**
842
+ * `POST /public/v1/query/get_private_key`
843
+ */
844
+ export type TPostGetPrivateKeyResponse = operations["PublicApiService_GetPrivateKey"]["responses"]["200"]["schema"];
845
+ /**
846
+ * `POST /public/v1/query/get_private_key`
847
+ */
848
+ export type TPostGetPrivateKeyInput = {
849
+ body: TPostGetPrivateKeyBody;
850
+ };
851
+ /**
852
+ * Get Private Key
853
+ *
854
+ * Get details about a Private Key
855
+ *
856
+ * `POST /public/v1/query/get_private_key`
857
+ */
858
+ export declare const postGetPrivateKey: (input: TPostGetPrivateKeyInput) => Promise<{
859
+ privateKey: {
860
+ privateKeyId: string;
861
+ publicKey: string;
862
+ privateKeyName: string;
863
+ curve: "CURVE_SECP256K1" | "CURVE_ED25519";
864
+ addresses: {
865
+ format?: "ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM";
866
+ address?: string;
867
+ }[];
868
+ privateKeyTags: string[];
869
+ createdAt: {
870
+ seconds: string;
871
+ nanos: string;
872
+ };
873
+ };
874
+ }>;
810
875
  /**
811
876
  * `POST /public/v1/query/get_user`
812
877
  */
@@ -909,7 +974,7 @@ export declare const postGetActivities: (input: TPostGetActivitiesInput) => Prom
909
974
  id: string;
910
975
  organizationId: string;
911
976
  status: "ACTIVITY_STATUS_CREATED" | "ACTIVITY_STATUS_PENDING" | "ACTIVITY_STATUS_COMPLETED" | "ACTIVITY_STATUS_FAILED" | "ACTIVITY_STATUS_CONSENSUS_NEEDED" | "ACTIVITY_STATUS_REJECTED";
912
- type: "ACTIVITY_TYPE_CREATE_API_KEYS" | "ACTIVITY_TYPE_CREATE_USERS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD" | "ACTIVITY_TYPE_CREATE_INVITATIONS" | "ACTIVITY_TYPE_ACCEPT_INVITATION" | "ACTIVITY_TYPE_CREATE_POLICY" | "ACTIVITY_TYPE_DISABLE_PRIVATE_KEY" | "ACTIVITY_TYPE_DELETE_USERS" | "ACTIVITY_TYPE_DELETE_API_KEYS" | "ACTIVITY_TYPE_DELETE_INVITATION" | "ACTIVITY_TYPE_DELETE_ORGANIZATION" | "ACTIVITY_TYPE_DELETE_POLICY" | "ACTIVITY_TYPE_CREATE_USER_TAG" | "ACTIVITY_TYPE_DELETE_USER_TAGS" | "ACTIVITY_TYPE_CREATE_ORGANIZATION" | "ACTIVITY_TYPE_SIGN_TRANSACTION" | "ACTIVITY_TYPE_APPROVE_ACTIVITY" | "ACTIVITY_TYPE_REJECT_ACTIVITY" | "ACTIVITY_TYPE_DELETE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS" | "ACTIVITY_TYPE_SET_PAYMENT_METHOD" | "ACTIVITY_TYPE_ACTIVATE_BILLING_TIER" | "ACTIVITY_TYPE_DELETE_PAYMENT_METHOD" | "ACTIVITY_TYPE_CREATE_POLICY_V2" | "ACTIVITY_TYPE_CREATE_POLICY_V3" | "ACTIVITY_TYPE_CREATE_API_ONLY_USERS" | "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM";
977
+ type: "ACTIVITY_TYPE_CREATE_API_KEYS" | "ACTIVITY_TYPE_CREATE_USERS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD" | "ACTIVITY_TYPE_CREATE_INVITATIONS" | "ACTIVITY_TYPE_ACCEPT_INVITATION" | "ACTIVITY_TYPE_CREATE_POLICY" | "ACTIVITY_TYPE_DISABLE_PRIVATE_KEY" | "ACTIVITY_TYPE_DELETE_USERS" | "ACTIVITY_TYPE_DELETE_API_KEYS" | "ACTIVITY_TYPE_DELETE_INVITATION" | "ACTIVITY_TYPE_DELETE_ORGANIZATION" | "ACTIVITY_TYPE_DELETE_POLICY" | "ACTIVITY_TYPE_CREATE_USER_TAG" | "ACTIVITY_TYPE_DELETE_USER_TAGS" | "ACTIVITY_TYPE_CREATE_ORGANIZATION" | "ACTIVITY_TYPE_SIGN_TRANSACTION" | "ACTIVITY_TYPE_APPROVE_ACTIVITY" | "ACTIVITY_TYPE_REJECT_ACTIVITY" | "ACTIVITY_TYPE_DELETE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS" | "ACTIVITY_TYPE_SET_PAYMENT_METHOD" | "ACTIVITY_TYPE_ACTIVATE_BILLING_TIER" | "ACTIVITY_TYPE_DELETE_PAYMENT_METHOD" | "ACTIVITY_TYPE_CREATE_POLICY_V2" | "ACTIVITY_TYPE_CREATE_POLICY_V3" | "ACTIVITY_TYPE_CREATE_API_ONLY_USERS" | "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM" | "ACTIVITY_TYPE_UPDATE_USER_TAG" | "ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG";
913
978
  intent: {
914
979
  createOrganizationIntent: {
915
980
  organizationName: string;
@@ -1006,7 +1071,7 @@ export declare const postGetActivities: (input: TPostGetActivitiesInput) => Prom
1006
1071
  createPrivateKeysIntent?: {
1007
1072
  privateKeys: {
1008
1073
  privateKeyName: string;
1009
- curve: "CURVE_SECP256K1";
1074
+ curve: "CURVE_SECP256K1" | "CURVE_ED25519";
1010
1075
  privateKeyTags: string[];
1011
1076
  addressFormats: ("ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM")[];
1012
1077
  }[];
@@ -1015,12 +1080,9 @@ export declare const postGetActivities: (input: TPostGetActivitiesInput) => Prom
1015
1080
  privateKeyId: string;
1016
1081
  payload: string;
1017
1082
  encoding: "PAYLOAD_ENCODING_HEXADECIMAL" | "PAYLOAD_ENCODING_TEXT_UTF8";
1018
- hashFunction: "HASH_FUNCTION_NO_OP" | "HASH_FUNCTION_SHA256" | "HASH_FUNCTION_KECCAK256";
1083
+ hashFunction: "HASH_FUNCTION_NO_OP" | "HASH_FUNCTION_SHA256" | "HASH_FUNCTION_KECCAK256" | "HASH_FUNCTION_NOT_APPLICABLE";
1019
1084
  };
1020
1085
  createInvitationsIntent?: {
1021
- /**
1022
- * `POST /public/v1/submit/sign_transaction`
1023
- */
1024
1086
  invitations: {
1025
1087
  receiverUserName: string;
1026
1088
  receiverUserEmail: string;
@@ -1060,9 +1122,6 @@ export declare const postGetActivities: (input: TPostGetActivitiesInput) => Prom
1060
1122
  createPolicyIntent?: {
1061
1123
  policyName: string;
1062
1124
  selectors: {
1063
- /**
1064
- * `POST /public/v1/query/whoami`
1065
- */
1066
1125
  subject?: string;
1067
1126
  operator?: "OPERATOR_EQUAL" | "OPERATOR_MORE_THAN" | "OPERATOR_MORE_THAN_OR_EQUAL" | "OPERATOR_LESS_THAN" | "OPERATOR_LESS_THAN_OR_EQUAL" | "OPERATOR_CONTAINS" | "OPERATOR_NOT_EQUAL" | "OPERATOR_IN" | "OPERATOR_NOT_IN" | "OPERATOR_CONTAINS_ONE" | "OPERATOR_CONTAINS_ALL";
1068
1127
  target?: string;
@@ -1106,9 +1165,6 @@ export declare const postGetActivities: (input: TPostGetActivitiesInput) => Prom
1106
1165
  apiKeyName: string;
1107
1166
  publicKey: string;
1108
1167
  }[];
1109
- /**
1110
- * `POST /public/v1/submit/delete_policy`
1111
- */
1112
1168
  userId: string;
1113
1169
  };
1114
1170
  deleteApiKeysIntent?: {
@@ -1174,6 +1230,18 @@ export declare const postGetActivities: (input: TPostGetActivitiesInput) => Prom
1174
1230
  threshold: number;
1175
1231
  userIds: string[];
1176
1232
  };
1233
+ updateUserTagIntent?: {
1234
+ userTagId: string;
1235
+ newUserTagName?: string;
1236
+ addUserIds: string[];
1237
+ removeUserIds: string[];
1238
+ };
1239
+ updatePrivateKeyTagIntent?: {
1240
+ privateKeyTagId: string;
1241
+ newPrivateKeyTagName?: string;
1242
+ addPrivateKeyIds: string[];
1243
+ removePrivateKeyIds: string[];
1244
+ };
1177
1245
  };
1178
1246
  result: {
1179
1247
  createOrganizationResult?: {
@@ -1263,6 +1331,12 @@ export declare const postGetActivities: (input: TPostGetActivitiesInput) => Prom
1263
1331
  updateRootQuorumResult?: {
1264
1332
  [key: string]: unknown;
1265
1333
  };
1334
+ updateUserTagResult?: {
1335
+ userTagId: string;
1336
+ };
1337
+ updatePrivateKeyTagResult?: {
1338
+ privateKeyTagId: string;
1339
+ };
1266
1340
  };
1267
1341
  votes: {
1268
1342
  id: string;
@@ -1414,7 +1488,7 @@ export declare const postGetPrivateKeys: (input: TPostGetPrivateKeysInput) => Pr
1414
1488
  privateKeyId: string;
1415
1489
  publicKey: string;
1416
1490
  privateKeyName: string;
1417
- curve: "CURVE_SECP256K1";
1491
+ curve: "CURVE_SECP256K1" | "CURVE_ED25519";
1418
1492
  addresses: {
1419
1493
  format?: "ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM";
1420
1494
  address?: string;
@@ -1530,32 +1604,32 @@ export declare const postGetWhoami: (input: TPostGetWhoamiInput) => Promise<{
1530
1604
  username: string;
1531
1605
  }>;
1532
1606
  /**
1533
- * `POST /public/v1/submit/create_api_keys`
1607
+ * `POST /public/v1/submit/approve_activity`
1534
1608
  */
1535
- type TPostCreateApiKeysBody = operations["PublicApiService_CreateApiKeys"]["parameters"]["body"]["body"];
1609
+ type TPostApproveActivityBody = operations["PublicApiService_ApproveActivity"]["parameters"]["body"]["body"];
1536
1610
  /**
1537
- * `POST /public/v1/submit/create_api_keys`
1611
+ * `POST /public/v1/submit/approve_activity`
1538
1612
  */
1539
- export type TPostCreateApiKeysResponse = operations["PublicApiService_CreateApiKeys"]["responses"]["200"]["schema"];
1613
+ export type TPostApproveActivityResponse = operations["PublicApiService_ApproveActivity"]["responses"]["200"]["schema"];
1540
1614
  /**
1541
- * `POST /public/v1/submit/create_api_keys`
1615
+ * `POST /public/v1/submit/approve_activity`
1542
1616
  */
1543
- export type TPostCreateApiKeysInput = {
1544
- body: TPostCreateApiKeysBody;
1617
+ export type TPostApproveActivityInput = {
1618
+ body: TPostApproveActivityBody;
1545
1619
  };
1546
1620
  /**
1547
- * Create API Keys
1621
+ * Approve Activity
1548
1622
  *
1549
- * Add api keys to an existing User
1623
+ * Approve an Activity
1550
1624
  *
1551
- * `POST /public/v1/submit/create_api_keys`
1625
+ * `POST /public/v1/submit/approve_activity`
1552
1626
  */
1553
- export declare const postCreateApiKeys: (input: TPostCreateApiKeysInput) => Promise<{
1627
+ export declare const postApproveActivity: (input: TPostApproveActivityInput) => Promise<{
1554
1628
  activity: {
1555
1629
  id: string;
1556
1630
  organizationId: string;
1557
1631
  status: "ACTIVITY_STATUS_CREATED" | "ACTIVITY_STATUS_PENDING" | "ACTIVITY_STATUS_COMPLETED" | "ACTIVITY_STATUS_FAILED" | "ACTIVITY_STATUS_CONSENSUS_NEEDED" | "ACTIVITY_STATUS_REJECTED";
1558
- type: "ACTIVITY_TYPE_CREATE_API_KEYS" | "ACTIVITY_TYPE_CREATE_USERS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD" | "ACTIVITY_TYPE_CREATE_INVITATIONS" | "ACTIVITY_TYPE_ACCEPT_INVITATION" | "ACTIVITY_TYPE_CREATE_POLICY" | "ACTIVITY_TYPE_DISABLE_PRIVATE_KEY" | "ACTIVITY_TYPE_DELETE_USERS" | "ACTIVITY_TYPE_DELETE_API_KEYS" | "ACTIVITY_TYPE_DELETE_INVITATION" | "ACTIVITY_TYPE_DELETE_ORGANIZATION" | "ACTIVITY_TYPE_DELETE_POLICY" | "ACTIVITY_TYPE_CREATE_USER_TAG" | "ACTIVITY_TYPE_DELETE_USER_TAGS" | "ACTIVITY_TYPE_CREATE_ORGANIZATION" | "ACTIVITY_TYPE_SIGN_TRANSACTION" | "ACTIVITY_TYPE_APPROVE_ACTIVITY" | "ACTIVITY_TYPE_REJECT_ACTIVITY" | "ACTIVITY_TYPE_DELETE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS" | "ACTIVITY_TYPE_SET_PAYMENT_METHOD" | "ACTIVITY_TYPE_ACTIVATE_BILLING_TIER" | "ACTIVITY_TYPE_DELETE_PAYMENT_METHOD" | "ACTIVITY_TYPE_CREATE_POLICY_V2" | "ACTIVITY_TYPE_CREATE_POLICY_V3" | "ACTIVITY_TYPE_CREATE_API_ONLY_USERS" | "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM";
1632
+ type: "ACTIVITY_TYPE_CREATE_API_KEYS" | "ACTIVITY_TYPE_CREATE_USERS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD" | "ACTIVITY_TYPE_CREATE_INVITATIONS" | "ACTIVITY_TYPE_ACCEPT_INVITATION" | "ACTIVITY_TYPE_CREATE_POLICY" | "ACTIVITY_TYPE_DISABLE_PRIVATE_KEY" | "ACTIVITY_TYPE_DELETE_USERS" | "ACTIVITY_TYPE_DELETE_API_KEYS" | "ACTIVITY_TYPE_DELETE_INVITATION" | "ACTIVITY_TYPE_DELETE_ORGANIZATION" | "ACTIVITY_TYPE_DELETE_POLICY" | "ACTIVITY_TYPE_CREATE_USER_TAG" | "ACTIVITY_TYPE_DELETE_USER_TAGS" | "ACTIVITY_TYPE_CREATE_ORGANIZATION" | "ACTIVITY_TYPE_SIGN_TRANSACTION" | "ACTIVITY_TYPE_APPROVE_ACTIVITY" | "ACTIVITY_TYPE_REJECT_ACTIVITY" | "ACTIVITY_TYPE_DELETE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS" | "ACTIVITY_TYPE_SET_PAYMENT_METHOD" | "ACTIVITY_TYPE_ACTIVATE_BILLING_TIER" | "ACTIVITY_TYPE_DELETE_PAYMENT_METHOD" | "ACTIVITY_TYPE_CREATE_POLICY_V2" | "ACTIVITY_TYPE_CREATE_POLICY_V3" | "ACTIVITY_TYPE_CREATE_API_ONLY_USERS" | "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM" | "ACTIVITY_TYPE_UPDATE_USER_TAG" | "ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG";
1559
1633
  intent: {
1560
1634
  createOrganizationIntent: {
1561
1635
  organizationName: string;
@@ -1652,7 +1726,7 @@ export declare const postCreateApiKeys: (input: TPostCreateApiKeysInput) => Prom
1652
1726
  createPrivateKeysIntent?: {
1653
1727
  privateKeys: {
1654
1728
  privateKeyName: string;
1655
- curve: "CURVE_SECP256K1";
1729
+ curve: "CURVE_SECP256K1" | "CURVE_ED25519";
1656
1730
  privateKeyTags: string[];
1657
1731
  addressFormats: ("ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM")[];
1658
1732
  }[];
@@ -1661,12 +1735,9 @@ export declare const postCreateApiKeys: (input: TPostCreateApiKeysInput) => Prom
1661
1735
  privateKeyId: string;
1662
1736
  payload: string;
1663
1737
  encoding: "PAYLOAD_ENCODING_HEXADECIMAL" | "PAYLOAD_ENCODING_TEXT_UTF8";
1664
- hashFunction: "HASH_FUNCTION_NO_OP" | "HASH_FUNCTION_SHA256" | "HASH_FUNCTION_KECCAK256";
1738
+ hashFunction: "HASH_FUNCTION_NO_OP" | "HASH_FUNCTION_SHA256" | "HASH_FUNCTION_KECCAK256" | "HASH_FUNCTION_NOT_APPLICABLE";
1665
1739
  };
1666
1740
  createInvitationsIntent?: {
1667
- /**
1668
- * `POST /public/v1/submit/sign_transaction`
1669
- */
1670
1741
  invitations: {
1671
1742
  receiverUserName: string;
1672
1743
  receiverUserEmail: string;
@@ -1706,9 +1777,6 @@ export declare const postCreateApiKeys: (input: TPostCreateApiKeysInput) => Prom
1706
1777
  createPolicyIntent?: {
1707
1778
  policyName: string;
1708
1779
  selectors: {
1709
- /**
1710
- * `POST /public/v1/query/whoami`
1711
- */
1712
1780
  subject?: string;
1713
1781
  operator?: "OPERATOR_EQUAL" | "OPERATOR_MORE_THAN" | "OPERATOR_MORE_THAN_OR_EQUAL" | "OPERATOR_LESS_THAN" | "OPERATOR_LESS_THAN_OR_EQUAL" | "OPERATOR_CONTAINS" | "OPERATOR_NOT_EQUAL" | "OPERATOR_IN" | "OPERATOR_NOT_IN" | "OPERATOR_CONTAINS_ONE" | "OPERATOR_CONTAINS_ALL";
1714
1782
  target?: string;
@@ -1752,9 +1820,6 @@ export declare const postCreateApiKeys: (input: TPostCreateApiKeysInput) => Prom
1752
1820
  apiKeyName: string;
1753
1821
  publicKey: string;
1754
1822
  }[];
1755
- /**
1756
- * `POST /public/v1/submit/delete_policy`
1757
- */
1758
1823
  userId: string;
1759
1824
  };
1760
1825
  deleteApiKeysIntent?: {
@@ -1820,6 +1885,18 @@ export declare const postCreateApiKeys: (input: TPostCreateApiKeysInput) => Prom
1820
1885
  threshold: number;
1821
1886
  userIds: string[];
1822
1887
  };
1888
+ updateUserTagIntent?: {
1889
+ userTagId: string;
1890
+ newUserTagName?: string;
1891
+ addUserIds: string[];
1892
+ removeUserIds: string[];
1893
+ };
1894
+ updatePrivateKeyTagIntent?: {
1895
+ privateKeyTagId: string;
1896
+ newPrivateKeyTagName?: string;
1897
+ addPrivateKeyIds: string[];
1898
+ removePrivateKeyIds: string[];
1899
+ };
1823
1900
  };
1824
1901
  result: {
1825
1902
  createOrganizationResult?: {
@@ -1909,6 +1986,12 @@ export declare const postCreateApiKeys: (input: TPostCreateApiKeysInput) => Prom
1909
1986
  updateRootQuorumResult?: {
1910
1987
  [key: string]: unknown;
1911
1988
  };
1989
+ updateUserTagResult?: {
1990
+ userTagId: string;
1991
+ };
1992
+ updatePrivateKeyTagResult?: {
1993
+ privateKeyTagId: string;
1994
+ };
1912
1995
  };
1913
1996
  votes: {
1914
1997
  id: string;
@@ -1991,32 +2074,32 @@ export declare const postCreateApiKeys: (input: TPostCreateApiKeysInput) => Prom
1991
2074
  };
1992
2075
  }>;
1993
2076
  /**
1994
- * `POST /public/v1/submit/create_api_only_users`
2077
+ * `POST /public/v1/submit/create_api_keys`
1995
2078
  */
1996
- type TPostCreateApiOnlyUsersBody = operations["PublicApiService_CreateApiOnlyUsers"]["parameters"]["body"]["body"];
2079
+ type TPostCreateApiKeysBody = operations["PublicApiService_CreateApiKeys"]["parameters"]["body"]["body"];
1997
2080
  /**
1998
- * `POST /public/v1/submit/create_api_only_users`
2081
+ * `POST /public/v1/submit/create_api_keys`
1999
2082
  */
2000
- export type TPostCreateApiOnlyUsersResponse = operations["PublicApiService_CreateApiOnlyUsers"]["responses"]["200"]["schema"];
2083
+ export type TPostCreateApiKeysResponse = operations["PublicApiService_CreateApiKeys"]["responses"]["200"]["schema"];
2001
2084
  /**
2002
- * `POST /public/v1/submit/create_api_only_users`
2085
+ * `POST /public/v1/submit/create_api_keys`
2003
2086
  */
2004
- export type TPostCreateApiOnlyUsersInput = {
2005
- body: TPostCreateApiOnlyUsersBody;
2087
+ export type TPostCreateApiKeysInput = {
2088
+ body: TPostCreateApiKeysBody;
2006
2089
  };
2007
2090
  /**
2008
- * Create API-only Users
2091
+ * Create API Keys
2009
2092
  *
2010
- * Create API-only Users in an existing Organization
2093
+ * Add api keys to an existing User
2011
2094
  *
2012
- * `POST /public/v1/submit/create_api_only_users`
2095
+ * `POST /public/v1/submit/create_api_keys`
2013
2096
  */
2014
- export declare const postCreateApiOnlyUsers: (input: TPostCreateApiOnlyUsersInput) => Promise<{
2097
+ export declare const postCreateApiKeys: (input: TPostCreateApiKeysInput) => Promise<{
2015
2098
  activity: {
2016
2099
  id: string;
2017
2100
  organizationId: string;
2018
2101
  status: "ACTIVITY_STATUS_CREATED" | "ACTIVITY_STATUS_PENDING" | "ACTIVITY_STATUS_COMPLETED" | "ACTIVITY_STATUS_FAILED" | "ACTIVITY_STATUS_CONSENSUS_NEEDED" | "ACTIVITY_STATUS_REJECTED";
2019
- type: "ACTIVITY_TYPE_CREATE_API_KEYS" | "ACTIVITY_TYPE_CREATE_USERS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD" | "ACTIVITY_TYPE_CREATE_INVITATIONS" | "ACTIVITY_TYPE_ACCEPT_INVITATION" | "ACTIVITY_TYPE_CREATE_POLICY" | "ACTIVITY_TYPE_DISABLE_PRIVATE_KEY" | "ACTIVITY_TYPE_DELETE_USERS" | "ACTIVITY_TYPE_DELETE_API_KEYS" | "ACTIVITY_TYPE_DELETE_INVITATION" | "ACTIVITY_TYPE_DELETE_ORGANIZATION" | "ACTIVITY_TYPE_DELETE_POLICY" | "ACTIVITY_TYPE_CREATE_USER_TAG" | "ACTIVITY_TYPE_DELETE_USER_TAGS" | "ACTIVITY_TYPE_CREATE_ORGANIZATION" | "ACTIVITY_TYPE_SIGN_TRANSACTION" | "ACTIVITY_TYPE_APPROVE_ACTIVITY" | "ACTIVITY_TYPE_REJECT_ACTIVITY" | "ACTIVITY_TYPE_DELETE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS" | "ACTIVITY_TYPE_SET_PAYMENT_METHOD" | "ACTIVITY_TYPE_ACTIVATE_BILLING_TIER" | "ACTIVITY_TYPE_DELETE_PAYMENT_METHOD" | "ACTIVITY_TYPE_CREATE_POLICY_V2" | "ACTIVITY_TYPE_CREATE_POLICY_V3" | "ACTIVITY_TYPE_CREATE_API_ONLY_USERS" | "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM";
2102
+ type: "ACTIVITY_TYPE_CREATE_API_KEYS" | "ACTIVITY_TYPE_CREATE_USERS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD" | "ACTIVITY_TYPE_CREATE_INVITATIONS" | "ACTIVITY_TYPE_ACCEPT_INVITATION" | "ACTIVITY_TYPE_CREATE_POLICY" | "ACTIVITY_TYPE_DISABLE_PRIVATE_KEY" | "ACTIVITY_TYPE_DELETE_USERS" | "ACTIVITY_TYPE_DELETE_API_KEYS" | "ACTIVITY_TYPE_DELETE_INVITATION" | "ACTIVITY_TYPE_DELETE_ORGANIZATION" | "ACTIVITY_TYPE_DELETE_POLICY" | "ACTIVITY_TYPE_CREATE_USER_TAG" | "ACTIVITY_TYPE_DELETE_USER_TAGS" | "ACTIVITY_TYPE_CREATE_ORGANIZATION" | "ACTIVITY_TYPE_SIGN_TRANSACTION" | "ACTIVITY_TYPE_APPROVE_ACTIVITY" | "ACTIVITY_TYPE_REJECT_ACTIVITY" | "ACTIVITY_TYPE_DELETE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS" | "ACTIVITY_TYPE_SET_PAYMENT_METHOD" | "ACTIVITY_TYPE_ACTIVATE_BILLING_TIER" | "ACTIVITY_TYPE_DELETE_PAYMENT_METHOD" | "ACTIVITY_TYPE_CREATE_POLICY_V2" | "ACTIVITY_TYPE_CREATE_POLICY_V3" | "ACTIVITY_TYPE_CREATE_API_ONLY_USERS" | "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM" | "ACTIVITY_TYPE_UPDATE_USER_TAG" | "ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG";
2020
2103
  intent: {
2021
2104
  createOrganizationIntent: {
2022
2105
  organizationName: string;
@@ -2113,7 +2196,7 @@ export declare const postCreateApiOnlyUsers: (input: TPostCreateApiOnlyUsersInpu
2113
2196
  createPrivateKeysIntent?: {
2114
2197
  privateKeys: {
2115
2198
  privateKeyName: string;
2116
- curve: "CURVE_SECP256K1";
2199
+ curve: "CURVE_SECP256K1" | "CURVE_ED25519";
2117
2200
  privateKeyTags: string[];
2118
2201
  addressFormats: ("ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM")[];
2119
2202
  }[];
@@ -2122,12 +2205,9 @@ export declare const postCreateApiOnlyUsers: (input: TPostCreateApiOnlyUsersInpu
2122
2205
  privateKeyId: string;
2123
2206
  payload: string;
2124
2207
  encoding: "PAYLOAD_ENCODING_HEXADECIMAL" | "PAYLOAD_ENCODING_TEXT_UTF8";
2125
- hashFunction: "HASH_FUNCTION_NO_OP" | "HASH_FUNCTION_SHA256" | "HASH_FUNCTION_KECCAK256";
2208
+ hashFunction: "HASH_FUNCTION_NO_OP" | "HASH_FUNCTION_SHA256" | "HASH_FUNCTION_KECCAK256" | "HASH_FUNCTION_NOT_APPLICABLE";
2126
2209
  };
2127
2210
  createInvitationsIntent?: {
2128
- /**
2129
- * `POST /public/v1/submit/sign_transaction`
2130
- */
2131
2211
  invitations: {
2132
2212
  receiverUserName: string;
2133
2213
  receiverUserEmail: string;
@@ -2167,9 +2247,6 @@ export declare const postCreateApiOnlyUsers: (input: TPostCreateApiOnlyUsersInpu
2167
2247
  createPolicyIntent?: {
2168
2248
  policyName: string;
2169
2249
  selectors: {
2170
- /**
2171
- * `POST /public/v1/query/whoami`
2172
- */
2173
2250
  subject?: string;
2174
2251
  operator?: "OPERATOR_EQUAL" | "OPERATOR_MORE_THAN" | "OPERATOR_MORE_THAN_OR_EQUAL" | "OPERATOR_LESS_THAN" | "OPERATOR_LESS_THAN_OR_EQUAL" | "OPERATOR_CONTAINS" | "OPERATOR_NOT_EQUAL" | "OPERATOR_IN" | "OPERATOR_NOT_IN" | "OPERATOR_CONTAINS_ONE" | "OPERATOR_CONTAINS_ALL";
2175
2252
  target?: string;
@@ -2213,9 +2290,6 @@ export declare const postCreateApiOnlyUsers: (input: TPostCreateApiOnlyUsersInpu
2213
2290
  apiKeyName: string;
2214
2291
  publicKey: string;
2215
2292
  }[];
2216
- /**
2217
- * `POST /public/v1/submit/delete_policy`
2218
- */
2219
2293
  userId: string;
2220
2294
  };
2221
2295
  deleteApiKeysIntent?: {
@@ -2281,6 +2355,18 @@ export declare const postCreateApiOnlyUsers: (input: TPostCreateApiOnlyUsersInpu
2281
2355
  threshold: number;
2282
2356
  userIds: string[];
2283
2357
  };
2358
+ updateUserTagIntent?: {
2359
+ userTagId: string;
2360
+ newUserTagName?: string;
2361
+ addUserIds: string[];
2362
+ removeUserIds: string[];
2363
+ };
2364
+ updatePrivateKeyTagIntent?: {
2365
+ privateKeyTagId: string;
2366
+ newPrivateKeyTagName?: string;
2367
+ addPrivateKeyIds: string[];
2368
+ removePrivateKeyIds: string[];
2369
+ };
2284
2370
  };
2285
2371
  result: {
2286
2372
  createOrganizationResult?: {
@@ -2370,6 +2456,12 @@ export declare const postCreateApiOnlyUsers: (input: TPostCreateApiOnlyUsersInpu
2370
2456
  updateRootQuorumResult?: {
2371
2457
  [key: string]: unknown;
2372
2458
  };
2459
+ updateUserTagResult?: {
2460
+ userTagId: string;
2461
+ };
2462
+ updatePrivateKeyTagResult?: {
2463
+ privateKeyTagId: string;
2464
+ };
2373
2465
  };
2374
2466
  votes: {
2375
2467
  id: string;
@@ -2452,32 +2544,1920 @@ export declare const postCreateApiOnlyUsers: (input: TPostCreateApiOnlyUsersInpu
2452
2544
  };
2453
2545
  }>;
2454
2546
  /**
2455
- * `POST /public/v1/submit/create_invitations`
2547
+ * `POST /public/v1/submit/create_api_only_users`
2456
2548
  */
2457
- type TPostCreateInvitationsBody = operations["PublicApiService_CreateInvitations"]["parameters"]["body"]["body"];
2549
+ type TPostCreateApiOnlyUsersBody = operations["PublicApiService_CreateApiOnlyUsers"]["parameters"]["body"]["body"];
2458
2550
  /**
2459
- * `POST /public/v1/submit/create_invitations`
2551
+ * `POST /public/v1/submit/create_api_only_users`
2552
+ */
2553
+ export type TPostCreateApiOnlyUsersResponse = operations["PublicApiService_CreateApiOnlyUsers"]["responses"]["200"]["schema"];
2554
+ /**
2555
+ * `POST /public/v1/submit/create_api_only_users`
2556
+ */
2557
+ export type TPostCreateApiOnlyUsersInput = {
2558
+ body: TPostCreateApiOnlyUsersBody;
2559
+ };
2560
+ /**
2561
+ * Create API-only Users
2562
+ *
2563
+ * Create API-only Users in an existing Organization
2564
+ *
2565
+ * `POST /public/v1/submit/create_api_only_users`
2566
+ */
2567
+ export declare const postCreateApiOnlyUsers: (input: TPostCreateApiOnlyUsersInput) => Promise<{
2568
+ activity: {
2569
+ id: string;
2570
+ organizationId: string;
2571
+ status: "ACTIVITY_STATUS_CREATED" | "ACTIVITY_STATUS_PENDING" | "ACTIVITY_STATUS_COMPLETED" | "ACTIVITY_STATUS_FAILED" | "ACTIVITY_STATUS_CONSENSUS_NEEDED" | "ACTIVITY_STATUS_REJECTED";
2572
+ type: "ACTIVITY_TYPE_CREATE_API_KEYS" | "ACTIVITY_TYPE_CREATE_USERS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD" | "ACTIVITY_TYPE_CREATE_INVITATIONS" | "ACTIVITY_TYPE_ACCEPT_INVITATION" | "ACTIVITY_TYPE_CREATE_POLICY" | "ACTIVITY_TYPE_DISABLE_PRIVATE_KEY" | "ACTIVITY_TYPE_DELETE_USERS" | "ACTIVITY_TYPE_DELETE_API_KEYS" | "ACTIVITY_TYPE_DELETE_INVITATION" | "ACTIVITY_TYPE_DELETE_ORGANIZATION" | "ACTIVITY_TYPE_DELETE_POLICY" | "ACTIVITY_TYPE_CREATE_USER_TAG" | "ACTIVITY_TYPE_DELETE_USER_TAGS" | "ACTIVITY_TYPE_CREATE_ORGANIZATION" | "ACTIVITY_TYPE_SIGN_TRANSACTION" | "ACTIVITY_TYPE_APPROVE_ACTIVITY" | "ACTIVITY_TYPE_REJECT_ACTIVITY" | "ACTIVITY_TYPE_DELETE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS" | "ACTIVITY_TYPE_SET_PAYMENT_METHOD" | "ACTIVITY_TYPE_ACTIVATE_BILLING_TIER" | "ACTIVITY_TYPE_DELETE_PAYMENT_METHOD" | "ACTIVITY_TYPE_CREATE_POLICY_V2" | "ACTIVITY_TYPE_CREATE_POLICY_V3" | "ACTIVITY_TYPE_CREATE_API_ONLY_USERS" | "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM" | "ACTIVITY_TYPE_UPDATE_USER_TAG" | "ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG";
2573
+ intent: {
2574
+ createOrganizationIntent: {
2575
+ organizationName: string;
2576
+ rootEmail: string;
2577
+ rootAuthenticator: {
2578
+ authenticatorName: string;
2579
+ userId: string;
2580
+ attestation: {
2581
+ id: string;
2582
+ type: "public-key";
2583
+ rawId: string;
2584
+ authenticatorAttachment?: "cross-platform" | "platform" | null;
2585
+ response: {
2586
+ clientDataJson: string;
2587
+ attestationObject: string;
2588
+ transports?: ("AUTHENTICATOR_TRANSPORT_BLE" | "AUTHENTICATOR_TRANSPORT_INTERNAL" | "AUTHENTICATOR_TRANSPORT_NFC" | "AUTHENTICATOR_TRANSPORT_USB" | "AUTHENTICATOR_TRANSPORT_HYBRID")[];
2589
+ authenticatorAttachment?: "cross-platform" | "platform" | null;
2590
+ };
2591
+ clientExtensionResults: {
2592
+ appid?: boolean;
2593
+ appidExclude?: boolean;
2594
+ credProps?: {
2595
+ rk: boolean;
2596
+ };
2597
+ };
2598
+ };
2599
+ challenge: string;
2600
+ };
2601
+ rootUserId?: string;
2602
+ };
2603
+ createAuthenticatorsIntent?: {
2604
+ authenticators: {
2605
+ authenticatorName: string;
2606
+ userId: string;
2607
+ attestation: {
2608
+ id: string;
2609
+ type: "public-key";
2610
+ rawId: string;
2611
+ authenticatorAttachment?: "cross-platform" | "platform" | null;
2612
+ response: {
2613
+ clientDataJson: string;
2614
+ attestationObject: string;
2615
+ transports?: ("AUTHENTICATOR_TRANSPORT_BLE" | "AUTHENTICATOR_TRANSPORT_INTERNAL" | "AUTHENTICATOR_TRANSPORT_NFC" | "AUTHENTICATOR_TRANSPORT_USB" | "AUTHENTICATOR_TRANSPORT_HYBRID")[];
2616
+ authenticatorAttachment?: "cross-platform" | "platform" | null;
2617
+ };
2618
+ clientExtensionResults: {
2619
+ appid?: boolean;
2620
+ appidExclude?: boolean;
2621
+ credProps?: {
2622
+ rk: boolean;
2623
+ };
2624
+ };
2625
+ };
2626
+ challenge: string;
2627
+ }[];
2628
+ userId: string;
2629
+ };
2630
+ createUsersIntent?: {
2631
+ users: {
2632
+ userName: string;
2633
+ userEmail?: string;
2634
+ accessType: "ACCESS_TYPE_WEB" | "ACCESS_TYPE_API" | "ACCESS_TYPE_ALL";
2635
+ apiKeys: {
2636
+ apiKeyName: string;
2637
+ publicKey: string;
2638
+ }[];
2639
+ authenticators: {
2640
+ authenticatorName: string;
2641
+ userId: string;
2642
+ attestation: {
2643
+ id: string;
2644
+ type: "public-key";
2645
+ rawId: string;
2646
+ authenticatorAttachment?: "cross-platform" | "platform" | null;
2647
+ response: {
2648
+ clientDataJson: string;
2649
+ attestationObject: string;
2650
+ transports?: ("AUTHENTICATOR_TRANSPORT_BLE" | "AUTHENTICATOR_TRANSPORT_INTERNAL" | "AUTHENTICATOR_TRANSPORT_NFC" | "AUTHENTICATOR_TRANSPORT_USB" | "AUTHENTICATOR_TRANSPORT_HYBRID")[];
2651
+ authenticatorAttachment?: "cross-platform" | "platform" | null;
2652
+ };
2653
+ clientExtensionResults: {
2654
+ appid?: boolean;
2655
+ appidExclude?: boolean;
2656
+ credProps?: {
2657
+ rk: boolean;
2658
+ };
2659
+ };
2660
+ };
2661
+ challenge: string;
2662
+ }[];
2663
+ userTags: string[];
2664
+ }[];
2665
+ };
2666
+ createPrivateKeysIntent?: {
2667
+ privateKeys: {
2668
+ privateKeyName: string;
2669
+ curve: "CURVE_SECP256K1" | "CURVE_ED25519";
2670
+ privateKeyTags: string[];
2671
+ addressFormats: ("ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM")[];
2672
+ }[];
2673
+ };
2674
+ signRawPayloadIntent?: {
2675
+ privateKeyId: string;
2676
+ payload: string;
2677
+ encoding: "PAYLOAD_ENCODING_HEXADECIMAL" | "PAYLOAD_ENCODING_TEXT_UTF8";
2678
+ hashFunction: "HASH_FUNCTION_NO_OP" | "HASH_FUNCTION_SHA256" | "HASH_FUNCTION_KECCAK256" | "HASH_FUNCTION_NOT_APPLICABLE";
2679
+ };
2680
+ createInvitationsIntent?: {
2681
+ invitations: {
2682
+ receiverUserName: string;
2683
+ receiverUserEmail: string;
2684
+ receiverUserTags: string[];
2685
+ accessType: "ACCESS_TYPE_WEB" | "ACCESS_TYPE_API" | "ACCESS_TYPE_ALL";
2686
+ senderUserId: string;
2687
+ }[];
2688
+ };
2689
+ acceptInvitationIntent?: {
2690
+ invitationId: string;
2691
+ userId: string;
2692
+ authenticator: {
2693
+ authenticatorName: string;
2694
+ userId: string;
2695
+ attestation: {
2696
+ id: string;
2697
+ type: "public-key";
2698
+ rawId: string;
2699
+ authenticatorAttachment?: "cross-platform" | "platform" | null;
2700
+ response: {
2701
+ clientDataJson: string;
2702
+ attestationObject: string;
2703
+ transports?: ("AUTHENTICATOR_TRANSPORT_BLE" | "AUTHENTICATOR_TRANSPORT_INTERNAL" | "AUTHENTICATOR_TRANSPORT_NFC" | "AUTHENTICATOR_TRANSPORT_USB" | "AUTHENTICATOR_TRANSPORT_HYBRID")[];
2704
+ authenticatorAttachment?: "cross-platform" | "platform" | null;
2705
+ };
2706
+ clientExtensionResults: {
2707
+ appid?: boolean;
2708
+ appidExclude?: boolean;
2709
+ credProps?: {
2710
+ rk: boolean;
2711
+ };
2712
+ };
2713
+ };
2714
+ challenge: string;
2715
+ };
2716
+ };
2717
+ createPolicyIntent?: {
2718
+ policyName: string;
2719
+ selectors: {
2720
+ subject?: string;
2721
+ operator?: "OPERATOR_EQUAL" | "OPERATOR_MORE_THAN" | "OPERATOR_MORE_THAN_OR_EQUAL" | "OPERATOR_LESS_THAN" | "OPERATOR_LESS_THAN_OR_EQUAL" | "OPERATOR_CONTAINS" | "OPERATOR_NOT_EQUAL" | "OPERATOR_IN" | "OPERATOR_NOT_IN" | "OPERATOR_CONTAINS_ONE" | "OPERATOR_CONTAINS_ALL";
2722
+ target?: string;
2723
+ }[];
2724
+ effect: "EFFECT_ALLOW" | "EFFECT_DENY";
2725
+ notes?: string;
2726
+ };
2727
+ disablePrivateKeyIntent?: {
2728
+ privateKeyId: string;
2729
+ };
2730
+ deleteUsersIntent?: {
2731
+ userIds: string[];
2732
+ };
2733
+ deleteAuthenticatorsIntent?: {
2734
+ userId: string;
2735
+ authenticatorIds: string[];
2736
+ };
2737
+ deleteInvitationIntent?: {
2738
+ invitationId: string;
2739
+ };
2740
+ deleteOrganizationIntent?: {
2741
+ organizationId: string;
2742
+ };
2743
+ deletePolicyIntent?: {
2744
+ policyId: string;
2745
+ };
2746
+ createUserTagIntent?: {
2747
+ userTagName: string;
2748
+ userIds: string[];
2749
+ };
2750
+ deleteUserTagsIntent?: {
2751
+ userTagIds: string[];
2752
+ };
2753
+ signTransactionIntent?: {
2754
+ privateKeyId: string;
2755
+ unsignedTransaction: string;
2756
+ type: "TRANSACTION_TYPE_ETHEREUM";
2757
+ };
2758
+ createApiKeysIntent?: {
2759
+ apiKeys: {
2760
+ apiKeyName: string;
2761
+ publicKey: string;
2762
+ }[];
2763
+ userId: string;
2764
+ };
2765
+ deleteApiKeysIntent?: {
2766
+ userId: string;
2767
+ apiKeyIds: string[];
2768
+ };
2769
+ approveActivityIntent?: {
2770
+ fingerprint: string;
2771
+ };
2772
+ rejectActivityIntent?: {
2773
+ fingerprint: string;
2774
+ };
2775
+ createPrivateKeyTagIntent?: {
2776
+ privateKeyTagName: string;
2777
+ privateKeyIds: string[];
2778
+ };
2779
+ deletePrivateKeyTagsIntent?: {
2780
+ privateKeyTagIds: string[];
2781
+ };
2782
+ createPolicyIntentV2?: {
2783
+ policyName: string;
2784
+ selectors: {
2785
+ subject?: string;
2786
+ operator?: "OPERATOR_EQUAL" | "OPERATOR_MORE_THAN" | "OPERATOR_MORE_THAN_OR_EQUAL" | "OPERATOR_LESS_THAN" | "OPERATOR_LESS_THAN_OR_EQUAL" | "OPERATOR_CONTAINS" | "OPERATOR_NOT_EQUAL" | "OPERATOR_IN" | "OPERATOR_NOT_IN" | "OPERATOR_CONTAINS_ONE" | "OPERATOR_CONTAINS_ALL";
2787
+ targets?: string[];
2788
+ }[];
2789
+ effect: "EFFECT_ALLOW" | "EFFECT_DENY";
2790
+ notes?: string;
2791
+ };
2792
+ setPaymentMethodIntent?: {
2793
+ number: string;
2794
+ cvv: string;
2795
+ expiryMonth: string;
2796
+ expiryYear: string;
2797
+ cardHolderEmail: string;
2798
+ cardHolderName: string;
2799
+ };
2800
+ activateBillingTierIntent?: {
2801
+ productId: string;
2802
+ };
2803
+ deletePaymentMethodIntent?: {
2804
+ paymentMethodId: string;
2805
+ };
2806
+ createPolicyIntentV3?: {
2807
+ policyName: string;
2808
+ effect: "EFFECT_ALLOW" | "EFFECT_DENY";
2809
+ condition?: string;
2810
+ consensus?: string;
2811
+ notes?: string;
2812
+ };
2813
+ createApiOnlyUsersIntent?: {
2814
+ apiOnlyUsers: {
2815
+ userName: string;
2816
+ userEmail?: string;
2817
+ userTags: string[];
2818
+ apiKeys: {
2819
+ apiKeyName: string;
2820
+ publicKey: string;
2821
+ }[];
2822
+ }[];
2823
+ };
2824
+ updateRootQuorumIntent?: {
2825
+ threshold: number;
2826
+ userIds: string[];
2827
+ };
2828
+ updateUserTagIntent?: {
2829
+ userTagId: string;
2830
+ newUserTagName?: string;
2831
+ addUserIds: string[];
2832
+ removeUserIds: string[];
2833
+ };
2834
+ updatePrivateKeyTagIntent?: {
2835
+ privateKeyTagId: string;
2836
+ newPrivateKeyTagName?: string;
2837
+ addPrivateKeyIds: string[];
2838
+ removePrivateKeyIds: string[];
2839
+ };
2840
+ };
2841
+ result: {
2842
+ createOrganizationResult?: {
2843
+ organizationId: string;
2844
+ };
2845
+ createAuthenticatorsResult?: {
2846
+ authenticatorIds: string[];
2847
+ };
2848
+ createUsersResult?: {
2849
+ userIds: string[];
2850
+ };
2851
+ createPrivateKeysResult?: {
2852
+ privateKeyIds: string[];
2853
+ };
2854
+ createInvitationsResult?: {
2855
+ invitationIds: string[];
2856
+ };
2857
+ acceptInvitationResult?: {
2858
+ invitationId: string;
2859
+ userId: string;
2860
+ };
2861
+ signRawPayloadResult?: {
2862
+ r: string;
2863
+ s: string;
2864
+ v: string;
2865
+ };
2866
+ createPolicyResult?: {
2867
+ policyId: string;
2868
+ };
2869
+ disablePrivateKeyResult?: {
2870
+ privateKeyId: string;
2871
+ };
2872
+ deleteUsersResult?: {
2873
+ userIds: string[];
2874
+ };
2875
+ deleteAuthenticatorsResult?: {
2876
+ authenticatorIds: string[];
2877
+ };
2878
+ deleteInvitationResult?: {
2879
+ invitationId: string;
2880
+ };
2881
+ deleteOrganizationResult?: {
2882
+ organizationId: string;
2883
+ };
2884
+ deletePolicyResult?: {
2885
+ policyId: string;
2886
+ };
2887
+ createUserTagResult?: {
2888
+ userTagId: string;
2889
+ userIds: string[];
2890
+ };
2891
+ deleteUserTagsResult?: {
2892
+ userTagIds: string[];
2893
+ userIds: string[];
2894
+ };
2895
+ signTransactionResult?: {
2896
+ signedTransaction: string;
2897
+ };
2898
+ deleteApiKeysResult?: {
2899
+ apiKeyIds: string[];
2900
+ };
2901
+ createApiKeysResult?: {
2902
+ apiKeyIds: string[];
2903
+ };
2904
+ createPrivateKeyTagResult?: {
2905
+ privateKeyTagId: string;
2906
+ privateKeyIds: string[];
2907
+ };
2908
+ deletePrivateKeyTagsResult?: {
2909
+ privateKeyTagIds: string[];
2910
+ privateKeyIds: string[];
2911
+ };
2912
+ setPaymentMethodResult?: {
2913
+ lastFour: string;
2914
+ cardHolderName: string;
2915
+ cardHolderEmail: string;
2916
+ };
2917
+ activateBillingTierResult?: {
2918
+ productId: string;
2919
+ };
2920
+ deletePaymentMethodResult?: {
2921
+ paymentMethodId: string;
2922
+ };
2923
+ createApiOnlyUsersResult?: {
2924
+ userIds: string[];
2925
+ };
2926
+ updateRootQuorumResult?: {
2927
+ [key: string]: unknown;
2928
+ };
2929
+ updateUserTagResult?: {
2930
+ userTagId: string;
2931
+ };
2932
+ updatePrivateKeyTagResult?: {
2933
+ privateKeyTagId: string;
2934
+ };
2935
+ };
2936
+ votes: {
2937
+ id: string;
2938
+ userId: string;
2939
+ user: {
2940
+ userId: string;
2941
+ userName: string;
2942
+ userEmail?: string;
2943
+ accessType: "ACCESS_TYPE_WEB" | "ACCESS_TYPE_API" | "ACCESS_TYPE_ALL";
2944
+ authenticators: {
2945
+ transports: ("AUTHENTICATOR_TRANSPORT_BLE" | "AUTHENTICATOR_TRANSPORT_INTERNAL" | "AUTHENTICATOR_TRANSPORT_NFC" | "AUTHENTICATOR_TRANSPORT_USB" | "AUTHENTICATOR_TRANSPORT_HYBRID")[];
2946
+ attestationType: string;
2947
+ aaguid: string;
2948
+ userId: string;
2949
+ credentialId: string;
2950
+ model: string;
2951
+ credential: {
2952
+ publicKey: string;
2953
+ type: "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR" | "CREDENTIAL_TYPE_API_KEY_P256";
2954
+ };
2955
+ authenticatorId: string;
2956
+ authenticatorName: string;
2957
+ createdAt: {
2958
+ seconds: string;
2959
+ nanos: string;
2960
+ };
2961
+ updatedAt: {
2962
+ seconds: string;
2963
+ nanos: string;
2964
+ };
2965
+ }[];
2966
+ apiKeys: {
2967
+ credential: {
2968
+ publicKey: string;
2969
+ type: "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR" | "CREDENTIAL_TYPE_API_KEY_P256";
2970
+ };
2971
+ apiKeyId: string;
2972
+ apiKeyName: string;
2973
+ createdAt: {
2974
+ seconds: string;
2975
+ nanos: string;
2976
+ };
2977
+ updatedAt: {
2978
+ seconds: string;
2979
+ nanos: string;
2980
+ };
2981
+ }[];
2982
+ userTags: string[];
2983
+ createdAt: {
2984
+ seconds: string;
2985
+ nanos: string;
2986
+ };
2987
+ updatedAt: {
2988
+ seconds: string;
2989
+ nanos: string;
2990
+ };
2991
+ };
2992
+ activityId: string;
2993
+ selection: "VOTE_SELECTION_APPROVED" | "VOTE_SELECTION_REJECTED";
2994
+ message: string;
2995
+ publicKey: string;
2996
+ signature: string;
2997
+ scheme: string;
2998
+ createdAt: {
2999
+ seconds: string;
3000
+ nanos: string;
3001
+ };
3002
+ }[];
3003
+ fingerprint: string;
3004
+ canApprove: boolean;
3005
+ canReject: boolean;
3006
+ createdAt: {
3007
+ seconds: string;
3008
+ nanos: string;
3009
+ };
3010
+ updatedAt: {
3011
+ seconds: string;
3012
+ nanos: string;
3013
+ };
3014
+ };
3015
+ }>;
3016
+ /**
3017
+ * `POST /public/v1/submit/create_invitations`
3018
+ */
3019
+ type TPostCreateInvitationsBody = operations["PublicApiService_CreateInvitations"]["parameters"]["body"]["body"];
3020
+ /**
3021
+ * `POST /public/v1/submit/create_invitations`
3022
+ */
3023
+ export type TPostCreateInvitationsResponse = operations["PublicApiService_CreateInvitations"]["responses"]["200"]["schema"];
3024
+ /**
3025
+ * `POST /public/v1/submit/create_invitations`
3026
+ */
3027
+ export type TPostCreateInvitationsInput = {
3028
+ body: TPostCreateInvitationsBody;
3029
+ };
3030
+ /**
3031
+ * Create Invitations
3032
+ *
3033
+ * Create Invitations to join an existing Organization
3034
+ *
3035
+ * `POST /public/v1/submit/create_invitations`
3036
+ */
3037
+ export declare const postCreateInvitations: (input: TPostCreateInvitationsInput) => Promise<{
3038
+ activity: {
3039
+ id: string;
3040
+ organizationId: string;
3041
+ status: "ACTIVITY_STATUS_CREATED" | "ACTIVITY_STATUS_PENDING" | "ACTIVITY_STATUS_COMPLETED" | "ACTIVITY_STATUS_FAILED" | "ACTIVITY_STATUS_CONSENSUS_NEEDED" | "ACTIVITY_STATUS_REJECTED";
3042
+ type: "ACTIVITY_TYPE_CREATE_API_KEYS" | "ACTIVITY_TYPE_CREATE_USERS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD" | "ACTIVITY_TYPE_CREATE_INVITATIONS" | "ACTIVITY_TYPE_ACCEPT_INVITATION" | "ACTIVITY_TYPE_CREATE_POLICY" | "ACTIVITY_TYPE_DISABLE_PRIVATE_KEY" | "ACTIVITY_TYPE_DELETE_USERS" | "ACTIVITY_TYPE_DELETE_API_KEYS" | "ACTIVITY_TYPE_DELETE_INVITATION" | "ACTIVITY_TYPE_DELETE_ORGANIZATION" | "ACTIVITY_TYPE_DELETE_POLICY" | "ACTIVITY_TYPE_CREATE_USER_TAG" | "ACTIVITY_TYPE_DELETE_USER_TAGS" | "ACTIVITY_TYPE_CREATE_ORGANIZATION" | "ACTIVITY_TYPE_SIGN_TRANSACTION" | "ACTIVITY_TYPE_APPROVE_ACTIVITY" | "ACTIVITY_TYPE_REJECT_ACTIVITY" | "ACTIVITY_TYPE_DELETE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS" | "ACTIVITY_TYPE_SET_PAYMENT_METHOD" | "ACTIVITY_TYPE_ACTIVATE_BILLING_TIER" | "ACTIVITY_TYPE_DELETE_PAYMENT_METHOD" | "ACTIVITY_TYPE_CREATE_POLICY_V2" | "ACTIVITY_TYPE_CREATE_POLICY_V3" | "ACTIVITY_TYPE_CREATE_API_ONLY_USERS" | "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM" | "ACTIVITY_TYPE_UPDATE_USER_TAG" | "ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG";
3043
+ intent: {
3044
+ createOrganizationIntent: {
3045
+ organizationName: string;
3046
+ rootEmail: string;
3047
+ rootAuthenticator: {
3048
+ authenticatorName: string;
3049
+ userId: string;
3050
+ attestation: {
3051
+ id: string;
3052
+ type: "public-key";
3053
+ rawId: string;
3054
+ authenticatorAttachment?: "cross-platform" | "platform" | null;
3055
+ response: {
3056
+ clientDataJson: string;
3057
+ attestationObject: string;
3058
+ transports?: ("AUTHENTICATOR_TRANSPORT_BLE" | "AUTHENTICATOR_TRANSPORT_INTERNAL" | "AUTHENTICATOR_TRANSPORT_NFC" | "AUTHENTICATOR_TRANSPORT_USB" | "AUTHENTICATOR_TRANSPORT_HYBRID")[];
3059
+ authenticatorAttachment?: "cross-platform" | "platform" | null;
3060
+ };
3061
+ clientExtensionResults: {
3062
+ appid?: boolean;
3063
+ appidExclude?: boolean;
3064
+ credProps?: {
3065
+ rk: boolean;
3066
+ };
3067
+ };
3068
+ };
3069
+ challenge: string;
3070
+ };
3071
+ rootUserId?: string;
3072
+ };
3073
+ createAuthenticatorsIntent?: {
3074
+ authenticators: {
3075
+ authenticatorName: string;
3076
+ userId: string;
3077
+ attestation: {
3078
+ id: string;
3079
+ type: "public-key";
3080
+ rawId: string;
3081
+ authenticatorAttachment?: "cross-platform" | "platform" | null;
3082
+ response: {
3083
+ clientDataJson: string;
3084
+ attestationObject: string;
3085
+ transports?: ("AUTHENTICATOR_TRANSPORT_BLE" | "AUTHENTICATOR_TRANSPORT_INTERNAL" | "AUTHENTICATOR_TRANSPORT_NFC" | "AUTHENTICATOR_TRANSPORT_USB" | "AUTHENTICATOR_TRANSPORT_HYBRID")[];
3086
+ authenticatorAttachment?: "cross-platform" | "platform" | null;
3087
+ };
3088
+ clientExtensionResults: {
3089
+ appid?: boolean;
3090
+ appidExclude?: boolean;
3091
+ credProps?: {
3092
+ rk: boolean;
3093
+ };
3094
+ };
3095
+ };
3096
+ challenge: string;
3097
+ }[];
3098
+ userId: string;
3099
+ };
3100
+ createUsersIntent?: {
3101
+ users: {
3102
+ userName: string;
3103
+ userEmail?: string;
3104
+ accessType: "ACCESS_TYPE_WEB" | "ACCESS_TYPE_API" | "ACCESS_TYPE_ALL";
3105
+ apiKeys: {
3106
+ apiKeyName: string;
3107
+ publicKey: string;
3108
+ }[];
3109
+ authenticators: {
3110
+ authenticatorName: string;
3111
+ userId: string;
3112
+ attestation: {
3113
+ id: string;
3114
+ type: "public-key";
3115
+ rawId: string;
3116
+ authenticatorAttachment?: "cross-platform" | "platform" | null;
3117
+ response: {
3118
+ clientDataJson: string;
3119
+ attestationObject: string;
3120
+ transports?: ("AUTHENTICATOR_TRANSPORT_BLE" | "AUTHENTICATOR_TRANSPORT_INTERNAL" | "AUTHENTICATOR_TRANSPORT_NFC" | "AUTHENTICATOR_TRANSPORT_USB" | "AUTHENTICATOR_TRANSPORT_HYBRID")[];
3121
+ authenticatorAttachment?: "cross-platform" | "platform" | null;
3122
+ };
3123
+ clientExtensionResults: {
3124
+ appid?: boolean;
3125
+ appidExclude?: boolean;
3126
+ credProps?: {
3127
+ rk: boolean;
3128
+ };
3129
+ };
3130
+ };
3131
+ challenge: string;
3132
+ }[];
3133
+ userTags: string[];
3134
+ }[];
3135
+ };
3136
+ createPrivateKeysIntent?: {
3137
+ privateKeys: {
3138
+ privateKeyName: string;
3139
+ curve: "CURVE_SECP256K1" | "CURVE_ED25519";
3140
+ privateKeyTags: string[];
3141
+ addressFormats: ("ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM")[];
3142
+ }[];
3143
+ };
3144
+ signRawPayloadIntent?: {
3145
+ privateKeyId: string;
3146
+ payload: string;
3147
+ encoding: "PAYLOAD_ENCODING_HEXADECIMAL" | "PAYLOAD_ENCODING_TEXT_UTF8";
3148
+ hashFunction: "HASH_FUNCTION_NO_OP" | "HASH_FUNCTION_SHA256" | "HASH_FUNCTION_KECCAK256" | "HASH_FUNCTION_NOT_APPLICABLE";
3149
+ };
3150
+ createInvitationsIntent?: {
3151
+ invitations: {
3152
+ receiverUserName: string;
3153
+ receiverUserEmail: string;
3154
+ receiverUserTags: string[];
3155
+ accessType: "ACCESS_TYPE_WEB" | "ACCESS_TYPE_API" | "ACCESS_TYPE_ALL";
3156
+ senderUserId: string;
3157
+ }[];
3158
+ };
3159
+ acceptInvitationIntent?: {
3160
+ invitationId: string;
3161
+ userId: string;
3162
+ authenticator: {
3163
+ authenticatorName: string;
3164
+ userId: string;
3165
+ attestation: {
3166
+ id: string;
3167
+ type: "public-key";
3168
+ rawId: string;
3169
+ authenticatorAttachment?: "cross-platform" | "platform" | null;
3170
+ response: {
3171
+ clientDataJson: string;
3172
+ attestationObject: string;
3173
+ transports?: ("AUTHENTICATOR_TRANSPORT_BLE" | "AUTHENTICATOR_TRANSPORT_INTERNAL" | "AUTHENTICATOR_TRANSPORT_NFC" | "AUTHENTICATOR_TRANSPORT_USB" | "AUTHENTICATOR_TRANSPORT_HYBRID")[];
3174
+ authenticatorAttachment?: "cross-platform" | "platform" | null;
3175
+ };
3176
+ clientExtensionResults: {
3177
+ appid?: boolean;
3178
+ appidExclude?: boolean;
3179
+ credProps?: {
3180
+ rk: boolean;
3181
+ };
3182
+ };
3183
+ };
3184
+ challenge: string;
3185
+ };
3186
+ };
3187
+ createPolicyIntent?: {
3188
+ policyName: string;
3189
+ selectors: {
3190
+ subject?: string;
3191
+ operator?: "OPERATOR_EQUAL" | "OPERATOR_MORE_THAN" | "OPERATOR_MORE_THAN_OR_EQUAL" | "OPERATOR_LESS_THAN" | "OPERATOR_LESS_THAN_OR_EQUAL" | "OPERATOR_CONTAINS" | "OPERATOR_NOT_EQUAL" | "OPERATOR_IN" | "OPERATOR_NOT_IN" | "OPERATOR_CONTAINS_ONE" | "OPERATOR_CONTAINS_ALL";
3192
+ target?: string;
3193
+ }[];
3194
+ effect: "EFFECT_ALLOW" | "EFFECT_DENY";
3195
+ notes?: string;
3196
+ };
3197
+ disablePrivateKeyIntent?: {
3198
+ privateKeyId: string;
3199
+ };
3200
+ deleteUsersIntent?: {
3201
+ userIds: string[];
3202
+ };
3203
+ deleteAuthenticatorsIntent?: {
3204
+ userId: string;
3205
+ authenticatorIds: string[];
3206
+ };
3207
+ deleteInvitationIntent?: {
3208
+ invitationId: string;
3209
+ };
3210
+ deleteOrganizationIntent?: {
3211
+ organizationId: string;
3212
+ };
3213
+ deletePolicyIntent?: {
3214
+ policyId: string;
3215
+ };
3216
+ createUserTagIntent?: {
3217
+ userTagName: string;
3218
+ userIds: string[];
3219
+ };
3220
+ deleteUserTagsIntent?: {
3221
+ userTagIds: string[];
3222
+ };
3223
+ signTransactionIntent?: {
3224
+ privateKeyId: string;
3225
+ unsignedTransaction: string;
3226
+ type: "TRANSACTION_TYPE_ETHEREUM";
3227
+ };
3228
+ createApiKeysIntent?: {
3229
+ apiKeys: {
3230
+ apiKeyName: string;
3231
+ publicKey: string;
3232
+ }[];
3233
+ userId: string;
3234
+ };
3235
+ deleteApiKeysIntent?: {
3236
+ userId: string;
3237
+ apiKeyIds: string[];
3238
+ };
3239
+ approveActivityIntent?: {
3240
+ fingerprint: string;
3241
+ };
3242
+ rejectActivityIntent?: {
3243
+ fingerprint: string;
3244
+ };
3245
+ createPrivateKeyTagIntent?: {
3246
+ privateKeyTagName: string;
3247
+ privateKeyIds: string[];
3248
+ };
3249
+ deletePrivateKeyTagsIntent?: {
3250
+ privateKeyTagIds: string[];
3251
+ };
3252
+ createPolicyIntentV2?: {
3253
+ policyName: string;
3254
+ selectors: {
3255
+ subject?: string;
3256
+ operator?: "OPERATOR_EQUAL" | "OPERATOR_MORE_THAN" | "OPERATOR_MORE_THAN_OR_EQUAL" | "OPERATOR_LESS_THAN" | "OPERATOR_LESS_THAN_OR_EQUAL" | "OPERATOR_CONTAINS" | "OPERATOR_NOT_EQUAL" | "OPERATOR_IN" | "OPERATOR_NOT_IN" | "OPERATOR_CONTAINS_ONE" | "OPERATOR_CONTAINS_ALL";
3257
+ targets?: string[];
3258
+ }[];
3259
+ effect: "EFFECT_ALLOW" | "EFFECT_DENY";
3260
+ notes?: string;
3261
+ };
3262
+ setPaymentMethodIntent?: {
3263
+ number: string;
3264
+ cvv: string;
3265
+ expiryMonth: string;
3266
+ expiryYear: string;
3267
+ cardHolderEmail: string;
3268
+ cardHolderName: string;
3269
+ };
3270
+ activateBillingTierIntent?: {
3271
+ productId: string;
3272
+ };
3273
+ deletePaymentMethodIntent?: {
3274
+ paymentMethodId: string;
3275
+ };
3276
+ createPolicyIntentV3?: {
3277
+ policyName: string;
3278
+ effect: "EFFECT_ALLOW" | "EFFECT_DENY";
3279
+ condition?: string;
3280
+ consensus?: string;
3281
+ notes?: string;
3282
+ };
3283
+ createApiOnlyUsersIntent?: {
3284
+ apiOnlyUsers: {
3285
+ userName: string;
3286
+ userEmail?: string;
3287
+ userTags: string[];
3288
+ apiKeys: {
3289
+ apiKeyName: string;
3290
+ publicKey: string;
3291
+ }[];
3292
+ }[];
3293
+ };
3294
+ updateRootQuorumIntent?: {
3295
+ threshold: number;
3296
+ userIds: string[];
3297
+ };
3298
+ updateUserTagIntent?: {
3299
+ userTagId: string;
3300
+ newUserTagName?: string;
3301
+ addUserIds: string[];
3302
+ removeUserIds: string[];
3303
+ };
3304
+ updatePrivateKeyTagIntent?: {
3305
+ privateKeyTagId: string;
3306
+ newPrivateKeyTagName?: string;
3307
+ addPrivateKeyIds: string[];
3308
+ removePrivateKeyIds: string[];
3309
+ };
3310
+ };
3311
+ result: {
3312
+ createOrganizationResult?: {
3313
+ organizationId: string;
3314
+ };
3315
+ createAuthenticatorsResult?: {
3316
+ authenticatorIds: string[];
3317
+ };
3318
+ createUsersResult?: {
3319
+ userIds: string[];
3320
+ };
3321
+ createPrivateKeysResult?: {
3322
+ privateKeyIds: string[];
3323
+ };
3324
+ createInvitationsResult?: {
3325
+ invitationIds: string[];
3326
+ };
3327
+ acceptInvitationResult?: {
3328
+ invitationId: string;
3329
+ userId: string;
3330
+ };
3331
+ signRawPayloadResult?: {
3332
+ r: string;
3333
+ s: string;
3334
+ v: string;
3335
+ };
3336
+ createPolicyResult?: {
3337
+ policyId: string;
3338
+ };
3339
+ disablePrivateKeyResult?: {
3340
+ privateKeyId: string;
3341
+ };
3342
+ deleteUsersResult?: {
3343
+ userIds: string[];
3344
+ };
3345
+ deleteAuthenticatorsResult?: {
3346
+ authenticatorIds: string[];
3347
+ };
3348
+ deleteInvitationResult?: {
3349
+ invitationId: string;
3350
+ };
3351
+ deleteOrganizationResult?: {
3352
+ organizationId: string;
3353
+ };
3354
+ deletePolicyResult?: {
3355
+ policyId: string;
3356
+ };
3357
+ createUserTagResult?: {
3358
+ userTagId: string;
3359
+ userIds: string[];
3360
+ };
3361
+ deleteUserTagsResult?: {
3362
+ userTagIds: string[];
3363
+ userIds: string[];
3364
+ };
3365
+ signTransactionResult?: {
3366
+ signedTransaction: string;
3367
+ };
3368
+ deleteApiKeysResult?: {
3369
+ apiKeyIds: string[];
3370
+ };
3371
+ createApiKeysResult?: {
3372
+ apiKeyIds: string[];
3373
+ };
3374
+ createPrivateKeyTagResult?: {
3375
+ privateKeyTagId: string;
3376
+ privateKeyIds: string[];
3377
+ };
3378
+ deletePrivateKeyTagsResult?: {
3379
+ privateKeyTagIds: string[];
3380
+ privateKeyIds: string[];
3381
+ };
3382
+ setPaymentMethodResult?: {
3383
+ lastFour: string;
3384
+ cardHolderName: string;
3385
+ cardHolderEmail: string;
3386
+ };
3387
+ activateBillingTierResult?: {
3388
+ productId: string;
3389
+ };
3390
+ deletePaymentMethodResult?: {
3391
+ paymentMethodId: string;
3392
+ };
3393
+ createApiOnlyUsersResult?: {
3394
+ userIds: string[];
3395
+ };
3396
+ updateRootQuorumResult?: {
3397
+ [key: string]: unknown;
3398
+ };
3399
+ updateUserTagResult?: {
3400
+ userTagId: string;
3401
+ };
3402
+ updatePrivateKeyTagResult?: {
3403
+ privateKeyTagId: string;
3404
+ };
3405
+ };
3406
+ votes: {
3407
+ id: string;
3408
+ userId: string;
3409
+ user: {
3410
+ userId: string;
3411
+ userName: string;
3412
+ userEmail?: string;
3413
+ accessType: "ACCESS_TYPE_WEB" | "ACCESS_TYPE_API" | "ACCESS_TYPE_ALL";
3414
+ authenticators: {
3415
+ transports: ("AUTHENTICATOR_TRANSPORT_BLE" | "AUTHENTICATOR_TRANSPORT_INTERNAL" | "AUTHENTICATOR_TRANSPORT_NFC" | "AUTHENTICATOR_TRANSPORT_USB" | "AUTHENTICATOR_TRANSPORT_HYBRID")[];
3416
+ attestationType: string;
3417
+ aaguid: string;
3418
+ userId: string;
3419
+ credentialId: string;
3420
+ model: string;
3421
+ credential: {
3422
+ publicKey: string;
3423
+ type: "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR" | "CREDENTIAL_TYPE_API_KEY_P256";
3424
+ };
3425
+ authenticatorId: string;
3426
+ authenticatorName: string;
3427
+ createdAt: {
3428
+ seconds: string;
3429
+ nanos: string;
3430
+ };
3431
+ updatedAt: {
3432
+ seconds: string;
3433
+ nanos: string;
3434
+ };
3435
+ }[];
3436
+ apiKeys: {
3437
+ credential: {
3438
+ publicKey: string;
3439
+ type: "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR" | "CREDENTIAL_TYPE_API_KEY_P256";
3440
+ };
3441
+ apiKeyId: string;
3442
+ apiKeyName: string;
3443
+ createdAt: {
3444
+ seconds: string;
3445
+ nanos: string;
3446
+ };
3447
+ updatedAt: {
3448
+ seconds: string;
3449
+ nanos: string;
3450
+ };
3451
+ }[];
3452
+ userTags: string[];
3453
+ createdAt: {
3454
+ seconds: string;
3455
+ nanos: string;
3456
+ };
3457
+ updatedAt: {
3458
+ seconds: string;
3459
+ nanos: string;
3460
+ };
3461
+ };
3462
+ activityId: string;
3463
+ selection: "VOTE_SELECTION_APPROVED" | "VOTE_SELECTION_REJECTED";
3464
+ message: string;
3465
+ publicKey: string;
3466
+ signature: string;
3467
+ scheme: string;
3468
+ createdAt: {
3469
+ seconds: string;
3470
+ nanos: string;
3471
+ };
3472
+ }[];
3473
+ fingerprint: string;
3474
+ canApprove: boolean;
3475
+ canReject: boolean;
3476
+ createdAt: {
3477
+ seconds: string;
3478
+ nanos: string;
3479
+ };
3480
+ updatedAt: {
3481
+ seconds: string;
3482
+ nanos: string;
3483
+ };
3484
+ };
3485
+ }>;
3486
+ /**
3487
+ * `POST /public/v1/submit/create_policy`
3488
+ */
3489
+ type TPostCreatePolicyBody = operations["PublicApiService_CreatePolicy"]["parameters"]["body"]["body"];
3490
+ /**
3491
+ * `POST /public/v1/submit/create_policy`
3492
+ */
3493
+ export type TPostCreatePolicyResponse = operations["PublicApiService_CreatePolicy"]["responses"]["200"]["schema"];
3494
+ /**
3495
+ * `POST /public/v1/submit/create_policy`
3496
+ */
3497
+ export type TPostCreatePolicyInput = {
3498
+ body: TPostCreatePolicyBody;
3499
+ };
3500
+ /**
3501
+ * Create Policy
3502
+ *
3503
+ * Create a new Policy
3504
+ *
3505
+ * `POST /public/v1/submit/create_policy`
3506
+ */
3507
+ export declare const postCreatePolicy: (input: TPostCreatePolicyInput) => Promise<{
3508
+ activity: {
3509
+ id: string;
3510
+ organizationId: string;
3511
+ status: "ACTIVITY_STATUS_CREATED" | "ACTIVITY_STATUS_PENDING" | "ACTIVITY_STATUS_COMPLETED" | "ACTIVITY_STATUS_FAILED" | "ACTIVITY_STATUS_CONSENSUS_NEEDED" | "ACTIVITY_STATUS_REJECTED";
3512
+ type: "ACTIVITY_TYPE_CREATE_API_KEYS" | "ACTIVITY_TYPE_CREATE_USERS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD" | "ACTIVITY_TYPE_CREATE_INVITATIONS" | "ACTIVITY_TYPE_ACCEPT_INVITATION" | "ACTIVITY_TYPE_CREATE_POLICY" | "ACTIVITY_TYPE_DISABLE_PRIVATE_KEY" | "ACTIVITY_TYPE_DELETE_USERS" | "ACTIVITY_TYPE_DELETE_API_KEYS" | "ACTIVITY_TYPE_DELETE_INVITATION" | "ACTIVITY_TYPE_DELETE_ORGANIZATION" | "ACTIVITY_TYPE_DELETE_POLICY" | "ACTIVITY_TYPE_CREATE_USER_TAG" | "ACTIVITY_TYPE_DELETE_USER_TAGS" | "ACTIVITY_TYPE_CREATE_ORGANIZATION" | "ACTIVITY_TYPE_SIGN_TRANSACTION" | "ACTIVITY_TYPE_APPROVE_ACTIVITY" | "ACTIVITY_TYPE_REJECT_ACTIVITY" | "ACTIVITY_TYPE_DELETE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS" | "ACTIVITY_TYPE_SET_PAYMENT_METHOD" | "ACTIVITY_TYPE_ACTIVATE_BILLING_TIER" | "ACTIVITY_TYPE_DELETE_PAYMENT_METHOD" | "ACTIVITY_TYPE_CREATE_POLICY_V2" | "ACTIVITY_TYPE_CREATE_POLICY_V3" | "ACTIVITY_TYPE_CREATE_API_ONLY_USERS" | "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM" | "ACTIVITY_TYPE_UPDATE_USER_TAG" | "ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG";
3513
+ intent: {
3514
+ createOrganizationIntent: {
3515
+ organizationName: string;
3516
+ rootEmail: string;
3517
+ rootAuthenticator: {
3518
+ authenticatorName: string;
3519
+ userId: string;
3520
+ attestation: {
3521
+ id: string;
3522
+ type: "public-key";
3523
+ rawId: string;
3524
+ authenticatorAttachment?: "cross-platform" | "platform" | null;
3525
+ response: {
3526
+ clientDataJson: string;
3527
+ attestationObject: string;
3528
+ transports?: ("AUTHENTICATOR_TRANSPORT_BLE" | "AUTHENTICATOR_TRANSPORT_INTERNAL" | "AUTHENTICATOR_TRANSPORT_NFC" | "AUTHENTICATOR_TRANSPORT_USB" | "AUTHENTICATOR_TRANSPORT_HYBRID")[];
3529
+ authenticatorAttachment?: "cross-platform" | "platform" | null;
3530
+ };
3531
+ clientExtensionResults: {
3532
+ appid?: boolean;
3533
+ appidExclude?: boolean;
3534
+ credProps?: {
3535
+ rk: boolean;
3536
+ };
3537
+ };
3538
+ };
3539
+ challenge: string;
3540
+ };
3541
+ rootUserId?: string;
3542
+ };
3543
+ createAuthenticatorsIntent?: {
3544
+ authenticators: {
3545
+ authenticatorName: string;
3546
+ userId: string;
3547
+ attestation: {
3548
+ id: string;
3549
+ type: "public-key";
3550
+ rawId: string;
3551
+ authenticatorAttachment?: "cross-platform" | "platform" | null;
3552
+ response: {
3553
+ clientDataJson: string;
3554
+ attestationObject: string;
3555
+ transports?: ("AUTHENTICATOR_TRANSPORT_BLE" | "AUTHENTICATOR_TRANSPORT_INTERNAL" | "AUTHENTICATOR_TRANSPORT_NFC" | "AUTHENTICATOR_TRANSPORT_USB" | "AUTHENTICATOR_TRANSPORT_HYBRID")[];
3556
+ authenticatorAttachment?: "cross-platform" | "platform" | null;
3557
+ };
3558
+ clientExtensionResults: {
3559
+ appid?: boolean;
3560
+ appidExclude?: boolean;
3561
+ credProps?: {
3562
+ rk: boolean;
3563
+ };
3564
+ };
3565
+ };
3566
+ challenge: string;
3567
+ }[];
3568
+ userId: string;
3569
+ };
3570
+ createUsersIntent?: {
3571
+ users: {
3572
+ userName: string;
3573
+ userEmail?: string;
3574
+ accessType: "ACCESS_TYPE_WEB" | "ACCESS_TYPE_API" | "ACCESS_TYPE_ALL";
3575
+ apiKeys: {
3576
+ apiKeyName: string;
3577
+ publicKey: string;
3578
+ }[];
3579
+ authenticators: {
3580
+ authenticatorName: string;
3581
+ userId: string;
3582
+ attestation: {
3583
+ id: string;
3584
+ type: "public-key";
3585
+ rawId: string;
3586
+ authenticatorAttachment?: "cross-platform" | "platform" | null;
3587
+ response: {
3588
+ clientDataJson: string;
3589
+ attestationObject: string;
3590
+ transports?: ("AUTHENTICATOR_TRANSPORT_BLE" | "AUTHENTICATOR_TRANSPORT_INTERNAL" | "AUTHENTICATOR_TRANSPORT_NFC" | "AUTHENTICATOR_TRANSPORT_USB" | "AUTHENTICATOR_TRANSPORT_HYBRID")[];
3591
+ authenticatorAttachment?: "cross-platform" | "platform" | null;
3592
+ };
3593
+ clientExtensionResults: {
3594
+ appid?: boolean;
3595
+ appidExclude?: boolean;
3596
+ credProps?: {
3597
+ rk: boolean;
3598
+ };
3599
+ };
3600
+ };
3601
+ challenge: string;
3602
+ }[];
3603
+ userTags: string[];
3604
+ }[];
3605
+ };
3606
+ createPrivateKeysIntent?: {
3607
+ privateKeys: {
3608
+ privateKeyName: string;
3609
+ curve: "CURVE_SECP256K1" | "CURVE_ED25519";
3610
+ privateKeyTags: string[];
3611
+ addressFormats: ("ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM")[];
3612
+ }[];
3613
+ };
3614
+ signRawPayloadIntent?: {
3615
+ privateKeyId: string;
3616
+ payload: string;
3617
+ encoding: "PAYLOAD_ENCODING_HEXADECIMAL" | "PAYLOAD_ENCODING_TEXT_UTF8";
3618
+ hashFunction: "HASH_FUNCTION_NO_OP" | "HASH_FUNCTION_SHA256" | "HASH_FUNCTION_KECCAK256" | "HASH_FUNCTION_NOT_APPLICABLE";
3619
+ };
3620
+ createInvitationsIntent?: {
3621
+ invitations: {
3622
+ receiverUserName: string;
3623
+ receiverUserEmail: string;
3624
+ receiverUserTags: string[];
3625
+ accessType: "ACCESS_TYPE_WEB" | "ACCESS_TYPE_API" | "ACCESS_TYPE_ALL";
3626
+ senderUserId: string;
3627
+ }[];
3628
+ };
3629
+ acceptInvitationIntent?: {
3630
+ invitationId: string;
3631
+ userId: string;
3632
+ authenticator: {
3633
+ authenticatorName: string;
3634
+ userId: string;
3635
+ attestation: {
3636
+ id: string;
3637
+ type: "public-key";
3638
+ rawId: string;
3639
+ authenticatorAttachment?: "cross-platform" | "platform" | null;
3640
+ response: {
3641
+ clientDataJson: string;
3642
+ attestationObject: string;
3643
+ transports?: ("AUTHENTICATOR_TRANSPORT_BLE" | "AUTHENTICATOR_TRANSPORT_INTERNAL" | "AUTHENTICATOR_TRANSPORT_NFC" | "AUTHENTICATOR_TRANSPORT_USB" | "AUTHENTICATOR_TRANSPORT_HYBRID")[];
3644
+ authenticatorAttachment?: "cross-platform" | "platform" | null;
3645
+ };
3646
+ clientExtensionResults: {
3647
+ appid?: boolean;
3648
+ appidExclude?: boolean;
3649
+ credProps?: {
3650
+ rk: boolean;
3651
+ };
3652
+ };
3653
+ };
3654
+ challenge: string;
3655
+ };
3656
+ };
3657
+ createPolicyIntent?: {
3658
+ policyName: string;
3659
+ selectors: {
3660
+ subject?: string;
3661
+ operator?: "OPERATOR_EQUAL" | "OPERATOR_MORE_THAN" | "OPERATOR_MORE_THAN_OR_EQUAL" | "OPERATOR_LESS_THAN" | "OPERATOR_LESS_THAN_OR_EQUAL" | "OPERATOR_CONTAINS" | "OPERATOR_NOT_EQUAL" | "OPERATOR_IN" | "OPERATOR_NOT_IN" | "OPERATOR_CONTAINS_ONE" | "OPERATOR_CONTAINS_ALL";
3662
+ target?: string;
3663
+ }[];
3664
+ effect: "EFFECT_ALLOW" | "EFFECT_DENY";
3665
+ notes?: string;
3666
+ };
3667
+ disablePrivateKeyIntent?: {
3668
+ privateKeyId: string;
3669
+ };
3670
+ deleteUsersIntent?: {
3671
+ userIds: string[];
3672
+ };
3673
+ deleteAuthenticatorsIntent?: {
3674
+ userId: string;
3675
+ authenticatorIds: string[];
3676
+ };
3677
+ deleteInvitationIntent?: {
3678
+ invitationId: string;
3679
+ };
3680
+ deleteOrganizationIntent?: {
3681
+ organizationId: string;
3682
+ };
3683
+ deletePolicyIntent?: {
3684
+ policyId: string;
3685
+ };
3686
+ createUserTagIntent?: {
3687
+ userTagName: string;
3688
+ userIds: string[];
3689
+ };
3690
+ deleteUserTagsIntent?: {
3691
+ userTagIds: string[];
3692
+ };
3693
+ signTransactionIntent?: {
3694
+ privateKeyId: string;
3695
+ unsignedTransaction: string;
3696
+ type: "TRANSACTION_TYPE_ETHEREUM";
3697
+ };
3698
+ createApiKeysIntent?: {
3699
+ apiKeys: {
3700
+ apiKeyName: string;
3701
+ publicKey: string;
3702
+ }[];
3703
+ userId: string;
3704
+ };
3705
+ deleteApiKeysIntent?: {
3706
+ userId: string;
3707
+ apiKeyIds: string[];
3708
+ };
3709
+ approveActivityIntent?: {
3710
+ fingerprint: string;
3711
+ };
3712
+ rejectActivityIntent?: {
3713
+ fingerprint: string;
3714
+ };
3715
+ createPrivateKeyTagIntent?: {
3716
+ privateKeyTagName: string;
3717
+ privateKeyIds: string[];
3718
+ };
3719
+ deletePrivateKeyTagsIntent?: {
3720
+ privateKeyTagIds: string[];
3721
+ };
3722
+ createPolicyIntentV2?: {
3723
+ policyName: string;
3724
+ selectors: {
3725
+ subject?: string;
3726
+ operator?: "OPERATOR_EQUAL" | "OPERATOR_MORE_THAN" | "OPERATOR_MORE_THAN_OR_EQUAL" | "OPERATOR_LESS_THAN" | "OPERATOR_LESS_THAN_OR_EQUAL" | "OPERATOR_CONTAINS" | "OPERATOR_NOT_EQUAL" | "OPERATOR_IN" | "OPERATOR_NOT_IN" | "OPERATOR_CONTAINS_ONE" | "OPERATOR_CONTAINS_ALL";
3727
+ targets?: string[];
3728
+ }[];
3729
+ effect: "EFFECT_ALLOW" | "EFFECT_DENY";
3730
+ notes?: string;
3731
+ };
3732
+ setPaymentMethodIntent?: {
3733
+ number: string;
3734
+ cvv: string;
3735
+ expiryMonth: string;
3736
+ expiryYear: string;
3737
+ cardHolderEmail: string;
3738
+ cardHolderName: string;
3739
+ };
3740
+ activateBillingTierIntent?: {
3741
+ productId: string;
3742
+ };
3743
+ deletePaymentMethodIntent?: {
3744
+ paymentMethodId: string;
3745
+ };
3746
+ createPolicyIntentV3?: {
3747
+ policyName: string;
3748
+ effect: "EFFECT_ALLOW" | "EFFECT_DENY";
3749
+ condition?: string;
3750
+ consensus?: string;
3751
+ notes?: string;
3752
+ };
3753
+ createApiOnlyUsersIntent?: {
3754
+ apiOnlyUsers: {
3755
+ userName: string;
3756
+ userEmail?: string;
3757
+ userTags: string[];
3758
+ apiKeys: {
3759
+ apiKeyName: string;
3760
+ publicKey: string;
3761
+ }[];
3762
+ }[];
3763
+ };
3764
+ updateRootQuorumIntent?: {
3765
+ threshold: number;
3766
+ userIds: string[];
3767
+ };
3768
+ updateUserTagIntent?: {
3769
+ userTagId: string;
3770
+ newUserTagName?: string;
3771
+ addUserIds: string[];
3772
+ removeUserIds: string[];
3773
+ };
3774
+ updatePrivateKeyTagIntent?: {
3775
+ privateKeyTagId: string;
3776
+ newPrivateKeyTagName?: string;
3777
+ addPrivateKeyIds: string[];
3778
+ removePrivateKeyIds: string[];
3779
+ };
3780
+ };
3781
+ result: {
3782
+ createOrganizationResult?: {
3783
+ organizationId: string;
3784
+ };
3785
+ createAuthenticatorsResult?: {
3786
+ authenticatorIds: string[];
3787
+ };
3788
+ createUsersResult?: {
3789
+ userIds: string[];
3790
+ };
3791
+ createPrivateKeysResult?: {
3792
+ privateKeyIds: string[];
3793
+ };
3794
+ createInvitationsResult?: {
3795
+ invitationIds: string[];
3796
+ };
3797
+ acceptInvitationResult?: {
3798
+ invitationId: string;
3799
+ userId: string;
3800
+ };
3801
+ signRawPayloadResult?: {
3802
+ r: string;
3803
+ s: string;
3804
+ v: string;
3805
+ };
3806
+ createPolicyResult?: {
3807
+ policyId: string;
3808
+ };
3809
+ disablePrivateKeyResult?: {
3810
+ privateKeyId: string;
3811
+ };
3812
+ deleteUsersResult?: {
3813
+ userIds: string[];
3814
+ };
3815
+ deleteAuthenticatorsResult?: {
3816
+ authenticatorIds: string[];
3817
+ };
3818
+ deleteInvitationResult?: {
3819
+ invitationId: string;
3820
+ };
3821
+ deleteOrganizationResult?: {
3822
+ organizationId: string;
3823
+ };
3824
+ deletePolicyResult?: {
3825
+ policyId: string;
3826
+ };
3827
+ createUserTagResult?: {
3828
+ userTagId: string;
3829
+ userIds: string[];
3830
+ };
3831
+ deleteUserTagsResult?: {
3832
+ userTagIds: string[];
3833
+ userIds: string[];
3834
+ };
3835
+ signTransactionResult?: {
3836
+ signedTransaction: string;
3837
+ };
3838
+ deleteApiKeysResult?: {
3839
+ apiKeyIds: string[];
3840
+ };
3841
+ createApiKeysResult?: {
3842
+ apiKeyIds: string[];
3843
+ };
3844
+ createPrivateKeyTagResult?: {
3845
+ privateKeyTagId: string;
3846
+ privateKeyIds: string[];
3847
+ };
3848
+ deletePrivateKeyTagsResult?: {
3849
+ privateKeyTagIds: string[];
3850
+ privateKeyIds: string[];
3851
+ };
3852
+ setPaymentMethodResult?: {
3853
+ lastFour: string;
3854
+ cardHolderName: string;
3855
+ cardHolderEmail: string;
3856
+ };
3857
+ activateBillingTierResult?: {
3858
+ productId: string;
3859
+ };
3860
+ deletePaymentMethodResult?: {
3861
+ paymentMethodId: string;
3862
+ };
3863
+ createApiOnlyUsersResult?: {
3864
+ userIds: string[];
3865
+ };
3866
+ updateRootQuorumResult?: {
3867
+ [key: string]: unknown;
3868
+ };
3869
+ updateUserTagResult?: {
3870
+ userTagId: string;
3871
+ };
3872
+ updatePrivateKeyTagResult?: {
3873
+ privateKeyTagId: string;
3874
+ };
3875
+ };
3876
+ votes: {
3877
+ id: string;
3878
+ userId: string;
3879
+ user: {
3880
+ userId: string;
3881
+ userName: string;
3882
+ userEmail?: string;
3883
+ accessType: "ACCESS_TYPE_WEB" | "ACCESS_TYPE_API" | "ACCESS_TYPE_ALL";
3884
+ authenticators: {
3885
+ transports: ("AUTHENTICATOR_TRANSPORT_BLE" | "AUTHENTICATOR_TRANSPORT_INTERNAL" | "AUTHENTICATOR_TRANSPORT_NFC" | "AUTHENTICATOR_TRANSPORT_USB" | "AUTHENTICATOR_TRANSPORT_HYBRID")[];
3886
+ attestationType: string;
3887
+ aaguid: string;
3888
+ userId: string;
3889
+ credentialId: string;
3890
+ model: string;
3891
+ credential: {
3892
+ publicKey: string;
3893
+ type: "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR" | "CREDENTIAL_TYPE_API_KEY_P256";
3894
+ };
3895
+ authenticatorId: string;
3896
+ authenticatorName: string;
3897
+ createdAt: {
3898
+ seconds: string;
3899
+ nanos: string;
3900
+ };
3901
+ updatedAt: {
3902
+ seconds: string;
3903
+ nanos: string;
3904
+ };
3905
+ }[];
3906
+ apiKeys: {
3907
+ credential: {
3908
+ publicKey: string;
3909
+ type: "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR" | "CREDENTIAL_TYPE_API_KEY_P256";
3910
+ };
3911
+ apiKeyId: string;
3912
+ apiKeyName: string;
3913
+ createdAt: {
3914
+ seconds: string;
3915
+ nanos: string;
3916
+ };
3917
+ updatedAt: {
3918
+ seconds: string;
3919
+ nanos: string;
3920
+ };
3921
+ }[];
3922
+ userTags: string[];
3923
+ createdAt: {
3924
+ seconds: string;
3925
+ nanos: string;
3926
+ };
3927
+ updatedAt: {
3928
+ seconds: string;
3929
+ nanos: string;
3930
+ };
3931
+ };
3932
+ activityId: string;
3933
+ selection: "VOTE_SELECTION_APPROVED" | "VOTE_SELECTION_REJECTED";
3934
+ message: string;
3935
+ publicKey: string;
3936
+ signature: string;
3937
+ scheme: string;
3938
+ createdAt: {
3939
+ seconds: string;
3940
+ nanos: string;
3941
+ };
3942
+ }[];
3943
+ fingerprint: string;
3944
+ canApprove: boolean;
3945
+ canReject: boolean;
3946
+ createdAt: {
3947
+ seconds: string;
3948
+ nanos: string;
3949
+ };
3950
+ updatedAt: {
3951
+ seconds: string;
3952
+ nanos: string;
3953
+ };
3954
+ };
3955
+ }>;
3956
+ /**
3957
+ * `POST /public/v1/submit/create_private_keys`
3958
+ */
3959
+ type TPostCreatePrivateKeysBody = operations["PublicApiService_CreatePrivateKeys"]["parameters"]["body"]["body"];
3960
+ /**
3961
+ * `POST /public/v1/submit/create_private_keys`
3962
+ */
3963
+ export type TPostCreatePrivateKeysResponse = operations["PublicApiService_CreatePrivateKeys"]["responses"]["200"]["schema"];
3964
+ /**
3965
+ * `POST /public/v1/submit/create_private_keys`
3966
+ */
3967
+ export type TPostCreatePrivateKeysInput = {
3968
+ body: TPostCreatePrivateKeysBody;
3969
+ };
3970
+ /**
3971
+ * Create Private Keys
3972
+ *
3973
+ * Create new Private Keys
3974
+ *
3975
+ * `POST /public/v1/submit/create_private_keys`
3976
+ */
3977
+ export declare const postCreatePrivateKeys: (input: TPostCreatePrivateKeysInput) => Promise<{
3978
+ activity: {
3979
+ id: string;
3980
+ organizationId: string;
3981
+ status: "ACTIVITY_STATUS_CREATED" | "ACTIVITY_STATUS_PENDING" | "ACTIVITY_STATUS_COMPLETED" | "ACTIVITY_STATUS_FAILED" | "ACTIVITY_STATUS_CONSENSUS_NEEDED" | "ACTIVITY_STATUS_REJECTED";
3982
+ type: "ACTIVITY_TYPE_CREATE_API_KEYS" | "ACTIVITY_TYPE_CREATE_USERS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD" | "ACTIVITY_TYPE_CREATE_INVITATIONS" | "ACTIVITY_TYPE_ACCEPT_INVITATION" | "ACTIVITY_TYPE_CREATE_POLICY" | "ACTIVITY_TYPE_DISABLE_PRIVATE_KEY" | "ACTIVITY_TYPE_DELETE_USERS" | "ACTIVITY_TYPE_DELETE_API_KEYS" | "ACTIVITY_TYPE_DELETE_INVITATION" | "ACTIVITY_TYPE_DELETE_ORGANIZATION" | "ACTIVITY_TYPE_DELETE_POLICY" | "ACTIVITY_TYPE_CREATE_USER_TAG" | "ACTIVITY_TYPE_DELETE_USER_TAGS" | "ACTIVITY_TYPE_CREATE_ORGANIZATION" | "ACTIVITY_TYPE_SIGN_TRANSACTION" | "ACTIVITY_TYPE_APPROVE_ACTIVITY" | "ACTIVITY_TYPE_REJECT_ACTIVITY" | "ACTIVITY_TYPE_DELETE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS" | "ACTIVITY_TYPE_SET_PAYMENT_METHOD" | "ACTIVITY_TYPE_ACTIVATE_BILLING_TIER" | "ACTIVITY_TYPE_DELETE_PAYMENT_METHOD" | "ACTIVITY_TYPE_CREATE_POLICY_V2" | "ACTIVITY_TYPE_CREATE_POLICY_V3" | "ACTIVITY_TYPE_CREATE_API_ONLY_USERS" | "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM" | "ACTIVITY_TYPE_UPDATE_USER_TAG" | "ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG";
3983
+ intent: {
3984
+ createOrganizationIntent: {
3985
+ organizationName: string;
3986
+ rootEmail: string;
3987
+ rootAuthenticator: {
3988
+ authenticatorName: string;
3989
+ userId: string;
3990
+ attestation: {
3991
+ id: string;
3992
+ type: "public-key";
3993
+ rawId: string;
3994
+ authenticatorAttachment?: "cross-platform" | "platform" | null;
3995
+ response: {
3996
+ clientDataJson: string;
3997
+ attestationObject: string;
3998
+ transports?: ("AUTHENTICATOR_TRANSPORT_BLE" | "AUTHENTICATOR_TRANSPORT_INTERNAL" | "AUTHENTICATOR_TRANSPORT_NFC" | "AUTHENTICATOR_TRANSPORT_USB" | "AUTHENTICATOR_TRANSPORT_HYBRID")[];
3999
+ authenticatorAttachment?: "cross-platform" | "platform" | null;
4000
+ };
4001
+ clientExtensionResults: {
4002
+ appid?: boolean;
4003
+ appidExclude?: boolean;
4004
+ credProps?: {
4005
+ rk: boolean;
4006
+ };
4007
+ };
4008
+ };
4009
+ challenge: string;
4010
+ };
4011
+ rootUserId?: string;
4012
+ };
4013
+ createAuthenticatorsIntent?: {
4014
+ authenticators: {
4015
+ authenticatorName: string;
4016
+ userId: string;
4017
+ attestation: {
4018
+ id: string;
4019
+ type: "public-key";
4020
+ rawId: string;
4021
+ authenticatorAttachment?: "cross-platform" | "platform" | null;
4022
+ response: {
4023
+ clientDataJson: string;
4024
+ attestationObject: string;
4025
+ transports?: ("AUTHENTICATOR_TRANSPORT_BLE" | "AUTHENTICATOR_TRANSPORT_INTERNAL" | "AUTHENTICATOR_TRANSPORT_NFC" | "AUTHENTICATOR_TRANSPORT_USB" | "AUTHENTICATOR_TRANSPORT_HYBRID")[];
4026
+ authenticatorAttachment?: "cross-platform" | "platform" | null;
4027
+ };
4028
+ clientExtensionResults: {
4029
+ appid?: boolean;
4030
+ appidExclude?: boolean;
4031
+ credProps?: {
4032
+ rk: boolean;
4033
+ };
4034
+ };
4035
+ };
4036
+ challenge: string;
4037
+ }[];
4038
+ userId: string;
4039
+ };
4040
+ createUsersIntent?: {
4041
+ users: {
4042
+ userName: string;
4043
+ userEmail?: string;
4044
+ accessType: "ACCESS_TYPE_WEB" | "ACCESS_TYPE_API" | "ACCESS_TYPE_ALL";
4045
+ apiKeys: {
4046
+ apiKeyName: string;
4047
+ publicKey: string;
4048
+ }[];
4049
+ authenticators: {
4050
+ authenticatorName: string;
4051
+ userId: string;
4052
+ attestation: {
4053
+ id: string;
4054
+ type: "public-key";
4055
+ rawId: string;
4056
+ authenticatorAttachment?: "cross-platform" | "platform" | null;
4057
+ response: {
4058
+ clientDataJson: string;
4059
+ attestationObject: string;
4060
+ transports?: ("AUTHENTICATOR_TRANSPORT_BLE" | "AUTHENTICATOR_TRANSPORT_INTERNAL" | "AUTHENTICATOR_TRANSPORT_NFC" | "AUTHENTICATOR_TRANSPORT_USB" | "AUTHENTICATOR_TRANSPORT_HYBRID")[];
4061
+ authenticatorAttachment?: "cross-platform" | "platform" | null;
4062
+ };
4063
+ clientExtensionResults: {
4064
+ appid?: boolean;
4065
+ appidExclude?: boolean;
4066
+ credProps?: {
4067
+ rk: boolean;
4068
+ };
4069
+ };
4070
+ };
4071
+ challenge: string;
4072
+ }[];
4073
+ userTags: string[];
4074
+ }[];
4075
+ };
4076
+ createPrivateKeysIntent?: {
4077
+ privateKeys: {
4078
+ privateKeyName: string;
4079
+ curve: "CURVE_SECP256K1" | "CURVE_ED25519";
4080
+ privateKeyTags: string[];
4081
+ addressFormats: ("ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM")[];
4082
+ }[];
4083
+ };
4084
+ signRawPayloadIntent?: {
4085
+ privateKeyId: string;
4086
+ payload: string;
4087
+ encoding: "PAYLOAD_ENCODING_HEXADECIMAL" | "PAYLOAD_ENCODING_TEXT_UTF8";
4088
+ hashFunction: "HASH_FUNCTION_NO_OP" | "HASH_FUNCTION_SHA256" | "HASH_FUNCTION_KECCAK256" | "HASH_FUNCTION_NOT_APPLICABLE";
4089
+ };
4090
+ createInvitationsIntent?: {
4091
+ invitations: {
4092
+ receiverUserName: string;
4093
+ receiverUserEmail: string;
4094
+ receiverUserTags: string[];
4095
+ accessType: "ACCESS_TYPE_WEB" | "ACCESS_TYPE_API" | "ACCESS_TYPE_ALL";
4096
+ senderUserId: string;
4097
+ }[];
4098
+ };
4099
+ acceptInvitationIntent?: {
4100
+ invitationId: string;
4101
+ userId: string;
4102
+ authenticator: {
4103
+ authenticatorName: string;
4104
+ userId: string;
4105
+ attestation: {
4106
+ id: string;
4107
+ type: "public-key";
4108
+ rawId: string;
4109
+ authenticatorAttachment?: "cross-platform" | "platform" | null;
4110
+ response: {
4111
+ clientDataJson: string;
4112
+ attestationObject: string;
4113
+ transports?: ("AUTHENTICATOR_TRANSPORT_BLE" | "AUTHENTICATOR_TRANSPORT_INTERNAL" | "AUTHENTICATOR_TRANSPORT_NFC" | "AUTHENTICATOR_TRANSPORT_USB" | "AUTHENTICATOR_TRANSPORT_HYBRID")[];
4114
+ authenticatorAttachment?: "cross-platform" | "platform" | null;
4115
+ };
4116
+ clientExtensionResults: {
4117
+ appid?: boolean;
4118
+ appidExclude?: boolean;
4119
+ credProps?: {
4120
+ rk: boolean;
4121
+ };
4122
+ };
4123
+ };
4124
+ challenge: string;
4125
+ };
4126
+ };
4127
+ createPolicyIntent?: {
4128
+ policyName: string;
4129
+ selectors: {
4130
+ subject?: string;
4131
+ operator?: "OPERATOR_EQUAL" | "OPERATOR_MORE_THAN" | "OPERATOR_MORE_THAN_OR_EQUAL" | "OPERATOR_LESS_THAN" | "OPERATOR_LESS_THAN_OR_EQUAL" | "OPERATOR_CONTAINS" | "OPERATOR_NOT_EQUAL" | "OPERATOR_IN" | "OPERATOR_NOT_IN" | "OPERATOR_CONTAINS_ONE" | "OPERATOR_CONTAINS_ALL";
4132
+ target?: string;
4133
+ }[];
4134
+ effect: "EFFECT_ALLOW" | "EFFECT_DENY";
4135
+ notes?: string;
4136
+ };
4137
+ disablePrivateKeyIntent?: {
4138
+ privateKeyId: string;
4139
+ };
4140
+ deleteUsersIntent?: {
4141
+ userIds: string[];
4142
+ };
4143
+ deleteAuthenticatorsIntent?: {
4144
+ userId: string;
4145
+ authenticatorIds: string[];
4146
+ };
4147
+ deleteInvitationIntent?: {
4148
+ invitationId: string;
4149
+ };
4150
+ deleteOrganizationIntent?: {
4151
+ organizationId: string;
4152
+ };
4153
+ deletePolicyIntent?: {
4154
+ policyId: string;
4155
+ };
4156
+ createUserTagIntent?: {
4157
+ userTagName: string;
4158
+ userIds: string[];
4159
+ };
4160
+ deleteUserTagsIntent?: {
4161
+ userTagIds: string[];
4162
+ };
4163
+ signTransactionIntent?: {
4164
+ privateKeyId: string;
4165
+ unsignedTransaction: string;
4166
+ type: "TRANSACTION_TYPE_ETHEREUM";
4167
+ };
4168
+ createApiKeysIntent?: {
4169
+ apiKeys: {
4170
+ apiKeyName: string;
4171
+ publicKey: string;
4172
+ }[];
4173
+ userId: string;
4174
+ };
4175
+ deleteApiKeysIntent?: {
4176
+ userId: string;
4177
+ apiKeyIds: string[];
4178
+ };
4179
+ approveActivityIntent?: {
4180
+ fingerprint: string;
4181
+ };
4182
+ rejectActivityIntent?: {
4183
+ fingerprint: string;
4184
+ };
4185
+ createPrivateKeyTagIntent?: {
4186
+ privateKeyTagName: string;
4187
+ privateKeyIds: string[];
4188
+ };
4189
+ deletePrivateKeyTagsIntent?: {
4190
+ privateKeyTagIds: string[];
4191
+ };
4192
+ createPolicyIntentV2?: {
4193
+ policyName: string;
4194
+ selectors: {
4195
+ subject?: string;
4196
+ operator?: "OPERATOR_EQUAL" | "OPERATOR_MORE_THAN" | "OPERATOR_MORE_THAN_OR_EQUAL" | "OPERATOR_LESS_THAN" | "OPERATOR_LESS_THAN_OR_EQUAL" | "OPERATOR_CONTAINS" | "OPERATOR_NOT_EQUAL" | "OPERATOR_IN" | "OPERATOR_NOT_IN" | "OPERATOR_CONTAINS_ONE" | "OPERATOR_CONTAINS_ALL";
4197
+ targets?: string[];
4198
+ }[];
4199
+ effect: "EFFECT_ALLOW" | "EFFECT_DENY";
4200
+ notes?: string;
4201
+ };
4202
+ setPaymentMethodIntent?: {
4203
+ number: string;
4204
+ cvv: string;
4205
+ expiryMonth: string;
4206
+ expiryYear: string;
4207
+ cardHolderEmail: string;
4208
+ cardHolderName: string;
4209
+ };
4210
+ activateBillingTierIntent?: {
4211
+ productId: string;
4212
+ };
4213
+ deletePaymentMethodIntent?: {
4214
+ paymentMethodId: string;
4215
+ };
4216
+ createPolicyIntentV3?: {
4217
+ policyName: string;
4218
+ effect: "EFFECT_ALLOW" | "EFFECT_DENY";
4219
+ condition?: string;
4220
+ consensus?: string;
4221
+ notes?: string;
4222
+ };
4223
+ createApiOnlyUsersIntent?: {
4224
+ apiOnlyUsers: {
4225
+ userName: string;
4226
+ userEmail?: string;
4227
+ userTags: string[];
4228
+ apiKeys: {
4229
+ apiKeyName: string;
4230
+ publicKey: string;
4231
+ }[];
4232
+ }[];
4233
+ };
4234
+ updateRootQuorumIntent?: {
4235
+ threshold: number;
4236
+ userIds: string[];
4237
+ };
4238
+ updateUserTagIntent?: {
4239
+ userTagId: string;
4240
+ newUserTagName?: string;
4241
+ addUserIds: string[];
4242
+ removeUserIds: string[];
4243
+ };
4244
+ updatePrivateKeyTagIntent?: {
4245
+ privateKeyTagId: string;
4246
+ newPrivateKeyTagName?: string;
4247
+ addPrivateKeyIds: string[];
4248
+ removePrivateKeyIds: string[];
4249
+ };
4250
+ };
4251
+ result: {
4252
+ createOrganizationResult?: {
4253
+ organizationId: string;
4254
+ };
4255
+ createAuthenticatorsResult?: {
4256
+ authenticatorIds: string[];
4257
+ };
4258
+ createUsersResult?: {
4259
+ userIds: string[];
4260
+ };
4261
+ createPrivateKeysResult?: {
4262
+ privateKeyIds: string[];
4263
+ };
4264
+ createInvitationsResult?: {
4265
+ invitationIds: string[];
4266
+ };
4267
+ acceptInvitationResult?: {
4268
+ invitationId: string;
4269
+ userId: string;
4270
+ };
4271
+ signRawPayloadResult?: {
4272
+ r: string;
4273
+ s: string;
4274
+ v: string;
4275
+ };
4276
+ createPolicyResult?: {
4277
+ policyId: string;
4278
+ };
4279
+ disablePrivateKeyResult?: {
4280
+ privateKeyId: string;
4281
+ };
4282
+ deleteUsersResult?: {
4283
+ userIds: string[];
4284
+ };
4285
+ deleteAuthenticatorsResult?: {
4286
+ authenticatorIds: string[];
4287
+ };
4288
+ deleteInvitationResult?: {
4289
+ invitationId: string;
4290
+ };
4291
+ deleteOrganizationResult?: {
4292
+ organizationId: string;
4293
+ };
4294
+ deletePolicyResult?: {
4295
+ policyId: string;
4296
+ };
4297
+ createUserTagResult?: {
4298
+ userTagId: string;
4299
+ userIds: string[];
4300
+ };
4301
+ deleteUserTagsResult?: {
4302
+ userTagIds: string[];
4303
+ userIds: string[];
4304
+ };
4305
+ signTransactionResult?: {
4306
+ signedTransaction: string;
4307
+ };
4308
+ deleteApiKeysResult?: {
4309
+ apiKeyIds: string[];
4310
+ };
4311
+ createApiKeysResult?: {
4312
+ apiKeyIds: string[];
4313
+ };
4314
+ createPrivateKeyTagResult?: {
4315
+ privateKeyTagId: string;
4316
+ privateKeyIds: string[];
4317
+ };
4318
+ deletePrivateKeyTagsResult?: {
4319
+ privateKeyTagIds: string[];
4320
+ privateKeyIds: string[];
4321
+ };
4322
+ setPaymentMethodResult?: {
4323
+ lastFour: string;
4324
+ cardHolderName: string;
4325
+ cardHolderEmail: string;
4326
+ };
4327
+ activateBillingTierResult?: {
4328
+ productId: string;
4329
+ };
4330
+ deletePaymentMethodResult?: {
4331
+ paymentMethodId: string;
4332
+ };
4333
+ createApiOnlyUsersResult?: {
4334
+ userIds: string[];
4335
+ };
4336
+ updateRootQuorumResult?: {
4337
+ [key: string]: unknown;
4338
+ };
4339
+ updateUserTagResult?: {
4340
+ userTagId: string;
4341
+ };
4342
+ updatePrivateKeyTagResult?: {
4343
+ privateKeyTagId: string;
4344
+ };
4345
+ };
4346
+ votes: {
4347
+ id: string;
4348
+ userId: string;
4349
+ user: {
4350
+ userId: string;
4351
+ userName: string;
4352
+ userEmail?: string;
4353
+ accessType: "ACCESS_TYPE_WEB" | "ACCESS_TYPE_API" | "ACCESS_TYPE_ALL";
4354
+ authenticators: {
4355
+ transports: ("AUTHENTICATOR_TRANSPORT_BLE" | "AUTHENTICATOR_TRANSPORT_INTERNAL" | "AUTHENTICATOR_TRANSPORT_NFC" | "AUTHENTICATOR_TRANSPORT_USB" | "AUTHENTICATOR_TRANSPORT_HYBRID")[];
4356
+ attestationType: string;
4357
+ aaguid: string;
4358
+ userId: string;
4359
+ credentialId: string;
4360
+ model: string;
4361
+ credential: {
4362
+ publicKey: string;
4363
+ type: "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR" | "CREDENTIAL_TYPE_API_KEY_P256";
4364
+ };
4365
+ authenticatorId: string;
4366
+ authenticatorName: string;
4367
+ createdAt: {
4368
+ seconds: string;
4369
+ nanos: string;
4370
+ };
4371
+ updatedAt: {
4372
+ seconds: string;
4373
+ nanos: string;
4374
+ };
4375
+ }[];
4376
+ apiKeys: {
4377
+ credential: {
4378
+ publicKey: string;
4379
+ type: "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR" | "CREDENTIAL_TYPE_API_KEY_P256";
4380
+ };
4381
+ apiKeyId: string;
4382
+ apiKeyName: string;
4383
+ createdAt: {
4384
+ seconds: string;
4385
+ nanos: string;
4386
+ };
4387
+ updatedAt: {
4388
+ seconds: string;
4389
+ nanos: string;
4390
+ };
4391
+ }[];
4392
+ userTags: string[];
4393
+ createdAt: {
4394
+ seconds: string;
4395
+ nanos: string;
4396
+ };
4397
+ updatedAt: {
4398
+ seconds: string;
4399
+ nanos: string;
4400
+ };
4401
+ };
4402
+ activityId: string;
4403
+ selection: "VOTE_SELECTION_APPROVED" | "VOTE_SELECTION_REJECTED";
4404
+ message: string;
4405
+ publicKey: string;
4406
+ signature: string;
4407
+ scheme: string;
4408
+ createdAt: {
4409
+ seconds: string;
4410
+ nanos: string;
4411
+ };
4412
+ }[];
4413
+ fingerprint: string;
4414
+ canApprove: boolean;
4415
+ canReject: boolean;
4416
+ createdAt: {
4417
+ seconds: string;
4418
+ nanos: string;
4419
+ };
4420
+ updatedAt: {
4421
+ seconds: string;
4422
+ nanos: string;
4423
+ };
4424
+ };
4425
+ }>;
4426
+ /**
4427
+ * `POST /public/v1/submit/create_users`
4428
+ *
4429
+ * @deprecated
4430
+ */
4431
+ type TPostCreateUsersBody = operations["PublicApiService_CreateUsers"]["parameters"]["body"]["body"];
4432
+ /**
4433
+ * `POST /public/v1/submit/create_users`
4434
+ *
4435
+ * @deprecated
2460
4436
  */
2461
- export type TPostCreateInvitationsResponse = operations["PublicApiService_CreateInvitations"]["responses"]["200"]["schema"];
4437
+ export type TPostCreateUsersResponse = operations["PublicApiService_CreateUsers"]["responses"]["200"]["schema"];
2462
4438
  /**
2463
- * `POST /public/v1/submit/create_invitations`
4439
+ * `POST /public/v1/submit/create_users`
4440
+ *
4441
+ * @deprecated
2464
4442
  */
2465
- export type TPostCreateInvitationsInput = {
2466
- body: TPostCreateInvitationsBody;
4443
+ export type TPostCreateUsersInput = {
4444
+ body: TPostCreateUsersBody;
2467
4445
  };
2468
4446
  /**
2469
- * Create Invitations
4447
+ * Create Users
2470
4448
  *
2471
- * Create Invitations to join an existing Organization
4449
+ * Create Users in an existing Organization
2472
4450
  *
2473
- * `POST /public/v1/submit/create_invitations`
4451
+ * `POST /public/v1/submit/create_users`
4452
+ *
4453
+ * @deprecated
2474
4454
  */
2475
- export declare const postCreateInvitations: (input: TPostCreateInvitationsInput) => Promise<{
4455
+ export declare const postCreateUsers: (input: TPostCreateUsersInput) => Promise<{
2476
4456
  activity: {
2477
4457
  id: string;
2478
4458
  organizationId: string;
2479
4459
  status: "ACTIVITY_STATUS_CREATED" | "ACTIVITY_STATUS_PENDING" | "ACTIVITY_STATUS_COMPLETED" | "ACTIVITY_STATUS_FAILED" | "ACTIVITY_STATUS_CONSENSUS_NEEDED" | "ACTIVITY_STATUS_REJECTED";
2480
- type: "ACTIVITY_TYPE_CREATE_API_KEYS" | "ACTIVITY_TYPE_CREATE_USERS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD" | "ACTIVITY_TYPE_CREATE_INVITATIONS" | "ACTIVITY_TYPE_ACCEPT_INVITATION" | "ACTIVITY_TYPE_CREATE_POLICY" | "ACTIVITY_TYPE_DISABLE_PRIVATE_KEY" | "ACTIVITY_TYPE_DELETE_USERS" | "ACTIVITY_TYPE_DELETE_API_KEYS" | "ACTIVITY_TYPE_DELETE_INVITATION" | "ACTIVITY_TYPE_DELETE_ORGANIZATION" | "ACTIVITY_TYPE_DELETE_POLICY" | "ACTIVITY_TYPE_CREATE_USER_TAG" | "ACTIVITY_TYPE_DELETE_USER_TAGS" | "ACTIVITY_TYPE_CREATE_ORGANIZATION" | "ACTIVITY_TYPE_SIGN_TRANSACTION" | "ACTIVITY_TYPE_APPROVE_ACTIVITY" | "ACTIVITY_TYPE_REJECT_ACTIVITY" | "ACTIVITY_TYPE_DELETE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS" | "ACTIVITY_TYPE_SET_PAYMENT_METHOD" | "ACTIVITY_TYPE_ACTIVATE_BILLING_TIER" | "ACTIVITY_TYPE_DELETE_PAYMENT_METHOD" | "ACTIVITY_TYPE_CREATE_POLICY_V2" | "ACTIVITY_TYPE_CREATE_POLICY_V3" | "ACTIVITY_TYPE_CREATE_API_ONLY_USERS" | "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM";
4460
+ type: "ACTIVITY_TYPE_CREATE_API_KEYS" | "ACTIVITY_TYPE_CREATE_USERS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD" | "ACTIVITY_TYPE_CREATE_INVITATIONS" | "ACTIVITY_TYPE_ACCEPT_INVITATION" | "ACTIVITY_TYPE_CREATE_POLICY" | "ACTIVITY_TYPE_DISABLE_PRIVATE_KEY" | "ACTIVITY_TYPE_DELETE_USERS" | "ACTIVITY_TYPE_DELETE_API_KEYS" | "ACTIVITY_TYPE_DELETE_INVITATION" | "ACTIVITY_TYPE_DELETE_ORGANIZATION" | "ACTIVITY_TYPE_DELETE_POLICY" | "ACTIVITY_TYPE_CREATE_USER_TAG" | "ACTIVITY_TYPE_DELETE_USER_TAGS" | "ACTIVITY_TYPE_CREATE_ORGANIZATION" | "ACTIVITY_TYPE_SIGN_TRANSACTION" | "ACTIVITY_TYPE_APPROVE_ACTIVITY" | "ACTIVITY_TYPE_REJECT_ACTIVITY" | "ACTIVITY_TYPE_DELETE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS" | "ACTIVITY_TYPE_SET_PAYMENT_METHOD" | "ACTIVITY_TYPE_ACTIVATE_BILLING_TIER" | "ACTIVITY_TYPE_DELETE_PAYMENT_METHOD" | "ACTIVITY_TYPE_CREATE_POLICY_V2" | "ACTIVITY_TYPE_CREATE_POLICY_V3" | "ACTIVITY_TYPE_CREATE_API_ONLY_USERS" | "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM" | "ACTIVITY_TYPE_UPDATE_USER_TAG" | "ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG";
2481
4461
  intent: {
2482
4462
  createOrganizationIntent: {
2483
4463
  organizationName: string;
@@ -2574,7 +4554,7 @@ export declare const postCreateInvitations: (input: TPostCreateInvitationsInput)
2574
4554
  createPrivateKeysIntent?: {
2575
4555
  privateKeys: {
2576
4556
  privateKeyName: string;
2577
- curve: "CURVE_SECP256K1";
4557
+ curve: "CURVE_SECP256K1" | "CURVE_ED25519";
2578
4558
  privateKeyTags: string[];
2579
4559
  addressFormats: ("ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM")[];
2580
4560
  }[];
@@ -2583,12 +4563,9 @@ export declare const postCreateInvitations: (input: TPostCreateInvitationsInput)
2583
4563
  privateKeyId: string;
2584
4564
  payload: string;
2585
4565
  encoding: "PAYLOAD_ENCODING_HEXADECIMAL" | "PAYLOAD_ENCODING_TEXT_UTF8";
2586
- hashFunction: "HASH_FUNCTION_NO_OP" | "HASH_FUNCTION_SHA256" | "HASH_FUNCTION_KECCAK256";
4566
+ hashFunction: "HASH_FUNCTION_NO_OP" | "HASH_FUNCTION_SHA256" | "HASH_FUNCTION_KECCAK256" | "HASH_FUNCTION_NOT_APPLICABLE";
2587
4567
  };
2588
4568
  createInvitationsIntent?: {
2589
- /**
2590
- * `POST /public/v1/submit/sign_transaction`
2591
- */
2592
4569
  invitations: {
2593
4570
  receiverUserName: string;
2594
4571
  receiverUserEmail: string;
@@ -2628,9 +4605,6 @@ export declare const postCreateInvitations: (input: TPostCreateInvitationsInput)
2628
4605
  createPolicyIntent?: {
2629
4606
  policyName: string;
2630
4607
  selectors: {
2631
- /**
2632
- * `POST /public/v1/query/whoami`
2633
- */
2634
4608
  subject?: string;
2635
4609
  operator?: "OPERATOR_EQUAL" | "OPERATOR_MORE_THAN" | "OPERATOR_MORE_THAN_OR_EQUAL" | "OPERATOR_LESS_THAN" | "OPERATOR_LESS_THAN_OR_EQUAL" | "OPERATOR_CONTAINS" | "OPERATOR_NOT_EQUAL" | "OPERATOR_IN" | "OPERATOR_NOT_IN" | "OPERATOR_CONTAINS_ONE" | "OPERATOR_CONTAINS_ALL";
2636
4610
  target?: string;
@@ -2674,9 +4648,6 @@ export declare const postCreateInvitations: (input: TPostCreateInvitationsInput)
2674
4648
  apiKeyName: string;
2675
4649
  publicKey: string;
2676
4650
  }[];
2677
- /**
2678
- * `POST /public/v1/submit/delete_policy`
2679
- */
2680
4651
  userId: string;
2681
4652
  };
2682
4653
  deleteApiKeysIntent?: {
@@ -2742,6 +4713,18 @@ export declare const postCreateInvitations: (input: TPostCreateInvitationsInput)
2742
4713
  threshold: number;
2743
4714
  userIds: string[];
2744
4715
  };
4716
+ updateUserTagIntent?: {
4717
+ userTagId: string;
4718
+ newUserTagName?: string;
4719
+ addUserIds: string[];
4720
+ removeUserIds: string[];
4721
+ };
4722
+ updatePrivateKeyTagIntent?: {
4723
+ privateKeyTagId: string;
4724
+ newPrivateKeyTagName?: string;
4725
+ addPrivateKeyIds: string[];
4726
+ removePrivateKeyIds: string[];
4727
+ };
2745
4728
  };
2746
4729
  result: {
2747
4730
  createOrganizationResult?: {
@@ -2831,6 +4814,12 @@ export declare const postCreateInvitations: (input: TPostCreateInvitationsInput)
2831
4814
  updateRootQuorumResult?: {
2832
4815
  [key: string]: unknown;
2833
4816
  };
4817
+ updateUserTagResult?: {
4818
+ userTagId: string;
4819
+ };
4820
+ updatePrivateKeyTagResult?: {
4821
+ privateKeyTagId: string;
4822
+ };
2834
4823
  };
2835
4824
  votes: {
2836
4825
  id: string;
@@ -2913,32 +4902,32 @@ export declare const postCreateInvitations: (input: TPostCreateInvitationsInput)
2913
4902
  };
2914
4903
  }>;
2915
4904
  /**
2916
- * `POST /public/v1/submit/create_policy`
4905
+ * `POST /public/v1/submit/delete_api_keys`
2917
4906
  */
2918
- type TPostCreatePolicyBody = operations["PublicApiService_CreatePolicy"]["parameters"]["body"]["body"];
4907
+ type TPostDeleteApiKeysBody = operations["PublicApiService_DeleteApiKeys"]["parameters"]["body"]["body"];
2919
4908
  /**
2920
- * `POST /public/v1/submit/create_policy`
4909
+ * `POST /public/v1/submit/delete_api_keys`
2921
4910
  */
2922
- export type TPostCreatePolicyResponse = operations["PublicApiService_CreatePolicy"]["responses"]["200"]["schema"];
4911
+ export type TPostDeleteApiKeysResponse = operations["PublicApiService_DeleteApiKeys"]["responses"]["200"]["schema"];
2923
4912
  /**
2924
- * `POST /public/v1/submit/create_policy`
4913
+ * `POST /public/v1/submit/delete_api_keys`
2925
4914
  */
2926
- export type TPostCreatePolicyInput = {
2927
- body: TPostCreatePolicyBody;
4915
+ export type TPostDeleteApiKeysInput = {
4916
+ body: TPostDeleteApiKeysBody;
2928
4917
  };
2929
4918
  /**
2930
- * Create Policy
4919
+ * Delete API Keys
2931
4920
  *
2932
- * Create a new Policy
4921
+ * Remove api keys from a User
2933
4922
  *
2934
- * `POST /public/v1/submit/create_policy`
4923
+ * `POST /public/v1/submit/delete_api_keys`
2935
4924
  */
2936
- export declare const postCreatePolicy: (input: TPostCreatePolicyInput) => Promise<{
4925
+ export declare const postDeleteApiKeys: (input: TPostDeleteApiKeysInput) => Promise<{
2937
4926
  activity: {
2938
4927
  id: string;
2939
4928
  organizationId: string;
2940
4929
  status: "ACTIVITY_STATUS_CREATED" | "ACTIVITY_STATUS_PENDING" | "ACTIVITY_STATUS_COMPLETED" | "ACTIVITY_STATUS_FAILED" | "ACTIVITY_STATUS_CONSENSUS_NEEDED" | "ACTIVITY_STATUS_REJECTED";
2941
- type: "ACTIVITY_TYPE_CREATE_API_KEYS" | "ACTIVITY_TYPE_CREATE_USERS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD" | "ACTIVITY_TYPE_CREATE_INVITATIONS" | "ACTIVITY_TYPE_ACCEPT_INVITATION" | "ACTIVITY_TYPE_CREATE_POLICY" | "ACTIVITY_TYPE_DISABLE_PRIVATE_KEY" | "ACTIVITY_TYPE_DELETE_USERS" | "ACTIVITY_TYPE_DELETE_API_KEYS" | "ACTIVITY_TYPE_DELETE_INVITATION" | "ACTIVITY_TYPE_DELETE_ORGANIZATION" | "ACTIVITY_TYPE_DELETE_POLICY" | "ACTIVITY_TYPE_CREATE_USER_TAG" | "ACTIVITY_TYPE_DELETE_USER_TAGS" | "ACTIVITY_TYPE_CREATE_ORGANIZATION" | "ACTIVITY_TYPE_SIGN_TRANSACTION" | "ACTIVITY_TYPE_APPROVE_ACTIVITY" | "ACTIVITY_TYPE_REJECT_ACTIVITY" | "ACTIVITY_TYPE_DELETE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS" | "ACTIVITY_TYPE_SET_PAYMENT_METHOD" | "ACTIVITY_TYPE_ACTIVATE_BILLING_TIER" | "ACTIVITY_TYPE_DELETE_PAYMENT_METHOD" | "ACTIVITY_TYPE_CREATE_POLICY_V2" | "ACTIVITY_TYPE_CREATE_POLICY_V3" | "ACTIVITY_TYPE_CREATE_API_ONLY_USERS" | "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM";
4930
+ type: "ACTIVITY_TYPE_CREATE_API_KEYS" | "ACTIVITY_TYPE_CREATE_USERS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD" | "ACTIVITY_TYPE_CREATE_INVITATIONS" | "ACTIVITY_TYPE_ACCEPT_INVITATION" | "ACTIVITY_TYPE_CREATE_POLICY" | "ACTIVITY_TYPE_DISABLE_PRIVATE_KEY" | "ACTIVITY_TYPE_DELETE_USERS" | "ACTIVITY_TYPE_DELETE_API_KEYS" | "ACTIVITY_TYPE_DELETE_INVITATION" | "ACTIVITY_TYPE_DELETE_ORGANIZATION" | "ACTIVITY_TYPE_DELETE_POLICY" | "ACTIVITY_TYPE_CREATE_USER_TAG" | "ACTIVITY_TYPE_DELETE_USER_TAGS" | "ACTIVITY_TYPE_CREATE_ORGANIZATION" | "ACTIVITY_TYPE_SIGN_TRANSACTION" | "ACTIVITY_TYPE_APPROVE_ACTIVITY" | "ACTIVITY_TYPE_REJECT_ACTIVITY" | "ACTIVITY_TYPE_DELETE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS" | "ACTIVITY_TYPE_SET_PAYMENT_METHOD" | "ACTIVITY_TYPE_ACTIVATE_BILLING_TIER" | "ACTIVITY_TYPE_DELETE_PAYMENT_METHOD" | "ACTIVITY_TYPE_CREATE_POLICY_V2" | "ACTIVITY_TYPE_CREATE_POLICY_V3" | "ACTIVITY_TYPE_CREATE_API_ONLY_USERS" | "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM" | "ACTIVITY_TYPE_UPDATE_USER_TAG" | "ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG";
2942
4931
  intent: {
2943
4932
  createOrganizationIntent: {
2944
4933
  organizationName: string;
@@ -3035,7 +5024,7 @@ export declare const postCreatePolicy: (input: TPostCreatePolicyInput) => Promis
3035
5024
  createPrivateKeysIntent?: {
3036
5025
  privateKeys: {
3037
5026
  privateKeyName: string;
3038
- curve: "CURVE_SECP256K1";
5027
+ curve: "CURVE_SECP256K1" | "CURVE_ED25519";
3039
5028
  privateKeyTags: string[];
3040
5029
  addressFormats: ("ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM")[];
3041
5030
  }[];
@@ -3044,12 +5033,9 @@ export declare const postCreatePolicy: (input: TPostCreatePolicyInput) => Promis
3044
5033
  privateKeyId: string;
3045
5034
  payload: string;
3046
5035
  encoding: "PAYLOAD_ENCODING_HEXADECIMAL" | "PAYLOAD_ENCODING_TEXT_UTF8";
3047
- hashFunction: "HASH_FUNCTION_NO_OP" | "HASH_FUNCTION_SHA256" | "HASH_FUNCTION_KECCAK256";
5036
+ hashFunction: "HASH_FUNCTION_NO_OP" | "HASH_FUNCTION_SHA256" | "HASH_FUNCTION_KECCAK256" | "HASH_FUNCTION_NOT_APPLICABLE";
3048
5037
  };
3049
5038
  createInvitationsIntent?: {
3050
- /**
3051
- * `POST /public/v1/submit/sign_transaction`
3052
- */
3053
5039
  invitations: {
3054
5040
  receiverUserName: string;
3055
5041
  receiverUserEmail: string;
@@ -3089,9 +5075,6 @@ export declare const postCreatePolicy: (input: TPostCreatePolicyInput) => Promis
3089
5075
  createPolicyIntent?: {
3090
5076
  policyName: string;
3091
5077
  selectors: {
3092
- /**
3093
- * `POST /public/v1/query/whoami`
3094
- */
3095
5078
  subject?: string;
3096
5079
  operator?: "OPERATOR_EQUAL" | "OPERATOR_MORE_THAN" | "OPERATOR_MORE_THAN_OR_EQUAL" | "OPERATOR_LESS_THAN" | "OPERATOR_LESS_THAN_OR_EQUAL" | "OPERATOR_CONTAINS" | "OPERATOR_NOT_EQUAL" | "OPERATOR_IN" | "OPERATOR_NOT_IN" | "OPERATOR_CONTAINS_ONE" | "OPERATOR_CONTAINS_ALL";
3097
5080
  target?: string;
@@ -3135,9 +5118,6 @@ export declare const postCreatePolicy: (input: TPostCreatePolicyInput) => Promis
3135
5118
  apiKeyName: string;
3136
5119
  publicKey: string;
3137
5120
  }[];
3138
- /**
3139
- * `POST /public/v1/submit/delete_policy`
3140
- */
3141
5121
  userId: string;
3142
5122
  };
3143
5123
  deleteApiKeysIntent?: {
@@ -3203,6 +5183,18 @@ export declare const postCreatePolicy: (input: TPostCreatePolicyInput) => Promis
3203
5183
  threshold: number;
3204
5184
  userIds: string[];
3205
5185
  };
5186
+ updateUserTagIntent?: {
5187
+ userTagId: string;
5188
+ newUserTagName?: string;
5189
+ addUserIds: string[];
5190
+ removeUserIds: string[];
5191
+ };
5192
+ updatePrivateKeyTagIntent?: {
5193
+ privateKeyTagId: string;
5194
+ newPrivateKeyTagName?: string;
5195
+ addPrivateKeyIds: string[];
5196
+ removePrivateKeyIds: string[];
5197
+ };
3206
5198
  };
3207
5199
  result: {
3208
5200
  createOrganizationResult?: {
@@ -3292,6 +5284,12 @@ export declare const postCreatePolicy: (input: TPostCreatePolicyInput) => Promis
3292
5284
  updateRootQuorumResult?: {
3293
5285
  [key: string]: unknown;
3294
5286
  };
5287
+ updateUserTagResult?: {
5288
+ userTagId: string;
5289
+ };
5290
+ updatePrivateKeyTagResult?: {
5291
+ privateKeyTagId: string;
5292
+ };
3295
5293
  };
3296
5294
  votes: {
3297
5295
  id: string;
@@ -3374,32 +5372,32 @@ export declare const postCreatePolicy: (input: TPostCreatePolicyInput) => Promis
3374
5372
  };
3375
5373
  }>;
3376
5374
  /**
3377
- * `POST /public/v1/submit/create_private_keys`
5375
+ * `POST /public/v1/submit/delete_invitations`
3378
5376
  */
3379
- type TPostCreatePrivateKeysBody = operations["PublicApiService_CreatePrivateKeys"]["parameters"]["body"]["body"];
5377
+ type TPostDeleteInvitationBody = operations["PublicApiService_DeleteInvitation"]["parameters"]["body"]["body"];
3380
5378
  /**
3381
- * `POST /public/v1/submit/create_private_keys`
5379
+ * `POST /public/v1/submit/delete_invitations`
3382
5380
  */
3383
- export type TPostCreatePrivateKeysResponse = operations["PublicApiService_CreatePrivateKeys"]["responses"]["200"]["schema"];
5381
+ export type TPostDeleteInvitationResponse = operations["PublicApiService_DeleteInvitation"]["responses"]["200"]["schema"];
3384
5382
  /**
3385
- * `POST /public/v1/submit/create_private_keys`
5383
+ * `POST /public/v1/submit/delete_invitations`
3386
5384
  */
3387
- export type TPostCreatePrivateKeysInput = {
3388
- body: TPostCreatePrivateKeysBody;
5385
+ export type TPostDeleteInvitationInput = {
5386
+ body: TPostDeleteInvitationBody;
3389
5387
  };
3390
5388
  /**
3391
- * Create Private Keys
5389
+ * Delete Invitation
3392
5390
  *
3393
- * Create new Private Keys
5391
+ * Delete an existing Invitation
3394
5392
  *
3395
- * `POST /public/v1/submit/create_private_keys`
5393
+ * `POST /public/v1/submit/delete_invitations`
3396
5394
  */
3397
- export declare const postCreatePrivateKeys: (input: TPostCreatePrivateKeysInput) => Promise<{
5395
+ export declare const postDeleteInvitation: (input: TPostDeleteInvitationInput) => Promise<{
3398
5396
  activity: {
3399
5397
  id: string;
3400
5398
  organizationId: string;
3401
5399
  status: "ACTIVITY_STATUS_CREATED" | "ACTIVITY_STATUS_PENDING" | "ACTIVITY_STATUS_COMPLETED" | "ACTIVITY_STATUS_FAILED" | "ACTIVITY_STATUS_CONSENSUS_NEEDED" | "ACTIVITY_STATUS_REJECTED";
3402
- type: "ACTIVITY_TYPE_CREATE_API_KEYS" | "ACTIVITY_TYPE_CREATE_USERS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD" | "ACTIVITY_TYPE_CREATE_INVITATIONS" | "ACTIVITY_TYPE_ACCEPT_INVITATION" | "ACTIVITY_TYPE_CREATE_POLICY" | "ACTIVITY_TYPE_DISABLE_PRIVATE_KEY" | "ACTIVITY_TYPE_DELETE_USERS" | "ACTIVITY_TYPE_DELETE_API_KEYS" | "ACTIVITY_TYPE_DELETE_INVITATION" | "ACTIVITY_TYPE_DELETE_ORGANIZATION" | "ACTIVITY_TYPE_DELETE_POLICY" | "ACTIVITY_TYPE_CREATE_USER_TAG" | "ACTIVITY_TYPE_DELETE_USER_TAGS" | "ACTIVITY_TYPE_CREATE_ORGANIZATION" | "ACTIVITY_TYPE_SIGN_TRANSACTION" | "ACTIVITY_TYPE_APPROVE_ACTIVITY" | "ACTIVITY_TYPE_REJECT_ACTIVITY" | "ACTIVITY_TYPE_DELETE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS" | "ACTIVITY_TYPE_SET_PAYMENT_METHOD" | "ACTIVITY_TYPE_ACTIVATE_BILLING_TIER" | "ACTIVITY_TYPE_DELETE_PAYMENT_METHOD" | "ACTIVITY_TYPE_CREATE_POLICY_V2" | "ACTIVITY_TYPE_CREATE_POLICY_V3" | "ACTIVITY_TYPE_CREATE_API_ONLY_USERS" | "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM";
5400
+ type: "ACTIVITY_TYPE_CREATE_API_KEYS" | "ACTIVITY_TYPE_CREATE_USERS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD" | "ACTIVITY_TYPE_CREATE_INVITATIONS" | "ACTIVITY_TYPE_ACCEPT_INVITATION" | "ACTIVITY_TYPE_CREATE_POLICY" | "ACTIVITY_TYPE_DISABLE_PRIVATE_KEY" | "ACTIVITY_TYPE_DELETE_USERS" | "ACTIVITY_TYPE_DELETE_API_KEYS" | "ACTIVITY_TYPE_DELETE_INVITATION" | "ACTIVITY_TYPE_DELETE_ORGANIZATION" | "ACTIVITY_TYPE_DELETE_POLICY" | "ACTIVITY_TYPE_CREATE_USER_TAG" | "ACTIVITY_TYPE_DELETE_USER_TAGS" | "ACTIVITY_TYPE_CREATE_ORGANIZATION" | "ACTIVITY_TYPE_SIGN_TRANSACTION" | "ACTIVITY_TYPE_APPROVE_ACTIVITY" | "ACTIVITY_TYPE_REJECT_ACTIVITY" | "ACTIVITY_TYPE_DELETE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS" | "ACTIVITY_TYPE_SET_PAYMENT_METHOD" | "ACTIVITY_TYPE_ACTIVATE_BILLING_TIER" | "ACTIVITY_TYPE_DELETE_PAYMENT_METHOD" | "ACTIVITY_TYPE_CREATE_POLICY_V2" | "ACTIVITY_TYPE_CREATE_POLICY_V3" | "ACTIVITY_TYPE_CREATE_API_ONLY_USERS" | "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM" | "ACTIVITY_TYPE_UPDATE_USER_TAG" | "ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG";
3403
5401
  intent: {
3404
5402
  createOrganizationIntent: {
3405
5403
  organizationName: string;
@@ -3496,7 +5494,7 @@ export declare const postCreatePrivateKeys: (input: TPostCreatePrivateKeysInput)
3496
5494
  createPrivateKeysIntent?: {
3497
5495
  privateKeys: {
3498
5496
  privateKeyName: string;
3499
- curve: "CURVE_SECP256K1";
5497
+ curve: "CURVE_SECP256K1" | "CURVE_ED25519";
3500
5498
  privateKeyTags: string[];
3501
5499
  addressFormats: ("ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM")[];
3502
5500
  }[];
@@ -3505,12 +5503,9 @@ export declare const postCreatePrivateKeys: (input: TPostCreatePrivateKeysInput)
3505
5503
  privateKeyId: string;
3506
5504
  payload: string;
3507
5505
  encoding: "PAYLOAD_ENCODING_HEXADECIMAL" | "PAYLOAD_ENCODING_TEXT_UTF8";
3508
- hashFunction: "HASH_FUNCTION_NO_OP" | "HASH_FUNCTION_SHA256" | "HASH_FUNCTION_KECCAK256";
5506
+ hashFunction: "HASH_FUNCTION_NO_OP" | "HASH_FUNCTION_SHA256" | "HASH_FUNCTION_KECCAK256" | "HASH_FUNCTION_NOT_APPLICABLE";
3509
5507
  };
3510
5508
  createInvitationsIntent?: {
3511
- /**
3512
- * `POST /public/v1/submit/sign_transaction`
3513
- */
3514
5509
  invitations: {
3515
5510
  receiverUserName: string;
3516
5511
  receiverUserEmail: string;
@@ -3550,9 +5545,6 @@ export declare const postCreatePrivateKeys: (input: TPostCreatePrivateKeysInput)
3550
5545
  createPolicyIntent?: {
3551
5546
  policyName: string;
3552
5547
  selectors: {
3553
- /**
3554
- * `POST /public/v1/query/whoami`
3555
- */
3556
5548
  subject?: string;
3557
5549
  operator?: "OPERATOR_EQUAL" | "OPERATOR_MORE_THAN" | "OPERATOR_MORE_THAN_OR_EQUAL" | "OPERATOR_LESS_THAN" | "OPERATOR_LESS_THAN_OR_EQUAL" | "OPERATOR_CONTAINS" | "OPERATOR_NOT_EQUAL" | "OPERATOR_IN" | "OPERATOR_NOT_IN" | "OPERATOR_CONTAINS_ONE" | "OPERATOR_CONTAINS_ALL";
3558
5550
  target?: string;
@@ -3596,9 +5588,6 @@ export declare const postCreatePrivateKeys: (input: TPostCreatePrivateKeysInput)
3596
5588
  apiKeyName: string;
3597
5589
  publicKey: string;
3598
5590
  }[];
3599
- /**
3600
- * `POST /public/v1/submit/delete_policy`
3601
- */
3602
5591
  userId: string;
3603
5592
  };
3604
5593
  deleteApiKeysIntent?: {
@@ -3664,6 +5653,18 @@ export declare const postCreatePrivateKeys: (input: TPostCreatePrivateKeysInput)
3664
5653
  threshold: number;
3665
5654
  userIds: string[];
3666
5655
  };
5656
+ updateUserTagIntent?: {
5657
+ userTagId: string;
5658
+ newUserTagName?: string;
5659
+ addUserIds: string[];
5660
+ removeUserIds: string[];
5661
+ };
5662
+ updatePrivateKeyTagIntent?: {
5663
+ privateKeyTagId: string;
5664
+ newPrivateKeyTagName?: string;
5665
+ addPrivateKeyIds: string[];
5666
+ removePrivateKeyIds: string[];
5667
+ };
3667
5668
  };
3668
5669
  result: {
3669
5670
  createOrganizationResult?: {
@@ -3753,6 +5754,12 @@ export declare const postCreatePrivateKeys: (input: TPostCreatePrivateKeysInput)
3753
5754
  updateRootQuorumResult?: {
3754
5755
  [key: string]: unknown;
3755
5756
  };
5757
+ updateUserTagResult?: {
5758
+ userTagId: string;
5759
+ };
5760
+ updatePrivateKeyTagResult?: {
5761
+ privateKeyTagId: string;
5762
+ };
3756
5763
  };
3757
5764
  votes: {
3758
5765
  id: string;
@@ -3835,40 +5842,32 @@ export declare const postCreatePrivateKeys: (input: TPostCreatePrivateKeysInput)
3835
5842
  };
3836
5843
  }>;
3837
5844
  /**
3838
- * `POST /public/v1/submit/create_users`
3839
- *
3840
- * @deprecated
5845
+ * `POST /public/v1/submit/delete_policy`
3841
5846
  */
3842
- type TPostCreateUsersBody = operations["PublicApiService_CreateUsers"]["parameters"]["body"]["body"];
5847
+ type TPostDeletePolicyBody = operations["PublicApiService_DeletePolicy"]["parameters"]["body"]["body"];
3843
5848
  /**
3844
- * `POST /public/v1/submit/create_users`
3845
- *
3846
- * @deprecated
5849
+ * `POST /public/v1/submit/delete_policy`
3847
5850
  */
3848
- export type TPostCreateUsersResponse = operations["PublicApiService_CreateUsers"]["responses"]["200"]["schema"];
5851
+ export type TPostDeletePolicyResponse = operations["PublicApiService_DeletePolicy"]["responses"]["200"]["schema"];
3849
5852
  /**
3850
- * `POST /public/v1/submit/create_users`
3851
- *
3852
- * @deprecated
5853
+ * `POST /public/v1/submit/delete_policy`
3853
5854
  */
3854
- export type TPostCreateUsersInput = {
3855
- body: TPostCreateUsersBody;
5855
+ export type TPostDeletePolicyInput = {
5856
+ body: TPostDeletePolicyBody;
3856
5857
  };
3857
5858
  /**
3858
- * Create Users
3859
- *
3860
- * Create Users in an existing Organization
5859
+ * Delete Policy
3861
5860
  *
3862
- * `POST /public/v1/submit/create_users`
5861
+ * Delete an existing Policy
3863
5862
  *
3864
- * @deprecated
5863
+ * `POST /public/v1/submit/delete_policy`
3865
5864
  */
3866
- export declare const postCreateUsers: (input: TPostCreateUsersInput) => Promise<{
5865
+ export declare const postDeletePolicy: (input: TPostDeletePolicyInput) => Promise<{
3867
5866
  activity: {
3868
5867
  id: string;
3869
5868
  organizationId: string;
3870
5869
  status: "ACTIVITY_STATUS_CREATED" | "ACTIVITY_STATUS_PENDING" | "ACTIVITY_STATUS_COMPLETED" | "ACTIVITY_STATUS_FAILED" | "ACTIVITY_STATUS_CONSENSUS_NEEDED" | "ACTIVITY_STATUS_REJECTED";
3871
- type: "ACTIVITY_TYPE_CREATE_API_KEYS" | "ACTIVITY_TYPE_CREATE_USERS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD" | "ACTIVITY_TYPE_CREATE_INVITATIONS" | "ACTIVITY_TYPE_ACCEPT_INVITATION" | "ACTIVITY_TYPE_CREATE_POLICY" | "ACTIVITY_TYPE_DISABLE_PRIVATE_KEY" | "ACTIVITY_TYPE_DELETE_USERS" | "ACTIVITY_TYPE_DELETE_API_KEYS" | "ACTIVITY_TYPE_DELETE_INVITATION" | "ACTIVITY_TYPE_DELETE_ORGANIZATION" | "ACTIVITY_TYPE_DELETE_POLICY" | "ACTIVITY_TYPE_CREATE_USER_TAG" | "ACTIVITY_TYPE_DELETE_USER_TAGS" | "ACTIVITY_TYPE_CREATE_ORGANIZATION" | "ACTIVITY_TYPE_SIGN_TRANSACTION" | "ACTIVITY_TYPE_APPROVE_ACTIVITY" | "ACTIVITY_TYPE_REJECT_ACTIVITY" | "ACTIVITY_TYPE_DELETE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS" | "ACTIVITY_TYPE_SET_PAYMENT_METHOD" | "ACTIVITY_TYPE_ACTIVATE_BILLING_TIER" | "ACTIVITY_TYPE_DELETE_PAYMENT_METHOD" | "ACTIVITY_TYPE_CREATE_POLICY_V2" | "ACTIVITY_TYPE_CREATE_POLICY_V3" | "ACTIVITY_TYPE_CREATE_API_ONLY_USERS" | "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM";
5870
+ type: "ACTIVITY_TYPE_CREATE_API_KEYS" | "ACTIVITY_TYPE_CREATE_USERS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD" | "ACTIVITY_TYPE_CREATE_INVITATIONS" | "ACTIVITY_TYPE_ACCEPT_INVITATION" | "ACTIVITY_TYPE_CREATE_POLICY" | "ACTIVITY_TYPE_DISABLE_PRIVATE_KEY" | "ACTIVITY_TYPE_DELETE_USERS" | "ACTIVITY_TYPE_DELETE_API_KEYS" | "ACTIVITY_TYPE_DELETE_INVITATION" | "ACTIVITY_TYPE_DELETE_ORGANIZATION" | "ACTIVITY_TYPE_DELETE_POLICY" | "ACTIVITY_TYPE_CREATE_USER_TAG" | "ACTIVITY_TYPE_DELETE_USER_TAGS" | "ACTIVITY_TYPE_CREATE_ORGANIZATION" | "ACTIVITY_TYPE_SIGN_TRANSACTION" | "ACTIVITY_TYPE_APPROVE_ACTIVITY" | "ACTIVITY_TYPE_REJECT_ACTIVITY" | "ACTIVITY_TYPE_DELETE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS" | "ACTIVITY_TYPE_SET_PAYMENT_METHOD" | "ACTIVITY_TYPE_ACTIVATE_BILLING_TIER" | "ACTIVITY_TYPE_DELETE_PAYMENT_METHOD" | "ACTIVITY_TYPE_CREATE_POLICY_V2" | "ACTIVITY_TYPE_CREATE_POLICY_V3" | "ACTIVITY_TYPE_CREATE_API_ONLY_USERS" | "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM" | "ACTIVITY_TYPE_UPDATE_USER_TAG" | "ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG";
3872
5871
  intent: {
3873
5872
  createOrganizationIntent: {
3874
5873
  organizationName: string;
@@ -3965,7 +5964,7 @@ export declare const postCreateUsers: (input: TPostCreateUsersInput) => Promise<
3965
5964
  createPrivateKeysIntent?: {
3966
5965
  privateKeys: {
3967
5966
  privateKeyName: string;
3968
- curve: "CURVE_SECP256K1";
5967
+ curve: "CURVE_SECP256K1" | "CURVE_ED25519";
3969
5968
  privateKeyTags: string[];
3970
5969
  addressFormats: ("ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM")[];
3971
5970
  }[];
@@ -3974,12 +5973,9 @@ export declare const postCreateUsers: (input: TPostCreateUsersInput) => Promise<
3974
5973
  privateKeyId: string;
3975
5974
  payload: string;
3976
5975
  encoding: "PAYLOAD_ENCODING_HEXADECIMAL" | "PAYLOAD_ENCODING_TEXT_UTF8";
3977
- hashFunction: "HASH_FUNCTION_NO_OP" | "HASH_FUNCTION_SHA256" | "HASH_FUNCTION_KECCAK256";
5976
+ hashFunction: "HASH_FUNCTION_NO_OP" | "HASH_FUNCTION_SHA256" | "HASH_FUNCTION_KECCAK256" | "HASH_FUNCTION_NOT_APPLICABLE";
3978
5977
  };
3979
5978
  createInvitationsIntent?: {
3980
- /**
3981
- * `POST /public/v1/submit/sign_transaction`
3982
- */
3983
5979
  invitations: {
3984
5980
  receiverUserName: string;
3985
5981
  receiverUserEmail: string;
@@ -4019,9 +6015,6 @@ export declare const postCreateUsers: (input: TPostCreateUsersInput) => Promise<
4019
6015
  createPolicyIntent?: {
4020
6016
  policyName: string;
4021
6017
  selectors: {
4022
- /**
4023
- * `POST /public/v1/query/whoami`
4024
- */
4025
6018
  subject?: string;
4026
6019
  operator?: "OPERATOR_EQUAL" | "OPERATOR_MORE_THAN" | "OPERATOR_MORE_THAN_OR_EQUAL" | "OPERATOR_LESS_THAN" | "OPERATOR_LESS_THAN_OR_EQUAL" | "OPERATOR_CONTAINS" | "OPERATOR_NOT_EQUAL" | "OPERATOR_IN" | "OPERATOR_NOT_IN" | "OPERATOR_CONTAINS_ONE" | "OPERATOR_CONTAINS_ALL";
4027
6020
  target?: string;
@@ -4065,9 +6058,6 @@ export declare const postCreateUsers: (input: TPostCreateUsersInput) => Promise<
4065
6058
  apiKeyName: string;
4066
6059
  publicKey: string;
4067
6060
  }[];
4068
- /**
4069
- * `POST /public/v1/submit/delete_policy`
4070
- */
4071
6061
  userId: string;
4072
6062
  };
4073
6063
  deleteApiKeysIntent?: {
@@ -4133,6 +6123,18 @@ export declare const postCreateUsers: (input: TPostCreateUsersInput) => Promise<
4133
6123
  threshold: number;
4134
6124
  userIds: string[];
4135
6125
  };
6126
+ updateUserTagIntent?: {
6127
+ userTagId: string;
6128
+ newUserTagName?: string;
6129
+ addUserIds: string[];
6130
+ removeUserIds: string[];
6131
+ };
6132
+ updatePrivateKeyTagIntent?: {
6133
+ privateKeyTagId: string;
6134
+ newPrivateKeyTagName?: string;
6135
+ addPrivateKeyIds: string[];
6136
+ removePrivateKeyIds: string[];
6137
+ };
4136
6138
  };
4137
6139
  result: {
4138
6140
  createOrganizationResult?: {
@@ -4222,6 +6224,12 @@ export declare const postCreateUsers: (input: TPostCreateUsersInput) => Promise<
4222
6224
  updateRootQuorumResult?: {
4223
6225
  [key: string]: unknown;
4224
6226
  };
6227
+ updateUserTagResult?: {
6228
+ userTagId: string;
6229
+ };
6230
+ updatePrivateKeyTagResult?: {
6231
+ privateKeyTagId: string;
6232
+ };
4225
6233
  };
4226
6234
  votes: {
4227
6235
  id: string;
@@ -4304,32 +6312,32 @@ export declare const postCreateUsers: (input: TPostCreateUsersInput) => Promise<
4304
6312
  };
4305
6313
  }>;
4306
6314
  /**
4307
- * `POST /public/v1/submit/delete_api_keys`
6315
+ * `POST /public/v1/submit/reject_activity`
4308
6316
  */
4309
- type TPostDeleteApiKeysBody = operations["PublicApiService_DeleteApiKeys"]["parameters"]["body"]["body"];
6317
+ type TPostRejectActivityBody = operations["PublicApiService_RejectActivity"]["parameters"]["body"]["body"];
4310
6318
  /**
4311
- * `POST /public/v1/submit/delete_api_keys`
6319
+ * `POST /public/v1/submit/reject_activity`
4312
6320
  */
4313
- export type TPostDeleteApiKeysResponse = operations["PublicApiService_DeleteApiKeys"]["responses"]["200"]["schema"];
6321
+ export type TPostRejectActivityResponse = operations["PublicApiService_RejectActivity"]["responses"]["200"]["schema"];
4314
6322
  /**
4315
- * `POST /public/v1/submit/delete_api_keys`
6323
+ * `POST /public/v1/submit/reject_activity`
4316
6324
  */
4317
- export type TPostDeleteApiKeysInput = {
4318
- body: TPostDeleteApiKeysBody;
6325
+ export type TPostRejectActivityInput = {
6326
+ body: TPostRejectActivityBody;
4319
6327
  };
4320
6328
  /**
4321
- * Delete API Keys
6329
+ * Reject Activity
4322
6330
  *
4323
- * Remove api keys from a User
6331
+ * Reject an Activity
4324
6332
  *
4325
- * `POST /public/v1/submit/delete_api_keys`
6333
+ * `POST /public/v1/submit/reject_activity`
4326
6334
  */
4327
- export declare const postDeleteApiKeys: (input: TPostDeleteApiKeysInput) => Promise<{
6335
+ export declare const postRejectActivity: (input: TPostRejectActivityInput) => Promise<{
4328
6336
  activity: {
4329
6337
  id: string;
4330
6338
  organizationId: string;
4331
6339
  status: "ACTIVITY_STATUS_CREATED" | "ACTIVITY_STATUS_PENDING" | "ACTIVITY_STATUS_COMPLETED" | "ACTIVITY_STATUS_FAILED" | "ACTIVITY_STATUS_CONSENSUS_NEEDED" | "ACTIVITY_STATUS_REJECTED";
4332
- type: "ACTIVITY_TYPE_CREATE_API_KEYS" | "ACTIVITY_TYPE_CREATE_USERS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD" | "ACTIVITY_TYPE_CREATE_INVITATIONS" | "ACTIVITY_TYPE_ACCEPT_INVITATION" | "ACTIVITY_TYPE_CREATE_POLICY" | "ACTIVITY_TYPE_DISABLE_PRIVATE_KEY" | "ACTIVITY_TYPE_DELETE_USERS" | "ACTIVITY_TYPE_DELETE_API_KEYS" | "ACTIVITY_TYPE_DELETE_INVITATION" | "ACTIVITY_TYPE_DELETE_ORGANIZATION" | "ACTIVITY_TYPE_DELETE_POLICY" | "ACTIVITY_TYPE_CREATE_USER_TAG" | "ACTIVITY_TYPE_DELETE_USER_TAGS" | "ACTIVITY_TYPE_CREATE_ORGANIZATION" | "ACTIVITY_TYPE_SIGN_TRANSACTION" | "ACTIVITY_TYPE_APPROVE_ACTIVITY" | "ACTIVITY_TYPE_REJECT_ACTIVITY" | "ACTIVITY_TYPE_DELETE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS" | "ACTIVITY_TYPE_SET_PAYMENT_METHOD" | "ACTIVITY_TYPE_ACTIVATE_BILLING_TIER" | "ACTIVITY_TYPE_DELETE_PAYMENT_METHOD" | "ACTIVITY_TYPE_CREATE_POLICY_V2" | "ACTIVITY_TYPE_CREATE_POLICY_V3" | "ACTIVITY_TYPE_CREATE_API_ONLY_USERS" | "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM";
6340
+ type: "ACTIVITY_TYPE_CREATE_API_KEYS" | "ACTIVITY_TYPE_CREATE_USERS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD" | "ACTIVITY_TYPE_CREATE_INVITATIONS" | "ACTIVITY_TYPE_ACCEPT_INVITATION" | "ACTIVITY_TYPE_CREATE_POLICY" | "ACTIVITY_TYPE_DISABLE_PRIVATE_KEY" | "ACTIVITY_TYPE_DELETE_USERS" | "ACTIVITY_TYPE_DELETE_API_KEYS" | "ACTIVITY_TYPE_DELETE_INVITATION" | "ACTIVITY_TYPE_DELETE_ORGANIZATION" | "ACTIVITY_TYPE_DELETE_POLICY" | "ACTIVITY_TYPE_CREATE_USER_TAG" | "ACTIVITY_TYPE_DELETE_USER_TAGS" | "ACTIVITY_TYPE_CREATE_ORGANIZATION" | "ACTIVITY_TYPE_SIGN_TRANSACTION" | "ACTIVITY_TYPE_APPROVE_ACTIVITY" | "ACTIVITY_TYPE_REJECT_ACTIVITY" | "ACTIVITY_TYPE_DELETE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS" | "ACTIVITY_TYPE_SET_PAYMENT_METHOD" | "ACTIVITY_TYPE_ACTIVATE_BILLING_TIER" | "ACTIVITY_TYPE_DELETE_PAYMENT_METHOD" | "ACTIVITY_TYPE_CREATE_POLICY_V2" | "ACTIVITY_TYPE_CREATE_POLICY_V3" | "ACTIVITY_TYPE_CREATE_API_ONLY_USERS" | "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM" | "ACTIVITY_TYPE_UPDATE_USER_TAG" | "ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG";
4333
6341
  intent: {
4334
6342
  createOrganizationIntent: {
4335
6343
  organizationName: string;
@@ -4426,7 +6434,7 @@ export declare const postDeleteApiKeys: (input: TPostDeleteApiKeysInput) => Prom
4426
6434
  createPrivateKeysIntent?: {
4427
6435
  privateKeys: {
4428
6436
  privateKeyName: string;
4429
- curve: "CURVE_SECP256K1";
6437
+ curve: "CURVE_SECP256K1" | "CURVE_ED25519";
4430
6438
  privateKeyTags: string[];
4431
6439
  addressFormats: ("ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM")[];
4432
6440
  }[];
@@ -4435,12 +6443,9 @@ export declare const postDeleteApiKeys: (input: TPostDeleteApiKeysInput) => Prom
4435
6443
  privateKeyId: string;
4436
6444
  payload: string;
4437
6445
  encoding: "PAYLOAD_ENCODING_HEXADECIMAL" | "PAYLOAD_ENCODING_TEXT_UTF8";
4438
- hashFunction: "HASH_FUNCTION_NO_OP" | "HASH_FUNCTION_SHA256" | "HASH_FUNCTION_KECCAK256";
6446
+ hashFunction: "HASH_FUNCTION_NO_OP" | "HASH_FUNCTION_SHA256" | "HASH_FUNCTION_KECCAK256" | "HASH_FUNCTION_NOT_APPLICABLE";
4439
6447
  };
4440
6448
  createInvitationsIntent?: {
4441
- /**
4442
- * `POST /public/v1/submit/sign_transaction`
4443
- */
4444
6449
  invitations: {
4445
6450
  receiverUserName: string;
4446
6451
  receiverUserEmail: string;
@@ -4480,9 +6485,6 @@ export declare const postDeleteApiKeys: (input: TPostDeleteApiKeysInput) => Prom
4480
6485
  createPolicyIntent?: {
4481
6486
  policyName: string;
4482
6487
  selectors: {
4483
- /**
4484
- * `POST /public/v1/query/whoami`
4485
- */
4486
6488
  subject?: string;
4487
6489
  operator?: "OPERATOR_EQUAL" | "OPERATOR_MORE_THAN" | "OPERATOR_MORE_THAN_OR_EQUAL" | "OPERATOR_LESS_THAN" | "OPERATOR_LESS_THAN_OR_EQUAL" | "OPERATOR_CONTAINS" | "OPERATOR_NOT_EQUAL" | "OPERATOR_IN" | "OPERATOR_NOT_IN" | "OPERATOR_CONTAINS_ONE" | "OPERATOR_CONTAINS_ALL";
4488
6490
  target?: string;
@@ -4526,9 +6528,6 @@ export declare const postDeleteApiKeys: (input: TPostDeleteApiKeysInput) => Prom
4526
6528
  apiKeyName: string;
4527
6529
  publicKey: string;
4528
6530
  }[];
4529
- /**
4530
- * `POST /public/v1/submit/delete_policy`
4531
- */
4532
6531
  userId: string;
4533
6532
  };
4534
6533
  deleteApiKeysIntent?: {
@@ -4594,6 +6593,18 @@ export declare const postDeleteApiKeys: (input: TPostDeleteApiKeysInput) => Prom
4594
6593
  threshold: number;
4595
6594
  userIds: string[];
4596
6595
  };
6596
+ updateUserTagIntent?: {
6597
+ userTagId: string;
6598
+ newUserTagName?: string;
6599
+ addUserIds: string[];
6600
+ removeUserIds: string[];
6601
+ };
6602
+ updatePrivateKeyTagIntent?: {
6603
+ privateKeyTagId: string;
6604
+ newPrivateKeyTagName?: string;
6605
+ addPrivateKeyIds: string[];
6606
+ removePrivateKeyIds: string[];
6607
+ };
4597
6608
  };
4598
6609
  result: {
4599
6610
  createOrganizationResult?: {
@@ -4683,6 +6694,12 @@ export declare const postDeleteApiKeys: (input: TPostDeleteApiKeysInput) => Prom
4683
6694
  updateRootQuorumResult?: {
4684
6695
  [key: string]: unknown;
4685
6696
  };
6697
+ updateUserTagResult?: {
6698
+ userTagId: string;
6699
+ };
6700
+ updatePrivateKeyTagResult?: {
6701
+ privateKeyTagId: string;
6702
+ };
4686
6703
  };
4687
6704
  votes: {
4688
6705
  id: string;
@@ -4765,32 +6782,32 @@ export declare const postDeleteApiKeys: (input: TPostDeleteApiKeysInput) => Prom
4765
6782
  };
4766
6783
  }>;
4767
6784
  /**
4768
- * `POST /public/v1/submit/delete_invitations`
6785
+ * `POST /public/v1/submit/sign_raw_payload`
4769
6786
  */
4770
- type TPostDeleteInvitationBody = operations["PublicApiService_DeleteInvitation"]["parameters"]["body"]["body"];
6787
+ type TPostSignRawPayloadBody = operations["PublicApiService_SignRawPayload"]["parameters"]["body"]["body"];
4771
6788
  /**
4772
- * `POST /public/v1/submit/delete_invitations`
6789
+ * `POST /public/v1/submit/sign_raw_payload`
4773
6790
  */
4774
- export type TPostDeleteInvitationResponse = operations["PublicApiService_DeleteInvitation"]["responses"]["200"]["schema"];
6791
+ export type TPostSignRawPayloadResponse = operations["PublicApiService_SignRawPayload"]["responses"]["200"]["schema"];
4775
6792
  /**
4776
- * `POST /public/v1/submit/delete_invitations`
6793
+ * `POST /public/v1/submit/sign_raw_payload`
4777
6794
  */
4778
- export type TPostDeleteInvitationInput = {
4779
- body: TPostDeleteInvitationBody;
6795
+ export type TPostSignRawPayloadInput = {
6796
+ body: TPostSignRawPayloadBody;
4780
6797
  };
4781
6798
  /**
4782
- * Delete Invitation
6799
+ * Sign Raw Payload
4783
6800
  *
4784
- * Delete an existing Invitation
6801
+ * Sign a raw payload with a Private Key
4785
6802
  *
4786
- * `POST /public/v1/submit/delete_invitations`
6803
+ * `POST /public/v1/submit/sign_raw_payload`
4787
6804
  */
4788
- export declare const postDeleteInvitation: (input: TPostDeleteInvitationInput) => Promise<{
6805
+ export declare const postSignRawPayload: (input: TPostSignRawPayloadInput) => Promise<{
4789
6806
  activity: {
4790
6807
  id: string;
4791
6808
  organizationId: string;
4792
6809
  status: "ACTIVITY_STATUS_CREATED" | "ACTIVITY_STATUS_PENDING" | "ACTIVITY_STATUS_COMPLETED" | "ACTIVITY_STATUS_FAILED" | "ACTIVITY_STATUS_CONSENSUS_NEEDED" | "ACTIVITY_STATUS_REJECTED";
4793
- type: "ACTIVITY_TYPE_CREATE_API_KEYS" | "ACTIVITY_TYPE_CREATE_USERS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD" | "ACTIVITY_TYPE_CREATE_INVITATIONS" | "ACTIVITY_TYPE_ACCEPT_INVITATION" | "ACTIVITY_TYPE_CREATE_POLICY" | "ACTIVITY_TYPE_DISABLE_PRIVATE_KEY" | "ACTIVITY_TYPE_DELETE_USERS" | "ACTIVITY_TYPE_DELETE_API_KEYS" | "ACTIVITY_TYPE_DELETE_INVITATION" | "ACTIVITY_TYPE_DELETE_ORGANIZATION" | "ACTIVITY_TYPE_DELETE_POLICY" | "ACTIVITY_TYPE_CREATE_USER_TAG" | "ACTIVITY_TYPE_DELETE_USER_TAGS" | "ACTIVITY_TYPE_CREATE_ORGANIZATION" | "ACTIVITY_TYPE_SIGN_TRANSACTION" | "ACTIVITY_TYPE_APPROVE_ACTIVITY" | "ACTIVITY_TYPE_REJECT_ACTIVITY" | "ACTIVITY_TYPE_DELETE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS" | "ACTIVITY_TYPE_SET_PAYMENT_METHOD" | "ACTIVITY_TYPE_ACTIVATE_BILLING_TIER" | "ACTIVITY_TYPE_DELETE_PAYMENT_METHOD" | "ACTIVITY_TYPE_CREATE_POLICY_V2" | "ACTIVITY_TYPE_CREATE_POLICY_V3" | "ACTIVITY_TYPE_CREATE_API_ONLY_USERS" | "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM";
6810
+ type: "ACTIVITY_TYPE_CREATE_API_KEYS" | "ACTIVITY_TYPE_CREATE_USERS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD" | "ACTIVITY_TYPE_CREATE_INVITATIONS" | "ACTIVITY_TYPE_ACCEPT_INVITATION" | "ACTIVITY_TYPE_CREATE_POLICY" | "ACTIVITY_TYPE_DISABLE_PRIVATE_KEY" | "ACTIVITY_TYPE_DELETE_USERS" | "ACTIVITY_TYPE_DELETE_API_KEYS" | "ACTIVITY_TYPE_DELETE_INVITATION" | "ACTIVITY_TYPE_DELETE_ORGANIZATION" | "ACTIVITY_TYPE_DELETE_POLICY" | "ACTIVITY_TYPE_CREATE_USER_TAG" | "ACTIVITY_TYPE_DELETE_USER_TAGS" | "ACTIVITY_TYPE_CREATE_ORGANIZATION" | "ACTIVITY_TYPE_SIGN_TRANSACTION" | "ACTIVITY_TYPE_APPROVE_ACTIVITY" | "ACTIVITY_TYPE_REJECT_ACTIVITY" | "ACTIVITY_TYPE_DELETE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS" | "ACTIVITY_TYPE_SET_PAYMENT_METHOD" | "ACTIVITY_TYPE_ACTIVATE_BILLING_TIER" | "ACTIVITY_TYPE_DELETE_PAYMENT_METHOD" | "ACTIVITY_TYPE_CREATE_POLICY_V2" | "ACTIVITY_TYPE_CREATE_POLICY_V3" | "ACTIVITY_TYPE_CREATE_API_ONLY_USERS" | "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM" | "ACTIVITY_TYPE_UPDATE_USER_TAG" | "ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG";
4794
6811
  intent: {
4795
6812
  createOrganizationIntent: {
4796
6813
  organizationName: string;
@@ -4887,7 +6904,7 @@ export declare const postDeleteInvitation: (input: TPostDeleteInvitationInput) =
4887
6904
  createPrivateKeysIntent?: {
4888
6905
  privateKeys: {
4889
6906
  privateKeyName: string;
4890
- curve: "CURVE_SECP256K1";
6907
+ curve: "CURVE_SECP256K1" | "CURVE_ED25519";
4891
6908
  privateKeyTags: string[];
4892
6909
  addressFormats: ("ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM")[];
4893
6910
  }[];
@@ -4896,12 +6913,9 @@ export declare const postDeleteInvitation: (input: TPostDeleteInvitationInput) =
4896
6913
  privateKeyId: string;
4897
6914
  payload: string;
4898
6915
  encoding: "PAYLOAD_ENCODING_HEXADECIMAL" | "PAYLOAD_ENCODING_TEXT_UTF8";
4899
- hashFunction: "HASH_FUNCTION_NO_OP" | "HASH_FUNCTION_SHA256" | "HASH_FUNCTION_KECCAK256";
6916
+ hashFunction: "HASH_FUNCTION_NO_OP" | "HASH_FUNCTION_SHA256" | "HASH_FUNCTION_KECCAK256" | "HASH_FUNCTION_NOT_APPLICABLE";
4900
6917
  };
4901
6918
  createInvitationsIntent?: {
4902
- /**
4903
- * `POST /public/v1/submit/sign_transaction`
4904
- */
4905
6919
  invitations: {
4906
6920
  receiverUserName: string;
4907
6921
  receiverUserEmail: string;
@@ -4941,9 +6955,6 @@ export declare const postDeleteInvitation: (input: TPostDeleteInvitationInput) =
4941
6955
  createPolicyIntent?: {
4942
6956
  policyName: string;
4943
6957
  selectors: {
4944
- /**
4945
- * `POST /public/v1/query/whoami`
4946
- */
4947
6958
  subject?: string;
4948
6959
  operator?: "OPERATOR_EQUAL" | "OPERATOR_MORE_THAN" | "OPERATOR_MORE_THAN_OR_EQUAL" | "OPERATOR_LESS_THAN" | "OPERATOR_LESS_THAN_OR_EQUAL" | "OPERATOR_CONTAINS" | "OPERATOR_NOT_EQUAL" | "OPERATOR_IN" | "OPERATOR_NOT_IN" | "OPERATOR_CONTAINS_ONE" | "OPERATOR_CONTAINS_ALL";
4949
6960
  target?: string;
@@ -4987,9 +6998,6 @@ export declare const postDeleteInvitation: (input: TPostDeleteInvitationInput) =
4987
6998
  apiKeyName: string;
4988
6999
  publicKey: string;
4989
7000
  }[];
4990
- /**
4991
- * `POST /public/v1/submit/delete_policy`
4992
- */
4993
7001
  userId: string;
4994
7002
  };
4995
7003
  deleteApiKeysIntent?: {
@@ -5055,6 +7063,18 @@ export declare const postDeleteInvitation: (input: TPostDeleteInvitationInput) =
5055
7063
  threshold: number;
5056
7064
  userIds: string[];
5057
7065
  };
7066
+ updateUserTagIntent?: {
7067
+ userTagId: string;
7068
+ newUserTagName?: string;
7069
+ addUserIds: string[];
7070
+ removeUserIds: string[];
7071
+ };
7072
+ updatePrivateKeyTagIntent?: {
7073
+ privateKeyTagId: string;
7074
+ newPrivateKeyTagName?: string;
7075
+ addPrivateKeyIds: string[];
7076
+ removePrivateKeyIds: string[];
7077
+ };
5058
7078
  };
5059
7079
  result: {
5060
7080
  createOrganizationResult?: {
@@ -5144,6 +7164,12 @@ export declare const postDeleteInvitation: (input: TPostDeleteInvitationInput) =
5144
7164
  updateRootQuorumResult?: {
5145
7165
  [key: string]: unknown;
5146
7166
  };
7167
+ updateUserTagResult?: {
7168
+ userTagId: string;
7169
+ };
7170
+ updatePrivateKeyTagResult?: {
7171
+ privateKeyTagId: string;
7172
+ };
5147
7173
  };
5148
7174
  votes: {
5149
7175
  id: string;
@@ -5226,32 +7252,32 @@ export declare const postDeleteInvitation: (input: TPostDeleteInvitationInput) =
5226
7252
  };
5227
7253
  }>;
5228
7254
  /**
5229
- * `POST /public/v1/submit/delete_policy`
7255
+ * `POST /public/v1/submit/sign_transaction`
5230
7256
  */
5231
- type TPostDeletePolicyBody = operations["PublicApiService_DeletePolicy"]["parameters"]["body"]["body"];
7257
+ type TPostSignTransactionBody = operations["PublicApiService_SignTransaction"]["parameters"]["body"]["body"];
5232
7258
  /**
5233
- * `POST /public/v1/submit/delete_policy`
7259
+ * `POST /public/v1/submit/sign_transaction`
5234
7260
  */
5235
- export type TPostDeletePolicyResponse = operations["PublicApiService_DeletePolicy"]["responses"]["200"]["schema"];
7261
+ export type TPostSignTransactionResponse = operations["PublicApiService_SignTransaction"]["responses"]["200"]["schema"];
5236
7262
  /**
5237
- * `POST /public/v1/submit/delete_policy`
7263
+ * `POST /public/v1/submit/sign_transaction`
5238
7264
  */
5239
- export type TPostDeletePolicyInput = {
5240
- body: TPostDeletePolicyBody;
7265
+ export type TPostSignTransactionInput = {
7266
+ body: TPostSignTransactionBody;
5241
7267
  };
5242
7268
  /**
5243
- * Delete Policy
7269
+ * Sign Transaction
5244
7270
  *
5245
- * Delete an existing Policy
7271
+ * Sign a transaction with a Private Key
5246
7272
  *
5247
- * `POST /public/v1/submit/delete_policy`
7273
+ * `POST /public/v1/submit/sign_transaction`
5248
7274
  */
5249
- export declare const postDeletePolicy: (input: TPostDeletePolicyInput) => Promise<{
7275
+ export declare const postSignTransaction: (input: TPostSignTransactionInput) => Promise<{
5250
7276
  activity: {
5251
7277
  id: string;
5252
7278
  organizationId: string;
5253
7279
  status: "ACTIVITY_STATUS_CREATED" | "ACTIVITY_STATUS_PENDING" | "ACTIVITY_STATUS_COMPLETED" | "ACTIVITY_STATUS_FAILED" | "ACTIVITY_STATUS_CONSENSUS_NEEDED" | "ACTIVITY_STATUS_REJECTED";
5254
- type: "ACTIVITY_TYPE_CREATE_API_KEYS" | "ACTIVITY_TYPE_CREATE_USERS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD" | "ACTIVITY_TYPE_CREATE_INVITATIONS" | "ACTIVITY_TYPE_ACCEPT_INVITATION" | "ACTIVITY_TYPE_CREATE_POLICY" | "ACTIVITY_TYPE_DISABLE_PRIVATE_KEY" | "ACTIVITY_TYPE_DELETE_USERS" | "ACTIVITY_TYPE_DELETE_API_KEYS" | "ACTIVITY_TYPE_DELETE_INVITATION" | "ACTIVITY_TYPE_DELETE_ORGANIZATION" | "ACTIVITY_TYPE_DELETE_POLICY" | "ACTIVITY_TYPE_CREATE_USER_TAG" | "ACTIVITY_TYPE_DELETE_USER_TAGS" | "ACTIVITY_TYPE_CREATE_ORGANIZATION" | "ACTIVITY_TYPE_SIGN_TRANSACTION" | "ACTIVITY_TYPE_APPROVE_ACTIVITY" | "ACTIVITY_TYPE_REJECT_ACTIVITY" | "ACTIVITY_TYPE_DELETE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS" | "ACTIVITY_TYPE_SET_PAYMENT_METHOD" | "ACTIVITY_TYPE_ACTIVATE_BILLING_TIER" | "ACTIVITY_TYPE_DELETE_PAYMENT_METHOD" | "ACTIVITY_TYPE_CREATE_POLICY_V2" | "ACTIVITY_TYPE_CREATE_POLICY_V3" | "ACTIVITY_TYPE_CREATE_API_ONLY_USERS" | "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM";
7280
+ type: "ACTIVITY_TYPE_CREATE_API_KEYS" | "ACTIVITY_TYPE_CREATE_USERS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD" | "ACTIVITY_TYPE_CREATE_INVITATIONS" | "ACTIVITY_TYPE_ACCEPT_INVITATION" | "ACTIVITY_TYPE_CREATE_POLICY" | "ACTIVITY_TYPE_DISABLE_PRIVATE_KEY" | "ACTIVITY_TYPE_DELETE_USERS" | "ACTIVITY_TYPE_DELETE_API_KEYS" | "ACTIVITY_TYPE_DELETE_INVITATION" | "ACTIVITY_TYPE_DELETE_ORGANIZATION" | "ACTIVITY_TYPE_DELETE_POLICY" | "ACTIVITY_TYPE_CREATE_USER_TAG" | "ACTIVITY_TYPE_DELETE_USER_TAGS" | "ACTIVITY_TYPE_CREATE_ORGANIZATION" | "ACTIVITY_TYPE_SIGN_TRANSACTION" | "ACTIVITY_TYPE_APPROVE_ACTIVITY" | "ACTIVITY_TYPE_REJECT_ACTIVITY" | "ACTIVITY_TYPE_DELETE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS" | "ACTIVITY_TYPE_SET_PAYMENT_METHOD" | "ACTIVITY_TYPE_ACTIVATE_BILLING_TIER" | "ACTIVITY_TYPE_DELETE_PAYMENT_METHOD" | "ACTIVITY_TYPE_CREATE_POLICY_V2" | "ACTIVITY_TYPE_CREATE_POLICY_V3" | "ACTIVITY_TYPE_CREATE_API_ONLY_USERS" | "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM" | "ACTIVITY_TYPE_UPDATE_USER_TAG" | "ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG";
5255
7281
  intent: {
5256
7282
  createOrganizationIntent: {
5257
7283
  organizationName: string;
@@ -5348,7 +7374,7 @@ export declare const postDeletePolicy: (input: TPostDeletePolicyInput) => Promis
5348
7374
  createPrivateKeysIntent?: {
5349
7375
  privateKeys: {
5350
7376
  privateKeyName: string;
5351
- curve: "CURVE_SECP256K1";
7377
+ curve: "CURVE_SECP256K1" | "CURVE_ED25519";
5352
7378
  privateKeyTags: string[];
5353
7379
  addressFormats: ("ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM")[];
5354
7380
  }[];
@@ -5357,12 +7383,9 @@ export declare const postDeletePolicy: (input: TPostDeletePolicyInput) => Promis
5357
7383
  privateKeyId: string;
5358
7384
  payload: string;
5359
7385
  encoding: "PAYLOAD_ENCODING_HEXADECIMAL" | "PAYLOAD_ENCODING_TEXT_UTF8";
5360
- hashFunction: "HASH_FUNCTION_NO_OP" | "HASH_FUNCTION_SHA256" | "HASH_FUNCTION_KECCAK256";
7386
+ hashFunction: "HASH_FUNCTION_NO_OP" | "HASH_FUNCTION_SHA256" | "HASH_FUNCTION_KECCAK256" | "HASH_FUNCTION_NOT_APPLICABLE";
5361
7387
  };
5362
7388
  createInvitationsIntent?: {
5363
- /**
5364
- * `POST /public/v1/submit/sign_transaction`
5365
- */
5366
7389
  invitations: {
5367
7390
  receiverUserName: string;
5368
7391
  receiverUserEmail: string;
@@ -5402,9 +7425,6 @@ export declare const postDeletePolicy: (input: TPostDeletePolicyInput) => Promis
5402
7425
  createPolicyIntent?: {
5403
7426
  policyName: string;
5404
7427
  selectors: {
5405
- /**
5406
- * `POST /public/v1/query/whoami`
5407
- */
5408
7428
  subject?: string;
5409
7429
  operator?: "OPERATOR_EQUAL" | "OPERATOR_MORE_THAN" | "OPERATOR_MORE_THAN_OR_EQUAL" | "OPERATOR_LESS_THAN" | "OPERATOR_LESS_THAN_OR_EQUAL" | "OPERATOR_CONTAINS" | "OPERATOR_NOT_EQUAL" | "OPERATOR_IN" | "OPERATOR_NOT_IN" | "OPERATOR_CONTAINS_ONE" | "OPERATOR_CONTAINS_ALL";
5410
7430
  target?: string;
@@ -5448,9 +7468,6 @@ export declare const postDeletePolicy: (input: TPostDeletePolicyInput) => Promis
5448
7468
  apiKeyName: string;
5449
7469
  publicKey: string;
5450
7470
  }[];
5451
- /**
5452
- * `POST /public/v1/submit/delete_policy`
5453
- */
5454
7471
  userId: string;
5455
7472
  };
5456
7473
  deleteApiKeysIntent?: {
@@ -5516,6 +7533,18 @@ export declare const postDeletePolicy: (input: TPostDeletePolicyInput) => Promis
5516
7533
  threshold: number;
5517
7534
  userIds: string[];
5518
7535
  };
7536
+ updateUserTagIntent?: {
7537
+ userTagId: string;
7538
+ newUserTagName?: string;
7539
+ addUserIds: string[];
7540
+ removeUserIds: string[];
7541
+ };
7542
+ updatePrivateKeyTagIntent?: {
7543
+ privateKeyTagId: string;
7544
+ newPrivateKeyTagName?: string;
7545
+ addPrivateKeyIds: string[];
7546
+ removePrivateKeyIds: string[];
7547
+ };
5519
7548
  };
5520
7549
  result: {
5521
7550
  createOrganizationResult?: {
@@ -5605,6 +7634,12 @@ export declare const postDeletePolicy: (input: TPostDeletePolicyInput) => Promis
5605
7634
  updateRootQuorumResult?: {
5606
7635
  [key: string]: unknown;
5607
7636
  };
7637
+ updateUserTagResult?: {
7638
+ userTagId: string;
7639
+ };
7640
+ updatePrivateKeyTagResult?: {
7641
+ privateKeyTagId: string;
7642
+ };
5608
7643
  };
5609
7644
  votes: {
5610
7645
  id: string;
@@ -5687,32 +7722,32 @@ export declare const postDeletePolicy: (input: TPostDeletePolicyInput) => Promis
5687
7722
  };
5688
7723
  }>;
5689
7724
  /**
5690
- * `POST /public/v1/submit/sign_raw_payload`
7725
+ * `POST /public/v1/submit/update_private_key_tag`
5691
7726
  */
5692
- type TPostSignRawPayloadBody = operations["PublicApiService_SignRawPayload"]["parameters"]["body"]["body"];
7727
+ type TPostUpdatePrivateKeyTagBody = operations["PublicApiService_UpdatePrivateKeyTag"]["parameters"]["body"]["body"];
5693
7728
  /**
5694
- * `POST /public/v1/submit/sign_raw_payload`
7729
+ * `POST /public/v1/submit/update_private_key_tag`
5695
7730
  */
5696
- export type TPostSignRawPayloadResponse = operations["PublicApiService_SignRawPayload"]["responses"]["200"]["schema"];
7731
+ export type TPostUpdatePrivateKeyTagResponse = operations["PublicApiService_UpdatePrivateKeyTag"]["responses"]["200"]["schema"];
5697
7732
  /**
5698
- * `POST /public/v1/submit/sign_raw_payload`
7733
+ * `POST /public/v1/submit/update_private_key_tag`
5699
7734
  */
5700
- export type TPostSignRawPayloadInput = {
5701
- body: TPostSignRawPayloadBody;
7735
+ export type TPostUpdatePrivateKeyTagInput = {
7736
+ body: TPostUpdatePrivateKeyTagBody;
5702
7737
  };
5703
7738
  /**
5704
- * Sign Raw Payload
7739
+ * Update Private Key Tag
5705
7740
  *
5706
- * Sign a raw payload with a Private Key
7741
+ * 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.
5707
7742
  *
5708
- * `POST /public/v1/submit/sign_raw_payload`
7743
+ * `POST /public/v1/submit/update_private_key_tag`
5709
7744
  */
5710
- export declare const postSignRawPayload: (input: TPostSignRawPayloadInput) => Promise<{
7745
+ export declare const postUpdatePrivateKeyTag: (input: TPostUpdatePrivateKeyTagInput) => Promise<{
5711
7746
  activity: {
5712
7747
  id: string;
5713
7748
  organizationId: string;
5714
7749
  status: "ACTIVITY_STATUS_CREATED" | "ACTIVITY_STATUS_PENDING" | "ACTIVITY_STATUS_COMPLETED" | "ACTIVITY_STATUS_FAILED" | "ACTIVITY_STATUS_CONSENSUS_NEEDED" | "ACTIVITY_STATUS_REJECTED";
5715
- type: "ACTIVITY_TYPE_CREATE_API_KEYS" | "ACTIVITY_TYPE_CREATE_USERS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD" | "ACTIVITY_TYPE_CREATE_INVITATIONS" | "ACTIVITY_TYPE_ACCEPT_INVITATION" | "ACTIVITY_TYPE_CREATE_POLICY" | "ACTIVITY_TYPE_DISABLE_PRIVATE_KEY" | "ACTIVITY_TYPE_DELETE_USERS" | "ACTIVITY_TYPE_DELETE_API_KEYS" | "ACTIVITY_TYPE_DELETE_INVITATION" | "ACTIVITY_TYPE_DELETE_ORGANIZATION" | "ACTIVITY_TYPE_DELETE_POLICY" | "ACTIVITY_TYPE_CREATE_USER_TAG" | "ACTIVITY_TYPE_DELETE_USER_TAGS" | "ACTIVITY_TYPE_CREATE_ORGANIZATION" | "ACTIVITY_TYPE_SIGN_TRANSACTION" | "ACTIVITY_TYPE_APPROVE_ACTIVITY" | "ACTIVITY_TYPE_REJECT_ACTIVITY" | "ACTIVITY_TYPE_DELETE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS" | "ACTIVITY_TYPE_SET_PAYMENT_METHOD" | "ACTIVITY_TYPE_ACTIVATE_BILLING_TIER" | "ACTIVITY_TYPE_DELETE_PAYMENT_METHOD" | "ACTIVITY_TYPE_CREATE_POLICY_V2" | "ACTIVITY_TYPE_CREATE_POLICY_V3" | "ACTIVITY_TYPE_CREATE_API_ONLY_USERS" | "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM";
7750
+ type: "ACTIVITY_TYPE_CREATE_API_KEYS" | "ACTIVITY_TYPE_CREATE_USERS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD" | "ACTIVITY_TYPE_CREATE_INVITATIONS" | "ACTIVITY_TYPE_ACCEPT_INVITATION" | "ACTIVITY_TYPE_CREATE_POLICY" | "ACTIVITY_TYPE_DISABLE_PRIVATE_KEY" | "ACTIVITY_TYPE_DELETE_USERS" | "ACTIVITY_TYPE_DELETE_API_KEYS" | "ACTIVITY_TYPE_DELETE_INVITATION" | "ACTIVITY_TYPE_DELETE_ORGANIZATION" | "ACTIVITY_TYPE_DELETE_POLICY" | "ACTIVITY_TYPE_CREATE_USER_TAG" | "ACTIVITY_TYPE_DELETE_USER_TAGS" | "ACTIVITY_TYPE_CREATE_ORGANIZATION" | "ACTIVITY_TYPE_SIGN_TRANSACTION" | "ACTIVITY_TYPE_APPROVE_ACTIVITY" | "ACTIVITY_TYPE_REJECT_ACTIVITY" | "ACTIVITY_TYPE_DELETE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS" | "ACTIVITY_TYPE_SET_PAYMENT_METHOD" | "ACTIVITY_TYPE_ACTIVATE_BILLING_TIER" | "ACTIVITY_TYPE_DELETE_PAYMENT_METHOD" | "ACTIVITY_TYPE_CREATE_POLICY_V2" | "ACTIVITY_TYPE_CREATE_POLICY_V3" | "ACTIVITY_TYPE_CREATE_API_ONLY_USERS" | "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM" | "ACTIVITY_TYPE_UPDATE_USER_TAG" | "ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG";
5716
7751
  intent: {
5717
7752
  createOrganizationIntent: {
5718
7753
  organizationName: string;
@@ -5809,7 +7844,7 @@ export declare const postSignRawPayload: (input: TPostSignRawPayloadInput) => Pr
5809
7844
  createPrivateKeysIntent?: {
5810
7845
  privateKeys: {
5811
7846
  privateKeyName: string;
5812
- curve: "CURVE_SECP256K1";
7847
+ curve: "CURVE_SECP256K1" | "CURVE_ED25519";
5813
7848
  privateKeyTags: string[];
5814
7849
  addressFormats: ("ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM")[];
5815
7850
  }[];
@@ -5818,12 +7853,9 @@ export declare const postSignRawPayload: (input: TPostSignRawPayloadInput) => Pr
5818
7853
  privateKeyId: string;
5819
7854
  payload: string;
5820
7855
  encoding: "PAYLOAD_ENCODING_HEXADECIMAL" | "PAYLOAD_ENCODING_TEXT_UTF8";
5821
- hashFunction: "HASH_FUNCTION_NO_OP" | "HASH_FUNCTION_SHA256" | "HASH_FUNCTION_KECCAK256";
7856
+ hashFunction: "HASH_FUNCTION_NO_OP" | "HASH_FUNCTION_SHA256" | "HASH_FUNCTION_KECCAK256" | "HASH_FUNCTION_NOT_APPLICABLE";
5822
7857
  };
5823
7858
  createInvitationsIntent?: {
5824
- /**
5825
- * `POST /public/v1/submit/sign_transaction`
5826
- */
5827
7859
  invitations: {
5828
7860
  receiverUserName: string;
5829
7861
  receiverUserEmail: string;
@@ -5863,9 +7895,6 @@ export declare const postSignRawPayload: (input: TPostSignRawPayloadInput) => Pr
5863
7895
  createPolicyIntent?: {
5864
7896
  policyName: string;
5865
7897
  selectors: {
5866
- /**
5867
- * `POST /public/v1/query/whoami`
5868
- */
5869
7898
  subject?: string;
5870
7899
  operator?: "OPERATOR_EQUAL" | "OPERATOR_MORE_THAN" | "OPERATOR_MORE_THAN_OR_EQUAL" | "OPERATOR_LESS_THAN" | "OPERATOR_LESS_THAN_OR_EQUAL" | "OPERATOR_CONTAINS" | "OPERATOR_NOT_EQUAL" | "OPERATOR_IN" | "OPERATOR_NOT_IN" | "OPERATOR_CONTAINS_ONE" | "OPERATOR_CONTAINS_ALL";
5871
7900
  target?: string;
@@ -5909,9 +7938,6 @@ export declare const postSignRawPayload: (input: TPostSignRawPayloadInput) => Pr
5909
7938
  apiKeyName: string;
5910
7939
  publicKey: string;
5911
7940
  }[];
5912
- /**
5913
- * `POST /public/v1/submit/delete_policy`
5914
- */
5915
7941
  userId: string;
5916
7942
  };
5917
7943
  deleteApiKeysIntent?: {
@@ -5977,6 +8003,18 @@ export declare const postSignRawPayload: (input: TPostSignRawPayloadInput) => Pr
5977
8003
  threshold: number;
5978
8004
  userIds: string[];
5979
8005
  };
8006
+ updateUserTagIntent?: {
8007
+ userTagId: string;
8008
+ newUserTagName?: string;
8009
+ addUserIds: string[];
8010
+ removeUserIds: string[];
8011
+ };
8012
+ updatePrivateKeyTagIntent?: {
8013
+ privateKeyTagId: string;
8014
+ newPrivateKeyTagName?: string;
8015
+ addPrivateKeyIds: string[];
8016
+ removePrivateKeyIds: string[];
8017
+ };
5980
8018
  };
5981
8019
  result: {
5982
8020
  createOrganizationResult?: {
@@ -6066,6 +8104,12 @@ export declare const postSignRawPayload: (input: TPostSignRawPayloadInput) => Pr
6066
8104
  updateRootQuorumResult?: {
6067
8105
  [key: string]: unknown;
6068
8106
  };
8107
+ updateUserTagResult?: {
8108
+ userTagId: string;
8109
+ };
8110
+ updatePrivateKeyTagResult?: {
8111
+ privateKeyTagId: string;
8112
+ };
6069
8113
  };
6070
8114
  votes: {
6071
8115
  id: string;
@@ -6148,32 +8192,32 @@ export declare const postSignRawPayload: (input: TPostSignRawPayloadInput) => Pr
6148
8192
  };
6149
8193
  }>;
6150
8194
  /**
6151
- * `POST /public/v1/submit/sign_transaction`
8195
+ * `POST /public/v1/submit/update_user_tag`
6152
8196
  */
6153
- type TPostSignTransactionBody = operations["PublicApiService_SignTransaction"]["parameters"]["body"]["body"];
8197
+ type TPostUpdateUserTagBody = operations["PublicApiService_UpdateUserTag"]["parameters"]["body"]["body"];
6154
8198
  /**
6155
- * `POST /public/v1/submit/sign_transaction`
8199
+ * `POST /public/v1/submit/update_user_tag`
6156
8200
  */
6157
- export type TPostSignTransactionResponse = operations["PublicApiService_SignTransaction"]["responses"]["200"]["schema"];
8201
+ export type TPostUpdateUserTagResponse = operations["PublicApiService_UpdateUserTag"]["responses"]["200"]["schema"];
6158
8202
  /**
6159
- * `POST /public/v1/submit/sign_transaction`
8203
+ * `POST /public/v1/submit/update_user_tag`
6160
8204
  */
6161
- export type TPostSignTransactionInput = {
6162
- body: TPostSignTransactionBody;
8205
+ export type TPostUpdateUserTagInput = {
8206
+ body: TPostUpdateUserTagBody;
6163
8207
  };
6164
8208
  /**
6165
- * Sign Transaction
8209
+ * Update User Tag
6166
8210
  *
6167
- * Sign a transaction with a Private Key
8211
+ * 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.
6168
8212
  *
6169
- * `POST /public/v1/submit/sign_transaction`
8213
+ * `POST /public/v1/submit/update_user_tag`
6170
8214
  */
6171
- export declare const postSignTransaction: (input: TPostSignTransactionInput) => Promise<{
8215
+ export declare const postUpdateUserTag: (input: TPostUpdateUserTagInput) => Promise<{
6172
8216
  activity: {
6173
8217
  id: string;
6174
8218
  organizationId: string;
6175
8219
  status: "ACTIVITY_STATUS_CREATED" | "ACTIVITY_STATUS_PENDING" | "ACTIVITY_STATUS_COMPLETED" | "ACTIVITY_STATUS_FAILED" | "ACTIVITY_STATUS_CONSENSUS_NEEDED" | "ACTIVITY_STATUS_REJECTED";
6176
- type: "ACTIVITY_TYPE_CREATE_API_KEYS" | "ACTIVITY_TYPE_CREATE_USERS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD" | "ACTIVITY_TYPE_CREATE_INVITATIONS" | "ACTIVITY_TYPE_ACCEPT_INVITATION" | "ACTIVITY_TYPE_CREATE_POLICY" | "ACTIVITY_TYPE_DISABLE_PRIVATE_KEY" | "ACTIVITY_TYPE_DELETE_USERS" | "ACTIVITY_TYPE_DELETE_API_KEYS" | "ACTIVITY_TYPE_DELETE_INVITATION" | "ACTIVITY_TYPE_DELETE_ORGANIZATION" | "ACTIVITY_TYPE_DELETE_POLICY" | "ACTIVITY_TYPE_CREATE_USER_TAG" | "ACTIVITY_TYPE_DELETE_USER_TAGS" | "ACTIVITY_TYPE_CREATE_ORGANIZATION" | "ACTIVITY_TYPE_SIGN_TRANSACTION" | "ACTIVITY_TYPE_APPROVE_ACTIVITY" | "ACTIVITY_TYPE_REJECT_ACTIVITY" | "ACTIVITY_TYPE_DELETE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS" | "ACTIVITY_TYPE_SET_PAYMENT_METHOD" | "ACTIVITY_TYPE_ACTIVATE_BILLING_TIER" | "ACTIVITY_TYPE_DELETE_PAYMENT_METHOD" | "ACTIVITY_TYPE_CREATE_POLICY_V2" | "ACTIVITY_TYPE_CREATE_POLICY_V3" | "ACTIVITY_TYPE_CREATE_API_ONLY_USERS" | "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM";
8220
+ type: "ACTIVITY_TYPE_CREATE_API_KEYS" | "ACTIVITY_TYPE_CREATE_USERS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD" | "ACTIVITY_TYPE_CREATE_INVITATIONS" | "ACTIVITY_TYPE_ACCEPT_INVITATION" | "ACTIVITY_TYPE_CREATE_POLICY" | "ACTIVITY_TYPE_DISABLE_PRIVATE_KEY" | "ACTIVITY_TYPE_DELETE_USERS" | "ACTIVITY_TYPE_DELETE_API_KEYS" | "ACTIVITY_TYPE_DELETE_INVITATION" | "ACTIVITY_TYPE_DELETE_ORGANIZATION" | "ACTIVITY_TYPE_DELETE_POLICY" | "ACTIVITY_TYPE_CREATE_USER_TAG" | "ACTIVITY_TYPE_DELETE_USER_TAGS" | "ACTIVITY_TYPE_CREATE_ORGANIZATION" | "ACTIVITY_TYPE_SIGN_TRANSACTION" | "ACTIVITY_TYPE_APPROVE_ACTIVITY" | "ACTIVITY_TYPE_REJECT_ACTIVITY" | "ACTIVITY_TYPE_DELETE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS" | "ACTIVITY_TYPE_SET_PAYMENT_METHOD" | "ACTIVITY_TYPE_ACTIVATE_BILLING_TIER" | "ACTIVITY_TYPE_DELETE_PAYMENT_METHOD" | "ACTIVITY_TYPE_CREATE_POLICY_V2" | "ACTIVITY_TYPE_CREATE_POLICY_V3" | "ACTIVITY_TYPE_CREATE_API_ONLY_USERS" | "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM" | "ACTIVITY_TYPE_UPDATE_USER_TAG" | "ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG";
6177
8221
  intent: {
6178
8222
  createOrganizationIntent: {
6179
8223
  organizationName: string;
@@ -6270,7 +8314,7 @@ export declare const postSignTransaction: (input: TPostSignTransactionInput) =>
6270
8314
  createPrivateKeysIntent?: {
6271
8315
  privateKeys: {
6272
8316
  privateKeyName: string;
6273
- curve: "CURVE_SECP256K1";
8317
+ curve: "CURVE_SECP256K1" | "CURVE_ED25519";
6274
8318
  privateKeyTags: string[];
6275
8319
  addressFormats: ("ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM")[];
6276
8320
  }[];
@@ -6279,12 +8323,9 @@ export declare const postSignTransaction: (input: TPostSignTransactionInput) =>
6279
8323
  privateKeyId: string;
6280
8324
  payload: string;
6281
8325
  encoding: "PAYLOAD_ENCODING_HEXADECIMAL" | "PAYLOAD_ENCODING_TEXT_UTF8";
6282
- hashFunction: "HASH_FUNCTION_NO_OP" | "HASH_FUNCTION_SHA256" | "HASH_FUNCTION_KECCAK256";
8326
+ hashFunction: "HASH_FUNCTION_NO_OP" | "HASH_FUNCTION_SHA256" | "HASH_FUNCTION_KECCAK256" | "HASH_FUNCTION_NOT_APPLICABLE";
6283
8327
  };
6284
8328
  createInvitationsIntent?: {
6285
- /**
6286
- * `POST /public/v1/submit/sign_transaction`
6287
- */
6288
8329
  invitations: {
6289
8330
  receiverUserName: string;
6290
8331
  receiverUserEmail: string;
@@ -6324,9 +8365,6 @@ export declare const postSignTransaction: (input: TPostSignTransactionInput) =>
6324
8365
  createPolicyIntent?: {
6325
8366
  policyName: string;
6326
8367
  selectors: {
6327
- /**
6328
- * `POST /public/v1/query/whoami`
6329
- */
6330
8368
  subject?: string;
6331
8369
  operator?: "OPERATOR_EQUAL" | "OPERATOR_MORE_THAN" | "OPERATOR_MORE_THAN_OR_EQUAL" | "OPERATOR_LESS_THAN" | "OPERATOR_LESS_THAN_OR_EQUAL" | "OPERATOR_CONTAINS" | "OPERATOR_NOT_EQUAL" | "OPERATOR_IN" | "OPERATOR_NOT_IN" | "OPERATOR_CONTAINS_ONE" | "OPERATOR_CONTAINS_ALL";
6332
8370
  target?: string;
@@ -6370,9 +8408,6 @@ export declare const postSignTransaction: (input: TPostSignTransactionInput) =>
6370
8408
  apiKeyName: string;
6371
8409
  publicKey: string;
6372
8410
  }[];
6373
- /**
6374
- * `POST /public/v1/submit/delete_policy`
6375
- */
6376
8411
  userId: string;
6377
8412
  };
6378
8413
  deleteApiKeysIntent?: {
@@ -6438,6 +8473,18 @@ export declare const postSignTransaction: (input: TPostSignTransactionInput) =>
6438
8473
  threshold: number;
6439
8474
  userIds: string[];
6440
8475
  };
8476
+ updateUserTagIntent?: {
8477
+ userTagId: string;
8478
+ newUserTagName?: string;
8479
+ addUserIds: string[];
8480
+ removeUserIds: string[];
8481
+ };
8482
+ updatePrivateKeyTagIntent?: {
8483
+ privateKeyTagId: string;
8484
+ newPrivateKeyTagName?: string;
8485
+ addPrivateKeyIds: string[];
8486
+ removePrivateKeyIds: string[];
8487
+ };
6441
8488
  };
6442
8489
  result: {
6443
8490
  createOrganizationResult?: {
@@ -6527,6 +8574,12 @@ export declare const postSignTransaction: (input: TPostSignTransactionInput) =>
6527
8574
  updateRootQuorumResult?: {
6528
8575
  [key: string]: unknown;
6529
8576
  };
8577
+ updateUserTagResult?: {
8578
+ userTagId: string;
8579
+ };
8580
+ updatePrivateKeyTagResult?: {
8581
+ privateKeyTagId: string;
8582
+ };
6530
8583
  };
6531
8584
  votes: {
6532
8585
  id: string;
@@ -6610,17 +8663,23 @@ export declare const postSignTransaction: (input: TPostSignTransactionInput) =>
6610
8663
  }>;
6611
8664
  /**
6612
8665
  * `POST /tkhq/public/v1/query/get_private_key`
8666
+ *
8667
+ * @deprecated
6613
8668
  */
6614
- type TPostGetPrivateKeyBody = operations["PublicApiService_GetPrivateKey"]["parameters"]["body"]["body"];
8669
+ type TPostGetPrivateKeyBackwardsCompatBody = operations["PublicApiService_GetPrivateKeyBackwardsCompat"]["parameters"]["body"]["body"];
6615
8670
  /**
6616
8671
  * `POST /tkhq/public/v1/query/get_private_key`
8672
+ *
8673
+ * @deprecated
6617
8674
  */
6618
- export type TPostGetPrivateKeyResponse = operations["PublicApiService_GetPrivateKey"]["responses"]["200"]["schema"];
8675
+ export type TPostGetPrivateKeyBackwardsCompatResponse = operations["PublicApiService_GetPrivateKeyBackwardsCompat"]["responses"]["200"]["schema"];
6619
8676
  /**
6620
8677
  * `POST /tkhq/public/v1/query/get_private_key`
8678
+ *
8679
+ * @deprecated
6621
8680
  */
6622
- export type TPostGetPrivateKeyInput = {
6623
- body: TPostGetPrivateKeyBody;
8681
+ export type TPostGetPrivateKeyBackwardsCompatInput = {
8682
+ body: TPostGetPrivateKeyBackwardsCompatBody;
6624
8683
  };
6625
8684
  /**
6626
8685
  * Get Private Key
@@ -6628,13 +8687,15 @@ export type TPostGetPrivateKeyInput = {
6628
8687
  * Get details about a Private Key
6629
8688
  *
6630
8689
  * `POST /tkhq/public/v1/query/get_private_key`
8690
+ *
8691
+ * @deprecated
6631
8692
  */
6632
- export declare const postGetPrivateKey: (input: TPostGetPrivateKeyInput) => Promise<{
8693
+ export declare const postGetPrivateKeyBackwardsCompat: (input: TPostGetPrivateKeyBackwardsCompatInput) => Promise<{
6633
8694
  privateKey: {
6634
8695
  privateKeyId: string;
6635
8696
  publicKey: string;
6636
8697
  privateKeyName: string;
6637
- curve: "CURVE_SECP256K1";
8698
+ curve: "CURVE_SECP256K1" | "CURVE_ED25519";
6638
8699
  addresses: {
6639
8700
  format?: "ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM";
6640
8701
  address?: string;