@openfort/openfort-node 0.7.1 → 0.7.3

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/dist/index.mjs CHANGED
@@ -374,7 +374,7 @@ function requiresWalletAuth(requestMethod, requestPath) {
374
374
  }
375
375
 
376
376
  // src/version.ts
377
- var VERSION = "0.7.1";
377
+ var VERSION = "0.7.3";
378
378
  var PACKAGE = "@openfort/openfort-node";
379
379
 
380
380
  // src/openapi-client/openfortApiClient.ts
@@ -433,6 +433,10 @@ var configure = (options) => {
433
433
  ...options.publishableKey && {
434
434
  "x-project-key": options.publishableKey
435
435
  }
436
+ },
437
+ paramsSerializer: {
438
+ indexes: null
439
+ // Use repeat style for arrays: ?player=a&player=b instead of ?player[0]=a&player[1]=b
436
440
  }
437
441
  });
438
442
  axiosRetry(axiosInstance, {
@@ -714,7 +718,7 @@ var openfortApiClient = async (config, options) => {
714
718
  };
715
719
  var getConfig = () => clientConfig;
716
720
 
717
- // src/openapi-client/generated/accounts/accounts.ts
721
+ // src/openapi-client/generated/accs-v1/accs-v1.ts
718
722
  var getAccounts = (params, options) => {
719
723
  return openfortApiClient(
720
724
  {
@@ -830,6 +834,8 @@ var completeRecovery = (id, completeRecoveryRequest, options) => {
830
834
  options
831
835
  );
832
836
  };
837
+
838
+ // src/openapi-client/generated/accs-v2/accs-v2.ts
833
839
  var getAccountsV2 = (params, options) => {
834
840
  return openfortApiClient(
835
841
  {
@@ -923,6 +929,37 @@ var createOAuthConfig = (authConfig, options) => {
923
929
  options
924
930
  );
925
931
  };
932
+ var deprecatedCallbackOAuth = (params, options) => {
933
+ return openfortApiClient(
934
+ {
935
+ url: `/iam/v1/oauth/callback`,
936
+ method: "GET",
937
+ params
938
+ },
939
+ options
940
+ );
941
+ };
942
+ var grantOAuth = (provider, grantCallbackRequest, options) => {
943
+ return openfortApiClient(
944
+ {
945
+ url: `/iam/v1/oauth/grant/${provider}`,
946
+ method: "POST",
947
+ headers: { "Content-Type": "application/json" },
948
+ data: grantCallbackRequest
949
+ },
950
+ options
951
+ );
952
+ };
953
+ var callbackOAuth = (provider, params, options) => {
954
+ return openfortApiClient(
955
+ {
956
+ url: `/iam/v1/oauth/callback/${provider}`,
957
+ method: "GET",
958
+ params
959
+ },
960
+ options
961
+ );
962
+ };
926
963
  var getOAuthConfig = (provider, options) => {
927
964
  return openfortApiClient(
928
965
  {
@@ -1023,25 +1060,12 @@ var authorize = (authorizePlayerRequest, options) => {
1023
1060
  );
1024
1061
  };
1025
1062
 
1026
- // src/openapi-client/generated/auth/anonymous/anonymous.ts
1027
- var anonymous_exports = {};
1028
- __export(anonymous_exports, {
1029
- postSignInAnonymous: () => postSignInAnonymous
1030
- });
1031
- var postSignInAnonymous = (options) => {
1032
- return openfortApiClient(
1033
- {
1034
- url: `/iam/v2/auth/sign-in/anonymous`,
1035
- method: "POST"
1036
- },
1037
- options
1038
- );
1039
- };
1040
-
1041
- // src/openapi-client/generated/auth/default/default.ts
1042
- var default_exports = {};
1043
- __export(default_exports, {
1063
+ // src/openapi-client/generated/auth/auth-v2/auth-v2.ts
1064
+ var auth_v2_exports = {};
1065
+ __export(auth_v2_exports, {
1066
+ checkVerificationOtp: () => checkVerificationOtp,
1044
1067
  getGetSession: () => getGetSession,
1068
+ getLinkSiweListWallets: () => getLinkSiweListWallets,
1045
1069
  getListAccounts: () => getListAccounts,
1046
1070
  getListSessions: () => getListSessions,
1047
1071
  getResetPasswordToken: () => getResetPasswordToken,
@@ -1049,9 +1073,21 @@ __export(default_exports, {
1049
1073
  postAccountInfo: () => postAccountInfo,
1050
1074
  postChangeEmail: () => postChangeEmail,
1051
1075
  postChangePassword: () => postChangePassword,
1076
+ postEmailOtpResetPassword: () => postEmailOtpResetPassword,
1077
+ postEmailOtpSendVerificationOtp: () => postEmailOtpSendVerificationOtp,
1078
+ postEmailOtpVerifyEmail: () => postEmailOtpVerifyEmail,
1052
1079
  postForgetPassword: () => postForgetPassword,
1080
+ postForgetPasswordEmailOtp: () => postForgetPasswordEmailOtp,
1053
1081
  postGetAccessToken: () => postGetAccessToken,
1082
+ postLinkSiweNonce: () => postLinkSiweNonce,
1083
+ postLinkSiweUnlink: () => postLinkSiweUnlink,
1084
+ postLinkSiweVerify: () => postLinkSiweVerify,
1054
1085
  postLinkSocial: () => postLinkSocial,
1086
+ postPhoneNumberForgetPassword: () => postPhoneNumberForgetPassword,
1087
+ postPhoneNumberRequestPasswordReset: () => postPhoneNumberRequestPasswordReset,
1088
+ postPhoneNumberResetPassword: () => postPhoneNumberResetPassword,
1089
+ postPhoneNumberSendOtp: () => postPhoneNumberSendOtp,
1090
+ postPhoneNumberVerify: () => postPhoneNumberVerify,
1055
1091
  postRefreshToken: () => postRefreshToken,
1056
1092
  postRequestPasswordReset: () => postRequestPasswordReset,
1057
1093
  postResetPassword: () => postResetPassword,
@@ -1059,9 +1095,14 @@ __export(default_exports, {
1059
1095
  postRevokeSession: () => postRevokeSession,
1060
1096
  postRevokeSessions: () => postRevokeSessions,
1061
1097
  postSendVerificationEmail: () => postSendVerificationEmail,
1098
+ postSignInAnonymous: () => postSignInAnonymous,
1062
1099
  postSignInEmail: () => postSignInEmail,
1100
+ postSignInEmailOtp: () => postSignInEmailOtp,
1101
+ postSignInPhoneNumber: () => postSignInPhoneNumber,
1063
1102
  postSignOut: () => postSignOut,
1064
1103
  postSignUpEmail: () => postSignUpEmail,
1104
+ postSiweNonce: () => postSiweNonce,
1105
+ postSiweVerify: () => postSiweVerify,
1065
1106
  postUnlinkAccount: () => postUnlinkAccount,
1066
1107
  socialSignIn: () => socialSignIn
1067
1108
  });
@@ -1311,204 +1352,147 @@ var postAccountInfo = (postAccountInfoBody, options) => {
1311
1352
  options
1312
1353
  );
1313
1354
  };
1314
-
1315
- // src/openapi-client/generated/auth/email-otp/email-otp.ts
1316
- var email_otp_exports = {};
1317
- __export(email_otp_exports, {
1318
- checkVerificationOtp: () => checkVerificationOtp,
1319
- postEmailOtpResetPassword: () => postEmailOtpResetPassword,
1320
- postEmailOtpSendVerificationOtp: () => postEmailOtpSendVerificationOtp,
1321
- postEmailOtpVerifyEmail: () => postEmailOtpVerifyEmail,
1322
- postForgetPasswordEmailOtp: () => postForgetPasswordEmailOtp,
1323
- postSignInEmailOtp: () => postSignInEmailOtp
1324
- });
1325
- var postEmailOtpSendVerificationOtp = (postEmailOtpSendVerificationOtpBody, options) => {
1355
+ var postSignInAnonymous = (options) => {
1326
1356
  return openfortApiClient(
1327
1357
  {
1328
- url: `/iam/v2/auth/email-otp/send-verification-otp`,
1358
+ url: `/iam/v2/auth/sign-in/anonymous`,
1359
+ method: "POST"
1360
+ },
1361
+ options
1362
+ );
1363
+ };
1364
+ var postSignInPhoneNumber = (postSignInPhoneNumberBody, options) => {
1365
+ return openfortApiClient(
1366
+ {
1367
+ url: `/iam/v2/auth/sign-in/phone-number`,
1329
1368
  method: "POST",
1330
1369
  headers: { "Content-Type": "application/json" },
1331
- data: postEmailOtpSendVerificationOtpBody
1370
+ data: postSignInPhoneNumberBody
1332
1371
  },
1333
1372
  options
1334
1373
  );
1335
1374
  };
1336
- var checkVerificationOtp = (checkVerificationOtpBody, options) => {
1375
+ var postPhoneNumberSendOtp = (postPhoneNumberSendOtpBody, options) => {
1337
1376
  return openfortApiClient(
1338
1377
  {
1339
- url: `/iam/v2/auth/email-otp/check-verification-otp`,
1378
+ url: `/iam/v2/auth/phone-number/send-otp`,
1340
1379
  method: "POST",
1341
1380
  headers: { "Content-Type": "application/json" },
1342
- data: checkVerificationOtpBody
1381
+ data: postPhoneNumberSendOtpBody
1343
1382
  },
1344
1383
  options
1345
1384
  );
1346
1385
  };
1347
- var postEmailOtpVerifyEmail = (postEmailOtpVerifyEmailBody, options) => {
1386
+ var postPhoneNumberVerify = (postPhoneNumberVerifyBody, options) => {
1348
1387
  return openfortApiClient(
1349
1388
  {
1350
- url: `/iam/v2/auth/email-otp/verify-email`,
1389
+ url: `/iam/v2/auth/phone-number/verify`,
1351
1390
  method: "POST",
1352
1391
  headers: { "Content-Type": "application/json" },
1353
- data: postEmailOtpVerifyEmailBody
1392
+ data: postPhoneNumberVerifyBody
1354
1393
  },
1355
1394
  options
1356
1395
  );
1357
1396
  };
1358
- var postSignInEmailOtp = (postSignInEmailOtpBody, options) => {
1397
+ var postPhoneNumberForgetPassword = (postPhoneNumberForgetPasswordBody, options) => {
1359
1398
  return openfortApiClient(
1360
1399
  {
1361
- url: `/iam/v2/auth/sign-in/email-otp`,
1400
+ url: `/iam/v2/auth/phone-number/forget-password`,
1362
1401
  method: "POST",
1363
1402
  headers: { "Content-Type": "application/json" },
1364
- data: postSignInEmailOtpBody
1403
+ data: postPhoneNumberForgetPasswordBody
1365
1404
  },
1366
1405
  options
1367
1406
  );
1368
1407
  };
1369
- var postForgetPasswordEmailOtp = (postForgetPasswordEmailOtpBody, options) => {
1408
+ var postPhoneNumberRequestPasswordReset = (postPhoneNumberRequestPasswordResetBody, options) => {
1370
1409
  return openfortApiClient(
1371
1410
  {
1372
- url: `/iam/v2/auth/forget-password/email-otp`,
1411
+ url: `/iam/v2/auth/phone-number/request-password-reset`,
1373
1412
  method: "POST",
1374
1413
  headers: { "Content-Type": "application/json" },
1375
- data: postForgetPasswordEmailOtpBody
1414
+ data: postPhoneNumberRequestPasswordResetBody
1376
1415
  },
1377
1416
  options
1378
1417
  );
1379
1418
  };
1380
- var postEmailOtpResetPassword = (postEmailOtpResetPasswordBody, options) => {
1419
+ var postPhoneNumberResetPassword = (postPhoneNumberResetPasswordBody, options) => {
1381
1420
  return openfortApiClient(
1382
1421
  {
1383
- url: `/iam/v2/auth/email-otp/reset-password`,
1422
+ url: `/iam/v2/auth/phone-number/reset-password`,
1384
1423
  method: "POST",
1385
1424
  headers: { "Content-Type": "application/json" },
1386
- data: postEmailOtpResetPasswordBody
1425
+ data: postPhoneNumberResetPasswordBody
1387
1426
  },
1388
1427
  options
1389
1428
  );
1390
1429
  };
1391
-
1392
- // src/openapi-client/generated/auth/openfortAuth.schemas.ts
1393
- var openfortAuth_schemas_exports = {};
1394
- __export(openfortAuth_schemas_exports, {
1395
- CheckVerificationOtpBodyType: () => CheckVerificationOtpBodyType,
1396
- PostChangeEmail200Message: () => PostChangeEmail200Message,
1397
- PostLinkSiweUnlink400Code: () => PostLinkSiweUnlink400Code,
1398
- PostLinkSiweVerify400Code: () => PostLinkSiweVerify400Code,
1399
- PostLinkSiweVerify401Code: () => PostLinkSiweVerify401Code
1400
- });
1401
- var PostChangeEmail200Message = {
1402
- Email_updated: "Email updated",
1403
- Verification_email_sent: "Verification email sent"
1404
- };
1405
- var CheckVerificationOtpBodyType = {
1406
- "email-verification": "email-verification",
1407
- "sign-in": "sign-in",
1408
- "forget-password": "forget-password"
1409
- };
1410
- var PostLinkSiweVerify400Code = {
1411
- WALLET_ALREADY_LINKED: "WALLET_ALREADY_LINKED",
1412
- BAD_REQUEST: "BAD_REQUEST"
1413
- };
1414
- var PostLinkSiweVerify401Code = {
1415
- UNAUTHORIZED: "UNAUTHORIZED",
1416
- INVALID_OR_EXPIRED_NONCE: "INVALID_OR_EXPIRED_NONCE",
1417
- INVALID_SIGNATURE: "INVALID_SIGNATURE"
1418
- };
1419
- var PostLinkSiweUnlink400Code = {
1420
- BAD_REQUEST: "BAD_REQUEST",
1421
- CANNOT_UNLINK_LAST_ACCOUNT: "CANNOT_UNLINK_LAST_ACCOUNT",
1422
- WALLET_NOT_FOUND: "WALLET_NOT_FOUND"
1423
- };
1424
-
1425
- // src/openapi-client/generated/auth/phone-number/phone-number.ts
1426
- var phone_number_exports = {};
1427
- __export(phone_number_exports, {
1428
- postPhoneNumberForgetPassword: () => postPhoneNumberForgetPassword,
1429
- postPhoneNumberRequestPasswordReset: () => postPhoneNumberRequestPasswordReset,
1430
- postPhoneNumberResetPassword: () => postPhoneNumberResetPassword,
1431
- postPhoneNumberSendOtp: () => postPhoneNumberSendOtp,
1432
- postPhoneNumberVerify: () => postPhoneNumberVerify,
1433
- postSignInPhoneNumber: () => postSignInPhoneNumber
1434
- });
1435
- var postSignInPhoneNumber = (postSignInPhoneNumberBody, options) => {
1430
+ var postEmailOtpSendVerificationOtp = (postEmailOtpSendVerificationOtpBody, options) => {
1436
1431
  return openfortApiClient(
1437
1432
  {
1438
- url: `/iam/v2/auth/sign-in/phone-number`,
1433
+ url: `/iam/v2/auth/email-otp/send-verification-otp`,
1439
1434
  method: "POST",
1440
1435
  headers: { "Content-Type": "application/json" },
1441
- data: postSignInPhoneNumberBody
1436
+ data: postEmailOtpSendVerificationOtpBody
1442
1437
  },
1443
1438
  options
1444
1439
  );
1445
1440
  };
1446
- var postPhoneNumberSendOtp = (postPhoneNumberSendOtpBody, options) => {
1441
+ var checkVerificationOtp = (checkVerificationOtpBody, options) => {
1447
1442
  return openfortApiClient(
1448
1443
  {
1449
- url: `/iam/v2/auth/phone-number/send-otp`,
1444
+ url: `/iam/v2/auth/email-otp/check-verification-otp`,
1450
1445
  method: "POST",
1451
1446
  headers: { "Content-Type": "application/json" },
1452
- data: postPhoneNumberSendOtpBody
1447
+ data: checkVerificationOtpBody
1453
1448
  },
1454
1449
  options
1455
1450
  );
1456
1451
  };
1457
- var postPhoneNumberVerify = (postPhoneNumberVerifyBody, options) => {
1452
+ var postEmailOtpVerifyEmail = (postEmailOtpVerifyEmailBody, options) => {
1458
1453
  return openfortApiClient(
1459
1454
  {
1460
- url: `/iam/v2/auth/phone-number/verify`,
1455
+ url: `/iam/v2/auth/email-otp/verify-email`,
1461
1456
  method: "POST",
1462
1457
  headers: { "Content-Type": "application/json" },
1463
- data: postPhoneNumberVerifyBody
1458
+ data: postEmailOtpVerifyEmailBody
1464
1459
  },
1465
1460
  options
1466
1461
  );
1467
1462
  };
1468
- var postPhoneNumberForgetPassword = (postPhoneNumberForgetPasswordBody, options) => {
1463
+ var postSignInEmailOtp = (postSignInEmailOtpBody, options) => {
1469
1464
  return openfortApiClient(
1470
1465
  {
1471
- url: `/iam/v2/auth/phone-number/forget-password`,
1466
+ url: `/iam/v2/auth/sign-in/email-otp`,
1472
1467
  method: "POST",
1473
1468
  headers: { "Content-Type": "application/json" },
1474
- data: postPhoneNumberForgetPasswordBody
1469
+ data: postSignInEmailOtpBody
1475
1470
  },
1476
1471
  options
1477
1472
  );
1478
1473
  };
1479
- var postPhoneNumberRequestPasswordReset = (postPhoneNumberRequestPasswordResetBody, options) => {
1474
+ var postForgetPasswordEmailOtp = (postForgetPasswordEmailOtpBody, options) => {
1480
1475
  return openfortApiClient(
1481
1476
  {
1482
- url: `/iam/v2/auth/phone-number/request-password-reset`,
1477
+ url: `/iam/v2/auth/forget-password/email-otp`,
1483
1478
  method: "POST",
1484
1479
  headers: { "Content-Type": "application/json" },
1485
- data: postPhoneNumberRequestPasswordResetBody
1480
+ data: postForgetPasswordEmailOtpBody
1486
1481
  },
1487
1482
  options
1488
1483
  );
1489
1484
  };
1490
- var postPhoneNumberResetPassword = (postPhoneNumberResetPasswordBody, options) => {
1485
+ var postEmailOtpResetPassword = (postEmailOtpResetPasswordBody, options) => {
1491
1486
  return openfortApiClient(
1492
1487
  {
1493
- url: `/iam/v2/auth/phone-number/reset-password`,
1488
+ url: `/iam/v2/auth/email-otp/reset-password`,
1494
1489
  method: "POST",
1495
1490
  headers: { "Content-Type": "application/json" },
1496
- data: postPhoneNumberResetPasswordBody
1491
+ data: postEmailOtpResetPasswordBody
1497
1492
  },
1498
1493
  options
1499
1494
  );
1500
1495
  };
1501
-
1502
- // src/openapi-client/generated/auth/siwe/siwe.ts
1503
- var siwe_exports = {};
1504
- __export(siwe_exports, {
1505
- getLinkSiweListWallets: () => getLinkSiweListWallets,
1506
- postLinkSiweNonce: () => postLinkSiweNonce,
1507
- postLinkSiweUnlink: () => postLinkSiweUnlink,
1508
- postLinkSiweVerify: () => postLinkSiweVerify,
1509
- postSiweNonce: () => postSiweNonce,
1510
- postSiweVerify: () => postSiweVerify
1511
- });
1512
1496
  var postSiweNonce = (postSiweNonceBody, options) => {
1513
1497
  return openfortApiClient(
1514
1498
  {
@@ -1574,7 +1558,40 @@ var postLinkSiweUnlink = (postLinkSiweUnlinkBody, options) => {
1574
1558
  );
1575
1559
  };
1576
1560
 
1577
- // src/openapi-client/generated/authentication/authentication.ts
1561
+ // src/openapi-client/generated/auth/openfortAuth.schemas.ts
1562
+ var openfortAuth_schemas_exports = {};
1563
+ __export(openfortAuth_schemas_exports, {
1564
+ CheckVerificationOtpBodyType: () => CheckVerificationOtpBodyType,
1565
+ PostChangeEmail200Message: () => PostChangeEmail200Message,
1566
+ PostLinkSiweUnlink400Code: () => PostLinkSiweUnlink400Code,
1567
+ PostLinkSiweVerify400Code: () => PostLinkSiweVerify400Code,
1568
+ PostLinkSiweVerify401Code: () => PostLinkSiweVerify401Code
1569
+ });
1570
+ var PostChangeEmail200Message = {
1571
+ Email_updated: "Email updated",
1572
+ Verification_email_sent: "Verification email sent"
1573
+ };
1574
+ var CheckVerificationOtpBodyType = {
1575
+ "email-verification": "email-verification",
1576
+ "sign-in": "sign-in",
1577
+ "forget-password": "forget-password"
1578
+ };
1579
+ var PostLinkSiweVerify400Code = {
1580
+ WALLET_ALREADY_LINKED: "WALLET_ALREADY_LINKED",
1581
+ BAD_REQUEST: "BAD_REQUEST"
1582
+ };
1583
+ var PostLinkSiweVerify401Code = {
1584
+ UNAUTHORIZED: "UNAUTHORIZED",
1585
+ INVALID_OR_EXPIRED_NONCE: "INVALID_OR_EXPIRED_NONCE",
1586
+ INVALID_SIGNATURE: "INVALID_SIGNATURE"
1587
+ };
1588
+ var PostLinkSiweUnlink400Code = {
1589
+ BAD_REQUEST: "BAD_REQUEST",
1590
+ CANNOT_UNLINK_LAST_ACCOUNT: "CANNOT_UNLINK_LAST_ACCOUNT",
1591
+ WALLET_NOT_FOUND: "WALLET_NOT_FOUND"
1592
+ };
1593
+
1594
+ // src/openapi-client/generated/auth-v1/auth-v1.ts
1578
1595
  var refresh = (refreshTokenRequest, options) => {
1579
1596
  return openfortApiClient(
1580
1597
  {
@@ -1844,28 +1861,6 @@ var me = (options) => {
1844
1861
  );
1845
1862
  };
1846
1863
 
1847
- // src/openapi-client/generated/authentication-v2/authentication-v2.ts
1848
- var meV2 = (options) => {
1849
- return openfortApiClient(
1850
- {
1851
- url: `/iam/v2/me`,
1852
- method: "GET"
1853
- },
1854
- options
1855
- );
1856
- };
1857
- var thirdPartyV2 = (thirdPartyOAuthRequest, options) => {
1858
- return openfortApiClient(
1859
- {
1860
- url: `/iam/v2/user/third_party`,
1861
- method: "POST",
1862
- headers: { "Content-Type": "application/json" },
1863
- data: thirdPartyOAuthRequest
1864
- },
1865
- options
1866
- );
1867
- };
1868
-
1869
1864
  // src/openapi-client/generated/backend-wallets/backend-wallets.ts
1870
1865
  var listBackendWallets = (params, options) => {
1871
1866
  return openfortApiClient(
@@ -2165,6 +2160,27 @@ var query = (queryBody, options) => {
2165
2160
  );
2166
2161
  };
2167
2162
 
2163
+ // src/openapi-client/generated/logs/logs.ts
2164
+ var getProjectLogs = (params, options) => {
2165
+ return openfortApiClient(
2166
+ {
2167
+ url: `/v1/logs`,
2168
+ method: "GET",
2169
+ params
2170
+ },
2171
+ options
2172
+ );
2173
+ };
2174
+ var getWebhookLogsByProjectId = (options) => {
2175
+ return openfortApiClient(
2176
+ {
2177
+ url: `/v1/logs/webhook`,
2178
+ method: "GET"
2179
+ },
2180
+ options
2181
+ );
2182
+ };
2183
+
2168
2184
  // src/openapi-client/generated/onramp/onramp.ts
2169
2185
  var createOnrampSession = (onrampSessionRequest, options) => {
2170
2186
  return openfortApiClient(
@@ -2415,6 +2431,10 @@ var AuthProviderResponseV2 = {
2415
2431
  oidc: "oidc",
2416
2432
  siwe: "siwe"
2417
2433
  };
2434
+ var PregenerateAccountResponseCustody = {
2435
+ Developer: "Developer",
2436
+ User: "User"
2437
+ };
2418
2438
  var ThirdPartyOAuthProvider = {
2419
2439
  accelbyte: "accelbyte",
2420
2440
  firebase: "firebase",
@@ -2450,6 +2470,9 @@ var BackendWalletResponseChainType = {
2450
2470
  EVM: "EVM",
2451
2471
  SVM: "SVM"
2452
2472
  };
2473
+ var BackendWalletResponseCustody = {
2474
+ Developer: "Developer"
2475
+ };
2453
2476
  var BackendWalletListResponseObject = {
2454
2477
  list: "list"
2455
2478
  };
@@ -2497,6 +2520,10 @@ var RevokeWalletSecretResponseObject = {
2497
2520
  var RotateWalletSecretResponseObject = {
2498
2521
  walletSecretRotation: "walletSecretRotation"
2499
2522
  };
2523
+ var AccountV2ResponseCustody = {
2524
+ Developer: "Developer",
2525
+ User: "User"
2526
+ };
2500
2527
  var AccountListQueriesV2ChainType = {
2501
2528
  EVM: "EVM",
2502
2529
  SVM: "SVM"
@@ -3351,6 +3378,26 @@ var pregenerateUserV2 = (pregenerateUserRequestV2, options) => {
3351
3378
  options
3352
3379
  );
3353
3380
  };
3381
+ var meV2 = (options) => {
3382
+ return openfortApiClient(
3383
+ {
3384
+ url: `/iam/v2/me`,
3385
+ method: "GET"
3386
+ },
3387
+ options
3388
+ );
3389
+ };
3390
+ var thirdPartyV2 = (thirdPartyOAuthRequest, options) => {
3391
+ return openfortApiClient(
3392
+ {
3393
+ url: `/iam/v2/user/third_party`,
3394
+ method: "POST",
3395
+ headers: { "Content-Type": "application/json" },
3396
+ data: thirdPartyOAuthRequest
3397
+ },
3398
+ options
3399
+ );
3400
+ };
3354
3401
 
3355
3402
  // src/utilities/signer.ts
3356
3403
  import { createHmac } from "crypto";
@@ -4451,7 +4498,7 @@ var Openfort = class {
4451
4498
  */
4452
4499
  getSession(options) {
4453
4500
  const { accessToken, disableCookieCache } = options;
4454
- return default_exports.getGetSession(
4501
+ return auth_v2_exports.getGetSession(
4455
4502
  disableCookieCache !== void 0 ? { disableCookieCache } : void 0,
4456
4503
  { accessToken }
4457
4504
  );
@@ -4623,6 +4670,7 @@ export {
4623
4670
  AccountListQueriesV2Custody,
4624
4671
  AccountNotFoundError,
4625
4672
  AccountResponseExpandable,
4673
+ AccountV2ResponseCustody,
4626
4674
  Actions,
4627
4675
  ApiKeyType,
4628
4676
  AuthMigrationStatus,
@@ -4634,6 +4682,7 @@ export {
4634
4682
  BackendWalletListQueriesChainType,
4635
4683
  BackendWalletListResponseObject,
4636
4684
  BackendWalletResponseChainType,
4685
+ BackendWalletResponseCustody,
4637
4686
  BackendWalletResponseObject,
4638
4687
  BasicAuthProvider,
4639
4688
  BasicAuthProviderEMAIL,
@@ -4721,6 +4770,7 @@ export {
4721
4770
  PolicyRuleTypeACCOUNT,
4722
4771
  PolicyRuleTypeCONTRACT,
4723
4772
  PolicyRuleTypeRATELIMIT,
4773
+ PregenerateAccountResponseCustody,
4724
4774
  PregenerateUserRequestV2AccountType,
4725
4775
  PregenerateUserRequestV2ChainType,
4726
4776
  PrismaSortOrder,
@@ -4768,14 +4818,11 @@ export {
4768
4818
  UserProjectRoleMEMBER,
4769
4819
  UserProjectUpdateRequestRole,
4770
4820
  ValidationError,
4771
- anonymous_exports as authAnonymous,
4772
- default_exports as authApi,
4773
- email_otp_exports as authEmailOtp,
4774
- phone_number_exports as authPhoneNumber,
4821
+ auth_v2_exports as authApi,
4775
4822
  openfortAuth_schemas_exports as authSchemas,
4776
- siwe_exports as authSiwe,
4777
4823
  authenticateSIWE,
4778
4824
  authorize,
4825
+ callbackOAuth,
4779
4826
  cancelTransferAccountOwnership,
4780
4827
  cancelTransferOwnership,
4781
4828
  completeRecovery,
@@ -4818,6 +4865,7 @@ export {
4818
4865
  deleteTrigger,
4819
4866
  deleteUser,
4820
4867
  deployAccount,
4868
+ deprecatedCallbackOAuth,
4821
4869
  disableAccount,
4822
4870
  disablePolicy,
4823
4871
  enablePolicy,
@@ -4855,6 +4903,7 @@ export {
4855
4903
  getPolicyReportTransactionIntents,
4856
4904
  getPolicyRules,
4857
4905
  getPolicyTotalGasUsage,
4906
+ getProjectLogs,
4858
4907
  getSession,
4859
4908
  getSignerIdByAddress,
4860
4909
  getSubscription,
@@ -4864,6 +4913,8 @@ export {
4864
4913
  getTrigger,
4865
4914
  getTriggers,
4866
4915
  getVerificationPayload,
4916
+ getWebhookLogsByProjectId,
4917
+ grantOAuth,
4867
4918
  handleChainRpcRequest,
4868
4919
  handleRpcRequest,
4869
4920
  importPrivateKey,