@dfns/sdk 0.7.14-rc.0 → 0.7.15-rc.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.
@@ -69,8 +69,8 @@ export declare class AuthClient {
69
69
  sendLoginCode(request: T.SendLoginCodeRequest): Promise<T.SendLoginCodeResponse>;
70
70
  sendRecoveryCode(request: T.SendRecoveryCodeRequest): Promise<T.SendRecoveryCodeResponse>;
71
71
  socialLogin(request: T.SocialLoginRequest): Promise<T.SocialLoginResponse>;
72
- sSOLogin(request: T.SSOLoginRequest): Promise<T.SSOLoginResponse>;
73
- sSOLoginInit(request: T.SSOLoginInitRequest): Promise<T.SSOLoginInitResponse>;
72
+ ssoLogin(request: T.SsoLoginRequest): Promise<T.SsoLoginResponse>;
73
+ ssoLoginInit(request: T.SsoLoginInitRequest): Promise<T.SsoLoginInitResponse>;
74
74
  updatePersonalAccessToken(request: T.UpdatePersonalAccessTokenRequest): Promise<T.UpdatePersonalAccessTokenResponse>;
75
75
  updateServiceAccount(request: T.UpdateServiceAccountRequest): Promise<T.UpdateServiceAccountResponse>;
76
76
  updateUser(request: T.UpdateUserRequest): Promise<T.UpdateUserResponse>;
@@ -610,7 +610,7 @@ class AuthClient {
610
610
  });
611
611
  return response.json();
612
612
  }
613
- async sSOLogin(request) {
613
+ async ssoLogin(request) {
614
614
  const path = (0, url_1.buildPathAndQuery)('/auth/login/sso', {
615
615
  path: request ?? {},
616
616
  query: {},
@@ -622,7 +622,7 @@ class AuthClient {
622
622
  });
623
623
  return response.json();
624
624
  }
625
- async sSOLoginInit(request) {
625
+ async ssoLoginInit(request) {
626
626
  const path = (0, url_1.buildPathAndQuery)('/auth/login/sso/init', {
627
627
  path: request ?? {},
628
628
  query: {},
@@ -81,8 +81,8 @@ export declare class DelegatedAuthClient {
81
81
  sendLoginCode(request: T.SendLoginCodeRequest): Promise<T.SendLoginCodeResponse>;
82
82
  sendRecoveryCode(request: T.SendRecoveryCodeRequest): Promise<T.SendRecoveryCodeResponse>;
83
83
  socialLogin(request: T.SocialLoginRequest): Promise<T.SocialLoginResponse>;
84
- sSOLogin(request: T.SSOLoginRequest): Promise<T.SSOLoginResponse>;
85
- sSOLoginInit(request: T.SSOLoginInitRequest): Promise<T.SSOLoginInitResponse>;
84
+ ssoLogin(request: T.SsoLoginRequest): Promise<T.SsoLoginResponse>;
85
+ ssoLoginInit(request: T.SsoLoginInitRequest): Promise<T.SsoLoginInitResponse>;
86
86
  updatePersonalAccessTokenInit(request: T.UpdatePersonalAccessTokenRequest): Promise<UserActionChallengeResponse>;
87
87
  updatePersonalAccessTokenComplete(request: T.UpdatePersonalAccessTokenRequest, signedChallenge: SignUserActionChallengeRequest): Promise<T.UpdatePersonalAccessTokenResponse>;
88
88
  updateServiceAccountInit(request: T.UpdateServiceAccountRequest): Promise<UserActionChallengeResponse>;
@@ -878,7 +878,7 @@ class DelegatedAuthClient {
878
878
  });
879
879
  return response.json();
880
880
  }
881
- async sSOLogin(request) {
881
+ async ssoLogin(request) {
882
882
  const path = (0, url_1.buildPathAndQuery)('/auth/login/sso', {
883
883
  path: request ?? {},
884
884
  query: {},
@@ -890,7 +890,7 @@ class DelegatedAuthClient {
890
890
  });
891
891
  return response.json();
892
892
  }
893
- async sSOLoginInit(request) {
893
+ async ssoLoginInit(request) {
894
894
  const path = (0, url_1.buildPathAndQuery)('/auth/login/sso/init', {
895
895
  path: request ?? {},
896
896
  query: {},
@@ -15,7 +15,7 @@ export type ActivatePersonalAccessTokenResponse = {
15
15
  dateCreated: string;
16
16
  credId: string;
17
17
  isActive: boolean;
18
- /** Access token kind */
18
+ /** Access token kind. */
19
19
  kind: "Pat" | "ServiceAccount" | "Token" | "Code" | "Recovery" | "Temp" | "Application";
20
20
  linkedUserId: string;
21
21
  linkedAppId: string;
@@ -38,7 +38,9 @@ export type ActivateServiceAccountResponse = {
38
38
  userInfo: {
39
39
  username: string;
40
40
  name: string;
41
+ /** User id. */
41
42
  userId: string;
43
+ /** User kind. */
42
44
  kind: "CustomerEmployee" | "DfnsStaff" | "EndUser";
43
45
  credentialUuid: string;
44
46
  orgId: string;
@@ -58,7 +60,7 @@ export type ActivateServiceAccountResponse = {
58
60
  dateCreated: string;
59
61
  credId: string;
60
62
  isActive: boolean;
61
- /** Access token kind */
63
+ /** Access token kind. */
62
64
  kind: "Pat" | "ServiceAccount" | "Token" | "Code" | "Recovery" | "Temp" | "Application";
63
65
  linkedUserId: string;
64
66
  linkedAppId: string;
@@ -81,7 +83,9 @@ export type ActivateUserParams = {
81
83
  export type ActivateUserResponse = {
82
84
  username: string;
83
85
  name: string;
86
+ /** User id. */
84
87
  userId: string;
88
+ /** User kind. */
85
89
  kind: "CustomerEmployee" | "DfnsStaff" | "EndUser";
86
90
  credentialUuid: string;
87
91
  orgId: string;
@@ -106,7 +110,7 @@ export type ArchivePersonalAccessTokenResponse = {
106
110
  dateCreated: string;
107
111
  credId: string;
108
112
  isActive: boolean;
109
- /** Access token kind */
113
+ /** Access token kind. */
110
114
  kind: "Pat" | "ServiceAccount" | "Token" | "Code" | "Recovery" | "Temp" | "Application";
111
115
  linkedUserId: string;
112
116
  linkedAppId: string;
@@ -129,7 +133,9 @@ export type ArchiveServiceAccountResponse = {
129
133
  userInfo: {
130
134
  username: string;
131
135
  name: string;
136
+ /** User id. */
132
137
  userId: string;
138
+ /** User kind. */
133
139
  kind: "CustomerEmployee" | "DfnsStaff" | "EndUser";
134
140
  credentialUuid: string;
135
141
  orgId: string;
@@ -149,7 +155,7 @@ export type ArchiveServiceAccountResponse = {
149
155
  dateCreated: string;
150
156
  credId: string;
151
157
  isActive: boolean;
152
- /** Access token kind */
158
+ /** Access token kind. */
153
159
  kind: "Pat" | "ServiceAccount" | "Token" | "Code" | "Recovery" | "Temp" | "Application";
154
160
  linkedUserId: string;
155
161
  linkedAppId: string;
@@ -172,7 +178,9 @@ export type ArchiveUserParams = {
172
178
  export type ArchiveUserResponse = {
173
179
  username: string;
174
180
  name: string;
181
+ /** User id. */
175
182
  userId: string;
183
+ /** User kind. */
176
184
  kind: "CustomerEmployee" | "DfnsStaff" | "EndUser";
177
185
  credentialUuid: string;
178
186
  orgId: string;
@@ -839,7 +847,9 @@ export type CreateServiceAccountResponse = {
839
847
  userInfo: {
840
848
  username: string;
841
849
  name: string;
850
+ /** User id. */
842
851
  userId: string;
852
+ /** User kind. */
843
853
  kind: "CustomerEmployee" | "DfnsStaff" | "EndUser";
844
854
  credentialUuid: string;
845
855
  orgId: string;
@@ -859,7 +869,7 @@ export type CreateServiceAccountResponse = {
859
869
  dateCreated: string;
860
870
  credId: string;
861
871
  isActive: boolean;
862
- /** Access token kind */
872
+ /** Access token kind. */
863
873
  kind: "Pat" | "ServiceAccount" | "Token" | "Code" | "Recovery" | "Temp" | "Application";
864
874
  linkedUserId: string;
865
875
  linkedAppId: string;
@@ -934,7 +944,9 @@ export type CreateUserBody = {
934
944
  export type CreateUserResponse = {
935
945
  username: string;
936
946
  name: string;
947
+ /** User id. */
937
948
  userId: string;
949
+ /** User kind. */
938
950
  kind: "CustomerEmployee" | "DfnsStaff" | "EndUser";
939
951
  credentialUuid: string;
940
952
  orgId: string;
@@ -1082,7 +1094,7 @@ export type DeactivatePersonalAccessTokenResponse = {
1082
1094
  dateCreated: string;
1083
1095
  credId: string;
1084
1096
  isActive: boolean;
1085
- /** Access token kind */
1097
+ /** Access token kind. */
1086
1098
  kind: "Pat" | "ServiceAccount" | "Token" | "Code" | "Recovery" | "Temp" | "Application";
1087
1099
  linkedUserId: string;
1088
1100
  linkedAppId: string;
@@ -1105,7 +1117,9 @@ export type DeactivateServiceAccountResponse = {
1105
1117
  userInfo: {
1106
1118
  username: string;
1107
1119
  name: string;
1120
+ /** User id. */
1108
1121
  userId: string;
1122
+ /** User kind. */
1109
1123
  kind: "CustomerEmployee" | "DfnsStaff" | "EndUser";
1110
1124
  credentialUuid: string;
1111
1125
  orgId: string;
@@ -1125,7 +1139,7 @@ export type DeactivateServiceAccountResponse = {
1125
1139
  dateCreated: string;
1126
1140
  credId: string;
1127
1141
  isActive: boolean;
1128
- /** Access token kind */
1142
+ /** Access token kind. */
1129
1143
  kind: "Pat" | "ServiceAccount" | "Token" | "Code" | "Recovery" | "Temp" | "Application";
1130
1144
  linkedUserId: string;
1131
1145
  linkedAppId: string;
@@ -1148,7 +1162,9 @@ export type DeactivateUserParams = {
1148
1162
  export type DeactivateUserResponse = {
1149
1163
  username: string;
1150
1164
  name: string;
1165
+ /** User id. */
1151
1166
  userId: string;
1167
+ /** User kind. */
1152
1168
  kind: "CustomerEmployee" | "DfnsStaff" | "EndUser";
1153
1169
  credentialUuid: string;
1154
1170
  orgId: string;
@@ -1196,7 +1212,7 @@ export type GetApplicationResponse = {
1196
1212
  dateCreated: string;
1197
1213
  credId: string;
1198
1214
  isActive: boolean;
1199
- /** Access token kind */
1215
+ /** Access token kind. */
1200
1216
  kind: "Pat" | "ServiceAccount" | "Token" | "Code" | "Recovery" | "Temp" | "Application";
1201
1217
  linkedUserId: string;
1202
1218
  linkedAppId: string;
@@ -1243,7 +1259,7 @@ export type GetPersonalAccessTokenResponse = {
1243
1259
  dateCreated: string;
1244
1260
  credId: string;
1245
1261
  isActive: boolean;
1246
- /** Access token kind */
1262
+ /** Access token kind. */
1247
1263
  kind: "Pat" | "ServiceAccount" | "Token" | "Code" | "Recovery" | "Temp" | "Application";
1248
1264
  linkedUserId: string;
1249
1265
  linkedAppId: string;
@@ -1266,7 +1282,9 @@ export type GetServiceAccountResponse = {
1266
1282
  userInfo: {
1267
1283
  username: string;
1268
1284
  name: string;
1285
+ /** User id. */
1269
1286
  userId: string;
1287
+ /** User kind. */
1270
1288
  kind: "CustomerEmployee" | "DfnsStaff" | "EndUser";
1271
1289
  credentialUuid: string;
1272
1290
  orgId: string;
@@ -1286,7 +1304,7 @@ export type GetServiceAccountResponse = {
1286
1304
  dateCreated: string;
1287
1305
  credId: string;
1288
1306
  isActive: boolean;
1289
- /** Access token kind */
1307
+ /** Access token kind. */
1290
1308
  kind: "Pat" | "ServiceAccount" | "Token" | "Code" | "Recovery" | "Temp" | "Application";
1291
1309
  linkedUserId: string;
1292
1310
  linkedAppId: string;
@@ -1309,7 +1327,9 @@ export type GetUserParams = {
1309
1327
  export type GetUserResponse = {
1310
1328
  username: string;
1311
1329
  name: string;
1330
+ /** User id. */
1312
1331
  userId: string;
1332
+ /** User kind. */
1313
1333
  kind: "CustomerEmployee" | "DfnsStaff" | "EndUser";
1314
1334
  credentialUuid: string;
1315
1335
  orgId: string;
@@ -1346,7 +1366,7 @@ export type ListApplicationsResponse = {
1346
1366
  dateCreated: string;
1347
1367
  credId: string;
1348
1368
  isActive: boolean;
1349
- /** Access token kind */
1369
+ /** Access token kind. */
1350
1370
  kind: "Pat" | "ServiceAccount" | "Token" | "Code" | "Recovery" | "Temp" | "Application";
1351
1371
  linkedUserId: string;
1352
1372
  linkedAppId: string;
@@ -1391,7 +1411,7 @@ export type ListPersonalAccessTokensResponse = {
1391
1411
  dateCreated: string;
1392
1412
  credId: string;
1393
1413
  isActive: boolean;
1394
- /** Access token kind */
1414
+ /** Access token kind. */
1395
1415
  kind: "Pat" | "ServiceAccount" | "Token" | "Code" | "Recovery" | "Temp" | "Application";
1396
1416
  linkedUserId: string;
1397
1417
  linkedAppId: string;
@@ -1412,7 +1432,9 @@ export type ListServiceAccountsResponse = {
1412
1432
  userInfo: {
1413
1433
  username: string;
1414
1434
  name: string;
1435
+ /** User id. */
1415
1436
  userId: string;
1437
+ /** User kind. */
1416
1438
  kind: "CustomerEmployee" | "DfnsStaff" | "EndUser";
1417
1439
  credentialUuid: string;
1418
1440
  orgId: string;
@@ -1432,7 +1454,7 @@ export type ListServiceAccountsResponse = {
1432
1454
  dateCreated: string;
1433
1455
  credId: string;
1434
1456
  isActive: boolean;
1435
- /** Access token kind */
1457
+ /** Access token kind. */
1436
1458
  kind: "Pat" | "ServiceAccount" | "Token" | "Code" | "Recovery" | "Temp" | "Application";
1437
1459
  linkedUserId: string;
1438
1460
  linkedAppId: string;
@@ -1458,7 +1480,9 @@ export type ListUsersResponse = {
1458
1480
  items: {
1459
1481
  username: string;
1460
1482
  name: string;
1483
+ /** User id. */
1461
1484
  userId: string;
1485
+ /** User kind. */
1462
1486
  kind: "CustomerEmployee" | "DfnsStaff" | "EndUser";
1463
1487
  credentialUuid: string;
1464
1488
  orgId: string;
@@ -1835,6 +1859,7 @@ export type RegisterEndUserBody = {
1835
1859
  } | undefined;
1836
1860
  wallets: {
1837
1861
  network: ("Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Adi" | "AdiTestnet" | "BabylonGenesis" | "BabylonTestnet5" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "BitcoinCash" | "BitcoinCashTestnet" | "Bob" | "BobSepolia" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Celo" | "CeloAlfajores" | "Codex" | "CodexSepolia" | "CosmosHub4" | "CosmosIcsTestnet" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "EthereumHoodi" | "FantomOpera" | "FantomTestnet" | "FlareC" | "FlareCCoston2" | "Hedera" | "HederaTestnet" | "Ink" | "InkSepolia" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "KadenaTestnet4" | "KadenaTestnet4:1" | "KadenaTestnet4:2" | "KadenaTestnet4:3" | "KadenaTestnet4:4" | "KadenaTestnet4:5" | "KadenaTestnet4:6" | "KadenaTestnet4:7" | "KadenaTestnet4:8" | "KadenaTestnet4:9" | "KadenaTestnet4:10" | "KadenaTestnet4:11" | "KadenaTestnet4:12" | "KadenaTestnet4:13" | "KadenaTestnet4:14" | "KadenaTestnet4:15" | "KadenaTestnet4:16" | "KadenaTestnet4:17" | "KadenaTestnet4:18" | "KadenaTestnet4:19" | "Kadena" | "Kadena:1" | "Kadena:2" | "Kadena:3" | "Kadena:4" | "Kadena:5" | "Kadena:6" | "Kadena:7" | "Kadena:8" | "Kadena:9" | "Kadena:10" | "Kadena:11" | "Kadena:12" | "Kadena:13" | "Kadena:14" | "Kadena:15" | "Kadena:16" | "Kadena:17" | "Kadena:18" | "Kadena:19" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Near" | "NearTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Plume" | "PlumeSepolia" | "Polkadot" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Sonic" | "SonicTestnet" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tsc" | "TscTestnet1" | "Tezos" | "TezosGhostnet" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "XrpLedger" | "XrpLedgerTestnet") | ("KeyECDSA" | "KeyEdDSA" | "KeyECDSAStark");
1862
+ /** Wallet nickname. */
1838
1863
  name?: string | undefined;
1839
1864
  }[];
1840
1865
  };
@@ -1861,6 +1886,7 @@ export type RegisterEndUserResponse = {
1861
1886
  address?: string | undefined;
1862
1887
  /** Details about the key underlying the wallet. */
1863
1888
  signingKey: {
1889
+ /** Key id. */
1864
1890
  id: string;
1865
1891
  /** Key scheme. */
1866
1892
  scheme: "DH" | "ECDSA" | "EdDSA" | "Schnorr";
@@ -1874,6 +1900,8 @@ export type RegisterEndUserResponse = {
1874
1900
  status: "Active" | "Archived";
1875
1901
  /** [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date string when wallet was created. */
1876
1902
  dateCreated: string;
1903
+ /** [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date string when wallet was deleted. */
1904
+ dateDeleted?: string | undefined;
1877
1905
  /** Wallet nickname. */
1878
1906
  name?: string | undefined;
1879
1907
  /** Whether the wallet is owned by an end user (non-custodial), or by your organization (custodial). */
@@ -1930,31 +1958,32 @@ export type SocialLoginResponse = {
1930
1958
  export type SocialLoginRequest = {
1931
1959
  body: SocialLoginBody;
1932
1960
  };
1933
- export type SSOLoginBody = {
1961
+ export type SsoLoginBody = {
1934
1962
  /** Authorization code obtained from the IdP */
1935
1963
  code: string;
1936
1964
  /** State forwarded by the IdP */
1937
1965
  state: string;
1938
1966
  };
1939
- export type SSOLoginResponse = {
1967
+ export type SsoLoginResponse = {
1940
1968
  token: string;
1941
1969
  };
1942
- export type SSOLoginRequest = {
1943
- body: SSOLoginBody;
1970
+ export type SsoLoginRequest = {
1971
+ body: SsoLoginBody;
1944
1972
  };
1945
- export type SSOLoginInitBody = {
1973
+ export type SsoLoginInitBody = {
1974
+ /** Organization id. */
1946
1975
  orgId: string;
1947
1976
  /** Client Id obtained from the IdP */
1948
1977
  clientId: string;
1949
1978
  /** Redirect URI used for the authentication flow */
1950
1979
  redirectUri: string;
1951
1980
  };
1952
- export type SSOLoginInitResponse = {
1981
+ export type SsoLoginInitResponse = {
1953
1982
  /** The URL to redirect the user to authenticate with the IdP */
1954
1983
  ssoRedirectUrl: string;
1955
1984
  };
1956
- export type SSOLoginInitRequest = {
1957
- body: SSOLoginInitBody;
1985
+ export type SsoLoginInitRequest = {
1986
+ body: SsoLoginInitBody;
1958
1987
  };
1959
1988
  export type UpdatePersonalAccessTokenBody = {
1960
1989
  name?: string | undefined;
@@ -1968,7 +1997,7 @@ export type UpdatePersonalAccessTokenResponse = {
1968
1997
  dateCreated: string;
1969
1998
  credId: string;
1970
1999
  isActive: boolean;
1971
- /** Access token kind */
2000
+ /** Access token kind. */
1972
2001
  kind: "Pat" | "ServiceAccount" | "Token" | "Code" | "Recovery" | "Temp" | "Application";
1973
2002
  linkedUserId: string;
1974
2003
  linkedAppId: string;
@@ -1997,7 +2026,9 @@ export type UpdateServiceAccountResponse = {
1997
2026
  userInfo: {
1998
2027
  username: string;
1999
2028
  name: string;
2029
+ /** User id. */
2000
2030
  userId: string;
2031
+ /** User kind. */
2001
2032
  kind: "CustomerEmployee" | "DfnsStaff" | "EndUser";
2002
2033
  credentialUuid: string;
2003
2034
  orgId: string;
@@ -2017,7 +2048,7 @@ export type UpdateServiceAccountResponse = {
2017
2048
  dateCreated: string;
2018
2049
  credId: string;
2019
2050
  isActive: boolean;
2020
- /** Access token kind */
2051
+ /** Access token kind. */
2021
2052
  kind: "Pat" | "ServiceAccount" | "Token" | "Code" | "Recovery" | "Temp" | "Application";
2022
2053
  linkedUserId: string;
2023
2054
  linkedAppId: string;
@@ -2045,7 +2076,9 @@ export type UpdateUserParams = {
2045
2076
  export type UpdateUserResponse = {
2046
2077
  username: string;
2047
2078
  name: string;
2079
+ /** User id. */
2048
2080
  userId: string;
2081
+ /** User kind. */
2049
2082
  kind: "CustomerEmployee" | "DfnsStaff" | "EndUser";
2050
2083
  credentialUuid: string;
2051
2084
  orgId: string;
@@ -983,14 +983,18 @@ export type ListAccountAssetsParams = {
983
983
  accountId: string;
984
984
  };
985
985
  export type ListAccountAssetsQuery = {
986
+ /** Maximum number of items to return. */
986
987
  limit?: number | undefined;
988
+ /** Opaque token used to retrieve the next page. Returned as `nextPageToken` from the previous request. */
987
989
  paginationToken?: string | undefined;
988
990
  };
989
991
  export type ListAccountAssetsResponse = {
992
+ /** Current page items. */
990
993
  items: {
991
994
  symbol: string;
992
995
  balance: string;
993
996
  }[];
997
+ /** token to use as `paginationToken` to request the next page. */
994
998
  nextPageToken?: string | undefined;
995
999
  };
996
1000
  export type ListAccountAssetsRequest = ListAccountAssetsParams & {
@@ -1000,16 +1004,20 @@ export type ListAccountsParams = {
1000
1004
  exchangeId: string;
1001
1005
  };
1002
1006
  export type ListAccountsQuery = {
1007
+ /** Maximum number of items to return. */
1003
1008
  limit?: number | undefined;
1009
+ /** Opaque token used to retrieve the next page. Returned as `nextPageToken` from the previous request. */
1004
1010
  paginationToken?: string | undefined;
1005
1011
  };
1006
1012
  export type ListAccountsResponse = {
1013
+ /** Current page items. */
1007
1014
  items: {
1008
1015
  id: string;
1009
1016
  name?: string | undefined;
1010
1017
  exchangeId: string;
1011
1018
  exchangeName?: string | undefined;
1012
1019
  }[];
1020
+ /** token to use as `paginationToken` to request the next page. */
1013
1021
  nextPageToken?: string | undefined;
1014
1022
  };
1015
1023
  export type ListAccountsRequest = ListAccountsParams & {
@@ -1059,16 +1067,20 @@ export type ListAssetWithdrawalNetworksResponse = (({
1059
1067
  })[];
1060
1068
  export type ListAssetWithdrawalNetworksRequest = ListAssetWithdrawalNetworksParams;
1061
1069
  export type ListExchangesQuery = {
1070
+ /** Maximum number of items to return. */
1062
1071
  limit?: number | undefined;
1072
+ /** Opaque token used to retrieve the next page. Returned as `nextPageToken` from the previous request. */
1063
1073
  paginationToken?: string | undefined;
1064
1074
  };
1065
1075
  export type ListExchangesResponse = {
1076
+ /** Current page items. */
1066
1077
  items: {
1067
1078
  id: string;
1068
1079
  name?: string | undefined;
1069
1080
  kind: "Binance" | "Kraken" | "CoinbaseApp" | "CoinbasePrime";
1070
1081
  dateCreated: string;
1071
1082
  }[];
1083
+ /** token to use as `paginationToken` to request the next page. */
1072
1084
  nextPageToken?: string | undefined;
1073
1085
  };
1074
1086
  export type ListExchangesRequest = {
@@ -1,69 +1,106 @@
1
1
  export type ActivateFeeSponsorParams = {
2
+ /** Which Fee Sponsor you wish to activate. */
2
3
  feeSponsorId: string;
3
4
  };
4
5
  export type ActivateFeeSponsorResponse = {
6
+ /** Fee Sponsor id. */
5
7
  id: string;
8
+ /** Nickname for the Fee Sponsor. This is displayed on the transfer modal in the dashboard. */
6
9
  name?: string | undefined;
10
+ /** Id of the wallet that is used to sponsor the fee for other wallets */
7
11
  walletId: string;
12
+ /** Network used for the wallet. */
8
13
  network: "Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Adi" | "AdiTestnet" | "BabylonGenesis" | "BabylonTestnet5" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "BitcoinCash" | "BitcoinCashTestnet" | "Bob" | "BobSepolia" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Celo" | "CeloAlfajores" | "Codex" | "CodexSepolia" | "CosmosHub4" | "CosmosIcsTestnet" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "EthereumHoodi" | "FantomOpera" | "FantomTestnet" | "FlareC" | "FlareCCoston2" | "Hedera" | "HederaTestnet" | "Ink" | "InkSepolia" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "KadenaTestnet4" | "KadenaTestnet4:1" | "KadenaTestnet4:2" | "KadenaTestnet4:3" | "KadenaTestnet4:4" | "KadenaTestnet4:5" | "KadenaTestnet4:6" | "KadenaTestnet4:7" | "KadenaTestnet4:8" | "KadenaTestnet4:9" | "KadenaTestnet4:10" | "KadenaTestnet4:11" | "KadenaTestnet4:12" | "KadenaTestnet4:13" | "KadenaTestnet4:14" | "KadenaTestnet4:15" | "KadenaTestnet4:16" | "KadenaTestnet4:17" | "KadenaTestnet4:18" | "KadenaTestnet4:19" | "Kadena" | "Kadena:1" | "Kadena:2" | "Kadena:3" | "Kadena:4" | "Kadena:5" | "Kadena:6" | "Kadena:7" | "Kadena:8" | "Kadena:9" | "Kadena:10" | "Kadena:11" | "Kadena:12" | "Kadena:13" | "Kadena:14" | "Kadena:15" | "Kadena:16" | "Kadena:17" | "Kadena:18" | "Kadena:19" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Near" | "NearTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Plume" | "PlumeSepolia" | "Polkadot" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Sonic" | "SonicTestnet" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tsc" | "TscTestnet1" | "Tezos" | "TezosGhostnet" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "XrpLedger" | "XrpLedgerTestnet";
14
+ /** Fee sponsor status. */
9
15
  status: "Active" | "Deactivated" | "Archived";
10
16
  dateCreated: string;
17
+ /** Defines whether EndUsers and their delegated wallets can use this Fee Sponsor. */
11
18
  allowEndUser?: boolean | undefined;
12
19
  };
13
20
  export type ActivateFeeSponsorRequest = ActivateFeeSponsorParams;
14
21
  export type CreateFeeSponsorBody = {
22
+ /** Nickname for the Fee Sponsor. This will be displayed on the transfer modal in the dashboard. */
15
23
  name?: string | undefined;
24
+ /** Id of the wallet that will be used to sponsor the fee for other wallets. */
16
25
  walletId: string;
17
- allowEndUser?: boolean;
26
+ /** Defines whether EndUsers and their delegated wallets can use this Fee Sponsor. */
27
+ allowEndUser?: boolean | undefined;
18
28
  };
19
29
  export type CreateFeeSponsorResponse = {
30
+ /** Fee Sponsor id. */
20
31
  id: string;
32
+ /** Nickname for the Fee Sponsor. This is displayed on the transfer modal in the dashboard. */
21
33
  name?: string | undefined;
34
+ /** Id of the wallet that is used to sponsor the fee for other wallets */
22
35
  walletId: string;
36
+ /** Network used for the wallet. */
23
37
  network: "Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Adi" | "AdiTestnet" | "BabylonGenesis" | "BabylonTestnet5" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "BitcoinCash" | "BitcoinCashTestnet" | "Bob" | "BobSepolia" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Celo" | "CeloAlfajores" | "Codex" | "CodexSepolia" | "CosmosHub4" | "CosmosIcsTestnet" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "EthereumHoodi" | "FantomOpera" | "FantomTestnet" | "FlareC" | "FlareCCoston2" | "Hedera" | "HederaTestnet" | "Ink" | "InkSepolia" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "KadenaTestnet4" | "KadenaTestnet4:1" | "KadenaTestnet4:2" | "KadenaTestnet4:3" | "KadenaTestnet4:4" | "KadenaTestnet4:5" | "KadenaTestnet4:6" | "KadenaTestnet4:7" | "KadenaTestnet4:8" | "KadenaTestnet4:9" | "KadenaTestnet4:10" | "KadenaTestnet4:11" | "KadenaTestnet4:12" | "KadenaTestnet4:13" | "KadenaTestnet4:14" | "KadenaTestnet4:15" | "KadenaTestnet4:16" | "KadenaTestnet4:17" | "KadenaTestnet4:18" | "KadenaTestnet4:19" | "Kadena" | "Kadena:1" | "Kadena:2" | "Kadena:3" | "Kadena:4" | "Kadena:5" | "Kadena:6" | "Kadena:7" | "Kadena:8" | "Kadena:9" | "Kadena:10" | "Kadena:11" | "Kadena:12" | "Kadena:13" | "Kadena:14" | "Kadena:15" | "Kadena:16" | "Kadena:17" | "Kadena:18" | "Kadena:19" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Near" | "NearTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Plume" | "PlumeSepolia" | "Polkadot" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Sonic" | "SonicTestnet" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tsc" | "TscTestnet1" | "Tezos" | "TezosGhostnet" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "XrpLedger" | "XrpLedgerTestnet";
38
+ /** Fee sponsor status. */
24
39
  status: "Active" | "Deactivated" | "Archived";
25
40
  dateCreated: string;
41
+ /** Defines whether EndUsers and their delegated wallets can use this Fee Sponsor. */
26
42
  allowEndUser?: boolean | undefined;
27
43
  };
28
44
  export type CreateFeeSponsorRequest = {
29
45
  body: CreateFeeSponsorBody;
30
46
  };
31
47
  export type DeactivateFeeSponsorParams = {
48
+ /** Which Fee Sponsor you wish to deactivate. */
32
49
  feeSponsorId: string;
33
50
  };
34
51
  export type DeactivateFeeSponsorResponse = {
52
+ /** Fee Sponsor id. */
35
53
  id: string;
54
+ /** Nickname for the Fee Sponsor. This is displayed on the transfer modal in the dashboard. */
36
55
  name?: string | undefined;
56
+ /** Id of the wallet that is used to sponsor the fee for other wallets */
37
57
  walletId: string;
58
+ /** Network used for the wallet. */
38
59
  network: "Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Adi" | "AdiTestnet" | "BabylonGenesis" | "BabylonTestnet5" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "BitcoinCash" | "BitcoinCashTestnet" | "Bob" | "BobSepolia" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Celo" | "CeloAlfajores" | "Codex" | "CodexSepolia" | "CosmosHub4" | "CosmosIcsTestnet" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "EthereumHoodi" | "FantomOpera" | "FantomTestnet" | "FlareC" | "FlareCCoston2" | "Hedera" | "HederaTestnet" | "Ink" | "InkSepolia" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "KadenaTestnet4" | "KadenaTestnet4:1" | "KadenaTestnet4:2" | "KadenaTestnet4:3" | "KadenaTestnet4:4" | "KadenaTestnet4:5" | "KadenaTestnet4:6" | "KadenaTestnet4:7" | "KadenaTestnet4:8" | "KadenaTestnet4:9" | "KadenaTestnet4:10" | "KadenaTestnet4:11" | "KadenaTestnet4:12" | "KadenaTestnet4:13" | "KadenaTestnet4:14" | "KadenaTestnet4:15" | "KadenaTestnet4:16" | "KadenaTestnet4:17" | "KadenaTestnet4:18" | "KadenaTestnet4:19" | "Kadena" | "Kadena:1" | "Kadena:2" | "Kadena:3" | "Kadena:4" | "Kadena:5" | "Kadena:6" | "Kadena:7" | "Kadena:8" | "Kadena:9" | "Kadena:10" | "Kadena:11" | "Kadena:12" | "Kadena:13" | "Kadena:14" | "Kadena:15" | "Kadena:16" | "Kadena:17" | "Kadena:18" | "Kadena:19" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Near" | "NearTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Plume" | "PlumeSepolia" | "Polkadot" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Sonic" | "SonicTestnet" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tsc" | "TscTestnet1" | "Tezos" | "TezosGhostnet" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "XrpLedger" | "XrpLedgerTestnet";
60
+ /** Fee sponsor status. */
39
61
  status: "Active" | "Deactivated" | "Archived";
40
62
  dateCreated: string;
63
+ /** Defines whether EndUsers and their delegated wallets can use this Fee Sponsor. */
41
64
  allowEndUser?: boolean | undefined;
42
65
  };
43
66
  export type DeactivateFeeSponsorRequest = DeactivateFeeSponsorParams;
44
67
  export type DeleteFeeSponsorParams = {
68
+ /** Which Fee Sponsor you wish to delete. */
45
69
  feeSponsorId: string;
46
70
  };
47
71
  export type DeleteFeeSponsorResponse = {
72
+ /** Fee Sponsor id. */
48
73
  id: string;
74
+ /** Nickname for the Fee Sponsor. This is displayed on the transfer modal in the dashboard. */
49
75
  name?: string | undefined;
76
+ /** Id of the wallet that is used to sponsor the fee for other wallets */
50
77
  walletId: string;
78
+ /** Network used for the wallet. */
51
79
  network: "Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Adi" | "AdiTestnet" | "BabylonGenesis" | "BabylonTestnet5" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "BitcoinCash" | "BitcoinCashTestnet" | "Bob" | "BobSepolia" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Celo" | "CeloAlfajores" | "Codex" | "CodexSepolia" | "CosmosHub4" | "CosmosIcsTestnet" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "EthereumHoodi" | "FantomOpera" | "FantomTestnet" | "FlareC" | "FlareCCoston2" | "Hedera" | "HederaTestnet" | "Ink" | "InkSepolia" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "KadenaTestnet4" | "KadenaTestnet4:1" | "KadenaTestnet4:2" | "KadenaTestnet4:3" | "KadenaTestnet4:4" | "KadenaTestnet4:5" | "KadenaTestnet4:6" | "KadenaTestnet4:7" | "KadenaTestnet4:8" | "KadenaTestnet4:9" | "KadenaTestnet4:10" | "KadenaTestnet4:11" | "KadenaTestnet4:12" | "KadenaTestnet4:13" | "KadenaTestnet4:14" | "KadenaTestnet4:15" | "KadenaTestnet4:16" | "KadenaTestnet4:17" | "KadenaTestnet4:18" | "KadenaTestnet4:19" | "Kadena" | "Kadena:1" | "Kadena:2" | "Kadena:3" | "Kadena:4" | "Kadena:5" | "Kadena:6" | "Kadena:7" | "Kadena:8" | "Kadena:9" | "Kadena:10" | "Kadena:11" | "Kadena:12" | "Kadena:13" | "Kadena:14" | "Kadena:15" | "Kadena:16" | "Kadena:17" | "Kadena:18" | "Kadena:19" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Near" | "NearTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Plume" | "PlumeSepolia" | "Polkadot" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Sonic" | "SonicTestnet" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tsc" | "TscTestnet1" | "Tezos" | "TezosGhostnet" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "XrpLedger" | "XrpLedgerTestnet";
80
+ /** Fee sponsor status. */
52
81
  status: "Active" | "Deactivated" | "Archived";
53
82
  dateCreated: string;
83
+ /** Defines whether EndUsers and their delegated wallets can use this Fee Sponsor. */
54
84
  allowEndUser?: boolean | undefined;
55
85
  };
56
86
  export type DeleteFeeSponsorRequest = DeleteFeeSponsorParams;
57
87
  export type GetFeeSponsorParams = {
88
+ /** Which Fee Sponsor you wish to retrieve. */
58
89
  feeSponsorId: string;
59
90
  };
60
91
  export type GetFeeSponsorResponse = {
92
+ /** Fee Sponsor id. */
61
93
  id: string;
94
+ /** Nickname for the Fee Sponsor. This is displayed on the transfer modal in the dashboard. */
62
95
  name?: string | undefined;
96
+ /** Id of the wallet that is used to sponsor the fee for other wallets */
63
97
  walletId: string;
98
+ /** Network used for the wallet. */
64
99
  network: "Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Adi" | "AdiTestnet" | "BabylonGenesis" | "BabylonTestnet5" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "BitcoinCash" | "BitcoinCashTestnet" | "Bob" | "BobSepolia" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Celo" | "CeloAlfajores" | "Codex" | "CodexSepolia" | "CosmosHub4" | "CosmosIcsTestnet" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "EthereumHoodi" | "FantomOpera" | "FantomTestnet" | "FlareC" | "FlareCCoston2" | "Hedera" | "HederaTestnet" | "Ink" | "InkSepolia" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "KadenaTestnet4" | "KadenaTestnet4:1" | "KadenaTestnet4:2" | "KadenaTestnet4:3" | "KadenaTestnet4:4" | "KadenaTestnet4:5" | "KadenaTestnet4:6" | "KadenaTestnet4:7" | "KadenaTestnet4:8" | "KadenaTestnet4:9" | "KadenaTestnet4:10" | "KadenaTestnet4:11" | "KadenaTestnet4:12" | "KadenaTestnet4:13" | "KadenaTestnet4:14" | "KadenaTestnet4:15" | "KadenaTestnet4:16" | "KadenaTestnet4:17" | "KadenaTestnet4:18" | "KadenaTestnet4:19" | "Kadena" | "Kadena:1" | "Kadena:2" | "Kadena:3" | "Kadena:4" | "Kadena:5" | "Kadena:6" | "Kadena:7" | "Kadena:8" | "Kadena:9" | "Kadena:10" | "Kadena:11" | "Kadena:12" | "Kadena:13" | "Kadena:14" | "Kadena:15" | "Kadena:16" | "Kadena:17" | "Kadena:18" | "Kadena:19" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Near" | "NearTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Plume" | "PlumeSepolia" | "Polkadot" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Sonic" | "SonicTestnet" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tsc" | "TscTestnet1" | "Tezos" | "TezosGhostnet" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "XrpLedger" | "XrpLedgerTestnet";
100
+ /** Fee sponsor status. */
65
101
  status: "Active" | "Deactivated" | "Archived";
66
102
  dateCreated: string;
103
+ /** Defines whether EndUsers and their delegated wallets can use this Fee Sponsor. */
67
104
  allowEndUser?: boolean | undefined;
68
105
  };
69
106
  export type GetFeeSponsorRequest = GetFeeSponsorParams;
@@ -73,12 +110,18 @@ export type ListFeeSponsorsQuery = {
73
110
  };
74
111
  export type ListFeeSponsorsResponse = {
75
112
  items: {
113
+ /** Fee Sponsor id. */
76
114
  id: string;
115
+ /** Nickname for the Fee Sponsor. This is displayed on the transfer modal in the dashboard. */
77
116
  name?: string | undefined;
117
+ /** Id of the wallet that is used to sponsor the fee for other wallets */
78
118
  walletId: string;
119
+ /** Network used for the wallet. */
79
120
  network: "Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Adi" | "AdiTestnet" | "BabylonGenesis" | "BabylonTestnet5" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "BitcoinCash" | "BitcoinCashTestnet" | "Bob" | "BobSepolia" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Celo" | "CeloAlfajores" | "Codex" | "CodexSepolia" | "CosmosHub4" | "CosmosIcsTestnet" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "EthereumHoodi" | "FantomOpera" | "FantomTestnet" | "FlareC" | "FlareCCoston2" | "Hedera" | "HederaTestnet" | "Ink" | "InkSepolia" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "KadenaTestnet4" | "KadenaTestnet4:1" | "KadenaTestnet4:2" | "KadenaTestnet4:3" | "KadenaTestnet4:4" | "KadenaTestnet4:5" | "KadenaTestnet4:6" | "KadenaTestnet4:7" | "KadenaTestnet4:8" | "KadenaTestnet4:9" | "KadenaTestnet4:10" | "KadenaTestnet4:11" | "KadenaTestnet4:12" | "KadenaTestnet4:13" | "KadenaTestnet4:14" | "KadenaTestnet4:15" | "KadenaTestnet4:16" | "KadenaTestnet4:17" | "KadenaTestnet4:18" | "KadenaTestnet4:19" | "Kadena" | "Kadena:1" | "Kadena:2" | "Kadena:3" | "Kadena:4" | "Kadena:5" | "Kadena:6" | "Kadena:7" | "Kadena:8" | "Kadena:9" | "Kadena:10" | "Kadena:11" | "Kadena:12" | "Kadena:13" | "Kadena:14" | "Kadena:15" | "Kadena:16" | "Kadena:17" | "Kadena:18" | "Kadena:19" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Near" | "NearTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Plume" | "PlumeSepolia" | "Polkadot" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Sonic" | "SonicTestnet" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tsc" | "TscTestnet1" | "Tezos" | "TezosGhostnet" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "XrpLedger" | "XrpLedgerTestnet";
121
+ /** Fee sponsor status. */
80
122
  status: "Active" | "Deactivated" | "Archived";
81
123
  dateCreated: string;
124
+ /** Defines whether EndUsers and their delegated wallets can use this Fee Sponsor. */
82
125
  allowEndUser?: boolean | undefined;
83
126
  }[];
84
127
  nextPageToken?: string | undefined;
@@ -87,6 +130,7 @@ export type ListFeeSponsorsRequest = {
87
130
  query?: ListFeeSponsorsQuery;
88
131
  };
89
132
  export type ListSponsoredFeesParams = {
133
+ /** Fee Sponsor to retrieve the fees from. */
90
134
  feeSponsorId: string;
91
135
  };
92
136
  export type ListSponsoredFeesQuery = {
@@ -95,13 +139,16 @@ export type ListSponsoredFeesQuery = {
95
139
  };
96
140
  export type ListSponsoredFeesResponse = {
97
141
  items: {
98
- id: string;
142
+ /** Fee Sponsor id. */
143
+ feeSponsorId: string;
144
+ /** Id of the entity being sponsored, e.g. a wallet id. */
99
145
  sponsoreeId: string;
146
+ /** Id of the request that was sponsored. */
100
147
  requestId: string;
101
- status: "Pending" | "Confirmed";
148
+ /** Fee amount that was paid for the request */
102
149
  fee?: string | undefined;
103
150
  dateRequested: string;
104
- dateConfirmed?: string | undefined;
151
+ dateConfirmed: string;
105
152
  }[];
106
153
  nextPageToken?: string | undefined;
107
154
  };