@turnkey/http 2.9.0 → 2.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -213,6 +213,13 @@ export declare const getActivity: (input: TGetActivityInput) => Promise<{
213
213
  unsignedTransaction: string;
214
214
  type: "TRANSACTION_TYPE_ETHEREUM";
215
215
  };
216
+ /**
217
+ * Init Email Recovery
218
+ *
219
+ * Initializes a new email recovery
220
+ *
221
+ * `POST /public/v1/submit/init_user_email_recovery`
222
+ */
216
223
  createApiKeysIntent?: {
217
224
  apiKeys: {
218
225
  apiKeyName: string;
@@ -408,6 +415,11 @@ export declare const getActivity: (input: TGetActivityInput) => Promise<{
408
415
  addressFormats: ("ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM" | "ADDRESS_FORMAT_SOLANA" | "ADDRESS_FORMAT_COSMOS" | "ADDRESS_FORMAT_TRON")[];
409
416
  }[];
410
417
  };
418
+ /**
419
+ * Request a WebAuthn assertion and return a signed `RecoverUser` request, ready to be POSTed to Turnkey.
420
+ *
421
+ * See {@link RecoverUser}
422
+ */
411
423
  updateUserIntent?: {
412
424
  userId: string;
413
425
  userName?: string;
@@ -641,6 +653,9 @@ export declare const getActivity: (input: TGetActivityInput) => Promise<{
641
653
  deleteAuthenticatorsResult?: {
642
654
  authenticatorIds: string[];
643
655
  };
656
+ /**
657
+ * `POST /public/v1/submit/update_user`
658
+ */
644
659
  deleteInvitationResult?: {
645
660
  invitationId: string;
646
661
  };
@@ -719,9 +734,7 @@ export declare const getActivity: (input: TGetActivityInput) => Promise<{
719
734
  };
720
735
  updatePolicyResult?: {
721
736
  policyId: string;
722
- }; /**
723
- * `POST /public/v1/submit/update_user_tag`
724
- */
737
+ };
725
738
  createSubOrganizationResultV3?: {
726
739
  subOrganizationId: string;
727
740
  /**
@@ -803,9 +816,6 @@ export declare const getActivity: (input: TGetActivityInput) => Promise<{
803
816
  }[];
804
817
  };
805
818
  };
806
- /**
807
- * `POST /public/v1/query/list_policies`
808
- */
809
819
  votes: {
810
820
  id: string;
811
821
  userId: string;
@@ -1213,7 +1223,9 @@ export declare const getOrganization: (input: TGetOrganizationInput) => Promise<
1213
1223
  nanos: string;
1214
1224
  };
1215
1225
  senderUserId: string;
1216
- }[];
1226
+ }[]; /**
1227
+ * `POST /public/v1/submit/sign_raw_payload`
1228
+ */
1217
1229
  tags?: {
1218
1230
  tagId: string;
1219
1231
  tagName: string;
@@ -1689,6 +1701,13 @@ export declare const getActivities: (input: TGetActivitiesInput) => Promise<{
1689
1701
  unsignedTransaction: string;
1690
1702
  type: "TRANSACTION_TYPE_ETHEREUM";
1691
1703
  };
1704
+ /**
1705
+ * Init Email Recovery
1706
+ *
1707
+ * Initializes a new email recovery
1708
+ *
1709
+ * `POST /public/v1/submit/init_user_email_recovery`
1710
+ */
1692
1711
  createApiKeysIntent?: {
1693
1712
  apiKeys: {
1694
1713
  apiKeyName: string;
@@ -1884,6 +1903,11 @@ export declare const getActivities: (input: TGetActivitiesInput) => Promise<{
1884
1903
  addressFormats: ("ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM" | "ADDRESS_FORMAT_SOLANA" | "ADDRESS_FORMAT_COSMOS" | "ADDRESS_FORMAT_TRON")[];
1885
1904
  }[];
1886
1905
  };
1906
+ /**
1907
+ * Request a WebAuthn assertion and return a signed `RecoverUser` request, ready to be POSTed to Turnkey.
1908
+ *
1909
+ * See {@link RecoverUser}
1910
+ */
1887
1911
  updateUserIntent?: {
1888
1912
  userId: string;
1889
1913
  userName?: string;
@@ -2117,6 +2141,9 @@ export declare const getActivities: (input: TGetActivitiesInput) => Promise<{
2117
2141
  deleteAuthenticatorsResult?: {
2118
2142
  authenticatorIds: string[];
2119
2143
  };
2144
+ /**
2145
+ * `POST /public/v1/submit/update_user`
2146
+ */
2120
2147
  deleteInvitationResult?: {
2121
2148
  invitationId: string;
2122
2149
  };
@@ -2195,9 +2222,7 @@ export declare const getActivities: (input: TGetActivitiesInput) => Promise<{
2195
2222
  };
2196
2223
  updatePolicyResult?: {
2197
2224
  policyId: string;
2198
- }; /**
2199
- * `POST /public/v1/submit/update_user_tag`
2200
- */
2225
+ };
2201
2226
  createSubOrganizationResultV3?: {
2202
2227
  subOrganizationId: string;
2203
2228
  /**
@@ -2279,9 +2304,6 @@ export declare const getActivities: (input: TGetActivitiesInput) => Promise<{
2279
2304
  }[];
2280
2305
  };
2281
2306
  };
2282
- /**
2283
- * `POST /public/v1/query/list_policies`
2284
- */
2285
2307
  votes: {
2286
2308
  id: string;
2287
2309
  userId: string;
@@ -2764,7 +2786,7 @@ export type TGetWhoamiBody = operations["PublicApiService_GetWhoami"]["parameter
2764
2786
  /**
2765
2787
  * Who am I?
2766
2788
  *
2767
- * Get basic information about your current API or WebAuthN user and their organization. Affords Sub-Organization look ups via Parent Organization for WebAuthN users.
2789
+ * Get basic information about your current API or WebAuthN user and their organization. Affords Sub-Organization look ups via Parent Organization for WebAuthN or API key users.
2768
2790
  *
2769
2791
  * `POST /public/v1/query/whoami`
2770
2792
  */
@@ -2993,6 +3015,13 @@ export declare const approveActivity: (input: TApproveActivityInput) => Promise<
2993
3015
  unsignedTransaction: string;
2994
3016
  type: "TRANSACTION_TYPE_ETHEREUM";
2995
3017
  };
3018
+ /**
3019
+ * Init Email Recovery
3020
+ *
3021
+ * Initializes a new email recovery
3022
+ *
3023
+ * `POST /public/v1/submit/init_user_email_recovery`
3024
+ */
2996
3025
  createApiKeysIntent?: {
2997
3026
  apiKeys: {
2998
3027
  apiKeyName: string;
@@ -3188,6 +3217,11 @@ export declare const approveActivity: (input: TApproveActivityInput) => Promise<
3188
3217
  addressFormats: ("ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM" | "ADDRESS_FORMAT_SOLANA" | "ADDRESS_FORMAT_COSMOS" | "ADDRESS_FORMAT_TRON")[];
3189
3218
  }[];
3190
3219
  };
3220
+ /**
3221
+ * Request a WebAuthn assertion and return a signed `RecoverUser` request, ready to be POSTed to Turnkey.
3222
+ *
3223
+ * See {@link RecoverUser}
3224
+ */
3191
3225
  updateUserIntent?: {
3192
3226
  userId: string;
3193
3227
  userName?: string;
@@ -3421,6 +3455,9 @@ export declare const approveActivity: (input: TApproveActivityInput) => Promise<
3421
3455
  deleteAuthenticatorsResult?: {
3422
3456
  authenticatorIds: string[];
3423
3457
  };
3458
+ /**
3459
+ * `POST /public/v1/submit/update_user`
3460
+ */
3424
3461
  deleteInvitationResult?: {
3425
3462
  invitationId: string;
3426
3463
  };
@@ -3499,9 +3536,7 @@ export declare const approveActivity: (input: TApproveActivityInput) => Promise<
3499
3536
  };
3500
3537
  updatePolicyResult?: {
3501
3538
  policyId: string;
3502
- }; /**
3503
- * `POST /public/v1/submit/update_user_tag`
3504
- */
3539
+ };
3505
3540
  createSubOrganizationResultV3?: {
3506
3541
  subOrganizationId: string;
3507
3542
  /**
@@ -3583,9 +3618,6 @@ export declare const approveActivity: (input: TApproveActivityInput) => Promise<
3583
3618
  }[];
3584
3619
  };
3585
3620
  };
3586
- /**
3587
- * `POST /public/v1/query/list_policies`
3588
- */
3589
3621
  votes: {
3590
3622
  id: string;
3591
3623
  userId: string;
@@ -3884,6 +3916,13 @@ export declare const createApiKeys: (input: TCreateApiKeysInput) => Promise<{
3884
3916
  unsignedTransaction: string;
3885
3917
  type: "TRANSACTION_TYPE_ETHEREUM";
3886
3918
  };
3919
+ /**
3920
+ * Init Email Recovery
3921
+ *
3922
+ * Initializes a new email recovery
3923
+ *
3924
+ * `POST /public/v1/submit/init_user_email_recovery`
3925
+ */
3887
3926
  createApiKeysIntent?: {
3888
3927
  apiKeys: {
3889
3928
  apiKeyName: string;
@@ -4079,6 +4118,11 @@ export declare const createApiKeys: (input: TCreateApiKeysInput) => Promise<{
4079
4118
  addressFormats: ("ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM" | "ADDRESS_FORMAT_SOLANA" | "ADDRESS_FORMAT_COSMOS" | "ADDRESS_FORMAT_TRON")[];
4080
4119
  }[];
4081
4120
  };
4121
+ /**
4122
+ * Request a WebAuthn assertion and return a signed `RecoverUser` request, ready to be POSTed to Turnkey.
4123
+ *
4124
+ * See {@link RecoverUser}
4125
+ */
4082
4126
  updateUserIntent?: {
4083
4127
  userId: string;
4084
4128
  userName?: string;
@@ -4312,6 +4356,9 @@ export declare const createApiKeys: (input: TCreateApiKeysInput) => Promise<{
4312
4356
  deleteAuthenticatorsResult?: {
4313
4357
  authenticatorIds: string[];
4314
4358
  };
4359
+ /**
4360
+ * `POST /public/v1/submit/update_user`
4361
+ */
4315
4362
  deleteInvitationResult?: {
4316
4363
  invitationId: string;
4317
4364
  };
@@ -4390,9 +4437,7 @@ export declare const createApiKeys: (input: TCreateApiKeysInput) => Promise<{
4390
4437
  };
4391
4438
  updatePolicyResult?: {
4392
4439
  policyId: string;
4393
- }; /**
4394
- * `POST /public/v1/submit/update_user_tag`
4395
- */
4440
+ };
4396
4441
  createSubOrganizationResultV3?: {
4397
4442
  subOrganizationId: string;
4398
4443
  /**
@@ -4474,9 +4519,6 @@ export declare const createApiKeys: (input: TCreateApiKeysInput) => Promise<{
4474
4519
  }[];
4475
4520
  };
4476
4521
  };
4477
- /**
4478
- * `POST /public/v1/query/list_policies`
4479
- */
4480
4522
  votes: {
4481
4523
  id: string;
4482
4524
  userId: string;
@@ -4775,6 +4817,13 @@ export declare const createApiOnlyUsers: (input: TCreateApiOnlyUsersInput) => Pr
4775
4817
  unsignedTransaction: string;
4776
4818
  type: "TRANSACTION_TYPE_ETHEREUM";
4777
4819
  };
4820
+ /**
4821
+ * Init Email Recovery
4822
+ *
4823
+ * Initializes a new email recovery
4824
+ *
4825
+ * `POST /public/v1/submit/init_user_email_recovery`
4826
+ */
4778
4827
  createApiKeysIntent?: {
4779
4828
  apiKeys: {
4780
4829
  apiKeyName: string;
@@ -4970,6 +5019,11 @@ export declare const createApiOnlyUsers: (input: TCreateApiOnlyUsersInput) => Pr
4970
5019
  addressFormats: ("ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM" | "ADDRESS_FORMAT_SOLANA" | "ADDRESS_FORMAT_COSMOS" | "ADDRESS_FORMAT_TRON")[];
4971
5020
  }[];
4972
5021
  };
5022
+ /**
5023
+ * Request a WebAuthn assertion and return a signed `RecoverUser` request, ready to be POSTed to Turnkey.
5024
+ *
5025
+ * See {@link RecoverUser}
5026
+ */
4973
5027
  updateUserIntent?: {
4974
5028
  userId: string;
4975
5029
  userName?: string;
@@ -5203,6 +5257,9 @@ export declare const createApiOnlyUsers: (input: TCreateApiOnlyUsersInput) => Pr
5203
5257
  deleteAuthenticatorsResult?: {
5204
5258
  authenticatorIds: string[];
5205
5259
  };
5260
+ /**
5261
+ * `POST /public/v1/submit/update_user`
5262
+ */
5206
5263
  deleteInvitationResult?: {
5207
5264
  invitationId: string;
5208
5265
  };
@@ -5281,9 +5338,7 @@ export declare const createApiOnlyUsers: (input: TCreateApiOnlyUsersInput) => Pr
5281
5338
  };
5282
5339
  updatePolicyResult?: {
5283
5340
  policyId: string;
5284
- }; /**
5285
- * `POST /public/v1/submit/update_user_tag`
5286
- */
5341
+ };
5287
5342
  createSubOrganizationResultV3?: {
5288
5343
  subOrganizationId: string;
5289
5344
  /**
@@ -5365,9 +5420,6 @@ export declare const createApiOnlyUsers: (input: TCreateApiOnlyUsersInput) => Pr
5365
5420
  }[];
5366
5421
  };
5367
5422
  };
5368
- /**
5369
- * `POST /public/v1/query/list_policies`
5370
- */
5371
5423
  votes: {
5372
5424
  id: string;
5373
5425
  userId: string;
@@ -5666,6 +5718,13 @@ export declare const createAuthenticators: (input: TCreateAuthenticatorsInput) =
5666
5718
  unsignedTransaction: string;
5667
5719
  type: "TRANSACTION_TYPE_ETHEREUM";
5668
5720
  };
5721
+ /**
5722
+ * Init Email Recovery
5723
+ *
5724
+ * Initializes a new email recovery
5725
+ *
5726
+ * `POST /public/v1/submit/init_user_email_recovery`
5727
+ */
5669
5728
  createApiKeysIntent?: {
5670
5729
  apiKeys: {
5671
5730
  apiKeyName: string;
@@ -5861,6 +5920,11 @@ export declare const createAuthenticators: (input: TCreateAuthenticatorsInput) =
5861
5920
  addressFormats: ("ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM" | "ADDRESS_FORMAT_SOLANA" | "ADDRESS_FORMAT_COSMOS" | "ADDRESS_FORMAT_TRON")[];
5862
5921
  }[];
5863
5922
  };
5923
+ /**
5924
+ * Request a WebAuthn assertion and return a signed `RecoverUser` request, ready to be POSTed to Turnkey.
5925
+ *
5926
+ * See {@link RecoverUser}
5927
+ */
5864
5928
  updateUserIntent?: {
5865
5929
  userId: string;
5866
5930
  userName?: string;
@@ -6094,6 +6158,9 @@ export declare const createAuthenticators: (input: TCreateAuthenticatorsInput) =
6094
6158
  deleteAuthenticatorsResult?: {
6095
6159
  authenticatorIds: string[];
6096
6160
  };
6161
+ /**
6162
+ * `POST /public/v1/submit/update_user`
6163
+ */
6097
6164
  deleteInvitationResult?: {
6098
6165
  invitationId: string;
6099
6166
  };
@@ -6172,9 +6239,7 @@ export declare const createAuthenticators: (input: TCreateAuthenticatorsInput) =
6172
6239
  };
6173
6240
  updatePolicyResult?: {
6174
6241
  policyId: string;
6175
- }; /**
6176
- * `POST /public/v1/submit/update_user_tag`
6177
- */
6242
+ };
6178
6243
  createSubOrganizationResultV3?: {
6179
6244
  subOrganizationId: string;
6180
6245
  /**
@@ -6256,9 +6321,6 @@ export declare const createAuthenticators: (input: TCreateAuthenticatorsInput) =
6256
6321
  }[];
6257
6322
  };
6258
6323
  };
6259
- /**
6260
- * `POST /public/v1/query/list_policies`
6261
- */
6262
6324
  votes: {
6263
6325
  id: string;
6264
6326
  userId: string;
@@ -6557,6 +6619,13 @@ export declare const createInvitations: (input: TCreateInvitationsInput) => Prom
6557
6619
  unsignedTransaction: string;
6558
6620
  type: "TRANSACTION_TYPE_ETHEREUM";
6559
6621
  };
6622
+ /**
6623
+ * Init Email Recovery
6624
+ *
6625
+ * Initializes a new email recovery
6626
+ *
6627
+ * `POST /public/v1/submit/init_user_email_recovery`
6628
+ */
6560
6629
  createApiKeysIntent?: {
6561
6630
  apiKeys: {
6562
6631
  apiKeyName: string;
@@ -6752,6 +6821,11 @@ export declare const createInvitations: (input: TCreateInvitationsInput) => Prom
6752
6821
  addressFormats: ("ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM" | "ADDRESS_FORMAT_SOLANA" | "ADDRESS_FORMAT_COSMOS" | "ADDRESS_FORMAT_TRON")[];
6753
6822
  }[];
6754
6823
  };
6824
+ /**
6825
+ * Request a WebAuthn assertion and return a signed `RecoverUser` request, ready to be POSTed to Turnkey.
6826
+ *
6827
+ * See {@link RecoverUser}
6828
+ */
6755
6829
  updateUserIntent?: {
6756
6830
  userId: string;
6757
6831
  userName?: string;
@@ -6985,6 +7059,9 @@ export declare const createInvitations: (input: TCreateInvitationsInput) => Prom
6985
7059
  deleteAuthenticatorsResult?: {
6986
7060
  authenticatorIds: string[];
6987
7061
  };
7062
+ /**
7063
+ * `POST /public/v1/submit/update_user`
7064
+ */
6988
7065
  deleteInvitationResult?: {
6989
7066
  invitationId: string;
6990
7067
  };
@@ -7063,9 +7140,7 @@ export declare const createInvitations: (input: TCreateInvitationsInput) => Prom
7063
7140
  };
7064
7141
  updatePolicyResult?: {
7065
7142
  policyId: string;
7066
- }; /**
7067
- * `POST /public/v1/submit/update_user_tag`
7068
- */
7143
+ };
7069
7144
  createSubOrganizationResultV3?: {
7070
7145
  subOrganizationId: string;
7071
7146
  /**
@@ -7147,9 +7222,6 @@ export declare const createInvitations: (input: TCreateInvitationsInput) => Prom
7147
7222
  }[];
7148
7223
  };
7149
7224
  };
7150
- /**
7151
- * `POST /public/v1/query/list_policies`
7152
- */
7153
7225
  votes: {
7154
7226
  id: string;
7155
7227
  userId: string;
@@ -7448,6 +7520,13 @@ export declare const createPolicy: (input: TCreatePolicyInput) => Promise<{
7448
7520
  unsignedTransaction: string;
7449
7521
  type: "TRANSACTION_TYPE_ETHEREUM";
7450
7522
  };
7523
+ /**
7524
+ * Init Email Recovery
7525
+ *
7526
+ * Initializes a new email recovery
7527
+ *
7528
+ * `POST /public/v1/submit/init_user_email_recovery`
7529
+ */
7451
7530
  createApiKeysIntent?: {
7452
7531
  apiKeys: {
7453
7532
  apiKeyName: string;
@@ -7643,6 +7722,11 @@ export declare const createPolicy: (input: TCreatePolicyInput) => Promise<{
7643
7722
  addressFormats: ("ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM" | "ADDRESS_FORMAT_SOLANA" | "ADDRESS_FORMAT_COSMOS" | "ADDRESS_FORMAT_TRON")[];
7644
7723
  }[];
7645
7724
  };
7725
+ /**
7726
+ * Request a WebAuthn assertion and return a signed `RecoverUser` request, ready to be POSTed to Turnkey.
7727
+ *
7728
+ * See {@link RecoverUser}
7729
+ */
7646
7730
  updateUserIntent?: {
7647
7731
  userId: string;
7648
7732
  userName?: string;
@@ -7876,6 +7960,9 @@ export declare const createPolicy: (input: TCreatePolicyInput) => Promise<{
7876
7960
  deleteAuthenticatorsResult?: {
7877
7961
  authenticatorIds: string[];
7878
7962
  };
7963
+ /**
7964
+ * `POST /public/v1/submit/update_user`
7965
+ */
7879
7966
  deleteInvitationResult?: {
7880
7967
  invitationId: string;
7881
7968
  };
@@ -7954,9 +8041,7 @@ export declare const createPolicy: (input: TCreatePolicyInput) => Promise<{
7954
8041
  };
7955
8042
  updatePolicyResult?: {
7956
8043
  policyId: string;
7957
- }; /**
7958
- * `POST /public/v1/submit/update_user_tag`
7959
- */
8044
+ };
7960
8045
  createSubOrganizationResultV3?: {
7961
8046
  subOrganizationId: string;
7962
8047
  /**
@@ -8038,9 +8123,6 @@ export declare const createPolicy: (input: TCreatePolicyInput) => Promise<{
8038
8123
  }[];
8039
8124
  };
8040
8125
  };
8041
- /**
8042
- * `POST /public/v1/query/list_policies`
8043
- */
8044
8126
  votes: {
8045
8127
  id: string;
8046
8128
  userId: string;
@@ -8339,6 +8421,13 @@ export declare const createPrivateKeyTag: (input: TCreatePrivateKeyTagInput) =>
8339
8421
  unsignedTransaction: string;
8340
8422
  type: "TRANSACTION_TYPE_ETHEREUM";
8341
8423
  };
8424
+ /**
8425
+ * Init Email Recovery
8426
+ *
8427
+ * Initializes a new email recovery
8428
+ *
8429
+ * `POST /public/v1/submit/init_user_email_recovery`
8430
+ */
8342
8431
  createApiKeysIntent?: {
8343
8432
  apiKeys: {
8344
8433
  apiKeyName: string;
@@ -8534,6 +8623,11 @@ export declare const createPrivateKeyTag: (input: TCreatePrivateKeyTagInput) =>
8534
8623
  addressFormats: ("ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM" | "ADDRESS_FORMAT_SOLANA" | "ADDRESS_FORMAT_COSMOS" | "ADDRESS_FORMAT_TRON")[];
8535
8624
  }[];
8536
8625
  };
8626
+ /**
8627
+ * Request a WebAuthn assertion and return a signed `RecoverUser` request, ready to be POSTed to Turnkey.
8628
+ *
8629
+ * See {@link RecoverUser}
8630
+ */
8537
8631
  updateUserIntent?: {
8538
8632
  userId: string;
8539
8633
  userName?: string;
@@ -8767,6 +8861,9 @@ export declare const createPrivateKeyTag: (input: TCreatePrivateKeyTagInput) =>
8767
8861
  deleteAuthenticatorsResult?: {
8768
8862
  authenticatorIds: string[];
8769
8863
  };
8864
+ /**
8865
+ * `POST /public/v1/submit/update_user`
8866
+ */
8770
8867
  deleteInvitationResult?: {
8771
8868
  invitationId: string;
8772
8869
  };
@@ -8845,9 +8942,7 @@ export declare const createPrivateKeyTag: (input: TCreatePrivateKeyTagInput) =>
8845
8942
  };
8846
8943
  updatePolicyResult?: {
8847
8944
  policyId: string;
8848
- }; /**
8849
- * `POST /public/v1/submit/update_user_tag`
8850
- */
8945
+ };
8851
8946
  createSubOrganizationResultV3?: {
8852
8947
  subOrganizationId: string;
8853
8948
  /**
@@ -8929,9 +9024,6 @@ export declare const createPrivateKeyTag: (input: TCreatePrivateKeyTagInput) =>
8929
9024
  }[];
8930
9025
  };
8931
9026
  };
8932
- /**
8933
- * `POST /public/v1/query/list_policies`
8934
- */
8935
9027
  votes: {
8936
9028
  id: string;
8937
9029
  userId: string;
@@ -9230,6 +9322,13 @@ export declare const createPrivateKeys: (input: TCreatePrivateKeysInput) => Prom
9230
9322
  unsignedTransaction: string;
9231
9323
  type: "TRANSACTION_TYPE_ETHEREUM";
9232
9324
  };
9325
+ /**
9326
+ * Init Email Recovery
9327
+ *
9328
+ * Initializes a new email recovery
9329
+ *
9330
+ * `POST /public/v1/submit/init_user_email_recovery`
9331
+ */
9233
9332
  createApiKeysIntent?: {
9234
9333
  apiKeys: {
9235
9334
  apiKeyName: string;
@@ -9425,6 +9524,11 @@ export declare const createPrivateKeys: (input: TCreatePrivateKeysInput) => Prom
9425
9524
  addressFormats: ("ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM" | "ADDRESS_FORMAT_SOLANA" | "ADDRESS_FORMAT_COSMOS" | "ADDRESS_FORMAT_TRON")[];
9426
9525
  }[];
9427
9526
  };
9527
+ /**
9528
+ * Request a WebAuthn assertion and return a signed `RecoverUser` request, ready to be POSTed to Turnkey.
9529
+ *
9530
+ * See {@link RecoverUser}
9531
+ */
9428
9532
  updateUserIntent?: {
9429
9533
  userId: string;
9430
9534
  userName?: string;
@@ -9658,6 +9762,9 @@ export declare const createPrivateKeys: (input: TCreatePrivateKeysInput) => Prom
9658
9762
  deleteAuthenticatorsResult?: {
9659
9763
  authenticatorIds: string[];
9660
9764
  };
9765
+ /**
9766
+ * `POST /public/v1/submit/update_user`
9767
+ */
9661
9768
  deleteInvitationResult?: {
9662
9769
  invitationId: string;
9663
9770
  };
@@ -9736,9 +9843,7 @@ export declare const createPrivateKeys: (input: TCreatePrivateKeysInput) => Prom
9736
9843
  };
9737
9844
  updatePolicyResult?: {
9738
9845
  policyId: string;
9739
- }; /**
9740
- * `POST /public/v1/submit/update_user_tag`
9741
- */
9846
+ };
9742
9847
  createSubOrganizationResultV3?: {
9743
9848
  subOrganizationId: string;
9744
9849
  /**
@@ -9820,9 +9925,6 @@ export declare const createPrivateKeys: (input: TCreatePrivateKeysInput) => Prom
9820
9925
  }[];
9821
9926
  };
9822
9927
  };
9823
- /**
9824
- * `POST /public/v1/query/list_policies`
9825
- */
9826
9928
  votes: {
9827
9929
  id: string;
9828
9930
  userId: string;
@@ -10121,6 +10223,13 @@ export declare const createSubOrganization: (input: TCreateSubOrganizationInput)
10121
10223
  unsignedTransaction: string;
10122
10224
  type: "TRANSACTION_TYPE_ETHEREUM";
10123
10225
  };
10226
+ /**
10227
+ * Init Email Recovery
10228
+ *
10229
+ * Initializes a new email recovery
10230
+ *
10231
+ * `POST /public/v1/submit/init_user_email_recovery`
10232
+ */
10124
10233
  createApiKeysIntent?: {
10125
10234
  apiKeys: {
10126
10235
  apiKeyName: string;
@@ -10316,6 +10425,11 @@ export declare const createSubOrganization: (input: TCreateSubOrganizationInput)
10316
10425
  addressFormats: ("ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM" | "ADDRESS_FORMAT_SOLANA" | "ADDRESS_FORMAT_COSMOS" | "ADDRESS_FORMAT_TRON")[];
10317
10426
  }[];
10318
10427
  };
10428
+ /**
10429
+ * Request a WebAuthn assertion and return a signed `RecoverUser` request, ready to be POSTed to Turnkey.
10430
+ *
10431
+ * See {@link RecoverUser}
10432
+ */
10319
10433
  updateUserIntent?: {
10320
10434
  userId: string;
10321
10435
  userName?: string;
@@ -10549,6 +10663,9 @@ export declare const createSubOrganization: (input: TCreateSubOrganizationInput)
10549
10663
  deleteAuthenticatorsResult?: {
10550
10664
  authenticatorIds: string[];
10551
10665
  };
10666
+ /**
10667
+ * `POST /public/v1/submit/update_user`
10668
+ */
10552
10669
  deleteInvitationResult?: {
10553
10670
  invitationId: string;
10554
10671
  };
@@ -10627,9 +10744,7 @@ export declare const createSubOrganization: (input: TCreateSubOrganizationInput)
10627
10744
  };
10628
10745
  updatePolicyResult?: {
10629
10746
  policyId: string;
10630
- }; /**
10631
- * `POST /public/v1/submit/update_user_tag`
10632
- */
10747
+ };
10633
10748
  createSubOrganizationResultV3?: {
10634
10749
  subOrganizationId: string;
10635
10750
  /**
@@ -10711,9 +10826,6 @@ export declare const createSubOrganization: (input: TCreateSubOrganizationInput)
10711
10826
  }[];
10712
10827
  };
10713
10828
  };
10714
- /**
10715
- * `POST /public/v1/query/list_policies`
10716
- */
10717
10829
  votes: {
10718
10830
  id: string;
10719
10831
  userId: string;
@@ -11012,6 +11124,13 @@ export declare const createUserTag: (input: TCreateUserTagInput) => Promise<{
11012
11124
  unsignedTransaction: string;
11013
11125
  type: "TRANSACTION_TYPE_ETHEREUM";
11014
11126
  };
11127
+ /**
11128
+ * Init Email Recovery
11129
+ *
11130
+ * Initializes a new email recovery
11131
+ *
11132
+ * `POST /public/v1/submit/init_user_email_recovery`
11133
+ */
11015
11134
  createApiKeysIntent?: {
11016
11135
  apiKeys: {
11017
11136
  apiKeyName: string;
@@ -11207,6 +11326,11 @@ export declare const createUserTag: (input: TCreateUserTagInput) => Promise<{
11207
11326
  addressFormats: ("ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM" | "ADDRESS_FORMAT_SOLANA" | "ADDRESS_FORMAT_COSMOS" | "ADDRESS_FORMAT_TRON")[];
11208
11327
  }[];
11209
11328
  };
11329
+ /**
11330
+ * Request a WebAuthn assertion and return a signed `RecoverUser` request, ready to be POSTed to Turnkey.
11331
+ *
11332
+ * See {@link RecoverUser}
11333
+ */
11210
11334
  updateUserIntent?: {
11211
11335
  userId: string;
11212
11336
  userName?: string;
@@ -11440,6 +11564,9 @@ export declare const createUserTag: (input: TCreateUserTagInput) => Promise<{
11440
11564
  deleteAuthenticatorsResult?: {
11441
11565
  authenticatorIds: string[];
11442
11566
  };
11567
+ /**
11568
+ * `POST /public/v1/submit/update_user`
11569
+ */
11443
11570
  deleteInvitationResult?: {
11444
11571
  invitationId: string;
11445
11572
  };
@@ -11518,9 +11645,7 @@ export declare const createUserTag: (input: TCreateUserTagInput) => Promise<{
11518
11645
  };
11519
11646
  updatePolicyResult?: {
11520
11647
  policyId: string;
11521
- }; /**
11522
- * `POST /public/v1/submit/update_user_tag`
11523
- */
11648
+ };
11524
11649
  createSubOrganizationResultV3?: {
11525
11650
  subOrganizationId: string;
11526
11651
  /**
@@ -11602,9 +11727,6 @@ export declare const createUserTag: (input: TCreateUserTagInput) => Promise<{
11602
11727
  }[];
11603
11728
  };
11604
11729
  };
11605
- /**
11606
- * `POST /public/v1/query/list_policies`
11607
- */
11608
11730
  votes: {
11609
11731
  id: string;
11610
11732
  userId: string;
@@ -11903,6 +12025,13 @@ export declare const createUsers: (input: TCreateUsersInput) => Promise<{
11903
12025
  unsignedTransaction: string;
11904
12026
  type: "TRANSACTION_TYPE_ETHEREUM";
11905
12027
  };
12028
+ /**
12029
+ * Init Email Recovery
12030
+ *
12031
+ * Initializes a new email recovery
12032
+ *
12033
+ * `POST /public/v1/submit/init_user_email_recovery`
12034
+ */
11906
12035
  createApiKeysIntent?: {
11907
12036
  apiKeys: {
11908
12037
  apiKeyName: string;
@@ -12098,6 +12227,11 @@ export declare const createUsers: (input: TCreateUsersInput) => Promise<{
12098
12227
  addressFormats: ("ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM" | "ADDRESS_FORMAT_SOLANA" | "ADDRESS_FORMAT_COSMOS" | "ADDRESS_FORMAT_TRON")[];
12099
12228
  }[];
12100
12229
  };
12230
+ /**
12231
+ * Request a WebAuthn assertion and return a signed `RecoverUser` request, ready to be POSTed to Turnkey.
12232
+ *
12233
+ * See {@link RecoverUser}
12234
+ */
12101
12235
  updateUserIntent?: {
12102
12236
  userId: string;
12103
12237
  userName?: string;
@@ -12331,6 +12465,9 @@ export declare const createUsers: (input: TCreateUsersInput) => Promise<{
12331
12465
  deleteAuthenticatorsResult?: {
12332
12466
  authenticatorIds: string[];
12333
12467
  };
12468
+ /**
12469
+ * `POST /public/v1/submit/update_user`
12470
+ */
12334
12471
  deleteInvitationResult?: {
12335
12472
  invitationId: string;
12336
12473
  };
@@ -12409,9 +12546,7 @@ export declare const createUsers: (input: TCreateUsersInput) => Promise<{
12409
12546
  };
12410
12547
  updatePolicyResult?: {
12411
12548
  policyId: string;
12412
- }; /**
12413
- * `POST /public/v1/submit/update_user_tag`
12414
- */
12549
+ };
12415
12550
  createSubOrganizationResultV3?: {
12416
12551
  subOrganizationId: string;
12417
12552
  /**
@@ -12493,9 +12628,6 @@ export declare const createUsers: (input: TCreateUsersInput) => Promise<{
12493
12628
  }[];
12494
12629
  };
12495
12630
  };
12496
- /**
12497
- * `POST /public/v1/query/list_policies`
12498
- */
12499
12631
  votes: {
12500
12632
  id: string;
12501
12633
  userId: string;
@@ -12794,6 +12926,13 @@ export declare const createWallet: (input: TCreateWalletInput) => Promise<{
12794
12926
  unsignedTransaction: string;
12795
12927
  type: "TRANSACTION_TYPE_ETHEREUM";
12796
12928
  };
12929
+ /**
12930
+ * Init Email Recovery
12931
+ *
12932
+ * Initializes a new email recovery
12933
+ *
12934
+ * `POST /public/v1/submit/init_user_email_recovery`
12935
+ */
12797
12936
  createApiKeysIntent?: {
12798
12937
  apiKeys: {
12799
12938
  apiKeyName: string;
@@ -12989,6 +13128,11 @@ export declare const createWallet: (input: TCreateWalletInput) => Promise<{
12989
13128
  addressFormats: ("ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM" | "ADDRESS_FORMAT_SOLANA" | "ADDRESS_FORMAT_COSMOS" | "ADDRESS_FORMAT_TRON")[];
12990
13129
  }[];
12991
13130
  };
13131
+ /**
13132
+ * Request a WebAuthn assertion and return a signed `RecoverUser` request, ready to be POSTed to Turnkey.
13133
+ *
13134
+ * See {@link RecoverUser}
13135
+ */
12992
13136
  updateUserIntent?: {
12993
13137
  userId: string;
12994
13138
  userName?: string;
@@ -13222,6 +13366,9 @@ export declare const createWallet: (input: TCreateWalletInput) => Promise<{
13222
13366
  deleteAuthenticatorsResult?: {
13223
13367
  authenticatorIds: string[];
13224
13368
  };
13369
+ /**
13370
+ * `POST /public/v1/submit/update_user`
13371
+ */
13225
13372
  deleteInvitationResult?: {
13226
13373
  invitationId: string;
13227
13374
  };
@@ -13300,9 +13447,7 @@ export declare const createWallet: (input: TCreateWalletInput) => Promise<{
13300
13447
  };
13301
13448
  updatePolicyResult?: {
13302
13449
  policyId: string;
13303
- }; /**
13304
- * `POST /public/v1/submit/update_user_tag`
13305
- */
13450
+ };
13306
13451
  createSubOrganizationResultV3?: {
13307
13452
  subOrganizationId: string;
13308
13453
  /**
@@ -13384,9 +13529,6 @@ export declare const createWallet: (input: TCreateWalletInput) => Promise<{
13384
13529
  }[];
13385
13530
  };
13386
13531
  };
13387
- /**
13388
- * `POST /public/v1/query/list_policies`
13389
- */
13390
13532
  votes: {
13391
13533
  id: string;
13392
13534
  userId: string;
@@ -13685,6 +13827,13 @@ export declare const createWalletAccounts: (input: TCreateWalletAccountsInput) =
13685
13827
  unsignedTransaction: string;
13686
13828
  type: "TRANSACTION_TYPE_ETHEREUM";
13687
13829
  };
13830
+ /**
13831
+ * Init Email Recovery
13832
+ *
13833
+ * Initializes a new email recovery
13834
+ *
13835
+ * `POST /public/v1/submit/init_user_email_recovery`
13836
+ */
13688
13837
  createApiKeysIntent?: {
13689
13838
  apiKeys: {
13690
13839
  apiKeyName: string;
@@ -13880,6 +14029,11 @@ export declare const createWalletAccounts: (input: TCreateWalletAccountsInput) =
13880
14029
  addressFormats: ("ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM" | "ADDRESS_FORMAT_SOLANA" | "ADDRESS_FORMAT_COSMOS" | "ADDRESS_FORMAT_TRON")[];
13881
14030
  }[];
13882
14031
  };
14032
+ /**
14033
+ * Request a WebAuthn assertion and return a signed `RecoverUser` request, ready to be POSTed to Turnkey.
14034
+ *
14035
+ * See {@link RecoverUser}
14036
+ */
13883
14037
  updateUserIntent?: {
13884
14038
  userId: string;
13885
14039
  userName?: string;
@@ -14113,6 +14267,9 @@ export declare const createWalletAccounts: (input: TCreateWalletAccountsInput) =
14113
14267
  deleteAuthenticatorsResult?: {
14114
14268
  authenticatorIds: string[];
14115
14269
  };
14270
+ /**
14271
+ * `POST /public/v1/submit/update_user`
14272
+ */
14116
14273
  deleteInvitationResult?: {
14117
14274
  invitationId: string;
14118
14275
  };
@@ -14191,9 +14348,7 @@ export declare const createWalletAccounts: (input: TCreateWalletAccountsInput) =
14191
14348
  };
14192
14349
  updatePolicyResult?: {
14193
14350
  policyId: string;
14194
- }; /**
14195
- * `POST /public/v1/submit/update_user_tag`
14196
- */
14351
+ };
14197
14352
  createSubOrganizationResultV3?: {
14198
14353
  subOrganizationId: string;
14199
14354
  /**
@@ -14275,9 +14430,6 @@ export declare const createWalletAccounts: (input: TCreateWalletAccountsInput) =
14275
14430
  }[];
14276
14431
  };
14277
14432
  };
14278
- /**
14279
- * `POST /public/v1/query/list_policies`
14280
- */
14281
14433
  votes: {
14282
14434
  id: string;
14283
14435
  userId: string;
@@ -14576,6 +14728,13 @@ export declare const deleteApiKeys: (input: TDeleteApiKeysInput) => Promise<{
14576
14728
  unsignedTransaction: string;
14577
14729
  type: "TRANSACTION_TYPE_ETHEREUM";
14578
14730
  };
14731
+ /**
14732
+ * Init Email Recovery
14733
+ *
14734
+ * Initializes a new email recovery
14735
+ *
14736
+ * `POST /public/v1/submit/init_user_email_recovery`
14737
+ */
14579
14738
  createApiKeysIntent?: {
14580
14739
  apiKeys: {
14581
14740
  apiKeyName: string;
@@ -14771,6 +14930,11 @@ export declare const deleteApiKeys: (input: TDeleteApiKeysInput) => Promise<{
14771
14930
  addressFormats: ("ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM" | "ADDRESS_FORMAT_SOLANA" | "ADDRESS_FORMAT_COSMOS" | "ADDRESS_FORMAT_TRON")[];
14772
14931
  }[];
14773
14932
  };
14933
+ /**
14934
+ * Request a WebAuthn assertion and return a signed `RecoverUser` request, ready to be POSTed to Turnkey.
14935
+ *
14936
+ * See {@link RecoverUser}
14937
+ */
14774
14938
  updateUserIntent?: {
14775
14939
  userId: string;
14776
14940
  userName?: string;
@@ -15004,6 +15168,9 @@ export declare const deleteApiKeys: (input: TDeleteApiKeysInput) => Promise<{
15004
15168
  deleteAuthenticatorsResult?: {
15005
15169
  authenticatorIds: string[];
15006
15170
  };
15171
+ /**
15172
+ * `POST /public/v1/submit/update_user`
15173
+ */
15007
15174
  deleteInvitationResult?: {
15008
15175
  invitationId: string;
15009
15176
  };
@@ -15082,9 +15249,7 @@ export declare const deleteApiKeys: (input: TDeleteApiKeysInput) => Promise<{
15082
15249
  };
15083
15250
  updatePolicyResult?: {
15084
15251
  policyId: string;
15085
- }; /**
15086
- * `POST /public/v1/submit/update_user_tag`
15087
- */
15252
+ };
15088
15253
  createSubOrganizationResultV3?: {
15089
15254
  subOrganizationId: string;
15090
15255
  /**
@@ -15166,9 +15331,6 @@ export declare const deleteApiKeys: (input: TDeleteApiKeysInput) => Promise<{
15166
15331
  }[];
15167
15332
  };
15168
15333
  };
15169
- /**
15170
- * `POST /public/v1/query/list_policies`
15171
- */
15172
15334
  votes: {
15173
15335
  id: string;
15174
15336
  userId: string;
@@ -15467,6 +15629,13 @@ export declare const deleteAuthenticators: (input: TDeleteAuthenticatorsInput) =
15467
15629
  unsignedTransaction: string;
15468
15630
  type: "TRANSACTION_TYPE_ETHEREUM";
15469
15631
  };
15632
+ /**
15633
+ * Init Email Recovery
15634
+ *
15635
+ * Initializes a new email recovery
15636
+ *
15637
+ * `POST /public/v1/submit/init_user_email_recovery`
15638
+ */
15470
15639
  createApiKeysIntent?: {
15471
15640
  apiKeys: {
15472
15641
  apiKeyName: string;
@@ -15662,6 +15831,11 @@ export declare const deleteAuthenticators: (input: TDeleteAuthenticatorsInput) =
15662
15831
  addressFormats: ("ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM" | "ADDRESS_FORMAT_SOLANA" | "ADDRESS_FORMAT_COSMOS" | "ADDRESS_FORMAT_TRON")[];
15663
15832
  }[];
15664
15833
  };
15834
+ /**
15835
+ * Request a WebAuthn assertion and return a signed `RecoverUser` request, ready to be POSTed to Turnkey.
15836
+ *
15837
+ * See {@link RecoverUser}
15838
+ */
15665
15839
  updateUserIntent?: {
15666
15840
  userId: string;
15667
15841
  userName?: string;
@@ -15895,6 +16069,9 @@ export declare const deleteAuthenticators: (input: TDeleteAuthenticatorsInput) =
15895
16069
  deleteAuthenticatorsResult?: {
15896
16070
  authenticatorIds: string[];
15897
16071
  };
16072
+ /**
16073
+ * `POST /public/v1/submit/update_user`
16074
+ */
15898
16075
  deleteInvitationResult?: {
15899
16076
  invitationId: string;
15900
16077
  };
@@ -15973,9 +16150,7 @@ export declare const deleteAuthenticators: (input: TDeleteAuthenticatorsInput) =
15973
16150
  };
15974
16151
  updatePolicyResult?: {
15975
16152
  policyId: string;
15976
- }; /**
15977
- * `POST /public/v1/submit/update_user_tag`
15978
- */
16153
+ };
15979
16154
  createSubOrganizationResultV3?: {
15980
16155
  subOrganizationId: string;
15981
16156
  /**
@@ -16057,9 +16232,6 @@ export declare const deleteAuthenticators: (input: TDeleteAuthenticatorsInput) =
16057
16232
  }[];
16058
16233
  };
16059
16234
  };
16060
- /**
16061
- * `POST /public/v1/query/list_policies`
16062
- */
16063
16235
  votes: {
16064
16236
  id: string;
16065
16237
  userId: string;
@@ -16358,6 +16530,13 @@ export declare const deleteInvitation: (input: TDeleteInvitationInput) => Promis
16358
16530
  unsignedTransaction: string;
16359
16531
  type: "TRANSACTION_TYPE_ETHEREUM";
16360
16532
  };
16533
+ /**
16534
+ * Init Email Recovery
16535
+ *
16536
+ * Initializes a new email recovery
16537
+ *
16538
+ * `POST /public/v1/submit/init_user_email_recovery`
16539
+ */
16361
16540
  createApiKeysIntent?: {
16362
16541
  apiKeys: {
16363
16542
  apiKeyName: string;
@@ -16553,6 +16732,11 @@ export declare const deleteInvitation: (input: TDeleteInvitationInput) => Promis
16553
16732
  addressFormats: ("ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM" | "ADDRESS_FORMAT_SOLANA" | "ADDRESS_FORMAT_COSMOS" | "ADDRESS_FORMAT_TRON")[];
16554
16733
  }[];
16555
16734
  };
16735
+ /**
16736
+ * Request a WebAuthn assertion and return a signed `RecoverUser` request, ready to be POSTed to Turnkey.
16737
+ *
16738
+ * See {@link RecoverUser}
16739
+ */
16556
16740
  updateUserIntent?: {
16557
16741
  userId: string;
16558
16742
  userName?: string;
@@ -16786,6 +16970,9 @@ export declare const deleteInvitation: (input: TDeleteInvitationInput) => Promis
16786
16970
  deleteAuthenticatorsResult?: {
16787
16971
  authenticatorIds: string[];
16788
16972
  };
16973
+ /**
16974
+ * `POST /public/v1/submit/update_user`
16975
+ */
16789
16976
  deleteInvitationResult?: {
16790
16977
  invitationId: string;
16791
16978
  };
@@ -16864,9 +17051,7 @@ export declare const deleteInvitation: (input: TDeleteInvitationInput) => Promis
16864
17051
  };
16865
17052
  updatePolicyResult?: {
16866
17053
  policyId: string;
16867
- }; /**
16868
- * `POST /public/v1/submit/update_user_tag`
16869
- */
17054
+ };
16870
17055
  createSubOrganizationResultV3?: {
16871
17056
  subOrganizationId: string;
16872
17057
  /**
@@ -16948,9 +17133,6 @@ export declare const deleteInvitation: (input: TDeleteInvitationInput) => Promis
16948
17133
  }[];
16949
17134
  };
16950
17135
  };
16951
- /**
16952
- * `POST /public/v1/query/list_policies`
16953
- */
16954
17136
  votes: {
16955
17137
  id: string;
16956
17138
  userId: string;
@@ -17249,6 +17431,13 @@ export declare const deletePolicy: (input: TDeletePolicyInput) => Promise<{
17249
17431
  unsignedTransaction: string;
17250
17432
  type: "TRANSACTION_TYPE_ETHEREUM";
17251
17433
  };
17434
+ /**
17435
+ * Init Email Recovery
17436
+ *
17437
+ * Initializes a new email recovery
17438
+ *
17439
+ * `POST /public/v1/submit/init_user_email_recovery`
17440
+ */
17252
17441
  createApiKeysIntent?: {
17253
17442
  apiKeys: {
17254
17443
  apiKeyName: string;
@@ -17444,6 +17633,11 @@ export declare const deletePolicy: (input: TDeletePolicyInput) => Promise<{
17444
17633
  addressFormats: ("ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM" | "ADDRESS_FORMAT_SOLANA" | "ADDRESS_FORMAT_COSMOS" | "ADDRESS_FORMAT_TRON")[];
17445
17634
  }[];
17446
17635
  };
17636
+ /**
17637
+ * Request a WebAuthn assertion and return a signed `RecoverUser` request, ready to be POSTed to Turnkey.
17638
+ *
17639
+ * See {@link RecoverUser}
17640
+ */
17447
17641
  updateUserIntent?: {
17448
17642
  userId: string;
17449
17643
  userName?: string;
@@ -17677,6 +17871,9 @@ export declare const deletePolicy: (input: TDeletePolicyInput) => Promise<{
17677
17871
  deleteAuthenticatorsResult?: {
17678
17872
  authenticatorIds: string[];
17679
17873
  };
17874
+ /**
17875
+ * `POST /public/v1/submit/update_user`
17876
+ */
17680
17877
  deleteInvitationResult?: {
17681
17878
  invitationId: string;
17682
17879
  };
@@ -17755,9 +17952,7 @@ export declare const deletePolicy: (input: TDeletePolicyInput) => Promise<{
17755
17952
  };
17756
17953
  updatePolicyResult?: {
17757
17954
  policyId: string;
17758
- }; /**
17759
- * `POST /public/v1/submit/update_user_tag`
17760
- */
17955
+ };
17761
17956
  createSubOrganizationResultV3?: {
17762
17957
  subOrganizationId: string;
17763
17958
  /**
@@ -17839,9 +18034,6 @@ export declare const deletePolicy: (input: TDeletePolicyInput) => Promise<{
17839
18034
  }[];
17840
18035
  };
17841
18036
  };
17842
- /**
17843
- * `POST /public/v1/query/list_policies`
17844
- */
17845
18037
  votes: {
17846
18038
  id: string;
17847
18039
  userId: string;
@@ -18140,6 +18332,13 @@ export declare const deletePrivateKeyTags: (input: TDeletePrivateKeyTagsInput) =
18140
18332
  unsignedTransaction: string;
18141
18333
  type: "TRANSACTION_TYPE_ETHEREUM";
18142
18334
  };
18335
+ /**
18336
+ * Init Email Recovery
18337
+ *
18338
+ * Initializes a new email recovery
18339
+ *
18340
+ * `POST /public/v1/submit/init_user_email_recovery`
18341
+ */
18143
18342
  createApiKeysIntent?: {
18144
18343
  apiKeys: {
18145
18344
  apiKeyName: string;
@@ -18335,6 +18534,11 @@ export declare const deletePrivateKeyTags: (input: TDeletePrivateKeyTagsInput) =
18335
18534
  addressFormats: ("ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM" | "ADDRESS_FORMAT_SOLANA" | "ADDRESS_FORMAT_COSMOS" | "ADDRESS_FORMAT_TRON")[];
18336
18535
  }[];
18337
18536
  };
18537
+ /**
18538
+ * Request a WebAuthn assertion and return a signed `RecoverUser` request, ready to be POSTed to Turnkey.
18539
+ *
18540
+ * See {@link RecoverUser}
18541
+ */
18338
18542
  updateUserIntent?: {
18339
18543
  userId: string;
18340
18544
  userName?: string;
@@ -18568,6 +18772,9 @@ export declare const deletePrivateKeyTags: (input: TDeletePrivateKeyTagsInput) =
18568
18772
  deleteAuthenticatorsResult?: {
18569
18773
  authenticatorIds: string[];
18570
18774
  };
18775
+ /**
18776
+ * `POST /public/v1/submit/update_user`
18777
+ */
18571
18778
  deleteInvitationResult?: {
18572
18779
  invitationId: string;
18573
18780
  };
@@ -18646,9 +18853,7 @@ export declare const deletePrivateKeyTags: (input: TDeletePrivateKeyTagsInput) =
18646
18853
  };
18647
18854
  updatePolicyResult?: {
18648
18855
  policyId: string;
18649
- }; /**
18650
- * `POST /public/v1/submit/update_user_tag`
18651
- */
18856
+ };
18652
18857
  createSubOrganizationResultV3?: {
18653
18858
  subOrganizationId: string;
18654
18859
  /**
@@ -18730,9 +18935,6 @@ export declare const deletePrivateKeyTags: (input: TDeletePrivateKeyTagsInput) =
18730
18935
  }[];
18731
18936
  };
18732
18937
  };
18733
- /**
18734
- * `POST /public/v1/query/list_policies`
18735
- */
18736
18938
  votes: {
18737
18939
  id: string;
18738
18940
  userId: string;
@@ -19031,6 +19233,13 @@ export declare const deleteUserTags: (input: TDeleteUserTagsInput) => Promise<{
19031
19233
  unsignedTransaction: string;
19032
19234
  type: "TRANSACTION_TYPE_ETHEREUM";
19033
19235
  };
19236
+ /**
19237
+ * Init Email Recovery
19238
+ *
19239
+ * Initializes a new email recovery
19240
+ *
19241
+ * `POST /public/v1/submit/init_user_email_recovery`
19242
+ */
19034
19243
  createApiKeysIntent?: {
19035
19244
  apiKeys: {
19036
19245
  apiKeyName: string;
@@ -19226,6 +19435,11 @@ export declare const deleteUserTags: (input: TDeleteUserTagsInput) => Promise<{
19226
19435
  addressFormats: ("ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM" | "ADDRESS_FORMAT_SOLANA" | "ADDRESS_FORMAT_COSMOS" | "ADDRESS_FORMAT_TRON")[];
19227
19436
  }[];
19228
19437
  };
19438
+ /**
19439
+ * Request a WebAuthn assertion and return a signed `RecoverUser` request, ready to be POSTed to Turnkey.
19440
+ *
19441
+ * See {@link RecoverUser}
19442
+ */
19229
19443
  updateUserIntent?: {
19230
19444
  userId: string;
19231
19445
  userName?: string;
@@ -19459,6 +19673,9 @@ export declare const deleteUserTags: (input: TDeleteUserTagsInput) => Promise<{
19459
19673
  deleteAuthenticatorsResult?: {
19460
19674
  authenticatorIds: string[];
19461
19675
  };
19676
+ /**
19677
+ * `POST /public/v1/submit/update_user`
19678
+ */
19462
19679
  deleteInvitationResult?: {
19463
19680
  invitationId: string;
19464
19681
  };
@@ -19537,9 +19754,7 @@ export declare const deleteUserTags: (input: TDeleteUserTagsInput) => Promise<{
19537
19754
  };
19538
19755
  updatePolicyResult?: {
19539
19756
  policyId: string;
19540
- }; /**
19541
- * `POST /public/v1/submit/update_user_tag`
19542
- */
19757
+ };
19543
19758
  createSubOrganizationResultV3?: {
19544
19759
  subOrganizationId: string;
19545
19760
  /**
@@ -19621,9 +19836,6 @@ export declare const deleteUserTags: (input: TDeleteUserTagsInput) => Promise<{
19621
19836
  }[];
19622
19837
  };
19623
19838
  };
19624
- /**
19625
- * `POST /public/v1/query/list_policies`
19626
- */
19627
19839
  votes: {
19628
19840
  id: string;
19629
19841
  userId: string;
@@ -19922,6 +20134,13 @@ export declare const deleteUsers: (input: TDeleteUsersInput) => Promise<{
19922
20134
  unsignedTransaction: string;
19923
20135
  type: "TRANSACTION_TYPE_ETHEREUM";
19924
20136
  };
20137
+ /**
20138
+ * Init Email Recovery
20139
+ *
20140
+ * Initializes a new email recovery
20141
+ *
20142
+ * `POST /public/v1/submit/init_user_email_recovery`
20143
+ */
19925
20144
  createApiKeysIntent?: {
19926
20145
  apiKeys: {
19927
20146
  apiKeyName: string;
@@ -20117,6 +20336,11 @@ export declare const deleteUsers: (input: TDeleteUsersInput) => Promise<{
20117
20336
  addressFormats: ("ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM" | "ADDRESS_FORMAT_SOLANA" | "ADDRESS_FORMAT_COSMOS" | "ADDRESS_FORMAT_TRON")[];
20118
20337
  }[];
20119
20338
  };
20339
+ /**
20340
+ * Request a WebAuthn assertion and return a signed `RecoverUser` request, ready to be POSTed to Turnkey.
20341
+ *
20342
+ * See {@link RecoverUser}
20343
+ */
20120
20344
  updateUserIntent?: {
20121
20345
  userId: string;
20122
20346
  userName?: string;
@@ -20350,6 +20574,9 @@ export declare const deleteUsers: (input: TDeleteUsersInput) => Promise<{
20350
20574
  deleteAuthenticatorsResult?: {
20351
20575
  authenticatorIds: string[];
20352
20576
  };
20577
+ /**
20578
+ * `POST /public/v1/submit/update_user`
20579
+ */
20353
20580
  deleteInvitationResult?: {
20354
20581
  invitationId: string;
20355
20582
  };
@@ -20428,9 +20655,7 @@ export declare const deleteUsers: (input: TDeleteUsersInput) => Promise<{
20428
20655
  };
20429
20656
  updatePolicyResult?: {
20430
20657
  policyId: string;
20431
- }; /**
20432
- * `POST /public/v1/submit/update_user_tag`
20433
- */
20658
+ };
20434
20659
  createSubOrganizationResultV3?: {
20435
20660
  subOrganizationId: string;
20436
20661
  /**
@@ -20512,9 +20737,6 @@ export declare const deleteUsers: (input: TDeleteUsersInput) => Promise<{
20512
20737
  }[];
20513
20738
  };
20514
20739
  };
20515
- /**
20516
- * `POST /public/v1/query/list_policies`
20517
- */
20518
20740
  votes: {
20519
20741
  id: string;
20520
20742
  userId: string;
@@ -20813,6 +21035,13 @@ export declare const emailAuth: (input: TEmailAuthInput) => Promise<{
20813
21035
  unsignedTransaction: string;
20814
21036
  type: "TRANSACTION_TYPE_ETHEREUM";
20815
21037
  };
21038
+ /**
21039
+ * Init Email Recovery
21040
+ *
21041
+ * Initializes a new email recovery
21042
+ *
21043
+ * `POST /public/v1/submit/init_user_email_recovery`
21044
+ */
20816
21045
  createApiKeysIntent?: {
20817
21046
  apiKeys: {
20818
21047
  apiKeyName: string;
@@ -21008,6 +21237,11 @@ export declare const emailAuth: (input: TEmailAuthInput) => Promise<{
21008
21237
  addressFormats: ("ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM" | "ADDRESS_FORMAT_SOLANA" | "ADDRESS_FORMAT_COSMOS" | "ADDRESS_FORMAT_TRON")[];
21009
21238
  }[];
21010
21239
  };
21240
+ /**
21241
+ * Request a WebAuthn assertion and return a signed `RecoverUser` request, ready to be POSTed to Turnkey.
21242
+ *
21243
+ * See {@link RecoverUser}
21244
+ */
21011
21245
  updateUserIntent?: {
21012
21246
  userId: string;
21013
21247
  userName?: string;
@@ -21241,6 +21475,9 @@ export declare const emailAuth: (input: TEmailAuthInput) => Promise<{
21241
21475
  deleteAuthenticatorsResult?: {
21242
21476
  authenticatorIds: string[];
21243
21477
  };
21478
+ /**
21479
+ * `POST /public/v1/submit/update_user`
21480
+ */
21244
21481
  deleteInvitationResult?: {
21245
21482
  invitationId: string;
21246
21483
  };
@@ -21319,9 +21556,7 @@ export declare const emailAuth: (input: TEmailAuthInput) => Promise<{
21319
21556
  };
21320
21557
  updatePolicyResult?: {
21321
21558
  policyId: string;
21322
- }; /**
21323
- * `POST /public/v1/submit/update_user_tag`
21324
- */
21559
+ };
21325
21560
  createSubOrganizationResultV3?: {
21326
21561
  subOrganizationId: string;
21327
21562
  /**
@@ -21403,9 +21638,6 @@ export declare const emailAuth: (input: TEmailAuthInput) => Promise<{
21403
21638
  }[];
21404
21639
  };
21405
21640
  };
21406
- /**
21407
- * `POST /public/v1/query/list_policies`
21408
- */
21409
21641
  votes: {
21410
21642
  id: string;
21411
21643
  userId: string;
@@ -21704,6 +21936,13 @@ export declare const exportPrivateKey: (input: TExportPrivateKeyInput) => Promis
21704
21936
  unsignedTransaction: string;
21705
21937
  type: "TRANSACTION_TYPE_ETHEREUM";
21706
21938
  };
21939
+ /**
21940
+ * Init Email Recovery
21941
+ *
21942
+ * Initializes a new email recovery
21943
+ *
21944
+ * `POST /public/v1/submit/init_user_email_recovery`
21945
+ */
21707
21946
  createApiKeysIntent?: {
21708
21947
  apiKeys: {
21709
21948
  apiKeyName: string;
@@ -21899,6 +22138,11 @@ export declare const exportPrivateKey: (input: TExportPrivateKeyInput) => Promis
21899
22138
  addressFormats: ("ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM" | "ADDRESS_FORMAT_SOLANA" | "ADDRESS_FORMAT_COSMOS" | "ADDRESS_FORMAT_TRON")[];
21900
22139
  }[];
21901
22140
  };
22141
+ /**
22142
+ * Request a WebAuthn assertion and return a signed `RecoverUser` request, ready to be POSTed to Turnkey.
22143
+ *
22144
+ * See {@link RecoverUser}
22145
+ */
21902
22146
  updateUserIntent?: {
21903
22147
  userId: string;
21904
22148
  userName?: string;
@@ -22132,6 +22376,9 @@ export declare const exportPrivateKey: (input: TExportPrivateKeyInput) => Promis
22132
22376
  deleteAuthenticatorsResult?: {
22133
22377
  authenticatorIds: string[];
22134
22378
  };
22379
+ /**
22380
+ * `POST /public/v1/submit/update_user`
22381
+ */
22135
22382
  deleteInvitationResult?: {
22136
22383
  invitationId: string;
22137
22384
  };
@@ -22210,9 +22457,7 @@ export declare const exportPrivateKey: (input: TExportPrivateKeyInput) => Promis
22210
22457
  };
22211
22458
  updatePolicyResult?: {
22212
22459
  policyId: string;
22213
- }; /**
22214
- * `POST /public/v1/submit/update_user_tag`
22215
- */
22460
+ };
22216
22461
  createSubOrganizationResultV3?: {
22217
22462
  subOrganizationId: string;
22218
22463
  /**
@@ -22294,9 +22539,6 @@ export declare const exportPrivateKey: (input: TExportPrivateKeyInput) => Promis
22294
22539
  }[];
22295
22540
  };
22296
22541
  };
22297
- /**
22298
- * `POST /public/v1/query/list_policies`
22299
- */
22300
22542
  votes: {
22301
22543
  id: string;
22302
22544
  userId: string;
@@ -22595,6 +22837,13 @@ export declare const exportWallet: (input: TExportWalletInput) => Promise<{
22595
22837
  unsignedTransaction: string;
22596
22838
  type: "TRANSACTION_TYPE_ETHEREUM";
22597
22839
  };
22840
+ /**
22841
+ * Init Email Recovery
22842
+ *
22843
+ * Initializes a new email recovery
22844
+ *
22845
+ * `POST /public/v1/submit/init_user_email_recovery`
22846
+ */
22598
22847
  createApiKeysIntent?: {
22599
22848
  apiKeys: {
22600
22849
  apiKeyName: string;
@@ -22790,6 +23039,11 @@ export declare const exportWallet: (input: TExportWalletInput) => Promise<{
22790
23039
  addressFormats: ("ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM" | "ADDRESS_FORMAT_SOLANA" | "ADDRESS_FORMAT_COSMOS" | "ADDRESS_FORMAT_TRON")[];
22791
23040
  }[];
22792
23041
  };
23042
+ /**
23043
+ * Request a WebAuthn assertion and return a signed `RecoverUser` request, ready to be POSTed to Turnkey.
23044
+ *
23045
+ * See {@link RecoverUser}
23046
+ */
22793
23047
  updateUserIntent?: {
22794
23048
  userId: string;
22795
23049
  userName?: string;
@@ -23023,6 +23277,9 @@ export declare const exportWallet: (input: TExportWalletInput) => Promise<{
23023
23277
  deleteAuthenticatorsResult?: {
23024
23278
  authenticatorIds: string[];
23025
23279
  };
23280
+ /**
23281
+ * `POST /public/v1/submit/update_user`
23282
+ */
23026
23283
  deleteInvitationResult?: {
23027
23284
  invitationId: string;
23028
23285
  };
@@ -23101,9 +23358,7 @@ export declare const exportWallet: (input: TExportWalletInput) => Promise<{
23101
23358
  };
23102
23359
  updatePolicyResult?: {
23103
23360
  policyId: string;
23104
- }; /**
23105
- * `POST /public/v1/submit/update_user_tag`
23106
- */
23361
+ };
23107
23362
  createSubOrganizationResultV3?: {
23108
23363
  subOrganizationId: string;
23109
23364
  /**
@@ -23185,9 +23440,6 @@ export declare const exportWallet: (input: TExportWalletInput) => Promise<{
23185
23440
  }[];
23186
23441
  };
23187
23442
  };
23188
- /**
23189
- * `POST /public/v1/query/list_policies`
23190
- */
23191
23443
  votes: {
23192
23444
  id: string;
23193
23445
  userId: string;
@@ -23486,6 +23738,13 @@ export declare const exportWalletAccount: (input: TExportWalletAccountInput) =>
23486
23738
  unsignedTransaction: string;
23487
23739
  type: "TRANSACTION_TYPE_ETHEREUM";
23488
23740
  };
23741
+ /**
23742
+ * Init Email Recovery
23743
+ *
23744
+ * Initializes a new email recovery
23745
+ *
23746
+ * `POST /public/v1/submit/init_user_email_recovery`
23747
+ */
23489
23748
  createApiKeysIntent?: {
23490
23749
  apiKeys: {
23491
23750
  apiKeyName: string;
@@ -23681,6 +23940,11 @@ export declare const exportWalletAccount: (input: TExportWalletAccountInput) =>
23681
23940
  addressFormats: ("ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM" | "ADDRESS_FORMAT_SOLANA" | "ADDRESS_FORMAT_COSMOS" | "ADDRESS_FORMAT_TRON")[];
23682
23941
  }[];
23683
23942
  };
23943
+ /**
23944
+ * Request a WebAuthn assertion and return a signed `RecoverUser` request, ready to be POSTed to Turnkey.
23945
+ *
23946
+ * See {@link RecoverUser}
23947
+ */
23684
23948
  updateUserIntent?: {
23685
23949
  userId: string;
23686
23950
  userName?: string;
@@ -23914,6 +24178,9 @@ export declare const exportWalletAccount: (input: TExportWalletAccountInput) =>
23914
24178
  deleteAuthenticatorsResult?: {
23915
24179
  authenticatorIds: string[];
23916
24180
  };
24181
+ /**
24182
+ * `POST /public/v1/submit/update_user`
24183
+ */
23917
24184
  deleteInvitationResult?: {
23918
24185
  invitationId: string;
23919
24186
  };
@@ -23992,9 +24259,7 @@ export declare const exportWalletAccount: (input: TExportWalletAccountInput) =>
23992
24259
  };
23993
24260
  updatePolicyResult?: {
23994
24261
  policyId: string;
23995
- }; /**
23996
- * `POST /public/v1/submit/update_user_tag`
23997
- */
24262
+ };
23998
24263
  createSubOrganizationResultV3?: {
23999
24264
  subOrganizationId: string;
24000
24265
  /**
@@ -24076,9 +24341,6 @@ export declare const exportWalletAccount: (input: TExportWalletAccountInput) =>
24076
24341
  }[];
24077
24342
  };
24078
24343
  };
24079
- /**
24080
- * `POST /public/v1/query/list_policies`
24081
- */
24082
24344
  votes: {
24083
24345
  id: string;
24084
24346
  userId: string;
@@ -24377,6 +24639,13 @@ export declare const importPrivateKey: (input: TImportPrivateKeyInput) => Promis
24377
24639
  unsignedTransaction: string;
24378
24640
  type: "TRANSACTION_TYPE_ETHEREUM";
24379
24641
  };
24642
+ /**
24643
+ * Init Email Recovery
24644
+ *
24645
+ * Initializes a new email recovery
24646
+ *
24647
+ * `POST /public/v1/submit/init_user_email_recovery`
24648
+ */
24380
24649
  createApiKeysIntent?: {
24381
24650
  apiKeys: {
24382
24651
  apiKeyName: string;
@@ -24572,6 +24841,11 @@ export declare const importPrivateKey: (input: TImportPrivateKeyInput) => Promis
24572
24841
  addressFormats: ("ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM" | "ADDRESS_FORMAT_SOLANA" | "ADDRESS_FORMAT_COSMOS" | "ADDRESS_FORMAT_TRON")[];
24573
24842
  }[];
24574
24843
  };
24844
+ /**
24845
+ * Request a WebAuthn assertion and return a signed `RecoverUser` request, ready to be POSTed to Turnkey.
24846
+ *
24847
+ * See {@link RecoverUser}
24848
+ */
24575
24849
  updateUserIntent?: {
24576
24850
  userId: string;
24577
24851
  userName?: string;
@@ -24805,6 +25079,9 @@ export declare const importPrivateKey: (input: TImportPrivateKeyInput) => Promis
24805
25079
  deleteAuthenticatorsResult?: {
24806
25080
  authenticatorIds: string[];
24807
25081
  };
25082
+ /**
25083
+ * `POST /public/v1/submit/update_user`
25084
+ */
24808
25085
  deleteInvitationResult?: {
24809
25086
  invitationId: string;
24810
25087
  };
@@ -24883,9 +25160,7 @@ export declare const importPrivateKey: (input: TImportPrivateKeyInput) => Promis
24883
25160
  };
24884
25161
  updatePolicyResult?: {
24885
25162
  policyId: string;
24886
- }; /**
24887
- * `POST /public/v1/submit/update_user_tag`
24888
- */
25163
+ };
24889
25164
  createSubOrganizationResultV3?: {
24890
25165
  subOrganizationId: string;
24891
25166
  /**
@@ -24967,9 +25242,6 @@ export declare const importPrivateKey: (input: TImportPrivateKeyInput) => Promis
24967
25242
  }[];
24968
25243
  };
24969
25244
  };
24970
- /**
24971
- * `POST /public/v1/query/list_policies`
24972
- */
24973
25245
  votes: {
24974
25246
  id: string;
24975
25247
  userId: string;
@@ -25268,6 +25540,13 @@ export declare const importWallet: (input: TImportWalletInput) => Promise<{
25268
25540
  unsignedTransaction: string;
25269
25541
  type: "TRANSACTION_TYPE_ETHEREUM";
25270
25542
  };
25543
+ /**
25544
+ * Init Email Recovery
25545
+ *
25546
+ * Initializes a new email recovery
25547
+ *
25548
+ * `POST /public/v1/submit/init_user_email_recovery`
25549
+ */
25271
25550
  createApiKeysIntent?: {
25272
25551
  apiKeys: {
25273
25552
  apiKeyName: string;
@@ -25463,6 +25742,11 @@ export declare const importWallet: (input: TImportWalletInput) => Promise<{
25463
25742
  addressFormats: ("ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM" | "ADDRESS_FORMAT_SOLANA" | "ADDRESS_FORMAT_COSMOS" | "ADDRESS_FORMAT_TRON")[];
25464
25743
  }[];
25465
25744
  };
25745
+ /**
25746
+ * Request a WebAuthn assertion and return a signed `RecoverUser` request, ready to be POSTed to Turnkey.
25747
+ *
25748
+ * See {@link RecoverUser}
25749
+ */
25466
25750
  updateUserIntent?: {
25467
25751
  userId: string;
25468
25752
  userName?: string;
@@ -25696,6 +25980,9 @@ export declare const importWallet: (input: TImportWalletInput) => Promise<{
25696
25980
  deleteAuthenticatorsResult?: {
25697
25981
  authenticatorIds: string[];
25698
25982
  };
25983
+ /**
25984
+ * `POST /public/v1/submit/update_user`
25985
+ */
25699
25986
  deleteInvitationResult?: {
25700
25987
  invitationId: string;
25701
25988
  };
@@ -25774,9 +26061,7 @@ export declare const importWallet: (input: TImportWalletInput) => Promise<{
25774
26061
  };
25775
26062
  updatePolicyResult?: {
25776
26063
  policyId: string;
25777
- }; /**
25778
- * `POST /public/v1/submit/update_user_tag`
25779
- */
26064
+ };
25780
26065
  createSubOrganizationResultV3?: {
25781
26066
  subOrganizationId: string;
25782
26067
  /**
@@ -25858,9 +26143,6 @@ export declare const importWallet: (input: TImportWalletInput) => Promise<{
25858
26143
  }[];
25859
26144
  };
25860
26145
  };
25861
- /**
25862
- * `POST /public/v1/query/list_policies`
25863
- */
25864
26146
  votes: {
25865
26147
  id: string;
25866
26148
  userId: string;
@@ -26159,6 +26441,13 @@ export declare const initImportPrivateKey: (input: TInitImportPrivateKeyInput) =
26159
26441
  unsignedTransaction: string;
26160
26442
  type: "TRANSACTION_TYPE_ETHEREUM";
26161
26443
  };
26444
+ /**
26445
+ * Init Email Recovery
26446
+ *
26447
+ * Initializes a new email recovery
26448
+ *
26449
+ * `POST /public/v1/submit/init_user_email_recovery`
26450
+ */
26162
26451
  createApiKeysIntent?: {
26163
26452
  apiKeys: {
26164
26453
  apiKeyName: string;
@@ -26354,6 +26643,11 @@ export declare const initImportPrivateKey: (input: TInitImportPrivateKeyInput) =
26354
26643
  addressFormats: ("ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM" | "ADDRESS_FORMAT_SOLANA" | "ADDRESS_FORMAT_COSMOS" | "ADDRESS_FORMAT_TRON")[];
26355
26644
  }[];
26356
26645
  };
26646
+ /**
26647
+ * Request a WebAuthn assertion and return a signed `RecoverUser` request, ready to be POSTed to Turnkey.
26648
+ *
26649
+ * See {@link RecoverUser}
26650
+ */
26357
26651
  updateUserIntent?: {
26358
26652
  userId: string;
26359
26653
  userName?: string;
@@ -26587,6 +26881,9 @@ export declare const initImportPrivateKey: (input: TInitImportPrivateKeyInput) =
26587
26881
  deleteAuthenticatorsResult?: {
26588
26882
  authenticatorIds: string[];
26589
26883
  };
26884
+ /**
26885
+ * `POST /public/v1/submit/update_user`
26886
+ */
26590
26887
  deleteInvitationResult?: {
26591
26888
  invitationId: string;
26592
26889
  };
@@ -26665,9 +26962,7 @@ export declare const initImportPrivateKey: (input: TInitImportPrivateKeyInput) =
26665
26962
  };
26666
26963
  updatePolicyResult?: {
26667
26964
  policyId: string;
26668
- }; /**
26669
- * `POST /public/v1/submit/update_user_tag`
26670
- */
26965
+ };
26671
26966
  createSubOrganizationResultV3?: {
26672
26967
  subOrganizationId: string;
26673
26968
  /**
@@ -26749,9 +27044,6 @@ export declare const initImportPrivateKey: (input: TInitImportPrivateKeyInput) =
26749
27044
  }[];
26750
27045
  };
26751
27046
  };
26752
- /**
26753
- * `POST /public/v1/query/list_policies`
26754
- */
26755
27047
  votes: {
26756
27048
  id: string;
26757
27049
  userId: string;
@@ -27050,6 +27342,13 @@ export declare const initImportWallet: (input: TInitImportWalletInput) => Promis
27050
27342
  unsignedTransaction: string;
27051
27343
  type: "TRANSACTION_TYPE_ETHEREUM";
27052
27344
  };
27345
+ /**
27346
+ * Init Email Recovery
27347
+ *
27348
+ * Initializes a new email recovery
27349
+ *
27350
+ * `POST /public/v1/submit/init_user_email_recovery`
27351
+ */
27053
27352
  createApiKeysIntent?: {
27054
27353
  apiKeys: {
27055
27354
  apiKeyName: string;
@@ -27245,6 +27544,11 @@ export declare const initImportWallet: (input: TInitImportWalletInput) => Promis
27245
27544
  addressFormats: ("ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM" | "ADDRESS_FORMAT_SOLANA" | "ADDRESS_FORMAT_COSMOS" | "ADDRESS_FORMAT_TRON")[];
27246
27545
  }[];
27247
27546
  };
27547
+ /**
27548
+ * Request a WebAuthn assertion and return a signed `RecoverUser` request, ready to be POSTed to Turnkey.
27549
+ *
27550
+ * See {@link RecoverUser}
27551
+ */
27248
27552
  updateUserIntent?: {
27249
27553
  userId: string;
27250
27554
  userName?: string;
@@ -27478,6 +27782,9 @@ export declare const initImportWallet: (input: TInitImportWalletInput) => Promis
27478
27782
  deleteAuthenticatorsResult?: {
27479
27783
  authenticatorIds: string[];
27480
27784
  };
27785
+ /**
27786
+ * `POST /public/v1/submit/update_user`
27787
+ */
27481
27788
  deleteInvitationResult?: {
27482
27789
  invitationId: string;
27483
27790
  };
@@ -27556,9 +27863,7 @@ export declare const initImportWallet: (input: TInitImportWalletInput) => Promis
27556
27863
  };
27557
27864
  updatePolicyResult?: {
27558
27865
  policyId: string;
27559
- }; /**
27560
- * `POST /public/v1/submit/update_user_tag`
27561
- */
27866
+ };
27562
27867
  createSubOrganizationResultV3?: {
27563
27868
  subOrganizationId: string;
27564
27869
  /**
@@ -27640,9 +27945,6 @@ export declare const initImportWallet: (input: TInitImportWalletInput) => Promis
27640
27945
  }[];
27641
27946
  };
27642
27947
  };
27643
- /**
27644
- * `POST /public/v1/query/list_policies`
27645
- */
27646
27948
  votes: {
27647
27949
  id: string;
27648
27950
  userId: string;
@@ -27941,6 +28243,13 @@ export declare const initUserEmailRecovery: (input: TInitUserEmailRecoveryInput)
27941
28243
  unsignedTransaction: string;
27942
28244
  type: "TRANSACTION_TYPE_ETHEREUM";
27943
28245
  };
28246
+ /**
28247
+ * Init Email Recovery
28248
+ *
28249
+ * Initializes a new email recovery
28250
+ *
28251
+ * `POST /public/v1/submit/init_user_email_recovery`
28252
+ */
27944
28253
  createApiKeysIntent?: {
27945
28254
  apiKeys: {
27946
28255
  apiKeyName: string;
@@ -28136,6 +28445,11 @@ export declare const initUserEmailRecovery: (input: TInitUserEmailRecoveryInput)
28136
28445
  addressFormats: ("ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM" | "ADDRESS_FORMAT_SOLANA" | "ADDRESS_FORMAT_COSMOS" | "ADDRESS_FORMAT_TRON")[];
28137
28446
  }[];
28138
28447
  };
28448
+ /**
28449
+ * Request a WebAuthn assertion and return a signed `RecoverUser` request, ready to be POSTed to Turnkey.
28450
+ *
28451
+ * See {@link RecoverUser}
28452
+ */
28139
28453
  updateUserIntent?: {
28140
28454
  userId: string;
28141
28455
  userName?: string;
@@ -28369,6 +28683,9 @@ export declare const initUserEmailRecovery: (input: TInitUserEmailRecoveryInput)
28369
28683
  deleteAuthenticatorsResult?: {
28370
28684
  authenticatorIds: string[];
28371
28685
  };
28686
+ /**
28687
+ * `POST /public/v1/submit/update_user`
28688
+ */
28372
28689
  deleteInvitationResult?: {
28373
28690
  invitationId: string;
28374
28691
  };
@@ -28447,9 +28764,7 @@ export declare const initUserEmailRecovery: (input: TInitUserEmailRecoveryInput)
28447
28764
  };
28448
28765
  updatePolicyResult?: {
28449
28766
  policyId: string;
28450
- }; /**
28451
- * `POST /public/v1/submit/update_user_tag`
28452
- */
28767
+ };
28453
28768
  createSubOrganizationResultV3?: {
28454
28769
  subOrganizationId: string;
28455
28770
  /**
@@ -28531,9 +28846,6 @@ export declare const initUserEmailRecovery: (input: TInitUserEmailRecoveryInput)
28531
28846
  }[];
28532
28847
  };
28533
28848
  };
28534
- /**
28535
- * `POST /public/v1/query/list_policies`
28536
- */
28537
28849
  votes: {
28538
28850
  id: string;
28539
28851
  userId: string;
@@ -28832,6 +29144,13 @@ export declare const recoverUser: (input: TRecoverUserInput) => Promise<{
28832
29144
  unsignedTransaction: string;
28833
29145
  type: "TRANSACTION_TYPE_ETHEREUM";
28834
29146
  };
29147
+ /**
29148
+ * Init Email Recovery
29149
+ *
29150
+ * Initializes a new email recovery
29151
+ *
29152
+ * `POST /public/v1/submit/init_user_email_recovery`
29153
+ */
28835
29154
  createApiKeysIntent?: {
28836
29155
  apiKeys: {
28837
29156
  apiKeyName: string;
@@ -29027,6 +29346,11 @@ export declare const recoverUser: (input: TRecoverUserInput) => Promise<{
29027
29346
  addressFormats: ("ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM" | "ADDRESS_FORMAT_SOLANA" | "ADDRESS_FORMAT_COSMOS" | "ADDRESS_FORMAT_TRON")[];
29028
29347
  }[];
29029
29348
  };
29349
+ /**
29350
+ * Request a WebAuthn assertion and return a signed `RecoverUser` request, ready to be POSTed to Turnkey.
29351
+ *
29352
+ * See {@link RecoverUser}
29353
+ */
29030
29354
  updateUserIntent?: {
29031
29355
  userId: string;
29032
29356
  userName?: string;
@@ -29260,6 +29584,9 @@ export declare const recoverUser: (input: TRecoverUserInput) => Promise<{
29260
29584
  deleteAuthenticatorsResult?: {
29261
29585
  authenticatorIds: string[];
29262
29586
  };
29587
+ /**
29588
+ * `POST /public/v1/submit/update_user`
29589
+ */
29263
29590
  deleteInvitationResult?: {
29264
29591
  invitationId: string;
29265
29592
  };
@@ -29338,9 +29665,7 @@ export declare const recoverUser: (input: TRecoverUserInput) => Promise<{
29338
29665
  };
29339
29666
  updatePolicyResult?: {
29340
29667
  policyId: string;
29341
- }; /**
29342
- * `POST /public/v1/submit/update_user_tag`
29343
- */
29668
+ };
29344
29669
  createSubOrganizationResultV3?: {
29345
29670
  subOrganizationId: string;
29346
29671
  /**
@@ -29422,9 +29747,6 @@ export declare const recoverUser: (input: TRecoverUserInput) => Promise<{
29422
29747
  }[];
29423
29748
  };
29424
29749
  };
29425
- /**
29426
- * `POST /public/v1/query/list_policies`
29427
- */
29428
29750
  votes: {
29429
29751
  id: string;
29430
29752
  userId: string;
@@ -29723,6 +30045,13 @@ export declare const rejectActivity: (input: TRejectActivityInput) => Promise<{
29723
30045
  unsignedTransaction: string;
29724
30046
  type: "TRANSACTION_TYPE_ETHEREUM";
29725
30047
  };
30048
+ /**
30049
+ * Init Email Recovery
30050
+ *
30051
+ * Initializes a new email recovery
30052
+ *
30053
+ * `POST /public/v1/submit/init_user_email_recovery`
30054
+ */
29726
30055
  createApiKeysIntent?: {
29727
30056
  apiKeys: {
29728
30057
  apiKeyName: string;
@@ -29918,6 +30247,11 @@ export declare const rejectActivity: (input: TRejectActivityInput) => Promise<{
29918
30247
  addressFormats: ("ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM" | "ADDRESS_FORMAT_SOLANA" | "ADDRESS_FORMAT_COSMOS" | "ADDRESS_FORMAT_TRON")[];
29919
30248
  }[];
29920
30249
  };
30250
+ /**
30251
+ * Request a WebAuthn assertion and return a signed `RecoverUser` request, ready to be POSTed to Turnkey.
30252
+ *
30253
+ * See {@link RecoverUser}
30254
+ */
29921
30255
  updateUserIntent?: {
29922
30256
  userId: string;
29923
30257
  userName?: string;
@@ -30151,6 +30485,9 @@ export declare const rejectActivity: (input: TRejectActivityInput) => Promise<{
30151
30485
  deleteAuthenticatorsResult?: {
30152
30486
  authenticatorIds: string[];
30153
30487
  };
30488
+ /**
30489
+ * `POST /public/v1/submit/update_user`
30490
+ */
30154
30491
  deleteInvitationResult?: {
30155
30492
  invitationId: string;
30156
30493
  };
@@ -30229,9 +30566,7 @@ export declare const rejectActivity: (input: TRejectActivityInput) => Promise<{
30229
30566
  };
30230
30567
  updatePolicyResult?: {
30231
30568
  policyId: string;
30232
- }; /**
30233
- * `POST /public/v1/submit/update_user_tag`
30234
- */
30569
+ };
30235
30570
  createSubOrganizationResultV3?: {
30236
30571
  subOrganizationId: string;
30237
30572
  /**
@@ -30313,9 +30648,6 @@ export declare const rejectActivity: (input: TRejectActivityInput) => Promise<{
30313
30648
  }[];
30314
30649
  };
30315
30650
  };
30316
- /**
30317
- * `POST /public/v1/query/list_policies`
30318
- */
30319
30651
  votes: {
30320
30652
  id: string;
30321
30653
  userId: string;
@@ -30614,6 +30946,13 @@ export declare const removeOrganizationFeature: (input: TRemoveOrganizationFeatu
30614
30946
  unsignedTransaction: string;
30615
30947
  type: "TRANSACTION_TYPE_ETHEREUM";
30616
30948
  };
30949
+ /**
30950
+ * Init Email Recovery
30951
+ *
30952
+ * Initializes a new email recovery
30953
+ *
30954
+ * `POST /public/v1/submit/init_user_email_recovery`
30955
+ */
30617
30956
  createApiKeysIntent?: {
30618
30957
  apiKeys: {
30619
30958
  apiKeyName: string;
@@ -30809,6 +31148,11 @@ export declare const removeOrganizationFeature: (input: TRemoveOrganizationFeatu
30809
31148
  addressFormats: ("ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM" | "ADDRESS_FORMAT_SOLANA" | "ADDRESS_FORMAT_COSMOS" | "ADDRESS_FORMAT_TRON")[];
30810
31149
  }[];
30811
31150
  };
31151
+ /**
31152
+ * Request a WebAuthn assertion and return a signed `RecoverUser` request, ready to be POSTed to Turnkey.
31153
+ *
31154
+ * See {@link RecoverUser}
31155
+ */
30812
31156
  updateUserIntent?: {
30813
31157
  userId: string;
30814
31158
  userName?: string;
@@ -31042,6 +31386,9 @@ export declare const removeOrganizationFeature: (input: TRemoveOrganizationFeatu
31042
31386
  deleteAuthenticatorsResult?: {
31043
31387
  authenticatorIds: string[];
31044
31388
  };
31389
+ /**
31390
+ * `POST /public/v1/submit/update_user`
31391
+ */
31045
31392
  deleteInvitationResult?: {
31046
31393
  invitationId: string;
31047
31394
  };
@@ -31120,9 +31467,7 @@ export declare const removeOrganizationFeature: (input: TRemoveOrganizationFeatu
31120
31467
  };
31121
31468
  updatePolicyResult?: {
31122
31469
  policyId: string;
31123
- }; /**
31124
- * `POST /public/v1/submit/update_user_tag`
31125
- */
31470
+ };
31126
31471
  createSubOrganizationResultV3?: {
31127
31472
  subOrganizationId: string;
31128
31473
  /**
@@ -31204,9 +31549,6 @@ export declare const removeOrganizationFeature: (input: TRemoveOrganizationFeatu
31204
31549
  }[];
31205
31550
  };
31206
31551
  };
31207
- /**
31208
- * `POST /public/v1/query/list_policies`
31209
- */
31210
31552
  votes: {
31211
31553
  id: string;
31212
31554
  userId: string;
@@ -31505,6 +31847,13 @@ export declare const setOrganizationFeature: (input: TSetOrganizationFeatureInpu
31505
31847
  unsignedTransaction: string;
31506
31848
  type: "TRANSACTION_TYPE_ETHEREUM";
31507
31849
  };
31850
+ /**
31851
+ * Init Email Recovery
31852
+ *
31853
+ * Initializes a new email recovery
31854
+ *
31855
+ * `POST /public/v1/submit/init_user_email_recovery`
31856
+ */
31508
31857
  createApiKeysIntent?: {
31509
31858
  apiKeys: {
31510
31859
  apiKeyName: string;
@@ -31700,6 +32049,11 @@ export declare const setOrganizationFeature: (input: TSetOrganizationFeatureInpu
31700
32049
  addressFormats: ("ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM" | "ADDRESS_FORMAT_SOLANA" | "ADDRESS_FORMAT_COSMOS" | "ADDRESS_FORMAT_TRON")[];
31701
32050
  }[];
31702
32051
  };
32052
+ /**
32053
+ * Request a WebAuthn assertion and return a signed `RecoverUser` request, ready to be POSTed to Turnkey.
32054
+ *
32055
+ * See {@link RecoverUser}
32056
+ */
31703
32057
  updateUserIntent?: {
31704
32058
  userId: string;
31705
32059
  userName?: string;
@@ -31933,6 +32287,9 @@ export declare const setOrganizationFeature: (input: TSetOrganizationFeatureInpu
31933
32287
  deleteAuthenticatorsResult?: {
31934
32288
  authenticatorIds: string[];
31935
32289
  };
32290
+ /**
32291
+ * `POST /public/v1/submit/update_user`
32292
+ */
31936
32293
  deleteInvitationResult?: {
31937
32294
  invitationId: string;
31938
32295
  };
@@ -32011,9 +32368,7 @@ export declare const setOrganizationFeature: (input: TSetOrganizationFeatureInpu
32011
32368
  };
32012
32369
  updatePolicyResult?: {
32013
32370
  policyId: string;
32014
- }; /**
32015
- * `POST /public/v1/submit/update_user_tag`
32016
- */
32371
+ };
32017
32372
  createSubOrganizationResultV3?: {
32018
32373
  subOrganizationId: string;
32019
32374
  /**
@@ -32095,9 +32450,6 @@ export declare const setOrganizationFeature: (input: TSetOrganizationFeatureInpu
32095
32450
  }[];
32096
32451
  };
32097
32452
  };
32098
- /**
32099
- * `POST /public/v1/query/list_policies`
32100
- */
32101
32453
  votes: {
32102
32454
  id: string;
32103
32455
  userId: string;
@@ -32396,6 +32748,13 @@ export declare const signRawPayload: (input: TSignRawPayloadInput) => Promise<{
32396
32748
  unsignedTransaction: string;
32397
32749
  type: "TRANSACTION_TYPE_ETHEREUM";
32398
32750
  };
32751
+ /**
32752
+ * Init Email Recovery
32753
+ *
32754
+ * Initializes a new email recovery
32755
+ *
32756
+ * `POST /public/v1/submit/init_user_email_recovery`
32757
+ */
32399
32758
  createApiKeysIntent?: {
32400
32759
  apiKeys: {
32401
32760
  apiKeyName: string;
@@ -32591,6 +32950,11 @@ export declare const signRawPayload: (input: TSignRawPayloadInput) => Promise<{
32591
32950
  addressFormats: ("ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM" | "ADDRESS_FORMAT_SOLANA" | "ADDRESS_FORMAT_COSMOS" | "ADDRESS_FORMAT_TRON")[];
32592
32951
  }[];
32593
32952
  };
32953
+ /**
32954
+ * Request a WebAuthn assertion and return a signed `RecoverUser` request, ready to be POSTed to Turnkey.
32955
+ *
32956
+ * See {@link RecoverUser}
32957
+ */
32594
32958
  updateUserIntent?: {
32595
32959
  userId: string;
32596
32960
  userName?: string;
@@ -32824,6 +33188,9 @@ export declare const signRawPayload: (input: TSignRawPayloadInput) => Promise<{
32824
33188
  deleteAuthenticatorsResult?: {
32825
33189
  authenticatorIds: string[];
32826
33190
  };
33191
+ /**
33192
+ * `POST /public/v1/submit/update_user`
33193
+ */
32827
33194
  deleteInvitationResult?: {
32828
33195
  invitationId: string;
32829
33196
  };
@@ -32902,9 +33269,7 @@ export declare const signRawPayload: (input: TSignRawPayloadInput) => Promise<{
32902
33269
  };
32903
33270
  updatePolicyResult?: {
32904
33271
  policyId: string;
32905
- }; /**
32906
- * `POST /public/v1/submit/update_user_tag`
32907
- */
33272
+ };
32908
33273
  createSubOrganizationResultV3?: {
32909
33274
  subOrganizationId: string;
32910
33275
  /**
@@ -32986,9 +33351,6 @@ export declare const signRawPayload: (input: TSignRawPayloadInput) => Promise<{
32986
33351
  }[];
32987
33352
  };
32988
33353
  };
32989
- /**
32990
- * `POST /public/v1/query/list_policies`
32991
- */
32992
33354
  votes: {
32993
33355
  id: string;
32994
33356
  userId: string;
@@ -33287,6 +33649,13 @@ export declare const signTransaction: (input: TSignTransactionInput) => Promise<
33287
33649
  unsignedTransaction: string;
33288
33650
  type: "TRANSACTION_TYPE_ETHEREUM";
33289
33651
  };
33652
+ /**
33653
+ * Init Email Recovery
33654
+ *
33655
+ * Initializes a new email recovery
33656
+ *
33657
+ * `POST /public/v1/submit/init_user_email_recovery`
33658
+ */
33290
33659
  createApiKeysIntent?: {
33291
33660
  apiKeys: {
33292
33661
  apiKeyName: string;
@@ -33482,6 +33851,11 @@ export declare const signTransaction: (input: TSignTransactionInput) => Promise<
33482
33851
  addressFormats: ("ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM" | "ADDRESS_FORMAT_SOLANA" | "ADDRESS_FORMAT_COSMOS" | "ADDRESS_FORMAT_TRON")[];
33483
33852
  }[];
33484
33853
  };
33854
+ /**
33855
+ * Request a WebAuthn assertion and return a signed `RecoverUser` request, ready to be POSTed to Turnkey.
33856
+ *
33857
+ * See {@link RecoverUser}
33858
+ */
33485
33859
  updateUserIntent?: {
33486
33860
  userId: string;
33487
33861
  userName?: string;
@@ -33715,6 +34089,9 @@ export declare const signTransaction: (input: TSignTransactionInput) => Promise<
33715
34089
  deleteAuthenticatorsResult?: {
33716
34090
  authenticatorIds: string[];
33717
34091
  };
34092
+ /**
34093
+ * `POST /public/v1/submit/update_user`
34094
+ */
33718
34095
  deleteInvitationResult?: {
33719
34096
  invitationId: string;
33720
34097
  };
@@ -33793,9 +34170,7 @@ export declare const signTransaction: (input: TSignTransactionInput) => Promise<
33793
34170
  };
33794
34171
  updatePolicyResult?: {
33795
34172
  policyId: string;
33796
- }; /**
33797
- * `POST /public/v1/submit/update_user_tag`
33798
- */
34173
+ };
33799
34174
  createSubOrganizationResultV3?: {
33800
34175
  subOrganizationId: string;
33801
34176
  /**
@@ -33877,9 +34252,6 @@ export declare const signTransaction: (input: TSignTransactionInput) => Promise<
33877
34252
  }[];
33878
34253
  };
33879
34254
  };
33880
- /**
33881
- * `POST /public/v1/query/list_policies`
33882
- */
33883
34255
  votes: {
33884
34256
  id: string;
33885
34257
  userId: string;
@@ -34178,6 +34550,13 @@ export declare const updatePolicy: (input: TUpdatePolicyInput) => Promise<{
34178
34550
  unsignedTransaction: string;
34179
34551
  type: "TRANSACTION_TYPE_ETHEREUM";
34180
34552
  };
34553
+ /**
34554
+ * Init Email Recovery
34555
+ *
34556
+ * Initializes a new email recovery
34557
+ *
34558
+ * `POST /public/v1/submit/init_user_email_recovery`
34559
+ */
34181
34560
  createApiKeysIntent?: {
34182
34561
  apiKeys: {
34183
34562
  apiKeyName: string;
@@ -34373,6 +34752,11 @@ export declare const updatePolicy: (input: TUpdatePolicyInput) => Promise<{
34373
34752
  addressFormats: ("ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM" | "ADDRESS_FORMAT_SOLANA" | "ADDRESS_FORMAT_COSMOS" | "ADDRESS_FORMAT_TRON")[];
34374
34753
  }[];
34375
34754
  };
34755
+ /**
34756
+ * Request a WebAuthn assertion and return a signed `RecoverUser` request, ready to be POSTed to Turnkey.
34757
+ *
34758
+ * See {@link RecoverUser}
34759
+ */
34376
34760
  updateUserIntent?: {
34377
34761
  userId: string;
34378
34762
  userName?: string;
@@ -34606,6 +34990,9 @@ export declare const updatePolicy: (input: TUpdatePolicyInput) => Promise<{
34606
34990
  deleteAuthenticatorsResult?: {
34607
34991
  authenticatorIds: string[];
34608
34992
  };
34993
+ /**
34994
+ * `POST /public/v1/submit/update_user`
34995
+ */
34609
34996
  deleteInvitationResult?: {
34610
34997
  invitationId: string;
34611
34998
  };
@@ -34684,9 +35071,7 @@ export declare const updatePolicy: (input: TUpdatePolicyInput) => Promise<{
34684
35071
  };
34685
35072
  updatePolicyResult?: {
34686
35073
  policyId: string;
34687
- }; /**
34688
- * `POST /public/v1/submit/update_user_tag`
34689
- */
35074
+ };
34690
35075
  createSubOrganizationResultV3?: {
34691
35076
  subOrganizationId: string;
34692
35077
  /**
@@ -34768,9 +35153,6 @@ export declare const updatePolicy: (input: TUpdatePolicyInput) => Promise<{
34768
35153
  }[];
34769
35154
  };
34770
35155
  };
34771
- /**
34772
- * `POST /public/v1/query/list_policies`
34773
- */
34774
35156
  votes: {
34775
35157
  id: string;
34776
35158
  userId: string;
@@ -35069,6 +35451,13 @@ export declare const updatePrivateKeyTag: (input: TUpdatePrivateKeyTagInput) =>
35069
35451
  unsignedTransaction: string;
35070
35452
  type: "TRANSACTION_TYPE_ETHEREUM";
35071
35453
  };
35454
+ /**
35455
+ * Init Email Recovery
35456
+ *
35457
+ * Initializes a new email recovery
35458
+ *
35459
+ * `POST /public/v1/submit/init_user_email_recovery`
35460
+ */
35072
35461
  createApiKeysIntent?: {
35073
35462
  apiKeys: {
35074
35463
  apiKeyName: string;
@@ -35264,6 +35653,11 @@ export declare const updatePrivateKeyTag: (input: TUpdatePrivateKeyTagInput) =>
35264
35653
  addressFormats: ("ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM" | "ADDRESS_FORMAT_SOLANA" | "ADDRESS_FORMAT_COSMOS" | "ADDRESS_FORMAT_TRON")[];
35265
35654
  }[];
35266
35655
  };
35656
+ /**
35657
+ * Request a WebAuthn assertion and return a signed `RecoverUser` request, ready to be POSTed to Turnkey.
35658
+ *
35659
+ * See {@link RecoverUser}
35660
+ */
35267
35661
  updateUserIntent?: {
35268
35662
  userId: string;
35269
35663
  userName?: string;
@@ -35497,6 +35891,9 @@ export declare const updatePrivateKeyTag: (input: TUpdatePrivateKeyTagInput) =>
35497
35891
  deleteAuthenticatorsResult?: {
35498
35892
  authenticatorIds: string[];
35499
35893
  };
35894
+ /**
35895
+ * `POST /public/v1/submit/update_user`
35896
+ */
35500
35897
  deleteInvitationResult?: {
35501
35898
  invitationId: string;
35502
35899
  };
@@ -35575,9 +35972,7 @@ export declare const updatePrivateKeyTag: (input: TUpdatePrivateKeyTagInput) =>
35575
35972
  };
35576
35973
  updatePolicyResult?: {
35577
35974
  policyId: string;
35578
- }; /**
35579
- * `POST /public/v1/submit/update_user_tag`
35580
- */
35975
+ };
35581
35976
  createSubOrganizationResultV3?: {
35582
35977
  subOrganizationId: string;
35583
35978
  /**
@@ -35659,9 +36054,6 @@ export declare const updatePrivateKeyTag: (input: TUpdatePrivateKeyTagInput) =>
35659
36054
  }[];
35660
36055
  };
35661
36056
  };
35662
- /**
35663
- * `POST /public/v1/query/list_policies`
35664
- */
35665
36057
  votes: {
35666
36058
  id: string;
35667
36059
  userId: string;
@@ -35960,6 +36352,13 @@ export declare const updateRootQuorum: (input: TUpdateRootQuorumInput) => Promis
35960
36352
  unsignedTransaction: string;
35961
36353
  type: "TRANSACTION_TYPE_ETHEREUM";
35962
36354
  };
36355
+ /**
36356
+ * Init Email Recovery
36357
+ *
36358
+ * Initializes a new email recovery
36359
+ *
36360
+ * `POST /public/v1/submit/init_user_email_recovery`
36361
+ */
35963
36362
  createApiKeysIntent?: {
35964
36363
  apiKeys: {
35965
36364
  apiKeyName: string;
@@ -36155,6 +36554,11 @@ export declare const updateRootQuorum: (input: TUpdateRootQuorumInput) => Promis
36155
36554
  addressFormats: ("ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM" | "ADDRESS_FORMAT_SOLANA" | "ADDRESS_FORMAT_COSMOS" | "ADDRESS_FORMAT_TRON")[];
36156
36555
  }[];
36157
36556
  };
36557
+ /**
36558
+ * Request a WebAuthn assertion and return a signed `RecoverUser` request, ready to be POSTed to Turnkey.
36559
+ *
36560
+ * See {@link RecoverUser}
36561
+ */
36158
36562
  updateUserIntent?: {
36159
36563
  userId: string;
36160
36564
  userName?: string;
@@ -36388,6 +36792,9 @@ export declare const updateRootQuorum: (input: TUpdateRootQuorumInput) => Promis
36388
36792
  deleteAuthenticatorsResult?: {
36389
36793
  authenticatorIds: string[];
36390
36794
  };
36795
+ /**
36796
+ * `POST /public/v1/submit/update_user`
36797
+ */
36391
36798
  deleteInvitationResult?: {
36392
36799
  invitationId: string;
36393
36800
  };
@@ -36466,9 +36873,7 @@ export declare const updateRootQuorum: (input: TUpdateRootQuorumInput) => Promis
36466
36873
  };
36467
36874
  updatePolicyResult?: {
36468
36875
  policyId: string;
36469
- }; /**
36470
- * `POST /public/v1/submit/update_user_tag`
36471
- */
36876
+ };
36472
36877
  createSubOrganizationResultV3?: {
36473
36878
  subOrganizationId: string;
36474
36879
  /**
@@ -36550,9 +36955,6 @@ export declare const updateRootQuorum: (input: TUpdateRootQuorumInput) => Promis
36550
36955
  }[];
36551
36956
  };
36552
36957
  };
36553
- /**
36554
- * `POST /public/v1/query/list_policies`
36555
- */
36556
36958
  votes: {
36557
36959
  id: string;
36558
36960
  userId: string;
@@ -36851,6 +37253,13 @@ export declare const updateUser: (input: TUpdateUserInput) => Promise<{
36851
37253
  unsignedTransaction: string;
36852
37254
  type: "TRANSACTION_TYPE_ETHEREUM";
36853
37255
  };
37256
+ /**
37257
+ * Init Email Recovery
37258
+ *
37259
+ * Initializes a new email recovery
37260
+ *
37261
+ * `POST /public/v1/submit/init_user_email_recovery`
37262
+ */
36854
37263
  createApiKeysIntent?: {
36855
37264
  apiKeys: {
36856
37265
  apiKeyName: string;
@@ -37046,6 +37455,11 @@ export declare const updateUser: (input: TUpdateUserInput) => Promise<{
37046
37455
  addressFormats: ("ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM" | "ADDRESS_FORMAT_SOLANA" | "ADDRESS_FORMAT_COSMOS" | "ADDRESS_FORMAT_TRON")[];
37047
37456
  }[];
37048
37457
  };
37458
+ /**
37459
+ * Request a WebAuthn assertion and return a signed `RecoverUser` request, ready to be POSTed to Turnkey.
37460
+ *
37461
+ * See {@link RecoverUser}
37462
+ */
37049
37463
  updateUserIntent?: {
37050
37464
  userId: string;
37051
37465
  userName?: string;
@@ -37279,6 +37693,9 @@ export declare const updateUser: (input: TUpdateUserInput) => Promise<{
37279
37693
  deleteAuthenticatorsResult?: {
37280
37694
  authenticatorIds: string[];
37281
37695
  };
37696
+ /**
37697
+ * `POST /public/v1/submit/update_user`
37698
+ */
37282
37699
  deleteInvitationResult?: {
37283
37700
  invitationId: string;
37284
37701
  };
@@ -37357,9 +37774,7 @@ export declare const updateUser: (input: TUpdateUserInput) => Promise<{
37357
37774
  };
37358
37775
  updatePolicyResult?: {
37359
37776
  policyId: string;
37360
- }; /**
37361
- * `POST /public/v1/submit/update_user_tag`
37362
- */
37777
+ };
37363
37778
  createSubOrganizationResultV3?: {
37364
37779
  subOrganizationId: string;
37365
37780
  /**
@@ -37441,9 +37856,6 @@ export declare const updateUser: (input: TUpdateUserInput) => Promise<{
37441
37856
  }[];
37442
37857
  };
37443
37858
  };
37444
- /**
37445
- * `POST /public/v1/query/list_policies`
37446
- */
37447
37859
  votes: {
37448
37860
  id: string;
37449
37861
  userId: string;
@@ -37742,6 +38154,13 @@ export declare const updateUserTag: (input: TUpdateUserTagInput) => Promise<{
37742
38154
  unsignedTransaction: string;
37743
38155
  type: "TRANSACTION_TYPE_ETHEREUM";
37744
38156
  };
38157
+ /**
38158
+ * Init Email Recovery
38159
+ *
38160
+ * Initializes a new email recovery
38161
+ *
38162
+ * `POST /public/v1/submit/init_user_email_recovery`
38163
+ */
37745
38164
  createApiKeysIntent?: {
37746
38165
  apiKeys: {
37747
38166
  apiKeyName: string;
@@ -37937,6 +38356,11 @@ export declare const updateUserTag: (input: TUpdateUserTagInput) => Promise<{
37937
38356
  addressFormats: ("ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM" | "ADDRESS_FORMAT_SOLANA" | "ADDRESS_FORMAT_COSMOS" | "ADDRESS_FORMAT_TRON")[];
37938
38357
  }[];
37939
38358
  };
38359
+ /**
38360
+ * Request a WebAuthn assertion and return a signed `RecoverUser` request, ready to be POSTed to Turnkey.
38361
+ *
38362
+ * See {@link RecoverUser}
38363
+ */
37940
38364
  updateUserIntent?: {
37941
38365
  userId: string;
37942
38366
  userName?: string;
@@ -38170,6 +38594,9 @@ export declare const updateUserTag: (input: TUpdateUserTagInput) => Promise<{
38170
38594
  deleteAuthenticatorsResult?: {
38171
38595
  authenticatorIds: string[];
38172
38596
  };
38597
+ /**
38598
+ * `POST /public/v1/submit/update_user`
38599
+ */
38173
38600
  deleteInvitationResult?: {
38174
38601
  invitationId: string;
38175
38602
  };
@@ -38248,9 +38675,7 @@ export declare const updateUserTag: (input: TUpdateUserTagInput) => Promise<{
38248
38675
  };
38249
38676
  updatePolicyResult?: {
38250
38677
  policyId: string;
38251
- }; /**
38252
- * `POST /public/v1/submit/update_user_tag`
38253
- */
38678
+ };
38254
38679
  createSubOrganizationResultV3?: {
38255
38680
  subOrganizationId: string;
38256
38681
  /**
@@ -38332,9 +38757,6 @@ export declare const updateUserTag: (input: TUpdateUserTagInput) => Promise<{
38332
38757
  }[];
38333
38758
  };
38334
38759
  };
38335
- /**
38336
- * `POST /public/v1/query/list_policies`
38337
- */
38338
38760
  votes: {
38339
38761
  id: string;
38340
38762
  userId: string;