@dfns/sdk 0.6.6-rc.2 → 0.6.7

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.
@@ -1,6 +1,7 @@
1
1
  import { DfnsBaseApiOptions } from './baseAuthApi';
2
2
  import { AuthClient } from './generated/auth';
3
3
  import { ExchangesClient } from './generated/exchanges';
4
+ import { FeeSponsorsClient } from './generated/feeSponsors';
4
5
  import { KeysClient } from './generated/keys';
5
6
  import { NetworksClient } from './generated/networks';
6
7
  import { PermissionsClient } from './generated/permissions';
@@ -19,6 +20,7 @@ export declare class DfnsApiClient {
19
20
  constructor(apiOptions: DfnsApiClientOptions);
20
21
  get auth(): AuthClient;
21
22
  get exchanges(): ExchangesClient;
23
+ get feeSponsors(): FeeSponsorsClient;
22
24
  get keys(): KeysClient;
23
25
  get networks(): NetworksClient;
24
26
  get permissions(): PermissionsClient;
package/dfnsApiClient.js CHANGED
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DfnsApiClient = void 0;
4
4
  const auth_1 = require("./generated/auth");
5
5
  const exchanges_1 = require("./generated/exchanges");
6
+ const feeSponsors_1 = require("./generated/feeSponsors");
6
7
  const keys_1 = require("./generated/keys");
7
8
  const networks_1 = require("./generated/networks");
8
9
  const permissions_1 = require("./generated/permissions");
@@ -21,6 +22,9 @@ class DfnsApiClient {
21
22
  get exchanges() {
22
23
  return new exchanges_1.ExchangesClient(this.apiOptions);
23
24
  }
25
+ get feeSponsors() {
26
+ return new feeSponsors_1.FeeSponsorsClient(this.apiOptions);
27
+ }
24
28
  get keys() {
25
29
  return new keys_1.KeysClient(this.apiOptions);
26
30
  }
@@ -1,6 +1,7 @@
1
1
  import { DfnsBaseApiOptions } from './baseAuthApi';
2
2
  import { DelegatedAuthClient } from './generated/auth';
3
3
  import { DelegatedExchangesClient } from './generated/exchanges';
4
+ import { DelegatedFeeSponsorsClient } from './generated/feeSponsors';
4
5
  import { DelegatedKeysClient } from './generated/keys';
5
6
  import { DelegatedNetworksClient } from './generated/networks';
6
7
  import { DelegatedPermissionsClient } from './generated/permissions';
@@ -14,6 +15,7 @@ export declare class DfnsDelegatedApiClient {
14
15
  constructor(apiOptions: DfnsDelegatedApiClientOptions);
15
16
  get auth(): DelegatedAuthClient;
16
17
  get exchanges(): DelegatedExchangesClient;
18
+ get feeSponsors(): DelegatedFeeSponsorsClient;
17
19
  get keys(): DelegatedKeysClient;
18
20
  get networks(): DelegatedNetworksClient;
19
21
  get permissions(): DelegatedPermissionsClient;
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DfnsDelegatedApiClient = void 0;
4
4
  const auth_1 = require("./generated/auth");
5
5
  const exchanges_1 = require("./generated/exchanges");
6
+ const feeSponsors_1 = require("./generated/feeSponsors");
6
7
  const keys_1 = require("./generated/keys");
7
8
  const networks_1 = require("./generated/networks");
8
9
  const permissions_1 = require("./generated/permissions");
@@ -20,6 +21,9 @@ class DfnsDelegatedApiClient {
20
21
  get exchanges() {
21
22
  return new exchanges_1.DelegatedExchangesClient(this.apiOptions);
22
23
  }
24
+ get feeSponsors() {
25
+ return new feeSponsors_1.DelegatedFeeSponsorsClient(this.apiOptions);
26
+ }
23
27
  get keys() {
24
28
  return new keys_1.DelegatedKeysClient(this.apiOptions);
25
29
  }
@@ -4,6 +4,8 @@ export type CreateDepositBody = {
4
4
  priority?: ("Slow" | "Standard" | "Fast") | undefined;
5
5
  createDestinationAccount?: boolean | undefined;
6
6
  externalId?: string | undefined;
7
+ /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
8
+ feeSponsorId?: string | undefined;
7
9
  walletId: string;
8
10
  otp?: string | undefined;
9
11
  } | {
@@ -12,6 +14,8 @@ export type CreateDepositBody = {
12
14
  amount: string;
13
15
  priority?: ("Slow" | "Standard" | "Fast") | undefined;
14
16
  externalId?: string | undefined;
17
+ /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
18
+ feeSponsorId?: string | undefined;
15
19
  walletId: string;
16
20
  otp?: string | undefined;
17
21
  } | {
@@ -19,6 +23,8 @@ export type CreateDepositBody = {
19
23
  tokenId: string;
20
24
  amount: string;
21
25
  externalId?: string | undefined;
26
+ /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
27
+ feeSponsorId?: string | undefined;
22
28
  walletId: string;
23
29
  otp?: string | undefined;
24
30
  } | {
@@ -26,6 +32,8 @@ export type CreateDepositBody = {
26
32
  contract: string;
27
33
  amount: string;
28
34
  externalId?: string | undefined;
35
+ /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
36
+ feeSponsorId?: string | undefined;
29
37
  walletId: string;
30
38
  otp?: string | undefined;
31
39
  } | {
@@ -33,6 +41,8 @@ export type CreateDepositBody = {
33
41
  assetId: string;
34
42
  amount: string;
35
43
  externalId?: string | undefined;
44
+ /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
45
+ feeSponsorId?: string | undefined;
36
46
  walletId: string;
37
47
  otp?: string | undefined;
38
48
  } | {
@@ -41,6 +51,8 @@ export type CreateDepositBody = {
41
51
  assetCode: string;
42
52
  amount: string;
43
53
  externalId?: string | undefined;
54
+ /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
55
+ feeSponsorId?: string | undefined;
44
56
  walletId: string;
45
57
  otp?: string | undefined;
46
58
  } | {
@@ -49,6 +61,8 @@ export type CreateDepositBody = {
49
61
  mint: string;
50
62
  createDestinationAccount?: boolean | undefined;
51
63
  externalId?: string | undefined;
64
+ /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
65
+ feeSponsorId?: string | undefined;
52
66
  walletId: string;
53
67
  otp?: string | undefined;
54
68
  } | {
@@ -56,6 +70,8 @@ export type CreateDepositBody = {
56
70
  master: string;
57
71
  amount: string;
58
72
  externalId?: string | undefined;
73
+ /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
74
+ feeSponsorId?: string | undefined;
59
75
  walletId: string;
60
76
  otp?: string | undefined;
61
77
  };
@@ -82,6 +98,8 @@ export type CreateDepositResponse = {
82
98
  priority?: ("Slow" | "Standard" | "Fast") | undefined;
83
99
  createDestinationAccount?: boolean | undefined;
84
100
  externalId?: string | undefined;
101
+ /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
102
+ feeSponsorId?: string | undefined;
85
103
  walletId: string;
86
104
  otp?: string | undefined;
87
105
  } | {
@@ -90,6 +108,8 @@ export type CreateDepositResponse = {
90
108
  amount: string;
91
109
  priority?: ("Slow" | "Standard" | "Fast") | undefined;
92
110
  externalId?: string | undefined;
111
+ /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
112
+ feeSponsorId?: string | undefined;
93
113
  walletId: string;
94
114
  otp?: string | undefined;
95
115
  } | {
@@ -97,6 +117,8 @@ export type CreateDepositResponse = {
97
117
  tokenId: string;
98
118
  amount: string;
99
119
  externalId?: string | undefined;
120
+ /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
121
+ feeSponsorId?: string | undefined;
100
122
  walletId: string;
101
123
  otp?: string | undefined;
102
124
  } | {
@@ -104,6 +126,8 @@ export type CreateDepositResponse = {
104
126
  contract: string;
105
127
  amount: string;
106
128
  externalId?: string | undefined;
129
+ /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
130
+ feeSponsorId?: string | undefined;
107
131
  walletId: string;
108
132
  otp?: string | undefined;
109
133
  } | {
@@ -111,6 +135,8 @@ export type CreateDepositResponse = {
111
135
  assetId: string;
112
136
  amount: string;
113
137
  externalId?: string | undefined;
138
+ /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
139
+ feeSponsorId?: string | undefined;
114
140
  walletId: string;
115
141
  otp?: string | undefined;
116
142
  } | {
@@ -119,6 +145,8 @@ export type CreateDepositResponse = {
119
145
  assetCode: string;
120
146
  amount: string;
121
147
  externalId?: string | undefined;
148
+ /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
149
+ feeSponsorId?: string | undefined;
122
150
  walletId: string;
123
151
  otp?: string | undefined;
124
152
  } | {
@@ -127,6 +155,8 @@ export type CreateDepositResponse = {
127
155
  mint: string;
128
156
  createDestinationAccount?: boolean | undefined;
129
157
  externalId?: string | undefined;
158
+ /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
159
+ feeSponsorId?: string | undefined;
130
160
  walletId: string;
131
161
  otp?: string | undefined;
132
162
  } | {
@@ -134,6 +164,8 @@ export type CreateDepositResponse = {
134
164
  master: string;
135
165
  amount: string;
136
166
  externalId?: string | undefined;
167
+ /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
168
+ feeSponsorId?: string | undefined;
137
169
  walletId: string;
138
170
  otp?: string | undefined;
139
171
  };
@@ -173,6 +205,8 @@ export type CreateWithdrawalBody = {
173
205
  priority?: ("Slow" | "Standard" | "Fast") | undefined;
174
206
  createDestinationAccount?: boolean | undefined;
175
207
  externalId?: string | undefined;
208
+ /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
209
+ feeSponsorId?: string | undefined;
176
210
  walletId: string;
177
211
  otp?: string | undefined;
178
212
  } | {
@@ -181,6 +215,8 @@ export type CreateWithdrawalBody = {
181
215
  amount: string;
182
216
  priority?: ("Slow" | "Standard" | "Fast") | undefined;
183
217
  externalId?: string | undefined;
218
+ /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
219
+ feeSponsorId?: string | undefined;
184
220
  walletId: string;
185
221
  otp?: string | undefined;
186
222
  } | {
@@ -188,6 +224,8 @@ export type CreateWithdrawalBody = {
188
224
  tokenId: string;
189
225
  amount: string;
190
226
  externalId?: string | undefined;
227
+ /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
228
+ feeSponsorId?: string | undefined;
191
229
  walletId: string;
192
230
  otp?: string | undefined;
193
231
  } | {
@@ -195,6 +233,8 @@ export type CreateWithdrawalBody = {
195
233
  contract: string;
196
234
  amount: string;
197
235
  externalId?: string | undefined;
236
+ /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
237
+ feeSponsorId?: string | undefined;
198
238
  walletId: string;
199
239
  otp?: string | undefined;
200
240
  } | {
@@ -202,6 +242,8 @@ export type CreateWithdrawalBody = {
202
242
  assetId: string;
203
243
  amount: string;
204
244
  externalId?: string | undefined;
245
+ /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
246
+ feeSponsorId?: string | undefined;
205
247
  walletId: string;
206
248
  otp?: string | undefined;
207
249
  } | {
@@ -210,6 +252,8 @@ export type CreateWithdrawalBody = {
210
252
  assetCode: string;
211
253
  amount: string;
212
254
  externalId?: string | undefined;
255
+ /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
256
+ feeSponsorId?: string | undefined;
213
257
  walletId: string;
214
258
  otp?: string | undefined;
215
259
  } | {
@@ -218,6 +262,8 @@ export type CreateWithdrawalBody = {
218
262
  mint: string;
219
263
  createDestinationAccount?: boolean | undefined;
220
264
  externalId?: string | undefined;
265
+ /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
266
+ feeSponsorId?: string | undefined;
221
267
  walletId: string;
222
268
  otp?: string | undefined;
223
269
  } | {
@@ -225,6 +271,8 @@ export type CreateWithdrawalBody = {
225
271
  master: string;
226
272
  amount: string;
227
273
  externalId?: string | undefined;
274
+ /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
275
+ feeSponsorId?: string | undefined;
228
276
  walletId: string;
229
277
  otp?: string | undefined;
230
278
  };
@@ -251,6 +299,8 @@ export type CreateWithdrawalResponse = {
251
299
  priority?: ("Slow" | "Standard" | "Fast") | undefined;
252
300
  createDestinationAccount?: boolean | undefined;
253
301
  externalId?: string | undefined;
302
+ /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
303
+ feeSponsorId?: string | undefined;
254
304
  walletId: string;
255
305
  otp?: string | undefined;
256
306
  } | {
@@ -259,6 +309,8 @@ export type CreateWithdrawalResponse = {
259
309
  amount: string;
260
310
  priority?: ("Slow" | "Standard" | "Fast") | undefined;
261
311
  externalId?: string | undefined;
312
+ /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
313
+ feeSponsorId?: string | undefined;
262
314
  walletId: string;
263
315
  otp?: string | undefined;
264
316
  } | {
@@ -266,6 +318,8 @@ export type CreateWithdrawalResponse = {
266
318
  tokenId: string;
267
319
  amount: string;
268
320
  externalId?: string | undefined;
321
+ /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
322
+ feeSponsorId?: string | undefined;
269
323
  walletId: string;
270
324
  otp?: string | undefined;
271
325
  } | {
@@ -273,6 +327,8 @@ export type CreateWithdrawalResponse = {
273
327
  contract: string;
274
328
  amount: string;
275
329
  externalId?: string | undefined;
330
+ /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
331
+ feeSponsorId?: string | undefined;
276
332
  walletId: string;
277
333
  otp?: string | undefined;
278
334
  } | {
@@ -280,6 +336,8 @@ export type CreateWithdrawalResponse = {
280
336
  assetId: string;
281
337
  amount: string;
282
338
  externalId?: string | undefined;
339
+ /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
340
+ feeSponsorId?: string | undefined;
283
341
  walletId: string;
284
342
  otp?: string | undefined;
285
343
  } | {
@@ -288,6 +346,8 @@ export type CreateWithdrawalResponse = {
288
346
  assetCode: string;
289
347
  amount: string;
290
348
  externalId?: string | undefined;
349
+ /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
350
+ feeSponsorId?: string | undefined;
291
351
  walletId: string;
292
352
  otp?: string | undefined;
293
353
  } | {
@@ -296,6 +356,8 @@ export type CreateWithdrawalResponse = {
296
356
  mint: string;
297
357
  createDestinationAccount?: boolean | undefined;
298
358
  externalId?: string | undefined;
359
+ /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
360
+ feeSponsorId?: string | undefined;
299
361
  walletId: string;
300
362
  otp?: string | undefined;
301
363
  } | {
@@ -303,6 +365,8 @@ export type CreateWithdrawalResponse = {
303
365
  master: string;
304
366
  amount: string;
305
367
  externalId?: string | undefined;
368
+ /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
369
+ feeSponsorId?: string | undefined;
306
370
  walletId: string;
307
371
  otp?: string | undefined;
308
372
  };
@@ -9,4 +9,5 @@ export declare class FeeSponsorsClient {
9
9
  deleteFeeSponsor(request: T.DeleteFeeSponsorRequest): Promise<T.DeleteFeeSponsorResponse>;
10
10
  getFeeSponsor(request: T.GetFeeSponsorRequest): Promise<T.GetFeeSponsorResponse>;
11
11
  listFeeSponsors(request?: T.ListFeeSponsorsRequest): Promise<T.ListFeeSponsorsResponse>;
12
+ listSponsoredFees(request: T.ListSponsoredFeesRequest): Promise<T.ListSponsoredFeesResponse>;
12
13
  }
@@ -79,5 +79,16 @@ class FeeSponsorsClient {
79
79
  });
80
80
  return response.json();
81
81
  }
82
+ async listSponsoredFees(request) {
83
+ const path = (0, url_1.buildPathAndQuery)('/fee-sponsors/:feeSponsorId/fees', {
84
+ path: request ?? {},
85
+ query: request.query ?? {},
86
+ });
87
+ const response = await (0, fetch_1.simpleFetch)(path, {
88
+ method: 'GET',
89
+ apiOptions: this.apiOptions,
90
+ });
91
+ return response.json();
92
+ }
82
93
  }
83
94
  exports.FeeSponsorsClient = FeeSponsorsClient;
@@ -14,4 +14,5 @@ export declare class DelegatedFeeSponsorsClient {
14
14
  deleteFeeSponsorComplete(request: T.DeleteFeeSponsorRequest, signedChallenge: SignUserActionChallengeRequest): Promise<T.DeleteFeeSponsorResponse>;
15
15
  getFeeSponsor(request: T.GetFeeSponsorRequest): Promise<T.GetFeeSponsorResponse>;
16
16
  listFeeSponsors(request?: T.ListFeeSponsorsRequest): Promise<T.ListFeeSponsorsResponse>;
17
+ listSponsoredFees(request: T.ListSponsoredFeesRequest): Promise<T.ListSponsoredFeesResponse>;
17
18
  }
@@ -138,5 +138,16 @@ class DelegatedFeeSponsorsClient {
138
138
  });
139
139
  return response.json();
140
140
  }
141
+ async listSponsoredFees(request) {
142
+ const path = (0, url_1.buildPathAndQuery)('/fee-sponsors/:feeSponsorId/fees', {
143
+ path: request ?? {},
144
+ query: request.query ?? {},
145
+ });
146
+ const response = await (0, fetch_1.simpleFetch)(path, {
147
+ method: 'GET',
148
+ apiOptions: this.apiOptions,
149
+ });
150
+ return response.json();
151
+ }
141
152
  }
142
153
  exports.DelegatedFeeSponsorsClient = DelegatedFeeSponsorsClient;
@@ -7,7 +7,6 @@ export type ActivateFeeSponsorResponse = {
7
7
  network: "Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Celo" | "CeloAlfajores" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "FantomOpera" | "FantomTestnet" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Polkadot" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tezos" | "TezosGhostnet" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "XrpLedger" | "XrpLedgerTestnet";
8
8
  status: "Active" | "Deactivated" | "Archived";
9
9
  dateCreated: string;
10
- dateUpdated: string;
11
10
  };
12
11
  export type ActivateFeeSponsorRequest = ActivateFeeSponsorParams;
13
12
  export type CreateFeeSponsorBody = {
@@ -19,7 +18,6 @@ export type CreateFeeSponsorResponse = {
19
18
  network: "Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Celo" | "CeloAlfajores" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "FantomOpera" | "FantomTestnet" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Polkadot" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tezos" | "TezosGhostnet" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "XrpLedger" | "XrpLedgerTestnet";
20
19
  status: "Active" | "Deactivated" | "Archived";
21
20
  dateCreated: string;
22
- dateUpdated: string;
23
21
  };
24
22
  export type CreateFeeSponsorRequest = {
25
23
  body: CreateFeeSponsorBody;
@@ -33,7 +31,6 @@ export type DeactivateFeeSponsorResponse = {
33
31
  network: "Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Celo" | "CeloAlfajores" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "FantomOpera" | "FantomTestnet" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Polkadot" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tezos" | "TezosGhostnet" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "XrpLedger" | "XrpLedgerTestnet";
34
32
  status: "Active" | "Deactivated" | "Archived";
35
33
  dateCreated: string;
36
- dateUpdated: string;
37
34
  };
38
35
  export type DeactivateFeeSponsorRequest = DeactivateFeeSponsorParams;
39
36
  export type DeleteFeeSponsorParams = {
@@ -45,7 +42,6 @@ export type DeleteFeeSponsorResponse = {
45
42
  network: "Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Celo" | "CeloAlfajores" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "FantomOpera" | "FantomTestnet" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Polkadot" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tezos" | "TezosGhostnet" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "XrpLedger" | "XrpLedgerTestnet";
46
43
  status: "Active" | "Deactivated" | "Archived";
47
44
  dateCreated: string;
48
- dateUpdated: string;
49
45
  };
50
46
  export type DeleteFeeSponsorRequest = DeleteFeeSponsorParams;
51
47
  export type GetFeeSponsorParams = {
@@ -57,7 +53,6 @@ export type GetFeeSponsorResponse = {
57
53
  network: "Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Celo" | "CeloAlfajores" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "FantomOpera" | "FantomTestnet" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Polkadot" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tezos" | "TezosGhostnet" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "XrpLedger" | "XrpLedgerTestnet";
58
54
  status: "Active" | "Deactivated" | "Archived";
59
55
  dateCreated: string;
60
- dateUpdated: string;
61
56
  };
62
57
  export type GetFeeSponsorRequest = GetFeeSponsorParams;
63
58
  export type ListFeeSponsorsQuery = {
@@ -71,10 +66,31 @@ export type ListFeeSponsorsResponse = {
71
66
  network: "Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Celo" | "CeloAlfajores" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "FantomOpera" | "FantomTestnet" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Polkadot" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tezos" | "TezosGhostnet" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "XrpLedger" | "XrpLedgerTestnet";
72
67
  status: "Active" | "Deactivated" | "Archived";
73
68
  dateCreated: string;
74
- dateUpdated: string;
75
69
  }[];
76
70
  nextPageToken?: string | undefined;
77
71
  };
78
72
  export type ListFeeSponsorsRequest = {
79
73
  query?: ListFeeSponsorsQuery;
80
74
  };
75
+ export type ListSponsoredFeesParams = {
76
+ feeSponsorId: string;
77
+ };
78
+ export type ListSponsoredFeesQuery = {
79
+ limit?: string | undefined;
80
+ paginationToken?: string | undefined;
81
+ };
82
+ export type ListSponsoredFeesResponse = {
83
+ items: {
84
+ id: string;
85
+ sponsoreeId: string;
86
+ requestId: string;
87
+ status: "Pending" | "Confirmed";
88
+ fee?: string | undefined;
89
+ dateRequested: string;
90
+ dateConfirmed?: string | undefined;
91
+ }[];
92
+ nextPageToken?: string | undefined;
93
+ };
94
+ export type ListSponsoredFeesRequest = ListSponsoredFeesParams & {
95
+ query?: ListSponsoredFeesQuery;
96
+ };
@@ -103,7 +103,7 @@ class KeysClient {
103
103
  return response.json();
104
104
  }
105
105
  async listSignatures(request) {
106
- const path = (0, url_1.buildPathAndQuery)('/wallets/:keyId/signatures', {
106
+ const path = (0, url_1.buildPathAndQuery)('/keys/:keyId/signatures', {
107
107
  path: request ?? {},
108
108
  query: request.query ?? {},
109
109
  });
@@ -177,7 +177,7 @@ class DelegatedKeysClient {
177
177
  return response.json();
178
178
  }
179
179
  async listSignatures(request) {
180
- const path = (0, url_1.buildPathAndQuery)('/wallets/:keyId/signatures', {
180
+ const path = (0, url_1.buildPathAndQuery)('/keys/:keyId/signatures', {
181
181
  path: request ?? {},
182
182
  query: request.query ?? {},
183
183
  });
@@ -40,6 +40,7 @@ export type ExportKeyBody = {
40
40
  protocol: "CGGMP21" | "FROST" | "FROST_BITCOIN" | "KU23";
41
41
  curve: "ed25519" | "secp256k1" | "stark";
42
42
  }[];
43
+ delete?: boolean | undefined;
43
44
  };
44
45
  export type ExportKeyParams = {
45
46
  keyId: string;
@@ -247,6 +248,10 @@ export type GetKeyResponse = {
247
248
  imported?: boolean | undefined;
248
249
  exported?: boolean | undefined;
249
250
  dateExported?: string | undefined;
251
+ wallets: {
252
+ id: string;
253
+ network: ("Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Celo" | "CeloAlfajores" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "FantomOpera" | "FantomTestnet" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Polkadot" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tezos" | "TezosGhostnet" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "XrpLedger" | "XrpLedgerTestnet") | ("KeyECDSA" | "KeyEdDSA" | "KeyECDSAStark");
254
+ }[];
250
255
  };
251
256
  export type GetKeyRequest = GetKeyParams;
252
257
  export type GetSignatureParams = {