@turnkey/http 1.3.0 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -22,9 +22,17 @@
22
22
  "name": "Policies",
23
23
  "description": "Policies allow for deep customization of the security of your Organization. They can be used to grant permissions or restrict usage of Users and Private Keys. The Policy Engine analyzes all of your Policies on each request to determine whether an Activity is allowed.\n\nSee [Policy Overview](../managing-policies/overview) for more information"
24
24
  },
25
+ {
26
+ "name": "Wallets",
27
+ "description": "Wallets contain collections of deterministically generated cryptographic public / private key pairs that share a common seed. Turnkey securely holds the common seed, but only you can access it. In most cases, Wallets should be preferred over Private Keys since they can be represented by a mnemonic phrase, used across a variety of cryptographic curves, and can derive many addresses."
28
+ },
29
+ {
30
+ "name": "Signatures",
31
+ "description": "Signatures are used to validate the authenticity and integrity of a digital message. Signatures are a fundamental building block in blockchains. Turnkey makes it easy to produce signatures by allowing you to sign with an address. If Turnkey doesn't yet support an address format you need, you can generate and sign with the public key instead by using the address format `ADDRESS_FORMAT_COMPRESSED`."
32
+ },
25
33
  {
26
34
  "name": "Private Keys",
27
- "description": "Private Keys are cryptographic public / private key pairs that can be used for cryptocurrency needs or more generalized encryption. Think of Private Keys as your own programmable wallet. Turnkey securely holds all Private Key materials for you, but only you can access them."
35
+ "description": "Private Keys are cryptographic public / private key pairs that can be used for cryptocurrency needs or more generalized encryption. Turnkey securely holds all Private Key materials for you, but only you can access them."
28
36
  },
29
37
  {
30
38
  "name": "Private Key Tags",
@@ -799,7 +807,7 @@
799
807
  "/public/v1/submit/create_wallet": {
800
808
  "post": {
801
809
  "summary": "Create Wallet",
802
- "description": "Create a Wallet",
810
+ "description": "Create a Wallet and derive addresses",
803
811
  "operationId": "PublicApiService_CreateWallet",
804
812
  "responses": {
805
813
  "200": {
@@ -825,13 +833,13 @@
825
833
  }
826
834
  }
827
835
  ],
828
- "tags": ["PublicApiService"]
836
+ "tags": ["Wallets"]
829
837
  }
830
838
  },
831
839
  "/public/v1/submit/create_wallet_accounts": {
832
840
  "post": {
833
- "summary": "Create Wallet accounts",
834
- "description": "Create Wallet accounts",
841
+ "summary": "Create Wallet Accounts",
842
+ "description": "Derive additional addresses using an existing wallet",
835
843
  "operationId": "PublicApiService_CreateWalletAccounts",
836
844
  "responses": {
837
845
  "200": {
@@ -857,7 +865,7 @@
857
865
  }
858
866
  }
859
867
  ],
860
- "tags": ["PublicApiService"]
868
+ "tags": ["Wallets"]
861
869
  }
862
870
  },
863
871
  "/public/v1/submit/delete_api_keys": {
@@ -924,7 +932,7 @@
924
932
  "tags": ["Authenticators"]
925
933
  }
926
934
  },
927
- "/public/v1/submit/delete_invitations": {
935
+ "/public/v1/submit/delete_invitation": {
928
936
  "post": {
929
937
  "summary": "Delete Invitation",
930
938
  "description": "Delete an existing Invitation",
@@ -1020,11 +1028,11 @@
1020
1028
  "tags": ["Private Keys"]
1021
1029
  }
1022
1030
  },
1023
- "/public/v1/submit/init_user_email_recovery": {
1031
+ "/public/v1/submit/export_wallet": {
1024
1032
  "post": {
1025
- "summary": "Init Recovery",
1026
- "description": "Initializes a new recovery",
1027
- "operationId": "PublicApiService_InitUserEmailRecovery",
1033
+ "summary": "Export Wallet",
1034
+ "description": "Exports a Wallet",
1035
+ "operationId": "PublicApiService_ExportWallet",
1028
1036
  "responses": {
1029
1037
  "200": {
1030
1038
  "description": "A successful response.",
@@ -1045,18 +1053,18 @@
1045
1053
  "in": "body",
1046
1054
  "required": true,
1047
1055
  "schema": {
1048
- "$ref": "#/definitions/v1InitUserEmailRecoveryRequest"
1056
+ "$ref": "#/definitions/v1ExportWalletRequest"
1049
1057
  }
1050
1058
  }
1051
1059
  ],
1052
- "tags": ["Organizations"]
1060
+ "tags": ["Wallets"]
1053
1061
  }
1054
1062
  },
1055
- "/public/v1/submit/reject_activity": {
1063
+ "/public/v1/submit/init_user_email_recovery": {
1056
1064
  "post": {
1057
- "summary": "Reject Activity",
1058
- "description": "Reject an Activity",
1059
- "operationId": "PublicApiService_RejectActivity",
1065
+ "summary": "Init Email Recovery",
1066
+ "description": "Initializes a new email recovery",
1067
+ "operationId": "PublicApiService_InitUserEmailRecovery",
1060
1068
  "responses": {
1061
1069
  "200": {
1062
1070
  "description": "A successful response.",
@@ -1077,18 +1085,18 @@
1077
1085
  "in": "body",
1078
1086
  "required": true,
1079
1087
  "schema": {
1080
- "$ref": "#/definitions/v1RejectActivityRequest"
1088
+ "$ref": "#/definitions/v1InitUserEmailRecoveryRequest"
1081
1089
  }
1082
1090
  }
1083
1091
  ],
1084
- "tags": ["Consensus"]
1092
+ "tags": ["User Recovery"]
1085
1093
  }
1086
1094
  },
1087
- "/public/v1/submit/remove_organization_feature": {
1095
+ "/public/v1/submit/recover_user": {
1088
1096
  "post": {
1089
- "summary": "Remove Organization Feature",
1090
- "description": "Removes an organization feature",
1091
- "operationId": "PublicApiService_RemoveOrganizationFeature",
1097
+ "summary": "Recover a user",
1098
+ "description": "Completes the process of recovering a user by adding an authenticator",
1099
+ "operationId": "PublicApiService_RecoverUser",
1092
1100
  "responses": {
1093
1101
  "200": {
1094
1102
  "description": "A successful response.",
@@ -1109,18 +1117,18 @@
1109
1117
  "in": "body",
1110
1118
  "required": true,
1111
1119
  "schema": {
1112
- "$ref": "#/definitions/v1RemoveOrganizationFeatureRequest"
1120
+ "$ref": "#/definitions/v1RecoverUserRequest"
1113
1121
  }
1114
1122
  }
1115
1123
  ],
1116
- "tags": ["Organizations"]
1124
+ "tags": ["User Recovery"]
1117
1125
  }
1118
1126
  },
1119
- "/public/v1/submit/set_organization_feature": {
1127
+ "/public/v1/submit/reject_activity": {
1120
1128
  "post": {
1121
- "summary": "Set Organization Feature",
1122
- "description": "Sets an organization feature",
1123
- "operationId": "PublicApiService_SetOrganizationFeature",
1129
+ "summary": "Reject Activity",
1130
+ "description": "Reject an Activity",
1131
+ "operationId": "PublicApiService_RejectActivity",
1124
1132
  "responses": {
1125
1133
  "200": {
1126
1134
  "description": "A successful response.",
@@ -1141,18 +1149,18 @@
1141
1149
  "in": "body",
1142
1150
  "required": true,
1143
1151
  "schema": {
1144
- "$ref": "#/definitions/v1SetOrganizationFeatureRequest"
1152
+ "$ref": "#/definitions/v1RejectActivityRequest"
1145
1153
  }
1146
1154
  }
1147
1155
  ],
1148
- "tags": ["Organizations"]
1156
+ "tags": ["Consensus"]
1149
1157
  }
1150
1158
  },
1151
- "/public/v1/submit/sign_raw_payload": {
1159
+ "/public/v1/submit/remove_organization_feature": {
1152
1160
  "post": {
1153
- "summary": "Sign Raw Payload",
1154
- "description": "Sign a raw payload with a Private Key",
1155
- "operationId": "PublicApiService_SignRawPayload",
1161
+ "summary": "Remove Organization Feature",
1162
+ "description": "Removes an organization feature",
1163
+ "operationId": "PublicApiService_RemoveOrganizationFeature",
1156
1164
  "responses": {
1157
1165
  "200": {
1158
1166
  "description": "A successful response.",
@@ -1173,18 +1181,18 @@
1173
1181
  "in": "body",
1174
1182
  "required": true,
1175
1183
  "schema": {
1176
- "$ref": "#/definitions/v1SignRawPayloadRequest"
1184
+ "$ref": "#/definitions/v1RemoveOrganizationFeatureRequest"
1177
1185
  }
1178
1186
  }
1179
1187
  ],
1180
- "tags": ["Private Keys"]
1188
+ "tags": ["Features"]
1181
1189
  }
1182
1190
  },
1183
- "/public/v1/submit/sign_raw_payload_v2": {
1191
+ "/public/v1/submit/set_organization_feature": {
1184
1192
  "post": {
1185
- "summary": "Sign Raw Payload",
1186
- "description": "Sign a raw payload with a Private Key id or address",
1187
- "operationId": "PublicApiService_SignRawPayloadV2",
1193
+ "summary": "Set Organization Feature",
1194
+ "description": "Sets an organization feature",
1195
+ "operationId": "PublicApiService_SetOrganizationFeature",
1188
1196
  "responses": {
1189
1197
  "200": {
1190
1198
  "description": "A successful response.",
@@ -1205,18 +1213,18 @@
1205
1213
  "in": "body",
1206
1214
  "required": true,
1207
1215
  "schema": {
1208
- "$ref": "#/definitions/v1SignRawPayloadV2Request"
1216
+ "$ref": "#/definitions/v1SetOrganizationFeatureRequest"
1209
1217
  }
1210
1218
  }
1211
1219
  ],
1212
- "tags": ["PublicApiService"]
1220
+ "tags": ["Features"]
1213
1221
  }
1214
1222
  },
1215
- "/public/v1/submit/sign_transaction": {
1223
+ "/public/v1/submit/sign_raw_payload": {
1216
1224
  "post": {
1217
- "summary": "Sign Transaction",
1218
- "description": "Sign a transaction with a Private Key",
1219
- "operationId": "PublicApiService_SignTransaction",
1225
+ "summary": "Sign Raw Payload",
1226
+ "description": "Sign a raw payload",
1227
+ "operationId": "PublicApiService_SignRawPayload",
1220
1228
  "responses": {
1221
1229
  "200": {
1222
1230
  "description": "A successful response.",
@@ -1237,18 +1245,18 @@
1237
1245
  "in": "body",
1238
1246
  "required": true,
1239
1247
  "schema": {
1240
- "$ref": "#/definitions/v1SignTransactionRequest"
1248
+ "$ref": "#/definitions/v1SignRawPayloadRequest"
1241
1249
  }
1242
1250
  }
1243
1251
  ],
1244
- "tags": ["Private Keys"]
1252
+ "tags": ["Signatures"]
1245
1253
  }
1246
1254
  },
1247
- "/public/v1/submit/sign_transaction_v2": {
1255
+ "/public/v1/submit/sign_transaction": {
1248
1256
  "post": {
1249
1257
  "summary": "Sign Transaction",
1250
- "description": "Sign a transaction with a Private Key id or address",
1251
- "operationId": "PublicApiService_SignTransactionV2",
1258
+ "description": "Sign a transaction",
1259
+ "operationId": "PublicApiService_SignTransaction",
1252
1260
  "responses": {
1253
1261
  "200": {
1254
1262
  "description": "A successful response.",
@@ -1269,11 +1277,11 @@
1269
1277
  "in": "body",
1270
1278
  "required": true,
1271
1279
  "schema": {
1272
- "$ref": "#/definitions/v1SignTransactionV2Request"
1280
+ "$ref": "#/definitions/v1SignTransactionRequest"
1273
1281
  }
1274
1282
  }
1275
1283
  ],
1276
- "tags": ["PublicApiService"]
1284
+ "tags": ["Signatures"]
1277
1285
  }
1278
1286
  },
1279
1287
  "/public/v1/submit/update_allowed_origins": {
@@ -1305,7 +1313,7 @@
1305
1313
  }
1306
1314
  }
1307
1315
  ],
1308
- "tags": ["Organizations"]
1316
+ "tags": ["Features"]
1309
1317
  }
1310
1318
  },
1311
1319
  "/public/v1/submit/update_policy": {
@@ -1969,7 +1977,9 @@
1969
1977
  "ACTIVITY_TYPE_REMOVE_ORGANIZATION_FEATURE",
1970
1978
  "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD_V2",
1971
1979
  "ACTIVITY_TYPE_SIGN_TRANSACTION_V2",
1972
- "ACTIVITY_TYPE_EXPORT_PRIVATE_KEY"
1980
+ "ACTIVITY_TYPE_EXPORT_PRIVATE_KEY",
1981
+ "ACTIVITY_TYPE_EXPORT_WALLET",
1982
+ "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V4"
1973
1983
  ]
1974
1984
  },
1975
1985
  "v1ApiKey": {
@@ -2807,12 +2817,43 @@
2807
2817
  "privateKeys"
2808
2818
  ]
2809
2819
  },
2820
+ "v1CreateSubOrganizationIntentV4": {
2821
+ "type": "object",
2822
+ "properties": {
2823
+ "subOrganizationName": {
2824
+ "type": "string",
2825
+ "description": "Name for this sub-organization"
2826
+ },
2827
+ "rootUsers": {
2828
+ "type": "array",
2829
+ "items": {
2830
+ "type": "object",
2831
+ "$ref": "#/definitions/v1RootUserParams"
2832
+ },
2833
+ "description": "Root users to create within this sub-organization"
2834
+ },
2835
+ "rootQuorumThreshold": {
2836
+ "type": "integer",
2837
+ "format": "int32",
2838
+ "description": "The threshold of unique approvals to reach root quorum. This value must be less than or equal to the number of root users"
2839
+ },
2840
+ "wallet": {
2841
+ "$ref": "#/definitions/v1WalletParams",
2842
+ "description": "The wallet to create for the sub-organization"
2843
+ },
2844
+ "disableEmailRecovery": {
2845
+ "type": "boolean",
2846
+ "description": "Disable email recovery for the sub-organization"
2847
+ }
2848
+ },
2849
+ "required": ["subOrganizationName", "rootUsers", "rootQuorumThreshold"]
2850
+ },
2810
2851
  "v1CreateSubOrganizationRequest": {
2811
2852
  "type": "object",
2812
2853
  "properties": {
2813
2854
  "type": {
2814
2855
  "type": "string",
2815
- "enum": ["ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V3"]
2856
+ "enum": ["ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V4"]
2816
2857
  },
2817
2858
  "timestampMs": {
2818
2859
  "type": "string",
@@ -2823,7 +2864,7 @@
2823
2864
  "description": "Unique identifier for a given Organization."
2824
2865
  },
2825
2866
  "parameters": {
2826
- "$ref": "#/definitions/v1CreateSubOrganizationIntentV3"
2867
+ "$ref": "#/definitions/v1CreateSubOrganizationIntentV4"
2827
2868
  }
2828
2869
  },
2829
2870
  "required": ["type", "timestampMs", "organizationId", "parameters"]
@@ -2854,6 +2895,18 @@
2854
2895
  },
2855
2896
  "required": ["subOrganizationId", "privateKeys"]
2856
2897
  },
2898
+ "v1CreateSubOrganizationResultV4": {
2899
+ "type": "object",
2900
+ "properties": {
2901
+ "subOrganizationId": {
2902
+ "type": "string"
2903
+ },
2904
+ "wallet": {
2905
+ "$ref": "#/definitions/v1WalletResult"
2906
+ }
2907
+ },
2908
+ "required": ["subOrganizationId"]
2909
+ },
2857
2910
  "v1CreateUserTagIntent": {
2858
2911
  "type": "object",
2859
2912
  "properties": {
@@ -3473,6 +3526,59 @@
3473
3526
  },
3474
3527
  "required": ["privateKeyId", "exportBundle"]
3475
3528
  },
3529
+ "v1ExportWalletIntent": {
3530
+ "type": "object",
3531
+ "properties": {
3532
+ "walletId": {
3533
+ "type": "string",
3534
+ "description": "Unique identifier for a given Wallet."
3535
+ },
3536
+ "targetPublicKey": {
3537
+ "type": "string",
3538
+ "description": "Client-side public key generated by the user, to which the export bundle will be encrypted."
3539
+ },
3540
+ "language": {
3541
+ "$ref": "#/definitions/v1MnemonicLanguage",
3542
+ "description": "The language of the mnemonic to export. Defaults to English."
3543
+ }
3544
+ },
3545
+ "required": ["walletId", "targetPublicKey"]
3546
+ },
3547
+ "v1ExportWalletRequest": {
3548
+ "type": "object",
3549
+ "properties": {
3550
+ "type": {
3551
+ "type": "string",
3552
+ "enum": ["ACTIVITY_TYPE_EXPORT_WALLET"]
3553
+ },
3554
+ "timestampMs": {
3555
+ "type": "string",
3556
+ "description": "Timestamp (in milliseconds) of the request, used to verify liveness of user requests."
3557
+ },
3558
+ "organizationId": {
3559
+ "type": "string",
3560
+ "description": "Unique identifier for a given Organization."
3561
+ },
3562
+ "parameters": {
3563
+ "$ref": "#/definitions/v1ExportWalletIntent"
3564
+ }
3565
+ },
3566
+ "required": ["type", "timestampMs", "organizationId", "parameters"]
3567
+ },
3568
+ "v1ExportWalletResult": {
3569
+ "type": "object",
3570
+ "properties": {
3571
+ "walletId": {
3572
+ "type": "string",
3573
+ "description": "Unique identifier for a given Wallet."
3574
+ },
3575
+ "exportBundle": {
3576
+ "type": "string",
3577
+ "description": "Export bundle containing a wallet mnemonic + optional newline passphrase encrypted by the client's target public key."
3578
+ }
3579
+ },
3580
+ "required": ["walletId", "exportBundle"]
3581
+ },
3476
3582
  "v1Feature": {
3477
3583
  "type": "object",
3478
3584
  "properties": {
@@ -3998,6 +4104,12 @@
3998
4104
  },
3999
4105
  "exportPrivateKeyIntent": {
4000
4106
  "$ref": "#/definitions/v1ExportPrivateKeyIntent"
4107
+ },
4108
+ "exportWalletIntent": {
4109
+ "$ref": "#/definitions/v1ExportWalletIntent"
4110
+ },
4111
+ "createSubOrganizationIntentV4": {
4112
+ "$ref": "#/definitions/v1CreateSubOrganizationIntentV4"
4001
4113
  }
4002
4114
  },
4003
4115
  "required": ["createOrganizationIntent"]
@@ -4098,6 +4210,20 @@
4098
4210
  "INVITATION_STATUS_REVOKED"
4099
4211
  ]
4100
4212
  },
4213
+ "v1MnemonicLanguage": {
4214
+ "type": "string",
4215
+ "enum": [
4216
+ "MNEMONIC_LANGUAGE_ENGLISH",
4217
+ "MNEMONIC_LANGUAGE_SIMPLIFIED_CHINESE",
4218
+ "MNEMONIC_LANGUAGE_TRADITIONAL_CHINESE",
4219
+ "MNEMONIC_LANGUAGE_CZECH",
4220
+ "MNEMONIC_LANGUAGE_FRENCH",
4221
+ "MNEMONIC_LANGUAGE_ITALIAN",
4222
+ "MNEMONIC_LANGUAGE_JAPANESE",
4223
+ "MNEMONIC_LANGUAGE_KOREAN",
4224
+ "MNEMONIC_LANGUAGE_SPANISH"
4225
+ ]
4226
+ },
4101
4227
  "v1NOOPCodegenAnchorResponse": {
4102
4228
  "type": "object",
4103
4229
  "properties": {
@@ -4173,6 +4299,13 @@
4173
4299
  "type": "object",
4174
4300
  "$ref": "#/definitions/v1Feature"
4175
4301
  }
4302
+ },
4303
+ "wallets": {
4304
+ "type": "array",
4305
+ "items": {
4306
+ "type": "object",
4307
+ "$ref": "#/definitions/v1Wallet"
4308
+ }
4176
4309
  }
4177
4310
  }
4178
4311
  },
@@ -4287,6 +4420,13 @@
4287
4420
  },
4288
4421
  "createdAt": {
4289
4422
  "$ref": "#/definitions/externaldatav1Timestamp"
4423
+ },
4424
+ "updatedAt": {
4425
+ "$ref": "#/definitions/externaldatav1Timestamp"
4426
+ },
4427
+ "exported": {
4428
+ "type": "boolean",
4429
+ "description": "True when a given Private Key is exported, false otherwise."
4290
4430
  }
4291
4431
  },
4292
4432
  "required": [
@@ -4296,7 +4436,9 @@
4296
4436
  "curve",
4297
4437
  "addresses",
4298
4438
  "privateKeyTags",
4299
- "createdAt"
4439
+ "createdAt",
4440
+ "updatedAt",
4441
+ "exported"
4300
4442
  ]
4301
4443
  },
4302
4444
  "v1PrivateKeyParams": {
@@ -4388,6 +4530,27 @@
4388
4530
  },
4389
4531
  "required": ["authenticator", "userId"]
4390
4532
  },
4533
+ "v1RecoverUserRequest": {
4534
+ "type": "object",
4535
+ "properties": {
4536
+ "type": {
4537
+ "type": "string",
4538
+ "enum": ["ACTIVITY_TYPE_RECOVER_USER"]
4539
+ },
4540
+ "timestampMs": {
4541
+ "type": "string",
4542
+ "description": "Timestamp (in milliseconds) of the request, used to verify liveness of user requests."
4543
+ },
4544
+ "organizationId": {
4545
+ "type": "string",
4546
+ "description": "Unique identifier for a given Organization."
4547
+ },
4548
+ "parameters": {
4549
+ "$ref": "#/definitions/v1RecoverUserIntent"
4550
+ }
4551
+ },
4552
+ "required": ["type", "timestampMs", "organizationId", "parameters"]
4553
+ },
4391
4554
  "v1RecoverUserResult": {
4392
4555
  "type": "object",
4393
4556
  "properties": {
@@ -4602,6 +4765,12 @@
4602
4765
  },
4603
4766
  "exportPrivateKeyResult": {
4604
4767
  "$ref": "#/definitions/v1ExportPrivateKeyResult"
4768
+ },
4769
+ "exportWalletResult": {
4770
+ "$ref": "#/definitions/v1ExportWalletResult"
4771
+ },
4772
+ "createSubOrganizationResultV4": {
4773
+ "$ref": "#/definitions/v1CreateSubOrganizationResultV4"
4605
4774
  }
4606
4775
  }
4607
4776
  },
@@ -4801,7 +4970,7 @@
4801
4970
  "properties": {
4802
4971
  "signWith": {
4803
4972
  "type": "string",
4804
- "description": "The Private Key identifier or address."
4973
+ "description": "A Wallet account address, Private Key address, or Private Key identifier."
4805
4974
  },
4806
4975
  "payload": {
4807
4976
  "type": "string",
@@ -4823,7 +4992,7 @@
4823
4992
  "properties": {
4824
4993
  "type": {
4825
4994
  "type": "string",
4826
- "enum": ["ACTIVITY_TYPE_SIGN_RAW_PAYLOAD"]
4995
+ "enum": ["ACTIVITY_TYPE_SIGN_RAW_PAYLOAD_V2"]
4827
4996
  },
4828
4997
  "timestampMs": {
4829
4998
  "type": "string",
@@ -4834,7 +5003,7 @@
4834
5003
  "description": "Unique identifier for a given Organization."
4835
5004
  },
4836
5005
  "parameters": {
4837
- "$ref": "#/definitions/v1SignRawPayloadIntent"
5006
+ "$ref": "#/definitions/v1SignRawPayloadIntentV2"
4838
5007
  }
4839
5008
  },
4840
5009
  "required": ["type", "timestampMs", "organizationId", "parameters"]
@@ -4857,27 +5026,6 @@
4857
5026
  },
4858
5027
  "required": ["r", "s", "v"]
4859
5028
  },
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
- },
4881
5029
  "v1SignTransactionIntent": {
4882
5030
  "type": "object",
4883
5031
  "properties": {
@@ -4900,7 +5048,7 @@
4900
5048
  "properties": {
4901
5049
  "signWith": {
4902
5050
  "type": "string",
4903
- "description": "The Private Key identifier or address."
5051
+ "description": "A Wallet account address, Private Key address, or Private Key identifier."
4904
5052
  },
4905
5053
  "unsignedTransaction": {
4906
5054
  "type": "string",
@@ -4917,7 +5065,7 @@
4917
5065
  "properties": {
4918
5066
  "type": {
4919
5067
  "type": "string",
4920
- "enum": ["ACTIVITY_TYPE_SIGN_TRANSACTION"]
5068
+ "enum": ["ACTIVITY_TYPE_SIGN_TRANSACTION_V2"]
4921
5069
  },
4922
5070
  "timestampMs": {
4923
5071
  "type": "string",
@@ -4928,7 +5076,7 @@
4928
5076
  "description": "Unique identifier for a given Organization."
4929
5077
  },
4930
5078
  "parameters": {
4931
- "$ref": "#/definitions/v1SignTransactionIntent"
5079
+ "$ref": "#/definitions/v1SignTransactionIntentV2"
4932
5080
  }
4933
5081
  },
4934
5082
  "required": ["type", "timestampMs", "organizationId", "parameters"]
@@ -4942,27 +5090,6 @@
4942
5090
  },
4943
5091
  "required": ["signedTransaction"]
4944
5092
  },
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
- },
4966
5093
  "v1SimpleClientExtensionResults": {
4967
5094
  "type": "object",
4968
5095
  "properties": {
@@ -5509,6 +5636,36 @@
5509
5636
  "createdAt"
5510
5637
  ]
5511
5638
  },
5639
+ "v1Wallet": {
5640
+ "type": "object",
5641
+ "properties": {
5642
+ "walletId": {
5643
+ "type": "string",
5644
+ "description": "Unique identifier for a given Wallet."
5645
+ },
5646
+ "walletName": {
5647
+ "type": "string",
5648
+ "description": "Human-readable name for a Wallet."
5649
+ },
5650
+ "createdAt": {
5651
+ "$ref": "#/definitions/externaldatav1Timestamp"
5652
+ },
5653
+ "updatedAt": {
5654
+ "$ref": "#/definitions/externaldatav1Timestamp"
5655
+ },
5656
+ "exported": {
5657
+ "type": "boolean",
5658
+ "description": "True when a given Wallet is exported, false otherwise."
5659
+ }
5660
+ },
5661
+ "required": [
5662
+ "walletId",
5663
+ "walletName",
5664
+ "createdAt",
5665
+ "updatedAt",
5666
+ "exported"
5667
+ ]
5668
+ },
5512
5669
  "v1WalletAccountParams": {
5513
5670
  "type": "object",
5514
5671
  "properties": {
@@ -5531,6 +5688,40 @@
5531
5688
  },
5532
5689
  "required": ["curve", "pathFormat", "path", "addressFormat"]
5533
5690
  },
5691
+ "v1WalletParams": {
5692
+ "type": "object",
5693
+ "properties": {
5694
+ "walletName": {
5695
+ "type": "string",
5696
+ "description": "Human-readable name for a Wallet."
5697
+ },
5698
+ "accounts": {
5699
+ "type": "array",
5700
+ "items": {
5701
+ "type": "object",
5702
+ "$ref": "#/definitions/v1WalletAccountParams"
5703
+ },
5704
+ "description": "A list of wallet Accounts."
5705
+ }
5706
+ },
5707
+ "required": ["walletName", "accounts"]
5708
+ },
5709
+ "v1WalletResult": {
5710
+ "type": "object",
5711
+ "properties": {
5712
+ "walletId": {
5713
+ "type": "string"
5714
+ },
5715
+ "addresses": {
5716
+ "type": "array",
5717
+ "items": {
5718
+ "type": "string"
5719
+ },
5720
+ "description": "A list of account addresses."
5721
+ }
5722
+ },
5723
+ "required": ["walletId", "addresses"]
5724
+ },
5534
5725
  "v1WebAuthnStamp": {
5535
5726
  "type": "object",
5536
5727
  "properties": {
@@ -5582,15 +5773,19 @@
5582
5773
  "x-tagGroups": [
5583
5774
  {
5584
5775
  "name": "ORGANIZATIONS",
5585
- "tags": ["Organizations", "Invitations", "Policies"]
5776
+ "tags": ["Organizations", "Invitations", "Policies", "Features"]
5586
5777
  },
5587
5778
  {
5588
5779
  "name": "PRIVATE KEYS",
5589
- "tags": ["Private Keys", "Private Key Tags"]
5780
+ "tags": ["Wallets", "Signatures", "Private Keys", "Private Key Tags"]
5590
5781
  },
5591
5782
  {
5592
5783
  "name": "USERS",
5593
- "tags": ["Users", "User Tags", "Authenticators", "API Keys", "Who am I?"]
5784
+ "tags": ["Users", "User Tags", "User Recovery"]
5785
+ },
5786
+ {
5787
+ "name": "CREDENTIALS",
5788
+ "tags": ["Authenticators", "API Keys", "Who am I?"]
5594
5789
  },
5595
5790
  {
5596
5791
  "name": "ACTIVITIES",