@turnkey/http 1.2.0 → 1.3.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.
- package/CHANGELOG.md +31 -0
- package/dist/__generated__/services/coordinator/public/v1/public_api.client.d.ts +120 -0
- package/dist/__generated__/services/coordinator/public/v1/public_api.client.d.ts.map +1 -1
- package/dist/__generated__/services/coordinator/public/v1/public_api.client.js +203 -0
- package/dist/__generated__/services/coordinator/public/v1/public_api.client.js.map +1 -1
- package/dist/__generated__/services/coordinator/public/v1/public_api.fetcher.d.ts +8997 -396
- package/dist/__generated__/services/coordinator/public/v1/public_api.fetcher.d.ts.map +1 -1
- package/dist/__generated__/services/coordinator/public/v1/public_api.fetcher.js +194 -2
- package/dist/__generated__/services/coordinator/public/v1/public_api.fetcher.js.map +1 -1
- package/dist/__generated__/services/coordinator/public/v1/public_api.swagger.json +861 -93
- package/dist/__generated__/services/coordinator/public/v1/public_api.types.d.ts +425 -53
- package/dist/__generated__/services/coordinator/public/v1/public_api.types.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -796,6 +796,70 @@
|
|
|
796
796
|
"tags": ["Users"]
|
|
797
797
|
}
|
|
798
798
|
},
|
|
799
|
+
"/public/v1/submit/create_wallet": {
|
|
800
|
+
"post": {
|
|
801
|
+
"summary": "Create Wallet",
|
|
802
|
+
"description": "Create a Wallet",
|
|
803
|
+
"operationId": "PublicApiService_CreateWallet",
|
|
804
|
+
"responses": {
|
|
805
|
+
"200": {
|
|
806
|
+
"description": "A successful response.",
|
|
807
|
+
"schema": {
|
|
808
|
+
"$ref": "#/definitions/v1ActivityResponse"
|
|
809
|
+
}
|
|
810
|
+
},
|
|
811
|
+
"default": {
|
|
812
|
+
"description": "An unexpected error response.",
|
|
813
|
+
"schema": {
|
|
814
|
+
"$ref": "#/definitions/rpcStatus"
|
|
815
|
+
}
|
|
816
|
+
}
|
|
817
|
+
},
|
|
818
|
+
"parameters": [
|
|
819
|
+
{
|
|
820
|
+
"name": "body",
|
|
821
|
+
"in": "body",
|
|
822
|
+
"required": true,
|
|
823
|
+
"schema": {
|
|
824
|
+
"$ref": "#/definitions/v1CreateWalletRequest"
|
|
825
|
+
}
|
|
826
|
+
}
|
|
827
|
+
],
|
|
828
|
+
"tags": ["PublicApiService"]
|
|
829
|
+
}
|
|
830
|
+
},
|
|
831
|
+
"/public/v1/submit/create_wallet_accounts": {
|
|
832
|
+
"post": {
|
|
833
|
+
"summary": "Create Wallet accounts",
|
|
834
|
+
"description": "Create Wallet accounts",
|
|
835
|
+
"operationId": "PublicApiService_CreateWalletAccounts",
|
|
836
|
+
"responses": {
|
|
837
|
+
"200": {
|
|
838
|
+
"description": "A successful response.",
|
|
839
|
+
"schema": {
|
|
840
|
+
"$ref": "#/definitions/v1ActivityResponse"
|
|
841
|
+
}
|
|
842
|
+
},
|
|
843
|
+
"default": {
|
|
844
|
+
"description": "An unexpected error response.",
|
|
845
|
+
"schema": {
|
|
846
|
+
"$ref": "#/definitions/rpcStatus"
|
|
847
|
+
}
|
|
848
|
+
}
|
|
849
|
+
},
|
|
850
|
+
"parameters": [
|
|
851
|
+
{
|
|
852
|
+
"name": "body",
|
|
853
|
+
"in": "body",
|
|
854
|
+
"required": true,
|
|
855
|
+
"schema": {
|
|
856
|
+
"$ref": "#/definitions/v1CreateWalletAccountsRequest"
|
|
857
|
+
}
|
|
858
|
+
}
|
|
859
|
+
],
|
|
860
|
+
"tags": ["PublicApiService"]
|
|
861
|
+
}
|
|
862
|
+
},
|
|
799
863
|
"/public/v1/submit/delete_api_keys": {
|
|
800
864
|
"post": {
|
|
801
865
|
"summary": "Delete API Keys",
|
|
@@ -924,6 +988,70 @@
|
|
|
924
988
|
"tags": ["Policies"]
|
|
925
989
|
}
|
|
926
990
|
},
|
|
991
|
+
"/public/v1/submit/export_private_key": {
|
|
992
|
+
"post": {
|
|
993
|
+
"summary": "Export Private Key",
|
|
994
|
+
"description": "Exports a Private Key",
|
|
995
|
+
"operationId": "PublicApiService_ExportPrivateKey",
|
|
996
|
+
"responses": {
|
|
997
|
+
"200": {
|
|
998
|
+
"description": "A successful response.",
|
|
999
|
+
"schema": {
|
|
1000
|
+
"$ref": "#/definitions/v1ActivityResponse"
|
|
1001
|
+
}
|
|
1002
|
+
},
|
|
1003
|
+
"default": {
|
|
1004
|
+
"description": "An unexpected error response.",
|
|
1005
|
+
"schema": {
|
|
1006
|
+
"$ref": "#/definitions/rpcStatus"
|
|
1007
|
+
}
|
|
1008
|
+
}
|
|
1009
|
+
},
|
|
1010
|
+
"parameters": [
|
|
1011
|
+
{
|
|
1012
|
+
"name": "body",
|
|
1013
|
+
"in": "body",
|
|
1014
|
+
"required": true,
|
|
1015
|
+
"schema": {
|
|
1016
|
+
"$ref": "#/definitions/v1ExportPrivateKeyRequest"
|
|
1017
|
+
}
|
|
1018
|
+
}
|
|
1019
|
+
],
|
|
1020
|
+
"tags": ["Private Keys"]
|
|
1021
|
+
}
|
|
1022
|
+
},
|
|
1023
|
+
"/public/v1/submit/init_user_email_recovery": {
|
|
1024
|
+
"post": {
|
|
1025
|
+
"summary": "Init Recovery",
|
|
1026
|
+
"description": "Initializes a new recovery",
|
|
1027
|
+
"operationId": "PublicApiService_InitUserEmailRecovery",
|
|
1028
|
+
"responses": {
|
|
1029
|
+
"200": {
|
|
1030
|
+
"description": "A successful response.",
|
|
1031
|
+
"schema": {
|
|
1032
|
+
"$ref": "#/definitions/v1ActivityResponse"
|
|
1033
|
+
}
|
|
1034
|
+
},
|
|
1035
|
+
"default": {
|
|
1036
|
+
"description": "An unexpected error response.",
|
|
1037
|
+
"schema": {
|
|
1038
|
+
"$ref": "#/definitions/rpcStatus"
|
|
1039
|
+
}
|
|
1040
|
+
}
|
|
1041
|
+
},
|
|
1042
|
+
"parameters": [
|
|
1043
|
+
{
|
|
1044
|
+
"name": "body",
|
|
1045
|
+
"in": "body",
|
|
1046
|
+
"required": true,
|
|
1047
|
+
"schema": {
|
|
1048
|
+
"$ref": "#/definitions/v1InitUserEmailRecoveryRequest"
|
|
1049
|
+
}
|
|
1050
|
+
}
|
|
1051
|
+
],
|
|
1052
|
+
"tags": ["Organizations"]
|
|
1053
|
+
}
|
|
1054
|
+
},
|
|
927
1055
|
"/public/v1/submit/reject_activity": {
|
|
928
1056
|
"post": {
|
|
929
1057
|
"summary": "Reject Activity",
|
|
@@ -956,6 +1084,70 @@
|
|
|
956
1084
|
"tags": ["Consensus"]
|
|
957
1085
|
}
|
|
958
1086
|
},
|
|
1087
|
+
"/public/v1/submit/remove_organization_feature": {
|
|
1088
|
+
"post": {
|
|
1089
|
+
"summary": "Remove Organization Feature",
|
|
1090
|
+
"description": "Removes an organization feature",
|
|
1091
|
+
"operationId": "PublicApiService_RemoveOrganizationFeature",
|
|
1092
|
+
"responses": {
|
|
1093
|
+
"200": {
|
|
1094
|
+
"description": "A successful response.",
|
|
1095
|
+
"schema": {
|
|
1096
|
+
"$ref": "#/definitions/v1ActivityResponse"
|
|
1097
|
+
}
|
|
1098
|
+
},
|
|
1099
|
+
"default": {
|
|
1100
|
+
"description": "An unexpected error response.",
|
|
1101
|
+
"schema": {
|
|
1102
|
+
"$ref": "#/definitions/rpcStatus"
|
|
1103
|
+
}
|
|
1104
|
+
}
|
|
1105
|
+
},
|
|
1106
|
+
"parameters": [
|
|
1107
|
+
{
|
|
1108
|
+
"name": "body",
|
|
1109
|
+
"in": "body",
|
|
1110
|
+
"required": true,
|
|
1111
|
+
"schema": {
|
|
1112
|
+
"$ref": "#/definitions/v1RemoveOrganizationFeatureRequest"
|
|
1113
|
+
}
|
|
1114
|
+
}
|
|
1115
|
+
],
|
|
1116
|
+
"tags": ["Organizations"]
|
|
1117
|
+
}
|
|
1118
|
+
},
|
|
1119
|
+
"/public/v1/submit/set_organization_feature": {
|
|
1120
|
+
"post": {
|
|
1121
|
+
"summary": "Set Organization Feature",
|
|
1122
|
+
"description": "Sets an organization feature",
|
|
1123
|
+
"operationId": "PublicApiService_SetOrganizationFeature",
|
|
1124
|
+
"responses": {
|
|
1125
|
+
"200": {
|
|
1126
|
+
"description": "A successful response.",
|
|
1127
|
+
"schema": {
|
|
1128
|
+
"$ref": "#/definitions/v1ActivityResponse"
|
|
1129
|
+
}
|
|
1130
|
+
},
|
|
1131
|
+
"default": {
|
|
1132
|
+
"description": "An unexpected error response.",
|
|
1133
|
+
"schema": {
|
|
1134
|
+
"$ref": "#/definitions/rpcStatus"
|
|
1135
|
+
}
|
|
1136
|
+
}
|
|
1137
|
+
},
|
|
1138
|
+
"parameters": [
|
|
1139
|
+
{
|
|
1140
|
+
"name": "body",
|
|
1141
|
+
"in": "body",
|
|
1142
|
+
"required": true,
|
|
1143
|
+
"schema": {
|
|
1144
|
+
"$ref": "#/definitions/v1SetOrganizationFeatureRequest"
|
|
1145
|
+
}
|
|
1146
|
+
}
|
|
1147
|
+
],
|
|
1148
|
+
"tags": ["Organizations"]
|
|
1149
|
+
}
|
|
1150
|
+
},
|
|
959
1151
|
"/public/v1/submit/sign_raw_payload": {
|
|
960
1152
|
"post": {
|
|
961
1153
|
"summary": "Sign Raw Payload",
|
|
@@ -988,6 +1180,38 @@
|
|
|
988
1180
|
"tags": ["Private Keys"]
|
|
989
1181
|
}
|
|
990
1182
|
},
|
|
1183
|
+
"/public/v1/submit/sign_raw_payload_v2": {
|
|
1184
|
+
"post": {
|
|
1185
|
+
"summary": "Sign Raw Payload",
|
|
1186
|
+
"description": "Sign a raw payload with a Private Key id or address",
|
|
1187
|
+
"operationId": "PublicApiService_SignRawPayloadV2",
|
|
1188
|
+
"responses": {
|
|
1189
|
+
"200": {
|
|
1190
|
+
"description": "A successful response.",
|
|
1191
|
+
"schema": {
|
|
1192
|
+
"$ref": "#/definitions/v1ActivityResponse"
|
|
1193
|
+
}
|
|
1194
|
+
},
|
|
1195
|
+
"default": {
|
|
1196
|
+
"description": "An unexpected error response.",
|
|
1197
|
+
"schema": {
|
|
1198
|
+
"$ref": "#/definitions/rpcStatus"
|
|
1199
|
+
}
|
|
1200
|
+
}
|
|
1201
|
+
},
|
|
1202
|
+
"parameters": [
|
|
1203
|
+
{
|
|
1204
|
+
"name": "body",
|
|
1205
|
+
"in": "body",
|
|
1206
|
+
"required": true,
|
|
1207
|
+
"schema": {
|
|
1208
|
+
"$ref": "#/definitions/v1SignRawPayloadV2Request"
|
|
1209
|
+
}
|
|
1210
|
+
}
|
|
1211
|
+
],
|
|
1212
|
+
"tags": ["PublicApiService"]
|
|
1213
|
+
}
|
|
1214
|
+
},
|
|
991
1215
|
"/public/v1/submit/sign_transaction": {
|
|
992
1216
|
"post": {
|
|
993
1217
|
"summary": "Sign Transaction",
|
|
@@ -1020,6 +1244,38 @@
|
|
|
1020
1244
|
"tags": ["Private Keys"]
|
|
1021
1245
|
}
|
|
1022
1246
|
},
|
|
1247
|
+
"/public/v1/submit/sign_transaction_v2": {
|
|
1248
|
+
"post": {
|
|
1249
|
+
"summary": "Sign Transaction",
|
|
1250
|
+
"description": "Sign a transaction with a Private Key id or address",
|
|
1251
|
+
"operationId": "PublicApiService_SignTransactionV2",
|
|
1252
|
+
"responses": {
|
|
1253
|
+
"200": {
|
|
1254
|
+
"description": "A successful response.",
|
|
1255
|
+
"schema": {
|
|
1256
|
+
"$ref": "#/definitions/v1ActivityResponse"
|
|
1257
|
+
}
|
|
1258
|
+
},
|
|
1259
|
+
"default": {
|
|
1260
|
+
"description": "An unexpected error response.",
|
|
1261
|
+
"schema": {
|
|
1262
|
+
"$ref": "#/definitions/rpcStatus"
|
|
1263
|
+
}
|
|
1264
|
+
}
|
|
1265
|
+
},
|
|
1266
|
+
"parameters": [
|
|
1267
|
+
{
|
|
1268
|
+
"name": "body",
|
|
1269
|
+
"in": "body",
|
|
1270
|
+
"required": true,
|
|
1271
|
+
"schema": {
|
|
1272
|
+
"$ref": "#/definitions/v1SignTransactionV2Request"
|
|
1273
|
+
}
|
|
1274
|
+
}
|
|
1275
|
+
],
|
|
1276
|
+
"tags": ["PublicApiService"]
|
|
1277
|
+
}
|
|
1278
|
+
},
|
|
1023
1279
|
"/public/v1/submit/update_allowed_origins": {
|
|
1024
1280
|
"post": {
|
|
1025
1281
|
"summary": "Update Allowable Origins",
|
|
@@ -1249,10 +1505,10 @@
|
|
|
1249
1505
|
"$ref": "#/definitions/v1TagType"
|
|
1250
1506
|
},
|
|
1251
1507
|
"createdAt": {
|
|
1252
|
-
"$ref": "#/definitions/
|
|
1508
|
+
"$ref": "#/definitions/externaldatav1Timestamp"
|
|
1253
1509
|
},
|
|
1254
1510
|
"updatedAt": {
|
|
1255
|
-
"$ref": "#/definitions/
|
|
1511
|
+
"$ref": "#/definitions/externaldatav1Timestamp"
|
|
1256
1512
|
}
|
|
1257
1513
|
},
|
|
1258
1514
|
"required": ["tagId", "tagName", "tagType", "createdAt", "updatedAt"]
|
|
@@ -1290,6 +1546,27 @@
|
|
|
1290
1546
|
"AUTHENTICATOR_TRANSPORT_HYBRID"
|
|
1291
1547
|
]
|
|
1292
1548
|
},
|
|
1549
|
+
"externaldatav1Credential": {
|
|
1550
|
+
"type": "object",
|
|
1551
|
+
"properties": {
|
|
1552
|
+
"publicKey": {
|
|
1553
|
+
"type": "string",
|
|
1554
|
+
"description": "The public component of a cryptographic key pair used to sign messages and transactions."
|
|
1555
|
+
},
|
|
1556
|
+
"type": {
|
|
1557
|
+
"$ref": "#/definitions/externaldatav1CredentialType"
|
|
1558
|
+
}
|
|
1559
|
+
},
|
|
1560
|
+
"required": ["publicKey", "type"]
|
|
1561
|
+
},
|
|
1562
|
+
"externaldatav1CredentialType": {
|
|
1563
|
+
"type": "string",
|
|
1564
|
+
"enum": [
|
|
1565
|
+
"CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR",
|
|
1566
|
+
"CREDENTIAL_TYPE_API_KEY_P256",
|
|
1567
|
+
"CREDENTIAL_TYPE_RECOVER_USER_KEY_P256"
|
|
1568
|
+
]
|
|
1569
|
+
},
|
|
1293
1570
|
"externaldatav1Curve": {
|
|
1294
1571
|
"type": "string",
|
|
1295
1572
|
"enum": ["CURVE_SECP256K1", "CURVE_ED25519"]
|
|
@@ -1314,6 +1591,24 @@
|
|
|
1314
1591
|
"OPERATOR_CONTAINS_ALL"
|
|
1315
1592
|
]
|
|
1316
1593
|
},
|
|
1594
|
+
"externaldatav1Quorum": {
|
|
1595
|
+
"type": "object",
|
|
1596
|
+
"properties": {
|
|
1597
|
+
"threshold": {
|
|
1598
|
+
"type": "integer",
|
|
1599
|
+
"format": "int32",
|
|
1600
|
+
"description": "Count of unique approvals required to meet quorum."
|
|
1601
|
+
},
|
|
1602
|
+
"userIds": {
|
|
1603
|
+
"type": "array",
|
|
1604
|
+
"items": {
|
|
1605
|
+
"type": "string"
|
|
1606
|
+
},
|
|
1607
|
+
"description": "Unique identifiers of quorum set members."
|
|
1608
|
+
}
|
|
1609
|
+
},
|
|
1610
|
+
"required": ["threshold", "userIds"]
|
|
1611
|
+
},
|
|
1317
1612
|
"externaldatav1Selector": {
|
|
1318
1613
|
"type": "object",
|
|
1319
1614
|
"properties": {
|
|
@@ -1335,6 +1630,18 @@
|
|
|
1335
1630
|
},
|
|
1336
1631
|
"required": ["subject", "operator", "targets"]
|
|
1337
1632
|
},
|
|
1633
|
+
"externaldatav1Timestamp": {
|
|
1634
|
+
"type": "object",
|
|
1635
|
+
"properties": {
|
|
1636
|
+
"seconds": {
|
|
1637
|
+
"type": "string"
|
|
1638
|
+
},
|
|
1639
|
+
"nanos": {
|
|
1640
|
+
"type": "string"
|
|
1641
|
+
}
|
|
1642
|
+
},
|
|
1643
|
+
"required": ["seconds", "nanos"]
|
|
1644
|
+
},
|
|
1338
1645
|
"immutableactivityv1AccessType": {
|
|
1339
1646
|
"type": "string",
|
|
1340
1647
|
"enum": ["ACCESS_TYPE_WEB", "ACCESS_TYPE_API", "ACCESS_TYPE_ALL"]
|
|
@@ -1343,29 +1650,26 @@
|
|
|
1343
1650
|
"type": "object",
|
|
1344
1651
|
"properties": {
|
|
1345
1652
|
"format": {
|
|
1346
|
-
"$ref": "#/definitions/
|
|
1653
|
+
"$ref": "#/definitions/immutablecommonv1AddressFormat"
|
|
1347
1654
|
},
|
|
1348
1655
|
"address": {
|
|
1349
1656
|
"type": "string"
|
|
1350
1657
|
}
|
|
1351
1658
|
}
|
|
1352
1659
|
},
|
|
1353
|
-
"immutableactivityv1AddressFormat": {
|
|
1354
|
-
"type": "string",
|
|
1355
|
-
"enum": [
|
|
1356
|
-
"ADDRESS_FORMAT_UNCOMPRESSED",
|
|
1357
|
-
"ADDRESS_FORMAT_COMPRESSED",
|
|
1358
|
-
"ADDRESS_FORMAT_ETHEREUM"
|
|
1359
|
-
]
|
|
1360
|
-
},
|
|
1361
|
-
"immutableactivityv1Curve": {
|
|
1362
|
-
"type": "string",
|
|
1363
|
-
"enum": ["CURVE_SECP256K1", "CURVE_ED25519"]
|
|
1364
|
-
},
|
|
1365
1660
|
"immutableactivityv1Effect": {
|
|
1366
1661
|
"type": "string",
|
|
1367
1662
|
"enum": ["EFFECT_ALLOW", "EFFECT_DENY"]
|
|
1368
1663
|
},
|
|
1664
|
+
"immutableactivityv1HashFunction": {
|
|
1665
|
+
"type": "string",
|
|
1666
|
+
"enum": [
|
|
1667
|
+
"HASH_FUNCTION_NO_OP",
|
|
1668
|
+
"HASH_FUNCTION_SHA256",
|
|
1669
|
+
"HASH_FUNCTION_KECCAK256",
|
|
1670
|
+
"HASH_FUNCTION_NOT_APPLICABLE"
|
|
1671
|
+
]
|
|
1672
|
+
},
|
|
1369
1673
|
"immutableactivityv1Operator": {
|
|
1370
1674
|
"type": "string",
|
|
1371
1675
|
"enum": [
|
|
@@ -1382,6 +1686,10 @@
|
|
|
1382
1686
|
"OPERATOR_CONTAINS_ALL"
|
|
1383
1687
|
]
|
|
1384
1688
|
},
|
|
1689
|
+
"immutableactivityv1PayloadEncoding": {
|
|
1690
|
+
"type": "string",
|
|
1691
|
+
"enum": ["PAYLOAD_ENCODING_HEXADECIMAL", "PAYLOAD_ENCODING_TEXT_UTF8"]
|
|
1692
|
+
},
|
|
1385
1693
|
"immutableactivityv1Selector": {
|
|
1386
1694
|
"type": "object",
|
|
1387
1695
|
"properties": {
|
|
@@ -1396,9 +1704,19 @@
|
|
|
1396
1704
|
}
|
|
1397
1705
|
}
|
|
1398
1706
|
},
|
|
1399
|
-
"
|
|
1707
|
+
"immutablecommonv1AddressFormat": {
|
|
1400
1708
|
"type": "string",
|
|
1401
|
-
"enum": [
|
|
1709
|
+
"enum": [
|
|
1710
|
+
"ADDRESS_FORMAT_UNCOMPRESSED",
|
|
1711
|
+
"ADDRESS_FORMAT_COMPRESSED",
|
|
1712
|
+
"ADDRESS_FORMAT_ETHEREUM",
|
|
1713
|
+
"ADDRESS_FORMAT_SOLANA",
|
|
1714
|
+
"ADDRESS_FORMAT_COSMOS"
|
|
1715
|
+
]
|
|
1716
|
+
},
|
|
1717
|
+
"immutablecommonv1Curve": {
|
|
1718
|
+
"type": "string",
|
|
1719
|
+
"enum": ["CURVE_SECP256K1", "CURVE_ED25519"]
|
|
1402
1720
|
},
|
|
1403
1721
|
"immutablewebauthnv1AuthenticatorTransport": {
|
|
1404
1722
|
"type": "string",
|
|
@@ -1554,10 +1872,10 @@
|
|
|
1554
1872
|
"type": "boolean"
|
|
1555
1873
|
},
|
|
1556
1874
|
"createdAt": {
|
|
1557
|
-
"$ref": "#/definitions/
|
|
1875
|
+
"$ref": "#/definitions/externaldatav1Timestamp"
|
|
1558
1876
|
},
|
|
1559
1877
|
"updatedAt": {
|
|
1560
|
-
"$ref": "#/definitions/
|
|
1878
|
+
"$ref": "#/definitions/externaldatav1Timestamp"
|
|
1561
1879
|
}
|
|
1562
1880
|
},
|
|
1563
1881
|
"required": [
|
|
@@ -1642,14 +1960,23 @@
|
|
|
1642
1960
|
"ACTIVITY_TYPE_UPDATE_USER",
|
|
1643
1961
|
"ACTIVITY_TYPE_UPDATE_POLICY",
|
|
1644
1962
|
"ACTIVITY_TYPE_SET_PAYMENT_METHOD_V2",
|
|
1645
|
-
"ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V3"
|
|
1963
|
+
"ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V3",
|
|
1964
|
+
"ACTIVITY_TYPE_CREATE_WALLET",
|
|
1965
|
+
"ACTIVITY_TYPE_CREATE_WALLET_ACCOUNTS",
|
|
1966
|
+
"ACTIVITY_TYPE_INIT_USER_EMAIL_RECOVERY",
|
|
1967
|
+
"ACTIVITY_TYPE_RECOVER_USER",
|
|
1968
|
+
"ACTIVITY_TYPE_SET_ORGANIZATION_FEATURE",
|
|
1969
|
+
"ACTIVITY_TYPE_REMOVE_ORGANIZATION_FEATURE",
|
|
1970
|
+
"ACTIVITY_TYPE_SIGN_RAW_PAYLOAD_V2",
|
|
1971
|
+
"ACTIVITY_TYPE_SIGN_TRANSACTION_V2",
|
|
1972
|
+
"ACTIVITY_TYPE_EXPORT_PRIVATE_KEY"
|
|
1646
1973
|
]
|
|
1647
1974
|
},
|
|
1648
1975
|
"v1ApiKey": {
|
|
1649
1976
|
"type": "object",
|
|
1650
1977
|
"properties": {
|
|
1651
1978
|
"credential": {
|
|
1652
|
-
"$ref": "#/definitions/
|
|
1979
|
+
"$ref": "#/definitions/externaldatav1Credential",
|
|
1653
1980
|
"description": "A User credential that can be used to authenticate to Turnkey."
|
|
1654
1981
|
},
|
|
1655
1982
|
"apiKeyId": {
|
|
@@ -1661,10 +1988,10 @@
|
|
|
1661
1988
|
"description": "Human-readable name for an API Key."
|
|
1662
1989
|
},
|
|
1663
1990
|
"createdAt": {
|
|
1664
|
-
"$ref": "#/definitions/
|
|
1991
|
+
"$ref": "#/definitions/externaldatav1Timestamp"
|
|
1665
1992
|
},
|
|
1666
1993
|
"updatedAt": {
|
|
1667
|
-
"$ref": "#/definitions/
|
|
1994
|
+
"$ref": "#/definitions/externaldatav1Timestamp"
|
|
1668
1995
|
}
|
|
1669
1996
|
},
|
|
1670
1997
|
"required": [
|
|
@@ -1805,7 +2132,7 @@
|
|
|
1805
2132
|
"description": "The type of Authenticator device."
|
|
1806
2133
|
},
|
|
1807
2134
|
"credential": {
|
|
1808
|
-
"$ref": "#/definitions/
|
|
2135
|
+
"$ref": "#/definitions/externaldatav1Credential",
|
|
1809
2136
|
"description": "A User credential that can be used to authenticate to Turnkey."
|
|
1810
2137
|
},
|
|
1811
2138
|
"authenticatorId": {
|
|
@@ -1817,10 +2144,10 @@
|
|
|
1817
2144
|
"description": "Human-readable name for an Authenticator."
|
|
1818
2145
|
},
|
|
1819
2146
|
"createdAt": {
|
|
1820
|
-
"$ref": "#/definitions/
|
|
2147
|
+
"$ref": "#/definitions/externaldatav1Timestamp"
|
|
1821
2148
|
},
|
|
1822
2149
|
"updatedAt": {
|
|
1823
|
-
"$ref": "#/definitions/
|
|
2150
|
+
"$ref": "#/definitions/externaldatav1Timestamp"
|
|
1824
2151
|
}
|
|
1825
2152
|
},
|
|
1826
2153
|
"required": [
|
|
@@ -2644,34 +2971,122 @@
|
|
|
2644
2971
|
},
|
|
2645
2972
|
"required": ["userIds"]
|
|
2646
2973
|
},
|
|
2647
|
-
"
|
|
2974
|
+
"v1CreateWalletAccountsIntent": {
|
|
2648
2975
|
"type": "object",
|
|
2649
2976
|
"properties": {
|
|
2650
|
-
"
|
|
2651
|
-
"type": "
|
|
2977
|
+
"walletId": {
|
|
2978
|
+
"type": "string",
|
|
2979
|
+
"description": "Unique identifier for a given Wallet."
|
|
2980
|
+
},
|
|
2981
|
+
"accounts": {
|
|
2982
|
+
"type": "array",
|
|
2983
|
+
"items": {
|
|
2984
|
+
"type": "object",
|
|
2985
|
+
"$ref": "#/definitions/v1WalletAccountParams"
|
|
2986
|
+
},
|
|
2987
|
+
"description": "A list of wallet Accounts."
|
|
2652
2988
|
}
|
|
2653
2989
|
},
|
|
2654
|
-
"required": ["
|
|
2990
|
+
"required": ["walletId", "accounts"]
|
|
2655
2991
|
},
|
|
2656
|
-
"
|
|
2992
|
+
"v1CreateWalletAccountsRequest": {
|
|
2657
2993
|
"type": "object",
|
|
2658
2994
|
"properties": {
|
|
2659
|
-
"
|
|
2995
|
+
"type": {
|
|
2660
2996
|
"type": "string",
|
|
2661
|
-
"
|
|
2997
|
+
"enum": ["ACTIVITY_TYPE_CREATE_WALLET_ACCOUNTS"]
|
|
2662
2998
|
},
|
|
2999
|
+
"timestampMs": {
|
|
3000
|
+
"type": "string",
|
|
3001
|
+
"description": "Timestamp (in milliseconds) of the request, used to verify liveness of user requests."
|
|
3002
|
+
},
|
|
3003
|
+
"organizationId": {
|
|
3004
|
+
"type": "string",
|
|
3005
|
+
"description": "Unique identifier for a given Organization."
|
|
3006
|
+
},
|
|
3007
|
+
"parameters": {
|
|
3008
|
+
"$ref": "#/definitions/v1CreateWalletAccountsIntent"
|
|
3009
|
+
}
|
|
3010
|
+
},
|
|
3011
|
+
"required": ["type", "timestampMs", "organizationId", "parameters"]
|
|
3012
|
+
},
|
|
3013
|
+
"v1CreateWalletAccountsResult": {
|
|
3014
|
+
"type": "object",
|
|
3015
|
+
"properties": {
|
|
3016
|
+
"addresses": {
|
|
3017
|
+
"type": "array",
|
|
3018
|
+
"items": {
|
|
3019
|
+
"type": "string"
|
|
3020
|
+
},
|
|
3021
|
+
"description": "A list of derived addresses."
|
|
3022
|
+
}
|
|
3023
|
+
},
|
|
3024
|
+
"required": ["addresses"]
|
|
3025
|
+
},
|
|
3026
|
+
"v1CreateWalletIntent": {
|
|
3027
|
+
"type": "object",
|
|
3028
|
+
"properties": {
|
|
3029
|
+
"walletName": {
|
|
3030
|
+
"type": "string",
|
|
3031
|
+
"description": "Human-readable name for a Wallet."
|
|
3032
|
+
},
|
|
3033
|
+
"accounts": {
|
|
3034
|
+
"type": "array",
|
|
3035
|
+
"items": {
|
|
3036
|
+
"type": "object",
|
|
3037
|
+
"$ref": "#/definitions/v1WalletAccountParams"
|
|
3038
|
+
},
|
|
3039
|
+
"description": "A list of wallet Accounts."
|
|
3040
|
+
}
|
|
3041
|
+
},
|
|
3042
|
+
"required": ["walletName", "accounts"]
|
|
3043
|
+
},
|
|
3044
|
+
"v1CreateWalletRequest": {
|
|
3045
|
+
"type": "object",
|
|
3046
|
+
"properties": {
|
|
2663
3047
|
"type": {
|
|
2664
|
-
"
|
|
3048
|
+
"type": "string",
|
|
3049
|
+
"enum": ["ACTIVITY_TYPE_CREATE_WALLET"]
|
|
3050
|
+
},
|
|
3051
|
+
"timestampMs": {
|
|
3052
|
+
"type": "string",
|
|
3053
|
+
"description": "Timestamp (in milliseconds) of the request, used to verify liveness of user requests."
|
|
3054
|
+
},
|
|
3055
|
+
"organizationId": {
|
|
3056
|
+
"type": "string",
|
|
3057
|
+
"description": "Unique identifier for a given Organization."
|
|
3058
|
+
},
|
|
3059
|
+
"parameters": {
|
|
3060
|
+
"$ref": "#/definitions/v1CreateWalletIntent"
|
|
2665
3061
|
}
|
|
2666
3062
|
},
|
|
2667
|
-
"required": ["
|
|
3063
|
+
"required": ["type", "timestampMs", "organizationId", "parameters"]
|
|
2668
3064
|
},
|
|
2669
|
-
"
|
|
2670
|
-
"type": "
|
|
2671
|
-
"
|
|
2672
|
-
"
|
|
2673
|
-
|
|
2674
|
-
|
|
3065
|
+
"v1CreateWalletResult": {
|
|
3066
|
+
"type": "object",
|
|
3067
|
+
"properties": {
|
|
3068
|
+
"walletId": {
|
|
3069
|
+
"type": "string",
|
|
3070
|
+
"description": "A list of Wallet IDs."
|
|
3071
|
+
},
|
|
3072
|
+
"addresses": {
|
|
3073
|
+
"type": "array",
|
|
3074
|
+
"items": {
|
|
3075
|
+
"type": "string"
|
|
3076
|
+
},
|
|
3077
|
+
"description": "A list of account addresses."
|
|
3078
|
+
}
|
|
3079
|
+
},
|
|
3080
|
+
"required": ["walletId", "addresses"]
|
|
3081
|
+
},
|
|
3082
|
+
"v1CredPropsAuthenticationExtensionsClientOutputs": {
|
|
3083
|
+
"type": "object",
|
|
3084
|
+
"properties": {
|
|
3085
|
+
"rk": {
|
|
3086
|
+
"type": "boolean"
|
|
3087
|
+
}
|
|
3088
|
+
},
|
|
3089
|
+
"required": ["rk"]
|
|
2675
3090
|
},
|
|
2676
3091
|
"v1DeleteApiKeysIntent": {
|
|
2677
3092
|
"type": "object",
|
|
@@ -2987,27 +3402,91 @@
|
|
|
2987
3402
|
"description": "A list of User IDs."
|
|
2988
3403
|
}
|
|
2989
3404
|
},
|
|
2990
|
-
"required": ["userIds"]
|
|
3405
|
+
"required": ["userIds"]
|
|
3406
|
+
},
|
|
3407
|
+
"v1DisablePrivateKeyIntent": {
|
|
3408
|
+
"type": "object",
|
|
3409
|
+
"properties": {
|
|
3410
|
+
"privateKeyId": {
|
|
3411
|
+
"type": "string",
|
|
3412
|
+
"description": "Unique identifier for a given Private Key."
|
|
3413
|
+
}
|
|
3414
|
+
},
|
|
3415
|
+
"required": ["privateKeyId"]
|
|
3416
|
+
},
|
|
3417
|
+
"v1DisablePrivateKeyResult": {
|
|
3418
|
+
"type": "object",
|
|
3419
|
+
"properties": {
|
|
3420
|
+
"privateKeyId": {
|
|
3421
|
+
"type": "string",
|
|
3422
|
+
"description": "Unique identifier for a given Private Key."
|
|
3423
|
+
}
|
|
3424
|
+
},
|
|
3425
|
+
"required": ["privateKeyId"]
|
|
3426
|
+
},
|
|
3427
|
+
"v1ExportPrivateKeyIntent": {
|
|
3428
|
+
"type": "object",
|
|
3429
|
+
"properties": {
|
|
3430
|
+
"privateKeyId": {
|
|
3431
|
+
"type": "string",
|
|
3432
|
+
"description": "Unique identifier for a given Private Key."
|
|
3433
|
+
},
|
|
3434
|
+
"targetPublicKey": {
|
|
3435
|
+
"type": "string",
|
|
3436
|
+
"description": "Client-side public key generated by the user, to which the export bundle will be encrypted."
|
|
3437
|
+
}
|
|
3438
|
+
},
|
|
3439
|
+
"required": ["privateKeyId", "targetPublicKey"]
|
|
3440
|
+
},
|
|
3441
|
+
"v1ExportPrivateKeyRequest": {
|
|
3442
|
+
"type": "object",
|
|
3443
|
+
"properties": {
|
|
3444
|
+
"type": {
|
|
3445
|
+
"type": "string",
|
|
3446
|
+
"enum": ["ACTIVITY_TYPE_EXPORT_PRIVATE_KEY"]
|
|
3447
|
+
},
|
|
3448
|
+
"timestampMs": {
|
|
3449
|
+
"type": "string",
|
|
3450
|
+
"description": "Timestamp (in milliseconds) of the request, used to verify liveness of user requests."
|
|
3451
|
+
},
|
|
3452
|
+
"organizationId": {
|
|
3453
|
+
"type": "string",
|
|
3454
|
+
"description": "Unique identifier for a given Organization."
|
|
3455
|
+
},
|
|
3456
|
+
"parameters": {
|
|
3457
|
+
"$ref": "#/definitions/v1ExportPrivateKeyIntent"
|
|
3458
|
+
}
|
|
3459
|
+
},
|
|
3460
|
+
"required": ["type", "timestampMs", "organizationId", "parameters"]
|
|
2991
3461
|
},
|
|
2992
|
-
"
|
|
3462
|
+
"v1ExportPrivateKeyResult": {
|
|
2993
3463
|
"type": "object",
|
|
2994
3464
|
"properties": {
|
|
2995
3465
|
"privateKeyId": {
|
|
2996
3466
|
"type": "string",
|
|
2997
3467
|
"description": "Unique identifier for a given Private Key."
|
|
3468
|
+
},
|
|
3469
|
+
"exportBundle": {
|
|
3470
|
+
"type": "string",
|
|
3471
|
+
"description": "Export bundle containing a private key encrypted to the client's target public key."
|
|
2998
3472
|
}
|
|
2999
3473
|
},
|
|
3000
|
-
"required": ["privateKeyId"]
|
|
3474
|
+
"required": ["privateKeyId", "exportBundle"]
|
|
3001
3475
|
},
|
|
3002
|
-
"
|
|
3476
|
+
"v1Feature": {
|
|
3003
3477
|
"type": "object",
|
|
3004
3478
|
"properties": {
|
|
3005
|
-
"
|
|
3006
|
-
"
|
|
3007
|
-
|
|
3479
|
+
"name": {
|
|
3480
|
+
"$ref": "#/definitions/v1FeatureName"
|
|
3481
|
+
},
|
|
3482
|
+
"value": {
|
|
3483
|
+
"type": "string"
|
|
3008
3484
|
}
|
|
3009
|
-
}
|
|
3010
|
-
|
|
3485
|
+
}
|
|
3486
|
+
},
|
|
3487
|
+
"v1FeatureName": {
|
|
3488
|
+
"type": "string",
|
|
3489
|
+
"enum": ["FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY"]
|
|
3011
3490
|
},
|
|
3012
3491
|
"v1GetActivitiesRequest": {
|
|
3013
3492
|
"type": "object",
|
|
@@ -3313,14 +3792,50 @@
|
|
|
3313
3792
|
},
|
|
3314
3793
|
"required": ["organizationId", "organizationName", "userId", "username"]
|
|
3315
3794
|
},
|
|
3316
|
-
"
|
|
3317
|
-
"type": "
|
|
3318
|
-
"
|
|
3319
|
-
"
|
|
3320
|
-
|
|
3321
|
-
|
|
3322
|
-
|
|
3323
|
-
|
|
3795
|
+
"v1InitUserEmailRecoveryIntent": {
|
|
3796
|
+
"type": "object",
|
|
3797
|
+
"properties": {
|
|
3798
|
+
"email": {
|
|
3799
|
+
"type": "string",
|
|
3800
|
+
"description": "Email of the user starting recovery"
|
|
3801
|
+
},
|
|
3802
|
+
"targetPublicKey": {
|
|
3803
|
+
"type": "string",
|
|
3804
|
+
"description": "Client-side public key generated by the user, to which the recovery bundle will be encrypted."
|
|
3805
|
+
}
|
|
3806
|
+
},
|
|
3807
|
+
"required": ["email", "targetPublicKey"]
|
|
3808
|
+
},
|
|
3809
|
+
"v1InitUserEmailRecoveryRequest": {
|
|
3810
|
+
"type": "object",
|
|
3811
|
+
"properties": {
|
|
3812
|
+
"type": {
|
|
3813
|
+
"type": "string",
|
|
3814
|
+
"enum": ["ACTIVITY_TYPE_INIT_USER_EMAIL_RECOVERY"]
|
|
3815
|
+
},
|
|
3816
|
+
"timestampMs": {
|
|
3817
|
+
"type": "string",
|
|
3818
|
+
"description": "Timestamp (in milliseconds) of the request, used to verify liveness of user requests."
|
|
3819
|
+
},
|
|
3820
|
+
"organizationId": {
|
|
3821
|
+
"type": "string",
|
|
3822
|
+
"description": "Unique identifier for a given Organization."
|
|
3823
|
+
},
|
|
3824
|
+
"parameters": {
|
|
3825
|
+
"$ref": "#/definitions/v1InitUserEmailRecoveryIntent"
|
|
3826
|
+
}
|
|
3827
|
+
},
|
|
3828
|
+
"required": ["type", "timestampMs", "organizationId", "parameters"]
|
|
3829
|
+
},
|
|
3830
|
+
"v1InitUserEmailRecoveryResult": {
|
|
3831
|
+
"type": "object",
|
|
3832
|
+
"properties": {
|
|
3833
|
+
"userId": {
|
|
3834
|
+
"type": "string",
|
|
3835
|
+
"description": "Unique identifier for the user being recovered."
|
|
3836
|
+
}
|
|
3837
|
+
},
|
|
3838
|
+
"required": ["userId"]
|
|
3324
3839
|
},
|
|
3325
3840
|
"v1Intent": {
|
|
3326
3841
|
"type": "object",
|
|
@@ -3456,6 +3971,33 @@
|
|
|
3456
3971
|
},
|
|
3457
3972
|
"createSubOrganizationIntentV3": {
|
|
3458
3973
|
"$ref": "#/definitions/v1CreateSubOrganizationIntentV3"
|
|
3974
|
+
},
|
|
3975
|
+
"createWalletIntent": {
|
|
3976
|
+
"$ref": "#/definitions/v1CreateWalletIntent"
|
|
3977
|
+
},
|
|
3978
|
+
"createWalletAccountsIntent": {
|
|
3979
|
+
"$ref": "#/definitions/v1CreateWalletAccountsIntent"
|
|
3980
|
+
},
|
|
3981
|
+
"initUserEmailRecoveryIntent": {
|
|
3982
|
+
"$ref": "#/definitions/v1InitUserEmailRecoveryIntent"
|
|
3983
|
+
},
|
|
3984
|
+
"recoverUserIntent": {
|
|
3985
|
+
"$ref": "#/definitions/v1RecoverUserIntent"
|
|
3986
|
+
},
|
|
3987
|
+
"setOrganizationFeatureIntent": {
|
|
3988
|
+
"$ref": "#/definitions/v1SetOrganizationFeatureIntent"
|
|
3989
|
+
},
|
|
3990
|
+
"removeOrganizationFeatureIntent": {
|
|
3991
|
+
"$ref": "#/definitions/v1RemoveOrganizationFeatureIntent"
|
|
3992
|
+
},
|
|
3993
|
+
"signRawPayloadIntentV2": {
|
|
3994
|
+
"$ref": "#/definitions/v1SignRawPayloadIntentV2"
|
|
3995
|
+
},
|
|
3996
|
+
"signTransactionIntentV2": {
|
|
3997
|
+
"$ref": "#/definitions/v1SignTransactionIntentV2"
|
|
3998
|
+
},
|
|
3999
|
+
"exportPrivateKeyIntent": {
|
|
4000
|
+
"$ref": "#/definitions/v1ExportPrivateKeyIntent"
|
|
3459
4001
|
}
|
|
3460
4002
|
},
|
|
3461
4003
|
"required": ["createOrganizationIntent"]
|
|
@@ -3491,10 +4033,10 @@
|
|
|
3491
4033
|
"description": "The current processing status of a specified Invitation."
|
|
3492
4034
|
},
|
|
3493
4035
|
"createdAt": {
|
|
3494
|
-
"$ref": "#/definitions/
|
|
4036
|
+
"$ref": "#/definitions/externaldatav1Timestamp"
|
|
3495
4037
|
},
|
|
3496
4038
|
"updatedAt": {
|
|
3497
|
-
"$ref": "#/definitions/
|
|
4039
|
+
"$ref": "#/definitions/externaldatav1Timestamp"
|
|
3498
4040
|
},
|
|
3499
4041
|
"senderUserId": {
|
|
3500
4042
|
"type": "string",
|
|
@@ -3617,13 +4159,20 @@
|
|
|
3617
4159
|
}
|
|
3618
4160
|
},
|
|
3619
4161
|
"rootQuorum": {
|
|
3620
|
-
"$ref": "#/definitions/
|
|
4162
|
+
"$ref": "#/definitions/externaldatav1Quorum"
|
|
3621
4163
|
},
|
|
3622
4164
|
"allowedOrigins": {
|
|
3623
4165
|
"type": "array",
|
|
3624
4166
|
"items": {
|
|
3625
4167
|
"type": "string"
|
|
3626
4168
|
}
|
|
4169
|
+
},
|
|
4170
|
+
"features": {
|
|
4171
|
+
"type": "array",
|
|
4172
|
+
"items": {
|
|
4173
|
+
"type": "object",
|
|
4174
|
+
"$ref": "#/definitions/v1Feature"
|
|
4175
|
+
}
|
|
3627
4176
|
}
|
|
3628
4177
|
}
|
|
3629
4178
|
},
|
|
@@ -3644,9 +4193,9 @@
|
|
|
3644
4193
|
}
|
|
3645
4194
|
}
|
|
3646
4195
|
},
|
|
3647
|
-
"
|
|
4196
|
+
"v1PathFormat": {
|
|
3648
4197
|
"type": "string",
|
|
3649
|
-
"enum": ["
|
|
4198
|
+
"enum": ["PATH_FORMAT_BIP32"]
|
|
3650
4199
|
},
|
|
3651
4200
|
"v1Policy": {
|
|
3652
4201
|
"type": "object",
|
|
@@ -3672,10 +4221,10 @@
|
|
|
3672
4221
|
"description": "A list of simple functions each including a subject, target and boolean. See Policy Engine Language section for additional details."
|
|
3673
4222
|
},
|
|
3674
4223
|
"createdAt": {
|
|
3675
|
-
"$ref": "#/definitions/
|
|
4224
|
+
"$ref": "#/definitions/externaldatav1Timestamp"
|
|
3676
4225
|
},
|
|
3677
4226
|
"updatedAt": {
|
|
3678
|
-
"$ref": "#/definitions/
|
|
4227
|
+
"$ref": "#/definitions/externaldatav1Timestamp"
|
|
3679
4228
|
},
|
|
3680
4229
|
"notes": {
|
|
3681
4230
|
"type": "string",
|
|
@@ -3737,7 +4286,7 @@
|
|
|
3737
4286
|
"description": "A list of Private Key Tag IDs."
|
|
3738
4287
|
},
|
|
3739
4288
|
"createdAt": {
|
|
3740
|
-
"$ref": "#/definitions/
|
|
4289
|
+
"$ref": "#/definitions/externaldatav1Timestamp"
|
|
3741
4290
|
}
|
|
3742
4291
|
},
|
|
3743
4292
|
"required": [
|
|
@@ -3758,7 +4307,7 @@
|
|
|
3758
4307
|
"description": "Human-readable name for a Private Key."
|
|
3759
4308
|
},
|
|
3760
4309
|
"curve": {
|
|
3761
|
-
"$ref": "#/definitions/
|
|
4310
|
+
"$ref": "#/definitions/immutablecommonv1Curve",
|
|
3762
4311
|
"description": "Cryptographic Curve used to generate a given Private Key."
|
|
3763
4312
|
},
|
|
3764
4313
|
"privateKeyTags": {
|
|
@@ -3771,7 +4320,7 @@
|
|
|
3771
4320
|
"addressFormats": {
|
|
3772
4321
|
"type": "array",
|
|
3773
4322
|
"items": {
|
|
3774
|
-
"$ref": "#/definitions/
|
|
4323
|
+
"$ref": "#/definitions/immutablecommonv1AddressFormat"
|
|
3775
4324
|
},
|
|
3776
4325
|
"description": "Cryptocurrency-specific formats for a derived address (e.g., Ethereum)."
|
|
3777
4326
|
}
|
|
@@ -3825,23 +4374,32 @@
|
|
|
3825
4374
|
},
|
|
3826
4375
|
"required": ["id", "type", "rawId", "response", "clientExtensionResults"]
|
|
3827
4376
|
},
|
|
3828
|
-
"
|
|
4377
|
+
"v1RecoverUserIntent": {
|
|
3829
4378
|
"type": "object",
|
|
3830
4379
|
"properties": {
|
|
3831
|
-
"
|
|
3832
|
-
"
|
|
3833
|
-
"
|
|
3834
|
-
"description": "Count of unique approvals required to meet quorum."
|
|
4380
|
+
"authenticator": {
|
|
4381
|
+
"$ref": "#/definitions/v1AuthenticatorParamsV2",
|
|
4382
|
+
"description": "The new authenticator to register."
|
|
3835
4383
|
},
|
|
3836
|
-
"
|
|
4384
|
+
"userId": {
|
|
4385
|
+
"type": "string",
|
|
4386
|
+
"description": "Unique identifier for the user performing recovery."
|
|
4387
|
+
}
|
|
4388
|
+
},
|
|
4389
|
+
"required": ["authenticator", "userId"]
|
|
4390
|
+
},
|
|
4391
|
+
"v1RecoverUserResult": {
|
|
4392
|
+
"type": "object",
|
|
4393
|
+
"properties": {
|
|
4394
|
+
"authenticatorId": {
|
|
3837
4395
|
"type": "array",
|
|
3838
4396
|
"items": {
|
|
3839
4397
|
"type": "string"
|
|
3840
4398
|
},
|
|
3841
|
-
"description": "
|
|
4399
|
+
"description": "ID of the authenticator created."
|
|
3842
4400
|
}
|
|
3843
4401
|
},
|
|
3844
|
-
"required": ["
|
|
4402
|
+
"required": ["authenticatorId"]
|
|
3845
4403
|
},
|
|
3846
4404
|
"v1RejectActivityIntent": {
|
|
3847
4405
|
"type": "object",
|
|
@@ -3874,6 +4432,51 @@
|
|
|
3874
4432
|
},
|
|
3875
4433
|
"required": ["type", "timestampMs", "organizationId", "parameters"]
|
|
3876
4434
|
},
|
|
4435
|
+
"v1RemoveOrganizationFeatureIntent": {
|
|
4436
|
+
"type": "object",
|
|
4437
|
+
"properties": {
|
|
4438
|
+
"name": {
|
|
4439
|
+
"$ref": "#/definitions/v1FeatureName",
|
|
4440
|
+
"description": "Name of the feature to remove"
|
|
4441
|
+
}
|
|
4442
|
+
},
|
|
4443
|
+
"required": ["name"]
|
|
4444
|
+
},
|
|
4445
|
+
"v1RemoveOrganizationFeatureRequest": {
|
|
4446
|
+
"type": "object",
|
|
4447
|
+
"properties": {
|
|
4448
|
+
"type": {
|
|
4449
|
+
"type": "string",
|
|
4450
|
+
"enum": ["ACTIVITY_TYPE_REMOVE_ORGANIZATION_FEATURE"]
|
|
4451
|
+
},
|
|
4452
|
+
"timestampMs": {
|
|
4453
|
+
"type": "string",
|
|
4454
|
+
"description": "Timestamp (in milliseconds) of the request, used to verify liveness of user requests."
|
|
4455
|
+
},
|
|
4456
|
+
"organizationId": {
|
|
4457
|
+
"type": "string",
|
|
4458
|
+
"description": "Unique identifier for a given Organization."
|
|
4459
|
+
},
|
|
4460
|
+
"parameters": {
|
|
4461
|
+
"$ref": "#/definitions/v1RemoveOrganizationFeatureIntent"
|
|
4462
|
+
}
|
|
4463
|
+
},
|
|
4464
|
+
"required": ["type", "timestampMs", "organizationId", "parameters"]
|
|
4465
|
+
},
|
|
4466
|
+
"v1RemoveOrganizationFeatureResult": {
|
|
4467
|
+
"type": "object",
|
|
4468
|
+
"properties": {
|
|
4469
|
+
"features": {
|
|
4470
|
+
"type": "array",
|
|
4471
|
+
"items": {
|
|
4472
|
+
"type": "object",
|
|
4473
|
+
"$ref": "#/definitions/v1Feature"
|
|
4474
|
+
},
|
|
4475
|
+
"description": "Resulting list of organization features."
|
|
4476
|
+
}
|
|
4477
|
+
},
|
|
4478
|
+
"required": ["features"]
|
|
4479
|
+
},
|
|
3877
4480
|
"v1Result": {
|
|
3878
4481
|
"type": "object",
|
|
3879
4482
|
"properties": {
|
|
@@ -3978,6 +4581,27 @@
|
|
|
3978
4581
|
},
|
|
3979
4582
|
"createSubOrganizationResultV3": {
|
|
3980
4583
|
"$ref": "#/definitions/v1CreateSubOrganizationResultV3"
|
|
4584
|
+
},
|
|
4585
|
+
"createWalletResult": {
|
|
4586
|
+
"$ref": "#/definitions/v1CreateWalletResult"
|
|
4587
|
+
},
|
|
4588
|
+
"createWalletAccountsResult": {
|
|
4589
|
+
"$ref": "#/definitions/v1CreateWalletAccountsResult"
|
|
4590
|
+
},
|
|
4591
|
+
"initUserEmailRecoveryResult": {
|
|
4592
|
+
"$ref": "#/definitions/v1InitUserEmailRecoveryResult"
|
|
4593
|
+
},
|
|
4594
|
+
"recoverUserResult": {
|
|
4595
|
+
"$ref": "#/definitions/v1RecoverUserResult"
|
|
4596
|
+
},
|
|
4597
|
+
"setOrganizationFeatureResult": {
|
|
4598
|
+
"$ref": "#/definitions/v1SetOrganizationFeatureResult"
|
|
4599
|
+
},
|
|
4600
|
+
"removeOrganizationFeatureResult": {
|
|
4601
|
+
"$ref": "#/definitions/v1RemoveOrganizationFeatureResult"
|
|
4602
|
+
},
|
|
4603
|
+
"exportPrivateKeyResult": {
|
|
4604
|
+
"$ref": "#/definitions/v1ExportPrivateKeyResult"
|
|
3981
4605
|
}
|
|
3982
4606
|
}
|
|
3983
4607
|
},
|
|
@@ -4028,6 +4652,55 @@
|
|
|
4028
4652
|
}
|
|
4029
4653
|
}
|
|
4030
4654
|
},
|
|
4655
|
+
"v1SetOrganizationFeatureIntent": {
|
|
4656
|
+
"type": "object",
|
|
4657
|
+
"properties": {
|
|
4658
|
+
"name": {
|
|
4659
|
+
"$ref": "#/definitions/v1FeatureName",
|
|
4660
|
+
"description": "Name of the feature to set"
|
|
4661
|
+
},
|
|
4662
|
+
"value": {
|
|
4663
|
+
"type": "string",
|
|
4664
|
+
"description": "Optional value for the feature. Will override existing values if feature is already set."
|
|
4665
|
+
}
|
|
4666
|
+
},
|
|
4667
|
+
"required": ["name", "value"]
|
|
4668
|
+
},
|
|
4669
|
+
"v1SetOrganizationFeatureRequest": {
|
|
4670
|
+
"type": "object",
|
|
4671
|
+
"properties": {
|
|
4672
|
+
"type": {
|
|
4673
|
+
"type": "string",
|
|
4674
|
+
"enum": ["ACTIVITY_TYPE_SET_ORGANIZATION_FEATURE"]
|
|
4675
|
+
},
|
|
4676
|
+
"timestampMs": {
|
|
4677
|
+
"type": "string",
|
|
4678
|
+
"description": "Timestamp (in milliseconds) of the request, used to verify liveness of user requests."
|
|
4679
|
+
},
|
|
4680
|
+
"organizationId": {
|
|
4681
|
+
"type": "string",
|
|
4682
|
+
"description": "Unique identifier for a given Organization."
|
|
4683
|
+
},
|
|
4684
|
+
"parameters": {
|
|
4685
|
+
"$ref": "#/definitions/v1SetOrganizationFeatureIntent"
|
|
4686
|
+
}
|
|
4687
|
+
},
|
|
4688
|
+
"required": ["type", "timestampMs", "organizationId", "parameters"]
|
|
4689
|
+
},
|
|
4690
|
+
"v1SetOrganizationFeatureResult": {
|
|
4691
|
+
"type": "object",
|
|
4692
|
+
"properties": {
|
|
4693
|
+
"features": {
|
|
4694
|
+
"type": "array",
|
|
4695
|
+
"items": {
|
|
4696
|
+
"type": "object",
|
|
4697
|
+
"$ref": "#/definitions/v1Feature"
|
|
4698
|
+
},
|
|
4699
|
+
"description": "Resulting list of organization features."
|
|
4700
|
+
}
|
|
4701
|
+
},
|
|
4702
|
+
"required": ["features"]
|
|
4703
|
+
},
|
|
4031
4704
|
"v1SetPaymentMethodIntent": {
|
|
4032
4705
|
"type": "object",
|
|
4033
4706
|
"properties": {
|
|
@@ -4113,16 +4786,38 @@
|
|
|
4113
4786
|
"description": "Raw unsigned payload to be signed."
|
|
4114
4787
|
},
|
|
4115
4788
|
"encoding": {
|
|
4116
|
-
"$ref": "#/definitions/
|
|
4789
|
+
"$ref": "#/definitions/immutableactivityv1PayloadEncoding",
|
|
4117
4790
|
"description": "Encoding of the `payload` string. Turnkey uses this information to convert `payload` into bytes with the correct decoder (e.g. hex, utf8)."
|
|
4118
4791
|
},
|
|
4119
4792
|
"hashFunction": {
|
|
4120
|
-
"$ref": "#/definitions/
|
|
4793
|
+
"$ref": "#/definitions/immutableactivityv1HashFunction",
|
|
4121
4794
|
"description": "Hash function to apply to payload bytes before signing. This field must be set to HASH_FUNCTION_NOT_APPLICABLE for EdDSA/ed25519 signature requests; configurable payload hashing is not supported by RFC 8032."
|
|
4122
4795
|
}
|
|
4123
4796
|
},
|
|
4124
4797
|
"required": ["privateKeyId", "payload", "encoding", "hashFunction"]
|
|
4125
4798
|
},
|
|
4799
|
+
"v1SignRawPayloadIntentV2": {
|
|
4800
|
+
"type": "object",
|
|
4801
|
+
"properties": {
|
|
4802
|
+
"signWith": {
|
|
4803
|
+
"type": "string",
|
|
4804
|
+
"description": "The Private Key identifier or address."
|
|
4805
|
+
},
|
|
4806
|
+
"payload": {
|
|
4807
|
+
"type": "string",
|
|
4808
|
+
"description": "Raw unsigned payload to be signed."
|
|
4809
|
+
},
|
|
4810
|
+
"encoding": {
|
|
4811
|
+
"$ref": "#/definitions/immutableactivityv1PayloadEncoding",
|
|
4812
|
+
"description": "Encoding of the `payload` string. Turnkey uses this information to convert `payload` into bytes with the correct decoder (e.g. hex, utf8)."
|
|
4813
|
+
},
|
|
4814
|
+
"hashFunction": {
|
|
4815
|
+
"$ref": "#/definitions/immutableactivityv1HashFunction",
|
|
4816
|
+
"description": "Hash function to apply to payload bytes before signing. This field must be set to HASH_FUNCTION_NOT_APPLICABLE for EdDSA/ed25519 signature requests; configurable payload hashing is not supported by RFC 8032."
|
|
4817
|
+
}
|
|
4818
|
+
},
|
|
4819
|
+
"required": ["signWith", "payload", "encoding", "hashFunction"]
|
|
4820
|
+
},
|
|
4126
4821
|
"v1SignRawPayloadRequest": {
|
|
4127
4822
|
"type": "object",
|
|
4128
4823
|
"properties": {
|
|
@@ -4162,6 +4857,27 @@
|
|
|
4162
4857
|
},
|
|
4163
4858
|
"required": ["r", "s", "v"]
|
|
4164
4859
|
},
|
|
4860
|
+
"v1SignRawPayloadV2Request": {
|
|
4861
|
+
"type": "object",
|
|
4862
|
+
"properties": {
|
|
4863
|
+
"type": {
|
|
4864
|
+
"type": "string",
|
|
4865
|
+
"enum": ["ACTIVITY_TYPE_SIGN_RAW_PAYLOAD_V2"]
|
|
4866
|
+
},
|
|
4867
|
+
"timestampMs": {
|
|
4868
|
+
"type": "string",
|
|
4869
|
+
"description": "Timestamp (in milliseconds) of the request, used to verify liveness of user requests."
|
|
4870
|
+
},
|
|
4871
|
+
"organizationId": {
|
|
4872
|
+
"type": "string",
|
|
4873
|
+
"description": "Unique identifier for a given Organization."
|
|
4874
|
+
},
|
|
4875
|
+
"parameters": {
|
|
4876
|
+
"$ref": "#/definitions/v1SignRawPayloadIntentV2"
|
|
4877
|
+
}
|
|
4878
|
+
},
|
|
4879
|
+
"required": ["type", "timestampMs", "organizationId", "parameters"]
|
|
4880
|
+
},
|
|
4165
4881
|
"v1SignTransactionIntent": {
|
|
4166
4882
|
"type": "object",
|
|
4167
4883
|
"properties": {
|
|
@@ -4174,11 +4890,28 @@
|
|
|
4174
4890
|
"description": "Raw unsigned transaction to be signed by a particular Private Key."
|
|
4175
4891
|
},
|
|
4176
4892
|
"type": {
|
|
4177
|
-
"$ref": "#/definitions/
|
|
4893
|
+
"$ref": "#/definitions/v1TransactionType"
|
|
4178
4894
|
}
|
|
4179
4895
|
},
|
|
4180
4896
|
"required": ["privateKeyId", "unsignedTransaction", "type"]
|
|
4181
4897
|
},
|
|
4898
|
+
"v1SignTransactionIntentV2": {
|
|
4899
|
+
"type": "object",
|
|
4900
|
+
"properties": {
|
|
4901
|
+
"signWith": {
|
|
4902
|
+
"type": "string",
|
|
4903
|
+
"description": "The Private Key identifier or address."
|
|
4904
|
+
},
|
|
4905
|
+
"unsignedTransaction": {
|
|
4906
|
+
"type": "string",
|
|
4907
|
+
"description": "Raw unsigned transaction to be signed"
|
|
4908
|
+
},
|
|
4909
|
+
"type": {
|
|
4910
|
+
"$ref": "#/definitions/v1TransactionType"
|
|
4911
|
+
}
|
|
4912
|
+
},
|
|
4913
|
+
"required": ["signWith", "unsignedTransaction", "type"]
|
|
4914
|
+
},
|
|
4182
4915
|
"v1SignTransactionRequest": {
|
|
4183
4916
|
"type": "object",
|
|
4184
4917
|
"properties": {
|
|
@@ -4209,6 +4942,27 @@
|
|
|
4209
4942
|
},
|
|
4210
4943
|
"required": ["signedTransaction"]
|
|
4211
4944
|
},
|
|
4945
|
+
"v1SignTransactionV2Request": {
|
|
4946
|
+
"type": "object",
|
|
4947
|
+
"properties": {
|
|
4948
|
+
"type": {
|
|
4949
|
+
"type": "string",
|
|
4950
|
+
"enum": ["ACTIVITY_TYPE_SIGN_TRANSACTION_V2"]
|
|
4951
|
+
},
|
|
4952
|
+
"timestampMs": {
|
|
4953
|
+
"type": "string",
|
|
4954
|
+
"description": "Timestamp (in milliseconds) of the request, used to verify liveness of user requests."
|
|
4955
|
+
},
|
|
4956
|
+
"organizationId": {
|
|
4957
|
+
"type": "string",
|
|
4958
|
+
"description": "Unique identifier for a given Organization."
|
|
4959
|
+
},
|
|
4960
|
+
"parameters": {
|
|
4961
|
+
"$ref": "#/definitions/v1SignTransactionIntentV2"
|
|
4962
|
+
}
|
|
4963
|
+
},
|
|
4964
|
+
"required": ["type", "timestampMs", "organizationId", "parameters"]
|
|
4965
|
+
},
|
|
4212
4966
|
"v1SimpleClientExtensionResults": {
|
|
4213
4967
|
"type": "object",
|
|
4214
4968
|
"properties": {
|
|
@@ -4227,17 +4981,9 @@
|
|
|
4227
4981
|
"type": "string",
|
|
4228
4982
|
"enum": ["TAG_TYPE_USER", "TAG_TYPE_PRIVATE_KEY"]
|
|
4229
4983
|
},
|
|
4230
|
-
"
|
|
4231
|
-
"type": "
|
|
4232
|
-
"
|
|
4233
|
-
"seconds": {
|
|
4234
|
-
"type": "string"
|
|
4235
|
-
},
|
|
4236
|
-
"nanos": {
|
|
4237
|
-
"type": "string"
|
|
4238
|
-
}
|
|
4239
|
-
},
|
|
4240
|
-
"required": ["seconds", "nanos"]
|
|
4984
|
+
"v1TransactionType": {
|
|
4985
|
+
"type": "string",
|
|
4986
|
+
"enum": ["TRANSACTION_TYPE_ETHEREUM"]
|
|
4241
4987
|
},
|
|
4242
4988
|
"v1UpdateAllowedOriginsIntent": {
|
|
4243
4989
|
"type": "object",
|
|
@@ -4596,10 +5342,10 @@
|
|
|
4596
5342
|
"description": "A list of User Tag IDs."
|
|
4597
5343
|
},
|
|
4598
5344
|
"createdAt": {
|
|
4599
|
-
"$ref": "#/definitions/
|
|
5345
|
+
"$ref": "#/definitions/externaldatav1Timestamp"
|
|
4600
5346
|
},
|
|
4601
5347
|
"updatedAt": {
|
|
4602
|
-
"$ref": "#/definitions/
|
|
5348
|
+
"$ref": "#/definitions/externaldatav1Timestamp"
|
|
4603
5349
|
}
|
|
4604
5350
|
},
|
|
4605
5351
|
"required": [
|
|
@@ -4747,7 +5493,7 @@
|
|
|
4747
5493
|
"description": "Method used to produce a signature."
|
|
4748
5494
|
},
|
|
4749
5495
|
"createdAt": {
|
|
4750
|
-
"$ref": "#/definitions/
|
|
5496
|
+
"$ref": "#/definitions/externaldatav1Timestamp"
|
|
4751
5497
|
}
|
|
4752
5498
|
},
|
|
4753
5499
|
"required": [
|
|
@@ -4763,6 +5509,28 @@
|
|
|
4763
5509
|
"createdAt"
|
|
4764
5510
|
]
|
|
4765
5511
|
},
|
|
5512
|
+
"v1WalletAccountParams": {
|
|
5513
|
+
"type": "object",
|
|
5514
|
+
"properties": {
|
|
5515
|
+
"curve": {
|
|
5516
|
+
"$ref": "#/definitions/immutablecommonv1Curve",
|
|
5517
|
+
"description": "Cryptographic curve used to generate a wallet Account."
|
|
5518
|
+
},
|
|
5519
|
+
"pathFormat": {
|
|
5520
|
+
"$ref": "#/definitions/v1PathFormat",
|
|
5521
|
+
"description": "Path format used to generate a wallet Account."
|
|
5522
|
+
},
|
|
5523
|
+
"path": {
|
|
5524
|
+
"type": "string",
|
|
5525
|
+
"description": "Path used to generate a wallet Account."
|
|
5526
|
+
},
|
|
5527
|
+
"addressFormat": {
|
|
5528
|
+
"$ref": "#/definitions/immutablecommonv1AddressFormat",
|
|
5529
|
+
"description": "Address format used to generate a wallet Acccount."
|
|
5530
|
+
}
|
|
5531
|
+
},
|
|
5532
|
+
"required": ["curve", "pathFormat", "path", "addressFormat"]
|
|
5533
|
+
},
|
|
4766
5534
|
"v1WebAuthnStamp": {
|
|
4767
5535
|
"type": "object",
|
|
4768
5536
|
"properties": {
|