@oumla/sdk 1.2.3 → 1.3.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/dist/index.d.ts CHANGED
@@ -1,88 +1,108 @@
1
- declare const GetDeployedContractsRequestNetwork: {
2
- readonly Btc: "BTC";
1
+ declare const GetNativeBalanceRequestNetwork: {
3
2
  readonly TBtc: "tBTC";
4
- readonly Eth: "ETH";
5
3
  readonly TEth: "tETH";
4
+ readonly Avax: "AVAX";
5
+ readonly Fuji: "FUJI";
6
+ readonly Sandbox: "SANDBOX";
6
7
  };
7
- type GetDeployedContractsRequestNetwork = (typeof GetDeployedContractsRequestNetwork)[keyof typeof GetDeployedContractsRequestNetwork];
8
+ type GetNativeBalanceRequestNetwork = (typeof GetNativeBalanceRequestNetwork)[keyof typeof GetNativeBalanceRequestNetwork];
8
9
 
9
10
  /**
10
11
  * @example
11
12
  * {
12
- * skip: 1,
13
- * take: 1,
13
+ * address: "address",
14
+ * walletId: "walletId",
14
15
  * contractAddress: "contractAddress",
15
- * network: "BTC",
16
- * contractTemplateId: "contractTemplateId"
16
+ * tokenizationId: "tokenizationId",
17
+ * skip: 1,
18
+ * take: 1
17
19
  * }
18
20
  */
19
- interface GetDeployedContractsRequest {
21
+ interface GetAssetsRequest {
22
+ /** Blockchain address */
23
+ address?: string;
24
+ /** Wallet identifier */
25
+ walletId?: string;
26
+ /** Smart contract address */
27
+ contractAddress?: string;
28
+ /** Tokenization identifier */
29
+ tokenizationId?: string;
20
30
  /** Number of records to skip */
21
31
  skip?: number;
22
32
  /** Number of records to take */
23
33
  take?: number;
24
- /** Filter by contract address */
25
- contractAddress?: string;
26
- /** Filter by blockchain network */
27
- network?: GetDeployedContractsRequestNetwork;
28
- /** Filter by contract template ID */
29
- contractTemplateId?: string;
30
- }
31
-
32
- /**
33
- * @example
34
- * {
35
- * network: "network",
36
- * contractAddress: "contractAddress"
37
- * }
38
- */
39
- interface FetchContractAbiRequest {
40
- /** Blockchain network */
41
- network: string;
42
- /** Contract address */
43
- contractAddress: string;
44
34
  }
45
35
 
46
36
  /**
47
37
  * @example
48
38
  * {
49
- * network: "network",
50
- * contractAddress: "contractAddress",
51
- * name: "name",
52
- * abi: [{
53
- * "key": "value"
54
- * }]
39
+ * network: "tBTC",
40
+ * address: "address",
41
+ * walletId: "walletId",
42
+ * skip: 1,
43
+ * take: 1
55
44
  * }
56
45
  */
57
- interface AddContractAbiRequest {
46
+ interface GetNativeBalanceRequest {
58
47
  /** Blockchain network */
59
- network: string;
60
- /** Contract address */
61
- contractAddress: string;
62
- /** Contract name */
63
- name: string;
64
- /** Contract ABI */
65
- abi: Record<string, unknown>[];
48
+ network: GetNativeBalanceRequestNetwork;
49
+ /** Blockchain address */
50
+ address?: string;
51
+ /** Wallet identifier */
52
+ walletId?: string;
53
+ /** Number of records to skip */
54
+ skip?: number;
55
+ /** Number of records to take */
56
+ take?: number;
66
57
  }
67
58
 
68
- type index$b_AddContractAbiRequest = AddContractAbiRequest;
69
- type index$b_FetchContractAbiRequest = FetchContractAbiRequest;
70
- type index$b_GetDeployedContractsRequest = GetDeployedContractsRequest;
71
- type index$b_GetDeployedContractsRequestNetwork = GetDeployedContractsRequestNetwork;
59
+ type index$b_GetAssetsRequest = GetAssetsRequest;
60
+ type index$b_GetNativeBalanceRequest = GetNativeBalanceRequest;
61
+ type index$b_GetNativeBalanceRequestNetwork = GetNativeBalanceRequestNetwork;
72
62
  declare namespace index$b {
73
63
  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,
64
+ index$b_GetAssetsRequest as GetAssetsRequest,
65
+ index$b_GetNativeBalanceRequest as GetNativeBalanceRequest,
66
+ index$b_GetNativeBalanceRequestNetwork as GetNativeBalanceRequestNetwork,
78
67
  };
79
68
  }
80
69
 
81
- declare const GetCollectionTokensRequestType: {
82
- readonly Mint: "MINT";
83
- readonly Burn: "BURN";
84
- };
85
- type GetCollectionTokensRequestType = (typeof GetCollectionTokensRequestType)[keyof typeof GetCollectionTokensRequestType];
70
+ interface LinkContractResponse {
71
+ link?: TokenData;
72
+ }
73
+
74
+ interface GetLinkedTokenResponse {
75
+ token?: TokenData;
76
+ }
77
+
78
+ interface UnlinkTokenResponse {
79
+ result?: UnlinkTokenResponse.Result;
80
+ }
81
+ declare namespace UnlinkTokenResponse {
82
+ interface Result {
83
+ success?: boolean;
84
+ }
85
+ }
86
+
87
+ interface MintTokenResponse {
88
+ mint?: MintTokenResponse.Mint;
89
+ }
90
+ declare namespace MintTokenResponse {
91
+ interface Mint {
92
+ workflowId?: string;
93
+ status?: string;
94
+ }
95
+ }
96
+
97
+ interface BurnTokenResponse {
98
+ burn?: BurnTokenResponse.Burn;
99
+ }
100
+ declare namespace BurnTokenResponse {
101
+ interface Burn {
102
+ workflowId?: string;
103
+ status?: string;
104
+ }
105
+ }
86
106
 
87
107
  /**
88
108
  * @example
@@ -101,55 +121,35 @@ interface GetTokensRequest {
101
121
  /**
102
122
  * @example
103
123
  * {
124
+ * network: "tBTC",
104
125
  * addressId: "addressId",
105
126
  * clientShare: "clientShare",
106
- * deploymentId: "deploymentId",
107
127
  * createParams: {
108
- * initializeParams: [{
109
- * name: "name",
110
- * type: "type",
111
- * value: "value"
112
- * }]
113
- * }
128
+ * "key": "value"
129
+ * },
130
+ * deploymentId: "deploymentId"
114
131
  * }
115
132
  */
116
133
  interface IssueNewTokenRequest {
117
- /** Blockchain network */
118
- network?: string;
119
- /** Address ID for token creation */
134
+ network: IssueNewTokenRequest.Network;
120
135
  addressId: string;
121
- /** Client share for signing */
122
136
  clientShare: string;
123
- /** Deployed contract ID */
124
- deploymentId: string;
125
- createParams: IssueNewTokenRequest.CreateParams;
126
- /** Token display name */
137
+ createParams: Record<string, unknown>;
127
138
  displayName?: string;
128
- /** Use gasless transaction */
139
+ deploymentId: string;
129
140
  useGasless?: boolean;
130
- /** Transaction fee */
131
141
  fee?: string;
132
- /** Fee level */
133
142
  feeLevel?: string;
134
143
  }
135
144
  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
- }
145
+ const Network: {
146
+ readonly TBtc: "tBTC";
147
+ readonly TEth: "tETH";
148
+ readonly Avax: "AVAX";
149
+ readonly Fuji: "FUJI";
150
+ readonly Sandbox: "SANDBOX";
151
+ };
152
+ type Network = (typeof Network)[keyof typeof Network];
153
153
  }
154
154
 
155
155
  /**
@@ -159,16 +159,11 @@ declare namespace IssueNewTokenRequest {
159
159
  * }
160
160
  */
161
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
162
  contractAddress: string;
163
+ network?: string;
164
+ displayName?: string;
165
+ refId?: string;
166
+ type?: string;
172
167
  }
173
168
 
174
169
  /**
@@ -188,117 +183,44 @@ interface GetCollectionsRequest {
188
183
  /**
189
184
  * @example
190
185
  * {
191
- * type: "NON_FUNGIBLE_TOKEN",
186
+ * network: "network",
192
187
  * addressId: "addressId",
193
188
  * clientShare: "clientShare",
194
189
  * createParams: {
195
- * initializeParams: [{
196
- * name: "name",
197
- * type: "type",
198
- * value: "value"
199
- * }]
200
- * }
190
+ * "key": "value"
191
+ * },
192
+ * deploymentId: "deploymentId"
201
193
  * }
202
194
  */
203
195
  interface CreateCollectionRequest {
204
- /** Blockchain network */
205
- network?: string;
206
- /** Collection type */
207
- type: CreateCollectionRequest.Type;
208
- /** Address ID for collection creation */
196
+ network: string;
209
197
  addressId: string;
210
- /** Client share for signing */
211
198
  clientShare: string;
212
- createParams: CreateCollectionRequest.CreateParams;
213
- /** Collection description */
214
- description?: string;
215
- /** Collection display name */
199
+ createParams: Record<string, unknown>;
200
+ metadata?: Record<string, unknown>;
216
201
  displayName?: string;
217
- /** Use gasless transaction */
202
+ deploymentId: string;
218
203
  useGasless?: boolean;
219
- /** Transaction fee */
220
204
  fee?: string;
221
- /** Fee level */
222
205
  feeLevel?: string;
223
206
  }
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
207
 
250
208
  /**
251
209
  * @example
252
210
  * {
253
211
  * addressId: "addressId",
254
212
  * clientShare: "clientShare",
255
- * to: "to",
256
- * tokenId: "tokenId"
213
+ * to: "to"
257
214
  * }
258
215
  */
259
216
  interface MintTokenRequest {
260
- /** Address ID for minting */
261
217
  addressId: string;
262
- /** Client share for signing */
263
218
  clientShare: string;
264
- /** Recipient address */
265
219
  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
- }
220
+ metadata?: Record<string, unknown>;
221
+ useGasless?: boolean;
222
+ fee?: string;
223
+ feeLevel?: string;
302
224
  }
303
225
 
304
226
  /**
@@ -310,32 +232,28 @@ declare namespace MintTokenRequest {
310
232
  * }
311
233
  */
312
234
  interface BurnTokenRequest {
313
- /** Address ID for burning */
314
235
  addressId: string;
315
- /** Client share for signing */
316
236
  clientShare: string;
317
- /** Token ID */
318
237
  tokenId: string;
319
- /** Address to burn from */
320
- from?: string;
321
- /** Token amount to burn */
322
- amount?: string;
238
+ useGasless?: boolean;
239
+ fee?: string;
240
+ feeLevel?: string;
323
241
  }
324
242
 
325
243
  /**
326
244
  * @example
327
245
  * {
328
246
  * id: "id",
329
- * type: "MINT",
247
+ * type: "type",
330
248
  * skip: 1,
331
249
  * take: 1
332
250
  * }
333
251
  */
334
252
  interface GetCollectionTokensRequest {
335
- /** Collection ID to filter by */
253
+ /** Collection ID */
336
254
  id?: string;
337
- /** Record type to filter by */
338
- type?: GetCollectionTokensRequestType;
255
+ /** Token type */
256
+ type?: string;
339
257
  /** Number of records to skip */
340
258
  skip?: number;
341
259
  /** Number of records to take */
@@ -343,28 +261,46 @@ interface GetCollectionTokensRequest {
343
261
  }
344
262
 
345
263
  type index$a_BurnTokenRequest = BurnTokenRequest;
346
- declare const index$a_CreateCollectionRequest: typeof CreateCollectionRequest;
264
+ declare const index$a_BurnTokenResponse: typeof BurnTokenResponse;
265
+ type index$a_CreateCollectionRequest = CreateCollectionRequest;
347
266
  type index$a_GetCollectionTokensRequest = GetCollectionTokensRequest;
348
- type index$a_GetCollectionTokensRequestType = GetCollectionTokensRequestType;
349
267
  type index$a_GetCollectionsRequest = GetCollectionsRequest;
268
+ type index$a_GetLinkedTokenResponse = GetLinkedTokenResponse;
350
269
  type index$a_GetTokensRequest = GetTokensRequest;
351
270
  declare const index$a_IssueNewTokenRequest: typeof IssueNewTokenRequest;
352
271
  type index$a_LinkContractRequest = LinkContractRequest;
353
- declare const index$a_MintTokenRequest: typeof MintTokenRequest;
272
+ type index$a_LinkContractResponse = LinkContractResponse;
273
+ type index$a_MintTokenRequest = MintTokenRequest;
274
+ declare const index$a_MintTokenResponse: typeof MintTokenResponse;
275
+ declare const index$a_UnlinkTokenResponse: typeof UnlinkTokenResponse;
354
276
  declare namespace index$a {
355
277
  export {
356
278
  index$a_BurnTokenRequest as BurnTokenRequest,
279
+ index$a_BurnTokenResponse as BurnTokenResponse,
357
280
  index$a_CreateCollectionRequest as CreateCollectionRequest,
358
281
  index$a_GetCollectionTokensRequest as GetCollectionTokensRequest,
359
- index$a_GetCollectionTokensRequestType as GetCollectionTokensRequestType,
360
282
  index$a_GetCollectionsRequest as GetCollectionsRequest,
283
+ index$a_GetLinkedTokenResponse as GetLinkedTokenResponse,
361
284
  index$a_GetTokensRequest as GetTokensRequest,
362
285
  index$a_IssueNewTokenRequest as IssueNewTokenRequest,
363
286
  index$a_LinkContractRequest as LinkContractRequest,
287
+ index$a_LinkContractResponse as LinkContractResponse,
364
288
  index$a_MintTokenRequest as MintTokenRequest,
289
+ index$a_MintTokenResponse as MintTokenResponse,
290
+ index$a_UnlinkTokenResponse as UnlinkTokenResponse,
365
291
  };
366
292
  }
367
293
 
294
+ interface DeployContractResponse {
295
+ contractFunction?: DeployContractResponse.ContractFunction;
296
+ }
297
+ declare namespace DeployContractResponse {
298
+ interface ContractFunction {
299
+ workflowId?: string;
300
+ status?: string;
301
+ }
302
+ }
303
+
368
304
  /**
369
305
  * @example
370
306
  * {
@@ -372,7 +308,7 @@ declare namespace index$a {
372
308
  * take: 1
373
309
  * }
374
310
  */
375
- interface GetProfilesRequest {
311
+ interface GetContractsRequest {
376
312
  /** Number of records to skip */
377
313
  skip?: number;
378
314
  /** Number of records to take */
@@ -382,43 +318,89 @@ interface GetProfilesRequest {
382
318
  /**
383
319
  * @example
384
320
  * {
385
- * reference: "reference",
386
- * type: "User"
321
+ * name: "name",
322
+ * description: "description",
323
+ * bytecode: "bytecode",
324
+ * abi: [{
325
+ * "key": "value"
326
+ * }]
387
327
  * }
388
328
  */
389
- interface CreateProfileRequest {
390
- /** Profile reference identifier */
391
- reference: string;
392
- /** Profile type */
393
- type: CreateProfileRequest.Type;
329
+ interface CreateContractRequest {
330
+ name: string;
331
+ description: string;
332
+ bytecode: string;
333
+ abi: Record<string, unknown>[];
334
+ longDescription?: string;
335
+ sourceCode?: string;
336
+ type?: string;
337
+ docs?: Record<string, unknown>;
338
+ attributes?: Record<string, unknown>;
394
339
  }
395
- declare namespace CreateProfileRequest {
396
- /** Profile type */
397
- const Type: {
398
- readonly User: "User";
399
- readonly Department: "Department";
400
- readonly Merchant: "Merchant";
401
- };
402
- type Type = (typeof Type)[keyof typeof Type];
340
+
341
+ /**
342
+ * @example
343
+ * {
344
+ * network: "network",
345
+ * addressId: "addressId",
346
+ * clientShare: "clientShare"
347
+ * }
348
+ */
349
+ interface DeployContractRequest {
350
+ network: string;
351
+ addressId: string;
352
+ clientShare: string;
353
+ constructorParameters?: Record<string, unknown>[];
403
354
  }
404
355
 
405
- declare const index$9_CreateProfileRequest: typeof CreateProfileRequest;
406
- type index$9_GetProfilesRequest = GetProfilesRequest;
356
+ type index$9_CreateContractRequest = CreateContractRequest;
357
+ type index$9_DeployContractRequest = DeployContractRequest;
358
+ declare const index$9_DeployContractResponse: typeof DeployContractResponse;
359
+ type index$9_GetContractsRequest = GetContractsRequest;
407
360
  declare namespace index$9 {
408
361
  export {
409
- index$9_CreateProfileRequest as CreateProfileRequest,
410
- index$9_GetProfilesRequest as GetProfilesRequest,
362
+ index$9_CreateContractRequest as CreateContractRequest,
363
+ index$9_DeployContractRequest as DeployContractRequest,
364
+ index$9_DeployContractResponse as DeployContractResponse,
365
+ index$9_GetContractsRequest as GetContractsRequest,
411
366
  };
412
367
  }
413
368
 
369
+ declare const GetDeployedContractsRequestNetwork: {
370
+ readonly TBtc: "tBTC";
371
+ readonly TEth: "tETH";
372
+ readonly Avax: "AVAX";
373
+ readonly Fuji: "FUJI";
374
+ readonly Sandbox: "SANDBOX";
375
+ };
376
+ type GetDeployedContractsRequestNetwork = (typeof GetDeployedContractsRequestNetwork)[keyof typeof GetDeployedContractsRequestNetwork];
377
+
378
+ declare const GetDeployedContractByAddressRequestNetwork: {
379
+ readonly TBtc: "tBTC";
380
+ readonly TEth: "tETH";
381
+ readonly Avax: "AVAX";
382
+ readonly Fuji: "FUJI";
383
+ readonly Sandbox: "SANDBOX";
384
+ };
385
+ type GetDeployedContractByAddressRequestNetwork = (typeof GetDeployedContractByAddressRequestNetwork)[keyof typeof GetDeployedContractByAddressRequestNetwork];
386
+
414
387
  /**
415
388
  * @example
416
389
  * {
390
+ * contractAddress: "contractAddress",
391
+ * network: "tBTC",
392
+ * contractTemplateId: "contractTemplateId",
417
393
  * skip: 1,
418
394
  * take: 1
419
395
  * }
420
396
  */
421
- interface GetOrganizationWalletsRequest {
397
+ interface GetDeployedContractsRequest {
398
+ /** Contract address filter */
399
+ contractAddress?: string;
400
+ /** Network filter */
401
+ network?: GetDeployedContractsRequestNetwork;
402
+ /** Contract template ID filter */
403
+ contractTemplateId?: string;
422
404
  /** Number of records to skip */
423
405
  skip?: number;
424
406
  /** Number of records to take */
@@ -428,86 +410,140 @@ interface GetOrganizationWalletsRequest {
428
410
  /**
429
411
  * @example
430
412
  * {
431
- * skip: 1,
432
- * take: 1
413
+ * contractAddress: "contractAddress",
414
+ * network: "network"
433
415
  * }
434
416
  */
435
- interface GetProfileWalletsRequest {
436
- /** Number of records to skip */
437
- skip?: number;
438
- /** Number of records to take */
439
- take?: number;
417
+ interface FetchContractAbiRequest {
418
+ contractAddress: string;
419
+ network: string;
440
420
  }
441
421
 
442
422
  /**
443
423
  * @example
444
424
  * {
445
- * reference: "reference",
446
- * network: "BTC"
425
+ * contractAddress: "contractAddress",
426
+ * network: "network",
427
+ * name: "name",
428
+ * abi: [{
429
+ * "key": "value"
430
+ * }]
447
431
  * }
448
432
  */
449
- interface CreateWalletRequest {
450
- /** Profile reference */
451
- reference: string;
452
- /** Blockchain network */
453
- network: CreateWalletRequest.Network;
454
- }
455
- declare namespace CreateWalletRequest {
456
- /** Blockchain network */
457
- const Network: {
458
- readonly Btc: "BTC";
459
- readonly TBtc: "tBTC";
460
- readonly Eth: "ETH";
461
- readonly TEth: "tETH";
462
- };
463
- type Network = (typeof Network)[keyof typeof Network];
433
+ interface AddContractAbiRequest {
434
+ contractAddress: string;
435
+ network: string;
436
+ name: string;
437
+ abi: Record<string, unknown>[];
464
438
  }
465
439
 
466
- declare const index$8_CreateWalletRequest: typeof CreateWalletRequest;
467
- type index$8_GetOrganizationWalletsRequest = GetOrganizationWalletsRequest;
468
- type index$8_GetProfileWalletsRequest = GetProfileWalletsRequest;
440
+ type index$8_AddContractAbiRequest = AddContractAbiRequest;
441
+ type index$8_FetchContractAbiRequest = FetchContractAbiRequest;
442
+ type index$8_GetDeployedContractByAddressRequestNetwork = GetDeployedContractByAddressRequestNetwork;
443
+ type index$8_GetDeployedContractsRequest = GetDeployedContractsRequest;
444
+ type index$8_GetDeployedContractsRequestNetwork = GetDeployedContractsRequestNetwork;
469
445
  declare namespace index$8 {
470
446
  export {
471
- index$8_CreateWalletRequest as CreateWalletRequest,
472
- index$8_GetOrganizationWalletsRequest as GetOrganizationWalletsRequest,
473
- index$8_GetProfileWalletsRequest as GetProfileWalletsRequest,
447
+ index$8_AddContractAbiRequest as AddContractAbiRequest,
448
+ index$8_FetchContractAbiRequest as FetchContractAbiRequest,
449
+ index$8_GetDeployedContractByAddressRequestNetwork as GetDeployedContractByAddressRequestNetwork,
450
+ index$8_GetDeployedContractsRequest as GetDeployedContractsRequest,
451
+ index$8_GetDeployedContractsRequestNetwork as GetDeployedContractsRequestNetwork,
474
452
  };
475
453
  }
476
454
 
455
+ declare const GetDeployedContractAbiRequestNetwork: {
456
+ readonly TBtc: "tBTC";
457
+ readonly TEth: "tETH";
458
+ readonly Avax: "AVAX";
459
+ readonly Fuji: "FUJI";
460
+ readonly Sandbox: "SANDBOX";
461
+ };
462
+ type GetDeployedContractAbiRequestNetwork = (typeof GetDeployedContractAbiRequestNetwork)[keyof typeof GetDeployedContractAbiRequestNetwork];
463
+
464
+ declare const ReadCallFunctionRequestNetwork: {
465
+ readonly TBtc: "tBTC";
466
+ readonly TEth: "tETH";
467
+ readonly Avax: "AVAX";
468
+ readonly Fuji: "FUJI";
469
+ readonly Sandbox: "SANDBOX";
470
+ };
471
+ type ReadCallFunctionRequestNetwork = (typeof ReadCallFunctionRequestNetwork)[keyof typeof ReadCallFunctionRequestNetwork];
472
+
473
+ declare const WriteCallFunctionRequestNetwork: {
474
+ readonly TBtc: "tBTC";
475
+ readonly TEth: "tETH";
476
+ readonly Avax: "AVAX";
477
+ readonly Fuji: "FUJI";
478
+ readonly Sandbox: "SANDBOX";
479
+ };
480
+ type WriteCallFunctionRequestNetwork = (typeof WriteCallFunctionRequestNetwork)[keyof typeof WriteCallFunctionRequestNetwork];
481
+
482
+ interface WriteCallFunctionResponse {
483
+ result?: WriteCallFunctionResponse.Result;
484
+ }
485
+ declare namespace WriteCallFunctionResponse {
486
+ interface Result {
487
+ workflowId?: string;
488
+ status?: string;
489
+ }
490
+ }
491
+
492
+ declare const GetTransactionReceiptRequestNetwork: {
493
+ readonly TBtc: "tBTC";
494
+ readonly TEth: "tETH";
495
+ readonly Avax: "AVAX";
496
+ readonly Fuji: "FUJI";
497
+ readonly Sandbox: "SANDBOX";
498
+ };
499
+ type GetTransactionReceiptRequestNetwork = (typeof GetTransactionReceiptRequestNetwork)[keyof typeof GetTransactionReceiptRequestNetwork];
500
+
477
501
  /**
478
502
  * @example
479
503
  * {
480
- * skip: 1,
481
- * take: 1
504
+ * abiFunction: {
505
+ * "key": "value"
506
+ * }
482
507
  * }
483
508
  */
484
- interface GetOrganizationAddressesRequest {
485
- /** Number of records to skip */
486
- skip?: number;
487
- /** Number of records to take */
488
- take?: number;
509
+ interface ReadCallFunctionRequest {
510
+ abiFunction: Record<string, unknown>;
489
511
  }
490
512
 
491
513
  /**
492
514
  * @example
493
515
  * {
494
- * skip: 1,
495
- * take: 1
516
+ * addressId: "addressId",
517
+ * clientShare: "clientShare",
518
+ * abiFunction: {
519
+ * "key": "value"
520
+ * }
496
521
  * }
497
522
  */
498
- interface GetProfileAddressesRequest {
499
- /** Number of records to skip */
500
- skip?: number;
501
- /** Number of records to take */
502
- take?: number;
523
+ interface WriteCallFunctionRequest {
524
+ addressId: string;
525
+ clientShare: string;
526
+ abiFunction: Record<string, unknown>;
527
+ amount?: string;
528
+ feeLevel?: string;
503
529
  }
504
530
 
505
- type index$7_GetOrganizationAddressesRequest = GetOrganizationAddressesRequest;
506
- type index$7_GetProfileAddressesRequest = GetProfileAddressesRequest;
531
+ type index$7_GetDeployedContractAbiRequestNetwork = GetDeployedContractAbiRequestNetwork;
532
+ type index$7_GetTransactionReceiptRequestNetwork = GetTransactionReceiptRequestNetwork;
533
+ type index$7_ReadCallFunctionRequest = ReadCallFunctionRequest;
534
+ type index$7_ReadCallFunctionRequestNetwork = ReadCallFunctionRequestNetwork;
535
+ type index$7_WriteCallFunctionRequest = WriteCallFunctionRequest;
536
+ type index$7_WriteCallFunctionRequestNetwork = WriteCallFunctionRequestNetwork;
537
+ declare const index$7_WriteCallFunctionResponse: typeof WriteCallFunctionResponse;
507
538
  declare namespace index$7 {
508
539
  export {
509
- index$7_GetOrganizationAddressesRequest as GetOrganizationAddressesRequest,
510
- index$7_GetProfileAddressesRequest as GetProfileAddressesRequest,
540
+ index$7_GetDeployedContractAbiRequestNetwork as GetDeployedContractAbiRequestNetwork,
541
+ index$7_GetTransactionReceiptRequestNetwork as GetTransactionReceiptRequestNetwork,
542
+ index$7_ReadCallFunctionRequest as ReadCallFunctionRequest,
543
+ index$7_ReadCallFunctionRequestNetwork as ReadCallFunctionRequestNetwork,
544
+ index$7_WriteCallFunctionRequest as WriteCallFunctionRequest,
545
+ index$7_WriteCallFunctionRequestNetwork as WriteCallFunctionRequestNetwork,
546
+ index$7_WriteCallFunctionResponse as WriteCallFunctionResponse,
511
547
  };
512
548
  }
513
549
 
@@ -518,7 +554,7 @@ declare namespace index$7 {
518
554
  * take: 1
519
555
  * }
520
556
  */
521
- interface GetTransactionsByAddressRequest {
557
+ interface GetProfilesRequest {
522
558
  /** Number of records to skip */
523
559
  skip?: number;
524
560
  /** Number of records to take */
@@ -528,29 +564,58 @@ interface GetTransactionsByAddressRequest {
528
564
  /**
529
565
  * @example
530
566
  * {
531
- * skip: 1,
532
- * take: 1
567
+ * reference: "user-123",
568
+ * type: "User"
533
569
  * }
534
570
  */
535
- interface GetTransactionsByWalletRequest {
536
- /** Number of records to skip */
537
- skip?: number;
538
- /** Number of records to take */
539
- take?: number;
571
+ interface CreateProfileRequest {
572
+ /** Profile reference identifier */
573
+ reference: string;
574
+ /** Profile type */
575
+ type: CreateProfileRequest.Type;
576
+ }
577
+ declare namespace CreateProfileRequest {
578
+ /** Profile type */
579
+ const Type: {
580
+ readonly User: "User";
581
+ readonly Department: "Department";
582
+ readonly Merchant: "Merchant";
583
+ };
584
+ type Type = (typeof Type)[keyof typeof Type];
585
+ }
586
+
587
+ declare const index$6_CreateProfileRequest: typeof CreateProfileRequest;
588
+ type index$6_GetProfilesRequest = GetProfilesRequest;
589
+ declare namespace index$6 {
590
+ export {
591
+ index$6_CreateProfileRequest as CreateProfileRequest,
592
+ index$6_GetProfilesRequest as GetProfilesRequest,
593
+ };
540
594
  }
541
595
 
542
596
  /**
543
597
  * @example
544
598
  * {
545
- * skip: 1,
546
- * take: 1
599
+ * reference: "user-123",
600
+ * network: "tBTC"
547
601
  * }
548
602
  */
549
- interface GetOrganizationTransactionsRequest {
550
- /** Number of records to skip */
551
- skip?: number;
552
- /** Number of records to take */
553
- take?: number;
603
+ interface CreateWalletRequest {
604
+ /** Profile reference */
605
+ reference: string;
606
+ /** Blockchain network */
607
+ network: CreateWalletRequest.Network;
608
+ }
609
+ declare namespace CreateWalletRequest {
610
+ /** Blockchain network */
611
+ const Network: {
612
+ readonly TBtc: "tBTC";
613
+ readonly TEth: "tETH";
614
+ readonly Avax: "AVAX";
615
+ readonly Fuji: "FUJI";
616
+ readonly Sandbox: "SANDBOX";
617
+ };
618
+ type Network = (typeof Network)[keyof typeof Network];
554
619
  }
555
620
 
556
621
  /**
@@ -560,63 +625,35 @@ interface GetOrganizationTransactionsRequest {
560
625
  * take: 1
561
626
  * }
562
627
  */
563
- interface GetProfileTransactionsRequest {
628
+ interface GetWalletsByProfileRequest {
564
629
  /** Number of records to skip */
565
630
  skip?: number;
566
631
  /** Number of records to take */
567
632
  take?: number;
568
633
  }
569
634
 
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 {
575
- export {
576
- index$6_GetOrganizationTransactionsRequest as GetOrganizationTransactionsRequest,
577
- index$6_GetProfileTransactionsRequest as GetProfileTransactionsRequest,
578
- index$6_GetTransactionsByAddressRequest as GetTransactionsByAddressRequest,
579
- index$6_GetTransactionsByWalletRequest as GetTransactionsByWalletRequest,
580
- };
581
- }
582
-
583
635
  /**
584
636
  * @example
585
637
  * {
586
- * to: "to",
587
- * amount: "amount",
588
- * from: ["from"],
589
- * network: "BTC",
590
- * clientShare: "clientShare"
638
+ * skip: 1,
639
+ * take: 1
591
640
  * }
592
641
  */
593
- interface CreateWithdrawalRequest {
594
- /** Recipient address for withdrawal */
595
- to: string;
596
- /** Withdrawal amount */
597
- amount: string;
598
- /** Array of source addresses for withdrawal */
599
- from: string[];
600
- /** Blockchain network */
601
- network: CreateWithdrawalRequest.Network;
602
- /** Client share for signing */
603
- clientShare: string;
604
- }
605
- declare namespace CreateWithdrawalRequest {
606
- /** Blockchain network */
607
- const Network: {
608
- readonly Btc: "BTC";
609
- readonly TBtc: "tBTC";
610
- readonly Eth: "ETH";
611
- readonly TEth: "tETH";
612
- };
613
- type Network = (typeof Network)[keyof typeof Network];
642
+ interface GetWalletsForOrganizationRequest {
643
+ /** Number of records to skip */
644
+ skip?: number;
645
+ /** Number of records to take */
646
+ take?: number;
614
647
  }
615
648
 
616
- declare const index$5_CreateWithdrawalRequest: typeof CreateWithdrawalRequest;
649
+ declare const index$5_CreateWalletRequest: typeof CreateWalletRequest;
650
+ type index$5_GetWalletsByProfileRequest = GetWalletsByProfileRequest;
651
+ type index$5_GetWalletsForOrganizationRequest = GetWalletsForOrganizationRequest;
617
652
  declare namespace index$5 {
618
653
  export {
619
- index$5_CreateWithdrawalRequest as CreateWithdrawalRequest,
654
+ index$5_CreateWalletRequest as CreateWalletRequest,
655
+ index$5_GetWalletsByProfileRequest as GetWalletsByProfileRequest,
656
+ index$5_GetWalletsForOrganizationRequest as GetWalletsForOrganizationRequest,
620
657
  };
621
658
  }
622
659
 
@@ -627,7 +664,7 @@ declare namespace index$5 {
627
664
  * take: 1
628
665
  * }
629
666
  */
630
- interface GetContractTemplatesRequest {
667
+ interface GetAddressForOrganizationRequest {
631
668
  /** Number of records to skip */
632
669
  skip?: number;
633
670
  /** Number of records to take */
@@ -637,261 +674,92 @@ interface GetContractTemplatesRequest {
637
674
  /**
638
675
  * @example
639
676
  * {
640
- * name: "name",
641
- * description: "description",
642
- * abi: [{
643
- * "key": "value"
644
- * }],
645
- * bytecode: "bytecode"
677
+ * skip: 1,
678
+ * take: 1
646
679
  * }
647
680
  */
648
- interface CreateContractTemplateRequest {
649
- /** Contract template name */
650
- name: string;
651
- /** Contract template description */
652
- description: string;
653
- /** Contract ABI */
654
- abi: Record<string, unknown>[];
655
- /** Contract bytecode */
656
- bytecode: string;
657
- /** Long description of the contract */
658
- longDescription?: string;
659
- /** Contract source code */
660
- sourceCode?: string;
661
- /** Contract type */
662
- type?: string;
663
- /** Contract documentation */
664
- docs?: CreateContractTemplateRequest.Docs;
665
- /** Contract attributes */
666
- attributes?: CreateContractTemplateRequest.Attributes;
681
+ interface GetAddressForProfileRequest {
682
+ /** Number of records to skip */
683
+ skip?: number;
684
+ /** Number of records to take */
685
+ take?: number;
667
686
  }
668
- declare namespace CreateContractTemplateRequest {
669
- /**
670
- * Contract documentation
671
- */
672
- interface Docs {
673
- details?: string;
674
- events?: string;
675
- kind?: Docs.Kind;
676
- methods?: Docs.Methods.Item[];
677
- version?: string;
678
- }
679
- namespace Docs {
680
- const Kind: {
681
- readonly Dev: "dev";
682
- readonly User: "user";
683
- };
684
- type Kind = (typeof Kind)[keyof typeof Kind];
685
- type Methods = Methods.Item[];
686
- namespace Methods {
687
- interface Item {
688
- name?: string;
689
- description?: string;
690
- params?: Record<string, unknown>;
691
- returns?: Record<string, unknown>;
692
- }
693
- }
694
- }
695
- /**
696
- * Contract attributes
697
- */
698
- interface Attributes {
699
- useCases?: string[];
700
- standards?: string[];
701
- auditor?: Attributes.Auditor;
702
- }
703
- namespace Attributes {
704
- interface Auditor {
705
- name?: string;
706
- imageURL?: string;
707
- link?: string;
708
- }
709
- }
687
+
688
+ type index$4_GetAddressForOrganizationRequest = GetAddressForOrganizationRequest;
689
+ type index$4_GetAddressForProfileRequest = GetAddressForProfileRequest;
690
+ declare namespace index$4 {
691
+ export {
692
+ index$4_GetAddressForOrganizationRequest as GetAddressForOrganizationRequest,
693
+ index$4_GetAddressForProfileRequest as GetAddressForProfileRequest,
694
+ };
710
695
  }
711
696
 
712
697
  /**
713
698
  * @example
714
699
  * {
715
- * functionSignature: "functionSignature"
700
+ * skip: 1,
701
+ * take: 1
716
702
  * }
717
703
  */
718
- interface GetTemplateFunctionsRequest {
719
- /** Function signature to filter by */
720
- functionSignature?: string;
704
+ interface GetTransactionsByAddressRequest {
705
+ /** Number of records to skip */
706
+ skip?: number;
707
+ /** Number of records to take */
708
+ take?: number;
721
709
  }
722
710
 
723
711
  /**
724
712
  * @example
725
713
  * {
726
- * network: "network",
727
- * addressId: "addressId",
728
- * clientShare: "clientShare"
714
+ * skip: 1,
715
+ * take: 1
729
716
  * }
730
717
  */
731
- interface DeployContractRequest {
732
- /** Target network */
733
- network: string;
734
- /** Address ID for deployment */
735
- addressId: string;
736
- /** Client share for signing */
737
- clientShare: string;
738
- /** Constructor parameters */
739
- constructorParameters?: DeployContractRequest.ConstructorParameters.Item[];
740
- }
741
- declare namespace DeployContractRequest {
742
- type ConstructorParameters = ConstructorParameters.Item[];
743
- namespace ConstructorParameters {
744
- interface Item {
745
- /** Parameter name */
746
- name: string;
747
- /** Parameter description */
748
- description?: string;
749
- /** Internal parameter type */
750
- internalType?: string;
751
- /** Parameter type */
752
- type: string;
753
- /** Parameter components */
754
- components?: Record<string, unknown>[];
755
- /** Parameter value */
756
- value?: string;
757
- }
758
- }
759
- }
760
-
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 {
766
- export {
767
- index$4_CreateContractTemplateRequest as CreateContractTemplateRequest,
768
- index$4_DeployContractRequest as DeployContractRequest,
769
- index$4_GetContractTemplatesRequest as GetContractTemplatesRequest,
770
- index$4_GetTemplateFunctionsRequest as GetTemplateFunctionsRequest,
771
- };
718
+ interface GetTransactionsByMiniWalletRequest {
719
+ /** Number of records to skip */
720
+ skip?: number;
721
+ /** Number of records to take */
722
+ take?: number;
772
723
  }
773
724
 
774
725
  /**
775
726
  * @example
776
727
  * {
777
- * abiFunction: {
778
- * name: "name",
779
- * inputs: [{}],
780
- * outputs: [{}],
781
- * type: "type"
782
- * }
728
+ * skip: 1,
729
+ * take: 1
783
730
  * }
784
731
  */
785
- interface ReadFunctionRequest {
786
- /** ABI function definition */
787
- abiFunction: ReadFunctionRequest.AbiFunction;
788
- }
789
- declare namespace ReadFunctionRequest {
790
- /**
791
- * ABI function definition
792
- */
793
- interface AbiFunction {
794
- /** Function name */
795
- name: string;
796
- /** Function input parameters */
797
- inputs: AbiFunction.Inputs.Item[];
798
- /** Function output parameters */
799
- outputs: AbiFunction.Outputs.Item[];
800
- stateMutability?: string;
801
- type: string;
802
- }
803
- namespace AbiFunction {
804
- type Inputs = Inputs.Item[];
805
- namespace Inputs {
806
- interface Item {
807
- name?: string;
808
- type?: string;
809
- internalType?: string;
810
- }
811
- }
812
- type Outputs = Outputs.Item[];
813
- namespace Outputs {
814
- interface Item {
815
- name?: string;
816
- type?: string;
817
- internalType?: string;
818
- }
819
- }
820
- }
732
+ interface GetTransactionsByOrganizationRequest {
733
+ /** Number of records to skip */
734
+ skip?: number;
735
+ /** Number of records to take */
736
+ take?: number;
821
737
  }
822
738
 
823
739
  /**
824
740
  * @example
825
741
  * {
826
- * addressId: "addressId",
827
- * clientShare: "clientShare",
828
- * abiFunction: {
829
- * name: "name",
830
- * inputs: [{}],
831
- * outputs: [{}],
832
- * type: "type"
833
- * }
742
+ * skip: 1,
743
+ * take: 1
834
744
  * }
835
745
  */
836
- interface WriteFunctionRequest {
837
- /** Address ID for transaction */
838
- addressId: string;
839
- /** Client share for signing */
840
- clientShare: string;
841
- /** ABI function definition */
842
- abiFunction: WriteFunctionRequest.AbiFunction;
843
- /** ETH value to send */
844
- amount?: string;
845
- /** Fee level for transaction */
846
- feeLevel?: WriteFunctionRequest.FeeLevel;
847
- }
848
- declare namespace WriteFunctionRequest {
849
- /**
850
- * ABI function definition
851
- */
852
- interface AbiFunction {
853
- /** Function name */
854
- name: string;
855
- /** Function input parameters */
856
- inputs: AbiFunction.Inputs.Item[];
857
- /** Function output parameters */
858
- outputs: AbiFunction.Outputs.Item[];
859
- stateMutability?: string;
860
- type: string;
861
- }
862
- namespace AbiFunction {
863
- type Inputs = Inputs.Item[];
864
- namespace Inputs {
865
- interface Item {
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;
877
- }
878
- }
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];
746
+ interface GetTransactionsByProfileRequest {
747
+ /** Number of records to skip */
748
+ skip?: number;
749
+ /** Number of records to take */
750
+ take?: number;
887
751
  }
888
752
 
889
- declare const index$3_ReadFunctionRequest: typeof ReadFunctionRequest;
890
- declare const index$3_WriteFunctionRequest: typeof WriteFunctionRequest;
753
+ type index$3_GetTransactionsByAddressRequest = GetTransactionsByAddressRequest;
754
+ type index$3_GetTransactionsByMiniWalletRequest = GetTransactionsByMiniWalletRequest;
755
+ type index$3_GetTransactionsByOrganizationRequest = GetTransactionsByOrganizationRequest;
756
+ type index$3_GetTransactionsByProfileRequest = GetTransactionsByProfileRequest;
891
757
  declare namespace index$3 {
892
758
  export {
893
- index$3_ReadFunctionRequest as ReadFunctionRequest,
894
- index$3_WriteFunctionRequest as WriteFunctionRequest,
759
+ index$3_GetTransactionsByAddressRequest as GetTransactionsByAddressRequest,
760
+ index$3_GetTransactionsByMiniWalletRequest as GetTransactionsByMiniWalletRequest,
761
+ index$3_GetTransactionsByOrganizationRequest as GetTransactionsByOrganizationRequest,
762
+ index$3_GetTransactionsByProfileRequest as GetTransactionsByProfileRequest,
895
763
  };
896
764
  }
897
765
 
@@ -903,143 +771,1070 @@ declare namespace index$2 {
903
771
  /**
904
772
  * @example
905
773
  * {
906
- * address: "address",
907
- * walletId: "walletId",
908
- * contractAddress: "contractAddress",
909
- * tokenizationId: "tokenizationId",
910
- * skip: 1,
911
- * take: 1
774
+ * to: "to",
775
+ * amount: "amount",
776
+ * from: ["from"],
777
+ * network: "tBTC",
778
+ * clientShare: "clientShare"
912
779
  * }
913
780
  */
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;
781
+ interface CreateWithdrawRequest {
782
+ to: string;
783
+ amount: string;
784
+ from: string[];
785
+ network: CreateWithdrawRequest.Network;
786
+ clientShare: string;
787
+ }
788
+ declare namespace CreateWithdrawRequest {
789
+ const Network: {
790
+ readonly TBtc: "tBTC";
791
+ readonly TEth: "tETH";
792
+ readonly Avax: "AVAX";
793
+ readonly Fuji: "FUJI";
794
+ readonly Sandbox: "SANDBOX";
795
+ };
796
+ type Network = (typeof Network)[keyof typeof Network];
927
797
  }
928
798
 
929
- type index$1_GetAssetsRequest = GetAssetsRequest;
799
+ declare const index$1_CreateWithdrawRequest: typeof CreateWithdrawRequest;
930
800
  declare namespace index$1 {
931
801
  export {
932
- index$1_GetAssetsRequest as GetAssetsRequest,
802
+ index$1_CreateWithdrawRequest as CreateWithdrawRequest,
933
803
  };
934
804
  }
935
805
 
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
-
957
- interface LinkedTokenData {
958
- id: string;
959
- linked: boolean;
960
- collectionId?: string;
961
- }
962
-
963
- interface LinkedTokenResponse {
964
- data: LinkedTokenData;
965
- /** Response message */
966
- message: string;
967
- /** Indicates successful response */
968
- success: boolean;
969
- /** HTTP status code */
970
- status: number;
971
- }
972
-
973
- interface SuccessResponse {
974
- /** Response message */
975
- message: string;
976
- /** Response data */
977
- data?: Record<string, unknown>;
978
- /** Indicates successful response */
979
- success: boolean;
980
- /** HTTP status code */
981
- status: number;
982
- }
983
-
806
+ /**
807
+ * Error response object
808
+ */
984
809
  interface ErrorResponse {
985
- /** Error message */
810
+ /** Human-readable error message */
986
811
  message: string;
987
- /** Array of field-specific errors */
988
- errors?: ErrorResponse.Errors.Item[];
989
- /** Indicates failed response */
990
- success: boolean;
812
+ /** Error code for programmatic error handling */
813
+ code: string;
814
+ category: ErrorResponse.Category;
991
815
  /** HTTP status code */
992
- status: number;
816
+ statusCode: number;
817
+ /** API path where error occurred */
818
+ path: string;
819
+ /** Timestamp when error occurred (ISO 8601) */
820
+ timestamp: string;
821
+ /** Unique request identifier for tracking and debugging */
822
+ requestId?: string;
823
+ /** Array of field-specific validation errors (only present for validation errors) */
824
+ errors?: ErrorResponse.Errors.Item[];
993
825
  }
994
826
  declare namespace ErrorResponse {
827
+ const Category: {
828
+ readonly Conflict: "CONFLICT";
829
+ readonly Validation: "VALIDATION";
830
+ readonly Cryptographic: "CRYPTOGRAPHIC";
831
+ readonly Network: "NETWORK";
832
+ readonly Database: "DATABASE";
833
+ readonly ExternalService: "EXTERNAL_SERVICE";
834
+ readonly UnknownError: "UNKNOWN_ERROR";
835
+ readonly Resource: "RESOURCE";
836
+ };
837
+ type Category = (typeof Category)[keyof typeof Category];
995
838
  type Errors = Errors.Item[];
996
839
  namespace Errors {
997
840
  interface Item {
998
841
  /** Field name that caused the error */
999
- field?: string;
842
+ field: string;
1000
843
  /** Error message for the field */
1001
- message?: string;
844
+ message: string;
1002
845
  }
1003
846
  }
1004
847
  }
1005
848
 
1006
- interface PaginatedResponse extends SuccessResponse {
1007
- pagination?: PaginatedResponse.Pagination;
849
+ /**
850
+ * Profile response object
851
+ */
852
+ interface ProfileResponse {
853
+ data?: ProfileResponse.Data;
1008
854
  }
1009
- declare namespace PaginatedResponse {
1010
- interface Pagination {
1011
- /** Number of records skipped */
1012
- skip: number;
1013
- /** Number of records taken */
1014
- take: number;
1015
- /** Total number of elements */
1016
- totalElements: number;
1017
- /** Total number of pages */
1018
- totalPages: number;
855
+ declare namespace ProfileResponse {
856
+ interface Data {
857
+ reference?: string;
858
+ type?: string;
1019
859
  }
1020
860
  }
1021
861
 
1022
- interface CreateAddressRequest {
1023
- /** Profile reference */
1024
- reference: string;
1025
- /** Blockchain network */
1026
- network: CreateAddressRequest.Network;
1027
- /** Client share for signing */
1028
- clientShare: string;
862
+ /**
863
+ * Profiles response object
864
+ */
865
+ interface ProfilesResponse {
866
+ data?: ProfilesResponse.Data.Item[];
867
+ pagination?: Pagination;
1029
868
  }
1030
- declare namespace CreateAddressRequest {
1031
- /** Blockchain network */
869
+ declare namespace ProfilesResponse {
870
+ type Data = Data.Item[];
871
+ namespace Data {
872
+ interface Item {
873
+ reference?: string;
874
+ type?: string;
875
+ }
876
+ }
877
+ }
878
+
879
+ /**
880
+ * Wallet data object
881
+ */
882
+ interface WalletData {
883
+ id?: string;
884
+ date?: string;
885
+ organizationId?: string;
886
+ reference?: string;
887
+ type?: string;
888
+ network?: WalletData.Network;
889
+ currentDeepIndex?: number;
890
+ index?: number;
891
+ path?: string;
892
+ }
893
+ declare namespace WalletData {
1032
894
  const Network: {
1033
- readonly Btc: "BTC";
1034
895
  readonly TBtc: "tBTC";
1035
- readonly Eth: "ETH";
1036
896
  readonly TEth: "tETH";
897
+ readonly Avax: "AVAX";
898
+ readonly Fuji: "FUJI";
899
+ readonly Sandbox: "SANDBOX";
1037
900
  };
1038
901
  type Network = (typeof Network)[keyof typeof Network];
1039
902
  }
1040
903
 
1041
904
  /**
1042
- * The raw response from the fetch call excluding the body.
905
+ * Wallet response object
906
+ */
907
+ interface WalletResponse {
908
+ data?: WalletData;
909
+ }
910
+
911
+ /**
912
+ * Wallets response object
913
+ */
914
+ interface WalletsResponse {
915
+ data?: WalletData[];
916
+ pagination?: Pagination;
917
+ }
918
+
919
+ /**
920
+ * Create address request object
921
+ */
922
+ interface CreateAddressRequest {
923
+ /** Profile reference */
924
+ reference: string;
925
+ /** Blockchain network */
926
+ network: CreateAddressRequest.Network;
927
+ /** Client share for wallet derivation */
928
+ clientShare: string;
929
+ }
930
+ declare namespace CreateAddressRequest {
931
+ /** Blockchain network */
932
+ const Network: {
933
+ readonly TBtc: "tBTC";
934
+ readonly TEth: "tETH";
935
+ readonly Avax: "AVAX";
936
+ readonly Fuji: "FUJI";
937
+ readonly Sandbox: "SANDBOX";
938
+ };
939
+ type Network = (typeof Network)[keyof typeof Network];
940
+ }
941
+
942
+ /**
943
+ * Address data object
944
+ */
945
+ interface AddressData {
946
+ address?: string;
947
+ date?: string;
948
+ label?: string;
949
+ sub?: string;
950
+ network?: AddressData.Network;
951
+ /** Balance as decimal string */
952
+ balance?: string;
953
+ reference?: string;
954
+ path?: string;
955
+ id?: string;
956
+ miniWalletId?: string;
957
+ }
958
+ declare namespace AddressData {
959
+ const Network: {
960
+ readonly TBtc: "tBTC";
961
+ readonly TEth: "tETH";
962
+ readonly Avax: "AVAX";
963
+ readonly Fuji: "FUJI";
964
+ readonly Sandbox: "SANDBOX";
965
+ };
966
+ type Network = (typeof Network)[keyof typeof Network];
967
+ }
968
+
969
+ /**
970
+ * Create address response object
971
+ */
972
+ interface CreateAddressResponse {
973
+ /** Generated address */
974
+ data?: string;
975
+ message?: string;
976
+ }
977
+
978
+ /**
979
+ * Addresses response object
980
+ */
981
+ interface AddressesResponse {
982
+ data?: AddressData[];
983
+ pagination?: Pagination;
984
+ }
985
+
986
+ /**
987
+ * Transaction data object
988
+ */
989
+ interface TransactionData {
990
+ addressFrom?: string;
991
+ addressTo?: string;
992
+ /** Transaction amount as decimal string */
993
+ amount?: string;
994
+ date?: string;
995
+ isMempool?: boolean;
996
+ isSpent?: boolean;
997
+ status?: TransactionData.Status;
998
+ updatedAt?: string;
999
+ createdAt?: string;
1000
+ type?: TransactionData.Type;
1001
+ network?: TransactionData.Network;
1002
+ txid?: string;
1003
+ contractAddress?: string;
1004
+ tokenId?: string;
1005
+ txType?: string;
1006
+ /** Transaction fee as decimal string */
1007
+ fee?: string;
1008
+ }
1009
+ declare namespace TransactionData {
1010
+ const Status: {
1011
+ readonly Pending: "Pending";
1012
+ readonly Confirmed: "Confirmed";
1013
+ };
1014
+ type Status = (typeof Status)[keyof typeof Status];
1015
+ const Type: {
1016
+ readonly Withdraw: "Withdraw";
1017
+ readonly Deposit: "Deposit";
1018
+ };
1019
+ type Type = (typeof Type)[keyof typeof Type];
1020
+ const Network: {
1021
+ readonly TBtc: "tBTC";
1022
+ readonly TEth: "tETH";
1023
+ readonly Avax: "AVAX";
1024
+ readonly Fuji: "FUJI";
1025
+ readonly Sandbox: "SANDBOX";
1026
+ };
1027
+ type Network = (typeof Network)[keyof typeof Network];
1028
+ }
1029
+
1030
+ /**
1031
+ * Transactions response object
1032
+ */
1033
+ interface TransactionsResponse {
1034
+ data?: TransactionData[];
1035
+ pagination?: Pagination;
1036
+ }
1037
+
1038
+ /**
1039
+ * Transactions by profile response object
1040
+ */
1041
+ interface TransactionsByProfileResponse {
1042
+ transactions?: TransactionData[];
1043
+ pagination?: Pagination;
1044
+ }
1045
+
1046
+ /**
1047
+ * Asset data object
1048
+ */
1049
+ interface AssetData {
1050
+ id?: string;
1051
+ /** Asset amount as decimal string */
1052
+ amount?: string;
1053
+ walletId?: string;
1054
+ addressId?: string;
1055
+ tokenizationId?: string;
1056
+ tokenId?: string;
1057
+ name?: string;
1058
+ symbol?: string;
1059
+ contractAddress?: string;
1060
+ updatedAt?: string;
1061
+ createdAt?: string;
1062
+ }
1063
+
1064
+ /**
1065
+ * Assets response object
1066
+ */
1067
+ interface AssetsResponse {
1068
+ assets?: AssetData[];
1069
+ pagination?: Pagination;
1070
+ }
1071
+
1072
+ /**
1073
+ * Native balance data object
1074
+ */
1075
+ interface NativeBalanceData {
1076
+ id?: string;
1077
+ walletId?: string;
1078
+ addressId?: string;
1079
+ network?: NativeBalanceData.Network;
1080
+ symbol?: string;
1081
+ /** Balance amount as decimal string */
1082
+ amount?: string;
1083
+ decimals?: number;
1084
+ createdAt?: string;
1085
+ updatedAt?: string;
1086
+ }
1087
+ declare namespace NativeBalanceData {
1088
+ const Network: {
1089
+ readonly TBtc: "tBTC";
1090
+ readonly TEth: "tETH";
1091
+ readonly Avax: "AVAX";
1092
+ readonly Fuji: "FUJI";
1093
+ readonly Sandbox: "SANDBOX";
1094
+ };
1095
+ type Network = (typeof Network)[keyof typeof Network];
1096
+ }
1097
+
1098
+ /**
1099
+ * Native balance response object
1100
+ */
1101
+ interface NativeBalanceResponse {
1102
+ balance?: NativeBalanceData[];
1103
+ pagination?: Pagination;
1104
+ }
1105
+
1106
+ /**
1107
+ * Temporal workflow error
1108
+ */
1109
+ interface TemporalWorkflowError {
1110
+ message?: string;
1111
+ type?: string;
1112
+ }
1113
+
1114
+ /**
1115
+ * Temporal workflow status data object
1116
+ */
1117
+ interface TemporalWorkflowStatusData {
1118
+ /** Temporal workflow ID */
1119
+ workflowId: string;
1120
+ /** Temporal workflow run ID */
1121
+ runId: string;
1122
+ /** Workflow status */
1123
+ status: TemporalWorkflowStatusData.Status;
1124
+ /** Workflow start time in ISO 8601 format */
1125
+ startTime: string;
1126
+ /** Workflow close time in ISO 8601 format (null if still running) */
1127
+ closeTime?: string;
1128
+ /** Workflow execution time in milliseconds (null if still running) */
1129
+ executionTime?: number;
1130
+ /** Number of events in workflow history */
1131
+ historyLength: number;
1132
+ /** Workflow result (only present if workflow is completed) */
1133
+ result?: Record<string, unknown>;
1134
+ /** Workflow error (only present if workflow failed) */
1135
+ error?: TemporalWorkflowError;
1136
+ }
1137
+ declare namespace TemporalWorkflowStatusData {
1138
+ /** Workflow status */
1139
+ const Status: {
1140
+ readonly Running: "RUNNING";
1141
+ readonly Completed: "COMPLETED";
1142
+ readonly Failed: "FAILED";
1143
+ readonly Canceled: "CANCELED";
1144
+ readonly Terminated: "TERMINATED";
1145
+ readonly ContinuedAsNew: "CONTINUED_AS_NEW";
1146
+ readonly TimedOut: "TIMED_OUT";
1147
+ };
1148
+ type Status = (typeof Status)[keyof typeof Status];
1149
+ }
1150
+
1151
+ /**
1152
+ * Pagination
1153
+ */
1154
+ interface Pagination {
1155
+ /** Total number of elements */
1156
+ totalElements: number;
1157
+ /** Total number of pages */
1158
+ totalPages: number;
1159
+ /** Number of records skipped */
1160
+ skip: number;
1161
+ /** Number of records taken */
1162
+ take: number;
1163
+ }
1164
+
1165
+ /**
1166
+ * Token response object
1167
+ */
1168
+ interface TokenResponse {
1169
+ token?: TokenResponse.Token;
1170
+ }
1171
+ declare namespace TokenResponse {
1172
+ interface Token {
1173
+ id?: string;
1174
+ organizationId?: string;
1175
+ sub?: string;
1176
+ name?: string;
1177
+ symbol?: string;
1178
+ decimals?: number;
1179
+ description?: string;
1180
+ type?: string;
1181
+ contractAddress?: string;
1182
+ contractTemplateId?: string;
1183
+ contractDeploymentId?: string;
1184
+ network?: Token.Network;
1185
+ addressId?: string;
1186
+ customerRefId?: string;
1187
+ tags?: string[];
1188
+ status?: string;
1189
+ createdAt?: string;
1190
+ updatedAt?: string;
1191
+ }
1192
+ namespace Token {
1193
+ const Network: {
1194
+ readonly TBtc: "tBTC";
1195
+ readonly TEth: "tETH";
1196
+ readonly Avax: "AVAX";
1197
+ readonly Fuji: "FUJI";
1198
+ readonly Sandbox: "SANDBOX";
1199
+ };
1200
+ type Network = (typeof Network)[keyof typeof Network];
1201
+ }
1202
+ }
1203
+
1204
+ /**
1205
+ * Tokens response object
1206
+ */
1207
+ interface TokensResponse {
1208
+ token?: TokensResponse.Token;
1209
+ }
1210
+ declare namespace TokensResponse {
1211
+ interface Token {
1212
+ tokens?: TokenData[];
1213
+ total?: number;
1214
+ }
1215
+ }
1216
+
1217
+ /**
1218
+ * Workflow response object
1219
+ */
1220
+ interface WorkflowResponse {
1221
+ workflowId?: string;
1222
+ status?: string;
1223
+ }
1224
+
1225
+ /**
1226
+ * Collections response object
1227
+ */
1228
+ interface CollectionsResponse {
1229
+ collections?: CollectionData[];
1230
+ total?: number;
1231
+ message?: string;
1232
+ }
1233
+
1234
+ /**
1235
+ * Collection response object
1236
+ */
1237
+ interface CollectionResponse {
1238
+ collection?: CollectionData;
1239
+ }
1240
+
1241
+ /**
1242
+ * Collection token details response object
1243
+ */
1244
+ interface CollectionTokenDetailsResponse {
1245
+ collcetion?: CollectionTokenDetailsResponse.Collcetion;
1246
+ }
1247
+ declare namespace CollectionTokenDetailsResponse {
1248
+ interface Collcetion {
1249
+ id?: string;
1250
+ collectionId?: string;
1251
+ name?: string;
1252
+ symbol?: string;
1253
+ network?: Collcetion.Network;
1254
+ addressId?: string;
1255
+ contractAddress?: string;
1256
+ status?: Collcetion.Status;
1257
+ recipientAddress?: string;
1258
+ mintTransactionHash?: string;
1259
+ burnTransactionHash?: string;
1260
+ mintedAt?: string;
1261
+ burnedAt?: string;
1262
+ metadata?: Collcetion.Metadata;
1263
+ mintRecord?: Collcetion.MintRecord;
1264
+ burnRecord?: Collcetion.BurnRecord;
1265
+ }
1266
+ namespace Collcetion {
1267
+ const Network: {
1268
+ readonly TBtc: "tBTC";
1269
+ readonly TEth: "tETH";
1270
+ readonly Avax: "AVAX";
1271
+ readonly Fuji: "FUJI";
1272
+ readonly Sandbox: "SANDBOX";
1273
+ };
1274
+ type Network = (typeof Network)[keyof typeof Network];
1275
+ const Status: {
1276
+ readonly Active: "ACTIVE";
1277
+ readonly Burned: "BURNED";
1278
+ };
1279
+ type Status = (typeof Status)[keyof typeof Status];
1280
+ interface Metadata {
1281
+ name?: string;
1282
+ description?: string;
1283
+ image?: string;
1284
+ animation_url?: string;
1285
+ external_url?: string;
1286
+ attributes?: Metadata.Attributes.Item[];
1287
+ }
1288
+ namespace Metadata {
1289
+ type Attributes = Attributes.Item[];
1290
+ namespace Attributes {
1291
+ interface Item {
1292
+ trait_type?: string;
1293
+ value?: string;
1294
+ display_type?: string;
1295
+ }
1296
+ }
1297
+ }
1298
+ interface MintRecord {
1299
+ id?: string;
1300
+ amount?: string;
1301
+ note?: string;
1302
+ status?: string;
1303
+ createdAt?: string;
1304
+ updatedAt?: string;
1305
+ }
1306
+ interface BurnRecord {
1307
+ id?: string;
1308
+ amount?: string;
1309
+ note?: string;
1310
+ status?: string;
1311
+ createdAt?: string;
1312
+ updatedAt?: string;
1313
+ }
1314
+ }
1315
+ }
1316
+
1317
+ /**
1318
+ * Collection tokens response object
1319
+ */
1320
+ interface CollectionTokensResponse {
1321
+ tokens?: CollectionTokenData[];
1322
+ total?: number;
1323
+ }
1324
+
1325
+ /**
1326
+ * Contract template response object
1327
+ */
1328
+ interface ContractTemplateResponse {
1329
+ contract?: ContractTemplateResponse.Contract;
1330
+ }
1331
+ declare namespace ContractTemplateResponse {
1332
+ interface Contract {
1333
+ id?: string;
1334
+ name?: string;
1335
+ description?: string;
1336
+ longDescription?: string;
1337
+ bytecode?: string;
1338
+ sourceCode?: string;
1339
+ type?: string;
1340
+ docs?: Record<string, unknown>;
1341
+ }
1342
+ }
1343
+
1344
+ /**
1345
+ * Contract templates response object
1346
+ */
1347
+ interface ContractTemplatesResponse {
1348
+ result?: ContractTemplatesResponse.Result;
1349
+ }
1350
+ declare namespace ContractTemplatesResponse {
1351
+ interface Result {
1352
+ data?: ContractTemplateData[];
1353
+ next?: number;
1354
+ count?: number;
1355
+ }
1356
+ }
1357
+
1358
+ /**
1359
+ * Contract constructor response object
1360
+ */
1361
+ interface ContractConstructorResponse {
1362
+ contractConstructor?: ContractConstructorResponse.ContractConstructor;
1363
+ }
1364
+ declare namespace ContractConstructorResponse {
1365
+ interface ContractConstructor {
1366
+ id?: string;
1367
+ stateMutability?: ContractConstructor.StateMutability;
1368
+ type?: ContractConstructor.Type;
1369
+ inputs?: Record<string, unknown>[];
1370
+ outputs?: Record<string, unknown>[];
1371
+ }
1372
+ namespace ContractConstructor {
1373
+ const StateMutability: {
1374
+ readonly Pure: "pure";
1375
+ readonly View: "view";
1376
+ readonly Nonpayable: "nonpayable";
1377
+ readonly Payable: "payable";
1378
+ };
1379
+ type StateMutability = (typeof StateMutability)[keyof typeof StateMutability];
1380
+ const Type: {
1381
+ readonly Function: "function";
1382
+ readonly Constructor: "constructor";
1383
+ readonly Event: "event";
1384
+ readonly Error: "error";
1385
+ readonly Fallback: "fallback";
1386
+ readonly Receive: "receive";
1387
+ };
1388
+ type Type = (typeof Type)[keyof typeof Type];
1389
+ }
1390
+ }
1391
+
1392
+ /**
1393
+ * Contract functions response object
1394
+ */
1395
+ interface ContractFunctionsResponse {
1396
+ contractFunction?: ContractFunctionsResponse.ContractFunction.Item[];
1397
+ }
1398
+ declare namespace ContractFunctionsResponse {
1399
+ type ContractFunction = ContractFunction.Item[];
1400
+ namespace ContractFunction {
1401
+ interface Item {
1402
+ id?: string;
1403
+ name?: string;
1404
+ stateMutability?: Item.StateMutability;
1405
+ type?: Item.Type;
1406
+ inputs?: Record<string, unknown>[];
1407
+ outputs?: Record<string, unknown>[];
1408
+ }
1409
+ namespace Item {
1410
+ const StateMutability: {
1411
+ readonly Pure: "pure";
1412
+ readonly View: "view";
1413
+ readonly Nonpayable: "nonpayable";
1414
+ readonly Payable: "payable";
1415
+ };
1416
+ type StateMutability = (typeof StateMutability)[keyof typeof StateMutability];
1417
+ const Type: {
1418
+ readonly Function: "function";
1419
+ readonly Constructor: "constructor";
1420
+ readonly Event: "event";
1421
+ readonly Error: "error";
1422
+ readonly Fallback: "fallback";
1423
+ readonly Receive: "receive";
1424
+ };
1425
+ type Type = (typeof Type)[keyof typeof Type];
1426
+ }
1427
+ }
1428
+ }
1429
+
1430
+ /**
1431
+ * Deployed contracts response object
1432
+ */
1433
+ interface DeployedContractsResponse {
1434
+ deployedContracts?: DeployedContractsResponse.DeployedContracts;
1435
+ }
1436
+ declare namespace DeployedContractsResponse {
1437
+ interface DeployedContracts {
1438
+ contracts?: DeployedContractData[];
1439
+ total?: number;
1440
+ skip?: number;
1441
+ take?: number;
1442
+ }
1443
+ }
1444
+
1445
+ /**
1446
+ * Deployed contract response object
1447
+ */
1448
+ interface DeployedContractResponse {
1449
+ deployedContract?: Record<string, unknown>;
1450
+ }
1451
+
1452
+ /**
1453
+ * Contract abi response object
1454
+ */
1455
+ interface ContractAbiResponse {
1456
+ contractAbi?: ContractAbiResponse.ContractAbi;
1457
+ }
1458
+ declare namespace ContractAbiResponse {
1459
+ interface ContractAbi {
1460
+ abi?: Record<string, unknown>[];
1461
+ contractAddress?: string;
1462
+ network?: ContractAbi.Network;
1463
+ implementationAddress?: string;
1464
+ status?: string;
1465
+ source?: string;
1466
+ }
1467
+ namespace ContractAbi {
1468
+ const Network: {
1469
+ readonly TBtc: "tBTC";
1470
+ readonly TEth: "tETH";
1471
+ readonly Avax: "AVAX";
1472
+ readonly Fuji: "FUJI";
1473
+ readonly Sandbox: "SANDBOX";
1474
+ };
1475
+ type Network = (typeof Network)[keyof typeof Network];
1476
+ }
1477
+ }
1478
+
1479
+ /**
1480
+ * Add contract abi response object
1481
+ */
1482
+ interface AddContractAbiResponse {
1483
+ result?: AddContractAbiResponse.Result;
1484
+ }
1485
+ declare namespace AddContractAbiResponse {
1486
+ interface Result {
1487
+ contractAddress?: string;
1488
+ network?: Result.Network;
1489
+ name?: string;
1490
+ abi?: Record<string, unknown>[];
1491
+ status?: string;
1492
+ source?: string;
1493
+ message?: string;
1494
+ tenantId?: string;
1495
+ userId?: string;
1496
+ }
1497
+ namespace Result {
1498
+ const Network: {
1499
+ readonly TBtc: "tBTC";
1500
+ readonly TEth: "tETH";
1501
+ readonly Avax: "AVAX";
1502
+ readonly Fuji: "FUJI";
1503
+ readonly Sandbox: "SANDBOX";
1504
+ };
1505
+ type Network = (typeof Network)[keyof typeof Network];
1506
+ }
1507
+ }
1508
+
1509
+ /**
1510
+ * Read call function response object
1511
+ */
1512
+ interface ReadCallFunctionResponse {
1513
+ result?: ReadCallFunctionResponse.Result;
1514
+ }
1515
+ declare namespace ReadCallFunctionResponse {
1516
+ interface Result {
1517
+ data?: Result.Data;
1518
+ success?: boolean;
1519
+ status?: number;
1520
+ }
1521
+ namespace Result {
1522
+ interface Data {
1523
+ /** Decoded function result */
1524
+ result?: Record<string, unknown>;
1525
+ functionName?: string;
1526
+ contractAddress?: string;
1527
+ network?: Data.Network;
1528
+ encodedData?: string;
1529
+ }
1530
+ namespace Data {
1531
+ const Network: {
1532
+ readonly TBtc: "tBTC";
1533
+ readonly TEth: "tETH";
1534
+ readonly Avax: "AVAX";
1535
+ readonly Fuji: "FUJI";
1536
+ readonly Sandbox: "SANDBOX";
1537
+ };
1538
+ type Network = (typeof Network)[keyof typeof Network];
1539
+ }
1540
+ }
1541
+ }
1542
+
1543
+ /**
1544
+ * Transaction receipt response object
1545
+ */
1546
+ interface TransactionReceiptResponse {
1547
+ /** Transaction receipt object from blockchain */
1548
+ receipt?: TransactionReceiptResponse.Receipt;
1549
+ }
1550
+ declare namespace TransactionReceiptResponse {
1551
+ /**
1552
+ * Transaction receipt object from blockchain
1553
+ */
1554
+ interface Receipt {
1555
+ transactionHash?: string;
1556
+ blockNumber?: number;
1557
+ blockHash?: string;
1558
+ transactionIndex?: number;
1559
+ from?: string;
1560
+ to?: string;
1561
+ gasUsed?: string;
1562
+ effectiveGasPrice?: string;
1563
+ status?: number;
1564
+ logs?: Record<string, unknown>[];
1565
+ }
1566
+ }
1567
+
1568
+ /**
1569
+ * Withdraw response object
1570
+ */
1571
+ interface WithdrawResponse {
1572
+ data?: WithdrawResponse.Data;
1573
+ }
1574
+ declare namespace WithdrawResponse {
1575
+ interface Data {
1576
+ id?: string;
1577
+ status?: string;
1578
+ hash?: string;
1579
+ }
1580
+ }
1581
+
1582
+ /**
1583
+ * Token data object
1584
+ */
1585
+ interface TokenData {
1586
+ id?: string;
1587
+ status?: string;
1588
+ type?: string;
1589
+ displayName?: string;
1590
+ tokenMetadata?: TokenData.TokenMetadata;
1591
+ }
1592
+ declare namespace TokenData {
1593
+ interface TokenMetadata {
1594
+ name?: string;
1595
+ symbol?: string;
1596
+ decimals?: number;
1597
+ standard?: string;
1598
+ network?: TokenMetadata.Network;
1599
+ contractAddress?: string;
1600
+ contractTemplateId?: string;
1601
+ contractDeploymentId?: string;
1602
+ addressId?: string;
1603
+ }
1604
+ namespace TokenMetadata {
1605
+ const Network: {
1606
+ readonly TBtc: "tBTC";
1607
+ readonly TEth: "tETH";
1608
+ readonly Avax: "AVAX";
1609
+ readonly Fuji: "FUJI";
1610
+ readonly Sandbox: "SANDBOX";
1611
+ };
1612
+ type Network = (typeof Network)[keyof typeof Network];
1613
+ }
1614
+ }
1615
+
1616
+ /**
1617
+ * Collection data object
1618
+ */
1619
+ interface CollectionData {
1620
+ id?: string;
1621
+ status?: string;
1622
+ type?: string;
1623
+ displayName?: string;
1624
+ createdAt?: string;
1625
+ updatedAt?: string;
1626
+ network?: CollectionData.Network;
1627
+ collectionMetadata?: CollectionData.CollectionMetadata;
1628
+ }
1629
+ declare namespace CollectionData {
1630
+ const Network: {
1631
+ readonly TBtc: "tBTC";
1632
+ readonly TEth: "tETH";
1633
+ readonly Avax: "AVAX";
1634
+ readonly Fuji: "FUJI";
1635
+ readonly Sandbox: "SANDBOX";
1636
+ };
1637
+ type Network = (typeof Network)[keyof typeof Network];
1638
+ interface CollectionMetadata {
1639
+ name?: string;
1640
+ symbol?: string;
1641
+ standard?: string;
1642
+ contractAddress?: string;
1643
+ }
1644
+ }
1645
+
1646
+ /**
1647
+ * Collection token data object
1648
+ */
1649
+ interface CollectionTokenData {
1650
+ id?: string;
1651
+ status?: string;
1652
+ type?: CollectionTokenData.Type;
1653
+ metaData?: Record<string, unknown>;
1654
+ addressId?: string;
1655
+ amount?: string;
1656
+ createdAt?: string;
1657
+ updatedAt?: string;
1658
+ transactionHash?: string;
1659
+ tokenId?: string;
1660
+ }
1661
+ declare namespace CollectionTokenData {
1662
+ const Type: {
1663
+ readonly Mint: "MINT";
1664
+ readonly Burn: "BURN";
1665
+ };
1666
+ type Type = (typeof Type)[keyof typeof Type];
1667
+ }
1668
+
1669
+ /**
1670
+ * Contract template function
1671
+ */
1672
+ interface ContractTemplateFunction {
1673
+ name?: string;
1674
+ stateMutability?: ContractTemplateFunction.StateMutability;
1675
+ type?: ContractTemplateFunction.Type;
1676
+ inputs?: Record<string, unknown>[];
1677
+ outputs?: Record<string, unknown>[];
1678
+ description?: string;
1679
+ }
1680
+ declare namespace ContractTemplateFunction {
1681
+ const StateMutability: {
1682
+ readonly Pure: "pure";
1683
+ readonly View: "view";
1684
+ readonly Nonpayable: "nonpayable";
1685
+ readonly Payable: "payable";
1686
+ };
1687
+ type StateMutability = (typeof StateMutability)[keyof typeof StateMutability];
1688
+ const Type: {
1689
+ readonly Function: "function";
1690
+ readonly Constructor: "constructor";
1691
+ readonly Event: "event";
1692
+ readonly Error: "error";
1693
+ readonly Fallback: "fallback";
1694
+ readonly Receive: "receive";
1695
+ };
1696
+ type Type = (typeof Type)[keyof typeof Type];
1697
+ }
1698
+
1699
+ /**
1700
+ * Contract template data object
1701
+ */
1702
+ interface ContractTemplateData {
1703
+ id?: string;
1704
+ organizationId?: string;
1705
+ name?: string;
1706
+ description?: string;
1707
+ longDescription?: string;
1708
+ bytecode?: string;
1709
+ sourceCode?: string;
1710
+ type?: string;
1711
+ docs?: Record<string, unknown>;
1712
+ attributes?: Record<string, unknown>;
1713
+ abi?: ContractTemplateFunction[];
1714
+ createdAt?: string;
1715
+ updatedAt?: string;
1716
+ }
1717
+
1718
+ /**
1719
+ * Contract template by id response object
1720
+ */
1721
+ interface ContractTemplateByIdResponse {
1722
+ result?: ContractTemplateData;
1723
+ }
1724
+
1725
+ /**
1726
+ * Deployed contract data object
1727
+ */
1728
+ interface DeployedContractData {
1729
+ id?: string;
1730
+ contractAddress?: string;
1731
+ network?: DeployedContractData.Network;
1732
+ contractTemplateId?: string;
1733
+ }
1734
+ declare namespace DeployedContractData {
1735
+ const Network: {
1736
+ readonly TBtc: "tBTC";
1737
+ readonly TEth: "tETH";
1738
+ readonly Avax: "AVAX";
1739
+ readonly Fuji: "FUJI";
1740
+ readonly Sandbox: "SANDBOX";
1741
+ };
1742
+ type Network = (typeof Network)[keyof typeof Network];
1743
+ }
1744
+
1745
+ /**
1746
+ * Deployed contract by id response object
1747
+ */
1748
+ interface DeployedContractByIdResponse {
1749
+ deployedContract?: DeployedContractByIdResponse.DeployedContract;
1750
+ }
1751
+ declare namespace DeployedContractByIdResponse {
1752
+ interface DeployedContract {
1753
+ id?: string;
1754
+ contractAddress?: string;
1755
+ network?: DeployedContract.Network;
1756
+ contractTemplateId?: string;
1757
+ deployerAddressId?: string;
1758
+ }
1759
+ namespace DeployedContract {
1760
+ const Network: {
1761
+ readonly TBtc: "tBTC";
1762
+ readonly TEth: "tETH";
1763
+ readonly Avax: "AVAX";
1764
+ readonly Fuji: "FUJI";
1765
+ readonly Sandbox: "SANDBOX";
1766
+ };
1767
+ type Network = (typeof Network)[keyof typeof Network];
1768
+ }
1769
+ }
1770
+
1771
+ /**
1772
+ * Deployed contract by address response object
1773
+ */
1774
+ interface DeployedContractByAddressResponse {
1775
+ deployedContract?: DeployedContractByAddressResponse.DeployedContract;
1776
+ }
1777
+ declare namespace DeployedContractByAddressResponse {
1778
+ interface DeployedContract {
1779
+ id?: string;
1780
+ contractAddress?: string;
1781
+ network?: DeployedContract.Network;
1782
+ contractTemplateId?: string;
1783
+ vauldAccountId?: string;
1784
+ }
1785
+ namespace DeployedContract {
1786
+ const Network: {
1787
+ readonly TBtc: "tBTC";
1788
+ readonly TEth: "tETH";
1789
+ readonly Avax: "AVAX";
1790
+ readonly Fuji: "FUJI";
1791
+ readonly Sandbox: "SANDBOX";
1792
+ };
1793
+ type Network = (typeof Network)[keyof typeof Network];
1794
+ }
1795
+ }
1796
+
1797
+ /**
1798
+ * Fetch contract abi response object
1799
+ */
1800
+ interface FetchContractAbiResponse {
1801
+ contractAbi?: FetchContractAbiResponse.ContractAbi;
1802
+ }
1803
+ declare namespace FetchContractAbiResponse {
1804
+ interface ContractAbi {
1805
+ abi?: Record<string, unknown>[];
1806
+ contractAddress?: string;
1807
+ network?: ContractAbi.Network;
1808
+ status?: string;
1809
+ source?: ContractAbi.Source;
1810
+ tenantId?: string;
1811
+ userId?: string;
1812
+ }
1813
+ namespace ContractAbi {
1814
+ const Network: {
1815
+ readonly TBtc: "tBTC";
1816
+ readonly TEth: "tETH";
1817
+ readonly Avax: "AVAX";
1818
+ readonly Fuji: "FUJI";
1819
+ readonly Sandbox: "SANDBOX";
1820
+ };
1821
+ type Network = (typeof Network)[keyof typeof Network];
1822
+ const Source: {
1823
+ readonly TenantDatabase: "tenant_database";
1824
+ readonly Database: "database";
1825
+ readonly Blockchain: "blockchain";
1826
+ };
1827
+ type Source = (typeof Source)[keyof typeof Source];
1828
+ }
1829
+ }
1830
+
1831
+ /**
1832
+ * Issue new token response object
1833
+ */
1834
+ type IssueNewTokenResponse = TokenData;
1835
+
1836
+ /**
1837
+ * The raw response from the fetch call excluding the body.
1043
1838
  */
1044
1839
  type RawResponse = Omit<{
1045
1840
  [K in keyof Response as Response[K] extends Function ? never : K]: Response[K];
@@ -1141,107 +1936,271 @@ declare class BadRequestError extends OumlaSdkApiError {
1141
1936
  constructor(body: ErrorResponse, rawResponse?: RawResponse);
1142
1937
  }
1143
1938
 
1939
+ declare class UnauthorizedError extends OumlaSdkApiError {
1940
+ constructor(body: ErrorResponse, rawResponse?: RawResponse);
1941
+ }
1942
+
1943
+ declare class InternalServerError extends OumlaSdkApiError {
1944
+ constructor(body: ErrorResponse, rawResponse?: RawResponse);
1945
+ }
1946
+
1947
+ declare class ForbiddenError extends OumlaSdkApiError {
1948
+ constructor(body: ErrorResponse, rawResponse?: RawResponse);
1949
+ }
1950
+
1951
+ declare class ConflictError extends OumlaSdkApiError {
1952
+ constructor(body: ErrorResponse, rawResponse?: RawResponse);
1953
+ }
1954
+
1955
+ declare class UnprocessableEntityError extends OumlaSdkApiError {
1956
+ constructor(body: ErrorResponse, rawResponse?: RawResponse);
1957
+ }
1958
+
1144
1959
  declare class NotFoundError extends OumlaSdkApiError {
1145
1960
  constructor(body: ErrorResponse, rawResponse?: RawResponse);
1146
1961
  }
1147
1962
 
1963
+ declare class BadGatewayError extends OumlaSdkApiError {
1964
+ constructor(body: ErrorResponse, rawResponse?: RawResponse);
1965
+ }
1966
+
1967
+ declare class ServiceUnavailableError extends OumlaSdkApiError {
1968
+ constructor(body: ErrorResponse, rawResponse?: RawResponse);
1969
+ }
1970
+
1971
+ declare class GatewayTimeoutError extends OumlaSdkApiError {
1972
+ constructor(body: ErrorResponse, rawResponse?: RawResponse);
1973
+ }
1974
+
1148
1975
  type index_AddContractAbiRequest = AddContractAbiRequest;
1976
+ declare const index_AddContractAbiResponse: typeof AddContractAbiResponse;
1977
+ declare const index_AddressData: typeof AddressData;
1978
+ type index_AddressesResponse = AddressesResponse;
1979
+ type index_AssetData = AssetData;
1980
+ type index_AssetsResponse = AssetsResponse;
1981
+ type index_BadGatewayError = BadGatewayError;
1982
+ declare const index_BadGatewayError: typeof BadGatewayError;
1149
1983
  type index_BadRequestError = BadRequestError;
1150
1984
  declare const index_BadRequestError: typeof BadRequestError;
1151
1985
  type index_BurnTokenRequest = BurnTokenRequest;
1986
+ declare const index_BurnTokenResponse: typeof BurnTokenResponse;
1987
+ declare const index_CollectionData: typeof CollectionData;
1988
+ type index_CollectionResponse = CollectionResponse;
1989
+ declare const index_CollectionTokenData: typeof CollectionTokenData;
1990
+ declare const index_CollectionTokenDetailsResponse: typeof CollectionTokenDetailsResponse;
1991
+ type index_CollectionTokensResponse = CollectionTokensResponse;
1992
+ type index_CollectionsResponse = CollectionsResponse;
1993
+ type index_ConflictError = ConflictError;
1994
+ declare const index_ConflictError: typeof ConflictError;
1995
+ declare const index_ContractAbiResponse: typeof ContractAbiResponse;
1996
+ declare const index_ContractConstructorResponse: typeof ContractConstructorResponse;
1997
+ declare const index_ContractFunctionsResponse: typeof ContractFunctionsResponse;
1998
+ type index_ContractTemplateByIdResponse = ContractTemplateByIdResponse;
1999
+ type index_ContractTemplateData = ContractTemplateData;
2000
+ declare const index_ContractTemplateFunction: typeof ContractTemplateFunction;
2001
+ declare const index_ContractTemplateResponse: typeof ContractTemplateResponse;
2002
+ declare const index_ContractTemplatesResponse: typeof ContractTemplatesResponse;
1152
2003
  declare const index_CreateAddressRequest: typeof CreateAddressRequest;
1153
- declare const index_CreateCollectionRequest: typeof CreateCollectionRequest;
1154
- declare const index_CreateContractTemplateRequest: typeof CreateContractTemplateRequest;
2004
+ type index_CreateAddressResponse = CreateAddressResponse;
2005
+ type index_CreateCollectionRequest = CreateCollectionRequest;
2006
+ type index_CreateContractRequest = CreateContractRequest;
1155
2007
  declare const index_CreateProfileRequest: typeof CreateProfileRequest;
1156
2008
  declare const index_CreateWalletRequest: typeof CreateWalletRequest;
1157
- declare const index_CreateWithdrawalRequest: typeof CreateWithdrawalRequest;
1158
- declare const index_DeployContractRequest: typeof DeployContractRequest;
2009
+ declare const index_CreateWithdrawRequest: typeof CreateWithdrawRequest;
2010
+ type index_DeployContractRequest = DeployContractRequest;
2011
+ declare const index_DeployContractResponse: typeof DeployContractResponse;
2012
+ declare const index_DeployedContractByAddressResponse: typeof DeployedContractByAddressResponse;
2013
+ declare const index_DeployedContractByIdResponse: typeof DeployedContractByIdResponse;
2014
+ declare const index_DeployedContractData: typeof DeployedContractData;
2015
+ type index_DeployedContractResponse = DeployedContractResponse;
2016
+ declare const index_DeployedContractsResponse: typeof DeployedContractsResponse;
1159
2017
  declare const index_ErrorResponse: typeof ErrorResponse;
1160
2018
  type index_FetchContractAbiRequest = FetchContractAbiRequest;
2019
+ declare const index_FetchContractAbiResponse: typeof FetchContractAbiResponse;
2020
+ type index_ForbiddenError = ForbiddenError;
2021
+ declare const index_ForbiddenError: typeof ForbiddenError;
2022
+ type index_GatewayTimeoutError = GatewayTimeoutError;
2023
+ declare const index_GatewayTimeoutError: typeof GatewayTimeoutError;
2024
+ type index_GetAddressForOrganizationRequest = GetAddressForOrganizationRequest;
2025
+ type index_GetAddressForProfileRequest = GetAddressForProfileRequest;
1161
2026
  type index_GetAssetsRequest = GetAssetsRequest;
1162
2027
  type index_GetCollectionTokensRequest = GetCollectionTokensRequest;
1163
- type index_GetCollectionTokensRequestType = GetCollectionTokensRequestType;
1164
2028
  type index_GetCollectionsRequest = GetCollectionsRequest;
1165
- type index_GetContractTemplatesRequest = GetContractTemplatesRequest;
2029
+ type index_GetContractsRequest = GetContractsRequest;
2030
+ type index_GetDeployedContractAbiRequestNetwork = GetDeployedContractAbiRequestNetwork;
2031
+ type index_GetDeployedContractByAddressRequestNetwork = GetDeployedContractByAddressRequestNetwork;
1166
2032
  type index_GetDeployedContractsRequest = GetDeployedContractsRequest;
1167
2033
  type index_GetDeployedContractsRequestNetwork = GetDeployedContractsRequestNetwork;
1168
- type index_GetOrganizationAddressesRequest = GetOrganizationAddressesRequest;
1169
- type index_GetOrganizationTransactionsRequest = GetOrganizationTransactionsRequest;
1170
- type index_GetOrganizationWalletsRequest = GetOrganizationWalletsRequest;
1171
- type index_GetProfileAddressesRequest = GetProfileAddressesRequest;
1172
- type index_GetProfileTransactionsRequest = GetProfileTransactionsRequest;
1173
- type index_GetProfileWalletsRequest = GetProfileWalletsRequest;
2034
+ type index_GetLinkedTokenResponse = GetLinkedTokenResponse;
2035
+ type index_GetNativeBalanceRequest = GetNativeBalanceRequest;
2036
+ type index_GetNativeBalanceRequestNetwork = GetNativeBalanceRequestNetwork;
1174
2037
  type index_GetProfilesRequest = GetProfilesRequest;
1175
- type index_GetTemplateFunctionsRequest = GetTemplateFunctionsRequest;
1176
2038
  type index_GetTokensRequest = GetTokensRequest;
2039
+ type index_GetTransactionReceiptRequestNetwork = GetTransactionReceiptRequestNetwork;
1177
2040
  type index_GetTransactionsByAddressRequest = GetTransactionsByAddressRequest;
1178
- type index_GetTransactionsByWalletRequest = GetTransactionsByWalletRequest;
2041
+ type index_GetTransactionsByMiniWalletRequest = GetTransactionsByMiniWalletRequest;
2042
+ type index_GetTransactionsByOrganizationRequest = GetTransactionsByOrganizationRequest;
2043
+ type index_GetTransactionsByProfileRequest = GetTransactionsByProfileRequest;
2044
+ type index_GetWalletsByProfileRequest = GetWalletsByProfileRequest;
2045
+ type index_GetWalletsForOrganizationRequest = GetWalletsForOrganizationRequest;
2046
+ type index_InternalServerError = InternalServerError;
2047
+ declare const index_InternalServerError: typeof InternalServerError;
1179
2048
  declare const index_IssueNewTokenRequest: typeof IssueNewTokenRequest;
2049
+ type index_IssueNewTokenResponse = IssueNewTokenResponse;
1180
2050
  type index_LinkContractRequest = LinkContractRequest;
1181
- type index_LinkedTokenData = LinkedTokenData;
1182
- type index_LinkedTokenResponse = LinkedTokenResponse;
1183
- declare const index_MintTokenRequest: typeof MintTokenRequest;
2051
+ type index_LinkContractResponse = LinkContractResponse;
2052
+ type index_MintTokenRequest = MintTokenRequest;
2053
+ declare const index_MintTokenResponse: typeof MintTokenResponse;
2054
+ declare const index_NativeBalanceData: typeof NativeBalanceData;
2055
+ type index_NativeBalanceResponse = NativeBalanceResponse;
1184
2056
  type index_NotFoundError = NotFoundError;
1185
2057
  declare const index_NotFoundError: typeof NotFoundError;
1186
- declare const index_PaginatedResponse: typeof PaginatedResponse;
1187
- declare const index_ReadFunctionRequest: typeof ReadFunctionRequest;
1188
- type index_SuccessResponse = SuccessResponse;
1189
- type index_TemporalWorkflowStatusData = TemporalWorkflowStatusData;
1190
- declare const index_WriteFunctionRequest: typeof WriteFunctionRequest;
2058
+ type index_Pagination = Pagination;
2059
+ declare const index_ProfileResponse: typeof ProfileResponse;
2060
+ declare const index_ProfilesResponse: typeof ProfilesResponse;
2061
+ type index_ReadCallFunctionRequest = ReadCallFunctionRequest;
2062
+ type index_ReadCallFunctionRequestNetwork = ReadCallFunctionRequestNetwork;
2063
+ declare const index_ReadCallFunctionResponse: typeof ReadCallFunctionResponse;
2064
+ type index_ServiceUnavailableError = ServiceUnavailableError;
2065
+ declare const index_ServiceUnavailableError: typeof ServiceUnavailableError;
2066
+ type index_TemporalWorkflowError = TemporalWorkflowError;
2067
+ declare const index_TemporalWorkflowStatusData: typeof TemporalWorkflowStatusData;
2068
+ declare const index_TokenData: typeof TokenData;
2069
+ declare const index_TokenResponse: typeof TokenResponse;
2070
+ declare const index_TokensResponse: typeof TokensResponse;
2071
+ declare const index_TransactionData: typeof TransactionData;
2072
+ declare const index_TransactionReceiptResponse: typeof TransactionReceiptResponse;
2073
+ type index_TransactionsByProfileResponse = TransactionsByProfileResponse;
2074
+ type index_TransactionsResponse = TransactionsResponse;
2075
+ type index_UnauthorizedError = UnauthorizedError;
2076
+ declare const index_UnauthorizedError: typeof UnauthorizedError;
2077
+ declare const index_UnlinkTokenResponse: typeof UnlinkTokenResponse;
2078
+ type index_UnprocessableEntityError = UnprocessableEntityError;
2079
+ declare const index_UnprocessableEntityError: typeof UnprocessableEntityError;
2080
+ declare const index_WalletData: typeof WalletData;
2081
+ type index_WalletResponse = WalletResponse;
2082
+ type index_WalletsResponse = WalletsResponse;
2083
+ declare const index_WithdrawResponse: typeof WithdrawResponse;
2084
+ type index_WorkflowResponse = WorkflowResponse;
2085
+ type index_WriteCallFunctionRequest = WriteCallFunctionRequest;
2086
+ type index_WriteCallFunctionRequestNetwork = WriteCallFunctionRequestNetwork;
2087
+ declare const index_WriteCallFunctionResponse: typeof WriteCallFunctionResponse;
1191
2088
  declare namespace index {
1192
2089
  export {
1193
2090
  index_AddContractAbiRequest as AddContractAbiRequest,
2091
+ index_AddContractAbiResponse as AddContractAbiResponse,
2092
+ index_AddressData as AddressData,
2093
+ index_AddressesResponse as AddressesResponse,
2094
+ index_AssetData as AssetData,
2095
+ index_AssetsResponse as AssetsResponse,
2096
+ index_BadGatewayError as BadGatewayError,
1194
2097
  index_BadRequestError as BadRequestError,
1195
2098
  index_BurnTokenRequest as BurnTokenRequest,
2099
+ index_BurnTokenResponse as BurnTokenResponse,
2100
+ index_CollectionData as CollectionData,
2101
+ index_CollectionResponse as CollectionResponse,
2102
+ index_CollectionTokenData as CollectionTokenData,
2103
+ index_CollectionTokenDetailsResponse as CollectionTokenDetailsResponse,
2104
+ index_CollectionTokensResponse as CollectionTokensResponse,
2105
+ index_CollectionsResponse as CollectionsResponse,
2106
+ index_ConflictError as ConflictError,
2107
+ index_ContractAbiResponse as ContractAbiResponse,
2108
+ index_ContractConstructorResponse as ContractConstructorResponse,
2109
+ index_ContractFunctionsResponse as ContractFunctionsResponse,
2110
+ index_ContractTemplateByIdResponse as ContractTemplateByIdResponse,
2111
+ index_ContractTemplateData as ContractTemplateData,
2112
+ index_ContractTemplateFunction as ContractTemplateFunction,
2113
+ index_ContractTemplateResponse as ContractTemplateResponse,
2114
+ index_ContractTemplatesResponse as ContractTemplatesResponse,
1196
2115
  index_CreateAddressRequest as CreateAddressRequest,
2116
+ index_CreateAddressResponse as CreateAddressResponse,
1197
2117
  index_CreateCollectionRequest as CreateCollectionRequest,
1198
- index_CreateContractTemplateRequest as CreateContractTemplateRequest,
2118
+ index_CreateContractRequest as CreateContractRequest,
1199
2119
  index_CreateProfileRequest as CreateProfileRequest,
1200
2120
  index_CreateWalletRequest as CreateWalletRequest,
1201
- index_CreateWithdrawalRequest as CreateWithdrawalRequest,
2121
+ index_CreateWithdrawRequest as CreateWithdrawRequest,
1202
2122
  index_DeployContractRequest as DeployContractRequest,
2123
+ index_DeployContractResponse as DeployContractResponse,
2124
+ index_DeployedContractByAddressResponse as DeployedContractByAddressResponse,
2125
+ index_DeployedContractByIdResponse as DeployedContractByIdResponse,
2126
+ index_DeployedContractData as DeployedContractData,
2127
+ index_DeployedContractResponse as DeployedContractResponse,
2128
+ index_DeployedContractsResponse as DeployedContractsResponse,
1203
2129
  index_ErrorResponse as ErrorResponse,
1204
2130
  index_FetchContractAbiRequest as FetchContractAbiRequest,
2131
+ index_FetchContractAbiResponse as FetchContractAbiResponse,
2132
+ index_ForbiddenError as ForbiddenError,
2133
+ index_GatewayTimeoutError as GatewayTimeoutError,
2134
+ index_GetAddressForOrganizationRequest as GetAddressForOrganizationRequest,
2135
+ index_GetAddressForProfileRequest as GetAddressForProfileRequest,
1205
2136
  index_GetAssetsRequest as GetAssetsRequest,
1206
2137
  index_GetCollectionTokensRequest as GetCollectionTokensRequest,
1207
- index_GetCollectionTokensRequestType as GetCollectionTokensRequestType,
1208
2138
  index_GetCollectionsRequest as GetCollectionsRequest,
1209
- index_GetContractTemplatesRequest as GetContractTemplatesRequest,
2139
+ index_GetContractsRequest as GetContractsRequest,
2140
+ index_GetDeployedContractAbiRequestNetwork as GetDeployedContractAbiRequestNetwork,
2141
+ index_GetDeployedContractByAddressRequestNetwork as GetDeployedContractByAddressRequestNetwork,
1210
2142
  index_GetDeployedContractsRequest as GetDeployedContractsRequest,
1211
2143
  index_GetDeployedContractsRequestNetwork as GetDeployedContractsRequestNetwork,
1212
- index_GetOrganizationAddressesRequest as GetOrganizationAddressesRequest,
1213
- index_GetOrganizationTransactionsRequest as GetOrganizationTransactionsRequest,
1214
- index_GetOrganizationWalletsRequest as GetOrganizationWalletsRequest,
1215
- index_GetProfileAddressesRequest as GetProfileAddressesRequest,
1216
- index_GetProfileTransactionsRequest as GetProfileTransactionsRequest,
1217
- index_GetProfileWalletsRequest as GetProfileWalletsRequest,
2144
+ index_GetLinkedTokenResponse as GetLinkedTokenResponse,
2145
+ index_GetNativeBalanceRequest as GetNativeBalanceRequest,
2146
+ index_GetNativeBalanceRequestNetwork as GetNativeBalanceRequestNetwork,
1218
2147
  index_GetProfilesRequest as GetProfilesRequest,
1219
- index_GetTemplateFunctionsRequest as GetTemplateFunctionsRequest,
1220
2148
  index_GetTokensRequest as GetTokensRequest,
2149
+ index_GetTransactionReceiptRequestNetwork as GetTransactionReceiptRequestNetwork,
1221
2150
  index_GetTransactionsByAddressRequest as GetTransactionsByAddressRequest,
1222
- index_GetTransactionsByWalletRequest as GetTransactionsByWalletRequest,
2151
+ index_GetTransactionsByMiniWalletRequest as GetTransactionsByMiniWalletRequest,
2152
+ index_GetTransactionsByOrganizationRequest as GetTransactionsByOrganizationRequest,
2153
+ index_GetTransactionsByProfileRequest as GetTransactionsByProfileRequest,
2154
+ index_GetWalletsByProfileRequest as GetWalletsByProfileRequest,
2155
+ index_GetWalletsForOrganizationRequest as GetWalletsForOrganizationRequest,
2156
+ index_InternalServerError as InternalServerError,
1223
2157
  index_IssueNewTokenRequest as IssueNewTokenRequest,
2158
+ index_IssueNewTokenResponse as IssueNewTokenResponse,
1224
2159
  index_LinkContractRequest as LinkContractRequest,
1225
- index_LinkedTokenData as LinkedTokenData,
1226
- index_LinkedTokenResponse as LinkedTokenResponse,
2160
+ index_LinkContractResponse as LinkContractResponse,
1227
2161
  index_MintTokenRequest as MintTokenRequest,
2162
+ index_MintTokenResponse as MintTokenResponse,
2163
+ index_NativeBalanceData as NativeBalanceData,
2164
+ index_NativeBalanceResponse as NativeBalanceResponse,
1228
2165
  index_NotFoundError as NotFoundError,
1229
- index_PaginatedResponse as PaginatedResponse,
1230
- index_ReadFunctionRequest as ReadFunctionRequest,
1231
- index_SuccessResponse as SuccessResponse,
2166
+ index_Pagination as Pagination,
2167
+ index_ProfileResponse as ProfileResponse,
2168
+ index_ProfilesResponse as ProfilesResponse,
2169
+ index_ReadCallFunctionRequest as ReadCallFunctionRequest,
2170
+ index_ReadCallFunctionRequestNetwork as ReadCallFunctionRequestNetwork,
2171
+ index_ReadCallFunctionResponse as ReadCallFunctionResponse,
2172
+ index_ServiceUnavailableError as ServiceUnavailableError,
2173
+ index_TemporalWorkflowError as TemporalWorkflowError,
1232
2174
  index_TemporalWorkflowStatusData as TemporalWorkflowStatusData,
1233
- index_WriteFunctionRequest as WriteFunctionRequest,
1234
- index$7 as addresses,
1235
- index$1 as assets,
1236
- index$3 as contractInteractions,
1237
- index$4 as contractTemplates,
1238
- index$b as deployedContracts,
1239
- index$9 as profiles,
2175
+ index_TokenData as TokenData,
2176
+ index_TokenResponse as TokenResponse,
2177
+ index_TokensResponse as TokensResponse,
2178
+ index_TransactionData as TransactionData,
2179
+ index_TransactionReceiptResponse as TransactionReceiptResponse,
2180
+ index_TransactionsByProfileResponse as TransactionsByProfileResponse,
2181
+ index_TransactionsResponse as TransactionsResponse,
2182
+ index_UnauthorizedError as UnauthorizedError,
2183
+ index_UnlinkTokenResponse as UnlinkTokenResponse,
2184
+ index_UnprocessableEntityError as UnprocessableEntityError,
2185
+ index_WalletData as WalletData,
2186
+ index_WalletResponse as WalletResponse,
2187
+ index_WalletsResponse as WalletsResponse,
2188
+ index_WithdrawResponse as WithdrawResponse,
2189
+ index_WorkflowResponse as WorkflowResponse,
2190
+ index_WriteCallFunctionRequest as WriteCallFunctionRequest,
2191
+ index_WriteCallFunctionRequestNetwork as WriteCallFunctionRequestNetwork,
2192
+ index_WriteCallFunctionResponse as WriteCallFunctionResponse,
2193
+ index$4 as addresses,
2194
+ index$7 as contractInteractions,
2195
+ index$9 as contractTemplates,
2196
+ index$8 as deployedContracts,
2197
+ index$b as portfolio,
2198
+ index$6 as profiles,
1240
2199
  index$2 as temporal,
1241
2200
  index$a as tokenization,
1242
- index$6 as transactions,
1243
- index$8 as wallets,
1244
- index$5 as withdrawals,
2201
+ index$3 as transactions,
2202
+ index$5 as wallets,
2203
+ index$1 as withdrawals,
1245
2204
  };
1246
2205
  }
1247
2206
 
@@ -1287,18 +2246,22 @@ declare class Profiles {
1287
2246
  protected readonly _options: Profiles.Options;
1288
2247
  constructor(_options: Profiles.Options);
1289
2248
  /**
1290
- * Retrieve a paginated list of profiles
2249
+ * Get list of profiles with pagination
1291
2250
  *
1292
2251
  * @param {OumlaSdkApi.GetProfilesRequest} request
1293
2252
  * @param {Profiles.RequestOptions} requestOptions - Request-specific configuration.
1294
2253
  *
2254
+ * @throws {@link OumlaSdkApi.BadRequestError}
2255
+ * @throws {@link OumlaSdkApi.UnauthorizedError}
2256
+ * @throws {@link OumlaSdkApi.InternalServerError}
2257
+ *
1295
2258
  * @example
1296
2259
  * await client.profiles.getProfiles({
1297
2260
  * skip: 1,
1298
2261
  * take: 1
1299
2262
  * })
1300
2263
  */
1301
- getProfiles(request?: GetProfilesRequest, requestOptions?: Profiles.RequestOptions): HttpResponsePromise<PaginatedResponse>;
2264
+ getProfiles(request?: GetProfilesRequest, requestOptions?: Profiles.RequestOptions): HttpResponsePromise<ProfilesResponse>;
1302
2265
  private __getProfiles;
1303
2266
  /**
1304
2267
  * Create a new user profile
@@ -1307,14 +2270,19 @@ declare class Profiles {
1307
2270
  * @param {Profiles.RequestOptions} requestOptions - Request-specific configuration.
1308
2271
  *
1309
2272
  * @throws {@link OumlaSdkApi.BadRequestError}
2273
+ * @throws {@link OumlaSdkApi.UnauthorizedError}
2274
+ * @throws {@link OumlaSdkApi.ForbiddenError}
2275
+ * @throws {@link OumlaSdkApi.ConflictError}
2276
+ * @throws {@link OumlaSdkApi.UnprocessableEntityError}
2277
+ * @throws {@link OumlaSdkApi.InternalServerError}
1310
2278
  *
1311
2279
  * @example
1312
2280
  * await client.profiles.createProfile({
1313
- * reference: "reference",
2281
+ * reference: "user-123",
1314
2282
  * type: "User"
1315
2283
  * })
1316
2284
  */
1317
- createProfile(request: CreateProfileRequest, requestOptions?: Profiles.RequestOptions): HttpResponsePromise<SuccessResponse>;
2285
+ createProfile(request: CreateProfileRequest, requestOptions?: Profiles.RequestOptions): HttpResponsePromise<ProfileResponse>;
1318
2286
  private __createProfile;
1319
2287
  protected _getAuthorizationHeader(): Promise<string | undefined>;
1320
2288
  }
@@ -1356,48 +2324,64 @@ declare class Wallets {
1356
2324
  protected readonly _options: Wallets.Options;
1357
2325
  constructor(_options: Wallets.Options);
1358
2326
  /**
1359
- * Retrieve wallets for the organization
2327
+ * Generate a new wallet for a profile
1360
2328
  *
1361
- * @param {OumlaSdkApi.GetOrganizationWalletsRequest} request
2329
+ * @param {OumlaSdkApi.CreateWalletRequest} request
1362
2330
  * @param {Wallets.RequestOptions} requestOptions - Request-specific configuration.
1363
2331
  *
2332
+ * @throws {@link OumlaSdkApi.BadRequestError}
2333
+ * @throws {@link OumlaSdkApi.UnauthorizedError}
2334
+ * @throws {@link OumlaSdkApi.ConflictError}
2335
+ * @throws {@link OumlaSdkApi.InternalServerError}
2336
+ *
1364
2337
  * @example
1365
- * await client.wallets.getOrganizationWallets({
1366
- * skip: 1,
1367
- * take: 1
2338
+ * await client.wallets.createWallet({
2339
+ * reference: "user-123",
2340
+ * network: "tBTC"
1368
2341
  * })
1369
2342
  */
1370
- getOrganizationWallets(request?: GetOrganizationWalletsRequest, requestOptions?: Wallets.RequestOptions): HttpResponsePromise<PaginatedResponse>;
1371
- private __getOrganizationWallets;
2343
+ createWallet(request: CreateWalletRequest, requestOptions?: Wallets.RequestOptions): HttpResponsePromise<WalletResponse>;
2344
+ private __createWallet;
1372
2345
  /**
1373
- * Retrieve wallets for a specific profile
2346
+ * Get wallets for a specific profile
1374
2347
  *
1375
- * @param {string} reference - Profile reference
1376
- * @param {OumlaSdkApi.GetProfileWalletsRequest} request
2348
+ * @param {string} reference - Profile or organization reference identifier
2349
+ * @param {OumlaSdkApi.GetWalletsByProfileRequest} request
1377
2350
  * @param {Wallets.RequestOptions} requestOptions - Request-specific configuration.
1378
2351
  *
2352
+ * @throws {@link OumlaSdkApi.BadRequestError}
2353
+ * @throws {@link OumlaSdkApi.UnauthorizedError}
2354
+ * @throws {@link OumlaSdkApi.ForbiddenError}
2355
+ * @throws {@link OumlaSdkApi.NotFoundError}
2356
+ * @throws {@link OumlaSdkApi.InternalServerError}
2357
+ *
1379
2358
  * @example
1380
- * await client.wallets.getProfileWallets("reference", {
2359
+ * await client.wallets.getWalletsByProfile("reference", {
1381
2360
  * skip: 1,
1382
2361
  * take: 1
1383
2362
  * })
1384
2363
  */
1385
- getProfileWallets(reference: string, request?: GetProfileWalletsRequest, requestOptions?: Wallets.RequestOptions): HttpResponsePromise<PaginatedResponse>;
1386
- private __getProfileWallets;
2364
+ getWalletsByProfile(reference: string, request?: GetWalletsByProfileRequest, requestOptions?: Wallets.RequestOptions): HttpResponsePromise<WalletsResponse>;
2365
+ private __getWalletsByProfile;
1387
2366
  /**
1388
- * Generate a new wallet for a profile
2367
+ * Get all wallets for the organization
1389
2368
  *
1390
- * @param {OumlaSdkApi.CreateWalletRequest} request
2369
+ * @param {OumlaSdkApi.GetWalletsForOrganizationRequest} request
1391
2370
  * @param {Wallets.RequestOptions} requestOptions - Request-specific configuration.
1392
2371
  *
2372
+ * @throws {@link OumlaSdkApi.BadRequestError}
2373
+ * @throws {@link OumlaSdkApi.UnauthorizedError}
2374
+ * @throws {@link OumlaSdkApi.ForbiddenError}
2375
+ * @throws {@link OumlaSdkApi.InternalServerError}
2376
+ *
1393
2377
  * @example
1394
- * await client.wallets.generateWallet({
1395
- * reference: "reference",
1396
- * network: "BTC"
2378
+ * await client.wallets.getWalletsForOrganization({
2379
+ * skip: 1,
2380
+ * take: 1
1397
2381
  * })
1398
2382
  */
1399
- generateWallet(request: CreateWalletRequest, requestOptions?: Wallets.RequestOptions): HttpResponsePromise<SuccessResponse>;
1400
- private __generateWallet;
2383
+ getWalletsForOrganization(request?: GetWalletsForOrganizationRequest, requestOptions?: Wallets.RequestOptions): HttpResponsePromise<WalletsResponse>;
2384
+ private __getWalletsForOrganization;
1401
2385
  protected _getAuthorizationHeader(): Promise<string | undefined>;
1402
2386
  }
1403
2387
 
@@ -1438,64 +2422,83 @@ declare class Addresses {
1438
2422
  protected readonly _options: Addresses.Options;
1439
2423
  constructor(_options: Addresses.Options);
1440
2424
  /**
1441
- * Retrieve addresses for the organization
2425
+ * Generate a new address for a profile
1442
2426
  *
1443
- * @param {OumlaSdkApi.GetOrganizationAddressesRequest} request
2427
+ * @param {OumlaSdkApi.CreateAddressRequest} request
1444
2428
  * @param {Addresses.RequestOptions} requestOptions - Request-specific configuration.
1445
2429
  *
2430
+ * @throws {@link OumlaSdkApi.BadRequestError}
2431
+ * @throws {@link OumlaSdkApi.UnauthorizedError}
2432
+ * @throws {@link OumlaSdkApi.InternalServerError}
2433
+ *
1446
2434
  * @example
1447
- * await client.addresses.getOrganizationAddresses({
1448
- * skip: 1,
1449
- * take: 1
2435
+ * await client.addresses.createAddress({
2436
+ * reference: "user-123",
2437
+ * network: "tBTC",
2438
+ * clientShare: "clientShare"
1450
2439
  * })
1451
2440
  */
1452
- getOrganizationAddresses(request?: GetOrganizationAddressesRequest, requestOptions?: Addresses.RequestOptions): HttpResponsePromise<PaginatedResponse>;
1453
- private __getOrganizationAddresses;
2441
+ createAddress(request: CreateAddressRequest, requestOptions?: Addresses.RequestOptions): HttpResponsePromise<CreateAddressResponse>;
2442
+ private __createAddress;
1454
2443
  /**
1455
- * Retrieve addresses for a specific profile
2444
+ * Generate a wallet if not exists and create address
1456
2445
  *
1457
- * @param {string} reference - Profile reference
1458
- * @param {OumlaSdkApi.GetProfileAddressesRequest} request
2446
+ * @param {OumlaSdkApi.CreateAddressRequest} request
1459
2447
  * @param {Addresses.RequestOptions} requestOptions - Request-specific configuration.
1460
2448
  *
2449
+ * @throws {@link OumlaSdkApi.BadRequestError}
2450
+ * @throws {@link OumlaSdkApi.UnauthorizedError}
2451
+ * @throws {@link OumlaSdkApi.InternalServerError}
2452
+ *
1461
2453
  * @example
1462
- * await client.addresses.getProfileAddresses("reference", {
1463
- * skip: 1,
1464
- * take: 1
2454
+ * await client.addresses.createAddressV2({
2455
+ * reference: "user-123",
2456
+ * network: "tBTC",
2457
+ * clientShare: "clientShare"
1465
2458
  * })
1466
2459
  */
1467
- getProfileAddresses(reference: string, request?: GetProfileAddressesRequest, requestOptions?: Addresses.RequestOptions): HttpResponsePromise<PaginatedResponse>;
1468
- private __getProfileAddresses;
2460
+ createAddressV2(request: CreateAddressRequest, requestOptions?: Addresses.RequestOptions): HttpResponsePromise<CreateAddressResponse>;
2461
+ private __createAddressV2;
1469
2462
  /**
1470
- * Generate a new address for a profile
2463
+ * Get all addresses for the organization
1471
2464
  *
1472
- * @param {OumlaSdkApi.CreateAddressRequest} request
2465
+ * @param {OumlaSdkApi.GetAddressForOrganizationRequest} request
1473
2466
  * @param {Addresses.RequestOptions} requestOptions - Request-specific configuration.
1474
2467
  *
2468
+ * @throws {@link OumlaSdkApi.BadRequestError}
2469
+ * @throws {@link OumlaSdkApi.UnauthorizedError}
2470
+ * @throws {@link OumlaSdkApi.ForbiddenError}
2471
+ * @throws {@link OumlaSdkApi.InternalServerError}
2472
+ *
1475
2473
  * @example
1476
- * await client.addresses.generateAddressV1({
1477
- * reference: "reference",
1478
- * network: "BTC",
1479
- * clientShare: "clientShare"
2474
+ * await client.addresses.getAddressForOrganization({
2475
+ * skip: 1,
2476
+ * take: 1
1480
2477
  * })
1481
2478
  */
1482
- generateAddressV1(request: CreateAddressRequest, requestOptions?: Addresses.RequestOptions): HttpResponsePromise<SuccessResponse>;
1483
- private __generateAddressV1;
2479
+ getAddressForOrganization(request?: GetAddressForOrganizationRequest, requestOptions?: Addresses.RequestOptions): HttpResponsePromise<AddressesResponse>;
2480
+ private __getAddressForOrganization;
1484
2481
  /**
1485
- * Generate a new address for a profile
2482
+ * Get addresses for a specific profile
1486
2483
  *
1487
- * @param {OumlaSdkApi.CreateAddressRequest} request
2484
+ * @param {string} reference - Profile or organization reference identifier
2485
+ * @param {OumlaSdkApi.GetAddressForProfileRequest} request
1488
2486
  * @param {Addresses.RequestOptions} requestOptions - Request-specific configuration.
1489
2487
  *
2488
+ * @throws {@link OumlaSdkApi.BadRequestError}
2489
+ * @throws {@link OumlaSdkApi.UnauthorizedError}
2490
+ * @throws {@link OumlaSdkApi.ForbiddenError}
2491
+ * @throws {@link OumlaSdkApi.NotFoundError}
2492
+ * @throws {@link OumlaSdkApi.InternalServerError}
2493
+ *
1490
2494
  * @example
1491
- * await client.addresses.generateAddressV2({
1492
- * reference: "reference",
1493
- * network: "BTC",
1494
- * clientShare: "clientShare"
2495
+ * await client.addresses.getAddressForProfile("reference", {
2496
+ * skip: 1,
2497
+ * take: 1
1495
2498
  * })
1496
2499
  */
1497
- generateAddressV2(request: CreateAddressRequest, requestOptions?: Addresses.RequestOptions): HttpResponsePromise<SuccessResponse>;
1498
- private __generateAddressV2;
2500
+ getAddressForProfile(reference: string, request?: GetAddressForProfileRequest, requestOptions?: Addresses.RequestOptions): HttpResponsePromise<AddressesResponse>;
2501
+ private __getAddressForProfile;
1499
2502
  protected _getAuthorizationHeader(): Promise<string | undefined>;
1500
2503
  }
1501
2504
 
@@ -1536,68 +2539,91 @@ declare class Transactions {
1536
2539
  protected readonly _options: Transactions.Options;
1537
2540
  constructor(_options: Transactions.Options);
1538
2541
  /**
1539
- * Retrieve transactions for a specific address
2542
+ * Get transactions for a specific address
1540
2543
  *
1541
2544
  * @param {string} address - Blockchain address
1542
2545
  * @param {OumlaSdkApi.GetTransactionsByAddressRequest} request
1543
2546
  * @param {Transactions.RequestOptions} requestOptions - Request-specific configuration.
1544
2547
  *
2548
+ * @throws {@link OumlaSdkApi.BadRequestError}
2549
+ * @throws {@link OumlaSdkApi.UnauthorizedError}
2550
+ * @throws {@link OumlaSdkApi.ForbiddenError}
2551
+ * @throws {@link OumlaSdkApi.NotFoundError}
2552
+ * @throws {@link OumlaSdkApi.InternalServerError}
2553
+ *
1545
2554
  * @example
1546
2555
  * await client.transactions.getTransactionsByAddress("address", {
1547
2556
  * skip: 1,
1548
2557
  * take: 1
1549
2558
  * })
1550
2559
  */
1551
- getTransactionsByAddress(address: string, request?: GetTransactionsByAddressRequest, requestOptions?: Transactions.RequestOptions): HttpResponsePromise<PaginatedResponse>;
2560
+ getTransactionsByAddress(address: string, request?: GetTransactionsByAddressRequest, requestOptions?: Transactions.RequestOptions): HttpResponsePromise<TransactionsResponse>;
1552
2561
  private __getTransactionsByAddress;
1553
2562
  /**
1554
- * Retrieve transactions for a specific wallet
2563
+ * Get transactions for a specific wallet
1555
2564
  *
1556
- * @param {string} miniWalletId - Mini wallet ID
1557
- * @param {OumlaSdkApi.GetTransactionsByWalletRequest} request
2565
+ * @param {string} miniWalletId - Mini wallet identifier
2566
+ * @param {OumlaSdkApi.GetTransactionsByMiniWalletRequest} request
1558
2567
  * @param {Transactions.RequestOptions} requestOptions - Request-specific configuration.
1559
2568
  *
2569
+ * @throws {@link OumlaSdkApi.BadRequestError}
2570
+ * @throws {@link OumlaSdkApi.UnauthorizedError}
2571
+ * @throws {@link OumlaSdkApi.ForbiddenError}
2572
+ * @throws {@link OumlaSdkApi.NotFoundError}
2573
+ * @throws {@link OumlaSdkApi.InternalServerError}
2574
+ *
1560
2575
  * @example
1561
- * await client.transactions.getTransactionsByWallet("miniWalletId", {
2576
+ * await client.transactions.getTransactionsByMiniWallet("miniWalletId", {
1562
2577
  * skip: 1,
1563
2578
  * take: 1
1564
2579
  * })
1565
2580
  */
1566
- getTransactionsByWallet(miniWalletId: string, request?: GetTransactionsByWalletRequest, requestOptions?: Transactions.RequestOptions): HttpResponsePromise<PaginatedResponse>;
1567
- private __getTransactionsByWallet;
2581
+ getTransactionsByMiniWallet(miniWalletId: string, request?: GetTransactionsByMiniWalletRequest, requestOptions?: Transactions.RequestOptions): HttpResponsePromise<TransactionsResponse>;
2582
+ private __getTransactionsByMiniWallet;
1568
2583
  /**
1569
- * Retrieve transactions for the organization
2584
+ * Get all transactions for the organization
1570
2585
  *
1571
- * @param {OumlaSdkApi.GetOrganizationTransactionsRequest} request
2586
+ * @param {OumlaSdkApi.GetTransactionsByOrganizationRequest} request
1572
2587
  * @param {Transactions.RequestOptions} requestOptions - Request-specific configuration.
1573
2588
  *
2589
+ * @throws {@link OumlaSdkApi.BadRequestError}
2590
+ * @throws {@link OumlaSdkApi.UnauthorizedError}
2591
+ * @throws {@link OumlaSdkApi.ForbiddenError}
2592
+ * @throws {@link OumlaSdkApi.InternalServerError}
2593
+ *
1574
2594
  * @example
1575
- * await client.transactions.getOrganizationTransactions({
2595
+ * await client.transactions.getTransactionsByOrganization({
1576
2596
  * skip: 1,
1577
2597
  * take: 1
1578
2598
  * })
1579
2599
  */
1580
- getOrganizationTransactions(request?: GetOrganizationTransactionsRequest, requestOptions?: Transactions.RequestOptions): HttpResponsePromise<PaginatedResponse>;
1581
- private __getOrganizationTransactions;
2600
+ getTransactionsByOrganization(request?: GetTransactionsByOrganizationRequest, requestOptions?: Transactions.RequestOptions): HttpResponsePromise<TransactionsResponse>;
2601
+ private __getTransactionsByOrganization;
1582
2602
  /**
1583
- * Retrieve transactions for a specific profile
2603
+ * Get transactions for a specific profile
1584
2604
  *
1585
- * @param {string} reference - Profile reference
1586
- * @param {OumlaSdkApi.GetProfileTransactionsRequest} request
2605
+ * @param {string} reference - Profile or organization reference identifier
2606
+ * @param {OumlaSdkApi.GetTransactionsByProfileRequest} request
1587
2607
  * @param {Transactions.RequestOptions} requestOptions - Request-specific configuration.
1588
2608
  *
2609
+ * @throws {@link OumlaSdkApi.BadRequestError}
2610
+ * @throws {@link OumlaSdkApi.UnauthorizedError}
2611
+ * @throws {@link OumlaSdkApi.ForbiddenError}
2612
+ * @throws {@link OumlaSdkApi.NotFoundError}
2613
+ * @throws {@link OumlaSdkApi.InternalServerError}
2614
+ *
1589
2615
  * @example
1590
- * await client.transactions.getProfileTransactions("reference", {
2616
+ * await client.transactions.getTransactionsByProfile("reference", {
1591
2617
  * skip: 1,
1592
2618
  * take: 1
1593
2619
  * })
1594
2620
  */
1595
- getProfileTransactions(reference: string, request?: GetProfileTransactionsRequest, requestOptions?: Transactions.RequestOptions): HttpResponsePromise<PaginatedResponse>;
1596
- private __getProfileTransactions;
2621
+ getTransactionsByProfile(reference: string, request?: GetTransactionsByProfileRequest, requestOptions?: Transactions.RequestOptions): HttpResponsePromise<TransactionsByProfileResponse>;
2622
+ private __getTransactionsByProfile;
1597
2623
  protected _getAuthorizationHeader(): Promise<string | undefined>;
1598
2624
  }
1599
2625
 
1600
- declare namespace Withdrawals {
2626
+ declare namespace Portfolio {
1601
2627
  interface Options {
1602
2628
  environment?: Supplier<OumlaSdkApiEnvironment | string>;
1603
2629
  /** Specify a custom URL to connect the client to. */
@@ -1628,32 +2654,61 @@ declare namespace Withdrawals {
1628
2654
  }
1629
2655
  }
1630
2656
  /**
1631
- * Withdrawal operations
2657
+ * Portfolio management and tracking
1632
2658
  */
1633
- declare class Withdrawals {
1634
- protected readonly _options: Withdrawals.Options;
1635
- constructor(_options: Withdrawals.Options);
2659
+ declare class Portfolio {
2660
+ protected readonly _options: Portfolio.Options;
2661
+ constructor(_options: Portfolio.Options);
1636
2662
  /**
1637
- * Create a new withdrawal request
2663
+ * Get assets for address, wallet, or contract
1638
2664
  *
1639
- * @param {OumlaSdkApi.CreateWithdrawalRequest} request
1640
- * @param {Withdrawals.RequestOptions} requestOptions - Request-specific configuration.
2665
+ * @param {OumlaSdkApi.GetAssetsRequest} request
2666
+ * @param {Portfolio.RequestOptions} requestOptions - Request-specific configuration.
2667
+ *
2668
+ * @throws {@link OumlaSdkApi.BadRequestError}
2669
+ * @throws {@link OumlaSdkApi.UnauthorizedError}
2670
+ * @throws {@link OumlaSdkApi.ForbiddenError}
2671
+ * @throws {@link OumlaSdkApi.InternalServerError}
1641
2672
  *
1642
2673
  * @example
1643
- * await client.withdrawals.createWithdrawal({
1644
- * to: "to",
1645
- * amount: "amount",
1646
- * from: ["from"],
1647
- * network: "BTC",
1648
- * clientShare: "clientShare"
2674
+ * await client.portfolio.getAssets({
2675
+ * address: "address",
2676
+ * walletId: "walletId",
2677
+ * contractAddress: "contractAddress",
2678
+ * tokenizationId: "tokenizationId",
2679
+ * skip: 1,
2680
+ * take: 1
2681
+ * })
2682
+ */
2683
+ getAssets(request?: GetAssetsRequest, requestOptions?: Portfolio.RequestOptions): HttpResponsePromise<AssetsResponse>;
2684
+ private __getAssets;
2685
+ /**
2686
+ * Get native balance for network, address, or wallet
2687
+ *
2688
+ * @param {OumlaSdkApi.GetNativeBalanceRequest} request
2689
+ * @param {Portfolio.RequestOptions} requestOptions - Request-specific configuration.
2690
+ *
2691
+ * @throws {@link OumlaSdkApi.BadRequestError}
2692
+ * @throws {@link OumlaSdkApi.UnauthorizedError}
2693
+ * @throws {@link OumlaSdkApi.ForbiddenError}
2694
+ * @throws {@link OumlaSdkApi.NotFoundError}
2695
+ * @throws {@link OumlaSdkApi.InternalServerError}
2696
+ *
2697
+ * @example
2698
+ * await client.portfolio.getNativeBalance({
2699
+ * network: "tBTC",
2700
+ * address: "address",
2701
+ * walletId: "walletId",
2702
+ * skip: 1,
2703
+ * take: 1
1649
2704
  * })
1650
2705
  */
1651
- createWithdrawal(request: CreateWithdrawalRequest, requestOptions?: Withdrawals.RequestOptions): HttpResponsePromise<SuccessResponse>;
1652
- private __createWithdrawal;
2706
+ getNativeBalance(request: GetNativeBalanceRequest, requestOptions?: Portfolio.RequestOptions): HttpResponsePromise<NativeBalanceResponse>;
2707
+ private __getNativeBalance;
1653
2708
  protected _getAuthorizationHeader(): Promise<string | undefined>;
1654
2709
  }
1655
2710
 
1656
- declare namespace ContractTemplates {
2711
+ declare namespace Temporal {
1657
2712
  interface Options {
1658
2713
  environment?: Supplier<OumlaSdkApiEnvironment | string>;
1659
2714
  /** Specify a custom URL to connect the client to. */
@@ -1684,110 +2739,32 @@ declare namespace ContractTemplates {
1684
2739
  }
1685
2740
  }
1686
2741
  /**
1687
- * Smart contract template management
2742
+ * Temporal workflow operations
1688
2743
  */
1689
- declare class ContractTemplates {
1690
- protected readonly _options: ContractTemplates.Options;
1691
- constructor(_options: ContractTemplates.Options);
1692
- /**
1693
- * Retrieve a paginated list of contract templates
1694
- *
1695
- * @param {OumlaSdkApi.GetContractTemplatesRequest} request
1696
- * @param {ContractTemplates.RequestOptions} requestOptions - Request-specific configuration.
1697
- *
1698
- * @example
1699
- * await client.contractTemplates.getContractTemplates({
1700
- * skip: 1,
1701
- * take: 1
1702
- * })
1703
- */
1704
- getContractTemplates(request?: GetContractTemplatesRequest, requestOptions?: ContractTemplates.RequestOptions): HttpResponsePromise<PaginatedResponse>;
1705
- private __getContractTemplates;
1706
- /**
1707
- * Create a new contract template
1708
- *
1709
- * @param {OumlaSdkApi.CreateContractTemplateRequest} request
1710
- * @param {ContractTemplates.RequestOptions} requestOptions - Request-specific configuration.
1711
- *
1712
- * @example
1713
- * await client.contractTemplates.createContractTemplate({
1714
- * name: "name",
1715
- * description: "description",
1716
- * abi: [{
1717
- * "key": "value"
1718
- * }],
1719
- * bytecode: "bytecode"
1720
- * })
1721
- */
1722
- createContractTemplate(request: CreateContractTemplateRequest, requestOptions?: ContractTemplates.RequestOptions): HttpResponsePromise<SuccessResponse>;
1723
- private __createContractTemplate;
1724
- /**
1725
- * Retrieve a specific contract template
1726
- *
1727
- * @param {string} templateId - Contract template ID
1728
- * @param {ContractTemplates.RequestOptions} requestOptions - Request-specific configuration.
1729
- *
1730
- * @example
1731
- * await client.contractTemplates.getContractTemplate("templateId")
1732
- */
1733
- getContractTemplate(templateId: string, requestOptions?: ContractTemplates.RequestOptions): HttpResponsePromise<SuccessResponse>;
1734
- private __getContractTemplate;
1735
- /**
1736
- * Delete a contract template
1737
- *
1738
- * @param {string} templateId - Contract template ID
1739
- * @param {ContractTemplates.RequestOptions} requestOptions - Request-specific configuration.
1740
- *
1741
- * @example
1742
- * await client.contractTemplates.deleteContractTemplate("templateId")
1743
- */
1744
- deleteContractTemplate(templateId: string, requestOptions?: ContractTemplates.RequestOptions): HttpResponsePromise<SuccessResponse>;
1745
- private __deleteContractTemplate;
1746
- /**
1747
- * Retrieve constructor information for a contract template
1748
- *
1749
- * @param {string} templateId - Contract template ID
1750
- * @param {ContractTemplates.RequestOptions} requestOptions - Request-specific configuration.
1751
- *
1752
- * @example
1753
- * await client.contractTemplates.getContractConstructor("templateId")
1754
- */
1755
- getContractConstructor(templateId: string, requestOptions?: ContractTemplates.RequestOptions): HttpResponsePromise<SuccessResponse>;
1756
- private __getContractConstructor;
2744
+ declare class Temporal {
2745
+ protected readonly _options: Temporal.Options;
2746
+ constructor(_options: Temporal.Options);
1757
2747
  /**
1758
- * Retrieve function information for a contract template
1759
- *
1760
- * @param {string} templateId - Contract template ID
1761
- * @param {OumlaSdkApi.GetTemplateFunctionsRequest} request
1762
- * @param {ContractTemplates.RequestOptions} requestOptions - Request-specific configuration.
2748
+ * Get status and result of a Temporal workflow
1763
2749
  *
1764
- * @example
1765
- * await client.contractTemplates.getTemplateFunctions("templateId", {
1766
- * functionSignature: "functionSignature"
1767
- * })
1768
- */
1769
- getTemplateFunctions(templateId: string, request?: GetTemplateFunctionsRequest, requestOptions?: ContractTemplates.RequestOptions): HttpResponsePromise<SuccessResponse>;
1770
- private __getTemplateFunctions;
1771
- /**
1772
- * Deploy a contract from a template
2750
+ * @param {string} workflowId - Temporal workflow ID
2751
+ * @param {Temporal.RequestOptions} requestOptions - Request-specific configuration.
1773
2752
  *
1774
- * @param {string} templateId - Contract template ID
1775
- * @param {OumlaSdkApi.DeployContractRequest} request
1776
- * @param {ContractTemplates.RequestOptions} requestOptions - Request-specific configuration.
2753
+ * @throws {@link OumlaSdkApi.BadRequestError}
2754
+ * @throws {@link OumlaSdkApi.UnauthorizedError}
2755
+ * @throws {@link OumlaSdkApi.ForbiddenError}
2756
+ * @throws {@link OumlaSdkApi.NotFoundError}
2757
+ * @throws {@link OumlaSdkApi.InternalServerError}
1777
2758
  *
1778
2759
  * @example
1779
- * await client.contractTemplates.deployContract("templateId", {
1780
- * network: "network",
1781
- * addressId: "addressId",
1782
- * clientShare: "clientShare"
1783
- * })
2760
+ * await client.temporal.getWorkflowStatus("workflowId")
1784
2761
  */
1785
- deployContract(templateId: string, request: DeployContractRequest, requestOptions?: ContractTemplates.RequestOptions): HttpResponsePromise<SuccessResponse>;
1786
- private __deployContract;
2762
+ getWorkflowStatus(workflowId: string, requestOptions?: Temporal.RequestOptions): HttpResponsePromise<TemporalWorkflowStatusData>;
2763
+ private __getWorkflowStatus;
1787
2764
  protected _getAuthorizationHeader(): Promise<string | undefined>;
1788
2765
  }
1789
2766
 
1790
- declare namespace DeployedContracts {
2767
+ declare namespace Tokenization {
1791
2768
  interface Options {
1792
2769
  environment?: Supplier<OumlaSdkApiEnvironment | string>;
1793
2770
  /** Specify a custom URL to connect the client to. */
@@ -1818,87 +2795,295 @@ declare namespace DeployedContracts {
1818
2795
  }
1819
2796
  }
1820
2797
  /**
1821
- * Deployed contract management
2798
+ * Token creation, minting, and management
1822
2799
  */
1823
- declare class DeployedContracts {
1824
- protected readonly _options: DeployedContracts.Options;
1825
- constructor(_options: DeployedContracts.Options);
2800
+ declare class Tokenization {
2801
+ protected readonly _options: Tokenization.Options;
2802
+ constructor(_options: Tokenization.Options);
1826
2803
  /**
1827
- * Retrieve a paginated list of deployed contracts
2804
+ * Get list of tokens with pagination
1828
2805
  *
1829
- * @param {OumlaSdkApi.GetDeployedContractsRequest} request
1830
- * @param {DeployedContracts.RequestOptions} requestOptions - Request-specific configuration.
2806
+ * @param {OumlaSdkApi.GetTokensRequest} request
2807
+ * @param {Tokenization.RequestOptions} requestOptions - Request-specific configuration.
2808
+ *
2809
+ * @throws {@link OumlaSdkApi.BadRequestError}
2810
+ * @throws {@link OumlaSdkApi.UnauthorizedError}
2811
+ * @throws {@link OumlaSdkApi.ForbiddenError}
2812
+ * @throws {@link OumlaSdkApi.InternalServerError}
1831
2813
  *
1832
2814
  * @example
1833
- * await client.deployedContracts.getDeployedContracts({
2815
+ * await client.tokenization.getTokens({
1834
2816
  * skip: 1,
1835
- * take: 1,
1836
- * contractAddress: "contractAddress",
1837
- * network: "BTC",
1838
- * contractTemplateId: "contractTemplateId"
2817
+ * take: 1
1839
2818
  * })
1840
2819
  */
1841
- getDeployedContracts(request?: GetDeployedContractsRequest, requestOptions?: DeployedContracts.RequestOptions): HttpResponsePromise<PaginatedResponse>;
1842
- private __getDeployedContracts;
2820
+ getTokens(request?: GetTokensRequest, requestOptions?: Tokenization.RequestOptions): HttpResponsePromise<TokensResponse>;
2821
+ private __getTokens;
1843
2822
  /**
1844
- * Retrieve a specific deployed contract
2823
+ * Issue a new token
1845
2824
  *
1846
- * @param {string} contractId - Deployed contract ID
1847
- * @param {DeployedContracts.RequestOptions} requestOptions - Request-specific configuration.
2825
+ * @param {OumlaSdkApi.IssueNewTokenRequest} request
2826
+ * @param {Tokenization.RequestOptions} requestOptions - Request-specific configuration.
2827
+ *
2828
+ * @throws {@link OumlaSdkApi.BadRequestError}
2829
+ * @throws {@link OumlaSdkApi.UnauthorizedError}
2830
+ * @throws {@link OumlaSdkApi.ForbiddenError}
2831
+ * @throws {@link OumlaSdkApi.NotFoundError}
2832
+ * @throws {@link OumlaSdkApi.ConflictError}
2833
+ * @throws {@link OumlaSdkApi.UnprocessableEntityError}
2834
+ * @throws {@link OumlaSdkApi.InternalServerError}
2835
+ * @throws {@link OumlaSdkApi.BadGatewayError}
2836
+ * @throws {@link OumlaSdkApi.ServiceUnavailableError}
2837
+ * @throws {@link OumlaSdkApi.GatewayTimeoutError}
1848
2838
  *
1849
2839
  * @example
1850
- * await client.deployedContracts.getDeployedContract("contractId")
2840
+ * await client.tokenization.issueNewToken({
2841
+ * network: "tBTC",
2842
+ * addressId: "addressId",
2843
+ * clientShare: "clientShare",
2844
+ * createParams: {
2845
+ * "key": "value"
2846
+ * },
2847
+ * deploymentId: "deploymentId"
2848
+ * })
1851
2849
  */
1852
- getDeployedContract(contractId: string, requestOptions?: DeployedContracts.RequestOptions): HttpResponsePromise<SuccessResponse>;
1853
- private __getDeployedContract;
2850
+ issueNewToken(request: IssueNewTokenRequest, requestOptions?: Tokenization.RequestOptions): HttpResponsePromise<TokenData>;
2851
+ private __issueNewToken;
1854
2852
  /**
1855
- * Retrieve a deployed contract by network and address
2853
+ * Link an existing contract
1856
2854
  *
1857
- * @param {string} network - Blockchain network
1858
- * @param {string} contractAddress - Contract address
1859
- * @param {DeployedContracts.RequestOptions} requestOptions - Request-specific configuration.
2855
+ * @param {OumlaSdkApi.LinkContractRequest} request
2856
+ * @param {Tokenization.RequestOptions} requestOptions - Request-specific configuration.
2857
+ *
2858
+ * @throws {@link OumlaSdkApi.BadRequestError}
2859
+ * @throws {@link OumlaSdkApi.UnauthorizedError}
2860
+ * @throws {@link OumlaSdkApi.NotFoundError}
2861
+ * @throws {@link OumlaSdkApi.ConflictError}
2862
+ * @throws {@link OumlaSdkApi.UnprocessableEntityError}
2863
+ * @throws {@link OumlaSdkApi.InternalServerError}
1860
2864
  *
1861
2865
  * @example
1862
- * await client.deployedContracts.getDeployedContractByAddress("network", "contractAddress")
2866
+ * await client.tokenization.linkContract({
2867
+ * contractAddress: "contractAddress"
2868
+ * })
1863
2869
  */
1864
- getDeployedContractByAddress(network: string, contractAddress: string, requestOptions?: DeployedContracts.RequestOptions): HttpResponsePromise<SuccessResponse>;
1865
- private __getDeployedContractByAddress;
2870
+ linkContract(request: LinkContractRequest, requestOptions?: Tokenization.RequestOptions): HttpResponsePromise<LinkContractResponse>;
2871
+ private __linkContract;
1866
2872
  /**
1867
- * Fetch ABI for a deployed contract
2873
+ * Get linked token by ID
1868
2874
  *
1869
- * @param {OumlaSdkApi.FetchContractAbiRequest} request
1870
- * @param {DeployedContracts.RequestOptions} requestOptions - Request-specific configuration.
2875
+ * @param {string} id - Token ID
2876
+ * @param {Tokenization.RequestOptions} requestOptions - Request-specific configuration.
2877
+ *
2878
+ * @throws {@link OumlaSdkApi.BadRequestError}
2879
+ * @throws {@link OumlaSdkApi.UnauthorizedError}
2880
+ * @throws {@link OumlaSdkApi.ForbiddenError}
2881
+ * @throws {@link OumlaSdkApi.NotFoundError}
2882
+ * @throws {@link OumlaSdkApi.InternalServerError}
1871
2883
  *
1872
2884
  * @example
1873
- * await client.deployedContracts.fetchContractAbi({
1874
- * network: "network",
1875
- * contractAddress: "contractAddress"
2885
+ * await client.tokenization.getLinkedToken("id")
2886
+ */
2887
+ getLinkedToken(id: string, requestOptions?: Tokenization.RequestOptions): HttpResponsePromise<GetLinkedTokenResponse>;
2888
+ private __getLinkedToken;
2889
+ /**
2890
+ * Unlink a token
2891
+ *
2892
+ * @param {string} id - Token ID
2893
+ * @param {Tokenization.RequestOptions} requestOptions - Request-specific configuration.
2894
+ *
2895
+ * @throws {@link OumlaSdkApi.BadRequestError}
2896
+ * @throws {@link OumlaSdkApi.UnauthorizedError}
2897
+ * @throws {@link OumlaSdkApi.ForbiddenError}
2898
+ * @throws {@link OumlaSdkApi.NotFoundError}
2899
+ * @throws {@link OumlaSdkApi.InternalServerError}
2900
+ *
2901
+ * @example
2902
+ * await client.tokenization.unlinkToken("id")
2903
+ */
2904
+ unlinkToken(id: string, requestOptions?: Tokenization.RequestOptions): HttpResponsePromise<UnlinkTokenResponse>;
2905
+ private __unlinkToken;
2906
+ /**
2907
+ * Get list of collections with pagination
2908
+ *
2909
+ * @param {OumlaSdkApi.GetCollectionsRequest} request
2910
+ * @param {Tokenization.RequestOptions} requestOptions - Request-specific configuration.
2911
+ *
2912
+ * @throws {@link OumlaSdkApi.BadRequestError}
2913
+ * @throws {@link OumlaSdkApi.UnauthorizedError}
2914
+ * @throws {@link OumlaSdkApi.ForbiddenError}
2915
+ * @throws {@link OumlaSdkApi.InternalServerError}
2916
+ *
2917
+ * @example
2918
+ * await client.tokenization.getCollections({
2919
+ * skip: 1,
2920
+ * take: 1
1876
2921
  * })
1877
2922
  */
1878
- fetchContractAbi(request: FetchContractAbiRequest, requestOptions?: DeployedContracts.RequestOptions): HttpResponsePromise<SuccessResponse>;
1879
- private __fetchContractAbi;
2923
+ getCollections(request?: GetCollectionsRequest, requestOptions?: Tokenization.RequestOptions): HttpResponsePromise<CollectionsResponse>;
2924
+ private __getCollections;
1880
2925
  /**
1881
- * Add ABI for a deployed contract
2926
+ * Create a new collection - workflow started
1882
2927
  *
1883
- * @param {OumlaSdkApi.AddContractAbiRequest} request
1884
- * @param {DeployedContracts.RequestOptions} requestOptions - Request-specific configuration.
2928
+ * @param {OumlaSdkApi.CreateCollectionRequest} request
2929
+ * @param {Tokenization.RequestOptions} requestOptions - Request-specific configuration.
2930
+ *
2931
+ * @throws {@link OumlaSdkApi.BadRequestError}
2932
+ * @throws {@link OumlaSdkApi.UnauthorizedError}
2933
+ * @throws {@link OumlaSdkApi.ForbiddenError}
2934
+ * @throws {@link OumlaSdkApi.NotFoundError}
2935
+ * @throws {@link OumlaSdkApi.ConflictError}
2936
+ * @throws {@link OumlaSdkApi.UnprocessableEntityError}
2937
+ * @throws {@link OumlaSdkApi.InternalServerError}
2938
+ * @throws {@link OumlaSdkApi.BadGatewayError}
2939
+ * @throws {@link OumlaSdkApi.ServiceUnavailableError}
2940
+ * @throws {@link OumlaSdkApi.GatewayTimeoutError}
1885
2941
  *
1886
2942
  * @example
1887
- * await client.deployedContracts.addContractAbi({
2943
+ * await client.tokenization.createCollection({
1888
2944
  * network: "network",
1889
- * contractAddress: "contractAddress",
1890
- * name: "name",
1891
- * abi: [{
1892
- * "key": "value"
1893
- * }]
2945
+ * addressId: "addressId",
2946
+ * clientShare: "clientShare",
2947
+ * createParams: {
2948
+ * "key": "value"
2949
+ * },
2950
+ * deploymentId: "deploymentId"
1894
2951
  * })
1895
2952
  */
1896
- addContractAbi(request: AddContractAbiRequest, requestOptions?: DeployedContracts.RequestOptions): HttpResponsePromise<SuccessResponse>;
1897
- private __addContractAbi;
2953
+ createCollection(request: CreateCollectionRequest, requestOptions?: Tokenization.RequestOptions): HttpResponsePromise<WorkflowResponse>;
2954
+ private __createCollection;
2955
+ /**
2956
+ * Get collection details by ID
2957
+ *
2958
+ * @param {string} id - Collection ID
2959
+ * @param {Tokenization.RequestOptions} requestOptions - Request-specific configuration.
2960
+ *
2961
+ * @throws {@link OumlaSdkApi.BadRequestError}
2962
+ * @throws {@link OumlaSdkApi.UnauthorizedError}
2963
+ * @throws {@link OumlaSdkApi.ForbiddenError}
2964
+ * @throws {@link OumlaSdkApi.NotFoundError}
2965
+ * @throws {@link OumlaSdkApi.InternalServerError}
2966
+ *
2967
+ * @example
2968
+ * await client.tokenization.getCollectionById("id")
2969
+ */
2970
+ getCollectionById(id: string, requestOptions?: Tokenization.RequestOptions): HttpResponsePromise<CollectionResponse>;
2971
+ private __getCollectionById;
2972
+ /**
2973
+ * Delete a collection by ID
2974
+ *
2975
+ * @param {string} id - Collection ID
2976
+ * @param {Tokenization.RequestOptions} requestOptions - Request-specific configuration.
2977
+ *
2978
+ * @throws {@link OumlaSdkApi.BadRequestError}
2979
+ * @throws {@link OumlaSdkApi.UnauthorizedError}
2980
+ * @throws {@link OumlaSdkApi.ForbiddenError}
2981
+ * @throws {@link OumlaSdkApi.NotFoundError}
2982
+ * @throws {@link OumlaSdkApi.InternalServerError}
2983
+ *
2984
+ * @example
2985
+ * await client.tokenization.deleteCollection("id")
2986
+ */
2987
+ deleteCollection(id: string, requestOptions?: Tokenization.RequestOptions): HttpResponsePromise<Record<string, unknown>>;
2988
+ private __deleteCollection;
2989
+ /**
2990
+ * Get token details from a collection
2991
+ *
2992
+ * @param {string} id - Collection ID
2993
+ * @param {string} tokenId - Token ID
2994
+ * @param {Tokenization.RequestOptions} requestOptions - Request-specific configuration.
2995
+ *
2996
+ * @throws {@link OumlaSdkApi.BadRequestError}
2997
+ * @throws {@link OumlaSdkApi.UnauthorizedError}
2998
+ * @throws {@link OumlaSdkApi.ForbiddenError}
2999
+ * @throws {@link OumlaSdkApi.NotFoundError}
3000
+ * @throws {@link OumlaSdkApi.InternalServerError}
3001
+ *
3002
+ * @example
3003
+ * await client.tokenization.getCollectionTokenDetails("id", "tokenId")
3004
+ */
3005
+ getCollectionTokenDetails(id: string, tokenId: string, requestOptions?: Tokenization.RequestOptions): HttpResponsePromise<CollectionTokenDetailsResponse>;
3006
+ private __getCollectionTokenDetails;
3007
+ /**
3008
+ * Mint new tokens in a collection
3009
+ *
3010
+ * @param {string} id - Collection ID
3011
+ * @param {OumlaSdkApi.MintTokenRequest} request
3012
+ * @param {Tokenization.RequestOptions} requestOptions - Request-specific configuration.
3013
+ *
3014
+ * @throws {@link OumlaSdkApi.BadRequestError}
3015
+ * @throws {@link OumlaSdkApi.UnauthorizedError}
3016
+ * @throws {@link OumlaSdkApi.ForbiddenError}
3017
+ * @throws {@link OumlaSdkApi.NotFoundError}
3018
+ * @throws {@link OumlaSdkApi.ConflictError}
3019
+ * @throws {@link OumlaSdkApi.UnprocessableEntityError}
3020
+ * @throws {@link OumlaSdkApi.InternalServerError}
3021
+ * @throws {@link OumlaSdkApi.BadGatewayError}
3022
+ * @throws {@link OumlaSdkApi.ServiceUnavailableError}
3023
+ * @throws {@link OumlaSdkApi.GatewayTimeoutError}
3024
+ *
3025
+ * @example
3026
+ * await client.tokenization.mintToken("id", {
3027
+ * addressId: "addressId",
3028
+ * clientShare: "clientShare",
3029
+ * to: "to"
3030
+ * })
3031
+ */
3032
+ mintToken(id: string, request: MintTokenRequest, requestOptions?: Tokenization.RequestOptions): HttpResponsePromise<MintTokenResponse>;
3033
+ private __mintToken;
3034
+ /**
3035
+ * Burn tokens from a collection
3036
+ *
3037
+ * @param {string} id - Collection ID
3038
+ * @param {OumlaSdkApi.BurnTokenRequest} request
3039
+ * @param {Tokenization.RequestOptions} requestOptions - Request-specific configuration.
3040
+ *
3041
+ * @throws {@link OumlaSdkApi.BadRequestError}
3042
+ * @throws {@link OumlaSdkApi.UnauthorizedError}
3043
+ * @throws {@link OumlaSdkApi.ForbiddenError}
3044
+ * @throws {@link OumlaSdkApi.NotFoundError}
3045
+ * @throws {@link OumlaSdkApi.ConflictError}
3046
+ * @throws {@link OumlaSdkApi.UnprocessableEntityError}
3047
+ * @throws {@link OumlaSdkApi.InternalServerError}
3048
+ * @throws {@link OumlaSdkApi.BadGatewayError}
3049
+ * @throws {@link OumlaSdkApi.ServiceUnavailableError}
3050
+ * @throws {@link OumlaSdkApi.GatewayTimeoutError}
3051
+ *
3052
+ * @example
3053
+ * await client.tokenization.burnToken("id", {
3054
+ * addressId: "addressId",
3055
+ * clientShare: "clientShare",
3056
+ * tokenId: "tokenId"
3057
+ * })
3058
+ */
3059
+ burnToken(id: string, request: BurnTokenRequest, requestOptions?: Tokenization.RequestOptions): HttpResponsePromise<BurnTokenResponse>;
3060
+ private __burnToken;
3061
+ /**
3062
+ * Get tokens from a collection by ID or type
3063
+ *
3064
+ * @param {OumlaSdkApi.GetCollectionTokensRequest} request
3065
+ * @param {Tokenization.RequestOptions} requestOptions - Request-specific configuration.
3066
+ *
3067
+ * @throws {@link OumlaSdkApi.BadRequestError}
3068
+ * @throws {@link OumlaSdkApi.UnauthorizedError}
3069
+ * @throws {@link OumlaSdkApi.ForbiddenError}
3070
+ * @throws {@link OumlaSdkApi.NotFoundError}
3071
+ * @throws {@link OumlaSdkApi.InternalServerError}
3072
+ *
3073
+ * @example
3074
+ * await client.tokenization.getCollectionTokens({
3075
+ * id: "id",
3076
+ * type: "type",
3077
+ * skip: 1,
3078
+ * take: 1
3079
+ * })
3080
+ */
3081
+ getCollectionTokens(request?: GetCollectionTokensRequest, requestOptions?: Tokenization.RequestOptions): HttpResponsePromise<CollectionTokensResponse>;
3082
+ private __getCollectionTokens;
1898
3083
  protected _getAuthorizationHeader(): Promise<string | undefined>;
1899
3084
  }
1900
3085
 
1901
- declare namespace ContractInteractions {
3086
+ declare namespace ContractTemplates {
1902
3087
  interface Options {
1903
3088
  environment?: Supplier<OumlaSdkApiEnvironment | string>;
1904
3089
  /** Specify a custom URL to connect the client to. */
@@ -1929,81 +3114,158 @@ declare namespace ContractInteractions {
1929
3114
  }
1930
3115
  }
1931
3116
  /**
1932
- * Smart contract interaction operations
3117
+ * Smart contract template management
1933
3118
  */
1934
- declare class ContractInteractions {
1935
- protected readonly _options: ContractInteractions.Options;
1936
- constructor(_options: ContractInteractions.Options);
3119
+ declare class ContractTemplates {
3120
+ protected readonly _options: ContractTemplates.Options;
3121
+ constructor(_options: ContractTemplates.Options);
1937
3122
  /**
1938
- * Retrieve available functions for a deployed contract
3123
+ * Get list of contract templates with pagination
1939
3124
  *
1940
- * @param {string} network - Blockchain network
1941
- * @param {string} contractAddress - Contract address
1942
- * @param {ContractInteractions.RequestOptions} requestOptions - Request-specific configuration.
3125
+ * @param {OumlaSdkApi.GetContractsRequest} request
3126
+ * @param {ContractTemplates.RequestOptions} requestOptions - Request-specific configuration.
3127
+ *
3128
+ * @throws {@link OumlaSdkApi.BadRequestError}
3129
+ * @throws {@link OumlaSdkApi.UnauthorizedError}
3130
+ * @throws {@link OumlaSdkApi.ForbiddenError}
3131
+ * @throws {@link OumlaSdkApi.InternalServerError}
1943
3132
  *
1944
3133
  * @example
1945
- * await client.contractInteractions.getContractFunctions("network", "contractAddress")
3134
+ * await client.contractTemplates.getContracts({
3135
+ * skip: 1,
3136
+ * take: 1
3137
+ * })
1946
3138
  */
1947
- getContractFunctions(network: string, contractAddress: string, requestOptions?: ContractInteractions.RequestOptions): HttpResponsePromise<SuccessResponse>;
1948
- private __getContractFunctions;
3139
+ getContracts(request?: GetContractsRequest, requestOptions?: ContractTemplates.RequestOptions): HttpResponsePromise<ContractTemplatesResponse>;
3140
+ private __getContracts;
1949
3141
  /**
1950
- * Call a read function on a deployed contract
3142
+ * Create a new contract template
1951
3143
  *
1952
- * @param {string} network - Blockchain network
1953
- * @param {string} contractAddress - Contract address
1954
- * @param {OumlaSdkApi.ReadFunctionRequest} request
1955
- * @param {ContractInteractions.RequestOptions} requestOptions - Request-specific configuration.
3144
+ * @param {OumlaSdkApi.CreateContractRequest} request
3145
+ * @param {ContractTemplates.RequestOptions} requestOptions - Request-specific configuration.
3146
+ *
3147
+ * @throws {@link OumlaSdkApi.BadRequestError}
3148
+ * @throws {@link OumlaSdkApi.UnauthorizedError}
3149
+ * @throws {@link OumlaSdkApi.ForbiddenError}
3150
+ * @throws {@link OumlaSdkApi.NotFoundError}
3151
+ * @throws {@link OumlaSdkApi.ConflictError}
3152
+ * @throws {@link OumlaSdkApi.UnprocessableEntityError}
3153
+ * @throws {@link OumlaSdkApi.InternalServerError}
3154
+ * @throws {@link OumlaSdkApi.BadGatewayError}
3155
+ * @throws {@link OumlaSdkApi.ServiceUnavailableError}
3156
+ * @throws {@link OumlaSdkApi.GatewayTimeoutError}
1956
3157
  *
1957
3158
  * @example
1958
- * await client.contractInteractions.callReadFunction("network", "contractAddress", {
1959
- * abiFunction: {
1960
- * name: "name",
1961
- * inputs: [{}],
1962
- * outputs: [{}],
1963
- * type: "type"
1964
- * }
3159
+ * await client.contractTemplates.createContract({
3160
+ * name: "name",
3161
+ * description: "description",
3162
+ * bytecode: "bytecode",
3163
+ * abi: [{
3164
+ * "key": "value"
3165
+ * }]
1965
3166
  * })
1966
3167
  */
1967
- callReadFunction(network: string, contractAddress: string, request: ReadFunctionRequest, requestOptions?: ContractInteractions.RequestOptions): HttpResponsePromise<SuccessResponse>;
1968
- private __callReadFunction;
3168
+ createContract(request: CreateContractRequest, requestOptions?: ContractTemplates.RequestOptions): HttpResponsePromise<ContractTemplateResponse>;
3169
+ private __createContract;
1969
3170
  /**
1970
- * Call a write function on a deployed contract
3171
+ * Get contract template details by ID
1971
3172
  *
1972
- * @param {string} network - Blockchain network
1973
- * @param {string} contractAddress - Contract address
1974
- * @param {OumlaSdkApi.WriteFunctionRequest} request
1975
- * @param {ContractInteractions.RequestOptions} requestOptions - Request-specific configuration.
3173
+ * @param {string} templateId - Contract template ID
3174
+ * @param {ContractTemplates.RequestOptions} requestOptions - Request-specific configuration.
3175
+ *
3176
+ * @throws {@link OumlaSdkApi.BadRequestError}
3177
+ * @throws {@link OumlaSdkApi.UnauthorizedError}
3178
+ * @throws {@link OumlaSdkApi.ForbiddenError}
3179
+ * @throws {@link OumlaSdkApi.NotFoundError}
3180
+ * @throws {@link OumlaSdkApi.InternalServerError}
3181
+ *
3182
+ * @example
3183
+ * await client.contractTemplates.getContractById("templateId")
3184
+ */
3185
+ getContractById(templateId: string, requestOptions?: ContractTemplates.RequestOptions): HttpResponsePromise<ContractTemplateByIdResponse>;
3186
+ private __getContractById;
3187
+ /**
3188
+ * Delete a contract template by ID
3189
+ *
3190
+ * @param {string} templateId - Contract template ID
3191
+ * @param {ContractTemplates.RequestOptions} requestOptions - Request-specific configuration.
3192
+ *
3193
+ * @throws {@link OumlaSdkApi.BadRequestError}
3194
+ * @throws {@link OumlaSdkApi.UnauthorizedError}
3195
+ * @throws {@link OumlaSdkApi.ForbiddenError}
3196
+ * @throws {@link OumlaSdkApi.NotFoundError}
3197
+ * @throws {@link OumlaSdkApi.InternalServerError}
3198
+ *
3199
+ * @example
3200
+ * await client.contractTemplates.deleteContract("templateId")
3201
+ */
3202
+ deleteContract(templateId: string, requestOptions?: ContractTemplates.RequestOptions): HttpResponsePromise<Record<string, unknown>>;
3203
+ private __deleteContract;
3204
+ /**
3205
+ * Get contract constructor by template ID
3206
+ *
3207
+ * @param {string} templateId - Contract template ID
3208
+ * @param {ContractTemplates.RequestOptions} requestOptions - Request-specific configuration.
3209
+ *
3210
+ * @throws {@link OumlaSdkApi.BadRequestError}
3211
+ * @throws {@link OumlaSdkApi.UnauthorizedError}
3212
+ * @throws {@link OumlaSdkApi.ForbiddenError}
3213
+ * @throws {@link OumlaSdkApi.NotFoundError}
3214
+ * @throws {@link OumlaSdkApi.InternalServerError}
3215
+ *
3216
+ * @example
3217
+ * await client.contractTemplates.getContractConstructorById("templateId")
3218
+ */
3219
+ getContractConstructorById(templateId: string, requestOptions?: ContractTemplates.RequestOptions): HttpResponsePromise<ContractConstructorResponse>;
3220
+ private __getContractConstructorById;
3221
+ /**
3222
+ * Get contract functions by template ID
3223
+ *
3224
+ * @param {string} templateId - Contract template ID
3225
+ * @param {ContractTemplates.RequestOptions} requestOptions - Request-specific configuration.
3226
+ *
3227
+ * @throws {@link OumlaSdkApi.BadRequestError}
3228
+ * @throws {@link OumlaSdkApi.UnauthorizedError}
3229
+ * @throws {@link OumlaSdkApi.ForbiddenError}
3230
+ * @throws {@link OumlaSdkApi.NotFoundError}
3231
+ * @throws {@link OumlaSdkApi.InternalServerError}
1976
3232
  *
1977
3233
  * @example
1978
- * await client.contractInteractions.callWriteFunction("network", "contractAddress", {
1979
- * addressId: "addressId",
1980
- * clientShare: "clientShare",
1981
- * abiFunction: {
1982
- * name: "name",
1983
- * inputs: [{}],
1984
- * outputs: [{}],
1985
- * type: "type"
1986
- * }
1987
- * })
3234
+ * await client.contractTemplates.getContractFunctionById("templateId")
1988
3235
  */
1989
- callWriteFunction(network: string, contractAddress: string, request: WriteFunctionRequest, requestOptions?: ContractInteractions.RequestOptions): HttpResponsePromise<SuccessResponse>;
1990
- private __callWriteFunction;
3236
+ getContractFunctionById(templateId: string, requestOptions?: ContractTemplates.RequestOptions): HttpResponsePromise<ContractFunctionsResponse>;
3237
+ private __getContractFunctionById;
1991
3238
  /**
1992
- * Retrieve transaction receipt for a specific transaction
3239
+ * Deploy a contract from template
1993
3240
  *
1994
- * @param {string} network - Blockchain network
1995
- * @param {string} txId - Transaction ID
1996
- * @param {ContractInteractions.RequestOptions} requestOptions - Request-specific configuration.
3241
+ * @param {string} templateId - Contract template ID
3242
+ * @param {OumlaSdkApi.DeployContractRequest} request
3243
+ * @param {ContractTemplates.RequestOptions} requestOptions - Request-specific configuration.
3244
+ *
3245
+ * @throws {@link OumlaSdkApi.BadRequestError}
3246
+ * @throws {@link OumlaSdkApi.UnauthorizedError}
3247
+ * @throws {@link OumlaSdkApi.ForbiddenError}
3248
+ * @throws {@link OumlaSdkApi.NotFoundError}
3249
+ * @throws {@link OumlaSdkApi.ConflictError}
3250
+ * @throws {@link OumlaSdkApi.UnprocessableEntityError}
3251
+ * @throws {@link OumlaSdkApi.InternalServerError}
3252
+ * @throws {@link OumlaSdkApi.BadGatewayError}
3253
+ * @throws {@link OumlaSdkApi.ServiceUnavailableError}
3254
+ * @throws {@link OumlaSdkApi.GatewayTimeoutError}
1997
3255
  *
1998
3256
  * @example
1999
- * await client.contractInteractions.getTransactionReceipt("network", "txId")
3257
+ * await client.contractTemplates.deployContract("templateId", {
3258
+ * network: "network",
3259
+ * addressId: "addressId",
3260
+ * clientShare: "clientShare"
3261
+ * })
2000
3262
  */
2001
- getTransactionReceipt(network: string, txId: string, requestOptions?: ContractInteractions.RequestOptions): HttpResponsePromise<SuccessResponse>;
2002
- private __getTransactionReceipt;
3263
+ deployContract(templateId: string, request: DeployContractRequest, requestOptions?: ContractTemplates.RequestOptions): HttpResponsePromise<DeployContractResponse>;
3264
+ private __deployContract;
2003
3265
  protected _getAuthorizationHeader(): Promise<string | undefined>;
2004
3266
  }
2005
3267
 
2006
- declare namespace Tokenization {
3268
+ declare namespace DeployedContracts {
2007
3269
  interface Options {
2008
3270
  environment?: Supplier<OumlaSdkApiEnvironment | string>;
2009
3271
  /** Specify a custom URL to connect the client to. */
@@ -2034,196 +3296,116 @@ declare namespace Tokenization {
2034
3296
  }
2035
3297
  }
2036
3298
  /**
2037
- * Token creation, minting, and management
3299
+ * Deployed contract management
2038
3300
  */
2039
- declare class Tokenization {
2040
- protected readonly _options: Tokenization.Options;
2041
- constructor(_options: Tokenization.Options);
2042
- /**
2043
- * Retrieve a paginated list of tokens
2044
- *
2045
- * @param {OumlaSdkApi.GetTokensRequest} request
2046
- * @param {Tokenization.RequestOptions} requestOptions - Request-specific configuration.
2047
- *
2048
- * @example
2049
- * await client.tokenization.getTokens({
2050
- * skip: 1,
2051
- * take: 1
2052
- * })
2053
- */
2054
- getTokens(request?: GetTokensRequest, requestOptions?: Tokenization.RequestOptions): HttpResponsePromise<PaginatedResponse>;
2055
- private __getTokens;
2056
- /**
2057
- * Issue a new token using a contract template
2058
- *
2059
- * @param {OumlaSdkApi.IssueNewTokenRequest} request
2060
- * @param {Tokenization.RequestOptions} requestOptions - Request-specific configuration.
2061
- *
2062
- * @example
2063
- * await client.tokenization.issueNewToken({
2064
- * addressId: "addressId",
2065
- * clientShare: "clientShare",
2066
- * deploymentId: "deploymentId",
2067
- * createParams: {
2068
- * initializeParams: [{
2069
- * name: "name",
2070
- * type: "type",
2071
- * value: "value"
2072
- * }]
2073
- * }
2074
- * })
2075
- */
2076
- issueNewToken(request: IssueNewTokenRequest, requestOptions?: Tokenization.RequestOptions): HttpResponsePromise<SuccessResponse>;
2077
- private __issueNewToken;
3301
+ declare class DeployedContracts {
3302
+ protected readonly _options: DeployedContracts.Options;
3303
+ constructor(_options: DeployedContracts.Options);
2078
3304
  /**
2079
- * Link an existing contract to the platform
2080
- *
2081
- * @param {OumlaSdkApi.LinkContractRequest} request
2082
- * @param {Tokenization.RequestOptions} requestOptions - Request-specific configuration.
3305
+ * Get list of deployed contracts with pagination
2083
3306
  *
2084
- * @example
2085
- * await client.tokenization.linkContract({
2086
- * contractAddress: "contractAddress"
2087
- * })
2088
- */
2089
- linkContract(request: LinkContractRequest, requestOptions?: Tokenization.RequestOptions): HttpResponsePromise<SuccessResponse>;
2090
- private __linkContract;
2091
- /**
2092
- * Retrieve a paginated list of collections
3307
+ * @param {OumlaSdkApi.GetDeployedContractsRequest} request
3308
+ * @param {DeployedContracts.RequestOptions} requestOptions - Request-specific configuration.
2093
3309
  *
2094
- * @param {OumlaSdkApi.GetCollectionsRequest} request
2095
- * @param {Tokenization.RequestOptions} requestOptions - Request-specific configuration.
3310
+ * @throws {@link OumlaSdkApi.BadRequestError}
3311
+ * @throws {@link OumlaSdkApi.UnauthorizedError}
3312
+ * @throws {@link OumlaSdkApi.ForbiddenError}
3313
+ * @throws {@link OumlaSdkApi.InternalServerError}
2096
3314
  *
2097
3315
  * @example
2098
- * await client.tokenization.getCollections({
3316
+ * await client.deployedContracts.getDeployedContracts({
3317
+ * contractAddress: "contractAddress",
3318
+ * network: "tBTC",
3319
+ * contractTemplateId: "contractTemplateId",
2099
3320
  * skip: 1,
2100
3321
  * take: 1
2101
3322
  * })
2102
3323
  */
2103
- getCollections(request?: GetCollectionsRequest, requestOptions?: Tokenization.RequestOptions): HttpResponsePromise<PaginatedResponse>;
2104
- private __getCollections;
3324
+ getDeployedContracts(request?: GetDeployedContractsRequest, requestOptions?: DeployedContracts.RequestOptions): HttpResponsePromise<DeployedContractsResponse>;
3325
+ private __getDeployedContracts;
2105
3326
  /**
2106
- * Create a new token collection
2107
- *
2108
- * @param {OumlaSdkApi.CreateCollectionRequest} request
2109
- * @param {Tokenization.RequestOptions} requestOptions - Request-specific configuration.
3327
+ * Get deployed contract details by ID
2110
3328
  *
2111
- * @example
2112
- * await client.tokenization.createCollection({
2113
- * type: "NON_FUNGIBLE_TOKEN",
2114
- * addressId: "addressId",
2115
- * clientShare: "clientShare",
2116
- * createParams: {
2117
- * initializeParams: [{
2118
- * name: "name",
2119
- * type: "type",
2120
- * value: "value"
2121
- * }]
2122
- * }
2123
- * })
2124
- */
2125
- createCollection(request: CreateCollectionRequest, requestOptions?: Tokenization.RequestOptions): HttpResponsePromise<SuccessResponse>;
2126
- private __createCollection;
2127
- /**
2128
- * Retrieve a specific collection
3329
+ * @param {string} contractId - Deployed contract ID
3330
+ * @param {DeployedContracts.RequestOptions} requestOptions - Request-specific configuration.
2129
3331
  *
2130
- * @param {string} id - Collection ID
2131
- * @param {Tokenization.RequestOptions} requestOptions - Request-specific configuration.
3332
+ * @throws {@link OumlaSdkApi.BadRequestError}
3333
+ * @throws {@link OumlaSdkApi.UnauthorizedError}
3334
+ * @throws {@link OumlaSdkApi.ForbiddenError}
3335
+ * @throws {@link OumlaSdkApi.NotFoundError}
3336
+ * @throws {@link OumlaSdkApi.InternalServerError}
2132
3337
  *
2133
3338
  * @example
2134
- * await client.tokenization.getCollection("id")
3339
+ * await client.deployedContracts.getDeployedContractById("contractId")
2135
3340
  */
2136
- getCollection(id: string, requestOptions?: Tokenization.RequestOptions): HttpResponsePromise<SuccessResponse>;
2137
- private __getCollection;
3341
+ getDeployedContractById(contractId: string, requestOptions?: DeployedContracts.RequestOptions): HttpResponsePromise<DeployedContractByIdResponse>;
3342
+ private __getDeployedContractById;
2138
3343
  /**
2139
- * Delete a collection
3344
+ * Get deployed contract by address and network
2140
3345
  *
2141
- * @param {string} id - Collection ID
2142
- * @param {Tokenization.RequestOptions} requestOptions - Request-specific configuration.
2143
- *
2144
- * @example
2145
- * await client.tokenization.deleteCollection("id")
2146
- */
2147
- deleteCollection(id: string, requestOptions?: Tokenization.RequestOptions): HttpResponsePromise<SuccessResponse>;
2148
- private __deleteCollection;
2149
- /**
2150
- * Retrieve details for a specific token in a collection
3346
+ * @param {string} contractAddress - Contract address
3347
+ * @param {OumlaSdkApi.GetDeployedContractByAddressRequestNetwork} network - Network
3348
+ * @param {DeployedContracts.RequestOptions} requestOptions - Request-specific configuration.
2151
3349
  *
2152
- * @param {string} id - Collection ID
2153
- * @param {string} tokenId - Token ID
2154
- * @param {Tokenization.RequestOptions} requestOptions - Request-specific configuration.
3350
+ * @throws {@link OumlaSdkApi.BadRequestError}
3351
+ * @throws {@link OumlaSdkApi.UnauthorizedError}
3352
+ * @throws {@link OumlaSdkApi.ForbiddenError}
3353
+ * @throws {@link OumlaSdkApi.NotFoundError}
3354
+ * @throws {@link OumlaSdkApi.InternalServerError}
2155
3355
  *
2156
3356
  * @example
2157
- * await client.tokenization.getCollectionTokenDetails("id", "tokenId")
3357
+ * await client.deployedContracts.getDeployedContractByAddress("contractAddress", "tBTC")
2158
3358
  */
2159
- getCollectionTokenDetails(id: string, tokenId: string, requestOptions?: Tokenization.RequestOptions): HttpResponsePromise<SuccessResponse>;
2160
- private __getCollectionTokenDetails;
3359
+ getDeployedContractByAddress(contractAddress: string, network: GetDeployedContractByAddressRequestNetwork, requestOptions?: DeployedContracts.RequestOptions): HttpResponsePromise<DeployedContractByAddressResponse>;
3360
+ private __getDeployedContractByAddress;
2161
3361
  /**
2162
- * Mint a new token in a collection
2163
- *
2164
- * @param {string} id - Collection ID
2165
- * @param {OumlaSdkApi.MintTokenRequest} request
2166
- * @param {Tokenization.RequestOptions} requestOptions - Request-specific configuration.
3362
+ * Fetch contract ABI from blockchain
2167
3363
  *
2168
- * @example
2169
- * await client.tokenization.mintToken("id", {
2170
- * addressId: "addressId",
2171
- * clientShare: "clientShare",
2172
- * to: "to",
2173
- * tokenId: "tokenId"
2174
- * })
2175
- */
2176
- mintToken(id: string, request: MintTokenRequest, requestOptions?: Tokenization.RequestOptions): HttpResponsePromise<SuccessResponse>;
2177
- private __mintToken;
2178
- /**
2179
- * Burn a token
3364
+ * @param {OumlaSdkApi.FetchContractAbiRequest} request
3365
+ * @param {DeployedContracts.RequestOptions} requestOptions - Request-specific configuration.
2180
3366
  *
2181
- * @param {string} id - Collection ID
2182
- * @param {OumlaSdkApi.BurnTokenRequest} request
2183
- * @param {Tokenization.RequestOptions} requestOptions - Request-specific configuration.
3367
+ * @throws {@link OumlaSdkApi.BadRequestError}
3368
+ * @throws {@link OumlaSdkApi.UnauthorizedError}
3369
+ * @throws {@link OumlaSdkApi.NotFoundError}
3370
+ * @throws {@link OumlaSdkApi.InternalServerError}
2184
3371
  *
2185
3372
  * @example
2186
- * await client.tokenization.burnToken("id", {
2187
- * addressId: "addressId",
2188
- * clientShare: "clientShare",
2189
- * tokenId: "tokenId"
3373
+ * await client.deployedContracts.fetchContractAbi({
3374
+ * contractAddress: "contractAddress",
3375
+ * network: "network"
2190
3376
  * })
2191
3377
  */
2192
- burnToken(id: string, request: BurnTokenRequest, requestOptions?: Tokenization.RequestOptions): HttpResponsePromise<SuccessResponse>;
2193
- private __burnToken;
3378
+ fetchContractAbi(request: FetchContractAbiRequest, requestOptions?: DeployedContracts.RequestOptions): HttpResponsePromise<FetchContractAbiResponse>;
3379
+ private __fetchContractAbi;
2194
3380
  /**
2195
- * Retrieve collection tokens (mints or burns) filtered by collection ID and type
3381
+ * Add ABI for a deployed contract
2196
3382
  *
2197
- * @param {OumlaSdkApi.GetCollectionTokensRequest} request
2198
- * @param {Tokenization.RequestOptions} requestOptions - Request-specific configuration.
3383
+ * @param {OumlaSdkApi.AddContractAbiRequest} request
3384
+ * @param {DeployedContracts.RequestOptions} requestOptions - Request-specific configuration.
2199
3385
  *
3386
+ * @throws {@link OumlaSdkApi.BadRequestError}
3387
+ * @throws {@link OumlaSdkApi.UnauthorizedError}
2200
3388
  * @throws {@link OumlaSdkApi.NotFoundError}
3389
+ * @throws {@link OumlaSdkApi.ConflictError}
3390
+ * @throws {@link OumlaSdkApi.UnprocessableEntityError}
3391
+ * @throws {@link OumlaSdkApi.InternalServerError}
2201
3392
  *
2202
3393
  * @example
2203
- * await client.tokenization.getCollectionTokens({
2204
- * id: "id",
2205
- * type: "MINT",
2206
- * skip: 1,
2207
- * take: 1
3394
+ * await client.deployedContracts.addContractAbi({
3395
+ * contractAddress: "contractAddress",
3396
+ * network: "network",
3397
+ * name: "name",
3398
+ * abi: [{
3399
+ * "key": "value"
3400
+ * }]
2208
3401
  * })
2209
3402
  */
2210
- getCollectionTokens(request?: GetCollectionTokensRequest, requestOptions?: Tokenization.RequestOptions): HttpResponsePromise<SuccessResponse>;
2211
- private __getCollectionTokens;
2212
- /**
2213
- * Unlink a token from the platform
2214
- *
2215
- * @param {string} id - Token ID
2216
- * @param {Tokenization.RequestOptions} requestOptions - Request-specific configuration.
2217
- *
2218
- * @example
2219
- * await client.tokenization.unlinkToken("id")
2220
- */
2221
- unlinkToken(id: string, requestOptions?: Tokenization.RequestOptions): HttpResponsePromise<SuccessResponse>;
2222
- private __unlinkToken;
3403
+ addContractAbi(request: AddContractAbiRequest, requestOptions?: DeployedContracts.RequestOptions): HttpResponsePromise<AddContractAbiResponse>;
3404
+ private __addContractAbi;
2223
3405
  protected _getAuthorizationHeader(): Promise<string | undefined>;
2224
3406
  }
2225
3407
 
2226
- declare namespace Temporal {
3408
+ declare namespace ContractInteractions {
2227
3409
  interface Options {
2228
3410
  environment?: Supplier<OumlaSdkApiEnvironment | string>;
2229
3411
  /** Specify a custom URL to connect the client to. */
@@ -2254,28 +3436,103 @@ declare namespace Temporal {
2254
3436
  }
2255
3437
  }
2256
3438
  /**
2257
- * Temporal workflow operations
3439
+ * Smart contract interaction operations
2258
3440
  */
2259
- declare class Temporal {
2260
- protected readonly _options: Temporal.Options;
2261
- constructor(_options: Temporal.Options);
3441
+ declare class ContractInteractions {
3442
+ protected readonly _options: ContractInteractions.Options;
3443
+ constructor(_options: ContractInteractions.Options);
2262
3444
  /**
2263
- * Get workflow status and result
3445
+ * Get ABI functions for a deployed contract
2264
3446
  *
2265
- * @param {string} workflowId - Temporal workflow ID
2266
- * @param {Temporal.RequestOptions} requestOptions - Request-specific configuration.
3447
+ * @param {OumlaSdkApi.GetDeployedContractAbiRequestNetwork} network - Network
3448
+ * @param {string} contractAddress - Contract address
3449
+ * @param {ContractInteractions.RequestOptions} requestOptions - Request-specific configuration.
3450
+ *
3451
+ * @throws {@link OumlaSdkApi.BadRequestError}
3452
+ * @throws {@link OumlaSdkApi.UnauthorizedError}
3453
+ * @throws {@link OumlaSdkApi.ForbiddenError}
3454
+ * @throws {@link OumlaSdkApi.NotFoundError}
3455
+ * @throws {@link OumlaSdkApi.InternalServerError}
3456
+ *
3457
+ * @example
3458
+ * await client.contractInteractions.getDeployedContractAbi("tBTC", "contractAddress")
3459
+ */
3460
+ getDeployedContractAbi(network: GetDeployedContractAbiRequestNetwork, contractAddress: string, requestOptions?: ContractInteractions.RequestOptions): HttpResponsePromise<ContractAbiResponse>;
3461
+ private __getDeployedContractAbi;
3462
+ /**
3463
+ * Call a read-only contract function
2267
3464
  *
3465
+ * @param {OumlaSdkApi.ReadCallFunctionRequestNetwork} network - Network
3466
+ * @param {string} contractAddress - Contract address
3467
+ * @param {OumlaSdkApi.ReadCallFunctionRequest} request
3468
+ * @param {ContractInteractions.RequestOptions} requestOptions - Request-specific configuration.
3469
+ *
3470
+ * @throws {@link OumlaSdkApi.BadRequestError}
3471
+ * @throws {@link OumlaSdkApi.UnauthorizedError}
3472
+ * @throws {@link OumlaSdkApi.NotFoundError}
3473
+ * @throws {@link OumlaSdkApi.InternalServerError}
3474
+ *
3475
+ * @example
3476
+ * await client.contractInteractions.readCallFunction("tBTC", "contractAddress", {
3477
+ * abiFunction: {
3478
+ * "key": "value"
3479
+ * }
3480
+ * })
3481
+ */
3482
+ readCallFunction(network: ReadCallFunctionRequestNetwork, contractAddress: string, request: ReadCallFunctionRequest, requestOptions?: ContractInteractions.RequestOptions): HttpResponsePromise<ReadCallFunctionResponse>;
3483
+ private __readCallFunction;
3484
+ /**
3485
+ * Call a write contract function (transaction)
3486
+ *
3487
+ * @param {OumlaSdkApi.WriteCallFunctionRequestNetwork} network - Network
3488
+ * @param {string} contractAddress - Contract address
3489
+ * @param {OumlaSdkApi.WriteCallFunctionRequest} request
3490
+ * @param {ContractInteractions.RequestOptions} requestOptions - Request-specific configuration.
3491
+ *
3492
+ * @throws {@link OumlaSdkApi.BadRequestError}
3493
+ * @throws {@link OumlaSdkApi.UnauthorizedError}
3494
+ * @throws {@link OumlaSdkApi.ForbiddenError}
3495
+ * @throws {@link OumlaSdkApi.NotFoundError}
3496
+ * @throws {@link OumlaSdkApi.ConflictError}
3497
+ * @throws {@link OumlaSdkApi.UnprocessableEntityError}
3498
+ * @throws {@link OumlaSdkApi.InternalServerError}
3499
+ * @throws {@link OumlaSdkApi.BadGatewayError}
3500
+ * @throws {@link OumlaSdkApi.ServiceUnavailableError}
3501
+ * @throws {@link OumlaSdkApi.GatewayTimeoutError}
3502
+ *
3503
+ * @example
3504
+ * await client.contractInteractions.writeCallFunction("tBTC", "contractAddress", {
3505
+ * addressId: "addressId",
3506
+ * clientShare: "clientShare",
3507
+ * abiFunction: {
3508
+ * "key": "value"
3509
+ * }
3510
+ * })
3511
+ */
3512
+ writeCallFunction(network: WriteCallFunctionRequestNetwork, contractAddress: string, request: WriteCallFunctionRequest, requestOptions?: ContractInteractions.RequestOptions): HttpResponsePromise<WriteCallFunctionResponse>;
3513
+ private __writeCallFunction;
3514
+ /**
3515
+ * Get transaction receipt by network and transaction ID
3516
+ *
3517
+ * @param {OumlaSdkApi.GetTransactionReceiptRequestNetwork} network - Network
3518
+ * @param {string} txId - Transaction ID
3519
+ * @param {ContractInteractions.RequestOptions} requestOptions - Request-specific configuration.
3520
+ *
3521
+ * @throws {@link OumlaSdkApi.BadRequestError}
3522
+ * @throws {@link OumlaSdkApi.UnauthorizedError}
3523
+ * @throws {@link OumlaSdkApi.ForbiddenError}
2268
3524
  * @throws {@link OumlaSdkApi.NotFoundError}
3525
+ * @throws {@link OumlaSdkApi.InternalServerError}
2269
3526
  *
2270
3527
  * @example
2271
- * await client.temporal.getTemporalWorkflowStatus("workflowId")
3528
+ * await client.contractInteractions.getTransactionReceipt("tBTC", "txId")
2272
3529
  */
2273
- getTemporalWorkflowStatus(workflowId: string, requestOptions?: Temporal.RequestOptions): HttpResponsePromise<SuccessResponse>;
2274
- private __getTemporalWorkflowStatus;
3530
+ getTransactionReceipt(network: GetTransactionReceiptRequestNetwork, txId: string, requestOptions?: ContractInteractions.RequestOptions): HttpResponsePromise<TransactionReceiptResponse>;
3531
+ private __getTransactionReceipt;
2275
3532
  protected _getAuthorizationHeader(): Promise<string | undefined>;
2276
3533
  }
2277
3534
 
2278
- declare namespace Assets {
3535
+ declare namespace Withdrawals {
2279
3536
  interface Options {
2280
3537
  environment?: Supplier<OumlaSdkApiEnvironment | string>;
2281
3538
  /** Specify a custom URL to connect the client to. */
@@ -2306,31 +3563,39 @@ declare namespace Assets {
2306
3563
  }
2307
3564
  }
2308
3565
  /**
2309
- * Asset management and tracking
3566
+ * Withdrawal operations
2310
3567
  */
2311
- declare class Assets {
2312
- protected readonly _options: Assets.Options;
2313
- constructor(_options: Assets.Options);
3568
+ declare class Withdrawals {
3569
+ protected readonly _options: Withdrawals.Options;
3570
+ constructor(_options: Withdrawals.Options);
2314
3571
  /**
2315
- * Retrieve assets for the organization filtered by address, wallet ID, contract address, or tokenization ID
3572
+ * Create a withdrawal transaction
2316
3573
  *
2317
- * @param {OumlaSdkApi.GetAssetsRequest} request
2318
- * @param {Assets.RequestOptions} requestOptions - Request-specific configuration.
3574
+ * @param {OumlaSdkApi.CreateWithdrawRequest} request
3575
+ * @param {Withdrawals.RequestOptions} requestOptions - Request-specific configuration.
2319
3576
  *
3577
+ * @throws {@link OumlaSdkApi.BadRequestError}
3578
+ * @throws {@link OumlaSdkApi.UnauthorizedError}
3579
+ * @throws {@link OumlaSdkApi.ForbiddenError}
2320
3580
  * @throws {@link OumlaSdkApi.NotFoundError}
3581
+ * @throws {@link OumlaSdkApi.ConflictError}
3582
+ * @throws {@link OumlaSdkApi.UnprocessableEntityError}
3583
+ * @throws {@link OumlaSdkApi.InternalServerError}
3584
+ * @throws {@link OumlaSdkApi.BadGatewayError}
3585
+ * @throws {@link OumlaSdkApi.ServiceUnavailableError}
3586
+ * @throws {@link OumlaSdkApi.GatewayTimeoutError}
2321
3587
  *
2322
3588
  * @example
2323
- * await client.assets.getAssets({
2324
- * address: "address",
2325
- * walletId: "walletId",
2326
- * contractAddress: "contractAddress",
2327
- * tokenizationId: "tokenizationId",
2328
- * skip: 1,
2329
- * take: 1
3589
+ * await client.withdrawals.createWithdraw({
3590
+ * to: "to",
3591
+ * amount: "amount",
3592
+ * from: ["from"],
3593
+ * network: "tBTC",
3594
+ * clientShare: "clientShare"
2330
3595
  * })
2331
3596
  */
2332
- getAssets(request?: GetAssetsRequest, requestOptions?: Assets.RequestOptions): HttpResponsePromise<SuccessResponse>;
2333
- private __getAssets;
3597
+ createWithdraw(request: CreateWithdrawRequest, requestOptions?: Withdrawals.RequestOptions): HttpResponsePromise<WithdrawResponse>;
3598
+ private __createWithdraw;
2334
3599
  protected _getAuthorizationHeader(): Promise<string | undefined>;
2335
3600
  }
2336
3601
 
@@ -2370,25 +3635,25 @@ declare class OumlaSdkApiClient {
2370
3635
  protected _wallets: Wallets | undefined;
2371
3636
  protected _addresses: Addresses | undefined;
2372
3637
  protected _transactions: Transactions | undefined;
2373
- protected _withdrawals: Withdrawals | undefined;
3638
+ protected _portfolio: Portfolio | undefined;
3639
+ protected _temporal: Temporal | undefined;
3640
+ protected _tokenization: Tokenization | undefined;
2374
3641
  protected _contractTemplates: ContractTemplates | undefined;
2375
3642
  protected _deployedContracts: DeployedContracts | undefined;
2376
3643
  protected _contractInteractions: ContractInteractions | undefined;
2377
- protected _tokenization: Tokenization | undefined;
2378
- protected _temporal: Temporal | undefined;
2379
- protected _assets: Assets | undefined;
3644
+ protected _withdrawals: Withdrawals | undefined;
2380
3645
  constructor(_options: OumlaSdkApiClient.Options);
2381
3646
  get profiles(): Profiles;
2382
3647
  get wallets(): Wallets;
2383
3648
  get addresses(): Addresses;
2384
3649
  get transactions(): Transactions;
2385
- get withdrawals(): Withdrawals;
3650
+ get portfolio(): Portfolio;
3651
+ get temporal(): Temporal;
3652
+ get tokenization(): Tokenization;
2386
3653
  get contractTemplates(): ContractTemplates;
2387
3654
  get deployedContracts(): DeployedContracts;
2388
3655
  get contractInteractions(): ContractInteractions;
2389
- get tokenization(): Tokenization;
2390
- get temporal(): Temporal;
2391
- get assets(): Assets;
3656
+ get withdrawals(): Withdrawals;
2392
3657
  }
2393
3658
 
2394
3659
  export { index as OumlaSdkApi, OumlaSdkApiClient, OumlaSdkApiEnvironment, OumlaSdkApiError, OumlaSdkApiTimeoutError };