@oumla/sdk 1.1.1 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +223 -28
- package/dist/index.cjs +424 -189
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +596 -457
- package/dist/index.js +424 -189
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -10,13 +10,17 @@ var __export = (target, all) => {
|
|
|
10
10
|
var api_exports = {};
|
|
11
11
|
__export(api_exports, {
|
|
12
12
|
BadRequestError: () => BadRequestError,
|
|
13
|
+
CreateAddressRequest: () => CreateAddressRequest,
|
|
14
|
+
GetCollectionTokensRequestType: () => GetCollectionTokensRequestType,
|
|
13
15
|
GetDeployedContractsRequestNetwork: () => GetDeployedContractsRequestNetwork,
|
|
16
|
+
NotFoundError: () => NotFoundError,
|
|
14
17
|
addresses: () => addresses_exports,
|
|
15
18
|
assets: () => assets_exports,
|
|
16
19
|
contractInteractions: () => contractInteractions_exports,
|
|
17
20
|
contractTemplates: () => contractTemplates_exports,
|
|
18
21
|
deployedContracts: () => deployedContracts_exports,
|
|
19
22
|
profiles: () => profiles_exports,
|
|
23
|
+
temporal: () => temporal_exports,
|
|
20
24
|
tokenization: () => tokenization_exports,
|
|
21
25
|
transactions: () => transactions_exports,
|
|
22
26
|
wallets: () => wallets_exports,
|
|
@@ -31,10 +35,33 @@ __export(deployedContracts_exports, {
|
|
|
31
35
|
|
|
32
36
|
// api/resources/deployedContracts/types/GetDeployedContractsRequestNetwork.ts
|
|
33
37
|
var GetDeployedContractsRequestNetwork = {
|
|
38
|
+
Btc: "BTC",
|
|
34
39
|
TBtc: "tBTC",
|
|
40
|
+
Eth: "ETH",
|
|
35
41
|
TEth: "tETH"
|
|
36
42
|
};
|
|
37
43
|
|
|
44
|
+
// api/resources/tokenization/index.ts
|
|
45
|
+
var tokenization_exports = {};
|
|
46
|
+
__export(tokenization_exports, {
|
|
47
|
+
GetCollectionTokensRequestType: () => GetCollectionTokensRequestType
|
|
48
|
+
});
|
|
49
|
+
|
|
50
|
+
// api/resources/tokenization/types/GetCollectionTokensRequestType.ts
|
|
51
|
+
var GetCollectionTokensRequestType = {
|
|
52
|
+
Mint: "MINT",
|
|
53
|
+
Burn: "BURN"
|
|
54
|
+
};
|
|
55
|
+
|
|
56
|
+
// api/resources/tokenization/client/requests/CreateCollectionRequest.ts
|
|
57
|
+
var CreateCollectionRequest;
|
|
58
|
+
((CreateCollectionRequest2) => {
|
|
59
|
+
CreateCollectionRequest2.Type = {
|
|
60
|
+
NonFungibleToken: "NON_FUNGIBLE_TOKEN",
|
|
61
|
+
SemiFungibleToken: "SEMI_FUNGIBLE_TOKEN"
|
|
62
|
+
};
|
|
63
|
+
})(CreateCollectionRequest || (CreateCollectionRequest = {}));
|
|
64
|
+
|
|
38
65
|
// api/resources/profiles/index.ts
|
|
39
66
|
var profiles_exports = {};
|
|
40
67
|
|
|
@@ -55,7 +82,9 @@ var wallets_exports = {};
|
|
|
55
82
|
var CreateWalletRequest;
|
|
56
83
|
((CreateWalletRequest2) => {
|
|
57
84
|
CreateWalletRequest2.Network = {
|
|
85
|
+
Btc: "BTC",
|
|
58
86
|
TBtc: "tBTC",
|
|
87
|
+
Eth: "ETH",
|
|
59
88
|
TEth: "tETH"
|
|
60
89
|
};
|
|
61
90
|
})(CreateWalletRequest || (CreateWalletRequest = {}));
|
|
@@ -63,21 +92,9 @@ var CreateWalletRequest;
|
|
|
63
92
|
// api/resources/addresses/index.ts
|
|
64
93
|
var addresses_exports = {};
|
|
65
94
|
|
|
66
|
-
// api/resources/addresses/client/requests/CreateAddressRequest.ts
|
|
67
|
-
var CreateAddressRequest;
|
|
68
|
-
((CreateAddressRequest2) => {
|
|
69
|
-
CreateAddressRequest2.Network = {
|
|
70
|
-
TBtc: "tBTC",
|
|
71
|
-
TEth: "tETH"
|
|
72
|
-
};
|
|
73
|
-
})(CreateAddressRequest || (CreateAddressRequest = {}));
|
|
74
|
-
|
|
75
95
|
// api/resources/transactions/index.ts
|
|
76
96
|
var transactions_exports = {};
|
|
77
97
|
|
|
78
|
-
// api/resources/assets/index.ts
|
|
79
|
-
var assets_exports = {};
|
|
80
|
-
|
|
81
98
|
// api/resources/withdrawals/index.ts
|
|
82
99
|
var withdrawals_exports = {};
|
|
83
100
|
|
|
@@ -85,7 +102,9 @@ var withdrawals_exports = {};
|
|
|
85
102
|
var CreateWithdrawalRequest;
|
|
86
103
|
((CreateWithdrawalRequest2) => {
|
|
87
104
|
CreateWithdrawalRequest2.Network = {
|
|
105
|
+
Btc: "BTC",
|
|
88
106
|
TBtc: "tBTC",
|
|
107
|
+
Eth: "ETH",
|
|
89
108
|
TEth: "tETH"
|
|
90
109
|
};
|
|
91
110
|
})(CreateWithdrawalRequest || (CreateWithdrawalRequest = {}));
|
|
@@ -117,17 +136,22 @@ var WriteFunctionRequest;
|
|
|
117
136
|
};
|
|
118
137
|
})(WriteFunctionRequest || (WriteFunctionRequest = {}));
|
|
119
138
|
|
|
120
|
-
// api/resources/
|
|
121
|
-
var
|
|
139
|
+
// api/resources/temporal/index.ts
|
|
140
|
+
var temporal_exports = {};
|
|
122
141
|
|
|
123
|
-
// api/resources/
|
|
124
|
-
var
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
142
|
+
// api/resources/assets/index.ts
|
|
143
|
+
var assets_exports = {};
|
|
144
|
+
|
|
145
|
+
// api/types/CreateAddressRequest.ts
|
|
146
|
+
var CreateAddressRequest;
|
|
147
|
+
((CreateAddressRequest2) => {
|
|
148
|
+
CreateAddressRequest2.Network = {
|
|
149
|
+
Btc: "BTC",
|
|
150
|
+
TBtc: "tBTC",
|
|
151
|
+
Eth: "ETH",
|
|
152
|
+
TEth: "tETH"
|
|
129
153
|
};
|
|
130
|
-
})(
|
|
154
|
+
})(CreateAddressRequest || (CreateAddressRequest = {}));
|
|
131
155
|
|
|
132
156
|
// core/json.ts
|
|
133
157
|
var toJson = (value, replacer, space) => {
|
|
@@ -191,6 +215,19 @@ var BadRequestError = class extends OumlaSdkApiError {
|
|
|
191
215
|
}
|
|
192
216
|
};
|
|
193
217
|
|
|
218
|
+
// api/errors/NotFoundError.ts
|
|
219
|
+
var NotFoundError = class extends OumlaSdkApiError {
|
|
220
|
+
constructor(body, rawResponse) {
|
|
221
|
+
super({
|
|
222
|
+
message: "NotFoundError",
|
|
223
|
+
statusCode: 404,
|
|
224
|
+
body,
|
|
225
|
+
rawResponse
|
|
226
|
+
});
|
|
227
|
+
Object.setPrototypeOf(this, NotFoundError.prototype);
|
|
228
|
+
}
|
|
229
|
+
};
|
|
230
|
+
|
|
194
231
|
// core/fetcher/EndpointSupplier.ts
|
|
195
232
|
var EndpointSupplier = {
|
|
196
233
|
get: async (supplier, arg) => {
|
|
@@ -1490,16 +1527,16 @@ var Addresses = class {
|
|
|
1490
1527
|
* @param {Addresses.RequestOptions} requestOptions - Request-specific configuration.
|
|
1491
1528
|
*
|
|
1492
1529
|
* @example
|
|
1493
|
-
* await client.addresses.
|
|
1530
|
+
* await client.addresses.generateAddressV1({
|
|
1494
1531
|
* reference: "reference",
|
|
1495
1532
|
* network: "BTC",
|
|
1496
1533
|
* clientShare: "clientShare"
|
|
1497
1534
|
* })
|
|
1498
1535
|
*/
|
|
1499
|
-
|
|
1500
|
-
return HttpResponsePromise.fromPromise(this.
|
|
1536
|
+
generateAddressV1(request, requestOptions) {
|
|
1537
|
+
return HttpResponsePromise.fromPromise(this.__generateAddressV1(request, requestOptions));
|
|
1501
1538
|
}
|
|
1502
|
-
async
|
|
1539
|
+
async __generateAddressV1(request, requestOptions) {
|
|
1503
1540
|
let _headers = mergeHeaders(
|
|
1504
1541
|
this._options?.headers,
|
|
1505
1542
|
mergeOnlyDefinedHeaders({
|
|
@@ -1552,45 +1589,23 @@ var Addresses = class {
|
|
|
1552
1589
|
});
|
|
1553
1590
|
}
|
|
1554
1591
|
}
|
|
1555
|
-
async _getAuthorizationHeader() {
|
|
1556
|
-
const bearer = await Supplier.get(this._options.token);
|
|
1557
|
-
if (bearer != null) {
|
|
1558
|
-
return `Bearer ${bearer}`;
|
|
1559
|
-
}
|
|
1560
|
-
return void 0;
|
|
1561
|
-
}
|
|
1562
|
-
};
|
|
1563
|
-
|
|
1564
|
-
// api/resources/transactions/client/Client.ts
|
|
1565
|
-
var Transactions = class {
|
|
1566
|
-
constructor(_options) {
|
|
1567
|
-
this._options = _options;
|
|
1568
|
-
}
|
|
1569
1592
|
/**
|
|
1570
|
-
*
|
|
1593
|
+
* Generate a new address for a profile
|
|
1571
1594
|
*
|
|
1572
|
-
* @param {
|
|
1573
|
-
* @param {
|
|
1574
|
-
* @param {Transactions.RequestOptions} requestOptions - Request-specific configuration.
|
|
1595
|
+
* @param {OumlaSdkApi.CreateAddressRequest} request
|
|
1596
|
+
* @param {Addresses.RequestOptions} requestOptions - Request-specific configuration.
|
|
1575
1597
|
*
|
|
1576
1598
|
* @example
|
|
1577
|
-
* await client.
|
|
1578
|
-
*
|
|
1579
|
-
*
|
|
1599
|
+
* await client.addresses.generateAddressV2({
|
|
1600
|
+
* reference: "reference",
|
|
1601
|
+
* network: "BTC",
|
|
1602
|
+
* clientShare: "clientShare"
|
|
1580
1603
|
* })
|
|
1581
1604
|
*/
|
|
1582
|
-
|
|
1583
|
-
return HttpResponsePromise.fromPromise(this.
|
|
1605
|
+
generateAddressV2(request, requestOptions) {
|
|
1606
|
+
return HttpResponsePromise.fromPromise(this.__generateAddressV2(request, requestOptions));
|
|
1584
1607
|
}
|
|
1585
|
-
async
|
|
1586
|
-
const { skip, take } = request;
|
|
1587
|
-
const _queryParams = {};
|
|
1588
|
-
if (skip != null) {
|
|
1589
|
-
_queryParams["skip"] = skip.toString();
|
|
1590
|
-
}
|
|
1591
|
-
if (take != null) {
|
|
1592
|
-
_queryParams["take"] = take.toString();
|
|
1593
|
-
}
|
|
1608
|
+
async __generateAddressV2(request, requestOptions) {
|
|
1594
1609
|
let _headers = mergeHeaders(
|
|
1595
1610
|
this._options?.headers,
|
|
1596
1611
|
mergeOnlyDefinedHeaders({
|
|
@@ -1603,11 +1618,14 @@ var Transactions = class {
|
|
|
1603
1618
|
const _response = await fetcher({
|
|
1604
1619
|
url: url_exports.join(
|
|
1605
1620
|
await Supplier.get(this._options.baseUrl) ?? await Supplier.get(this._options.environment) ?? OumlaSdkApiEnvironment.Production,
|
|
1606
|
-
|
|
1621
|
+
"api/v2/addresses/generate"
|
|
1607
1622
|
),
|
|
1608
|
-
method: "
|
|
1623
|
+
method: "POST",
|
|
1609
1624
|
headers: _headers,
|
|
1610
|
-
|
|
1625
|
+
contentType: "application/json",
|
|
1626
|
+
queryParameters: requestOptions?.queryParams,
|
|
1627
|
+
requestType: "json",
|
|
1628
|
+
body: request,
|
|
1611
1629
|
timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1e3 : 6e4,
|
|
1612
1630
|
maxRetries: requestOptions?.maxRetries,
|
|
1613
1631
|
abortSignal: requestOptions?.abortSignal
|
|
@@ -1631,7 +1649,7 @@ var Transactions = class {
|
|
|
1631
1649
|
});
|
|
1632
1650
|
case "timeout":
|
|
1633
1651
|
throw new OumlaSdkApiTimeoutError(
|
|
1634
|
-
"Timeout exceeded when calling
|
|
1652
|
+
"Timeout exceeded when calling POST /api/v2/addresses/generate."
|
|
1635
1653
|
);
|
|
1636
1654
|
case "unknown":
|
|
1637
1655
|
throw new OumlaSdkApiError({
|
|
@@ -1640,98 +1658,37 @@ var Transactions = class {
|
|
|
1640
1658
|
});
|
|
1641
1659
|
}
|
|
1642
1660
|
}
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
* @param {OumlaSdkApi.GetTransactionsByWalletRequest} request
|
|
1648
|
-
* @param {Transactions.RequestOptions} requestOptions - Request-specific configuration.
|
|
1649
|
-
*
|
|
1650
|
-
* @example
|
|
1651
|
-
* await client.transactions.getTransactionsByWallet("miniWalletId", {
|
|
1652
|
-
* skip: 1,
|
|
1653
|
-
* take: 1
|
|
1654
|
-
* })
|
|
1655
|
-
*/
|
|
1656
|
-
getTransactionsByWallet(miniWalletId, request = {}, requestOptions) {
|
|
1657
|
-
return HttpResponsePromise.fromPromise(
|
|
1658
|
-
this.__getTransactionsByWallet(miniWalletId, request, requestOptions)
|
|
1659
|
-
);
|
|
1660
|
-
}
|
|
1661
|
-
async __getTransactionsByWallet(miniWalletId, request = {}, requestOptions) {
|
|
1662
|
-
const { skip, take } = request;
|
|
1663
|
-
const _queryParams = {};
|
|
1664
|
-
if (skip != null) {
|
|
1665
|
-
_queryParams["skip"] = skip.toString();
|
|
1666
|
-
}
|
|
1667
|
-
if (take != null) {
|
|
1668
|
-
_queryParams["take"] = take.toString();
|
|
1669
|
-
}
|
|
1670
|
-
let _headers = mergeHeaders(
|
|
1671
|
-
this._options?.headers,
|
|
1672
|
-
mergeOnlyDefinedHeaders({
|
|
1673
|
-
Authorization: await this._getAuthorizationHeader(),
|
|
1674
|
-
"x-sdk-version": requestOptions?.sdkVersion ?? "1.0.0",
|
|
1675
|
-
"x-api-key": requestOptions?.apiKey ?? this._options?.apiKey
|
|
1676
|
-
}),
|
|
1677
|
-
requestOptions?.headers
|
|
1678
|
-
);
|
|
1679
|
-
const _response = await fetcher({
|
|
1680
|
-
url: url_exports.join(
|
|
1681
|
-
await Supplier.get(this._options.baseUrl) ?? await Supplier.get(this._options.environment) ?? OumlaSdkApiEnvironment.Production,
|
|
1682
|
-
`api/v1/transactions/wallet/${encodeURIComponent(miniWalletId)}`
|
|
1683
|
-
),
|
|
1684
|
-
method: "GET",
|
|
1685
|
-
headers: _headers,
|
|
1686
|
-
queryParameters: { ..._queryParams, ...requestOptions?.queryParams },
|
|
1687
|
-
timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1e3 : 6e4,
|
|
1688
|
-
maxRetries: requestOptions?.maxRetries,
|
|
1689
|
-
abortSignal: requestOptions?.abortSignal
|
|
1690
|
-
});
|
|
1691
|
-
if (_response.ok) {
|
|
1692
|
-
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
1693
|
-
}
|
|
1694
|
-
if (_response.error.reason === "status-code") {
|
|
1695
|
-
throw new OumlaSdkApiError({
|
|
1696
|
-
statusCode: _response.error.statusCode,
|
|
1697
|
-
body: _response.error.body,
|
|
1698
|
-
rawResponse: _response.rawResponse
|
|
1699
|
-
});
|
|
1700
|
-
}
|
|
1701
|
-
switch (_response.error.reason) {
|
|
1702
|
-
case "non-json":
|
|
1703
|
-
throw new OumlaSdkApiError({
|
|
1704
|
-
statusCode: _response.error.statusCode,
|
|
1705
|
-
body: _response.error.rawBody,
|
|
1706
|
-
rawResponse: _response.rawResponse
|
|
1707
|
-
});
|
|
1708
|
-
case "timeout":
|
|
1709
|
-
throw new OumlaSdkApiTimeoutError(
|
|
1710
|
-
"Timeout exceeded when calling GET /api/v1/transactions/wallet/{miniWalletId}."
|
|
1711
|
-
);
|
|
1712
|
-
case "unknown":
|
|
1713
|
-
throw new OumlaSdkApiError({
|
|
1714
|
-
message: _response.error.errorMessage,
|
|
1715
|
-
rawResponse: _response.rawResponse
|
|
1716
|
-
});
|
|
1661
|
+
async _getAuthorizationHeader() {
|
|
1662
|
+
const bearer = await Supplier.get(this._options.token);
|
|
1663
|
+
if (bearer != null) {
|
|
1664
|
+
return `Bearer ${bearer}`;
|
|
1717
1665
|
}
|
|
1666
|
+
return void 0;
|
|
1667
|
+
}
|
|
1668
|
+
};
|
|
1669
|
+
|
|
1670
|
+
// api/resources/transactions/client/Client.ts
|
|
1671
|
+
var Transactions = class {
|
|
1672
|
+
constructor(_options) {
|
|
1673
|
+
this._options = _options;
|
|
1718
1674
|
}
|
|
1719
1675
|
/**
|
|
1720
|
-
* Retrieve transactions for
|
|
1676
|
+
* Retrieve transactions for a specific address
|
|
1721
1677
|
*
|
|
1722
|
-
* @param {
|
|
1678
|
+
* @param {string} address - Blockchain address
|
|
1679
|
+
* @param {OumlaSdkApi.GetTransactionsByAddressRequest} request
|
|
1723
1680
|
* @param {Transactions.RequestOptions} requestOptions - Request-specific configuration.
|
|
1724
1681
|
*
|
|
1725
1682
|
* @example
|
|
1726
|
-
* await client.transactions.
|
|
1683
|
+
* await client.transactions.getTransactionsByAddress("address", {
|
|
1727
1684
|
* skip: 1,
|
|
1728
1685
|
* take: 1
|
|
1729
1686
|
* })
|
|
1730
1687
|
*/
|
|
1731
|
-
|
|
1732
|
-
return HttpResponsePromise.fromPromise(this.
|
|
1688
|
+
getTransactionsByAddress(address, request = {}, requestOptions) {
|
|
1689
|
+
return HttpResponsePromise.fromPromise(this.__getTransactionsByAddress(address, request, requestOptions));
|
|
1733
1690
|
}
|
|
1734
|
-
async
|
|
1691
|
+
async __getTransactionsByAddress(address, request = {}, requestOptions) {
|
|
1735
1692
|
const { skip, take } = request;
|
|
1736
1693
|
const _queryParams = {};
|
|
1737
1694
|
if (skip != null) {
|
|
@@ -1752,7 +1709,7 @@ var Transactions = class {
|
|
|
1752
1709
|
const _response = await fetcher({
|
|
1753
1710
|
url: url_exports.join(
|
|
1754
1711
|
await Supplier.get(this._options.baseUrl) ?? await Supplier.get(this._options.environment) ?? OumlaSdkApiEnvironment.Production,
|
|
1755
|
-
|
|
1712
|
+
`api/v1/transactions/address/${encodeURIComponent(address)}`
|
|
1756
1713
|
),
|
|
1757
1714
|
method: "GET",
|
|
1758
1715
|
headers: _headers,
|
|
@@ -1780,7 +1737,7 @@ var Transactions = class {
|
|
|
1780
1737
|
});
|
|
1781
1738
|
case "timeout":
|
|
1782
1739
|
throw new OumlaSdkApiTimeoutError(
|
|
1783
|
-
"Timeout exceeded when calling GET /api/v1/transactions/
|
|
1740
|
+
"Timeout exceeded when calling GET /api/v1/transactions/address/{address}."
|
|
1784
1741
|
);
|
|
1785
1742
|
case "unknown":
|
|
1786
1743
|
throw new OumlaSdkApiError({
|
|
@@ -1790,22 +1747,24 @@ var Transactions = class {
|
|
|
1790
1747
|
}
|
|
1791
1748
|
}
|
|
1792
1749
|
/**
|
|
1793
|
-
* Retrieve transactions for a specific
|
|
1750
|
+
* Retrieve transactions for a specific wallet
|
|
1794
1751
|
*
|
|
1795
|
-
* @param {string}
|
|
1796
|
-
* @param {OumlaSdkApi.
|
|
1752
|
+
* @param {string} miniWalletId - Mini wallet ID
|
|
1753
|
+
* @param {OumlaSdkApi.GetTransactionsByWalletRequest} request
|
|
1797
1754
|
* @param {Transactions.RequestOptions} requestOptions - Request-specific configuration.
|
|
1798
1755
|
*
|
|
1799
1756
|
* @example
|
|
1800
|
-
* await client.transactions.
|
|
1757
|
+
* await client.transactions.getTransactionsByWallet("miniWalletId", {
|
|
1801
1758
|
* skip: 1,
|
|
1802
1759
|
* take: 1
|
|
1803
1760
|
* })
|
|
1804
1761
|
*/
|
|
1805
|
-
|
|
1806
|
-
return HttpResponsePromise.fromPromise(
|
|
1762
|
+
getTransactionsByWallet(miniWalletId, request = {}, requestOptions) {
|
|
1763
|
+
return HttpResponsePromise.fromPromise(
|
|
1764
|
+
this.__getTransactionsByWallet(miniWalletId, request, requestOptions)
|
|
1765
|
+
);
|
|
1807
1766
|
}
|
|
1808
|
-
async
|
|
1767
|
+
async __getTransactionsByWallet(miniWalletId, request = {}, requestOptions) {
|
|
1809
1768
|
const { skip, take } = request;
|
|
1810
1769
|
const _queryParams = {};
|
|
1811
1770
|
if (skip != null) {
|
|
@@ -1826,7 +1785,7 @@ var Transactions = class {
|
|
|
1826
1785
|
const _response = await fetcher({
|
|
1827
1786
|
url: url_exports.join(
|
|
1828
1787
|
await Supplier.get(this._options.baseUrl) ?? await Supplier.get(this._options.environment) ?? OumlaSdkApiEnvironment.Production,
|
|
1829
|
-
`api/v1/transactions/
|
|
1788
|
+
`api/v1/transactions/wallet/${encodeURIComponent(miniWalletId)}`
|
|
1830
1789
|
),
|
|
1831
1790
|
method: "GET",
|
|
1832
1791
|
headers: _headers,
|
|
@@ -1854,7 +1813,7 @@ var Transactions = class {
|
|
|
1854
1813
|
});
|
|
1855
1814
|
case "timeout":
|
|
1856
1815
|
throw new OumlaSdkApiTimeoutError(
|
|
1857
|
-
"Timeout exceeded when calling GET /api/v1/transactions/
|
|
1816
|
+
"Timeout exceeded when calling GET /api/v1/transactions/wallet/{miniWalletId}."
|
|
1858
1817
|
);
|
|
1859
1818
|
case "unknown":
|
|
1860
1819
|
throw new OumlaSdkApiError({
|
|
@@ -1863,37 +1822,22 @@ var Transactions = class {
|
|
|
1863
1822
|
});
|
|
1864
1823
|
}
|
|
1865
1824
|
}
|
|
1866
|
-
async _getAuthorizationHeader() {
|
|
1867
|
-
const bearer = await Supplier.get(this._options.token);
|
|
1868
|
-
if (bearer != null) {
|
|
1869
|
-
return `Bearer ${bearer}`;
|
|
1870
|
-
}
|
|
1871
|
-
return void 0;
|
|
1872
|
-
}
|
|
1873
|
-
};
|
|
1874
|
-
|
|
1875
|
-
// api/resources/assets/client/Client.ts
|
|
1876
|
-
var Assets = class {
|
|
1877
|
-
constructor(_options) {
|
|
1878
|
-
this._options = _options;
|
|
1879
|
-
}
|
|
1880
1825
|
/**
|
|
1881
|
-
* Retrieve
|
|
1826
|
+
* Retrieve transactions for the organization
|
|
1882
1827
|
*
|
|
1883
|
-
* @param {
|
|
1884
|
-
* @param {
|
|
1885
|
-
* @param {Assets.RequestOptions} requestOptions - Request-specific configuration.
|
|
1828
|
+
* @param {OumlaSdkApi.GetOrganizationTransactionsRequest} request
|
|
1829
|
+
* @param {Transactions.RequestOptions} requestOptions - Request-specific configuration.
|
|
1886
1830
|
*
|
|
1887
1831
|
* @example
|
|
1888
|
-
* await client.
|
|
1832
|
+
* await client.transactions.getOrganizationTransactions({
|
|
1889
1833
|
* skip: 1,
|
|
1890
1834
|
* take: 1
|
|
1891
1835
|
* })
|
|
1892
1836
|
*/
|
|
1893
|
-
|
|
1894
|
-
return HttpResponsePromise.fromPromise(this.
|
|
1837
|
+
getOrganizationTransactions(request = {}, requestOptions) {
|
|
1838
|
+
return HttpResponsePromise.fromPromise(this.__getOrganizationTransactions(request, requestOptions));
|
|
1895
1839
|
}
|
|
1896
|
-
async
|
|
1840
|
+
async __getOrganizationTransactions(request = {}, requestOptions) {
|
|
1897
1841
|
const { skip, take } = request;
|
|
1898
1842
|
const _queryParams = {};
|
|
1899
1843
|
if (skip != null) {
|
|
@@ -1914,7 +1858,7 @@ var Assets = class {
|
|
|
1914
1858
|
const _response = await fetcher({
|
|
1915
1859
|
url: url_exports.join(
|
|
1916
1860
|
await Supplier.get(this._options.baseUrl) ?? await Supplier.get(this._options.environment) ?? OumlaSdkApiEnvironment.Production,
|
|
1917
|
-
|
|
1861
|
+
"api/v1/transactions/organization"
|
|
1918
1862
|
),
|
|
1919
1863
|
method: "GET",
|
|
1920
1864
|
headers: _headers,
|
|
@@ -1942,7 +1886,7 @@ var Assets = class {
|
|
|
1942
1886
|
});
|
|
1943
1887
|
case "timeout":
|
|
1944
1888
|
throw new OumlaSdkApiTimeoutError(
|
|
1945
|
-
"Timeout exceeded when calling GET /api/v1/
|
|
1889
|
+
"Timeout exceeded when calling GET /api/v1/transactions/organization."
|
|
1946
1890
|
);
|
|
1947
1891
|
case "unknown":
|
|
1948
1892
|
throw new OumlaSdkApiError({
|
|
@@ -1952,22 +1896,22 @@ var Assets = class {
|
|
|
1952
1896
|
}
|
|
1953
1897
|
}
|
|
1954
1898
|
/**
|
|
1955
|
-
* Retrieve
|
|
1899
|
+
* Retrieve transactions for a specific profile
|
|
1956
1900
|
*
|
|
1957
|
-
* @param {string}
|
|
1958
|
-
* @param {OumlaSdkApi.
|
|
1959
|
-
* @param {
|
|
1901
|
+
* @param {string} reference - Profile reference
|
|
1902
|
+
* @param {OumlaSdkApi.GetProfileTransactionsRequest} request
|
|
1903
|
+
* @param {Transactions.RequestOptions} requestOptions - Request-specific configuration.
|
|
1960
1904
|
*
|
|
1961
1905
|
* @example
|
|
1962
|
-
* await client.
|
|
1906
|
+
* await client.transactions.getProfileTransactions("reference", {
|
|
1963
1907
|
* skip: 1,
|
|
1964
1908
|
* take: 1
|
|
1965
1909
|
* })
|
|
1966
1910
|
*/
|
|
1967
|
-
|
|
1968
|
-
return HttpResponsePromise.fromPromise(this.
|
|
1911
|
+
getProfileTransactions(reference, request = {}, requestOptions) {
|
|
1912
|
+
return HttpResponsePromise.fromPromise(this.__getProfileTransactions(reference, request, requestOptions));
|
|
1969
1913
|
}
|
|
1970
|
-
async
|
|
1914
|
+
async __getProfileTransactions(reference, request = {}, requestOptions) {
|
|
1971
1915
|
const { skip, take } = request;
|
|
1972
1916
|
const _queryParams = {};
|
|
1973
1917
|
if (skip != null) {
|
|
@@ -1988,7 +1932,7 @@ var Assets = class {
|
|
|
1988
1932
|
const _response = await fetcher({
|
|
1989
1933
|
url: url_exports.join(
|
|
1990
1934
|
await Supplier.get(this._options.baseUrl) ?? await Supplier.get(this._options.environment) ?? OumlaSdkApiEnvironment.Production,
|
|
1991
|
-
`api/v1/
|
|
1935
|
+
`api/v1/transactions/profile/${encodeURIComponent(reference)}`
|
|
1992
1936
|
),
|
|
1993
1937
|
method: "GET",
|
|
1994
1938
|
headers: _headers,
|
|
@@ -2016,7 +1960,7 @@ var Assets = class {
|
|
|
2016
1960
|
});
|
|
2017
1961
|
case "timeout":
|
|
2018
1962
|
throw new OumlaSdkApiTimeoutError(
|
|
2019
|
-
"Timeout exceeded when calling GET /api/v1/
|
|
1963
|
+
"Timeout exceeded when calling GET /api/v1/transactions/profile/{reference}."
|
|
2020
1964
|
);
|
|
2021
1965
|
case "unknown":
|
|
2022
1966
|
throw new OumlaSdkApiError({
|
|
@@ -3962,6 +3906,97 @@ var Tokenization = class {
|
|
|
3962
3906
|
});
|
|
3963
3907
|
}
|
|
3964
3908
|
}
|
|
3909
|
+
/**
|
|
3910
|
+
* Retrieve collection tokens (mints or burns) filtered by collection ID and type
|
|
3911
|
+
*
|
|
3912
|
+
* @param {OumlaSdkApi.GetCollectionTokensRequest} request
|
|
3913
|
+
* @param {Tokenization.RequestOptions} requestOptions - Request-specific configuration.
|
|
3914
|
+
*
|
|
3915
|
+
* @throws {@link OumlaSdkApi.NotFoundError}
|
|
3916
|
+
*
|
|
3917
|
+
* @example
|
|
3918
|
+
* await client.tokenization.getCollectionTokens({
|
|
3919
|
+
* id: "id",
|
|
3920
|
+
* type: "MINT",
|
|
3921
|
+
* skip: 1,
|
|
3922
|
+
* take: 1
|
|
3923
|
+
* })
|
|
3924
|
+
*/
|
|
3925
|
+
getCollectionTokens(request = {}, requestOptions) {
|
|
3926
|
+
return HttpResponsePromise.fromPromise(this.__getCollectionTokens(request, requestOptions));
|
|
3927
|
+
}
|
|
3928
|
+
async __getCollectionTokens(request = {}, requestOptions) {
|
|
3929
|
+
const { id, type: type_, skip, take } = request;
|
|
3930
|
+
const _queryParams = {};
|
|
3931
|
+
if (id != null) {
|
|
3932
|
+
_queryParams["id"] = id;
|
|
3933
|
+
}
|
|
3934
|
+
if (type_ != null) {
|
|
3935
|
+
_queryParams["type"] = type_;
|
|
3936
|
+
}
|
|
3937
|
+
if (skip != null) {
|
|
3938
|
+
_queryParams["skip"] = skip.toString();
|
|
3939
|
+
}
|
|
3940
|
+
if (take != null) {
|
|
3941
|
+
_queryParams["take"] = take.toString();
|
|
3942
|
+
}
|
|
3943
|
+
let _headers = mergeHeaders(
|
|
3944
|
+
this._options?.headers,
|
|
3945
|
+
mergeOnlyDefinedHeaders({
|
|
3946
|
+
Authorization: await this._getAuthorizationHeader(),
|
|
3947
|
+
"x-sdk-version": requestOptions?.sdkVersion ?? "1.0.0",
|
|
3948
|
+
"x-api-key": requestOptions?.apiKey ?? this._options?.apiKey
|
|
3949
|
+
}),
|
|
3950
|
+
requestOptions?.headers
|
|
3951
|
+
);
|
|
3952
|
+
const _response = await fetcher({
|
|
3953
|
+
url: url_exports.join(
|
|
3954
|
+
await Supplier.get(this._options.baseUrl) ?? await Supplier.get(this._options.environment) ?? OumlaSdkApiEnvironment.Production,
|
|
3955
|
+
"api/v1/tokenization/collection/tokens"
|
|
3956
|
+
),
|
|
3957
|
+
method: "GET",
|
|
3958
|
+
headers: _headers,
|
|
3959
|
+
queryParameters: { ..._queryParams, ...requestOptions?.queryParams },
|
|
3960
|
+
timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1e3 : 6e4,
|
|
3961
|
+
maxRetries: requestOptions?.maxRetries,
|
|
3962
|
+
abortSignal: requestOptions?.abortSignal
|
|
3963
|
+
});
|
|
3964
|
+
if (_response.ok) {
|
|
3965
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
3966
|
+
}
|
|
3967
|
+
if (_response.error.reason === "status-code") {
|
|
3968
|
+
switch (_response.error.statusCode) {
|
|
3969
|
+
case 404:
|
|
3970
|
+
throw new NotFoundError(
|
|
3971
|
+
_response.error.body,
|
|
3972
|
+
_response.rawResponse
|
|
3973
|
+
);
|
|
3974
|
+
default:
|
|
3975
|
+
throw new OumlaSdkApiError({
|
|
3976
|
+
statusCode: _response.error.statusCode,
|
|
3977
|
+
body: _response.error.body,
|
|
3978
|
+
rawResponse: _response.rawResponse
|
|
3979
|
+
});
|
|
3980
|
+
}
|
|
3981
|
+
}
|
|
3982
|
+
switch (_response.error.reason) {
|
|
3983
|
+
case "non-json":
|
|
3984
|
+
throw new OumlaSdkApiError({
|
|
3985
|
+
statusCode: _response.error.statusCode,
|
|
3986
|
+
body: _response.error.rawBody,
|
|
3987
|
+
rawResponse: _response.rawResponse
|
|
3988
|
+
});
|
|
3989
|
+
case "timeout":
|
|
3990
|
+
throw new OumlaSdkApiTimeoutError(
|
|
3991
|
+
"Timeout exceeded when calling GET /api/v1/tokenization/collection/tokens."
|
|
3992
|
+
);
|
|
3993
|
+
case "unknown":
|
|
3994
|
+
throw new OumlaSdkApiError({
|
|
3995
|
+
message: _response.error.errorMessage,
|
|
3996
|
+
rawResponse: _response.rawResponse
|
|
3997
|
+
});
|
|
3998
|
+
}
|
|
3999
|
+
}
|
|
3965
4000
|
/**
|
|
3966
4001
|
* Unlink a token from the platform
|
|
3967
4002
|
*
|
|
@@ -4033,6 +4068,203 @@ var Tokenization = class {
|
|
|
4033
4068
|
}
|
|
4034
4069
|
};
|
|
4035
4070
|
|
|
4071
|
+
// api/resources/temporal/client/Client.ts
|
|
4072
|
+
var Temporal = class {
|
|
4073
|
+
constructor(_options) {
|
|
4074
|
+
this._options = _options;
|
|
4075
|
+
}
|
|
4076
|
+
/**
|
|
4077
|
+
* Get workflow status and result
|
|
4078
|
+
*
|
|
4079
|
+
* @param {string} workflowId - Temporal workflow ID
|
|
4080
|
+
* @param {Temporal.RequestOptions} requestOptions - Request-specific configuration.
|
|
4081
|
+
*
|
|
4082
|
+
* @throws {@link OumlaSdkApi.NotFoundError}
|
|
4083
|
+
*
|
|
4084
|
+
* @example
|
|
4085
|
+
* await client.temporal.getTemporalWorkflowStatus("workflowId")
|
|
4086
|
+
*/
|
|
4087
|
+
getTemporalWorkflowStatus(workflowId, requestOptions) {
|
|
4088
|
+
return HttpResponsePromise.fromPromise(this.__getTemporalWorkflowStatus(workflowId, requestOptions));
|
|
4089
|
+
}
|
|
4090
|
+
async __getTemporalWorkflowStatus(workflowId, requestOptions) {
|
|
4091
|
+
let _headers = mergeHeaders(
|
|
4092
|
+
this._options?.headers,
|
|
4093
|
+
mergeOnlyDefinedHeaders({
|
|
4094
|
+
Authorization: await this._getAuthorizationHeader(),
|
|
4095
|
+
"x-sdk-version": requestOptions?.sdkVersion ?? "1.0.0",
|
|
4096
|
+
"x-api-key": requestOptions?.apiKey ?? this._options?.apiKey
|
|
4097
|
+
}),
|
|
4098
|
+
requestOptions?.headers
|
|
4099
|
+
);
|
|
4100
|
+
const _response = await fetcher({
|
|
4101
|
+
url: url_exports.join(
|
|
4102
|
+
await Supplier.get(this._options.baseUrl) ?? await Supplier.get(this._options.environment) ?? OumlaSdkApiEnvironment.Production,
|
|
4103
|
+
`api/v1/temporal/workflows/${encodeURIComponent(workflowId)}/status`
|
|
4104
|
+
),
|
|
4105
|
+
method: "GET",
|
|
4106
|
+
headers: _headers,
|
|
4107
|
+
queryParameters: requestOptions?.queryParams,
|
|
4108
|
+
timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1e3 : 6e4,
|
|
4109
|
+
maxRetries: requestOptions?.maxRetries,
|
|
4110
|
+
abortSignal: requestOptions?.abortSignal
|
|
4111
|
+
});
|
|
4112
|
+
if (_response.ok) {
|
|
4113
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
4114
|
+
}
|
|
4115
|
+
if (_response.error.reason === "status-code") {
|
|
4116
|
+
switch (_response.error.statusCode) {
|
|
4117
|
+
case 404:
|
|
4118
|
+
throw new NotFoundError(
|
|
4119
|
+
_response.error.body,
|
|
4120
|
+
_response.rawResponse
|
|
4121
|
+
);
|
|
4122
|
+
default:
|
|
4123
|
+
throw new OumlaSdkApiError({
|
|
4124
|
+
statusCode: _response.error.statusCode,
|
|
4125
|
+
body: _response.error.body,
|
|
4126
|
+
rawResponse: _response.rawResponse
|
|
4127
|
+
});
|
|
4128
|
+
}
|
|
4129
|
+
}
|
|
4130
|
+
switch (_response.error.reason) {
|
|
4131
|
+
case "non-json":
|
|
4132
|
+
throw new OumlaSdkApiError({
|
|
4133
|
+
statusCode: _response.error.statusCode,
|
|
4134
|
+
body: _response.error.rawBody,
|
|
4135
|
+
rawResponse: _response.rawResponse
|
|
4136
|
+
});
|
|
4137
|
+
case "timeout":
|
|
4138
|
+
throw new OumlaSdkApiTimeoutError(
|
|
4139
|
+
"Timeout exceeded when calling GET /api/v1/temporal/workflows/{workflowId}/status."
|
|
4140
|
+
);
|
|
4141
|
+
case "unknown":
|
|
4142
|
+
throw new OumlaSdkApiError({
|
|
4143
|
+
message: _response.error.errorMessage,
|
|
4144
|
+
rawResponse: _response.rawResponse
|
|
4145
|
+
});
|
|
4146
|
+
}
|
|
4147
|
+
}
|
|
4148
|
+
async _getAuthorizationHeader() {
|
|
4149
|
+
const bearer = await Supplier.get(this._options.token);
|
|
4150
|
+
if (bearer != null) {
|
|
4151
|
+
return `Bearer ${bearer}`;
|
|
4152
|
+
}
|
|
4153
|
+
return void 0;
|
|
4154
|
+
}
|
|
4155
|
+
};
|
|
4156
|
+
|
|
4157
|
+
// api/resources/assets/client/Client.ts
|
|
4158
|
+
var Assets = class {
|
|
4159
|
+
constructor(_options) {
|
|
4160
|
+
this._options = _options;
|
|
4161
|
+
}
|
|
4162
|
+
/**
|
|
4163
|
+
* Retrieve assets for the organization filtered by address, wallet ID, contract address, or tokenization ID
|
|
4164
|
+
*
|
|
4165
|
+
* @param {OumlaSdkApi.GetAssetsRequest} request
|
|
4166
|
+
* @param {Assets.RequestOptions} requestOptions - Request-specific configuration.
|
|
4167
|
+
*
|
|
4168
|
+
* @throws {@link OumlaSdkApi.NotFoundError}
|
|
4169
|
+
*
|
|
4170
|
+
* @example
|
|
4171
|
+
* await client.assets.getAssets({
|
|
4172
|
+
* address: "address",
|
|
4173
|
+
* walletId: "walletId",
|
|
4174
|
+
* contractAddress: "contractAddress",
|
|
4175
|
+
* tokenizationId: "tokenizationId",
|
|
4176
|
+
* skip: 1,
|
|
4177
|
+
* take: 1
|
|
4178
|
+
* })
|
|
4179
|
+
*/
|
|
4180
|
+
getAssets(request = {}, requestOptions) {
|
|
4181
|
+
return HttpResponsePromise.fromPromise(this.__getAssets(request, requestOptions));
|
|
4182
|
+
}
|
|
4183
|
+
async __getAssets(request = {}, requestOptions) {
|
|
4184
|
+
const { address, walletId, contractAddress, tokenizationId, skip, take } = request;
|
|
4185
|
+
const _queryParams = {};
|
|
4186
|
+
if (address != null) {
|
|
4187
|
+
_queryParams["address"] = address;
|
|
4188
|
+
}
|
|
4189
|
+
if (walletId != null) {
|
|
4190
|
+
_queryParams["walletId"] = walletId;
|
|
4191
|
+
}
|
|
4192
|
+
if (contractAddress != null) {
|
|
4193
|
+
_queryParams["contractAddress"] = contractAddress;
|
|
4194
|
+
}
|
|
4195
|
+
if (tokenizationId != null) {
|
|
4196
|
+
_queryParams["tokenizationId"] = tokenizationId;
|
|
4197
|
+
}
|
|
4198
|
+
if (skip != null) {
|
|
4199
|
+
_queryParams["skip"] = skip.toString();
|
|
4200
|
+
}
|
|
4201
|
+
if (take != null) {
|
|
4202
|
+
_queryParams["take"] = take.toString();
|
|
4203
|
+
}
|
|
4204
|
+
let _headers = mergeHeaders(
|
|
4205
|
+
this._options?.headers,
|
|
4206
|
+
mergeOnlyDefinedHeaders({
|
|
4207
|
+
Authorization: await this._getAuthorizationHeader(),
|
|
4208
|
+
"x-sdk-version": requestOptions?.sdkVersion ?? "1.0.0",
|
|
4209
|
+
"x-api-key": requestOptions?.apiKey ?? this._options?.apiKey
|
|
4210
|
+
}),
|
|
4211
|
+
requestOptions?.headers
|
|
4212
|
+
);
|
|
4213
|
+
const _response = await fetcher({
|
|
4214
|
+
url: url_exports.join(
|
|
4215
|
+
await Supplier.get(this._options.baseUrl) ?? await Supplier.get(this._options.environment) ?? OumlaSdkApiEnvironment.Production,
|
|
4216
|
+
"api/v1/assets"
|
|
4217
|
+
),
|
|
4218
|
+
method: "GET",
|
|
4219
|
+
headers: _headers,
|
|
4220
|
+
queryParameters: { ..._queryParams, ...requestOptions?.queryParams },
|
|
4221
|
+
timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1e3 : 6e4,
|
|
4222
|
+
maxRetries: requestOptions?.maxRetries,
|
|
4223
|
+
abortSignal: requestOptions?.abortSignal
|
|
4224
|
+
});
|
|
4225
|
+
if (_response.ok) {
|
|
4226
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
4227
|
+
}
|
|
4228
|
+
if (_response.error.reason === "status-code") {
|
|
4229
|
+
switch (_response.error.statusCode) {
|
|
4230
|
+
case 404:
|
|
4231
|
+
throw new NotFoundError(
|
|
4232
|
+
_response.error.body,
|
|
4233
|
+
_response.rawResponse
|
|
4234
|
+
);
|
|
4235
|
+
default:
|
|
4236
|
+
throw new OumlaSdkApiError({
|
|
4237
|
+
statusCode: _response.error.statusCode,
|
|
4238
|
+
body: _response.error.body,
|
|
4239
|
+
rawResponse: _response.rawResponse
|
|
4240
|
+
});
|
|
4241
|
+
}
|
|
4242
|
+
}
|
|
4243
|
+
switch (_response.error.reason) {
|
|
4244
|
+
case "non-json":
|
|
4245
|
+
throw new OumlaSdkApiError({
|
|
4246
|
+
statusCode: _response.error.statusCode,
|
|
4247
|
+
body: _response.error.rawBody,
|
|
4248
|
+
rawResponse: _response.rawResponse
|
|
4249
|
+
});
|
|
4250
|
+
case "timeout":
|
|
4251
|
+
throw new OumlaSdkApiTimeoutError("Timeout exceeded when calling GET /api/v1/assets.");
|
|
4252
|
+
case "unknown":
|
|
4253
|
+
throw new OumlaSdkApiError({
|
|
4254
|
+
message: _response.error.errorMessage,
|
|
4255
|
+
rawResponse: _response.rawResponse
|
|
4256
|
+
});
|
|
4257
|
+
}
|
|
4258
|
+
}
|
|
4259
|
+
async _getAuthorizationHeader() {
|
|
4260
|
+
const bearer = await Supplier.get(this._options.token);
|
|
4261
|
+
if (bearer != null) {
|
|
4262
|
+
return `Bearer ${bearer}`;
|
|
4263
|
+
}
|
|
4264
|
+
return void 0;
|
|
4265
|
+
}
|
|
4266
|
+
};
|
|
4267
|
+
|
|
4036
4268
|
// Client.ts
|
|
4037
4269
|
var OumlaSdkApiClient = class {
|
|
4038
4270
|
constructor(_options) {
|
|
@@ -4062,9 +4294,6 @@ var OumlaSdkApiClient = class {
|
|
|
4062
4294
|
get transactions() {
|
|
4063
4295
|
return this._transactions ?? (this._transactions = new Transactions(this._options));
|
|
4064
4296
|
}
|
|
4065
|
-
get assets() {
|
|
4066
|
-
return this._assets ?? (this._assets = new Assets(this._options));
|
|
4067
|
-
}
|
|
4068
4297
|
get withdrawals() {
|
|
4069
4298
|
return this._withdrawals ?? (this._withdrawals = new Withdrawals(this._options));
|
|
4070
4299
|
}
|
|
@@ -4080,6 +4309,12 @@ var OumlaSdkApiClient = class {
|
|
|
4080
4309
|
get tokenization() {
|
|
4081
4310
|
return this._tokenization ?? (this._tokenization = new Tokenization(this._options));
|
|
4082
4311
|
}
|
|
4312
|
+
get temporal() {
|
|
4313
|
+
return this._temporal ?? (this._temporal = new Temporal(this._options));
|
|
4314
|
+
}
|
|
4315
|
+
get assets() {
|
|
4316
|
+
return this._assets ?? (this._assets = new Assets(this._options));
|
|
4317
|
+
}
|
|
4083
4318
|
};
|
|
4084
4319
|
|
|
4085
4320
|
exports.OumlaSdkApi = api_exports;
|