ecobackend-sdk 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +85 -0
- package/dist/.tsbuildinfo +1 -0
- package/dist/clients/ai.client.d.ts +9 -0
- package/dist/clients/ai.client.d.ts.map +1 -0
- package/dist/clients/ai.client.js +9 -0
- package/dist/clients/blockchain.client.d.ts +9 -0
- package/dist/clients/blockchain.client.d.ts.map +1 -0
- package/dist/clients/blockchain.client.js +9 -0
- package/dist/clients/eco.client.d.ts +9 -0
- package/dist/clients/eco.client.d.ts.map +1 -0
- package/dist/clients/eco.client.js +9 -0
- package/dist/clients/eco1155-signer.client.d.ts +66 -0
- package/dist/clients/eco1155-signer.client.d.ts.map +1 -0
- package/dist/clients/eco1155-signer.client.js +220 -0
- package/dist/clients/entity.client.d.ts +9 -0
- package/dist/clients/entity.client.d.ts.map +1 -0
- package/dist/clients/entity.client.js +9 -0
- package/dist/clients/index.d.ts +11 -0
- package/dist/clients/index.d.ts.map +1 -0
- package/dist/clients/index.js +10 -0
- package/dist/clients/payment.client.d.ts +9 -0
- package/dist/clients/payment.client.d.ts.map +1 -0
- package/dist/clients/payment.client.js +9 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +8 -0
- package/dist/models/Blockchain.Models.d.ts +83 -0
- package/dist/models/Blockchain.Models.d.ts.map +1 -0
- package/dist/models/Blockchain.Models.js +3 -0
- package/dist/models/Eco.Models.d.ts +248 -0
- package/dist/models/Eco.Models.d.ts.map +1 -0
- package/dist/models/Eco.Models.js +3 -0
- package/dist/models/Entity.Models.d.ts +66 -0
- package/dist/models/Entity.Models.d.ts.map +1 -0
- package/dist/models/Entity.Models.js +3 -0
- package/dist/models/Payment.Models.d.ts +38 -0
- package/dist/models/Payment.Models.d.ts.map +1 -0
- package/dist/models/Payment.Models.js +3 -0
- package/dist/models/ai.models.d.ts +120 -0
- package/dist/models/ai.models.d.ts.map +1 -0
- package/dist/models/ai.models.js +3 -0
- package/dist/models/index.d.ts +6 -0
- package/dist/models/index.d.ts.map +1 -0
- package/dist/models/index.js +5 -0
- package/dist/types/api.types.d.ts +27 -0
- package/dist/types/api.types.d.ts.map +1 -0
- package/dist/types/api.types.js +4 -0
- package/dist/types/index.d.ts +5 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/index.js +4 -0
- package/dist/utils/index.d.ts +14 -0
- package/dist/utils/index.d.ts.map +1 -0
- package/dist/utils/index.js +45 -0
- package/package.json +52 -0
package/README.md
ADDED
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
# EcoBackend SDK
|
|
2
|
+
|
|
3
|
+
TypeScript SDK for EcoBackend microservices providing type-safe clients for AI, Blockchain, Eco, Entity, and Payment APIs.
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm install ecobackend-sdk
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Usage
|
|
12
|
+
|
|
13
|
+
### Eco1155 Signer Client
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { Eco1155SignerClient } from 'ecobackend-sdk';
|
|
17
|
+
|
|
18
|
+
const client = new Eco1155SignerClient({
|
|
19
|
+
baseUrl: 'http://localhost:5003',
|
|
20
|
+
apiKey: 'your-api-key',
|
|
21
|
+
timeout: 30000 // optional
|
|
22
|
+
});
|
|
23
|
+
|
|
24
|
+
try {
|
|
25
|
+
const response = await client.createMintWithSignature({
|
|
26
|
+
addressToMint: '0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266',
|
|
27
|
+
id: 1
|
|
28
|
+
}, 'user-id');
|
|
29
|
+
|
|
30
|
+
console.log('Mint successful:', response.data);
|
|
31
|
+
} catch (error) {
|
|
32
|
+
if (error instanceof Eco1155ApiError) {
|
|
33
|
+
console.error('API Error:', error.apiMessage);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
## API Clients
|
|
39
|
+
|
|
40
|
+
- **Eco1155SignerClient**: Create blockchain NFT mints with signatures
|
|
41
|
+
- More clients coming soon...
|
|
42
|
+
|
|
43
|
+
## Features
|
|
44
|
+
|
|
45
|
+
- 🔷 **Type Safety**: Full TypeScript support with generated types
|
|
46
|
+
- 🛡️ **Error Handling**: Structured error responses with `Eco1155ApiError`
|
|
47
|
+
- ⚡ **Performance**: Efficient HTTP client with timeout support
|
|
48
|
+
- 📝 **Validation**: Input validation for Ethereum addresses and data
|
|
49
|
+
- 🔍 **Debugging**: Detailed error messages and status codes
|
|
50
|
+
|
|
51
|
+
## Error Handling
|
|
52
|
+
|
|
53
|
+
The SDK uses structured error handling:
|
|
54
|
+
|
|
55
|
+
```typescript
|
|
56
|
+
import { Eco1155ApiError } from 'ecobackend-sdk';
|
|
57
|
+
|
|
58
|
+
try {
|
|
59
|
+
await client.createMintWithSignature(input, userId);
|
|
60
|
+
} catch (error) {
|
|
61
|
+
if (error instanceof Eco1155ApiError) {
|
|
62
|
+
console.log(`API Error ${error.statusCode}: ${error.apiMessage}`);
|
|
63
|
+
if (error.apiError) {
|
|
64
|
+
console.log('Details:', error.apiError);
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
## Development
|
|
71
|
+
|
|
72
|
+
```bash
|
|
73
|
+
# Build the SDK
|
|
74
|
+
npm run build
|
|
75
|
+
|
|
76
|
+
# Watch mode
|
|
77
|
+
npm run dev
|
|
78
|
+
|
|
79
|
+
# Type checking
|
|
80
|
+
npm run type-check
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
## License
|
|
84
|
+
|
|
85
|
+
MIT
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"fileNames":["../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../../node_modules/typescript/lib/lib.es2017.date.d.ts","../../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../../node_modules/axios/index.d.ts","../../../node_modules/auto-code-generator-client-ts/dist/types/types.d.ts","../../../node_modules/auto-code-generator-client-ts/dist/genericapiclient.d.ts","../../../node_modules/auto-code-generator-client-ts/dist/utility/tocamelcase.d.ts","../../../node_modules/auto-code-generator-client-ts/dist/utility/topascalcase.d.ts","../../../node_modules/auto-code-generator-client-ts/dist/utility/datefunctions.d.ts","../../../node_modules/auto-code-generator-client-ts/dist/utility/responsehandler.d.ts","../../../node_modules/auto-code-generator-client-ts/dist/utility/index.d.ts","../../../node_modules/auto-code-generator-client-ts/dist/index.d.ts","../src/models/ai.models.ts","../src/clients/ai.client.ts","../src/models/blockchain.models.ts","../src/clients/blockchain.client.ts","../src/models/eco.models.ts","../src/clients/eco.client.ts","../src/clients/eco1155-signer.client.ts","../src/models/entity.models.ts","../src/clients/entity.client.ts","../src/models/payment.models.ts","../src/clients/payment.client.ts","../src/clients/index.ts","../src/models/index.ts","../src/types/api.types.ts","../src/types/index.ts","../src/utils/index.ts","../src/index.ts","../node_modules/@types/node/compatibility/disposable.d.ts","../node_modules/@types/node/compatibility/indexable.d.ts","../node_modules/@types/node/compatibility/iterators.d.ts","../node_modules/@types/node/compatibility/index.d.ts","../node_modules/@types/node/globals.typedarray.d.ts","../node_modules/@types/node/buffer.buffer.d.ts","../node_modules/@types/node/globals.d.ts","../node_modules/@types/node/web-globals/abortcontroller.d.ts","../node_modules/@types/node/web-globals/domexception.d.ts","../node_modules/@types/node/web-globals/events.d.ts","../../../node_modules/buffer/index.d.ts","../node_modules/undici-types/header.d.ts","../node_modules/undici-types/readable.d.ts","../node_modules/undici-types/file.d.ts","../node_modules/undici-types/fetch.d.ts","../node_modules/undici-types/formdata.d.ts","../node_modules/undici-types/connector.d.ts","../node_modules/undici-types/client.d.ts","../node_modules/undici-types/errors.d.ts","../node_modules/undici-types/dispatcher.d.ts","../node_modules/undici-types/global-dispatcher.d.ts","../node_modules/undici-types/global-origin.d.ts","../node_modules/undici-types/pool-stats.d.ts","../node_modules/undici-types/pool.d.ts","../node_modules/undici-types/handlers.d.ts","../node_modules/undici-types/balanced-pool.d.ts","../node_modules/undici-types/agent.d.ts","../node_modules/undici-types/mock-interceptor.d.ts","../node_modules/undici-types/mock-agent.d.ts","../node_modules/undici-types/mock-client.d.ts","../node_modules/undici-types/mock-pool.d.ts","../node_modules/undici-types/mock-errors.d.ts","../node_modules/undici-types/proxy-agent.d.ts","../node_modules/undici-types/env-http-proxy-agent.d.ts","../node_modules/undici-types/retry-handler.d.ts","../node_modules/undici-types/retry-agent.d.ts","../node_modules/undici-types/api.d.ts","../node_modules/undici-types/interceptors.d.ts","../node_modules/undici-types/util.d.ts","../node_modules/undici-types/cookies.d.ts","../node_modules/undici-types/patch.d.ts","../node_modules/undici-types/websocket.d.ts","../node_modules/undici-types/eventsource.d.ts","../node_modules/undici-types/filereader.d.ts","../node_modules/undici-types/diagnostics-channel.d.ts","../node_modules/undici-types/content-type.d.ts","../node_modules/undici-types/cache.d.ts","../node_modules/undici-types/index.d.ts","../node_modules/@types/node/web-globals/fetch.d.ts","../node_modules/@types/node/assert.d.ts","../node_modules/@types/node/assert/strict.d.ts","../node_modules/@types/node/async_hooks.d.ts","../node_modules/@types/node/buffer.d.ts","../node_modules/@types/node/child_process.d.ts","../node_modules/@types/node/cluster.d.ts","../node_modules/@types/node/console.d.ts","../node_modules/@types/node/constants.d.ts","../node_modules/@types/node/crypto.d.ts","../node_modules/@types/node/dgram.d.ts","../node_modules/@types/node/diagnostics_channel.d.ts","../node_modules/@types/node/dns.d.ts","../node_modules/@types/node/dns/promises.d.ts","../node_modules/@types/node/domain.d.ts","../node_modules/@types/node/events.d.ts","../node_modules/@types/node/fs.d.ts","../node_modules/@types/node/fs/promises.d.ts","../node_modules/@types/node/http.d.ts","../node_modules/@types/node/http2.d.ts","../node_modules/@types/node/https.d.ts","../node_modules/@types/node/inspector.generated.d.ts","../node_modules/@types/node/module.d.ts","../node_modules/@types/node/net.d.ts","../node_modules/@types/node/os.d.ts","../node_modules/@types/node/path.d.ts","../node_modules/@types/node/perf_hooks.d.ts","../node_modules/@types/node/process.d.ts","../node_modules/@types/node/punycode.d.ts","../node_modules/@types/node/querystring.d.ts","../node_modules/@types/node/readline.d.ts","../node_modules/@types/node/readline/promises.d.ts","../node_modules/@types/node/repl.d.ts","../node_modules/@types/node/sea.d.ts","../node_modules/@types/node/stream.d.ts","../node_modules/@types/node/stream/promises.d.ts","../node_modules/@types/node/stream/consumers.d.ts","../node_modules/@types/node/stream/web.d.ts","../node_modules/@types/node/string_decoder.d.ts","../node_modules/@types/node/test.d.ts","../node_modules/@types/node/timers.d.ts","../node_modules/@types/node/timers/promises.d.ts","../node_modules/@types/node/tls.d.ts","../node_modules/@types/node/trace_events.d.ts","../node_modules/@types/node/tty.d.ts","../node_modules/@types/node/url.d.ts","../node_modules/@types/node/util.d.ts","../node_modules/@types/node/v8.d.ts","../node_modules/@types/node/vm.d.ts","../node_modules/@types/node/wasi.d.ts","../node_modules/@types/node/worker_threads.d.ts","../node_modules/@types/node/zlib.d.ts","../node_modules/@types/node/index.d.ts"],"fileIdsList":[[46,47,77,124],[47,48,53,77,124],[77,124],[49,50,51,52,77,124],[46,77,124],[77,121,124],[77,123,124],[124],[77,124,129,157],[77,124,125,130,135,143,154,165],[77,124,125,126,135,143],[72,73,74,77,124],[77,124,127,166],[77,124,128,129,136,144],[77,124,129,154,162],[77,124,130,132,135,143],[77,123,124,131],[77,124,132,133],[77,124,134,135],[77,123,124,135],[77,124,135,136,137,154,165],[77,124,135,136,137,150,154,157],[77,124,132,135,138,143,154,165],[77,124,135,136,138,139,143,154,162,165],[77,124,138,140,154,162,165],[75,76,77,78,79,80,81,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171],[77,124,135,141],[77,124,142,165,170],[77,124,132,135,143,154],[77,124,144],[77,124,145],[77,123,124,146],[77,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171],[77,124,148],[77,124,149],[77,124,135,150,151],[77,124,150,152,166,168],[77,124,135,154,155,157],[77,124,156,157],[77,124,154,155],[77,124,157],[77,124,158],[77,121,124,154,159],[77,124,135,160,161],[77,124,160,161],[77,124,129,143,154,162],[77,124,163],[77,124,143,164],[77,124,138,149,165],[77,124,129,166],[77,124,154,167],[77,124,142,168],[77,124,169],[77,119,124],[77,119,124,135,137,146,154,157,165,168,170],[77,124,154,171],[77,91,95,124,165],[77,91,124,154,165],[77,86,124],[77,88,91,124,162,165],[77,124,143,162],[77,124,172],[77,86,124,172],[77,88,91,124,143,165],[77,83,84,87,90,124,135,154,165],[77,91,98,124],[77,83,89,124],[77,91,112,113,124],[77,87,91,124,157,165,172],[77,112,124,172],[77,85,86,124,172],[77,91,124],[77,85,86,87,88,89,90,91,92,93,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,113,114,115,116,117,118,124],[77,91,106,124],[77,91,98,99,124],[77,89,91,99,100,124],[77,90,124],[77,83,86,91,124],[77,91,95,99,100,124],[77,95,124],[77,89,91,94,124,165],[77,83,88,91,98,124],[77,124,154],[77,86,91,112,124,170,172],[54,55,77,124],[54,57,77,124],[54,59,77,124],[57,77,124],[54,62,77,124],[54,56,58,60,61,63,65,77,124],[54,64,77,124],[66,67,69,70,77,124],[55,57,59,62,64,77,124],[68,77,124]],"fileInfos":[{"version":"c430d44666289dae81f30fa7b2edebf186ecc91a2d4c71266ea6ae76388792e1","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"0559b1f683ac7505ae451f9a96ce4c3c92bdc71411651ca6ddb0e88baaaad6a3","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"fb0f136d372979348d59b3f5020b4cdb81b5504192b1cacff5d1fbba29378aa1","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"a680117f487a4d2f30ea46f1b4b7f58bef1480456e18ba53ee85c2746eeca012","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"d6d7ae4d1f1f3772e2a3cde568ed08991a8ae34a080ff1151af28b7f798e22ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"1c9800fbae1b443d77672e6d3e715df7280479b7c41f08cb790e750f01b50d90","impliedFormat":99},{"version":"21b8e29054fb91c673968103522ac4fd827223fd894d1e381290393506957d24","impliedFormat":99},{"version":"dc264fa54c3f85011b3af3bfe5bc558b2cae7ccf0b762b592c6f4e820488c2dc","impliedFormat":99},{"version":"35800f50a499fc6aeecf91fbd5b09371f8c60b9efb2b8e1f0526007c983f8096","impliedFormat":99},{"version":"9f2aec22f15452dade167210d5ec62a035c9329252bcddc1bf2d8e81eb23dbcd","impliedFormat":99},{"version":"f89eb5942187fd323508358c26aa55a14da74f54ee0e70c47020359ad1268823","impliedFormat":99},{"version":"66dae4cfc80b32c2d8006a27449b1dc6c1e9970f79b30939842ec02000f8140d","impliedFormat":99},{"version":"fa268522467f5825cdf9ed9b4ac32458a486e5fcda4262a16bb00b6c5eb2e3e6","impliedFormat":99},{"version":"8faf2d4a2f9b7c397535f0a53077eb7d90cc9c92f900cb73d992e1c05dc8e29c","impliedFormat":99},{"version":"4d533728ebb0cc046848dcdb7421d58ce823316d6147144de63743d2e56a4360","signature":"e6a3bdbde05b2aab7cd180e39cb46ed3fef4851632bfd0e230c73c3ab7b51b7b"},{"version":"7e3dad0a49676054fd7c018adc4716f9492f44557f7048bdd96be8d33a3c25cb","signature":"eee3342feb5db09b95ee51bc0e4264474489a6b3319166adb1279f7fac44d987"},{"version":"e01e92a9d09d913f8c06b6f3481e8ae5003b85e5727cc54857367b6857676448","signature":"1ca3916d8033c668117aa35e5da1884d84c8f81747e61f5db51d2af9cf3043ee"},{"version":"cf1f7c7b22be6f362a1fb0af08f0e3e2bf7aa4a6f69bfd0c7041a490b1c8d3cf","signature":"c9bf770a4c5e8dc6b5125e30c64b940d9cc121ed362d187fd7fa479323da1fe4"},{"version":"c906f90715170465da74be9ce74c13d73c2e30c0dcc7ba05f9440f3bac11a6d3","signature":"13515e6867ad65f1b8c0c75e2ccbef376ae176609b85816979e562de863ef1e7"},{"version":"8662cc0cb8e190f2bd7e45c5a605b1f7e3ea3402e53aebec5b37b52f03c153ab","signature":"e75f0ec896bfc71dbecf2b5f5ec9f170435d89314abf07e2499031c321aa04d2"},{"version":"1fc8d381030a9a3afbe0038b0bedf95cdc72b849014eafc08556c1cd0f291768","signature":"2c3b182593bf6bd7e215b0ec3b04baf661a4a53fbf3acea71e1eb7290bc9992c"},{"version":"65f5eb76ec90705435ba940823a791f21b28e2b558db9bd62f1a636b05ece00e","signature":"670205ac27a2bd7de15ef690e08b8b27d0abee37210542e233641febb37c8940"},{"version":"68b906fb9d7a6d07610bcb9634ebfbe3bb711fa459d05ba6d7379917c2832726","signature":"3ab8e74013c3308e747184197f71ef34e084bff0a05d7c9fa6301a36ae2f304a"},{"version":"fbe442a738f9c3ff7c0efaf8c1d6d76ae204c8c63b9d0d59ac5b5a9ba83c55e4","signature":"77bb6f47c6091956b6bf7b315ae074526d7d3a1d42f2b59dc998dcf7b4578f13"},{"version":"6e23bbd4ed66301fd8a02de091e5fd38e923fc6dcd1ecb90ca47e2d5fe7c6d1f","signature":"1916e7fb17e685cbb96ffea988ad78dc46183ee9b2472b01fa5d3fcfec9adf72"},{"version":"ff33707972d6187ef843af951e0e49201a8a894452ba409baacb029a8d160940","signature":"fe4edccada4a9b8aac5cbb40dc08c40bef08e46a2bb888d70048770f67d75c75"},{"version":"f2d0ede61a8e43180672814ea50224dd704f196e3a36143ccc23373a48c1b1d2","signature":"85067f8a2a12f5e6a9905e78d9b3cd2769c3ff4efade710acc5506aafa6b1f4a"},{"version":"8f9aa8912a10e109084fa60abe4e52253bfe6296246c5375f98c9201d6635be6","signature":"1914ce28477fcec26ea61502c1fca412143e6230f6f7e5b14eb18124977a658f"},{"version":"6a832469ecb6ea9d3736d3598d21b07999822a09973b1c1719856c105e1e1e62","signature":"eed6a06b559b7fe0b4416b9ec571f1f8abe20c47e935fcd7d89fc28c7eaf8ff5"},{"version":"94901dcb65b04b3fd2f9138cfc475431508a8c1c93b040ca3313ce7bc3e4560a","signature":"dc2f78d1d9df18000d8cca8d4b2defe52091afcd85547b43e2a850f3abd4c868"},{"version":"df162168e3f3c4c8d810d890f3b06e63a5729a81d64b8b09c440a5f871bd10f7","signature":"029db29d4f3a8278b12639694394dad0356405f57216b391c3617f1c6a0800c1"},{"version":"70521b6ab0dcba37539e5303104f29b721bfb2940b2776da4cc818c07e1fefc1","affectsGlobalScope":true,"impliedFormat":1},{"version":"ab41ef1f2cdafb8df48be20cd969d875602483859dc194e9c97c8a576892c052","affectsGlobalScope":true,"impliedFormat":1},{"version":"d153a11543fd884b596587ccd97aebbeed950b26933ee000f94009f1ab142848","affectsGlobalScope":true,"impliedFormat":1},{"version":"21d819c173c0cf7cc3ce57c3276e77fd9a8a01d35a06ad87158781515c9a438a","impliedFormat":1},{"version":"98cffbf06d6bab333473c70a893770dbe990783904002c4f1a960447b4b53dca","affectsGlobalScope":true,"impliedFormat":1},{"version":"ba481bca06f37d3f2c137ce343c7d5937029b2468f8e26111f3c9d9963d6568d","affectsGlobalScope":true,"impliedFormat":1},{"version":"6d9ef24f9a22a88e3e9b3b3d8c40ab1ddb0853f1bfbd5c843c37800138437b61","affectsGlobalScope":true,"impliedFormat":1},{"version":"1db0b7dca579049ca4193d034d835f6bfe73096c73663e5ef9a0b5779939f3d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"9798340ffb0d067d69b1ae5b32faa17ab31b82466a3fc00d8f2f2df0c8554aaa","affectsGlobalScope":true,"impliedFormat":1},{"version":"f26b11d8d8e4b8028f1c7d618b22274c892e4b0ef5b3678a8ccbad85419aef43","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e9c23ba78aabc2e0a27033f18737a6df754067731e69dc5f52823957d60a4b6","impliedFormat":1},{"version":"5929864ce17fba74232584d90cb721a89b7ad277220627cc97054ba15a98ea8f","impliedFormat":1},{"version":"763fe0f42b3d79b440a9b6e51e9ba3f3f91352469c1e4b3b67bfa4ff6352f3f4","impliedFormat":1},{"version":"25c8056edf4314820382a5fdb4bb7816999acdcb929c8f75e3f39473b87e85bc","impliedFormat":1},{"version":"c464d66b20788266e5353b48dc4aa6bc0dc4a707276df1e7152ab0c9ae21fad8","impliedFormat":1},{"version":"78d0d27c130d35c60b5e5566c9f1e5be77caf39804636bc1a40133919a949f21","impliedFormat":1},{"version":"c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","impliedFormat":1},{"version":"1d6e127068ea8e104a912e42fc0a110e2aa5a66a356a917a163e8cf9a65e4a75","impliedFormat":1},{"version":"5ded6427296cdf3b9542de4471d2aa8d3983671d4cac0f4bf9c637208d1ced43","impliedFormat":1},{"version":"7f182617db458e98fc18dfb272d40aa2fff3a353c44a89b2c0ccb3937709bfb5","impliedFormat":1},{"version":"cadc8aced301244057c4e7e73fbcae534b0f5b12a37b150d80e5a45aa4bebcbd","impliedFormat":1},{"version":"385aab901643aa54e1c36f5ef3107913b10d1b5bb8cbcd933d4263b80a0d7f20","impliedFormat":1},{"version":"9670d44354bab9d9982eca21945686b5c24a3f893db73c0dae0fd74217a4c219","impliedFormat":1},{"version":"0b8a9268adaf4da35e7fa830c8981cfa22adbbe5b3f6f5ab91f6658899e657a7","impliedFormat":1},{"version":"11396ed8a44c02ab9798b7dca436009f866e8dae3c9c25e8c1fbc396880bf1bb","impliedFormat":1},{"version":"ba7bc87d01492633cb5a0e5da8a4a42a1c86270e7b3d2dea5d156828a84e4882","impliedFormat":1},{"version":"4893a895ea92c85345017a04ed427cbd6a1710453338df26881a6019432febdd","impliedFormat":1},{"version":"c21dc52e277bcfc75fac0436ccb75c204f9e1b3fa5e12729670910639f27343e","impliedFormat":1},{"version":"13f6f39e12b1518c6650bbb220c8985999020fe0f21d818e28f512b7771d00f9","impliedFormat":1},{"version":"9b5369969f6e7175740bf51223112ff209f94ba43ecd3bb09eefff9fd675624a","impliedFormat":1},{"version":"4fe9e626e7164748e8769bbf74b538e09607f07ed17c2f20af8d680ee49fc1da","impliedFormat":1},{"version":"24515859bc0b836719105bb6cc3d68255042a9f02a6022b3187948b204946bd2","impliedFormat":1},{"version":"ea0148f897b45a76544ae179784c95af1bd6721b8610af9ffa467a518a086a43","impliedFormat":1},{"version":"24c6a117721e606c9984335f71711877293a9651e44f59f3d21c1ea0856f9cc9","impliedFormat":1},{"version":"dd3273ead9fbde62a72949c97dbec2247ea08e0c6952e701a483d74ef92d6a17","impliedFormat":1},{"version":"405822be75ad3e4d162e07439bac80c6bcc6dbae1929e179cf467ec0b9ee4e2e","impliedFormat":1},{"version":"0db18c6e78ea846316c012478888f33c11ffadab9efd1cc8bcc12daded7a60b6","impliedFormat":1},{"version":"e61be3f894b41b7baa1fbd6a66893f2579bfad01d208b4ff61daef21493ef0a8","impliedFormat":1},{"version":"bd0532fd6556073727d28da0edfd1736417a3f9f394877b6d5ef6ad88fba1d1a","impliedFormat":1},{"version":"89167d696a849fce5ca508032aabfe901c0868f833a8625d5a9c6e861ef935d2","impliedFormat":1},{"version":"615ba88d0128ed16bf83ef8ccbb6aff05c3ee2db1cc0f89ab50a4939bfc1943f","impliedFormat":1},{"version":"a4d551dbf8746780194d550c88f26cf937caf8d56f102969a110cfaed4b06656","impliedFormat":1},{"version":"8bd86b8e8f6a6aa6c49b71e14c4ffe1211a0e97c80f08d2c8cc98838006e4b88","impliedFormat":1},{"version":"317e63deeb21ac07f3992f5b50cdca8338f10acd4fbb7257ebf56735bf52ab00","impliedFormat":1},{"version":"4732aec92b20fb28c5fe9ad99521fb59974289ed1e45aecb282616202184064f","impliedFormat":1},{"version":"2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","impliedFormat":1},{"version":"c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","impliedFormat":1},{"version":"bf67d53d168abc1298888693338cb82854bdb2e69ef83f8a0092093c2d562107","impliedFormat":1},{"version":"2cbe0621042e2a68c7cbce5dfed3906a1862a16a7d496010636cdbdb91341c0f","affectsGlobalScope":true,"impliedFormat":1},{"version":"e2677634fe27e87348825bb041651e22d50a613e2fdf6a4a3ade971d71bac37e","impliedFormat":1},{"version":"7394959e5a741b185456e1ef5d64599c36c60a323207450991e7a42e08911419","impliedFormat":1},{"version":"8c0bcd6c6b67b4b503c11e91a1fb91522ed585900eab2ab1f61bba7d7caa9d6f","impliedFormat":1},{"version":"8cd19276b6590b3ebbeeb030ac271871b9ed0afc3074ac88a94ed2449174b776","affectsGlobalScope":true,"impliedFormat":1},{"version":"696eb8d28f5949b87d894b26dc97318ef944c794a9a4e4f62360cd1d1958014b","impliedFormat":1},{"version":"3f8fa3061bd7402970b399300880d55257953ee6d3cd408722cb9ac20126460c","impliedFormat":1},{"version":"35ec8b6760fd7138bbf5809b84551e31028fb2ba7b6dc91d95d098bf212ca8b4","affectsGlobalScope":true,"impliedFormat":1},{"version":"5524481e56c48ff486f42926778c0a3cce1cc85dc46683b92b1271865bcf015a","impliedFormat":1},{"version":"68bd56c92c2bd7d2339457eb84d63e7de3bd56a69b25f3576e1568d21a162398","affectsGlobalScope":true,"impliedFormat":1},{"version":"3e93b123f7c2944969d291b35fed2af79a6e9e27fdd5faa99748a51c07c02d28","impliedFormat":1},{"version":"9d19808c8c291a9010a6c788e8532a2da70f811adb431c97520803e0ec649991","impliedFormat":1},{"version":"87aad3dd9752067dc875cfaa466fc44246451c0c560b820796bdd528e29bef40","impliedFormat":1},{"version":"4aacb0dd020eeaef65426153686cc639a78ec2885dc72ad220be1d25f1a439df","impliedFormat":1},{"version":"f0bd7e6d931657b59605c44112eaf8b980ba7f957a5051ed21cb93d978cf2f45","impliedFormat":1},{"version":"8db0ae9cb14d9955b14c214f34dae1b9ef2baee2fe4ce794a4cd3ac2531e3255","affectsGlobalScope":true,"impliedFormat":1},{"version":"15fc6f7512c86810273af28f224251a5a879e4261b4d4c7e532abfbfc3983134","impliedFormat":1},{"version":"58adba1a8ab2d10b54dc1dced4e41f4e7c9772cbbac40939c0dc8ce2cdb1d442","impliedFormat":1},{"version":"2fd4c143eff88dabb57701e6a40e02a4dbc36d5eb1362e7964d32028056a782b","impliedFormat":1},{"version":"714435130b9015fae551788df2a88038471a5a11eb471f27c4ede86552842bc9","impliedFormat":1},{"version":"855cd5f7eb396f5f1ab1bc0f8580339bff77b68a770f84c6b254e319bbfd1ac7","impliedFormat":1},{"version":"5650cf3dace09e7c25d384e3e6b818b938f68f4e8de96f52d9c5a1b3db068e86","impliedFormat":1},{"version":"1354ca5c38bd3fd3836a68e0f7c9f91f172582ba30ab15bb8c075891b91502b7","affectsGlobalScope":true,"impliedFormat":1},{"version":"27fdb0da0daf3b337c5530c5f266efe046a6ceb606e395b346974e4360c36419","impliedFormat":1},{"version":"2d2fcaab481b31a5882065c7951255703ddbe1c0e507af56ea42d79ac3911201","impliedFormat":1},{"version":"a192fe8ec33f75edbc8d8f3ed79f768dfae11ff5735e7fe52bfa69956e46d78d","impliedFormat":1},{"version":"ca867399f7db82df981d6915bcbb2d81131d7d1ef683bc782b59f71dda59bc85","affectsGlobalScope":true,"impliedFormat":1},{"version":"d9e971bba9cf977c7774abbd4d2e3413a231af8a06a2e8b16af2a606bc91ddd0","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e043a1bc8fbf2a255bccf9bf27e0f1caf916c3b0518ea34aa72357c0afd42ec","impliedFormat":1},{"version":"b4f70ec656a11d570e1a9edce07d118cd58d9760239e2ece99306ee9dfe61d02","impliedFormat":1},{"version":"3bc2f1e2c95c04048212c569ed38e338873f6a8593930cf5a7ef24ffb38fc3b6","impliedFormat":1},{"version":"6e70e9570e98aae2b825b533aa6292b6abd542e8d9f6e9475e88e1d7ba17c866","impliedFormat":1},{"version":"f9d9d753d430ed050dc1bf2667a1bab711ccbb1c1507183d794cc195a5b085cc","impliedFormat":1},{"version":"9eece5e586312581ccd106d4853e861aaaa1a39f8e3ea672b8c3847eedd12f6e","impliedFormat":1},{"version":"47ab634529c5955b6ad793474ae188fce3e6163e3a3fb5edd7e0e48f14435333","impliedFormat":1},{"version":"37ba7b45141a45ce6e80e66f2a96c8a5ab1bcef0fc2d0f56bb58df96ec67e972","impliedFormat":1},{"version":"45650f47bfb376c8a8ed39d4bcda5902ab899a3150029684ee4c10676d9fbaee","impliedFormat":1},{"version":"0225ecb9ed86bdb7a2c7fd01f1556906902929377b44483dc4b83e03b3ef227d","affectsGlobalScope":true,"impliedFormat":1},{"version":"74cf591a0f63db318651e0e04cb55f8791385f86e987a67fd4d2eaab8191f730","impliedFormat":1},{"version":"5eab9b3dc9b34f185417342436ec3f106898da5f4801992d8ff38ab3aff346b5","impliedFormat":1},{"version":"12ed4559eba17cd977aa0db658d25c4047067444b51acfdcbf38470630642b23","affectsGlobalScope":true,"impliedFormat":1},{"version":"f3ffabc95802521e1e4bcba4c88d8615176dc6e09111d920c7a213bdda6e1d65","impliedFormat":1},{"version":"f9ab232778f2842ffd6955f88b1049982fa2ecb764d129ee4893cbc290f41977","impliedFormat":1},{"version":"ae56f65caf3be91108707bd8dfbccc2a57a91feb5daabf7165a06a945545ed26","impliedFormat":1},{"version":"a136d5de521da20f31631a0a96bf712370779d1c05b7015d7019a9b2a0446ca9","impliedFormat":1},{"version":"c3b41e74b9a84b88b1dca61ec39eee25c0dbc8e7d519ba11bb070918cfacf656","affectsGlobalScope":true,"impliedFormat":1},{"version":"4737a9dc24d0e68b734e6cfbcea0c15a2cfafeb493485e27905f7856988c6b29","affectsGlobalScope":true,"impliedFormat":1},{"version":"36d8d3e7506b631c9582c251a2c0b8a28855af3f76719b12b534c6edf952748d","impliedFormat":1},{"version":"1ca69210cc42729e7ca97d3a9ad48f2e9cb0042bada4075b588ae5387debd318","impliedFormat":1},{"version":"f5ebe66baaf7c552cfa59d75f2bfba679f329204847db3cec385acda245e574e","impliedFormat":1},{"version":"ed59add13139f84da271cafd32e2171876b0a0af2f798d0c663e8eeb867732cf","affectsGlobalScope":true,"impliedFormat":1},{"version":"05db535df8bdc30d9116fe754a3473d1b6479afbc14ae8eb18b605c62677d518","impliedFormat":1},{"version":"b1810689b76fd473bd12cc9ee219f8e62f54a7d08019a235d07424afbf074d25","impliedFormat":1}],"root":[[55,71]],"options":{"composite":true,"declaration":true,"declarationMap":true,"esModuleInterop":true,"module":99,"outDir":"./","rootDir":"../src","skipLibCheck":true,"strict":true,"target":7,"tsBuildInfoFile":"./.tsbuildinfo"},"referencedMap":[[48,1],[54,2],[47,3],[51,3],[53,4],[52,5],[49,3],[50,3],[46,3],[82,3],[44,3],[45,3],[9,3],[8,3],[2,3],[10,3],[11,3],[12,3],[13,3],[14,3],[15,3],[16,3],[17,3],[3,3],[18,3],[19,3],[4,3],[20,3],[24,3],[21,3],[22,3],[23,3],[25,3],[26,3],[27,3],[5,3],[28,3],[29,3],[30,3],[31,3],[6,3],[35,3],[32,3],[33,3],[34,3],[36,3],[7,3],[37,3],[42,3],[43,3],[38,3],[39,3],[40,3],[41,3],[1,3],[121,6],[122,6],[123,7],[77,8],[124,9],[125,10],[126,11],[72,3],[75,12],[73,3],[74,3],[127,13],[128,14],[129,15],[130,16],[131,17],[132,18],[133,18],[134,19],[135,20],[136,21],[137,22],[78,3],[76,3],[138,23],[139,24],[140,25],[172,26],[141,27],[142,28],[143,29],[144,30],[145,31],[146,32],[147,33],[148,34],[149,35],[150,36],[151,36],[152,37],[153,3],[154,38],[156,39],[155,40],[157,41],[158,42],[159,43],[160,44],[161,45],[162,46],[163,47],[164,48],[165,49],[166,50],[167,51],[168,52],[169,53],[79,3],[80,3],[81,3],[120,54],[170,55],[171,56],[98,57],[108,58],[97,57],[118,59],[89,60],[88,61],[117,62],[111,63],[116,64],[91,65],[105,66],[90,67],[114,68],[86,69],[85,62],[115,70],[87,71],[92,72],[93,3],[96,72],[83,3],[119,73],[109,74],[100,75],[101,76],[103,77],[99,78],[102,79],[112,62],[94,80],[95,81],[104,82],[84,83],[107,74],[106,72],[110,3],[113,84],[56,85],[58,86],[60,87],[61,88],[63,89],[66,90],[65,91],[71,92],[55,3],[57,3],[59,3],[62,3],[67,93],[64,3],[68,3],[69,94],[70,3]],"latestChangedDtsFile":"./index.d.ts","version":"5.9.3"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { GenericApiClient } from 'auto-code-generator-client-ts';
|
|
2
|
+
import { TravelPreference, TravelPreferenceUpdate, TravelPreferencePreview } from '../models/ai.models';
|
|
3
|
+
/**
|
|
4
|
+
* AI API Client
|
|
5
|
+
*/
|
|
6
|
+
export declare class AIClient extends GenericApiClient<TravelPreference, string, TravelPreferencePreview, TravelPreference, TravelPreferenceUpdate, TravelPreference> {
|
|
7
|
+
constructor(baseUrl: string, apiKey: string);
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=ai.client.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ai.client.d.ts","sourceRoot":"","sources":["../../src/clients/ai.client.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACjE,OAAO,EAAE,gBAAgB,EAAyB,sBAAsB,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAC;AAE/H;;GAEG;AAEH,qBAAa,QAAS,SAAQ,gBAAgB,CAAC,gBAAgB,EAAE,MAAM,EAAE,uBAAuB,EAAE,gBAAgB,EAAE,sBAAsB,EAAE,gBAAgB,CAAC;gBAC/I,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM;CAG5C"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { GenericApiClient } from 'auto-code-generator-client-ts';
|
|
2
|
+
import { Badge, BadgeWrite, BadgeUpdate } from '../models/Blockchain.Models';
|
|
3
|
+
/**
|
|
4
|
+
* Blockchain API Client
|
|
5
|
+
*/
|
|
6
|
+
export declare class BlockchainClient extends GenericApiClient<Badge, string, BadgeWrite, Badge, BadgeUpdate, Badge> {
|
|
7
|
+
constructor(baseUrl: string, apiKey: string);
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=blockchain.client.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"blockchain.client.d.ts","sourceRoot":"","sources":["../../src/clients/blockchain.client.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACjE,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAE7E;;GAEG;AAEH,qBAAa,gBAAiB,SAAQ,gBAAgB,CAAC,KAAK,EAAE,MAAM,EAAE,UAAU,EAAE,KAAK,EAAE,WAAW,EAAE,KAAK,CAAC;gBAC9F,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM;CAG5C"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { GenericApiClient } from 'auto-code-generator-client-ts';
|
|
2
|
+
import { Activity, ActivityWrite, ActivityUpdate } from '../models/Eco.Models';
|
|
3
|
+
/**
|
|
4
|
+
* Eco API Client
|
|
5
|
+
*/
|
|
6
|
+
export declare class EcoClient extends GenericApiClient<Activity, string, ActivityWrite, Activity, ActivityUpdate, Activity> {
|
|
7
|
+
constructor(baseUrl: string, apiKey: string);
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=eco.client.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eco.client.d.ts","sourceRoot":"","sources":["../../src/clients/eco.client.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACjE,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAE/E;;GAEG;AAEH,qBAAa,SAAU,SAAQ,gBAAgB,CAAC,QAAQ,EAAE,MAAM,EAAE,aAAa,EAAE,QAAQ,EAAE,cAAc,EAAE,QAAQ,CAAC;gBACtG,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM;CAG5C"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { CreateMintWithSignatureInput, CreateMintWithSignatureResponse } from '../models/Blockchain.Models';
|
|
2
|
+
/**
|
|
3
|
+
* Configuration options for Eco1155SignerClient
|
|
4
|
+
*/
|
|
5
|
+
export interface Eco1155SignerClientConfig {
|
|
6
|
+
baseUrl: string;
|
|
7
|
+
apiKey: string;
|
|
8
|
+
timeout?: number;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Custom error class for API errors
|
|
12
|
+
*/
|
|
13
|
+
export declare class Eco1155ApiError extends Error {
|
|
14
|
+
readonly statusCode: number;
|
|
15
|
+
readonly apiMessage: string;
|
|
16
|
+
readonly apiError?: string;
|
|
17
|
+
constructor(statusCode: number, message: string, error?: string);
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Eco1155 Signer API Client
|
|
21
|
+
* Provides type-safe methods for interacting with ECO1155 signature endpoints
|
|
22
|
+
*/
|
|
23
|
+
export declare class Eco1155SignerClient {
|
|
24
|
+
private readonly baseUrl;
|
|
25
|
+
private readonly apiKey;
|
|
26
|
+
private readonly timeout;
|
|
27
|
+
constructor(config: Eco1155SignerClientConfig);
|
|
28
|
+
/**
|
|
29
|
+
* Creates a mint with ECO1155 signature
|
|
30
|
+
* @param input - Data for creating the mint with signature
|
|
31
|
+
* @param userId - Optional user ID (can be passed in header X-User-Id for testing)
|
|
32
|
+
* @returns Promise with transaction hash or created mint ID
|
|
33
|
+
* @throws {Eco1155ApiError} When API returns an error
|
|
34
|
+
* @throws {Error} When network or parsing errors occur
|
|
35
|
+
*/
|
|
36
|
+
createMintWithSignature(input: CreateMintWithSignatureInput, userId?: string): Promise<CreateMintWithSignatureResponse>;
|
|
37
|
+
/**
|
|
38
|
+
* Validates the input parameters
|
|
39
|
+
*/
|
|
40
|
+
private validateInput;
|
|
41
|
+
/**
|
|
42
|
+
* Builds request headers
|
|
43
|
+
*/
|
|
44
|
+
private buildHeaders;
|
|
45
|
+
/**
|
|
46
|
+
* Builds request body as JSON string
|
|
47
|
+
*/
|
|
48
|
+
private buildRequestBody;
|
|
49
|
+
/**
|
|
50
|
+
* Executes HTTP request with timeout
|
|
51
|
+
*/
|
|
52
|
+
private executeRequest;
|
|
53
|
+
/**
|
|
54
|
+
* Parses and validates the API response
|
|
55
|
+
*/
|
|
56
|
+
private parseResponse;
|
|
57
|
+
/**
|
|
58
|
+
* Gets the configured base URL
|
|
59
|
+
*/
|
|
60
|
+
getBaseUrl(): string;
|
|
61
|
+
/**
|
|
62
|
+
* Gets the configured timeout in milliseconds
|
|
63
|
+
*/
|
|
64
|
+
getTimeout(): number;
|
|
65
|
+
}
|
|
66
|
+
//# sourceMappingURL=eco1155-signer.client.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eco1155-signer.client.d.ts","sourceRoot":"","sources":["../../src/clients/eco1155-signer.client.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,4BAA4B,EAAE,+BAA+B,EAAE,MAAM,6BAA6B,CAAC;AAE5G;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACxC,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAqBD;;GAEG;AACH,qBAAa,eAAgB,SAAQ,KAAK;IACxC,SAAgB,UAAU,EAAE,MAAM,CAAC;IACnC,SAAgB,UAAU,EAAE,MAAM,CAAC;IACnC,SAAgB,QAAQ,CAAC,EAAE,MAAM,CAAC;gBAEtB,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,MAAM;CAYhE;AAgCD;;;GAGG;AACH,qBAAa,mBAAmB;IAC9B,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAS;IACjC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAS;IAChC,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAS;gBAErB,MAAM,EAAE,yBAAyB;IAa7C;;;;;;;OAOG;IACG,uBAAuB,CAC3B,KAAK,EAAE,4BAA4B,EACnC,MAAM,CAAC,EAAE,MAAM,GACd,OAAO,CAAC,+BAA+B,CAAC;IAoB3C;;OAEG;IACH,OAAO,CAAC,aAAa;IAkBrB;;OAEG;IACH,OAAO,CAAC,YAAY;IAiBpB;;OAEG;IACH,OAAO,CAAC,gBAAgB;IAOxB;;OAEG;YACW,cAAc;IAwB5B;;OAEG;YACW,aAAa;IAqF3B;;OAEG;IACI,UAAU,IAAI,MAAM;IAI3B;;OAEG;IACI,UAAU,IAAI,MAAM;CAG5B"}
|
|
@@ -0,0 +1,220 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Custom error class for API errors
|
|
3
|
+
*/
|
|
4
|
+
export class Eco1155ApiError extends Error {
|
|
5
|
+
constructor(statusCode, message, error) {
|
|
6
|
+
super(`API Error (${statusCode}): ${message}`);
|
|
7
|
+
this.name = 'Eco1155ApiError';
|
|
8
|
+
this.statusCode = statusCode;
|
|
9
|
+
this.apiMessage = message;
|
|
10
|
+
this.apiError = error;
|
|
11
|
+
// Maintains proper stack trace for where our error was thrown (only available on V8)
|
|
12
|
+
if (Error.captureStackTrace) {
|
|
13
|
+
Error.captureStackTrace(this, Eco1155ApiError);
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Type guard to check if response is an error response
|
|
19
|
+
*/
|
|
20
|
+
function isApiErrorResponse(data) {
|
|
21
|
+
return (typeof data === 'object' &&
|
|
22
|
+
data !== null &&
|
|
23
|
+
'success' in data &&
|
|
24
|
+
typeof data.success === 'boolean' &&
|
|
25
|
+
'message' in data &&
|
|
26
|
+
typeof data.message === 'string');
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Type guard to check if response is a valid success response
|
|
30
|
+
*/
|
|
31
|
+
function isValidMintResponse(data) {
|
|
32
|
+
return (typeof data === 'object' &&
|
|
33
|
+
data !== null &&
|
|
34
|
+
'success' in data &&
|
|
35
|
+
typeof data.success === 'boolean' &&
|
|
36
|
+
'message' in data &&
|
|
37
|
+
typeof data.message === 'string' &&
|
|
38
|
+
'data' in data &&
|
|
39
|
+
typeof data.data === 'string');
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* Eco1155 Signer API Client
|
|
43
|
+
* Provides type-safe methods for interacting with ECO1155 signature endpoints
|
|
44
|
+
*/
|
|
45
|
+
export class Eco1155SignerClient {
|
|
46
|
+
constructor(config) {
|
|
47
|
+
if (!config.baseUrl) {
|
|
48
|
+
throw new Error('baseUrl is required');
|
|
49
|
+
}
|
|
50
|
+
if (!config.apiKey) {
|
|
51
|
+
throw new Error('apiKey is required');
|
|
52
|
+
}
|
|
53
|
+
this.baseUrl = config.baseUrl.replace(/\/$/, ''); // Remove trailing slash
|
|
54
|
+
this.apiKey = config.apiKey;
|
|
55
|
+
this.timeout = config.timeout ?? 30000; // Default 30 seconds
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Creates a mint with ECO1155 signature
|
|
59
|
+
* @param input - Data for creating the mint with signature
|
|
60
|
+
* @param userId - Optional user ID (can be passed in header X-User-Id for testing)
|
|
61
|
+
* @returns Promise with transaction hash or created mint ID
|
|
62
|
+
* @throws {Eco1155ApiError} When API returns an error
|
|
63
|
+
* @throws {Error} When network or parsing errors occur
|
|
64
|
+
*/
|
|
65
|
+
async createMintWithSignature(input, userId) {
|
|
66
|
+
// Validate input
|
|
67
|
+
this.validateInput(input);
|
|
68
|
+
// Build request
|
|
69
|
+
const url = `${this.baseUrl}/api/Eco1155Signer/create-mint`;
|
|
70
|
+
const headers = this.buildHeaders(userId);
|
|
71
|
+
const body = this.buildRequestBody(input);
|
|
72
|
+
// Execute request with timeout
|
|
73
|
+
const response = await this.executeRequest(url, {
|
|
74
|
+
method: 'POST',
|
|
75
|
+
headers,
|
|
76
|
+
body,
|
|
77
|
+
});
|
|
78
|
+
// Parse and validate response
|
|
79
|
+
return await this.parseResponse(response);
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* Validates the input parameters
|
|
83
|
+
*/
|
|
84
|
+
validateInput(input) {
|
|
85
|
+
if (!input) {
|
|
86
|
+
throw new Error('Input is required');
|
|
87
|
+
}
|
|
88
|
+
if (!input.addressToMint || typeof input.addressToMint !== 'string') {
|
|
89
|
+
throw new Error('addressToMint is required and must be a string');
|
|
90
|
+
}
|
|
91
|
+
if (!input.addressToMint.match(/^0x[a-fA-F0-9]{40}$/)) {
|
|
92
|
+
throw new Error('addressToMint must be a valid Ethereum address (0x followed by 40 hex characters)');
|
|
93
|
+
}
|
|
94
|
+
if (typeof input.id !== 'number' || input.id < 0 || !Number.isInteger(input.id)) {
|
|
95
|
+
throw new Error('id is required and must be a non-negative integer');
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
/**
|
|
99
|
+
* Builds request headers
|
|
100
|
+
*/
|
|
101
|
+
buildHeaders(userId) {
|
|
102
|
+
const headers = {
|
|
103
|
+
'Content-Type': 'application/json',
|
|
104
|
+
'Accept': 'application/json',
|
|
105
|
+
'secret': this.apiKey,
|
|
106
|
+
};
|
|
107
|
+
if (userId) {
|
|
108
|
+
if (typeof userId !== 'string' || userId.trim().length === 0) {
|
|
109
|
+
throw new Error('userId must be a non-empty string');
|
|
110
|
+
}
|
|
111
|
+
headers['X-User-Id'] = userId;
|
|
112
|
+
}
|
|
113
|
+
return headers;
|
|
114
|
+
}
|
|
115
|
+
/**
|
|
116
|
+
* Builds request body as JSON string
|
|
117
|
+
*/
|
|
118
|
+
buildRequestBody(input) {
|
|
119
|
+
return JSON.stringify({
|
|
120
|
+
addressToMint: input.addressToMint,
|
|
121
|
+
id: input.id,
|
|
122
|
+
});
|
|
123
|
+
}
|
|
124
|
+
/**
|
|
125
|
+
* Executes HTTP request with timeout
|
|
126
|
+
*/
|
|
127
|
+
async executeRequest(url, options) {
|
|
128
|
+
const controller = new AbortController();
|
|
129
|
+
const timeoutId = setTimeout(() => controller.abort(), this.timeout);
|
|
130
|
+
try {
|
|
131
|
+
const response = await fetch(url, {
|
|
132
|
+
...options,
|
|
133
|
+
signal: controller.signal,
|
|
134
|
+
});
|
|
135
|
+
return response;
|
|
136
|
+
}
|
|
137
|
+
catch (error) {
|
|
138
|
+
if (error instanceof Error) {
|
|
139
|
+
if (error.name === 'AbortError') {
|
|
140
|
+
throw new Error(`Request timeout after ${this.timeout}ms`);
|
|
141
|
+
}
|
|
142
|
+
throw new Error(`Network error: ${error.message}`);
|
|
143
|
+
}
|
|
144
|
+
throw new Error('Unknown network error occurred');
|
|
145
|
+
}
|
|
146
|
+
finally {
|
|
147
|
+
clearTimeout(timeoutId);
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
/**
|
|
151
|
+
* Parses and validates the API response
|
|
152
|
+
*/
|
|
153
|
+
async parseResponse(response) {
|
|
154
|
+
let data;
|
|
155
|
+
let responseText;
|
|
156
|
+
try {
|
|
157
|
+
responseText = await response.text();
|
|
158
|
+
if (!responseText || responseText.trim().length === 0) {
|
|
159
|
+
throw new Eco1155ApiError(response.status, 'Empty response received from server', undefined);
|
|
160
|
+
}
|
|
161
|
+
// Try to parse as JSON
|
|
162
|
+
try {
|
|
163
|
+
data = JSON.parse(responseText);
|
|
164
|
+
}
|
|
165
|
+
catch (jsonError) {
|
|
166
|
+
// If not JSON and response is not ok, it's likely an HTML error page
|
|
167
|
+
if (!response.ok) {
|
|
168
|
+
// Extract error message from HTML if possible
|
|
169
|
+
let errorMessage = `HTTP ${response.status}: ${response.statusText}`;
|
|
170
|
+
// Try to extract meaningful error from HTML (simple approach)
|
|
171
|
+
if (responseText.includes('ArgumentException') && responseText.includes('not mintable')) {
|
|
172
|
+
errorMessage = 'NFT with the given ID is not mintable';
|
|
173
|
+
}
|
|
174
|
+
else if (responseText.toLowerCase().includes('error')) {
|
|
175
|
+
errorMessage = `Server error (${response.status})`;
|
|
176
|
+
}
|
|
177
|
+
throw new Eco1155ApiError(response.status, errorMessage, 'HTML_RESPONSE');
|
|
178
|
+
}
|
|
179
|
+
// If response is ok but not JSON, that's unexpected
|
|
180
|
+
throw new Error('Invalid JSON response from server');
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
catch (error) {
|
|
184
|
+
// If it's already an Eco1155ApiError, re-throw it
|
|
185
|
+
if (error instanceof Eco1155ApiError) {
|
|
186
|
+
throw error;
|
|
187
|
+
}
|
|
188
|
+
// For other errors during text reading
|
|
189
|
+
throw new Error(`Failed to read response: ${error instanceof Error ? error.message : 'Unknown error'}`);
|
|
190
|
+
}
|
|
191
|
+
// Handle error responses
|
|
192
|
+
if (!response.ok) {
|
|
193
|
+
if (isApiErrorResponse(data)) {
|
|
194
|
+
throw new Eco1155ApiError(response.status, data.message, data.error);
|
|
195
|
+
}
|
|
196
|
+
throw new Eco1155ApiError(response.status, `HTTP ${response.status}: ${response.statusText}`, undefined);
|
|
197
|
+
}
|
|
198
|
+
// Validate success response structure
|
|
199
|
+
if (!isValidMintResponse(data)) {
|
|
200
|
+
throw new Error('Invalid response format from server');
|
|
201
|
+
}
|
|
202
|
+
// Additional validation: check success flag
|
|
203
|
+
if (!data.success) {
|
|
204
|
+
throw new Eco1155ApiError(response.status, data.message, 'data' in data ? String(data.data) : undefined);
|
|
205
|
+
}
|
|
206
|
+
return data;
|
|
207
|
+
}
|
|
208
|
+
/**
|
|
209
|
+
* Gets the configured base URL
|
|
210
|
+
*/
|
|
211
|
+
getBaseUrl() {
|
|
212
|
+
return this.baseUrl;
|
|
213
|
+
}
|
|
214
|
+
/**
|
|
215
|
+
* Gets the configured timeout in milliseconds
|
|
216
|
+
*/
|
|
217
|
+
getTimeout() {
|
|
218
|
+
return this.timeout;
|
|
219
|
+
}
|
|
220
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { GenericApiClient } from 'auto-code-generator-client-ts';
|
|
2
|
+
import { MerchantPreview, MerchantWrite, MerchantUpdate, MerchantSearch } from '../models/Entity.Models';
|
|
3
|
+
/**
|
|
4
|
+
* Entity API Client
|
|
5
|
+
*/
|
|
6
|
+
export declare class EntityClient extends GenericApiClient<MerchantPreview, string, MerchantPreview, MerchantSearch, MerchantWrite, MerchantUpdate> {
|
|
7
|
+
constructor(baseUrl: string, apiKey: string);
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=entity.client.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"entity.client.d.ts","sourceRoot":"","sources":["../../src/clients/entity.client.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACjE,OAAO,EAAE,eAAe,EAAE,aAAa,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAEzG;;GAEG;AAEH,qBAAa,YAAa,SAAQ,gBAAgB,CAAC,eAAe,EAAE,MAAM,EAAE,eAAe,EAAE,cAAc,EAAE,aAAa,EAAE,cAAc,CAAC;gBAC7H,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM;CAG5C"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Export all clients
|
|
3
|
+
*/
|
|
4
|
+
export { GenericApiClient } from 'auto-code-generator-client-ts';
|
|
5
|
+
export { AIClient } from './ai.client';
|
|
6
|
+
export { BlockchainClient } from './blockchain.client';
|
|
7
|
+
export { EcoClient } from './eco.client';
|
|
8
|
+
export { Eco1155SignerClient, Eco1155ApiError } from './eco1155-signer.client';
|
|
9
|
+
export { EntityClient } from './entity.client';
|
|
10
|
+
export { PaymentClient } from './payment.client';
|
|
11
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/clients/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAEjE,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,mBAAmB,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAC/E,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,aAAa,EAAC,MAAM,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Export all clients
|
|
3
|
+
*/
|
|
4
|
+
export { GenericApiClient } from 'auto-code-generator-client-ts';
|
|
5
|
+
export { AIClient } from './ai.client';
|
|
6
|
+
export { BlockchainClient } from './blockchain.client';
|
|
7
|
+
export { EcoClient } from './eco.client';
|
|
8
|
+
export { Eco1155SignerClient, Eco1155ApiError } from './eco1155-signer.client';
|
|
9
|
+
export { EntityClient } from './entity.client';
|
|
10
|
+
export { PaymentClient } from './payment.client';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { GenericApiClient } from 'auto-code-generator-client-ts';
|
|
2
|
+
import { OnlinePayment, OnlinePaymentWrite, OnlinePaymentUpdate } from '../models/Payment.Models';
|
|
3
|
+
/**
|
|
4
|
+
* Payment API Client
|
|
5
|
+
*/
|
|
6
|
+
export declare class PaymentClient extends GenericApiClient<OnlinePayment, string, OnlinePaymentWrite, OnlinePayment, OnlinePaymentUpdate, OnlinePayment> {
|
|
7
|
+
constructor(baseUrl: string, apiKey: string);
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=payment.client.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"payment.client.d.ts","sourceRoot":"","sources":["../../src/clients/payment.client.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACjE,OAAO,EAAE,aAAa,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAElG;;GAEG;AAEH,qBAAa,aAAc,SAAQ,gBAAgB,CAAC,aAAa,EAAE,MAAM,EAAE,kBAAkB,EAAE,aAAa,EAAE,mBAAmB,EAAE,aAAa,CAAC;gBACnI,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM;CAG5C"}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC"}
|