@privy-io/node 0.6.2 → 0.7.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.
Files changed (106) hide show
  1. package/CHANGELOG.md +31 -0
  2. package/client.d.mts +7 -7
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +7 -7
  5. package/client.d.ts.map +1 -1
  6. package/client.js.map +1 -1
  7. package/client.mjs.map +1 -1
  8. package/index.d.mts +2 -1
  9. package/index.d.mts.map +1 -1
  10. package/index.d.ts +2 -1
  11. package/index.d.ts.map +1 -1
  12. package/index.js +4 -1
  13. package/index.js.map +1 -1
  14. package/index.mjs +2 -1
  15. package/index.mjs.map +1 -1
  16. package/lib/auth.d.mts +30 -2
  17. package/lib/auth.d.mts.map +1 -1
  18. package/lib/auth.d.ts +30 -2
  19. package/lib/auth.d.ts.map +1 -1
  20. package/lib/auth.js +14 -5
  21. package/lib/auth.js.map +1 -1
  22. package/lib/auth.mjs +11 -3
  23. package/lib/auth.mjs.map +1 -1
  24. package/lib/cryptography.d.mts +35 -3
  25. package/lib/cryptography.d.mts.map +1 -1
  26. package/lib/cryptography.d.ts +35 -3
  27. package/lib/cryptography.d.ts.map +1 -1
  28. package/lib/cryptography.js +53 -6
  29. package/lib/cryptography.js.map +1 -1
  30. package/lib/cryptography.mjs +50 -3
  31. package/lib/cryptography.mjs.map +1 -1
  32. package/lib/identity-token.d.mts.map +1 -1
  33. package/lib/identity-token.d.ts.map +1 -1
  34. package/lib/identity-token.js +0 -1
  35. package/lib/identity-token.js.map +1 -1
  36. package/lib/identity-token.mjs +0 -1
  37. package/lib/identity-token.mjs.map +1 -1
  38. package/package.json +13 -1
  39. package/public-api/services/utils/auth.d.mts +10 -1
  40. package/public-api/services/utils/auth.d.mts.map +1 -1
  41. package/public-api/services/utils/auth.d.ts +10 -1
  42. package/public-api/services/utils/auth.d.ts.map +1 -1
  43. package/public-api/services/utils/auth.js +16 -5
  44. package/public-api/services/utils/auth.js.map +1 -1
  45. package/public-api/services/utils/auth.mjs +17 -6
  46. package/public-api/services/utils/auth.mjs.map +1 -1
  47. package/resources/apps.d.mts +25 -0
  48. package/resources/apps.d.mts.map +1 -1
  49. package/resources/apps.d.ts +25 -0
  50. package/resources/apps.d.ts.map +1 -1
  51. package/resources/index.d.mts +3 -3
  52. package/resources/index.d.mts.map +1 -1
  53. package/resources/index.d.ts +3 -3
  54. package/resources/index.d.ts.map +1 -1
  55. package/resources/index.js.map +1 -1
  56. package/resources/index.mjs.map +1 -1
  57. package/resources/policies.d.mts +68 -115
  58. package/resources/policies.d.mts.map +1 -1
  59. package/resources/policies.d.ts +68 -115
  60. package/resources/policies.d.ts.map +1 -1
  61. package/resources/policies.js.map +1 -1
  62. package/resources/policies.mjs.map +1 -1
  63. package/resources/users.d.mts +642 -381
  64. package/resources/users.d.mts.map +1 -1
  65. package/resources/users.d.ts +642 -381
  66. package/resources/users.d.ts.map +1 -1
  67. package/resources/wallets/index.d.mts +1 -1
  68. package/resources/wallets/index.d.mts.map +1 -1
  69. package/resources/wallets/index.d.ts +1 -1
  70. package/resources/wallets/index.d.ts.map +1 -1
  71. package/resources/wallets/index.js.map +1 -1
  72. package/resources/wallets/index.mjs.map +1 -1
  73. package/resources/wallets/wallets.d.mts +98 -4
  74. package/resources/wallets/wallets.d.mts.map +1 -1
  75. package/resources/wallets/wallets.d.ts +98 -4
  76. package/resources/wallets/wallets.d.ts.map +1 -1
  77. package/resources/wallets/wallets.js +1 -1
  78. package/resources/wallets/wallets.js.map +1 -1
  79. package/resources/wallets/wallets.mjs +1 -1
  80. package/resources/wallets/wallets.mjs.map +1 -1
  81. package/solana-kit.d.mts +53 -0
  82. package/solana-kit.d.mts.map +1 -0
  83. package/solana-kit.d.ts +53 -0
  84. package/solana-kit.d.ts.map +1 -0
  85. package/solana-kit.js +92 -0
  86. package/solana-kit.js.map +1 -0
  87. package/solana-kit.mjs +89 -0
  88. package/solana-kit.mjs.map +1 -0
  89. package/src/client.ts +131 -3
  90. package/src/index.ts +5 -0
  91. package/src/lib/auth.ts +42 -6
  92. package/src/lib/cryptography.ts +72 -3
  93. package/src/lib/identity-token.ts +38 -18
  94. package/src/public-api/services/utils/auth.ts +19 -6
  95. package/src/resources/apps.ts +44 -0
  96. package/src/resources/index.ts +66 -2
  97. package/src/resources/policies.ts +105 -191
  98. package/src/resources/users.ts +942 -625
  99. package/src/resources/wallets/index.ts +6 -0
  100. package/src/resources/wallets/wallets.ts +125 -3
  101. package/src/solana-kit.ts +148 -0
  102. package/src/version.ts +1 -1
  103. package/version.d.mts +1 -1
  104. package/version.d.ts +1 -1
  105. package/version.js +1 -1
  106. package/version.mjs +1 -1
@@ -20,6 +20,11 @@ export {
20
20
  export {
21
21
  Policies,
22
22
  type Policy,
23
+ type SuiTransactionCommandOperator,
24
+ type SuiTransferObjectsCommandField,
25
+ type TronTransactionCondition,
26
+ type SuiTransactionCommandCondition,
27
+ type SuiTransferObjectsCommandCondition,
23
28
  type PolicyCreateRuleResponse,
24
29
  type PolicyDeleteResponse,
25
30
  type PolicyDeleteRuleResponse,
@@ -39,6 +44,17 @@ export {
39
44
  type AuthenticatedUser,
40
45
  type LinkedAccount,
41
46
  type User,
47
+ type LinkedAccountEmail,
48
+ type LinkedAccountPhone,
49
+ type LinkedAccountBaseWallet,
50
+ type LinkedAccountEthereum,
51
+ type SmartWalletType,
52
+ type LinkedAccountSmartWallet,
53
+ type LinkedAccountSolana,
54
+ type LinkedAccountFarcaster,
55
+ type LinkedAccountPasskey,
56
+ type LinkedAccountTelegram,
57
+ type EmbeddedWalletRecoveryMethod,
42
58
  type LinkedAccountEthereumEmbeddedWallet,
43
59
  type LinkedAccountSolanaEmbeddedWallet,
44
60
  type LinkedAccountBitcoinSegwitEmbeddedWallet,
@@ -46,8 +62,50 @@ export {
46
62
  type LinkedAccountCurveSigningEmbeddedWallet,
47
63
  type LinkedAccountEmbeddedWallet,
48
64
  type LinkedAccountEmbeddedWalletWithID,
49
- type SmartWalletType,
50
- type LinkedAccountSmartWallet,
65
+ type LinkedAccountGoogleOAuth,
66
+ type LinkedAccountTwitterOAuth,
67
+ type LinkedAccountDiscordOAuth,
68
+ type LinkedAccountGitHubOAuth,
69
+ type LinkedAccountLinkedInOAuth,
70
+ type LinkedAccountSpotifyOAuth,
71
+ type LinkedAccountInstagramOAuth,
72
+ type LinkedAccountTiktokOAuth,
73
+ type LinkedAccountLineOAuth,
74
+ type LinkedAccountTwitchOAuth,
75
+ type LinkedAccountAppleOAuth,
76
+ type LinkedAccountCustomOAuth,
77
+ type LinkedAccountCustomJwt,
78
+ type CrossAppEmbeddedWallet,
79
+ type CrossAppSmartWallet,
80
+ type LinkedAccountCrossApp,
81
+ type LinkedAccountAuthorizationKey,
82
+ type LinkedAccountType,
83
+ type CustomMetadata,
84
+ type LinkedAccountWalletInput,
85
+ type LinkedAccountEmailInput,
86
+ type LinkedAccountPhoneInput,
87
+ type LinkedAccountGoogleInput,
88
+ type LinkedAccountTwitterInput,
89
+ type LinkedAccountDiscordInput,
90
+ type LinkedAccountGitHubInput,
91
+ type LinkedAccountSpotifyInput,
92
+ type LinkedAccountInstagramInput,
93
+ type LinkedAccountTiktokInput,
94
+ type LinkedAccountLineInput,
95
+ type LinkedAccountTwitchInput,
96
+ type LinkedAccountAppleInput,
97
+ type LinkedAccountLinkedInInput,
98
+ type LinkedAccountFarcasterInput,
99
+ type LinkedAccountTelegramInput,
100
+ type LinkedAccountCustomJwtInput,
101
+ type LinkedAccountInput,
102
+ type UserBatchCreateInput,
103
+ type SMSMfaMethod,
104
+ type TotpMfaMethod,
105
+ type PasskeyMfaMethod,
106
+ type LinkedMfaMethod,
107
+ type OAuthTokens,
108
+ type UserWithIdentityToken,
51
109
  type UserCreateParams,
52
110
  type UserListParams,
53
111
  type UserGetByCustomAuthIDParams,
@@ -76,6 +134,12 @@ export {
76
134
  type WalletChainType,
77
135
  type ExtendedChainType,
78
136
  type WalletCustodian,
137
+ type CustodialWalletProvider,
138
+ type CustodialWalletChainType,
139
+ type CustodialWalletCreateInput,
140
+ type CustodialWallet,
141
+ type HpkeImportConfig,
142
+ type SuiCommandName,
79
143
  type EthereumPersonalSignRpcInput,
80
144
  type EthereumSignTransactionRpcInput,
81
145
  type EthereumSendTransactionRpcInput,
@@ -1,6 +1,8 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
3
  import { APIResource } from '../core/resource';
4
+ import * as PoliciesAPI from './policies';
5
+ import * as WalletsAPI from './wallets/wallets';
4
6
  import { APIPromise } from '../core/api-promise';
5
7
  import { buildHeaders } from '../internal/headers';
6
8
  import { RequestOptions } from '../internal/request-options';
@@ -263,7 +265,7 @@ export interface Policy {
263
265
  /**
264
266
  * The chain type the policy applies to.
265
267
  */
266
- chain_type: 'ethereum' | 'solana' | 'tron';
268
+ chain_type: 'ethereum' | 'solana' | 'tron' | 'sui';
267
269
 
268
270
  /**
269
271
  * Unix timestamp of when the policy was created in milliseconds.
@@ -311,7 +313,9 @@ export namespace Policy {
311
313
  | Rule.SolanaSystemProgramInstructionCondition
312
314
  | Rule.SolanaTokenProgramInstructionCondition
313
315
  | Rule.SystemCondition
314
- | Rule.TronTransactionCondition
316
+ | PoliciesAPI.TronTransactionCondition
317
+ | PoliciesAPI.SuiTransactionCommandCondition
318
+ | PoliciesAPI.SuiTransferObjectsCommandCondition
315
319
  >;
316
320
 
317
321
  /**
@@ -481,30 +485,82 @@ export namespace Policy {
481
485
 
482
486
  value: string | Array<string>;
483
487
  }
488
+ }
489
+ }
484
490
 
485
- /**
486
- * TRON transaction fields for TransferContract and TriggerSmartContract
487
- * transaction types.
488
- */
489
- export interface TronTransactionCondition {
490
- /**
491
- * Supported TRON transaction fields in format "TransactionType.field_name"
492
- */
493
- field:
494
- | 'TransferContract.to_address'
495
- | 'TransferContract.amount'
496
- | 'TriggerSmartContract.contract_address'
497
- | 'TriggerSmartContract.call_value'
498
- | 'TriggerSmartContract.token_id'
499
- | 'TriggerSmartContract.call_token_value';
491
+ /**
492
+ * Operator to use for SUI transaction command conditions. Only 'eq' and 'in' are
493
+ * supported for command names.
494
+ */
495
+ export type SuiTransactionCommandOperator = 'eq' | 'in';
500
496
 
501
- field_source: 'tron_transaction';
497
+ /**
498
+ * Supported fields for SUI TransferObjects command conditions. Only 'recipient'
499
+ * and 'amount' are supported.
500
+ */
501
+ export type SuiTransferObjectsCommandField = 'recipient' | 'amount';
502
502
 
503
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
503
+ /**
504
+ * TRON transaction fields for TransferContract and TriggerSmartContract
505
+ * transaction types.
506
+ */
507
+ export interface TronTransactionCondition {
508
+ /**
509
+ * Supported TRON transaction fields in format "TransactionType.field_name"
510
+ */
511
+ field:
512
+ | 'TransferContract.to_address'
513
+ | 'TransferContract.amount'
514
+ | 'TriggerSmartContract.contract_address'
515
+ | 'TriggerSmartContract.call_value'
516
+ | 'TriggerSmartContract.token_id'
517
+ | 'TriggerSmartContract.call_token_value';
504
518
 
505
- value: string | Array<string>;
506
- }
507
- }
519
+ field_source: 'tron_transaction';
520
+
521
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
522
+
523
+ value: string | Array<string>;
524
+ }
525
+
526
+ /**
527
+ * SUI transaction command attributes, enables allowlisting specific command types.
528
+ * Allowed commands: 'TransferObjects', 'SplitCoins', 'MergeCoins'. Only 'eq' and
529
+ * 'in' operators are supported.
530
+ */
531
+ export interface SuiTransactionCommandCondition {
532
+ field: 'commandName';
533
+
534
+ field_source: 'sui_transaction_command';
535
+
536
+ /**
537
+ * Operator to use for SUI transaction command conditions. Only 'eq' and 'in' are
538
+ * supported for command names.
539
+ */
540
+ operator: SuiTransactionCommandOperator;
541
+
542
+ /**
543
+ * Command name(s) to match. Must be one of: 'TransferObjects', 'SplitCoins',
544
+ * 'MergeCoins'
545
+ */
546
+ value: WalletsAPI.SuiCommandName | Array<WalletsAPI.SuiCommandName>;
547
+ }
548
+
549
+ /**
550
+ * SUI TransferObjects command attributes, including recipient and amount fields.
551
+ */
552
+ export interface SuiTransferObjectsCommandCondition {
553
+ /**
554
+ * Supported fields for SUI TransferObjects command conditions. Only 'recipient'
555
+ * and 'amount' are supported.
556
+ */
557
+ field: SuiTransferObjectsCommandField;
558
+
559
+ field_source: 'sui_transfer_objects_command';
560
+
561
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
562
+
563
+ value: string | Array<string>;
508
564
  }
509
565
 
510
566
  /**
@@ -529,7 +585,9 @@ export interface PolicyCreateRuleResponse {
529
585
  | PolicyCreateRuleResponse.SolanaSystemProgramInstructionCondition
530
586
  | PolicyCreateRuleResponse.SolanaTokenProgramInstructionCondition
531
587
  | PolicyCreateRuleResponse.SystemCondition
532
- | PolicyCreateRuleResponse.TronTransactionCondition
588
+ | TronTransactionCondition
589
+ | SuiTransactionCommandCondition
590
+ | SuiTransferObjectsCommandCondition
533
591
  >;
534
592
 
535
593
  /**
@@ -699,29 +757,6 @@ export namespace PolicyCreateRuleResponse {
699
757
 
700
758
  value: string | Array<string>;
701
759
  }
702
-
703
- /**
704
- * TRON transaction fields for TransferContract and TriggerSmartContract
705
- * transaction types.
706
- */
707
- export interface TronTransactionCondition {
708
- /**
709
- * Supported TRON transaction fields in format "TransactionType.field_name"
710
- */
711
- field:
712
- | 'TransferContract.to_address'
713
- | 'TransferContract.amount'
714
- | 'TriggerSmartContract.contract_address'
715
- | 'TriggerSmartContract.call_value'
716
- | 'TriggerSmartContract.token_id'
717
- | 'TriggerSmartContract.call_token_value';
718
-
719
- field_source: 'tron_transaction';
720
-
721
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
722
-
723
- value: string | Array<string>;
724
- }
725
760
  }
726
761
 
727
762
  export interface PolicyDeleteResponse {
@@ -756,7 +791,9 @@ export interface PolicyUpdateRuleResponse {
756
791
  | PolicyUpdateRuleResponse.SolanaSystemProgramInstructionCondition
757
792
  | PolicyUpdateRuleResponse.SolanaTokenProgramInstructionCondition
758
793
  | PolicyUpdateRuleResponse.SystemCondition
759
- | PolicyUpdateRuleResponse.TronTransactionCondition
794
+ | TronTransactionCondition
795
+ | SuiTransactionCommandCondition
796
+ | SuiTransferObjectsCommandCondition
760
797
  >;
761
798
 
762
799
  /**
@@ -926,29 +963,6 @@ export namespace PolicyUpdateRuleResponse {
926
963
 
927
964
  value: string | Array<string>;
928
965
  }
929
-
930
- /**
931
- * TRON transaction fields for TransferContract and TriggerSmartContract
932
- * transaction types.
933
- */
934
- export interface TronTransactionCondition {
935
- /**
936
- * Supported TRON transaction fields in format "TransactionType.field_name"
937
- */
938
- field:
939
- | 'TransferContract.to_address'
940
- | 'TransferContract.amount'
941
- | 'TriggerSmartContract.contract_address'
942
- | 'TriggerSmartContract.call_value'
943
- | 'TriggerSmartContract.token_id'
944
- | 'TriggerSmartContract.call_token_value';
945
-
946
- field_source: 'tron_transaction';
947
-
948
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
949
-
950
- value: string | Array<string>;
951
- }
952
966
  }
953
967
 
954
968
  /**
@@ -973,7 +987,9 @@ export interface PolicyGetRuleResponse {
973
987
  | PolicyGetRuleResponse.SolanaSystemProgramInstructionCondition
974
988
  | PolicyGetRuleResponse.SolanaTokenProgramInstructionCondition
975
989
  | PolicyGetRuleResponse.SystemCondition
976
- | PolicyGetRuleResponse.TronTransactionCondition
990
+ | TronTransactionCondition
991
+ | SuiTransactionCommandCondition
992
+ | SuiTransferObjectsCommandCondition
977
993
  >;
978
994
 
979
995
  /**
@@ -1143,36 +1159,13 @@ export namespace PolicyGetRuleResponse {
1143
1159
 
1144
1160
  value: string | Array<string>;
1145
1161
  }
1146
-
1147
- /**
1148
- * TRON transaction fields for TransferContract and TriggerSmartContract
1149
- * transaction types.
1150
- */
1151
- export interface TronTransactionCondition {
1152
- /**
1153
- * Supported TRON transaction fields in format "TransactionType.field_name"
1154
- */
1155
- field:
1156
- | 'TransferContract.to_address'
1157
- | 'TransferContract.amount'
1158
- | 'TriggerSmartContract.contract_address'
1159
- | 'TriggerSmartContract.call_value'
1160
- | 'TriggerSmartContract.token_id'
1161
- | 'TriggerSmartContract.call_token_value';
1162
-
1163
- field_source: 'tron_transaction';
1164
-
1165
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
1166
-
1167
- value: string | Array<string>;
1168
- }
1169
1162
  }
1170
1163
 
1171
1164
  export interface PolicyCreateParams {
1172
1165
  /**
1173
1166
  * Body param: The chain type the policy applies to.
1174
1167
  */
1175
- chain_type: 'ethereum' | 'solana' | 'tron';
1168
+ chain_type: 'ethereum' | 'solana' | 'tron' | 'sui';
1176
1169
 
1177
1170
  /**
1178
1171
  * Body param: Name to assign to policy.
@@ -1229,7 +1222,9 @@ export namespace PolicyCreateParams {
1229
1222
  | Rule.SolanaSystemProgramInstructionCondition
1230
1223
  | Rule.SolanaTokenProgramInstructionCondition
1231
1224
  | Rule.SystemCondition
1232
- | Rule.TronTransactionCondition
1225
+ | PoliciesAPI.TronTransactionCondition
1226
+ | PoliciesAPI.SuiTransactionCommandCondition
1227
+ | PoliciesAPI.SuiTransferObjectsCommandCondition
1233
1228
  >;
1234
1229
 
1235
1230
  /**
@@ -1399,29 +1394,6 @@ export namespace PolicyCreateParams {
1399
1394
 
1400
1395
  value: string | Array<string>;
1401
1396
  }
1402
-
1403
- /**
1404
- * TRON transaction fields for TransferContract and TriggerSmartContract
1405
- * transaction types.
1406
- */
1407
- export interface TronTransactionCondition {
1408
- /**
1409
- * Supported TRON transaction fields in format "TransactionType.field_name"
1410
- */
1411
- field:
1412
- | 'TransferContract.to_address'
1413
- | 'TransferContract.amount'
1414
- | 'TriggerSmartContract.contract_address'
1415
- | 'TriggerSmartContract.call_value'
1416
- | 'TriggerSmartContract.token_id'
1417
- | 'TriggerSmartContract.call_token_value';
1418
-
1419
- field_source: 'tron_transaction';
1420
-
1421
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
1422
-
1423
- value: string | Array<string>;
1424
- }
1425
1397
  }
1426
1398
 
1427
1399
  /**
@@ -1462,7 +1434,9 @@ export interface PolicyCreateRuleParams {
1462
1434
  | PolicyCreateRuleParams.SolanaSystemProgramInstructionCondition
1463
1435
  | PolicyCreateRuleParams.SolanaTokenProgramInstructionCondition
1464
1436
  | PolicyCreateRuleParams.SystemCondition
1465
- | PolicyCreateRuleParams.TronTransactionCondition
1437
+ | TronTransactionCondition
1438
+ | SuiTransactionCommandCondition
1439
+ | SuiTransferObjectsCommandCondition
1466
1440
  >;
1467
1441
 
1468
1442
  /**
@@ -1641,29 +1615,6 @@ export namespace PolicyCreateRuleParams {
1641
1615
 
1642
1616
  value: string | Array<string>;
1643
1617
  }
1644
-
1645
- /**
1646
- * TRON transaction fields for TransferContract and TriggerSmartContract
1647
- * transaction types.
1648
- */
1649
- export interface TronTransactionCondition {
1650
- /**
1651
- * Supported TRON transaction fields in format "TransactionType.field_name"
1652
- */
1653
- field:
1654
- | 'TransferContract.to_address'
1655
- | 'TransferContract.amount'
1656
- | 'TriggerSmartContract.contract_address'
1657
- | 'TriggerSmartContract.call_value'
1658
- | 'TriggerSmartContract.token_id'
1659
- | 'TriggerSmartContract.call_token_value';
1660
-
1661
- field_source: 'tron_transaction';
1662
-
1663
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
1664
-
1665
- value: string | Array<string>;
1666
- }
1667
1618
  }
1668
1619
 
1669
1620
  export interface PolicyDeleteParams {
@@ -1756,7 +1707,9 @@ export namespace PolicyUpdateParams {
1756
1707
  | Rule.SolanaSystemProgramInstructionCondition
1757
1708
  | Rule.SolanaTokenProgramInstructionCondition
1758
1709
  | Rule.SystemCondition
1759
- | Rule.TronTransactionCondition
1710
+ | PoliciesAPI.TronTransactionCondition
1711
+ | PoliciesAPI.SuiTransactionCommandCondition
1712
+ | PoliciesAPI.SuiTransferObjectsCommandCondition
1760
1713
  >;
1761
1714
 
1762
1715
  /**
@@ -1926,29 +1879,6 @@ export namespace PolicyUpdateParams {
1926
1879
 
1927
1880
  value: string | Array<string>;
1928
1881
  }
1929
-
1930
- /**
1931
- * TRON transaction fields for TransferContract and TriggerSmartContract
1932
- * transaction types.
1933
- */
1934
- export interface TronTransactionCondition {
1935
- /**
1936
- * Supported TRON transaction fields in format "TransactionType.field_name"
1937
- */
1938
- field:
1939
- | 'TransferContract.to_address'
1940
- | 'TransferContract.amount'
1941
- | 'TriggerSmartContract.contract_address'
1942
- | 'TriggerSmartContract.call_value'
1943
- | 'TriggerSmartContract.token_id'
1944
- | 'TriggerSmartContract.call_token_value';
1945
-
1946
- field_source: 'tron_transaction';
1947
-
1948
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
1949
-
1950
- value: string | Array<string>;
1951
- }
1952
1882
  }
1953
1883
  }
1954
1884
 
@@ -1976,7 +1906,9 @@ export interface PolicyUpdateRuleParams {
1976
1906
  | PolicyUpdateRuleParams.SolanaSystemProgramInstructionCondition
1977
1907
  | PolicyUpdateRuleParams.SolanaTokenProgramInstructionCondition
1978
1908
  | PolicyUpdateRuleParams.SystemCondition
1979
- | PolicyUpdateRuleParams.TronTransactionCondition
1909
+ | TronTransactionCondition
1910
+ | SuiTransactionCommandCondition
1911
+ | SuiTransferObjectsCommandCondition
1980
1912
  >;
1981
1913
 
1982
1914
  /**
@@ -2155,29 +2087,6 @@ export namespace PolicyUpdateRuleParams {
2155
2087
 
2156
2088
  value: string | Array<string>;
2157
2089
  }
2158
-
2159
- /**
2160
- * TRON transaction fields for TransferContract and TriggerSmartContract
2161
- * transaction types.
2162
- */
2163
- export interface TronTransactionCondition {
2164
- /**
2165
- * Supported TRON transaction fields in format "TransactionType.field_name"
2166
- */
2167
- field:
2168
- | 'TransferContract.to_address'
2169
- | 'TransferContract.amount'
2170
- | 'TriggerSmartContract.contract_address'
2171
- | 'TriggerSmartContract.call_value'
2172
- | 'TriggerSmartContract.token_id'
2173
- | 'TriggerSmartContract.call_token_value';
2174
-
2175
- field_source: 'tron_transaction';
2176
-
2177
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
2178
-
2179
- value: string | Array<string>;
2180
- }
2181
2090
  }
2182
2091
 
2183
2092
  export interface PolicyGetRuleParams {
@@ -2187,6 +2096,11 @@ export interface PolicyGetRuleParams {
2187
2096
  export declare namespace Policies {
2188
2097
  export {
2189
2098
  type Policy as Policy,
2099
+ type SuiTransactionCommandOperator as SuiTransactionCommandOperator,
2100
+ type SuiTransferObjectsCommandField as SuiTransferObjectsCommandField,
2101
+ type TronTransactionCondition as TronTransactionCondition,
2102
+ type SuiTransactionCommandCondition as SuiTransactionCommandCondition,
2103
+ type SuiTransferObjectsCommandCondition as SuiTransferObjectsCommandCondition,
2190
2104
  type PolicyCreateRuleResponse as PolicyCreateRuleResponse,
2191
2105
  type PolicyDeleteResponse as PolicyDeleteResponse,
2192
2106
  type PolicyDeleteRuleResponse as PolicyDeleteRuleResponse,