@console-wallet/dapp-sdk 0.0.22 → 0.0.24
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/cjs/api/client.api.d.ts +45 -3
- package/dist/cjs/api/generated-indexer-api.d.ts +747 -92
- package/dist/cjs/api/generated-indexer-api.js +175 -1
- package/dist/cjs/api/generated-indexer-api.js.map +1 -1
- package/dist/cjs/api/generated-wallet-api.d.ts +305 -60
- package/dist/cjs/api/generated-wallet-api.js +240 -29
- package/dist/cjs/api/generated-wallet-api.js.map +1 -1
- package/dist/cjs/types/history.types.d.ts +6 -6
- package/dist/cjs/types/signed.type.d.ts +5 -2
- package/dist/esm/api/client.api.d.ts +45 -3
- package/dist/esm/api/generated-indexer-api.d.ts +747 -92
- package/dist/esm/api/generated-indexer-api.js +174 -0
- package/dist/esm/api/generated-indexer-api.js.map +1 -1
- package/dist/esm/api/generated-wallet-api.d.ts +305 -60
- package/dist/esm/api/generated-wallet-api.js +241 -30
- package/dist/esm/api/generated-wallet-api.js.map +1 -1
- package/dist/esm/types/history.types.d.ts +6 -6
- package/dist/esm/types/signed.type.d.ts +5 -2
- package/package.json +1 -1
|
@@ -25,6 +25,19 @@ export interface BalanceDTO {
|
|
|
25
25
|
total_locked_coin: string;
|
|
26
26
|
total_unlocked_coin: string;
|
|
27
27
|
}
|
|
28
|
+
export interface CreateSettingBodyDTO {
|
|
29
|
+
key: string;
|
|
30
|
+
value: string;
|
|
31
|
+
}
|
|
32
|
+
export interface CreateSettingResponseDTO {
|
|
33
|
+
/** @format date-time */
|
|
34
|
+
createdAt: string;
|
|
35
|
+
id: number;
|
|
36
|
+
key: string;
|
|
37
|
+
/** @format date-time */
|
|
38
|
+
updatedAt: string;
|
|
39
|
+
value: string;
|
|
40
|
+
}
|
|
28
41
|
export interface CreateTapDTO {
|
|
29
42
|
amount: string;
|
|
30
43
|
partyId: string;
|
|
@@ -32,7 +45,7 @@ export interface CreateTapDTO {
|
|
|
32
45
|
}
|
|
33
46
|
export interface GetOffersSearchResponseDTO {
|
|
34
47
|
data: OfferDTO[];
|
|
35
|
-
next_cursor
|
|
48
|
+
next_cursor?: string | null;
|
|
36
49
|
}
|
|
37
50
|
export interface GetPartyDetailsResponseDTO {
|
|
38
51
|
amulets: AmuletDTO;
|
|
@@ -61,26 +74,37 @@ export interface GetPendingTransactionsResponseDTO {
|
|
|
61
74
|
items: object[];
|
|
62
75
|
}
|
|
63
76
|
export interface GetPricesResponseDTO {
|
|
64
|
-
current
|
|
65
|
-
one_day_ago
|
|
66
|
-
one_month_ago
|
|
67
|
-
one_week_ago
|
|
68
|
-
one_year_ago
|
|
69
|
-
start_of_day
|
|
77
|
+
current?: string | null;
|
|
78
|
+
one_day_ago?: string | null;
|
|
79
|
+
one_month_ago?: string | null;
|
|
80
|
+
one_week_ago?: string | null;
|
|
81
|
+
one_year_ago?: string | null;
|
|
82
|
+
start_of_day?: string | null;
|
|
83
|
+
}
|
|
84
|
+
export interface GetSettingsResponseDTO {
|
|
85
|
+
items: SettingResponseDTO[];
|
|
70
86
|
}
|
|
71
87
|
export interface GetTokenTransfersByPartyResponseDTO {
|
|
72
88
|
data: TokenTransferItemDTO[];
|
|
73
|
-
next_cursor
|
|
89
|
+
next_cursor?: string | null;
|
|
74
90
|
}
|
|
75
91
|
export interface GetTransferDetailsResponseDTO {
|
|
76
|
-
data:
|
|
92
|
+
data: TransferDetailsDataDTO;
|
|
93
|
+
}
|
|
94
|
+
export interface GetTransferPreApprovalResponseDTO {
|
|
95
|
+
contractId: string;
|
|
96
|
+
dso: string;
|
|
97
|
+
/** @format date-time */
|
|
98
|
+
expiresAt: string;
|
|
99
|
+
receiverId: string;
|
|
100
|
+
templateId: string;
|
|
77
101
|
}
|
|
78
102
|
export interface InstructionSummaryDTO {
|
|
79
103
|
amount: string;
|
|
80
|
-
contract_id
|
|
104
|
+
contract_id?: string | null;
|
|
81
105
|
event_id: string;
|
|
82
106
|
execute_before: string;
|
|
83
|
-
executed_at
|
|
107
|
+
executed_at?: string | null;
|
|
84
108
|
receiver: string;
|
|
85
109
|
sender: string;
|
|
86
110
|
status: string;
|
|
@@ -89,20 +113,44 @@ export interface ListUtxosResponseDTO {
|
|
|
89
113
|
utxos: string[];
|
|
90
114
|
}
|
|
91
115
|
export interface MetadataDTO {
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
116
|
+
"splice.lfdecentralizedtrust.org/burned"?: string | null;
|
|
117
|
+
"splice.lfdecentralizedtrust.org/sender"?: string | null;
|
|
118
|
+
"splice.lfdecentralizedtrust.org/tx-kind"?: string | null;
|
|
95
119
|
}
|
|
96
120
|
export interface OfferDTO {
|
|
97
121
|
amount: string;
|
|
98
|
-
contract_id
|
|
122
|
+
contract_id?: string | null;
|
|
99
123
|
event_id: string;
|
|
124
|
+
external_cc_price?: string | null;
|
|
125
|
+
internal_cc_price?: string | null;
|
|
100
126
|
offer_type: string;
|
|
127
|
+
provider_party_id: string;
|
|
101
128
|
receiver_party_id: string;
|
|
102
129
|
record_time: string;
|
|
103
130
|
sender_party_id: string;
|
|
104
131
|
status: string;
|
|
105
132
|
}
|
|
133
|
+
export interface PayloadResponseDTO {
|
|
134
|
+
category: string;
|
|
135
|
+
name: string;
|
|
136
|
+
subcategory: string;
|
|
137
|
+
}
|
|
138
|
+
export interface PrepareCancelTransferPreapprovalBodyDTO {
|
|
139
|
+
contractId: string;
|
|
140
|
+
partyId: string;
|
|
141
|
+
templateId: string;
|
|
142
|
+
}
|
|
143
|
+
export interface PrepareCancelTransferPreapprovalResponseDTO {
|
|
144
|
+
preparedSubmission: PreparedSubmissionResponseDTO;
|
|
145
|
+
submissionId: string;
|
|
146
|
+
}
|
|
147
|
+
export interface PrepareCreateTransferPreapprovalBodyDTO {
|
|
148
|
+
partyId: string;
|
|
149
|
+
}
|
|
150
|
+
export interface PrepareCreateTransferPreapprovalResponseDTO {
|
|
151
|
+
preparedSubmission: PreparedSubmissionResponseDTO;
|
|
152
|
+
submissionId: string;
|
|
153
|
+
}
|
|
106
154
|
export interface PrepareExternalPartyBodyDTO {
|
|
107
155
|
partyHint?: string;
|
|
108
156
|
publicKey: string;
|
|
@@ -111,7 +159,7 @@ export interface PrepareExternalPartyResponseDTO {
|
|
|
111
159
|
preparedParty: PreparedExternalPartyResponseDTO;
|
|
112
160
|
}
|
|
113
161
|
export interface PrepareResolveTransferBodyDTO {
|
|
114
|
-
choice:
|
|
162
|
+
choice: "Accept" | "Reject" | "Withdraw";
|
|
115
163
|
partyId: string;
|
|
116
164
|
transferCid: string;
|
|
117
165
|
}
|
|
@@ -122,30 +170,29 @@ export interface PrepareResolveTransferResponseDTO {
|
|
|
122
170
|
export interface PrepareTransferBodyDTO {
|
|
123
171
|
amount: string;
|
|
124
172
|
/** @format date-time */
|
|
125
|
-
expiryDate
|
|
173
|
+
expiryDate?: string;
|
|
174
|
+
memo?: string;
|
|
126
175
|
receiver: string;
|
|
127
176
|
sender: string;
|
|
128
177
|
}
|
|
129
178
|
export interface PrepareTransferResponseDTO {
|
|
130
|
-
hashingDetails: string;
|
|
179
|
+
hashingDetails: string | null;
|
|
131
180
|
hashingSchemeVersion: string;
|
|
132
181
|
preparedTransaction: string;
|
|
133
182
|
preparedTransactionHash: string;
|
|
134
183
|
submissionId: string;
|
|
135
184
|
}
|
|
136
185
|
export interface PreparedExternalPartyBodyDTO {
|
|
137
|
-
|
|
138
|
-
namespace: string;
|
|
186
|
+
multiHash: string;
|
|
139
187
|
partyId: string;
|
|
140
|
-
|
|
141
|
-
|
|
188
|
+
publicKeyFingerprint: string;
|
|
189
|
+
topologyTransactions: string[];
|
|
142
190
|
}
|
|
143
191
|
export interface PreparedExternalPartyResponseDTO {
|
|
144
|
-
|
|
145
|
-
namespace: string;
|
|
192
|
+
multiHash: string;
|
|
146
193
|
partyId: string;
|
|
147
|
-
|
|
148
|
-
|
|
194
|
+
publicKeyFingerprint: string;
|
|
195
|
+
topologyTransactions: string[];
|
|
149
196
|
}
|
|
150
197
|
export interface PreparedSubmissionBodyDTO {
|
|
151
198
|
hashingDetails: string | null;
|
|
@@ -154,18 +201,54 @@ export interface PreparedSubmissionBodyDTO {
|
|
|
154
201
|
preparedTransactionHash: string;
|
|
155
202
|
}
|
|
156
203
|
export interface PreparedSubmissionResponseDTO {
|
|
157
|
-
hashingDetails: string;
|
|
204
|
+
hashingDetails: string | null;
|
|
158
205
|
hashingSchemeVersion: string;
|
|
159
206
|
preparedTransaction: string;
|
|
160
207
|
preparedTransactionHash: string;
|
|
161
208
|
}
|
|
209
|
+
export interface ProxyBodyDTO {
|
|
210
|
+
siteName: string;
|
|
211
|
+
}
|
|
212
|
+
export interface ProxyIndexerResponseDTO {
|
|
213
|
+
explore_prices?: GetPricesResponseDTO | null;
|
|
214
|
+
offers_search?: GetOffersSearchResponseDTO | null;
|
|
215
|
+
party_details?: GetPartyDetailsResponseDTO | null;
|
|
216
|
+
token_transfers_by_party?: GetTokenTransfersByPartyResponseDTO | null;
|
|
217
|
+
token_transfers_event_details?: GetTransferDetailsResponseDTO | null;
|
|
218
|
+
}
|
|
162
219
|
export interface ProxyRequestDTO {
|
|
163
|
-
method:
|
|
220
|
+
method: "GET" | "POST" | "PUT" | "DELETE";
|
|
164
221
|
path: string;
|
|
165
|
-
pathTemplate:
|
|
222
|
+
pathTemplate: "/explore/prices" | "/offers/search" | "/parties/{party_id}" | "/token-transfers/by-party" | "/api/v1/token-transfers/{event_id}";
|
|
166
223
|
payload?: string;
|
|
224
|
+
version?: "v1" | "v2";
|
|
225
|
+
}
|
|
226
|
+
export interface ProxyResponseDTO {
|
|
227
|
+
payload: PayloadResponseDTO;
|
|
228
|
+
status: "suspicous" | "dangerous" | "neutral" | "validated";
|
|
229
|
+
whitelistVersion: number;
|
|
230
|
+
}
|
|
231
|
+
export interface RequestInvitationBodyDTO {
|
|
232
|
+
comment: string;
|
|
233
|
+
email: string;
|
|
234
|
+
}
|
|
235
|
+
export interface RequestInvitationResponseDTO {
|
|
236
|
+
code?: string;
|
|
237
|
+
deliveryDate?: string;
|
|
238
|
+
status: "accepted" | "queued";
|
|
239
|
+
}
|
|
240
|
+
export interface SettingResponseDTO {
|
|
241
|
+
/** @format date-time */
|
|
242
|
+
createdAt: string;
|
|
243
|
+
id: number;
|
|
244
|
+
key: string;
|
|
245
|
+
/** @format date-time */
|
|
246
|
+
updatedAt: string;
|
|
247
|
+
value: string;
|
|
167
248
|
}
|
|
168
249
|
export interface SpentDTO {
|
|
250
|
+
external_cc_price?: string | null;
|
|
251
|
+
internal_cc_price?: string | null;
|
|
169
252
|
receivers: SpentReceiverItemDTO[];
|
|
170
253
|
sender_send: string;
|
|
171
254
|
total_change_fee: string;
|
|
@@ -177,7 +260,29 @@ export interface SpentReceiverItemDTO {
|
|
|
177
260
|
amount: string;
|
|
178
261
|
receiver: string;
|
|
179
262
|
}
|
|
263
|
+
export interface SubmitCancelTransferPreapprovalBodyDTO {
|
|
264
|
+
partyId: string;
|
|
265
|
+
preparedSubmission: PreparedSubmissionBodyDTO;
|
|
266
|
+
publicKey: string;
|
|
267
|
+
signature: string;
|
|
268
|
+
submissionId: string;
|
|
269
|
+
}
|
|
270
|
+
export interface SubmitCancelTransferPreapprovalResponseDTO {
|
|
271
|
+
ledgerEnd: number;
|
|
272
|
+
}
|
|
273
|
+
export interface SubmitCreateTransferPreapprovalBodyDTO {
|
|
274
|
+
partyId: string;
|
|
275
|
+
preparedSubmission: PreparedSubmissionBodyDTO;
|
|
276
|
+
publicKey: string;
|
|
277
|
+
signature: string;
|
|
278
|
+
submissionId: string;
|
|
279
|
+
}
|
|
280
|
+
export interface SubmitCreateTransferPreapprovalResponseDTO {
|
|
281
|
+
ledgerEnd: number;
|
|
282
|
+
}
|
|
180
283
|
export interface SubmitExternalPartyBodyDTO {
|
|
284
|
+
/** Invitation code obtained via Invitations API */
|
|
285
|
+
invitationCode: string;
|
|
181
286
|
preparedParty: PreparedExternalPartyBodyDTO;
|
|
182
287
|
signedHash: string;
|
|
183
288
|
}
|
|
@@ -190,11 +295,17 @@ export interface SubmitResolveTransferBodyDTO {
|
|
|
190
295
|
signature: string;
|
|
191
296
|
submissionId: string;
|
|
192
297
|
}
|
|
298
|
+
export interface SubmitResolveTransferResponseDTO {
|
|
299
|
+
ledgerEnd: number;
|
|
300
|
+
}
|
|
193
301
|
export interface SubmitTransferBodyDTO {
|
|
194
302
|
preparedTransfer: PrepareTransferResponseDTO;
|
|
195
303
|
publicKey: string;
|
|
196
304
|
signature: string;
|
|
197
305
|
}
|
|
306
|
+
export interface SubmitTransferResponseDTO {
|
|
307
|
+
ledgerEnd: number;
|
|
308
|
+
}
|
|
198
309
|
export interface TokenTransferDataDTO {
|
|
199
310
|
holding_fee: string;
|
|
200
311
|
input_amount: string;
|
|
@@ -214,7 +325,7 @@ export interface TokenTransferItemDTO {
|
|
|
214
325
|
transfer_type: string;
|
|
215
326
|
}
|
|
216
327
|
export interface TrafficStatusDTO {
|
|
217
|
-
last_updated
|
|
328
|
+
last_updated?: string | null;
|
|
218
329
|
total_consumed: number;
|
|
219
330
|
total_limit: number;
|
|
220
331
|
total_purchased: number;
|
|
@@ -222,38 +333,32 @@ export interface TrafficStatusDTO {
|
|
|
222
333
|
}
|
|
223
334
|
export interface TransferAllocationDTO {
|
|
224
335
|
first_step: TransferStepDTO;
|
|
225
|
-
second_step
|
|
336
|
+
second_step?: TransferStepDTO | null;
|
|
226
337
|
spent: SpentDTO;
|
|
227
338
|
summary: AllocationSummaryDTO;
|
|
228
339
|
}
|
|
229
|
-
export interface TransferAllocationResponseDTO {
|
|
230
|
-
allocation: TransferAllocationDTO;
|
|
231
|
-
}
|
|
232
340
|
export type TransferDataReceiversDTO = object;
|
|
341
|
+
export interface TransferDetailsDataDTO {
|
|
342
|
+
allocation?: TransferAllocationDTO | null;
|
|
343
|
+
instruction?: TransferInstructionDTO | null;
|
|
344
|
+
other?: TransferOtherDTO | null;
|
|
345
|
+
preapproved_instruction?: TransferPreApprovedInstructionDTO | null;
|
|
346
|
+
}
|
|
233
347
|
export interface TransferInstructionDTO {
|
|
234
348
|
first_step: TransferStepDTO;
|
|
235
|
-
second_step
|
|
349
|
+
second_step?: TransferStepDTO | null;
|
|
236
350
|
spent: SpentDTO;
|
|
237
351
|
summary: InstructionSummaryDTO;
|
|
238
352
|
}
|
|
239
|
-
export interface TransferInstructionResponseDTO {
|
|
240
|
-
instruction: TransferInstructionDTO;
|
|
241
|
-
}
|
|
242
353
|
export interface TransferOtherDTO {
|
|
243
354
|
finalized_step: TransferStepDTO;
|
|
244
355
|
spent: SpentDTO;
|
|
245
356
|
}
|
|
246
|
-
export interface TransferOtherResponseDTO {
|
|
247
|
-
other: TransferOtherDTO;
|
|
248
|
-
}
|
|
249
357
|
export interface TransferPreApprovedInstructionDTO {
|
|
250
358
|
finalized_step: TransferStepDTO;
|
|
251
359
|
spent: SpentDTO;
|
|
252
360
|
summary: InstructionSummaryDTO;
|
|
253
361
|
}
|
|
254
|
-
export interface TransferPreApprovedInstructionResponseDTO {
|
|
255
|
-
preapproved_instruction: TransferPreApprovedInstructionDTO;
|
|
256
|
-
}
|
|
257
362
|
export interface TransferStepDTO {
|
|
258
363
|
event_id: string;
|
|
259
364
|
record_time: string;
|
|
@@ -261,16 +366,29 @@ export interface TransferStepDTO {
|
|
|
261
366
|
transfer_type: string;
|
|
262
367
|
update_id: string;
|
|
263
368
|
}
|
|
369
|
+
export interface UpdateSettingBodyDTO {
|
|
370
|
+
key: string;
|
|
371
|
+
value: string;
|
|
372
|
+
}
|
|
373
|
+
export interface UpdateSettingResponseDTO {
|
|
374
|
+
/** @format date-time */
|
|
375
|
+
createdAt: string;
|
|
376
|
+
id: number;
|
|
377
|
+
key: string;
|
|
378
|
+
/** @format date-time */
|
|
379
|
+
updatedAt: string;
|
|
380
|
+
value: string;
|
|
381
|
+
}
|
|
264
382
|
export interface ValidatorLicenseDTO {
|
|
265
383
|
active: boolean;
|
|
266
384
|
amulet_balance: string;
|
|
267
|
-
contact
|
|
385
|
+
contact?: string | null;
|
|
268
386
|
contract_id: string;
|
|
269
387
|
dso: string;
|
|
270
388
|
first_round: number;
|
|
271
|
-
last_active_at
|
|
389
|
+
last_active_at?: string | null;
|
|
272
390
|
last_round: number;
|
|
273
|
-
metadata_last_update
|
|
391
|
+
metadata_last_update?: string | null;
|
|
274
392
|
miss_round: number;
|
|
275
393
|
participated_updates_count: number;
|
|
276
394
|
sponsor: string;
|
|
@@ -278,11 +396,20 @@ export interface ValidatorLicenseDTO {
|
|
|
278
396
|
traffic_status: TrafficStatusDTO;
|
|
279
397
|
transfers_count: number;
|
|
280
398
|
validator_id: string;
|
|
281
|
-
version
|
|
399
|
+
version?: string | null;
|
|
282
400
|
}
|
|
283
|
-
|
|
401
|
+
export interface VerifyInvitationBodyDTO {
|
|
402
|
+
code: string;
|
|
403
|
+
}
|
|
404
|
+
export interface VerifyInvitationResponseDTO {
|
|
405
|
+
valid: boolean;
|
|
406
|
+
}
|
|
407
|
+
export interface WaitForTxCompletionResponseDTO {
|
|
408
|
+
updateId: string;
|
|
409
|
+
}
|
|
410
|
+
import type { AxiosInstance, AxiosRequestConfig, ResponseType } from "axios";
|
|
284
411
|
export type QueryParamsType = Record<string | number, any>;
|
|
285
|
-
export interface FullRequestParams extends Omit<AxiosRequestConfig,
|
|
412
|
+
export interface FullRequestParams extends Omit<AxiosRequestConfig, "data" | "params" | "url" | "responseType"> {
|
|
286
413
|
/** set parameter to `true` for call `securityWorker` for this request */
|
|
287
414
|
secure?: boolean;
|
|
288
415
|
/** request path */
|
|
@@ -296,8 +423,8 @@ export interface FullRequestParams extends Omit<AxiosRequestConfig, 'data' | 'pa
|
|
|
296
423
|
/** request body */
|
|
297
424
|
body?: unknown;
|
|
298
425
|
}
|
|
299
|
-
export type RequestParams = Omit<FullRequestParams,
|
|
300
|
-
export interface ApiConfig<SecurityDataType = unknown> extends Omit<AxiosRequestConfig,
|
|
426
|
+
export type RequestParams = Omit<FullRequestParams, "body" | "method" | "query" | "path">;
|
|
427
|
+
export interface ApiConfig<SecurityDataType = unknown> extends Omit<AxiosRequestConfig, "data" | "cancelToken"> {
|
|
301
428
|
securityWorker?: (securityData: SecurityDataType | null) => Promise<AxiosRequestConfig | void> | AxiosRequestConfig | void;
|
|
302
429
|
secure?: boolean;
|
|
303
430
|
format?: ResponseType;
|
|
@@ -345,14 +472,78 @@ export declare class WalletApi<SecurityDataType extends unknown> extends HttpCli
|
|
|
345
472
|
* @request POST:/api/v1/external-party/submit
|
|
346
473
|
*/
|
|
347
474
|
externalPartyControllerSubmitExternalParty: (data: SubmitExternalPartyBodyDTO, params?: RequestParams) => Promise<SubmitExternalPartyResponseDTO>;
|
|
475
|
+
/**
|
|
476
|
+
* No description
|
|
477
|
+
*
|
|
478
|
+
* @tags invitations
|
|
479
|
+
* @name InvitationsControllerRequestInvitation
|
|
480
|
+
* @request POST:/api/v1/invitations/request
|
|
481
|
+
*/
|
|
482
|
+
invitationsControllerRequestInvitation: (data: RequestInvitationBodyDTO, params?: RequestParams) => Promise<RequestInvitationResponseDTO>;
|
|
483
|
+
/**
|
|
484
|
+
* No description
|
|
485
|
+
*
|
|
486
|
+
* @tags invitations
|
|
487
|
+
* @name InvitationsControllerVerifyInvitation
|
|
488
|
+
* @request POST:/api/v1/invitations/verification
|
|
489
|
+
*/
|
|
490
|
+
invitationsControllerVerifyInvitation: (data: VerifyInvitationBodyDTO, params?: RequestParams) => Promise<VerifyInvitationResponseDTO>;
|
|
348
491
|
/**
|
|
349
492
|
* No description
|
|
350
493
|
*
|
|
351
494
|
* @tags proxy
|
|
352
|
-
* @name
|
|
495
|
+
* @name ProxyIndexerControllerProxyLegacy
|
|
353
496
|
* @request POST:/api/v1/proxy/indexer
|
|
354
497
|
*/
|
|
355
|
-
|
|
498
|
+
proxyIndexerControllerProxyLegacy: (data: ProxyRequestDTO, params?: RequestParams) => Promise<GetOffersSearchResponseDTO | GetPartyDetailsResponseDTO | GetPricesResponseDTO | GetTokenTransfersByPartyResponseDTO | GetTransferDetailsResponseDTO>;
|
|
499
|
+
/**
|
|
500
|
+
* No description
|
|
501
|
+
*
|
|
502
|
+
* @tags proxy
|
|
503
|
+
* @name ProxyIndexerControllerProxyMapped
|
|
504
|
+
* @request POST:/api/v1/proxy/indexer/mapped
|
|
505
|
+
*/
|
|
506
|
+
proxyIndexerControllerProxyMapped: (data: ProxyRequestDTO, params?: RequestParams) => Promise<ProxyIndexerResponseDTO>;
|
|
507
|
+
/**
|
|
508
|
+
* No description
|
|
509
|
+
*
|
|
510
|
+
* @tags proxy
|
|
511
|
+
* @name ProxyW3AControllerProxy
|
|
512
|
+
* @request POST:/api/v1/proxy/phishing
|
|
513
|
+
*/
|
|
514
|
+
proxyW3AControllerProxy: (data: ProxyBodyDTO, params?: RequestParams) => Promise<ProxyResponseDTO>;
|
|
515
|
+
/**
|
|
516
|
+
* No description
|
|
517
|
+
*
|
|
518
|
+
* @tags settings
|
|
519
|
+
* @name SettingControllerCreateSetting
|
|
520
|
+
* @request POST:/api/v1/settings
|
|
521
|
+
*/
|
|
522
|
+
settingControllerCreateSetting: (data: CreateSettingBodyDTO, params?: RequestParams) => Promise<CreateSettingResponseDTO>;
|
|
523
|
+
/**
|
|
524
|
+
* No description
|
|
525
|
+
*
|
|
526
|
+
* @tags settings
|
|
527
|
+
* @name SettingControllerDeleteSetting
|
|
528
|
+
* @request DELETE:/api/v1/settings/{id}
|
|
529
|
+
*/
|
|
530
|
+
settingControllerDeleteSetting: (id: number, params?: RequestParams) => Promise<void>;
|
|
531
|
+
/**
|
|
532
|
+
* No description
|
|
533
|
+
*
|
|
534
|
+
* @tags settings
|
|
535
|
+
* @name SettingControllerGetSettings
|
|
536
|
+
* @request GET:/api/v1/settings
|
|
537
|
+
*/
|
|
538
|
+
settingControllerGetSettings: (params?: RequestParams) => Promise<GetSettingsResponseDTO>;
|
|
539
|
+
/**
|
|
540
|
+
* No description
|
|
541
|
+
*
|
|
542
|
+
* @tags settings
|
|
543
|
+
* @name SettingControllerUpdateSetting
|
|
544
|
+
* @request PUT:/api/v1/settings/{id}
|
|
545
|
+
*/
|
|
546
|
+
settingControllerUpdateSetting: (id: number, data: UpdateSettingBodyDTO, params?: RequestParams) => Promise<UpdateSettingResponseDTO>;
|
|
356
547
|
/**
|
|
357
548
|
* No description
|
|
358
549
|
*
|
|
@@ -384,7 +575,17 @@ export declare class WalletApi<SecurityDataType extends unknown> extends HttpCli
|
|
|
384
575
|
/**
|
|
385
576
|
* No description
|
|
386
577
|
*
|
|
387
|
-
* @tags token-standard
|
|
578
|
+
* @tags token-standard/transfer
|
|
579
|
+
* @name TransferControllerGetTransferPreApproval
|
|
580
|
+
* @request GET:/api/v1/token-standard/transfer/pre-approval
|
|
581
|
+
*/
|
|
582
|
+
transferControllerGetTransferPreApproval: (query: {
|
|
583
|
+
partyId: string;
|
|
584
|
+
}, params?: RequestParams) => Promise<GetTransferPreApprovalResponseDTO>;
|
|
585
|
+
/**
|
|
586
|
+
* No description
|
|
587
|
+
*
|
|
588
|
+
* @tags token-standard/transfer
|
|
388
589
|
* @name TransferControllerPrepareResolveTransfer
|
|
389
590
|
* @request POST:/api/v1/token-standard/transfer/resolve/prepare
|
|
390
591
|
*/
|
|
@@ -392,7 +593,7 @@ export declare class WalletApi<SecurityDataType extends unknown> extends HttpCli
|
|
|
392
593
|
/**
|
|
393
594
|
* No description
|
|
394
595
|
*
|
|
395
|
-
* @tags token-standard
|
|
596
|
+
* @tags token-standard/transfer
|
|
396
597
|
* @name TransferControllerPrepareTransfer
|
|
397
598
|
* @request POST:/api/v1/token-standard/transfer/prepare
|
|
398
599
|
*/
|
|
@@ -400,18 +601,62 @@ export declare class WalletApi<SecurityDataType extends unknown> extends HttpCli
|
|
|
400
601
|
/**
|
|
401
602
|
* No description
|
|
402
603
|
*
|
|
403
|
-
* @tags token-standard
|
|
604
|
+
* @tags token-standard/transfer
|
|
404
605
|
* @name TransferControllerSubmitResolveTransfer
|
|
405
606
|
* @request POST:/api/v1/token-standard/transfer/resolve/submit
|
|
406
607
|
*/
|
|
407
|
-
transferControllerSubmitResolveTransfer: (data: SubmitResolveTransferBodyDTO, params?: RequestParams) => Promise<
|
|
608
|
+
transferControllerSubmitResolveTransfer: (data: SubmitResolveTransferBodyDTO, params?: RequestParams) => Promise<SubmitResolveTransferResponseDTO>;
|
|
408
609
|
/**
|
|
409
610
|
* No description
|
|
410
611
|
*
|
|
411
|
-
* @tags token-standard
|
|
612
|
+
* @tags token-standard/transfer
|
|
412
613
|
* @name TransferControllerSubmitTransfer
|
|
413
614
|
* @request POST:/api/v1/token-standard/transfer/submit
|
|
414
615
|
*/
|
|
415
|
-
transferControllerSubmitTransfer: (data: SubmitTransferBodyDTO, params?: RequestParams) => Promise<
|
|
616
|
+
transferControllerSubmitTransfer: (data: SubmitTransferBodyDTO, params?: RequestParams) => Promise<SubmitTransferResponseDTO>;
|
|
617
|
+
/**
|
|
618
|
+
* No description
|
|
619
|
+
*
|
|
620
|
+
* @tags token-standard/transfer
|
|
621
|
+
* @name TransferControllerWaitForTxCompletion
|
|
622
|
+
* @request GET:/api/v1/token-standard/transfer/completion/wait
|
|
623
|
+
*/
|
|
624
|
+
transferControllerWaitForTxCompletion: (query: {
|
|
625
|
+
commandId: string;
|
|
626
|
+
ledgerEnd: number;
|
|
627
|
+
partyId: string;
|
|
628
|
+
}, params?: RequestParams) => Promise<WaitForTxCompletionResponseDTO>;
|
|
629
|
+
/**
|
|
630
|
+
* No description
|
|
631
|
+
*
|
|
632
|
+
* @tags token-standard/transfer
|
|
633
|
+
* @name TransferPreapprovalControllerPrepareCancelTransferPreapproval
|
|
634
|
+
* @request POST:/api/v1/token-standard/transfer/preapproval/cancel/prepare
|
|
635
|
+
*/
|
|
636
|
+
transferPreapprovalControllerPrepareCancelTransferPreapproval: (data: PrepareCancelTransferPreapprovalBodyDTO, params?: RequestParams) => Promise<PrepareCancelTransferPreapprovalResponseDTO>;
|
|
637
|
+
/**
|
|
638
|
+
* No description
|
|
639
|
+
*
|
|
640
|
+
* @tags token-standard/transfer
|
|
641
|
+
* @name TransferPreapprovalControllerPrepareCreateTransferPreapproval
|
|
642
|
+
* @request POST:/api/v1/token-standard/transfer/preapproval/create/prepare
|
|
643
|
+
*/
|
|
644
|
+
transferPreapprovalControllerPrepareCreateTransferPreapproval: (data: PrepareCreateTransferPreapprovalBodyDTO, params?: RequestParams) => Promise<PrepareCreateTransferPreapprovalResponseDTO>;
|
|
645
|
+
/**
|
|
646
|
+
* No description
|
|
647
|
+
*
|
|
648
|
+
* @tags token-standard/transfer
|
|
649
|
+
* @name TransferPreapprovalControllerSubmitCancelTransferPreapproval
|
|
650
|
+
* @request POST:/api/v1/token-standard/transfer/preapproval/cancel/submit
|
|
651
|
+
*/
|
|
652
|
+
transferPreapprovalControllerSubmitCancelTransferPreapproval: (data: SubmitCancelTransferPreapprovalBodyDTO, params?: RequestParams) => Promise<SubmitCancelTransferPreapprovalResponseDTO>;
|
|
653
|
+
/**
|
|
654
|
+
* No description
|
|
655
|
+
*
|
|
656
|
+
* @tags token-standard/transfer
|
|
657
|
+
* @name TransferPreapprovalControllerSubmitCreateTransferPreapproval
|
|
658
|
+
* @request POST:/api/v1/token-standard/transfer/preapproval/create/submit
|
|
659
|
+
*/
|
|
660
|
+
transferPreapprovalControllerSubmitCreateTransferPreapproval: (data: SubmitCreateTransferPreapprovalBodyDTO, params?: RequestParams) => Promise<SubmitCreateTransferPreapprovalResponseDTO>;
|
|
416
661
|
};
|
|
417
662
|
}
|