@oumla/sdk 1.1.1 → 1.2.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.
- package/README.md +223 -28
- package/dist/index.cjs +424 -189
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +596 -457
- package/dist/index.js +424 -189
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
declare const GetDeployedContractsRequestNetwork: {
|
|
2
|
+
readonly Btc: "BTC";
|
|
2
3
|
readonly TBtc: "tBTC";
|
|
4
|
+
readonly Eth: "ETH";
|
|
3
5
|
readonly TEth: "tETH";
|
|
4
6
|
};
|
|
5
7
|
type GetDeployedContractsRequestNetwork = (typeof GetDeployedContractsRequestNetwork)[keyof typeof GetDeployedContractsRequestNetwork];
|
|
@@ -63,16 +65,303 @@ interface AddContractAbiRequest {
|
|
|
63
65
|
abi: Record<string, unknown>[];
|
|
64
66
|
}
|
|
65
67
|
|
|
66
|
-
type index$
|
|
67
|
-
type index$
|
|
68
|
-
type index$
|
|
69
|
-
type index$
|
|
68
|
+
type index$b_AddContractAbiRequest = AddContractAbiRequest;
|
|
69
|
+
type index$b_FetchContractAbiRequest = FetchContractAbiRequest;
|
|
70
|
+
type index$b_GetDeployedContractsRequest = GetDeployedContractsRequest;
|
|
71
|
+
type index$b_GetDeployedContractsRequestNetwork = GetDeployedContractsRequestNetwork;
|
|
72
|
+
declare namespace index$b {
|
|
73
|
+
export {
|
|
74
|
+
index$b_AddContractAbiRequest as AddContractAbiRequest,
|
|
75
|
+
index$b_FetchContractAbiRequest as FetchContractAbiRequest,
|
|
76
|
+
index$b_GetDeployedContractsRequest as GetDeployedContractsRequest,
|
|
77
|
+
index$b_GetDeployedContractsRequestNetwork as GetDeployedContractsRequestNetwork,
|
|
78
|
+
};
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
declare const GetCollectionTokensRequestType: {
|
|
82
|
+
readonly Mint: "MINT";
|
|
83
|
+
readonly Burn: "BURN";
|
|
84
|
+
};
|
|
85
|
+
type GetCollectionTokensRequestType = (typeof GetCollectionTokensRequestType)[keyof typeof GetCollectionTokensRequestType];
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* @example
|
|
89
|
+
* {
|
|
90
|
+
* skip: 1,
|
|
91
|
+
* take: 1
|
|
92
|
+
* }
|
|
93
|
+
*/
|
|
94
|
+
interface GetTokensRequest {
|
|
95
|
+
/** Number of records to skip */
|
|
96
|
+
skip?: number;
|
|
97
|
+
/** Number of records to take */
|
|
98
|
+
take?: number;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* @example
|
|
103
|
+
* {
|
|
104
|
+
* addressId: "addressId",
|
|
105
|
+
* clientShare: "clientShare",
|
|
106
|
+
* deploymentId: "deploymentId",
|
|
107
|
+
* createParams: {
|
|
108
|
+
* initializeParams: [{
|
|
109
|
+
* name: "name",
|
|
110
|
+
* type: "type",
|
|
111
|
+
* value: "value"
|
|
112
|
+
* }]
|
|
113
|
+
* }
|
|
114
|
+
* }
|
|
115
|
+
*/
|
|
116
|
+
interface IssueNewTokenRequest {
|
|
117
|
+
/** Blockchain network */
|
|
118
|
+
network?: string;
|
|
119
|
+
/** Address ID for token creation */
|
|
120
|
+
addressId: string;
|
|
121
|
+
/** Client share for signing */
|
|
122
|
+
clientShare: string;
|
|
123
|
+
/** Deployed contract ID */
|
|
124
|
+
deploymentId: string;
|
|
125
|
+
createParams: IssueNewTokenRequest.CreateParams;
|
|
126
|
+
/** Token display name */
|
|
127
|
+
displayName?: string;
|
|
128
|
+
/** Use gasless transaction */
|
|
129
|
+
useGasless?: boolean;
|
|
130
|
+
/** Transaction fee */
|
|
131
|
+
fee?: string;
|
|
132
|
+
/** Fee level */
|
|
133
|
+
feeLevel?: string;
|
|
134
|
+
}
|
|
135
|
+
declare namespace IssueNewTokenRequest {
|
|
136
|
+
interface CreateParams {
|
|
137
|
+
/** Initialize parameters */
|
|
138
|
+
initializeParams: CreateParams.InitializeParams.Item[];
|
|
139
|
+
}
|
|
140
|
+
namespace CreateParams {
|
|
141
|
+
type InitializeParams = InitializeParams.Item[];
|
|
142
|
+
namespace InitializeParams {
|
|
143
|
+
interface Item {
|
|
144
|
+
/** Parameter name */
|
|
145
|
+
name: string;
|
|
146
|
+
/** Parameter type */
|
|
147
|
+
type: string;
|
|
148
|
+
/** Parameter value */
|
|
149
|
+
value: string;
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
/**
|
|
156
|
+
* @example
|
|
157
|
+
* {
|
|
158
|
+
* contractAddress: "contractAddress"
|
|
159
|
+
* }
|
|
160
|
+
*/
|
|
161
|
+
interface LinkContractRequest {
|
|
162
|
+
/** Contract type */
|
|
163
|
+
type?: string;
|
|
164
|
+
/** Reference ID */
|
|
165
|
+
refId?: string;
|
|
166
|
+
/** Display name */
|
|
167
|
+
displayName?: string;
|
|
168
|
+
/** Blockchain network */
|
|
169
|
+
network?: string;
|
|
170
|
+
/** Contract address */
|
|
171
|
+
contractAddress: string;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
/**
|
|
175
|
+
* @example
|
|
176
|
+
* {
|
|
177
|
+
* skip: 1,
|
|
178
|
+
* take: 1
|
|
179
|
+
* }
|
|
180
|
+
*/
|
|
181
|
+
interface GetCollectionsRequest {
|
|
182
|
+
/** Number of records to skip */
|
|
183
|
+
skip?: number;
|
|
184
|
+
/** Number of records to take */
|
|
185
|
+
take?: number;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
/**
|
|
189
|
+
* @example
|
|
190
|
+
* {
|
|
191
|
+
* type: "NON_FUNGIBLE_TOKEN",
|
|
192
|
+
* addressId: "addressId",
|
|
193
|
+
* clientShare: "clientShare",
|
|
194
|
+
* createParams: {
|
|
195
|
+
* initializeParams: [{
|
|
196
|
+
* name: "name",
|
|
197
|
+
* type: "type",
|
|
198
|
+
* value: "value"
|
|
199
|
+
* }]
|
|
200
|
+
* }
|
|
201
|
+
* }
|
|
202
|
+
*/
|
|
203
|
+
interface CreateCollectionRequest {
|
|
204
|
+
/** Blockchain network */
|
|
205
|
+
network?: string;
|
|
206
|
+
/** Collection type */
|
|
207
|
+
type: CreateCollectionRequest.Type;
|
|
208
|
+
/** Address ID for collection creation */
|
|
209
|
+
addressId: string;
|
|
210
|
+
/** Client share for signing */
|
|
211
|
+
clientShare: string;
|
|
212
|
+
createParams: CreateCollectionRequest.CreateParams;
|
|
213
|
+
/** Collection description */
|
|
214
|
+
description?: string;
|
|
215
|
+
/** Collection display name */
|
|
216
|
+
displayName?: string;
|
|
217
|
+
/** Use gasless transaction */
|
|
218
|
+
useGasless?: boolean;
|
|
219
|
+
/** Transaction fee */
|
|
220
|
+
fee?: string;
|
|
221
|
+
/** Fee level */
|
|
222
|
+
feeLevel?: string;
|
|
223
|
+
}
|
|
224
|
+
declare namespace CreateCollectionRequest {
|
|
225
|
+
/** Collection type */
|
|
226
|
+
const Type: {
|
|
227
|
+
readonly NonFungibleToken: "NON_FUNGIBLE_TOKEN";
|
|
228
|
+
readonly SemiFungibleToken: "SEMI_FUNGIBLE_TOKEN";
|
|
229
|
+
};
|
|
230
|
+
type Type = (typeof Type)[keyof typeof Type];
|
|
231
|
+
interface CreateParams {
|
|
232
|
+
/** Initialize parameters */
|
|
233
|
+
initializeParams: CreateParams.InitializeParams.Item[];
|
|
234
|
+
}
|
|
235
|
+
namespace CreateParams {
|
|
236
|
+
type InitializeParams = InitializeParams.Item[];
|
|
237
|
+
namespace InitializeParams {
|
|
238
|
+
interface Item {
|
|
239
|
+
/** Parameter name */
|
|
240
|
+
name: string;
|
|
241
|
+
/** Parameter type */
|
|
242
|
+
type: string;
|
|
243
|
+
/** Parameter value */
|
|
244
|
+
value: string;
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
/**
|
|
251
|
+
* @example
|
|
252
|
+
* {
|
|
253
|
+
* addressId: "addressId",
|
|
254
|
+
* clientShare: "clientShare",
|
|
255
|
+
* to: "to",
|
|
256
|
+
* tokenId: "tokenId"
|
|
257
|
+
* }
|
|
258
|
+
*/
|
|
259
|
+
interface MintTokenRequest {
|
|
260
|
+
/** Address ID for minting */
|
|
261
|
+
addressId: string;
|
|
262
|
+
/** Client share for signing */
|
|
263
|
+
clientShare: string;
|
|
264
|
+
/** Recipient address */
|
|
265
|
+
to: string;
|
|
266
|
+
/** Token ID */
|
|
267
|
+
tokenId: string;
|
|
268
|
+
/** Token amount */
|
|
269
|
+
amount?: string;
|
|
270
|
+
/** Token metadata URI */
|
|
271
|
+
metadataURI?: string;
|
|
272
|
+
metadata?: MintTokenRequest.Metadata;
|
|
273
|
+
}
|
|
274
|
+
declare namespace MintTokenRequest {
|
|
275
|
+
interface Metadata {
|
|
276
|
+
/** Token name */
|
|
277
|
+
name: string;
|
|
278
|
+
/** Token description */
|
|
279
|
+
description: string;
|
|
280
|
+
/** Token image URL */
|
|
281
|
+
image?: string;
|
|
282
|
+
/** Token animation URL */
|
|
283
|
+
animation_url?: string;
|
|
284
|
+
/** External URL */
|
|
285
|
+
external_url?: string;
|
|
286
|
+
/** Token attributes */
|
|
287
|
+
attributes?: Metadata.Attributes.Item[];
|
|
288
|
+
}
|
|
289
|
+
namespace Metadata {
|
|
290
|
+
type Attributes = Attributes.Item[];
|
|
291
|
+
namespace Attributes {
|
|
292
|
+
interface Item {
|
|
293
|
+
/** Trait type */
|
|
294
|
+
trait_type: string;
|
|
295
|
+
/** Trait value */
|
|
296
|
+
value: string;
|
|
297
|
+
/** Display type */
|
|
298
|
+
display_type?: string;
|
|
299
|
+
}
|
|
300
|
+
}
|
|
301
|
+
}
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
/**
|
|
305
|
+
* @example
|
|
306
|
+
* {
|
|
307
|
+
* addressId: "addressId",
|
|
308
|
+
* clientShare: "clientShare",
|
|
309
|
+
* tokenId: "tokenId"
|
|
310
|
+
* }
|
|
311
|
+
*/
|
|
312
|
+
interface BurnTokenRequest {
|
|
313
|
+
/** Address ID for burning */
|
|
314
|
+
addressId: string;
|
|
315
|
+
/** Client share for signing */
|
|
316
|
+
clientShare: string;
|
|
317
|
+
/** Token ID */
|
|
318
|
+
tokenId: string;
|
|
319
|
+
/** Address to burn from */
|
|
320
|
+
from?: string;
|
|
321
|
+
/** Token amount to burn */
|
|
322
|
+
amount?: string;
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
/**
|
|
326
|
+
* @example
|
|
327
|
+
* {
|
|
328
|
+
* id: "id",
|
|
329
|
+
* type: "MINT",
|
|
330
|
+
* skip: 1,
|
|
331
|
+
* take: 1
|
|
332
|
+
* }
|
|
333
|
+
*/
|
|
334
|
+
interface GetCollectionTokensRequest {
|
|
335
|
+
/** Collection ID to filter by */
|
|
336
|
+
id?: string;
|
|
337
|
+
/** Record type to filter by */
|
|
338
|
+
type?: GetCollectionTokensRequestType;
|
|
339
|
+
/** Number of records to skip */
|
|
340
|
+
skip?: number;
|
|
341
|
+
/** Number of records to take */
|
|
342
|
+
take?: number;
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
type index$a_BurnTokenRequest = BurnTokenRequest;
|
|
346
|
+
declare const index$a_CreateCollectionRequest: typeof CreateCollectionRequest;
|
|
347
|
+
type index$a_GetCollectionTokensRequest = GetCollectionTokensRequest;
|
|
348
|
+
type index$a_GetCollectionTokensRequestType = GetCollectionTokensRequestType;
|
|
349
|
+
type index$a_GetCollectionsRequest = GetCollectionsRequest;
|
|
350
|
+
type index$a_GetTokensRequest = GetTokensRequest;
|
|
351
|
+
declare const index$a_IssueNewTokenRequest: typeof IssueNewTokenRequest;
|
|
352
|
+
type index$a_LinkContractRequest = LinkContractRequest;
|
|
353
|
+
declare const index$a_MintTokenRequest: typeof MintTokenRequest;
|
|
70
354
|
declare namespace index$a {
|
|
71
355
|
export {
|
|
72
|
-
index$
|
|
73
|
-
index$
|
|
74
|
-
index$
|
|
75
|
-
index$
|
|
356
|
+
index$a_BurnTokenRequest as BurnTokenRequest,
|
|
357
|
+
index$a_CreateCollectionRequest as CreateCollectionRequest,
|
|
358
|
+
index$a_GetCollectionTokensRequest as GetCollectionTokensRequest,
|
|
359
|
+
index$a_GetCollectionTokensRequestType as GetCollectionTokensRequestType,
|
|
360
|
+
index$a_GetCollectionsRequest as GetCollectionsRequest,
|
|
361
|
+
index$a_GetTokensRequest as GetTokensRequest,
|
|
362
|
+
index$a_IssueNewTokenRequest as IssueNewTokenRequest,
|
|
363
|
+
index$a_LinkContractRequest as LinkContractRequest,
|
|
364
|
+
index$a_MintTokenRequest as MintTokenRequest,
|
|
76
365
|
};
|
|
77
366
|
}
|
|
78
367
|
|
|
@@ -166,7 +455,9 @@ interface CreateWalletRequest {
|
|
|
166
455
|
declare namespace CreateWalletRequest {
|
|
167
456
|
/** Blockchain network */
|
|
168
457
|
const Network: {
|
|
458
|
+
readonly Btc: "BTC";
|
|
169
459
|
readonly TBtc: "tBTC";
|
|
460
|
+
readonly Eth: "ETH";
|
|
170
461
|
readonly TEth: "tETH";
|
|
171
462
|
};
|
|
172
463
|
type Network = (typeof Network)[keyof typeof Network];
|
|
@@ -211,37 +502,10 @@ interface GetProfileAddressesRequest {
|
|
|
211
502
|
take?: number;
|
|
212
503
|
}
|
|
213
504
|
|
|
214
|
-
/**
|
|
215
|
-
* @example
|
|
216
|
-
* {
|
|
217
|
-
* reference: "reference",
|
|
218
|
-
* network: "BTC",
|
|
219
|
-
* clientShare: "clientShare"
|
|
220
|
-
* }
|
|
221
|
-
*/
|
|
222
|
-
interface CreateAddressRequest {
|
|
223
|
-
/** Profile reference */
|
|
224
|
-
reference: string;
|
|
225
|
-
/** Blockchain network */
|
|
226
|
-
network: CreateAddressRequest.Network;
|
|
227
|
-
/** Client share for signing */
|
|
228
|
-
clientShare: string;
|
|
229
|
-
}
|
|
230
|
-
declare namespace CreateAddressRequest {
|
|
231
|
-
/** Blockchain network */
|
|
232
|
-
const Network: {
|
|
233
|
-
readonly TBtc: "tBTC";
|
|
234
|
-
readonly TEth: "tETH";
|
|
235
|
-
};
|
|
236
|
-
type Network = (typeof Network)[keyof typeof Network];
|
|
237
|
-
}
|
|
238
|
-
|
|
239
|
-
declare const index$7_CreateAddressRequest: typeof CreateAddressRequest;
|
|
240
505
|
type index$7_GetOrganizationAddressesRequest = GetOrganizationAddressesRequest;
|
|
241
506
|
type index$7_GetProfileAddressesRequest = GetProfileAddressesRequest;
|
|
242
507
|
declare namespace index$7 {
|
|
243
508
|
export {
|
|
244
|
-
index$7_CreateAddressRequest as CreateAddressRequest,
|
|
245
509
|
index$7_GetOrganizationAddressesRequest as GetOrganizationAddressesRequest,
|
|
246
510
|
index$7_GetProfileAddressesRequest as GetProfileAddressesRequest,
|
|
247
511
|
};
|
|
@@ -270,50 +534,9 @@ interface GetTransactionsByAddressRequest {
|
|
|
270
534
|
*/
|
|
271
535
|
interface GetTransactionsByWalletRequest {
|
|
272
536
|
/** Number of records to skip */
|
|
273
|
-
skip?: number;
|
|
274
|
-
/** Number of records to take */
|
|
275
|
-
take?: number;
|
|
276
|
-
}
|
|
277
|
-
|
|
278
|
-
/**
|
|
279
|
-
* @example
|
|
280
|
-
* {
|
|
281
|
-
* skip: 1,
|
|
282
|
-
* take: 1
|
|
283
|
-
* }
|
|
284
|
-
*/
|
|
285
|
-
interface GetOrganizationTransactionsRequest {
|
|
286
|
-
/** Number of records to skip */
|
|
287
|
-
skip?: number;
|
|
288
|
-
/** Number of records to take */
|
|
289
|
-
take?: number;
|
|
290
|
-
}
|
|
291
|
-
|
|
292
|
-
/**
|
|
293
|
-
* @example
|
|
294
|
-
* {
|
|
295
|
-
* skip: 1,
|
|
296
|
-
* take: 1
|
|
297
|
-
* }
|
|
298
|
-
*/
|
|
299
|
-
interface GetProfileTransactionsRequest {
|
|
300
|
-
/** Number of records to skip */
|
|
301
|
-
skip?: number;
|
|
302
|
-
/** Number of records to take */
|
|
303
|
-
take?: number;
|
|
304
|
-
}
|
|
305
|
-
|
|
306
|
-
type index$6_GetOrganizationTransactionsRequest = GetOrganizationTransactionsRequest;
|
|
307
|
-
type index$6_GetProfileTransactionsRequest = GetProfileTransactionsRequest;
|
|
308
|
-
type index$6_GetTransactionsByAddressRequest = GetTransactionsByAddressRequest;
|
|
309
|
-
type index$6_GetTransactionsByWalletRequest = GetTransactionsByWalletRequest;
|
|
310
|
-
declare namespace index$6 {
|
|
311
|
-
export {
|
|
312
|
-
index$6_GetOrganizationTransactionsRequest as GetOrganizationTransactionsRequest,
|
|
313
|
-
index$6_GetProfileTransactionsRequest as GetProfileTransactionsRequest,
|
|
314
|
-
index$6_GetTransactionsByAddressRequest as GetTransactionsByAddressRequest,
|
|
315
|
-
index$6_GetTransactionsByWalletRequest as GetTransactionsByWalletRequest,
|
|
316
|
-
};
|
|
537
|
+
skip?: number;
|
|
538
|
+
/** Number of records to take */
|
|
539
|
+
take?: number;
|
|
317
540
|
}
|
|
318
541
|
|
|
319
542
|
/**
|
|
@@ -323,7 +546,7 @@ declare namespace index$6 {
|
|
|
323
546
|
* take: 1
|
|
324
547
|
* }
|
|
325
548
|
*/
|
|
326
|
-
interface
|
|
549
|
+
interface GetOrganizationTransactionsRequest {
|
|
327
550
|
/** Number of records to skip */
|
|
328
551
|
skip?: number;
|
|
329
552
|
/** Number of records to take */
|
|
@@ -337,19 +560,23 @@ interface GetAssetsByAddressRequest {
|
|
|
337
560
|
* take: 1
|
|
338
561
|
* }
|
|
339
562
|
*/
|
|
340
|
-
interface
|
|
563
|
+
interface GetProfileTransactionsRequest {
|
|
341
564
|
/** Number of records to skip */
|
|
342
565
|
skip?: number;
|
|
343
566
|
/** Number of records to take */
|
|
344
567
|
take?: number;
|
|
345
568
|
}
|
|
346
569
|
|
|
347
|
-
type index$
|
|
348
|
-
type index$
|
|
349
|
-
|
|
570
|
+
type index$6_GetOrganizationTransactionsRequest = GetOrganizationTransactionsRequest;
|
|
571
|
+
type index$6_GetProfileTransactionsRequest = GetProfileTransactionsRequest;
|
|
572
|
+
type index$6_GetTransactionsByAddressRequest = GetTransactionsByAddressRequest;
|
|
573
|
+
type index$6_GetTransactionsByWalletRequest = GetTransactionsByWalletRequest;
|
|
574
|
+
declare namespace index$6 {
|
|
350
575
|
export {
|
|
351
|
-
index$
|
|
352
|
-
index$
|
|
576
|
+
index$6_GetOrganizationTransactionsRequest as GetOrganizationTransactionsRequest,
|
|
577
|
+
index$6_GetProfileTransactionsRequest as GetProfileTransactionsRequest,
|
|
578
|
+
index$6_GetTransactionsByAddressRequest as GetTransactionsByAddressRequest,
|
|
579
|
+
index$6_GetTransactionsByWalletRequest as GetTransactionsByWalletRequest,
|
|
353
580
|
};
|
|
354
581
|
}
|
|
355
582
|
|
|
@@ -378,16 +605,18 @@ interface CreateWithdrawalRequest {
|
|
|
378
605
|
declare namespace CreateWithdrawalRequest {
|
|
379
606
|
/** Blockchain network */
|
|
380
607
|
const Network: {
|
|
608
|
+
readonly Btc: "BTC";
|
|
381
609
|
readonly TBtc: "tBTC";
|
|
610
|
+
readonly Eth: "ETH";
|
|
382
611
|
readonly TEth: "tETH";
|
|
383
612
|
};
|
|
384
613
|
type Network = (typeof Network)[keyof typeof Network];
|
|
385
614
|
}
|
|
386
615
|
|
|
387
|
-
declare const index$
|
|
388
|
-
declare namespace index$
|
|
616
|
+
declare const index$5_CreateWithdrawalRequest: typeof CreateWithdrawalRequest;
|
|
617
|
+
declare namespace index$5 {
|
|
389
618
|
export {
|
|
390
|
-
index$
|
|
619
|
+
index$5_CreateWithdrawalRequest as CreateWithdrawalRequest,
|
|
391
620
|
};
|
|
392
621
|
}
|
|
393
622
|
|
|
@@ -529,16 +758,16 @@ declare namespace DeployContractRequest {
|
|
|
529
758
|
}
|
|
530
759
|
}
|
|
531
760
|
|
|
532
|
-
declare const index$
|
|
533
|
-
declare const index$
|
|
534
|
-
type index$
|
|
535
|
-
type index$
|
|
536
|
-
declare namespace index$
|
|
761
|
+
declare const index$4_CreateContractTemplateRequest: typeof CreateContractTemplateRequest;
|
|
762
|
+
declare const index$4_DeployContractRequest: typeof DeployContractRequest;
|
|
763
|
+
type index$4_GetContractTemplatesRequest = GetContractTemplatesRequest;
|
|
764
|
+
type index$4_GetTemplateFunctionsRequest = GetTemplateFunctionsRequest;
|
|
765
|
+
declare namespace index$4 {
|
|
537
766
|
export {
|
|
538
|
-
index$
|
|
539
|
-
index$
|
|
540
|
-
index$
|
|
541
|
-
index$
|
|
767
|
+
index$4_CreateContractTemplateRequest as CreateContractTemplateRequest,
|
|
768
|
+
index$4_DeployContractRequest as DeployContractRequest,
|
|
769
|
+
index$4_GetContractTemplatesRequest as GetContractTemplatesRequest,
|
|
770
|
+
index$4_GetTemplateFunctionsRequest as GetTemplateFunctionsRequest,
|
|
542
771
|
};
|
|
543
772
|
}
|
|
544
773
|
|
|
@@ -630,299 +859,101 @@ declare namespace WriteFunctionRequest {
|
|
|
630
859
|
stateMutability?: string;
|
|
631
860
|
type: string;
|
|
632
861
|
}
|
|
633
|
-
namespace AbiFunction {
|
|
634
|
-
type Inputs = Inputs.Item[];
|
|
635
|
-
namespace Inputs {
|
|
636
|
-
interface Item {
|
|
637
|
-
name?: string;
|
|
638
|
-
type?: string;
|
|
639
|
-
internalType?: string;
|
|
640
|
-
}
|
|
641
|
-
}
|
|
642
|
-
type Outputs = Outputs.Item[];
|
|
643
|
-
namespace Outputs {
|
|
644
|
-
interface Item {
|
|
645
|
-
name?: string;
|
|
646
|
-
type?: string;
|
|
647
|
-
internalType?: string;
|
|
648
|
-
}
|
|
649
|
-
}
|
|
650
|
-
}
|
|
651
|
-
/** Fee level for transaction */
|
|
652
|
-
const FeeLevel: {
|
|
653
|
-
readonly Low: "LOW";
|
|
654
|
-
readonly Medium: "MEDIUM";
|
|
655
|
-
readonly High: "HIGH";
|
|
656
|
-
};
|
|
657
|
-
type FeeLevel = (typeof FeeLevel)[keyof typeof FeeLevel];
|
|
658
|
-
}
|
|
659
|
-
|
|
660
|
-
declare const index$2_ReadFunctionRequest: typeof ReadFunctionRequest;
|
|
661
|
-
declare const index$2_WriteFunctionRequest: typeof WriteFunctionRequest;
|
|
662
|
-
declare namespace index$2 {
|
|
663
|
-
export {
|
|
664
|
-
index$2_ReadFunctionRequest as ReadFunctionRequest,
|
|
665
|
-
index$2_WriteFunctionRequest as WriteFunctionRequest,
|
|
666
|
-
};
|
|
667
|
-
}
|
|
668
|
-
|
|
669
|
-
/**
|
|
670
|
-
* @example
|
|
671
|
-
* {
|
|
672
|
-
* skip: 1,
|
|
673
|
-
* take: 1
|
|
674
|
-
* }
|
|
675
|
-
*/
|
|
676
|
-
interface GetTokensRequest {
|
|
677
|
-
/** Number of records to skip */
|
|
678
|
-
skip?: number;
|
|
679
|
-
/** Number of records to take */
|
|
680
|
-
take?: number;
|
|
681
|
-
}
|
|
682
|
-
|
|
683
|
-
/**
|
|
684
|
-
* @example
|
|
685
|
-
* {
|
|
686
|
-
* addressId: "addressId",
|
|
687
|
-
* clientShare: "clientShare",
|
|
688
|
-
* deploymentId: "deploymentId",
|
|
689
|
-
* createParams: {
|
|
690
|
-
* initializeParams: [{
|
|
691
|
-
* name: "name",
|
|
692
|
-
* type: "type",
|
|
693
|
-
* value: "value"
|
|
694
|
-
* }]
|
|
695
|
-
* }
|
|
696
|
-
* }
|
|
697
|
-
*/
|
|
698
|
-
interface IssueNewTokenRequest {
|
|
699
|
-
/** Blockchain network */
|
|
700
|
-
network?: string;
|
|
701
|
-
/** Address ID for token creation */
|
|
702
|
-
addressId: string;
|
|
703
|
-
/** Client share for signing */
|
|
704
|
-
clientShare: string;
|
|
705
|
-
/** Deployed contract ID */
|
|
706
|
-
deploymentId: string;
|
|
707
|
-
createParams: IssueNewTokenRequest.CreateParams;
|
|
708
|
-
/** Token display name */
|
|
709
|
-
displayName?: string;
|
|
710
|
-
/** Use gasless transaction */
|
|
711
|
-
useGasless?: boolean;
|
|
712
|
-
/** Transaction fee */
|
|
713
|
-
fee?: string;
|
|
714
|
-
/** Fee level */
|
|
715
|
-
feeLevel?: string;
|
|
716
|
-
}
|
|
717
|
-
declare namespace IssueNewTokenRequest {
|
|
718
|
-
interface CreateParams {
|
|
719
|
-
/** Initialize parameters */
|
|
720
|
-
initializeParams: CreateParams.InitializeParams.Item[];
|
|
721
|
-
}
|
|
722
|
-
namespace CreateParams {
|
|
723
|
-
type InitializeParams = InitializeParams.Item[];
|
|
724
|
-
namespace InitializeParams {
|
|
725
|
-
interface Item {
|
|
726
|
-
/** Parameter name */
|
|
727
|
-
name: string;
|
|
728
|
-
/** Parameter type */
|
|
729
|
-
type: string;
|
|
730
|
-
/** Parameter value */
|
|
731
|
-
value: string;
|
|
732
|
-
}
|
|
733
|
-
}
|
|
734
|
-
}
|
|
735
|
-
}
|
|
736
|
-
|
|
737
|
-
/**
|
|
738
|
-
* @example
|
|
739
|
-
* {
|
|
740
|
-
* contractAddress: "contractAddress"
|
|
741
|
-
* }
|
|
742
|
-
*/
|
|
743
|
-
interface LinkContractRequest {
|
|
744
|
-
/** Contract type */
|
|
745
|
-
type?: string;
|
|
746
|
-
/** Reference ID */
|
|
747
|
-
refId?: string;
|
|
748
|
-
/** Display name */
|
|
749
|
-
displayName?: string;
|
|
750
|
-
/** Blockchain network */
|
|
751
|
-
network?: string;
|
|
752
|
-
/** Contract address */
|
|
753
|
-
contractAddress: string;
|
|
754
|
-
}
|
|
755
|
-
|
|
756
|
-
/**
|
|
757
|
-
* @example
|
|
758
|
-
* {
|
|
759
|
-
* skip: 1,
|
|
760
|
-
* take: 1
|
|
761
|
-
* }
|
|
762
|
-
*/
|
|
763
|
-
interface GetCollectionsRequest {
|
|
764
|
-
/** Number of records to skip */
|
|
765
|
-
skip?: number;
|
|
766
|
-
/** Number of records to take */
|
|
767
|
-
take?: number;
|
|
768
|
-
}
|
|
769
|
-
|
|
770
|
-
/**
|
|
771
|
-
* @example
|
|
772
|
-
* {
|
|
773
|
-
* type: "NON_FUNGIBLE_TOKEN",
|
|
774
|
-
* addressId: "addressId",
|
|
775
|
-
* clientShare: "clientShare",
|
|
776
|
-
* createParams: {
|
|
777
|
-
* initializeParams: [{
|
|
778
|
-
* name: "name",
|
|
779
|
-
* type: "type",
|
|
780
|
-
* value: "value"
|
|
781
|
-
* }]
|
|
782
|
-
* }
|
|
783
|
-
* }
|
|
784
|
-
*/
|
|
785
|
-
interface CreateCollectionRequest {
|
|
786
|
-
/** Blockchain network */
|
|
787
|
-
network?: string;
|
|
788
|
-
/** Collection type */
|
|
789
|
-
type: CreateCollectionRequest.Type;
|
|
790
|
-
/** Address ID for collection creation */
|
|
791
|
-
addressId: string;
|
|
792
|
-
/** Client share for signing */
|
|
793
|
-
clientShare: string;
|
|
794
|
-
createParams: CreateCollectionRequest.CreateParams;
|
|
795
|
-
/** Collection description */
|
|
796
|
-
description?: string;
|
|
797
|
-
/** Collection display name */
|
|
798
|
-
displayName?: string;
|
|
799
|
-
/** Use gasless transaction */
|
|
800
|
-
useGasless?: boolean;
|
|
801
|
-
/** Transaction fee */
|
|
802
|
-
fee?: string;
|
|
803
|
-
/** Fee level */
|
|
804
|
-
feeLevel?: string;
|
|
805
|
-
}
|
|
806
|
-
declare namespace CreateCollectionRequest {
|
|
807
|
-
/** Collection type */
|
|
808
|
-
const Type: {
|
|
809
|
-
readonly NonFungibleToken: "NON_FUNGIBLE_TOKEN";
|
|
810
|
-
readonly SemiFungibleToken: "SEMI_FUNGIBLE_TOKEN";
|
|
811
|
-
};
|
|
812
|
-
type Type = (typeof Type)[keyof typeof Type];
|
|
813
|
-
interface CreateParams {
|
|
814
|
-
/** Initialize parameters */
|
|
815
|
-
initializeParams: CreateParams.InitializeParams.Item[];
|
|
816
|
-
}
|
|
817
|
-
namespace CreateParams {
|
|
818
|
-
type InitializeParams = InitializeParams.Item[];
|
|
819
|
-
namespace InitializeParams {
|
|
820
|
-
interface Item {
|
|
821
|
-
/** Parameter name */
|
|
822
|
-
name: string;
|
|
823
|
-
/** Parameter type */
|
|
824
|
-
type: string;
|
|
825
|
-
/** Parameter value */
|
|
826
|
-
value: string;
|
|
827
|
-
}
|
|
828
|
-
}
|
|
829
|
-
}
|
|
830
|
-
}
|
|
831
|
-
|
|
832
|
-
/**
|
|
833
|
-
* @example
|
|
834
|
-
* {
|
|
835
|
-
* addressId: "addressId",
|
|
836
|
-
* clientShare: "clientShare",
|
|
837
|
-
* to: "to",
|
|
838
|
-
* tokenId: "tokenId"
|
|
839
|
-
* }
|
|
840
|
-
*/
|
|
841
|
-
interface MintTokenRequest {
|
|
842
|
-
/** Address ID for minting */
|
|
843
|
-
addressId: string;
|
|
844
|
-
/** Client share for signing */
|
|
845
|
-
clientShare: string;
|
|
846
|
-
/** Recipient address */
|
|
847
|
-
to: string;
|
|
848
|
-
/** Token ID */
|
|
849
|
-
tokenId: string;
|
|
850
|
-
/** Token amount */
|
|
851
|
-
amount?: string;
|
|
852
|
-
/** Token metadata URI */
|
|
853
|
-
metadataURI?: string;
|
|
854
|
-
metadata?: MintTokenRequest.Metadata;
|
|
855
|
-
}
|
|
856
|
-
declare namespace MintTokenRequest {
|
|
857
|
-
interface Metadata {
|
|
858
|
-
/** Token name */
|
|
859
|
-
name: string;
|
|
860
|
-
/** Token description */
|
|
861
|
-
description: string;
|
|
862
|
-
/** Token image URL */
|
|
863
|
-
image?: string;
|
|
864
|
-
/** Token animation URL */
|
|
865
|
-
animation_url?: string;
|
|
866
|
-
/** External URL */
|
|
867
|
-
external_url?: string;
|
|
868
|
-
/** Token attributes */
|
|
869
|
-
attributes?: Metadata.Attributes.Item[];
|
|
870
|
-
}
|
|
871
|
-
namespace Metadata {
|
|
872
|
-
type Attributes = Attributes.Item[];
|
|
873
|
-
namespace Attributes {
|
|
862
|
+
namespace AbiFunction {
|
|
863
|
+
type Inputs = Inputs.Item[];
|
|
864
|
+
namespace Inputs {
|
|
874
865
|
interface Item {
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
866
|
+
name?: string;
|
|
867
|
+
type?: string;
|
|
868
|
+
internalType?: string;
|
|
869
|
+
}
|
|
870
|
+
}
|
|
871
|
+
type Outputs = Outputs.Item[];
|
|
872
|
+
namespace Outputs {
|
|
873
|
+
interface Item {
|
|
874
|
+
name?: string;
|
|
875
|
+
type?: string;
|
|
876
|
+
internalType?: string;
|
|
881
877
|
}
|
|
882
878
|
}
|
|
883
879
|
}
|
|
880
|
+
/** Fee level for transaction */
|
|
881
|
+
const FeeLevel: {
|
|
882
|
+
readonly Low: "LOW";
|
|
883
|
+
readonly Medium: "MEDIUM";
|
|
884
|
+
readonly High: "HIGH";
|
|
885
|
+
};
|
|
886
|
+
type FeeLevel = (typeof FeeLevel)[keyof typeof FeeLevel];
|
|
887
|
+
}
|
|
888
|
+
|
|
889
|
+
declare const index$3_ReadFunctionRequest: typeof ReadFunctionRequest;
|
|
890
|
+
declare const index$3_WriteFunctionRequest: typeof WriteFunctionRequest;
|
|
891
|
+
declare namespace index$3 {
|
|
892
|
+
export {
|
|
893
|
+
index$3_ReadFunctionRequest as ReadFunctionRequest,
|
|
894
|
+
index$3_WriteFunctionRequest as WriteFunctionRequest,
|
|
895
|
+
};
|
|
896
|
+
}
|
|
897
|
+
|
|
898
|
+
declare namespace index$2 {
|
|
899
|
+
export {
|
|
900
|
+
};
|
|
884
901
|
}
|
|
885
902
|
|
|
886
903
|
/**
|
|
887
904
|
* @example
|
|
888
905
|
* {
|
|
889
|
-
*
|
|
890
|
-
*
|
|
891
|
-
*
|
|
906
|
+
* address: "address",
|
|
907
|
+
* walletId: "walletId",
|
|
908
|
+
* contractAddress: "contractAddress",
|
|
909
|
+
* tokenizationId: "tokenizationId",
|
|
910
|
+
* skip: 1,
|
|
911
|
+
* take: 1
|
|
892
912
|
* }
|
|
893
913
|
*/
|
|
894
|
-
interface
|
|
895
|
-
/**
|
|
896
|
-
|
|
897
|
-
/**
|
|
898
|
-
|
|
899
|
-
/**
|
|
900
|
-
|
|
901
|
-
/**
|
|
902
|
-
|
|
903
|
-
/**
|
|
904
|
-
|
|
914
|
+
interface GetAssetsRequest {
|
|
915
|
+
/** Blockchain address to filter by */
|
|
916
|
+
address?: string;
|
|
917
|
+
/** Wallet ID to filter by */
|
|
918
|
+
walletId?: string;
|
|
919
|
+
/** Contract address to filter by */
|
|
920
|
+
contractAddress?: string;
|
|
921
|
+
/** Tokenization ID to filter by */
|
|
922
|
+
tokenizationId?: string;
|
|
923
|
+
/** Number of records to skip */
|
|
924
|
+
skip?: number;
|
|
925
|
+
/** Number of records to take */
|
|
926
|
+
take?: number;
|
|
905
927
|
}
|
|
906
928
|
|
|
907
|
-
type index$
|
|
908
|
-
declare const index$1_CreateCollectionRequest: typeof CreateCollectionRequest;
|
|
909
|
-
type index$1_GetCollectionsRequest = GetCollectionsRequest;
|
|
910
|
-
type index$1_GetTokensRequest = GetTokensRequest;
|
|
911
|
-
declare const index$1_IssueNewTokenRequest: typeof IssueNewTokenRequest;
|
|
912
|
-
type index$1_LinkContractRequest = LinkContractRequest;
|
|
913
|
-
declare const index$1_MintTokenRequest: typeof MintTokenRequest;
|
|
929
|
+
type index$1_GetAssetsRequest = GetAssetsRequest;
|
|
914
930
|
declare namespace index$1 {
|
|
915
931
|
export {
|
|
916
|
-
index$
|
|
917
|
-
index$1_CreateCollectionRequest as CreateCollectionRequest,
|
|
918
|
-
index$1_GetCollectionsRequest as GetCollectionsRequest,
|
|
919
|
-
index$1_GetTokensRequest as GetTokensRequest,
|
|
920
|
-
index$1_IssueNewTokenRequest as IssueNewTokenRequest,
|
|
921
|
-
index$1_LinkContractRequest as LinkContractRequest,
|
|
922
|
-
index$1_MintTokenRequest as MintTokenRequest,
|
|
932
|
+
index$1_GetAssetsRequest as GetAssetsRequest,
|
|
923
933
|
};
|
|
924
934
|
}
|
|
925
935
|
|
|
936
|
+
interface TemporalWorkflowStatusData {
|
|
937
|
+
/** Temporal workflow ID */
|
|
938
|
+
workflowId: string;
|
|
939
|
+
/** Temporal run ID */
|
|
940
|
+
runId?: string;
|
|
941
|
+
/** Workflow execution status */
|
|
942
|
+
status: string;
|
|
943
|
+
/** Workflow start time (ISO 8601) */
|
|
944
|
+
startTime: string;
|
|
945
|
+
/** Workflow close time (ISO 8601) or null if running */
|
|
946
|
+
closeTime?: string;
|
|
947
|
+
/** Execution time (implementation-defined units) */
|
|
948
|
+
executionTime?: number;
|
|
949
|
+
/** Number of events in workflow history */
|
|
950
|
+
historyLength: number;
|
|
951
|
+
/** Workflow result payload if completed */
|
|
952
|
+
result?: Record<string, unknown>;
|
|
953
|
+
/** Error information if the workflow failed */
|
|
954
|
+
error?: Record<string, unknown>;
|
|
955
|
+
}
|
|
956
|
+
|
|
926
957
|
interface LinkedTokenData {
|
|
927
958
|
id: string;
|
|
928
959
|
linked: boolean;
|
|
@@ -988,6 +1019,25 @@ declare namespace PaginatedResponse {
|
|
|
988
1019
|
}
|
|
989
1020
|
}
|
|
990
1021
|
|
|
1022
|
+
interface CreateAddressRequest {
|
|
1023
|
+
/** Profile reference */
|
|
1024
|
+
reference: string;
|
|
1025
|
+
/** Blockchain network */
|
|
1026
|
+
network: CreateAddressRequest.Network;
|
|
1027
|
+
/** Client share for signing */
|
|
1028
|
+
clientShare: string;
|
|
1029
|
+
}
|
|
1030
|
+
declare namespace CreateAddressRequest {
|
|
1031
|
+
/** Blockchain network */
|
|
1032
|
+
const Network: {
|
|
1033
|
+
readonly Btc: "BTC";
|
|
1034
|
+
readonly TBtc: "tBTC";
|
|
1035
|
+
readonly Eth: "ETH";
|
|
1036
|
+
readonly TEth: "tETH";
|
|
1037
|
+
};
|
|
1038
|
+
type Network = (typeof Network)[keyof typeof Network];
|
|
1039
|
+
}
|
|
1040
|
+
|
|
991
1041
|
/**
|
|
992
1042
|
* The raw response from the fetch call excluding the body.
|
|
993
1043
|
*/
|
|
@@ -1091,6 +1141,10 @@ declare class BadRequestError extends OumlaSdkApiError {
|
|
|
1091
1141
|
constructor(body: ErrorResponse, rawResponse?: RawResponse);
|
|
1092
1142
|
}
|
|
1093
1143
|
|
|
1144
|
+
declare class NotFoundError extends OumlaSdkApiError {
|
|
1145
|
+
constructor(body: ErrorResponse, rawResponse?: RawResponse);
|
|
1146
|
+
}
|
|
1147
|
+
|
|
1094
1148
|
type index_AddContractAbiRequest = AddContractAbiRequest;
|
|
1095
1149
|
type index_BadRequestError = BadRequestError;
|
|
1096
1150
|
declare const index_BadRequestError: typeof BadRequestError;
|
|
@@ -1104,8 +1158,9 @@ declare const index_CreateWithdrawalRequest: typeof CreateWithdrawalRequest;
|
|
|
1104
1158
|
declare const index_DeployContractRequest: typeof DeployContractRequest;
|
|
1105
1159
|
declare const index_ErrorResponse: typeof ErrorResponse;
|
|
1106
1160
|
type index_FetchContractAbiRequest = FetchContractAbiRequest;
|
|
1107
|
-
type
|
|
1108
|
-
type
|
|
1161
|
+
type index_GetAssetsRequest = GetAssetsRequest;
|
|
1162
|
+
type index_GetCollectionTokensRequest = GetCollectionTokensRequest;
|
|
1163
|
+
type index_GetCollectionTokensRequestType = GetCollectionTokensRequestType;
|
|
1109
1164
|
type index_GetCollectionsRequest = GetCollectionsRequest;
|
|
1110
1165
|
type index_GetContractTemplatesRequest = GetContractTemplatesRequest;
|
|
1111
1166
|
type index_GetDeployedContractsRequest = GetDeployedContractsRequest;
|
|
@@ -1126,9 +1181,12 @@ type index_LinkContractRequest = LinkContractRequest;
|
|
|
1126
1181
|
type index_LinkedTokenData = LinkedTokenData;
|
|
1127
1182
|
type index_LinkedTokenResponse = LinkedTokenResponse;
|
|
1128
1183
|
declare const index_MintTokenRequest: typeof MintTokenRequest;
|
|
1184
|
+
type index_NotFoundError = NotFoundError;
|
|
1185
|
+
declare const index_NotFoundError: typeof NotFoundError;
|
|
1129
1186
|
declare const index_PaginatedResponse: typeof PaginatedResponse;
|
|
1130
1187
|
declare const index_ReadFunctionRequest: typeof ReadFunctionRequest;
|
|
1131
1188
|
type index_SuccessResponse = SuccessResponse;
|
|
1189
|
+
type index_TemporalWorkflowStatusData = TemporalWorkflowStatusData;
|
|
1132
1190
|
declare const index_WriteFunctionRequest: typeof WriteFunctionRequest;
|
|
1133
1191
|
declare namespace index {
|
|
1134
1192
|
export {
|
|
@@ -1144,8 +1202,9 @@ declare namespace index {
|
|
|
1144
1202
|
index_DeployContractRequest as DeployContractRequest,
|
|
1145
1203
|
index_ErrorResponse as ErrorResponse,
|
|
1146
1204
|
index_FetchContractAbiRequest as FetchContractAbiRequest,
|
|
1147
|
-
|
|
1148
|
-
|
|
1205
|
+
index_GetAssetsRequest as GetAssetsRequest,
|
|
1206
|
+
index_GetCollectionTokensRequest as GetCollectionTokensRequest,
|
|
1207
|
+
index_GetCollectionTokensRequestType as GetCollectionTokensRequestType,
|
|
1149
1208
|
index_GetCollectionsRequest as GetCollectionsRequest,
|
|
1150
1209
|
index_GetContractTemplatesRequest as GetContractTemplatesRequest,
|
|
1151
1210
|
index_GetDeployedContractsRequest as GetDeployedContractsRequest,
|
|
@@ -1166,20 +1225,23 @@ declare namespace index {
|
|
|
1166
1225
|
index_LinkedTokenData as LinkedTokenData,
|
|
1167
1226
|
index_LinkedTokenResponse as LinkedTokenResponse,
|
|
1168
1227
|
index_MintTokenRequest as MintTokenRequest,
|
|
1228
|
+
index_NotFoundError as NotFoundError,
|
|
1169
1229
|
index_PaginatedResponse as PaginatedResponse,
|
|
1170
1230
|
index_ReadFunctionRequest as ReadFunctionRequest,
|
|
1171
1231
|
index_SuccessResponse as SuccessResponse,
|
|
1232
|
+
index_TemporalWorkflowStatusData as TemporalWorkflowStatusData,
|
|
1172
1233
|
index_WriteFunctionRequest as WriteFunctionRequest,
|
|
1173
1234
|
index$7 as addresses,
|
|
1174
|
-
index$
|
|
1175
|
-
index$
|
|
1176
|
-
index$
|
|
1177
|
-
index$
|
|
1235
|
+
index$1 as assets,
|
|
1236
|
+
index$3 as contractInteractions,
|
|
1237
|
+
index$4 as contractTemplates,
|
|
1238
|
+
index$b as deployedContracts,
|
|
1178
1239
|
index$9 as profiles,
|
|
1179
|
-
index$
|
|
1240
|
+
index$2 as temporal,
|
|
1241
|
+
index$a as tokenization,
|
|
1180
1242
|
index$6 as transactions,
|
|
1181
1243
|
index$8 as wallets,
|
|
1182
|
-
index$
|
|
1244
|
+
index$5 as withdrawals,
|
|
1183
1245
|
};
|
|
1184
1246
|
}
|
|
1185
1247
|
|
|
@@ -1411,14 +1473,29 @@ declare class Addresses {
|
|
|
1411
1473
|
* @param {Addresses.RequestOptions} requestOptions - Request-specific configuration.
|
|
1412
1474
|
*
|
|
1413
1475
|
* @example
|
|
1414
|
-
* await client.addresses.
|
|
1476
|
+
* await client.addresses.generateAddressV1({
|
|
1477
|
+
* reference: "reference",
|
|
1478
|
+
* network: "BTC",
|
|
1479
|
+
* clientShare: "clientShare"
|
|
1480
|
+
* })
|
|
1481
|
+
*/
|
|
1482
|
+
generateAddressV1(request: CreateAddressRequest, requestOptions?: Addresses.RequestOptions): HttpResponsePromise<SuccessResponse>;
|
|
1483
|
+
private __generateAddressV1;
|
|
1484
|
+
/**
|
|
1485
|
+
* Generate a new address for a profile
|
|
1486
|
+
*
|
|
1487
|
+
* @param {OumlaSdkApi.CreateAddressRequest} request
|
|
1488
|
+
* @param {Addresses.RequestOptions} requestOptions - Request-specific configuration.
|
|
1489
|
+
*
|
|
1490
|
+
* @example
|
|
1491
|
+
* await client.addresses.generateAddressV2({
|
|
1415
1492
|
* reference: "reference",
|
|
1416
1493
|
* network: "BTC",
|
|
1417
1494
|
* clientShare: "clientShare"
|
|
1418
1495
|
* })
|
|
1419
1496
|
*/
|
|
1420
|
-
|
|
1421
|
-
private
|
|
1497
|
+
generateAddressV2(request: CreateAddressRequest, requestOptions?: Addresses.RequestOptions): HttpResponsePromise<SuccessResponse>;
|
|
1498
|
+
private __generateAddressV2;
|
|
1422
1499
|
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
1423
1500
|
}
|
|
1424
1501
|
|
|
@@ -1520,75 +1597,6 @@ declare class Transactions {
|
|
|
1520
1597
|
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
1521
1598
|
}
|
|
1522
1599
|
|
|
1523
|
-
declare namespace Assets {
|
|
1524
|
-
interface Options {
|
|
1525
|
-
environment?: Supplier<OumlaSdkApiEnvironment | string>;
|
|
1526
|
-
/** Specify a custom URL to connect the client to. */
|
|
1527
|
-
baseUrl?: Supplier<string>;
|
|
1528
|
-
token?: Supplier<BearerToken | undefined>;
|
|
1529
|
-
/** Override the x-sdk-version header */
|
|
1530
|
-
sdkVersion?: "1.0.0";
|
|
1531
|
-
/** Override the x-api-key header */
|
|
1532
|
-
apiKey: Supplier<string>;
|
|
1533
|
-
/** Additional headers to include in requests. */
|
|
1534
|
-
headers?: Record<string, string | Supplier<string | null | undefined> | null | undefined>;
|
|
1535
|
-
}
|
|
1536
|
-
interface RequestOptions {
|
|
1537
|
-
/** The maximum time to wait for a response in seconds. */
|
|
1538
|
-
timeoutInSeconds?: number;
|
|
1539
|
-
/** The number of times to retry the request. Defaults to 2. */
|
|
1540
|
-
maxRetries?: number;
|
|
1541
|
-
/** A hook to abort the request. */
|
|
1542
|
-
abortSignal?: AbortSignal;
|
|
1543
|
-
/** Override the x-sdk-version header */
|
|
1544
|
-
sdkVersion?: "1.0.0";
|
|
1545
|
-
/** Override the x-api-key header */
|
|
1546
|
-
apiKey?: string;
|
|
1547
|
-
/** Additional query string parameters to include in the request. */
|
|
1548
|
-
queryParams?: Record<string, unknown>;
|
|
1549
|
-
/** Additional headers to include in the request. */
|
|
1550
|
-
headers?: Record<string, string | Supplier<string | null | undefined> | null | undefined>;
|
|
1551
|
-
}
|
|
1552
|
-
}
|
|
1553
|
-
/**
|
|
1554
|
-
* Asset management and tracking
|
|
1555
|
-
*/
|
|
1556
|
-
declare class Assets {
|
|
1557
|
-
protected readonly _options: Assets.Options;
|
|
1558
|
-
constructor(_options: Assets.Options);
|
|
1559
|
-
/**
|
|
1560
|
-
* Retrieve assets for a specific address
|
|
1561
|
-
*
|
|
1562
|
-
* @param {string} address - Blockchain address
|
|
1563
|
-
* @param {OumlaSdkApi.GetAssetsByAddressRequest} request
|
|
1564
|
-
* @param {Assets.RequestOptions} requestOptions - Request-specific configuration.
|
|
1565
|
-
*
|
|
1566
|
-
* @example
|
|
1567
|
-
* await client.assets.getAssetsByAddress("address", {
|
|
1568
|
-
* skip: 1,
|
|
1569
|
-
* take: 1
|
|
1570
|
-
* })
|
|
1571
|
-
*/
|
|
1572
|
-
getAssetsByAddress(address: string, request?: GetAssetsByAddressRequest, requestOptions?: Assets.RequestOptions): HttpResponsePromise<PaginatedResponse>;
|
|
1573
|
-
private __getAssetsByAddress;
|
|
1574
|
-
/**
|
|
1575
|
-
* Retrieve assets for a specific wallet
|
|
1576
|
-
*
|
|
1577
|
-
* @param {string} miniWalletId - Mini wallet ID
|
|
1578
|
-
* @param {OumlaSdkApi.GetAssetsByWalletRequest} request
|
|
1579
|
-
* @param {Assets.RequestOptions} requestOptions - Request-specific configuration.
|
|
1580
|
-
*
|
|
1581
|
-
* @example
|
|
1582
|
-
* await client.assets.getAssetsByWallet("miniWalletId", {
|
|
1583
|
-
* skip: 1,
|
|
1584
|
-
* take: 1
|
|
1585
|
-
* })
|
|
1586
|
-
*/
|
|
1587
|
-
getAssetsByWallet(miniWalletId: string, request?: GetAssetsByWalletRequest, requestOptions?: Assets.RequestOptions): HttpResponsePromise<PaginatedResponse>;
|
|
1588
|
-
private __getAssetsByWallet;
|
|
1589
|
-
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
1590
|
-
}
|
|
1591
|
-
|
|
1592
1600
|
declare namespace Withdrawals {
|
|
1593
1601
|
interface Options {
|
|
1594
1602
|
environment?: Supplier<OumlaSdkApiEnvironment | string>;
|
|
@@ -2183,6 +2191,24 @@ declare class Tokenization {
|
|
|
2183
2191
|
*/
|
|
2184
2192
|
burnToken(id: string, request: BurnTokenRequest, requestOptions?: Tokenization.RequestOptions): HttpResponsePromise<SuccessResponse>;
|
|
2185
2193
|
private __burnToken;
|
|
2194
|
+
/**
|
|
2195
|
+
* Retrieve collection tokens (mints or burns) filtered by collection ID and type
|
|
2196
|
+
*
|
|
2197
|
+
* @param {OumlaSdkApi.GetCollectionTokensRequest} request
|
|
2198
|
+
* @param {Tokenization.RequestOptions} requestOptions - Request-specific configuration.
|
|
2199
|
+
*
|
|
2200
|
+
* @throws {@link OumlaSdkApi.NotFoundError}
|
|
2201
|
+
*
|
|
2202
|
+
* @example
|
|
2203
|
+
* await client.tokenization.getCollectionTokens({
|
|
2204
|
+
* id: "id",
|
|
2205
|
+
* type: "MINT",
|
|
2206
|
+
* skip: 1,
|
|
2207
|
+
* take: 1
|
|
2208
|
+
* })
|
|
2209
|
+
*/
|
|
2210
|
+
getCollectionTokens(request?: GetCollectionTokensRequest, requestOptions?: Tokenization.RequestOptions): HttpResponsePromise<SuccessResponse>;
|
|
2211
|
+
private __getCollectionTokens;
|
|
2186
2212
|
/**
|
|
2187
2213
|
* Unlink a token from the platform
|
|
2188
2214
|
*
|
|
@@ -2197,6 +2223,117 @@ declare class Tokenization {
|
|
|
2197
2223
|
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
2198
2224
|
}
|
|
2199
2225
|
|
|
2226
|
+
declare namespace Temporal {
|
|
2227
|
+
interface Options {
|
|
2228
|
+
environment?: Supplier<OumlaSdkApiEnvironment | string>;
|
|
2229
|
+
/** Specify a custom URL to connect the client to. */
|
|
2230
|
+
baseUrl?: Supplier<string>;
|
|
2231
|
+
token?: Supplier<BearerToken | undefined>;
|
|
2232
|
+
/** Override the x-sdk-version header */
|
|
2233
|
+
sdkVersion?: "1.0.0";
|
|
2234
|
+
/** Override the x-api-key header */
|
|
2235
|
+
apiKey: Supplier<string>;
|
|
2236
|
+
/** Additional headers to include in requests. */
|
|
2237
|
+
headers?: Record<string, string | Supplier<string | null | undefined> | null | undefined>;
|
|
2238
|
+
}
|
|
2239
|
+
interface RequestOptions {
|
|
2240
|
+
/** The maximum time to wait for a response in seconds. */
|
|
2241
|
+
timeoutInSeconds?: number;
|
|
2242
|
+
/** The number of times to retry the request. Defaults to 2. */
|
|
2243
|
+
maxRetries?: number;
|
|
2244
|
+
/** A hook to abort the request. */
|
|
2245
|
+
abortSignal?: AbortSignal;
|
|
2246
|
+
/** Override the x-sdk-version header */
|
|
2247
|
+
sdkVersion?: "1.0.0";
|
|
2248
|
+
/** Override the x-api-key header */
|
|
2249
|
+
apiKey?: string;
|
|
2250
|
+
/** Additional query string parameters to include in the request. */
|
|
2251
|
+
queryParams?: Record<string, unknown>;
|
|
2252
|
+
/** Additional headers to include in the request. */
|
|
2253
|
+
headers?: Record<string, string | Supplier<string | null | undefined> | null | undefined>;
|
|
2254
|
+
}
|
|
2255
|
+
}
|
|
2256
|
+
/**
|
|
2257
|
+
* Temporal workflow operations
|
|
2258
|
+
*/
|
|
2259
|
+
declare class Temporal {
|
|
2260
|
+
protected readonly _options: Temporal.Options;
|
|
2261
|
+
constructor(_options: Temporal.Options);
|
|
2262
|
+
/**
|
|
2263
|
+
* Get workflow status and result
|
|
2264
|
+
*
|
|
2265
|
+
* @param {string} workflowId - Temporal workflow ID
|
|
2266
|
+
* @param {Temporal.RequestOptions} requestOptions - Request-specific configuration.
|
|
2267
|
+
*
|
|
2268
|
+
* @throws {@link OumlaSdkApi.NotFoundError}
|
|
2269
|
+
*
|
|
2270
|
+
* @example
|
|
2271
|
+
* await client.temporal.getTemporalWorkflowStatus("workflowId")
|
|
2272
|
+
*/
|
|
2273
|
+
getTemporalWorkflowStatus(workflowId: string, requestOptions?: Temporal.RequestOptions): HttpResponsePromise<SuccessResponse>;
|
|
2274
|
+
private __getTemporalWorkflowStatus;
|
|
2275
|
+
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
2276
|
+
}
|
|
2277
|
+
|
|
2278
|
+
declare namespace Assets {
|
|
2279
|
+
interface Options {
|
|
2280
|
+
environment?: Supplier<OumlaSdkApiEnvironment | string>;
|
|
2281
|
+
/** Specify a custom URL to connect the client to. */
|
|
2282
|
+
baseUrl?: Supplier<string>;
|
|
2283
|
+
token?: Supplier<BearerToken | undefined>;
|
|
2284
|
+
/** Override the x-sdk-version header */
|
|
2285
|
+
sdkVersion?: "1.0.0";
|
|
2286
|
+
/** Override the x-api-key header */
|
|
2287
|
+
apiKey: Supplier<string>;
|
|
2288
|
+
/** Additional headers to include in requests. */
|
|
2289
|
+
headers?: Record<string, string | Supplier<string | null | undefined> | null | undefined>;
|
|
2290
|
+
}
|
|
2291
|
+
interface RequestOptions {
|
|
2292
|
+
/** The maximum time to wait for a response in seconds. */
|
|
2293
|
+
timeoutInSeconds?: number;
|
|
2294
|
+
/** The number of times to retry the request. Defaults to 2. */
|
|
2295
|
+
maxRetries?: number;
|
|
2296
|
+
/** A hook to abort the request. */
|
|
2297
|
+
abortSignal?: AbortSignal;
|
|
2298
|
+
/** Override the x-sdk-version header */
|
|
2299
|
+
sdkVersion?: "1.0.0";
|
|
2300
|
+
/** Override the x-api-key header */
|
|
2301
|
+
apiKey?: string;
|
|
2302
|
+
/** Additional query string parameters to include in the request. */
|
|
2303
|
+
queryParams?: Record<string, unknown>;
|
|
2304
|
+
/** Additional headers to include in the request. */
|
|
2305
|
+
headers?: Record<string, string | Supplier<string | null | undefined> | null | undefined>;
|
|
2306
|
+
}
|
|
2307
|
+
}
|
|
2308
|
+
/**
|
|
2309
|
+
* Asset management and tracking
|
|
2310
|
+
*/
|
|
2311
|
+
declare class Assets {
|
|
2312
|
+
protected readonly _options: Assets.Options;
|
|
2313
|
+
constructor(_options: Assets.Options);
|
|
2314
|
+
/**
|
|
2315
|
+
* Retrieve assets for the organization filtered by address, wallet ID, contract address, or tokenization ID
|
|
2316
|
+
*
|
|
2317
|
+
* @param {OumlaSdkApi.GetAssetsRequest} request
|
|
2318
|
+
* @param {Assets.RequestOptions} requestOptions - Request-specific configuration.
|
|
2319
|
+
*
|
|
2320
|
+
* @throws {@link OumlaSdkApi.NotFoundError}
|
|
2321
|
+
*
|
|
2322
|
+
* @example
|
|
2323
|
+
* await client.assets.getAssets({
|
|
2324
|
+
* address: "address",
|
|
2325
|
+
* walletId: "walletId",
|
|
2326
|
+
* contractAddress: "contractAddress",
|
|
2327
|
+
* tokenizationId: "tokenizationId",
|
|
2328
|
+
* skip: 1,
|
|
2329
|
+
* take: 1
|
|
2330
|
+
* })
|
|
2331
|
+
*/
|
|
2332
|
+
getAssets(request?: GetAssetsRequest, requestOptions?: Assets.RequestOptions): HttpResponsePromise<SuccessResponse>;
|
|
2333
|
+
private __getAssets;
|
|
2334
|
+
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
2335
|
+
}
|
|
2336
|
+
|
|
2200
2337
|
declare namespace OumlaSdkApiClient {
|
|
2201
2338
|
interface Options {
|
|
2202
2339
|
environment?: Supplier<OumlaSdkApiEnvironment | string>;
|
|
@@ -2233,23 +2370,25 @@ declare class OumlaSdkApiClient {
|
|
|
2233
2370
|
protected _wallets: Wallets | undefined;
|
|
2234
2371
|
protected _addresses: Addresses | undefined;
|
|
2235
2372
|
protected _transactions: Transactions | undefined;
|
|
2236
|
-
protected _assets: Assets | undefined;
|
|
2237
2373
|
protected _withdrawals: Withdrawals | undefined;
|
|
2238
2374
|
protected _contractTemplates: ContractTemplates | undefined;
|
|
2239
2375
|
protected _deployedContracts: DeployedContracts | undefined;
|
|
2240
2376
|
protected _contractInteractions: ContractInteractions | undefined;
|
|
2241
2377
|
protected _tokenization: Tokenization | undefined;
|
|
2378
|
+
protected _temporal: Temporal | undefined;
|
|
2379
|
+
protected _assets: Assets | undefined;
|
|
2242
2380
|
constructor(_options: OumlaSdkApiClient.Options);
|
|
2243
2381
|
get profiles(): Profiles;
|
|
2244
2382
|
get wallets(): Wallets;
|
|
2245
2383
|
get addresses(): Addresses;
|
|
2246
2384
|
get transactions(): Transactions;
|
|
2247
|
-
get assets(): Assets;
|
|
2248
2385
|
get withdrawals(): Withdrawals;
|
|
2249
2386
|
get contractTemplates(): ContractTemplates;
|
|
2250
2387
|
get deployedContracts(): DeployedContracts;
|
|
2251
2388
|
get contractInteractions(): ContractInteractions;
|
|
2252
2389
|
get tokenization(): Tokenization;
|
|
2390
|
+
get temporal(): Temporal;
|
|
2391
|
+
get assets(): Assets;
|
|
2253
2392
|
}
|
|
2254
2393
|
|
|
2255
2394
|
export { index as OumlaSdkApi, OumlaSdkApiClient, OumlaSdkApiEnvironment, OumlaSdkApiError, OumlaSdkApiTimeoutError };
|