@faiber/faiber-messenger 0.2.1 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +37 -12
- package/dist/.tsbuildinfo +1 -1
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +8 -4
- package/dist/index.js.map +1 -1
- package/dist/operations.d.ts +65 -0
- package/dist/operations.d.ts.map +1 -0
- package/dist/operations.js +124 -0
- package/dist/operations.js.map +1 -0
- package/dist/operations.types.d.ts +351 -0
- package/dist/operations.types.d.ts.map +1 -0
- package/dist/operations.types.js +2 -0
- package/dist/operations.types.js.map +1 -0
- package/package.json +20 -1
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @faiber/faiber-messenger
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Notification dispatch and inboxes, templates and localized content, channels, providers, subscriptions, dashboard metrics, and integration metadata.
|
|
4
4
|
|
|
5
5
|
## Install
|
|
6
6
|
|
|
@@ -8,7 +8,7 @@ Typed, framework-neutral TypeScript client for Faiber notifications, templates,
|
|
|
8
8
|
npm install @faiber/faiber-messenger
|
|
9
9
|
```
|
|
10
10
|
|
|
11
|
-
##
|
|
11
|
+
## Configure
|
|
12
12
|
|
|
13
13
|
```ts
|
|
14
14
|
import { FaiberClient, MemoryTokenProvider } from "@faiber/sdk-core";
|
|
@@ -22,23 +22,48 @@ const client = new FaiberClient("messenger", {
|
|
|
22
22
|
});
|
|
23
23
|
const api = new MessengerApi(client);
|
|
24
24
|
|
|
25
|
-
await api.
|
|
25
|
+
const sent = await api.send({
|
|
26
|
+
recipient_id: userId,
|
|
27
|
+
template: "membership-expiring",
|
|
28
|
+
data: { days: 3 },
|
|
29
|
+
});
|
|
30
|
+
await api.operations.notificationNotificationsMarkReadPatch(notificationId);
|
|
26
31
|
```
|
|
27
32
|
|
|
28
|
-
|
|
33
|
+
## Complete capability
|
|
29
34
|
|
|
30
|
-
|
|
35
|
+
This package exposes 30 registered operations from the messaging service. Common workflows have concise methods on `api`; every registered backend route is also available as a named function on `api.operations`. Generated operation input, query, response, path, verb, and permission contracts are exported from `operations.types`.
|
|
31
36
|
|
|
32
|
-
|
|
37
|
+
| Area | Operations | HTTP methods |
|
|
38
|
+
|---|---:|---|
|
|
39
|
+
| `channel` | 6 | `DELETE`, `GET`, `PATCH`, `POST` |
|
|
40
|
+
| `dashboard` | 1 | `GET` |
|
|
41
|
+
| `integration` | 3 | `GET` |
|
|
42
|
+
| `notification` | 4 | `GET`, `PATCH`, `POST` |
|
|
43
|
+
| `router` | 3 | `GET` |
|
|
44
|
+
| `service` | 5 | `DELETE`, `GET`, `PATCH`, `POST` |
|
|
45
|
+
| `template` | 8 | `DELETE`, `GET`, `PATCH`, `POST` |
|
|
33
46
|
|
|
34
|
-
|
|
47
|
+
Template content has its own create/update/list routes. Notification read state uses the dedicated PATCH operation rather than generic notification CRUD.
|
|
48
|
+
|
|
49
|
+
## Authentication and authorization
|
|
50
|
+
|
|
51
|
+
Use a `TokenProvider` to forward the signed-in user's Bearer token, or enable `withCredentials` for secure HttpOnly cookie sessions. Permission requirements copied from service route guards are included in each operation's JSDoc. The SDK does not embed API keys, credentials, localhost URLs, sandbox hosts, or production hosts.
|
|
52
|
+
|
|
53
|
+
## Inputs, queries, responses, and transport
|
|
35
54
|
|
|
36
|
-
Axios
|
|
55
|
+
All methods return the complete Axios response, including status, headers, and request IDs. Request bodies and query objects are named exported interfaces. Nested pagination uses keys such as `page[number]` and `page[size]` where required by the service. Standard Axios request options, headers, timeouts, adapters, interceptors, and `AbortSignal` cancellation are supported as the final argument.
|
|
56
|
+
|
|
57
|
+
Generic REST resources are capability-guarded. Calling a legacy method that the service does not register throws `UnsupportedOperationError` before sending a request instead of producing a backend `405`.
|
|
58
|
+
|
|
59
|
+
## Errors and cancellation
|
|
37
60
|
|
|
38
61
|
```ts
|
|
39
|
-
|
|
62
|
+
try {
|
|
63
|
+
await api.client.get("/health", undefined, { signal: AbortSignal.timeout(5_000) });
|
|
64
|
+
} catch (error) {
|
|
65
|
+
// Axios errors retain response.status and the service error body.
|
|
66
|
+
}
|
|
40
67
|
```
|
|
41
68
|
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
Install `@faiber/faiber-ts-sdk` when an application uses multiple Faiber services. The complete package provides shared configuration, authentication, uploads, and error handling across services.
|
|
69
|
+
Use `@faiber/faiber-ts-sdk` when one application needs multiple Faiber services with one configuration.
|
package/dist/.tsbuildinfo
CHANGED
|
@@ -1 +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.es2021.d.ts","../../../node_modules/typescript/lib/lib.es2022.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.dom.iterable.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.es2021.promise.d.ts","../../../node_modules/typescript/lib/lib.es2021.string.d.ts","../../../node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../node_modules/typescript/lib/lib.es2022.array.d.ts","../../../node_modules/typescript/lib/lib.es2022.error.d.ts","../../../node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../node_modules/typescript/lib/lib.es2022.object.d.ts","../../../node_modules/typescript/lib/lib.es2022.string.d.ts","../../../node_modules/typescript/lib/lib.es2022.regexp.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","../../core/dist/types.d.ts","../../core/dist/env.d.ts","../../core/dist/auth.d.ts","../../core/dist/client.d.ts","../../core/dist/resource.d.ts","../../core/dist/openapi.d.ts","../../core/dist/index.d.ts","../src/types.ts","../src/index.ts"],"fileIdsList":[[61],[60,61],[60,61,62,63,64,65,66],[60,61,64],[60],[67,68],[67]],"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":"feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","impliedFormat":1},{"version":"ee7bad0c15b58988daa84371e0b89d313b762ab83cb5b31b8a2d1162e8eb41c2","impliedFormat":1},{"version":"080941d9f9ff9307f7e27a83bcd888b7c8270716c39af943532438932ec1d0b9","affectsGlobalScope":true,"impliedFormat":1},{"version":"2e80ee7a49e8ac312cc11b77f1475804bee36b3b2bc896bead8b6e1266befb43","affectsGlobalScope":true,"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":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true,"impliedFormat":1},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true,"impliedFormat":1},{"version":"959d36cddf5e7d572a65045b876f2956c973a586da58e5d26cde519184fd9b8a","affectsGlobalScope":true,"impliedFormat":1},{"version":"965f36eae237dd74e6cca203a43e9ca801ce38824ead814728a2807b1910117d","affectsGlobalScope":true,"impliedFormat":1},{"version":"3925a6c820dcb1a06506c90b1577db1fdbf7705d65b62b99dce4be75c637e26b","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a3d63ef2b853447ec4f749d3f368ce642264246e02911fcb1590d8c161b8005","affectsGlobalScope":true,"impliedFormat":1},{"version":"8cdf8847677ac7d20486e54dd3fcf09eda95812ac8ace44b4418da1bbbab6eb8","affectsGlobalScope":true,"impliedFormat":1},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true,"impliedFormat":1},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true,"impliedFormat":1},{"version":"b4b67b1a91182421f5df999988c690f14d813b9850b40acd06ed44691f6727ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"2343ec253c90c370449755739733f5f429f58cffdb51a50977bb4a042012fa8f","impliedFormat":99},{"version":"138724776c2b7fdf331300e22dfdfb8890d0400164f4996c02062e4e5d117927","impliedFormat":99},{"version":"82065c5512d8d6f81b26cf13ea9ecd3e558be9560f7b5c62260858219ecd87f7","impliedFormat":99},{"version":"ed17ed1b2bcf384c88bc6cec6b427989b98db99fc7ad35a50605501a463bbc53","impliedFormat":99},{"version":"82bf4efcca8ab8764a91ac126c0af605ab6717ee94b2316461b5fa388b27e165","impliedFormat":99},{"version":"b060635c1b555ff21aa5bab5b038e15d67700d6bec6738323a443715931589f1","impliedFormat":99},{"version":"98cf7f2f15a4c87fca87c49b72e140b49ad079ff077d157ee81a9466173854ba","impliedFormat":99},{"version":"66a0cb4d019dd780c2fb5c2942778929ec55715bb5a0f3b80aac4c0b92e35d16","impliedFormat":99},{"version":"7664ecbeb98143fd57dd084ccf415e2567b70e1301e19f9866c0e5b10d3f548f","impliedFormat":99},{"version":"f41e9edf0ab992d61151cc16c1e8b977e0fd8ea5067c3400c4d60973fbaa3df1","signature":"3021f4203871f735537b069b5dcf80b3c3301851d8856cb46b55a38b936d4510","impliedFormat":99}],"root":[68,69],"options":{"composite":true,"declaration":true,"declarationMap":true,"exactOptionalPropertyTypes":true,"module":199,"noUncheckedIndexedAccess":true,"outDir":"./","rootDir":"../src","skipLibCheck":true,"sourceMap":true,"strict":true,"target":9,"tsBuildInfoFile":"./.tsbuildinfo","verbatimModuleSyntax":true},"referencedMap":[[63,1],[64,2],[62,1],[67,3],[66,4],[65,4],[61,5],[69,6],[68,7]],"latestChangedDtsFile":"./index.d.ts","version":"5.9.3"}
|
|
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.es2021.d.ts","../../../node_modules/typescript/lib/lib.es2022.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.dom.iterable.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.es2021.promise.d.ts","../../../node_modules/typescript/lib/lib.es2021.string.d.ts","../../../node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../node_modules/typescript/lib/lib.es2022.array.d.ts","../../../node_modules/typescript/lib/lib.es2022.error.d.ts","../../../node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../node_modules/typescript/lib/lib.es2022.object.d.ts","../../../node_modules/typescript/lib/lib.es2022.string.d.ts","../../../node_modules/typescript/lib/lib.es2022.regexp.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","../../core/dist/types.d.ts","../../core/dist/env.d.ts","../../core/dist/auth.d.ts","../../core/dist/client.d.ts","../../core/dist/resource.d.ts","../../core/dist/openapi.d.ts","../../core/dist/index.d.ts","../src/types.ts","../src/operations.types.ts","../src/operations.ts","../src/index.ts"],"fileIdsList":[[61],[60,61],[60,61,62,63,64,65,66],[60,61,64],[60],[67,68,69,70],[67,69],[67]],"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":"feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","impliedFormat":1},{"version":"ee7bad0c15b58988daa84371e0b89d313b762ab83cb5b31b8a2d1162e8eb41c2","impliedFormat":1},{"version":"080941d9f9ff9307f7e27a83bcd888b7c8270716c39af943532438932ec1d0b9","affectsGlobalScope":true,"impliedFormat":1},{"version":"2e80ee7a49e8ac312cc11b77f1475804bee36b3b2bc896bead8b6e1266befb43","affectsGlobalScope":true,"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":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true,"impliedFormat":1},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true,"impliedFormat":1},{"version":"959d36cddf5e7d572a65045b876f2956c973a586da58e5d26cde519184fd9b8a","affectsGlobalScope":true,"impliedFormat":1},{"version":"965f36eae237dd74e6cca203a43e9ca801ce38824ead814728a2807b1910117d","affectsGlobalScope":true,"impliedFormat":1},{"version":"3925a6c820dcb1a06506c90b1577db1fdbf7705d65b62b99dce4be75c637e26b","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a3d63ef2b853447ec4f749d3f368ce642264246e02911fcb1590d8c161b8005","affectsGlobalScope":true,"impliedFormat":1},{"version":"8cdf8847677ac7d20486e54dd3fcf09eda95812ac8ace44b4418da1bbbab6eb8","affectsGlobalScope":true,"impliedFormat":1},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true,"impliedFormat":1},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true,"impliedFormat":1},{"version":"b4b67b1a91182421f5df999988c690f14d813b9850b40acd06ed44691f6727ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"2343ec253c90c370449755739733f5f429f58cffdb51a50977bb4a042012fa8f","impliedFormat":99},{"version":"5b81964e79efc458d4927699a2c08c0953c55bff6441f34ea10a61046fef7dcc","impliedFormat":99},{"version":"82065c5512d8d6f81b26cf13ea9ecd3e558be9560f7b5c62260858219ecd87f7","impliedFormat":99},{"version":"ed17ed1b2bcf384c88bc6cec6b427989b98db99fc7ad35a50605501a463bbc53","impliedFormat":99},{"version":"82bf4efcca8ab8764a91ac126c0af605ab6717ee94b2316461b5fa388b27e165","impliedFormat":99},{"version":"82ffc9a1d95766c8f6f6bb4316b1d83e9d6a1d4ec41057d1a897cca70176bfc1","impliedFormat":99},{"version":"3f5eeb0a84713ccf640b9a6af4629e006f59d7629abc3fc95af2efb062fd0b83","impliedFormat":99},{"version":"66a0cb4d019dd780c2fb5c2942778929ec55715bb5a0f3b80aac4c0b92e35d16","impliedFormat":99},{"version":"7664ecbeb98143fd57dd084ccf415e2567b70e1301e19f9866c0e5b10d3f548f","impliedFormat":99},{"version":"258e9333948c2971be94631f67e38ccef9088713f61c423b3441f1d472c45575","signature":"8bb0f0a7bb5abede9c845cb62a67ac3ebbef4bdb1b0f26ce7d38b2d35b12af0d","impliedFormat":99},{"version":"9c9a290a0dbb50a435f1b71f556be38621e646180424086fa4a1de5b158884ee","signature":"d0236fd8538f7dc100fe4d3d55d3c1f13dec07bd7774baef0e6e4abdfd22f029","impliedFormat":99},{"version":"383f9eeb9dd7c9d4d70c0743fc246b6675eae64c09840df8ae08644fe92bbdfa","signature":"6d8313570840f30f440e188e64e1359a408137203062af797136476a8b8a1dab","impliedFormat":99}],"root":[[68,71]],"options":{"composite":true,"declaration":true,"declarationMap":true,"exactOptionalPropertyTypes":true,"module":199,"noUncheckedIndexedAccess":true,"outDir":"./","rootDir":"../src","skipLibCheck":true,"sourceMap":true,"strict":true,"target":9,"tsBuildInfoFile":"./.tsbuildinfo","verbatimModuleSyntax":true},"referencedMap":[[63,1],[64,2],[62,1],[67,3],[66,4],[65,4],[61,5],[71,6],[70,7],[69,8],[68,8]],"latestChangedDtsFile":"./index.d.ts","version":"5.9.3"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { RestResource, ServiceApi, type RequestOptions } from "@faiber/sdk-core";
|
|
2
2
|
import type * as T from "./types.js";
|
|
3
|
+
import { MessengerOperations } from "./operations.js";
|
|
3
4
|
export declare class MessengerApi extends ServiceApi {
|
|
5
|
+
readonly operations: MessengerOperations;
|
|
4
6
|
readonly templates: RestResource<T.MessageTemplate, T.CreateMessageTemplateInput, T.UpdateMessageTemplateInput, T.TemplateListResponse, T.TemplateResponse>;
|
|
5
7
|
readonly channels: RestResource<T.Channel, T.CreateChannelInput, T.UpdateChannelInput, T.ChannelListResponse, T.ChannelResponse>;
|
|
6
8
|
readonly providers: RestResource<T.DeliveryProvider, T.CreateDeliveryProviderInput, T.UpdateDeliveryProviderInput, T.ProviderListResponse, T.ProviderResponse>;
|
|
@@ -12,4 +14,6 @@ export declare class MessengerApi extends ServiceApi {
|
|
|
12
14
|
}
|
|
13
15
|
export * from "./types.js";
|
|
14
16
|
export * from "@faiber/sdk-core";
|
|
17
|
+
export * from "./operations.js";
|
|
18
|
+
export * from "./operations.types.js";
|
|
15
19
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,KAAK,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACjF,OAAO,KAAK,KAAK,CAAC,MAAM,YAAY,CAAC;AACrC,qBAAa,YAAa,SAAQ,UAAU;IACxC,QAAQ,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,KAAK,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACjF,OAAO,KAAK,KAAK,CAAC,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AACtD,qBAAa,YAAa,SAAQ,UAAU;IACxC,QAAQ,CAAC,UAAU,sBAAwC;IAC3D,QAAQ,CAAC,SAAS,0IAAgP;IAClQ,QAAQ,CAAC,QAAQ,gHAAqN;IACtO,QAAQ,CAAC,SAAS,6IAAkP;IACpQ,QAAQ,CAAC,aAAa,mHAAyM;IAC/N,SAAS,CAAC,OAAO,CAAC,EAAE,cAAc;IAClC,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC,qBAAqB,EAAE,OAAO,CAAC,EAAE,cAAc,CAAC,CAAC,CAAC,qBAAqB,CAAC;IACrF,SAAS,CAAC,IAAI,EAAE,CAAC,CAAC,qBAAqB,EAAE,OAAO,CAAC,EAAE,cAAc,CAAC,CAAC,CAAC,qBAAqB,CAAC;IAC1F,gBAAgB,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc;CACxD;AACD,cAAc,YAAY,CAAC;AAC3B,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,uBAAuB,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { RestResource, ServiceApi } from "@faiber/sdk-core";
|
|
2
|
+
import { MessengerOperations } from "./operations.js";
|
|
2
3
|
export class MessengerApi extends ServiceApi {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
operations = new MessengerOperations(this.client);
|
|
5
|
+
templates = new RestResource(this.client, "/api/v1/templates", { supported: ["list", "show", "create", "update", "delete"] });
|
|
6
|
+
channels = new RestResource(this.client, "/api/v1/channels", { supported: ["list", "show", "create", "update", "delete"] });
|
|
7
|
+
providers = new RestResource(this.client, "/api/v1/services", { supported: ["list", "show", "create", "update", "delete"] });
|
|
8
|
+
notifications = new RestResource(this.client, "/api/v1/notifications", { supported: ["list", "show", "create"] });
|
|
7
9
|
dashboard(options) { return this.client.get("/api/v1/dashboard", undefined, options); }
|
|
8
10
|
send(data, options) { return this.client.post("/api/v1/notifications", data, options); }
|
|
9
11
|
subscribe(data, options) { return this.client.post("/api/v1/channels/subscribe", data, options); }
|
|
@@ -11,4 +13,6 @@ export class MessengerApi extends ServiceApi {
|
|
|
11
13
|
}
|
|
12
14
|
export * from "./types.js";
|
|
13
15
|
export * from "@faiber/sdk-core";
|
|
16
|
+
export * from "./operations.js";
|
|
17
|
+
export * from "./operations.types.js";
|
|
14
18
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,UAAU,EAAuB,MAAM,kBAAkB,CAAC;AAEjF,MAAM,OAAO,YAAa,SAAQ,UAAU;IAC/B,SAAS,GAAG,IAAI,YAAY,CAA4H,IAAI,CAAC,MAAM,EAAE,mBAAmB,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,UAAU,EAAuB,MAAM,kBAAkB,CAAC;AAEjF,OAAO,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AACtD,MAAM,OAAO,YAAa,SAAQ,UAAU;IAC/B,UAAU,GAAG,IAAI,mBAAmB,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IAClD,SAAS,GAAG,IAAI,YAAY,CAA4H,IAAI,CAAC,MAAM,EAAE,mBAAmB,EAAE,EAAE,SAAS,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,CAAC,EAAE,CAAC,CAAC;IACzP,QAAQ,GAAG,IAAI,YAAY,CAAkG,IAAI,CAAC,MAAM,EAAE,kBAAkB,EAAE,EAAE,SAAS,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,CAAC,EAAE,CAAC,CAAC;IAC7N,SAAS,GAAG,IAAI,YAAY,CAA+H,IAAI,CAAC,MAAM,EAAE,kBAAkB,EAAE,EAAE,SAAS,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,CAAC,EAAE,CAAC,CAAC;IAC3P,aAAa,GAAG,IAAI,YAAY,CAAqG,IAAI,CAAC,MAAM,EAAE,uBAAuB,EAAE,EAAE,SAAS,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,CAAC,CAAC;IAC/N,SAAS,CAAC,OAAwB,IAAI,OAAO,IAAI,CAAC,MAAM,CAAC,GAAG,CAAsB,mBAAmB,EAAE,SAAS,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC;IAC7H,IAAI,CAAC,IAA6B,EAAE,OAAiD,IAAI,OAAO,IAAI,CAAC,MAAM,CAAC,IAAI,CAAsD,uBAAuB,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC;IAChN,SAAS,CAAC,IAA6B,EAAE,OAAiD,IAAI,OAAO,IAAI,CAAC,MAAM,CAAC,IAAI,CAAsD,4BAA4B,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC;IAC1N,gBAAgB,CAAC,EAAU,EAAE,OAAwB,IAAI,OAAO,IAAI,CAAC,MAAM,CAAC,GAAG,CAA6B,qBAAqB,kBAAkB,CAAC,EAAE,CAAC,WAAW,EAAE,SAAS,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC;CAC7L;AACD,cAAc,YAAY,CAAC;AAC3B,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,uBAAuB,CAAC"}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { ServiceApi, type Identifier, type RequestOptions } from "@faiber/sdk-core";
|
|
2
|
+
import type * as T from "./operations.types.js";
|
|
3
|
+
export declare class MessengerOperations extends ServiceApi {
|
|
4
|
+
/** GET /api/openapi.json; permission: public/session-derived. */
|
|
5
|
+
routerOpenapiJsonGet(options?: RequestOptions): Promise<import("axios").AxiosResponse<T.RouterOpenapiJsonGetResponse, unknown, {}>>;
|
|
6
|
+
/** GET /api/v1/channels; permission: admin:channel:read. */
|
|
7
|
+
channelChannelsIndexGet(options?: RequestOptions): Promise<import("axios").AxiosResponse<T.ChannelChannelsIndexGetResponse, unknown, {}>>;
|
|
8
|
+
/** POST /api/v1/channels; permission: admin:channel:create. */
|
|
9
|
+
channelChannelsCreatePost(data: T.ChannelChannelsCreatePostInput, options?: RequestOptions<T.ChannelChannelsCreatePostInput>): Promise<import("axios").AxiosResponse<T.ChannelChannelsCreatePostResponse, T.ChannelChannelsCreatePostInput, {}>>;
|
|
10
|
+
/** DELETE /api/v1/channels/{id}; permission: admin:channel:delete. */
|
|
11
|
+
channelChannelsDeleteDelete(id: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<T.ChannelChannelsDeleteDeleteResponse, unknown, {}>>;
|
|
12
|
+
/** GET /api/v1/channels/{id}; permission: admin:channel:read. */
|
|
13
|
+
channelChannelsShowGet(id: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<T.ChannelChannelsShowGetResponse, unknown, {}>>;
|
|
14
|
+
/** PATCH /api/v1/channels/{id}; permission: admin:channel:update. */
|
|
15
|
+
channelChannelsUpdatePatch(id: Identifier, data: T.ChannelChannelsUpdatePatchInput, options?: RequestOptions<T.ChannelChannelsUpdatePatchInput>): Promise<import("axios").AxiosResponse<T.ChannelChannelsUpdatePatchResponse, T.ChannelChannelsUpdatePatchInput, {}>>;
|
|
16
|
+
/** POST /api/v1/channels/subscribe; permission: public/session-derived. */
|
|
17
|
+
channelChannelsSubscribePost(data: T.ChannelChannelsSubscribePostInput, options?: RequestOptions<T.ChannelChannelsSubscribePostInput>): Promise<import("axios").AxiosResponse<T.ChannelChannelsSubscribePostResponse, T.ChannelChannelsSubscribePostInput, {}>>;
|
|
18
|
+
/** GET /api/v1/dashboard; permission: admin:dashboard:read. */
|
|
19
|
+
dashboardDashboardShowGet(options?: RequestOptions): Promise<import("axios").AxiosResponse<T.DashboardDashboardShowGetResponse, unknown, {}>>;
|
|
20
|
+
/** GET /api/v1/integration/docs; permission: admin:integration:read. */
|
|
21
|
+
integrationIntegrationDocsShowGet(options?: RequestOptions): Promise<import("axios").AxiosResponse<T.IntegrationIntegrationDocsShowGetResponse, unknown, {}>>;
|
|
22
|
+
/** GET /api/v1/integration/flow; permission: public/session-derived. */
|
|
23
|
+
integrationFlowIntegrationShowGet(options?: RequestOptions): Promise<import("axios").AxiosResponse<T.IntegrationFlowIntegrationShowGetResponse, unknown, {}>>;
|
|
24
|
+
/** GET /api/v1/integration/rabbitmq; permission: admin:integration:read. */
|
|
25
|
+
integrationRabbitmqIntegrationShowGet(options?: RequestOptions): Promise<import("axios").AxiosResponse<T.IntegrationRabbitmqIntegrationShowGetResponse, unknown, {}>>;
|
|
26
|
+
/** GET /api/v1/notifications; permission: admin:notification:read. */
|
|
27
|
+
notificationNotificationsIndexGet(params?: T.NotificationNotificationsIndexGetQuery, options?: RequestOptions): Promise<import("axios").AxiosResponse<T.NotificationNotificationsIndexGetResponse, unknown, {}>>;
|
|
28
|
+
/** POST /api/v1/notifications; permission: public/session-derived. */
|
|
29
|
+
notificationNotificationsSendPost(data: T.NotificationNotificationsSendPostInput, options?: RequestOptions<T.NotificationNotificationsSendPostInput>): Promise<import("axios").AxiosResponse<T.NotificationNotificationsSendPostResponse, T.NotificationNotificationsSendPostInput, {}>>;
|
|
30
|
+
/** GET /api/v1/notifications/{id}; permission: admin:notification:read. */
|
|
31
|
+
notificationNotificationsShowGet(id: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<T.NotificationNotificationsShowGetResponse, unknown, {}>>;
|
|
32
|
+
/** PATCH /api/v1/notifications/{id}/read; permission: admin:notification:read. */
|
|
33
|
+
notificationNotificationsMarkReadPatch(id: Identifier, params?: T.NotificationNotificationsMarkReadPatchQuery, options?: RequestOptions): Promise<import("axios").AxiosResponse<T.NotificationNotificationsMarkReadPatchResponse, unknown, {}>>;
|
|
34
|
+
/** GET /api/v1/services; permission: admin:service:read. */
|
|
35
|
+
serviceServicesIndexGet(options?: RequestOptions): Promise<import("axios").AxiosResponse<T.ServiceServicesIndexGetResponse, unknown, {}>>;
|
|
36
|
+
/** POST /api/v1/services; permission: admin:service:create. */
|
|
37
|
+
serviceServicesCreatePost(data: T.ServiceServicesCreatePostInput, options?: RequestOptions<T.ServiceServicesCreatePostInput>): Promise<import("axios").AxiosResponse<T.ServiceServicesCreatePostResponse, T.ServiceServicesCreatePostInput, {}>>;
|
|
38
|
+
/** DELETE /api/v1/services/{id}; permission: admin:service:delete. */
|
|
39
|
+
serviceServicesDeleteDelete(id: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<T.ServiceServicesDeleteDeleteResponse, unknown, {}>>;
|
|
40
|
+
/** GET /api/v1/services/{id}; permission: admin:service:read. */
|
|
41
|
+
serviceServicesShowGet(id: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<T.ServiceServicesShowGetResponse, unknown, {}>>;
|
|
42
|
+
/** PATCH /api/v1/services/{id}; permission: admin:service:update. */
|
|
43
|
+
serviceServicesUpdatePatch(id: Identifier, data: T.ServiceServicesUpdatePatchInput, options?: RequestOptions<T.ServiceServicesUpdatePatchInput>): Promise<import("axios").AxiosResponse<T.ServiceServicesUpdatePatchResponse, T.ServiceServicesUpdatePatchInput, {}>>;
|
|
44
|
+
/** GET /api/v1/templates; permission: admin:template:read. */
|
|
45
|
+
templateTemplatesIndexGet(options?: RequestOptions): Promise<import("axios").AxiosResponse<T.TemplateTemplatesIndexGetResponse, unknown, {}>>;
|
|
46
|
+
/** POST /api/v1/templates; permission: admin:template:create. */
|
|
47
|
+
templateTemplatesCreatePost(data: T.TemplateTemplatesCreatePostInput, options?: RequestOptions<T.TemplateTemplatesCreatePostInput>): Promise<import("axios").AxiosResponse<T.TemplateTemplatesCreatePostResponse, T.TemplateTemplatesCreatePostInput, {}>>;
|
|
48
|
+
/** DELETE /api/v1/templates/{id}; permission: admin:template:delete. */
|
|
49
|
+
templateTemplatesDeleteDelete(id: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<T.TemplateTemplatesDeleteDeleteResponse, unknown, {}>>;
|
|
50
|
+
/** GET /api/v1/templates/{id}; permission: admin:template:read. */
|
|
51
|
+
templateTemplatesShowGet(id: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<T.TemplateTemplatesShowGetResponse, unknown, {}>>;
|
|
52
|
+
/** PATCH /api/v1/templates/{id}; permission: admin:template:update. */
|
|
53
|
+
templateTemplatesUpdatePatch(id: Identifier, data: T.TemplateTemplatesUpdatePatchInput, options?: RequestOptions<T.TemplateTemplatesUpdatePatchInput>): Promise<import("axios").AxiosResponse<T.TemplateTemplatesUpdatePatchResponse, T.TemplateTemplatesUpdatePatchInput, {}>>;
|
|
54
|
+
/** GET /api/v1/templates/{id}/contents; permission: admin:template:read. */
|
|
55
|
+
templateTemplateContentsIndexGet(id: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<T.TemplateTemplateContentsIndexGetResponse, unknown, {}>>;
|
|
56
|
+
/** POST /api/v1/templates/{id}/contents; permission: admin:template:create_content. */
|
|
57
|
+
templateTemplateContentsCreatePost(id: Identifier, data: T.TemplateTemplateContentsCreatePostInput, options?: RequestOptions<T.TemplateTemplateContentsCreatePostInput>): Promise<import("axios").AxiosResponse<T.TemplateTemplateContentsCreatePostResponse, T.TemplateTemplateContentsCreatePostInput, {}>>;
|
|
58
|
+
/** PATCH /api/v1/templates/contents/{content_id}; permission: admin:template:update_content. */
|
|
59
|
+
templateTemplateContentsUpdatePatch(contentId: Identifier, data: T.TemplateTemplateContentsUpdatePatchInput, options?: RequestOptions<T.TemplateTemplateContentsUpdatePatchInput>): Promise<import("axios").AxiosResponse<T.TemplateTemplateContentsUpdatePatchResponse, T.TemplateTemplateContentsUpdatePatchInput, {}>>;
|
|
60
|
+
/** GET /health; permission: public/session-derived. */
|
|
61
|
+
routerStatusRouteGetHealth(options?: RequestOptions): Promise<import("axios").AxiosResponse<T.RouterStatusRouteGetHealthResponse, unknown, {}>>;
|
|
62
|
+
/** GET /up; permission: public/session-derived. */
|
|
63
|
+
routerStatusRouteGetUp(options?: RequestOptions): Promise<import("axios").AxiosResponse<T.RouterStatusRouteGetUpResponse, unknown, {}>>;
|
|
64
|
+
}
|
|
65
|
+
//# sourceMappingURL=operations.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../src/operations.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAc,KAAK,UAAU,EAAE,KAAK,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAChG,OAAO,KAAK,KAAK,CAAC,MAAM,uBAAuB,CAAC;AAEhD,qBAAa,mBAAoB,SAAQ,UAAU;IACjD,iEAAiE;IACjE,oBAAoB,CAAC,OAAO,CAAC,EAAE,cAAc;IAG7C,4DAA4D;IAC5D,uBAAuB,CAAC,OAAO,CAAC,EAAE,cAAc;IAGhD,+DAA+D;IAC/D,yBAAyB,CAAC,IAAI,EAAE,CAAC,CAAC,8BAA8B,EAAE,OAAO,CAAC,EAAE,cAAc,CAAC,CAAC,CAAC,8BAA8B,CAAC;IAG5H,sEAAsE;IACtE,2BAA2B,CAAC,EAAE,EAAE,UAAU,EAAE,OAAO,CAAC,EAAE,cAAc;IAGpE,iEAAiE;IACjE,sBAAsB,CAAC,EAAE,EAAE,UAAU,EAAE,OAAO,CAAC,EAAE,cAAc;IAG/D,qEAAqE;IACrE,0BAA0B,CAAC,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE,CAAC,CAAC,+BAA+B,EAAE,OAAO,CAAC,EAAE,cAAc,CAAC,CAAC,CAAC,+BAA+B,CAAC;IAG/I,2EAA2E;IAC3E,4BAA4B,CAAC,IAAI,EAAE,CAAC,CAAC,iCAAiC,EAAE,OAAO,CAAC,EAAE,cAAc,CAAC,CAAC,CAAC,iCAAiC,CAAC;IAGr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AAyB,CAAC,OAAO,CAAC,EAAE,cAAc;IAGlD,iEAAiE;IACjE,2BAA2B,CAAC,IAAI,EAAE,CAAC,CAAC,gCAAgC,EAAE,OAAO,CAAC,EAAE,cAAc,CAAC,CAAC,CAAC,gCAAgC,CAAC;IAGlI,wEAAwE;IACxE,6BAA6B,CAAC,EAAE,EAAE,UAAU,EAAE,OAAO,CAAC,EAAE,cAAc;IAGtE,mEAAmE;IACnE,wBAAwB,CAAC,EAAE,EAAE,UAAU,EAAE,OAAO,CAAC,EAAE,cAAc;IAGjE,uEAAuE;IACvE,4BAA4B,CAAC,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE,CAAC,CAAC,iCAAiC,EAAE,OAAO,CAAC,EAAE,cAAc,CAAC,CAAC,CAAC,iCAAiC,CAAC;IAGrJ,4EAA4E;IAC5E,gCAAgC,CAAC,EAAE,EAAE,UAAU,EAAE,OAAO,CAAC,EAAE,cAAc;IAGzE,uFAAuF;IACvF,kCAAkC,CAAC,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE,CAAC,CAAC,uCAAuC,EAAE,OAAO,CAAC,EAAE,cAAc,CAAC,CAAC,CAAC,uCAAuC,CAAC;IAGvK,gGAAgG;IAChG,mCAAmC,CAAC,SAAS,EAAE,UAAU,EAAE,IAAI,EAAE,CAAC,CAAC,wCAAwC,EAAE,OAAO,CAAC,EAAE,cAAc,CAAC,CAAC,CAAC,wCAAwC,CAAC;IAGjL,uDAAuD;IACvD,0BAA0B,CAAC,OAAO,CAAC,EAAE,cAAc;IAGnD,mDAAmD;IACnD,sBAAsB,CAAC,OAAO,CAAC,EAAE,cAAc;CAGhD"}
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
import { ServiceApi, urlEncoded } from "@faiber/sdk-core";
|
|
2
|
+
export class MessengerOperations extends ServiceApi {
|
|
3
|
+
/** GET /api/openapi.json; permission: public/session-derived. */
|
|
4
|
+
routerOpenapiJsonGet(options) {
|
|
5
|
+
return this.client.request({ ...options, method: "GET", url: `/api/openapi.json` });
|
|
6
|
+
}
|
|
7
|
+
/** GET /api/v1/channels; permission: admin:channel:read. */
|
|
8
|
+
channelChannelsIndexGet(options) {
|
|
9
|
+
return this.client.request({ ...options, method: "GET", url: `/api/v1/channels` });
|
|
10
|
+
}
|
|
11
|
+
/** POST /api/v1/channels; permission: admin:channel:create. */
|
|
12
|
+
channelChannelsCreatePost(data, options) {
|
|
13
|
+
return this.client.request({ ...options, method: "POST", url: `/api/v1/channels`, data: data });
|
|
14
|
+
}
|
|
15
|
+
/** DELETE /api/v1/channels/{id}; permission: admin:channel:delete. */
|
|
16
|
+
channelChannelsDeleteDelete(id, options) {
|
|
17
|
+
return this.client.request({ ...options, method: "DELETE", url: `/api/v1/channels/${encodeURIComponent(id)}` });
|
|
18
|
+
}
|
|
19
|
+
/** GET /api/v1/channels/{id}; permission: admin:channel:read. */
|
|
20
|
+
channelChannelsShowGet(id, options) {
|
|
21
|
+
return this.client.request({ ...options, method: "GET", url: `/api/v1/channels/${encodeURIComponent(id)}` });
|
|
22
|
+
}
|
|
23
|
+
/** PATCH /api/v1/channels/{id}; permission: admin:channel:update. */
|
|
24
|
+
channelChannelsUpdatePatch(id, data, options) {
|
|
25
|
+
return this.client.request({ ...options, method: "PATCH", url: `/api/v1/channels/${encodeURIComponent(id)}`, data: data });
|
|
26
|
+
}
|
|
27
|
+
/** POST /api/v1/channels/subscribe; permission: public/session-derived. */
|
|
28
|
+
channelChannelsSubscribePost(data, options) {
|
|
29
|
+
return this.client.request({ ...options, method: "POST", url: `/api/v1/channels/subscribe`, data: data });
|
|
30
|
+
}
|
|
31
|
+
/** GET /api/v1/dashboard; permission: admin:dashboard:read. */
|
|
32
|
+
dashboardDashboardShowGet(options) {
|
|
33
|
+
return this.client.request({ ...options, method: "GET", url: `/api/v1/dashboard` });
|
|
34
|
+
}
|
|
35
|
+
/** GET /api/v1/integration/docs; permission: admin:integration:read. */
|
|
36
|
+
integrationIntegrationDocsShowGet(options) {
|
|
37
|
+
return this.client.request({ ...options, method: "GET", url: `/api/v1/integration/docs` });
|
|
38
|
+
}
|
|
39
|
+
/** GET /api/v1/integration/flow; permission: public/session-derived. */
|
|
40
|
+
integrationFlowIntegrationShowGet(options) {
|
|
41
|
+
return this.client.request({ ...options, method: "GET", url: `/api/v1/integration/flow` });
|
|
42
|
+
}
|
|
43
|
+
/** GET /api/v1/integration/rabbitmq; permission: admin:integration:read. */
|
|
44
|
+
integrationRabbitmqIntegrationShowGet(options) {
|
|
45
|
+
return this.client.request({ ...options, method: "GET", url: `/api/v1/integration/rabbitmq` });
|
|
46
|
+
}
|
|
47
|
+
/** GET /api/v1/notifications; permission: admin:notification:read. */
|
|
48
|
+
notificationNotificationsIndexGet(params, options) {
|
|
49
|
+
return this.client.request({ ...options, method: "GET", url: `/api/v1/notifications`, params });
|
|
50
|
+
}
|
|
51
|
+
/** POST /api/v1/notifications; permission: public/session-derived. */
|
|
52
|
+
notificationNotificationsSendPost(data, options) {
|
|
53
|
+
return this.client.request({ ...options, method: "POST", url: `/api/v1/notifications`, data: data });
|
|
54
|
+
}
|
|
55
|
+
/** GET /api/v1/notifications/{id}; permission: admin:notification:read. */
|
|
56
|
+
notificationNotificationsShowGet(id, options) {
|
|
57
|
+
return this.client.request({ ...options, method: "GET", url: `/api/v1/notifications/${encodeURIComponent(id)}` });
|
|
58
|
+
}
|
|
59
|
+
/** PATCH /api/v1/notifications/{id}/read; permission: admin:notification:read. */
|
|
60
|
+
notificationNotificationsMarkReadPatch(id, params, options) {
|
|
61
|
+
return this.client.request({ ...options, method: "PATCH", url: `/api/v1/notifications/${encodeURIComponent(id)}/read`, params });
|
|
62
|
+
}
|
|
63
|
+
/** GET /api/v1/services; permission: admin:service:read. */
|
|
64
|
+
serviceServicesIndexGet(options) {
|
|
65
|
+
return this.client.request({ ...options, method: "GET", url: `/api/v1/services` });
|
|
66
|
+
}
|
|
67
|
+
/** POST /api/v1/services; permission: admin:service:create. */
|
|
68
|
+
serviceServicesCreatePost(data, options) {
|
|
69
|
+
return this.client.request({ ...options, method: "POST", url: `/api/v1/services`, data: data });
|
|
70
|
+
}
|
|
71
|
+
/** DELETE /api/v1/services/{id}; permission: admin:service:delete. */
|
|
72
|
+
serviceServicesDeleteDelete(id, options) {
|
|
73
|
+
return this.client.request({ ...options, method: "DELETE", url: `/api/v1/services/${encodeURIComponent(id)}` });
|
|
74
|
+
}
|
|
75
|
+
/** GET /api/v1/services/{id}; permission: admin:service:read. */
|
|
76
|
+
serviceServicesShowGet(id, options) {
|
|
77
|
+
return this.client.request({ ...options, method: "GET", url: `/api/v1/services/${encodeURIComponent(id)}` });
|
|
78
|
+
}
|
|
79
|
+
/** PATCH /api/v1/services/{id}; permission: admin:service:update. */
|
|
80
|
+
serviceServicesUpdatePatch(id, data, options) {
|
|
81
|
+
return this.client.request({ ...options, method: "PATCH", url: `/api/v1/services/${encodeURIComponent(id)}`, data: data });
|
|
82
|
+
}
|
|
83
|
+
/** GET /api/v1/templates; permission: admin:template:read. */
|
|
84
|
+
templateTemplatesIndexGet(options) {
|
|
85
|
+
return this.client.request({ ...options, method: "GET", url: `/api/v1/templates` });
|
|
86
|
+
}
|
|
87
|
+
/** POST /api/v1/templates; permission: admin:template:create. */
|
|
88
|
+
templateTemplatesCreatePost(data, options) {
|
|
89
|
+
return this.client.request({ ...options, method: "POST", url: `/api/v1/templates`, data: data });
|
|
90
|
+
}
|
|
91
|
+
/** DELETE /api/v1/templates/{id}; permission: admin:template:delete. */
|
|
92
|
+
templateTemplatesDeleteDelete(id, options) {
|
|
93
|
+
return this.client.request({ ...options, method: "DELETE", url: `/api/v1/templates/${encodeURIComponent(id)}` });
|
|
94
|
+
}
|
|
95
|
+
/** GET /api/v1/templates/{id}; permission: admin:template:read. */
|
|
96
|
+
templateTemplatesShowGet(id, options) {
|
|
97
|
+
return this.client.request({ ...options, method: "GET", url: `/api/v1/templates/${encodeURIComponent(id)}` });
|
|
98
|
+
}
|
|
99
|
+
/** PATCH /api/v1/templates/{id}; permission: admin:template:update. */
|
|
100
|
+
templateTemplatesUpdatePatch(id, data, options) {
|
|
101
|
+
return this.client.request({ ...options, method: "PATCH", url: `/api/v1/templates/${encodeURIComponent(id)}`, data: data });
|
|
102
|
+
}
|
|
103
|
+
/** GET /api/v1/templates/{id}/contents; permission: admin:template:read. */
|
|
104
|
+
templateTemplateContentsIndexGet(id, options) {
|
|
105
|
+
return this.client.request({ ...options, method: "GET", url: `/api/v1/templates/${encodeURIComponent(id)}/contents` });
|
|
106
|
+
}
|
|
107
|
+
/** POST /api/v1/templates/{id}/contents; permission: admin:template:create_content. */
|
|
108
|
+
templateTemplateContentsCreatePost(id, data, options) {
|
|
109
|
+
return this.client.request({ ...options, method: "POST", url: `/api/v1/templates/${encodeURIComponent(id)}/contents`, data: data });
|
|
110
|
+
}
|
|
111
|
+
/** PATCH /api/v1/templates/contents/{content_id}; permission: admin:template:update_content. */
|
|
112
|
+
templateTemplateContentsUpdatePatch(contentId, data, options) {
|
|
113
|
+
return this.client.request({ ...options, method: "PATCH", url: `/api/v1/templates/contents/${encodeURIComponent(contentId)}`, data: data });
|
|
114
|
+
}
|
|
115
|
+
/** GET /health; permission: public/session-derived. */
|
|
116
|
+
routerStatusRouteGetHealth(options) {
|
|
117
|
+
return this.client.request({ ...options, method: "GET", url: `/health` });
|
|
118
|
+
}
|
|
119
|
+
/** GET /up; permission: public/session-derived. */
|
|
120
|
+
routerStatusRouteGetUp(options) {
|
|
121
|
+
return this.client.request({ ...options, method: "GET", url: `/up` });
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
//# sourceMappingURL=operations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../src/operations.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,UAAU,EAAwC,MAAM,kBAAkB,CAAC;AAGhG,MAAM,OAAO,mBAAoB,SAAQ,UAAU;IACjD,iEAAiE;IACjE,oBAAoB,CAAC,O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O,IAAI,CAAC,MAAM,CAAC,OAAO,CAA4F,EAAE,GAAG,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,GAAG,EAAE,8BAA8B,kBAAkB,CAAC,SAAS,CAAC,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,CAAC;IACzO,CAAC;IACD,uDAAuD;IACvD,0BAA0B,CAAC,OAAwB;QACjD,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,CAAuC,EAAE,GAAG,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,EAAE,SAAS,EAAE,CAAC,CAAC;IAClH,CAAC;IACD,mDAAmD;IACnD,sBAAsB,CAAC,OAAwB;QAC7C,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,CAAmC,EAAE,GAAG,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC,CAAC;IAC1G,CAAC;CACF"}
|
|
@@ -0,0 +1,351 @@
|
|
|
1
|
+
import type { ApiEnvelope, JsonObject, JsonValue, QueryParams } from "@faiber/sdk-core";
|
|
2
|
+
/** Generated route contracts. Dynamic payload members remain JSON-safe and are documented with their Rust source type. */
|
|
3
|
+
/** Backend response type: response without a declared JSON model. */
|
|
4
|
+
export interface RouterOpenapiJsonGetResponse extends ApiEnvelope<JsonValue> {
|
|
5
|
+
}
|
|
6
|
+
/** Backend response type: Vec<ChannelResponse>. */
|
|
7
|
+
export interface ChannelChannelsIndexGetResponseItem extends JsonObject {
|
|
8
|
+
"id": number;
|
|
9
|
+
"name": string;
|
|
10
|
+
}
|
|
11
|
+
export interface ChannelChannelsIndexGetResponse extends ApiEnvelope<ChannelChannelsIndexGetResponseItem[]> {
|
|
12
|
+
}
|
|
13
|
+
/** Backend request type: CreateChannelRequest. */
|
|
14
|
+
export interface ChannelChannelsCreatePostInput extends JsonObject {
|
|
15
|
+
"name": string;
|
|
16
|
+
}
|
|
17
|
+
/** Backend response type: ChannelResponse. */
|
|
18
|
+
export interface ChannelChannelsCreatePostResponseData extends JsonObject {
|
|
19
|
+
"id": number;
|
|
20
|
+
"name": string;
|
|
21
|
+
}
|
|
22
|
+
export interface ChannelChannelsCreatePostResponse extends ApiEnvelope<ChannelChannelsCreatePostResponseData> {
|
|
23
|
+
}
|
|
24
|
+
/** Backend response type: serde_json::Value. */
|
|
25
|
+
export interface ChannelChannelsDeleteDeleteResponse extends ApiEnvelope<JsonValue> {
|
|
26
|
+
}
|
|
27
|
+
/** Backend response type: ChannelResponse. */
|
|
28
|
+
export interface ChannelChannelsShowGetResponseData extends JsonObject {
|
|
29
|
+
"id": number;
|
|
30
|
+
"name": string;
|
|
31
|
+
}
|
|
32
|
+
export interface ChannelChannelsShowGetResponse extends ApiEnvelope<ChannelChannelsShowGetResponseData> {
|
|
33
|
+
}
|
|
34
|
+
/** Backend request type: UpdateChannelRequest. */
|
|
35
|
+
export interface ChannelChannelsUpdatePatchInput extends JsonObject {
|
|
36
|
+
"name": string;
|
|
37
|
+
}
|
|
38
|
+
/** Backend response type: ChannelResponse. */
|
|
39
|
+
export interface ChannelChannelsUpdatePatchResponseData extends JsonObject {
|
|
40
|
+
"id": number;
|
|
41
|
+
"name": string;
|
|
42
|
+
}
|
|
43
|
+
export interface ChannelChannelsUpdatePatchResponse extends ApiEnvelope<ChannelChannelsUpdatePatchResponseData> {
|
|
44
|
+
}
|
|
45
|
+
/** Backend request type: SubscribeRequest. */
|
|
46
|
+
export interface ChannelChannelsSubscribePostInput extends JsonObject {
|
|
47
|
+
"channel_id": number;
|
|
48
|
+
"user_id": string;
|
|
49
|
+
"subscribed": boolean;
|
|
50
|
+
}
|
|
51
|
+
/** Backend response type: serde_json::Value. */
|
|
52
|
+
export interface ChannelChannelsSubscribePostResponse extends ApiEnvelope<JsonValue> {
|
|
53
|
+
}
|
|
54
|
+
/** Backend response type: DashboardResponse. */
|
|
55
|
+
export interface DashboardDashboardShowGetResponseData extends JsonObject {
|
|
56
|
+
"templates": number;
|
|
57
|
+
"notifications": number;
|
|
58
|
+
"channels": number;
|
|
59
|
+
"services": number;
|
|
60
|
+
"providers": number;
|
|
61
|
+
}
|
|
62
|
+
export interface DashboardDashboardShowGetResponse extends ApiEnvelope<DashboardDashboardShowGetResponseData> {
|
|
63
|
+
}
|
|
64
|
+
/** Backend response type: crate::integration::models::IntegrationDocsResponse. */
|
|
65
|
+
export interface IntegrationIntegrationDocsShowGetResponseData extends JsonObject {
|
|
66
|
+
"direct": JsonValue;
|
|
67
|
+
"sdk": JsonValue[];
|
|
68
|
+
}
|
|
69
|
+
export interface IntegrationIntegrationDocsShowGetResponse extends ApiEnvelope<IntegrationIntegrationDocsShowGetResponseData> {
|
|
70
|
+
}
|
|
71
|
+
/** Backend response type: infera_flow_sdk::FlowIntegrationResponse. */
|
|
72
|
+
export interface IntegrationFlowIntegrationShowGetResponse extends ApiEnvelope<JsonValue> {
|
|
73
|
+
}
|
|
74
|
+
/** Backend response type: crate::integration::models::RabbitMqIntegrationResponse. */
|
|
75
|
+
export interface IntegrationRabbitmqIntegrationShowGetResponseData extends JsonObject {
|
|
76
|
+
"queue": string;
|
|
77
|
+
"broker_url_hint": string;
|
|
78
|
+
"sample_profile_id": string;
|
|
79
|
+
"events": JsonValue[];
|
|
80
|
+
}
|
|
81
|
+
export interface IntegrationRabbitmqIntegrationShowGetResponse extends ApiEnvelope<IntegrationRabbitmqIntegrationShowGetResponseData> {
|
|
82
|
+
}
|
|
83
|
+
/** Backend query type: NotificationListQuery. */
|
|
84
|
+
export interface NotificationNotificationsIndexGetQuery extends QueryParams {
|
|
85
|
+
}
|
|
86
|
+
/** Backend response type: crate::models::PagedResult<NotificationResponse>. */
|
|
87
|
+
export interface NotificationNotificationsIndexGetResponseItem extends JsonObject {
|
|
88
|
+
"id": number;
|
|
89
|
+
"service_name": string;
|
|
90
|
+
"template_id": number;
|
|
91
|
+
"channel": string;
|
|
92
|
+
"recipient": string;
|
|
93
|
+
"status": string;
|
|
94
|
+
"description"?: string;
|
|
95
|
+
"params"?: JsonValue;
|
|
96
|
+
"options"?: JsonValue;
|
|
97
|
+
"delivery_attempts"?: JsonValue;
|
|
98
|
+
"delivered": boolean;
|
|
99
|
+
"read": boolean;
|
|
100
|
+
"read_at"?: string;
|
|
101
|
+
"scheduled_at"?: string;
|
|
102
|
+
"sent_at"?: string;
|
|
103
|
+
"failed_at"?: string;
|
|
104
|
+
"created_at": string;
|
|
105
|
+
}
|
|
106
|
+
export interface NotificationNotificationsIndexGetResponsePageMeta extends JsonObject {
|
|
107
|
+
"page": number;
|
|
108
|
+
"page_size": number;
|
|
109
|
+
"total_items": number;
|
|
110
|
+
"total_pages": number;
|
|
111
|
+
}
|
|
112
|
+
export interface NotificationNotificationsIndexGetResponseData extends JsonObject {
|
|
113
|
+
"data": NotificationNotificationsIndexGetResponseItem[];
|
|
114
|
+
"meta": NotificationNotificationsIndexGetResponsePageMeta;
|
|
115
|
+
}
|
|
116
|
+
export interface NotificationNotificationsIndexGetResponse extends ApiEnvelope<NotificationNotificationsIndexGetResponseData> {
|
|
117
|
+
}
|
|
118
|
+
/** Backend request type: SendNotificationRequest. */
|
|
119
|
+
export interface NotificationNotificationsSendPostInput extends JsonObject {
|
|
120
|
+
"template_id"?: number;
|
|
121
|
+
"template_name"?: string;
|
|
122
|
+
"channel": string;
|
|
123
|
+
"recipients": string[];
|
|
124
|
+
"recipient"?: string;
|
|
125
|
+
"params": Record<string, JsonValue>;
|
|
126
|
+
"service_name"?: string;
|
|
127
|
+
"options": JsonValue;
|
|
128
|
+
"description"?: string;
|
|
129
|
+
"scheduled_at"?: string;
|
|
130
|
+
}
|
|
131
|
+
/** Backend response type: SendNotificationResponse. */
|
|
132
|
+
export interface NotificationNotificationsSendPostResponseData extends JsonObject {
|
|
133
|
+
"notification_ids": number[];
|
|
134
|
+
}
|
|
135
|
+
export interface NotificationNotificationsSendPostResponse extends ApiEnvelope<NotificationNotificationsSendPostResponseData> {
|
|
136
|
+
}
|
|
137
|
+
/** Backend response type: NotificationResponse. */
|
|
138
|
+
export interface NotificationNotificationsShowGetResponseData extends JsonObject {
|
|
139
|
+
"id": number;
|
|
140
|
+
"service_name": string;
|
|
141
|
+
"template_id": number;
|
|
142
|
+
"channel": string;
|
|
143
|
+
"recipient": string;
|
|
144
|
+
"status": string;
|
|
145
|
+
"description"?: string;
|
|
146
|
+
"params"?: JsonValue;
|
|
147
|
+
"options"?: JsonValue;
|
|
148
|
+
"delivery_attempts"?: JsonValue;
|
|
149
|
+
"delivered": boolean;
|
|
150
|
+
"read": boolean;
|
|
151
|
+
"read_at"?: string;
|
|
152
|
+
"scheduled_at"?: string;
|
|
153
|
+
"sent_at"?: string;
|
|
154
|
+
"failed_at"?: string;
|
|
155
|
+
"created_at": string;
|
|
156
|
+
}
|
|
157
|
+
export interface NotificationNotificationsShowGetResponse extends ApiEnvelope<NotificationNotificationsShowGetResponseData> {
|
|
158
|
+
}
|
|
159
|
+
/** Backend query type: MarkReadQuery. */
|
|
160
|
+
export interface NotificationNotificationsMarkReadPatchQuery extends QueryParams {
|
|
161
|
+
}
|
|
162
|
+
/** Backend response type: NotificationResponse. */
|
|
163
|
+
export interface NotificationNotificationsMarkReadPatchResponseData extends JsonObject {
|
|
164
|
+
"id": number;
|
|
165
|
+
"service_name": string;
|
|
166
|
+
"template_id": number;
|
|
167
|
+
"channel": string;
|
|
168
|
+
"recipient": string;
|
|
169
|
+
"status": string;
|
|
170
|
+
"description"?: string;
|
|
171
|
+
"params"?: JsonValue;
|
|
172
|
+
"options"?: JsonValue;
|
|
173
|
+
"delivery_attempts"?: JsonValue;
|
|
174
|
+
"delivered": boolean;
|
|
175
|
+
"read": boolean;
|
|
176
|
+
"read_at"?: string;
|
|
177
|
+
"scheduled_at"?: string;
|
|
178
|
+
"sent_at"?: string;
|
|
179
|
+
"failed_at"?: string;
|
|
180
|
+
"created_at": string;
|
|
181
|
+
}
|
|
182
|
+
export interface NotificationNotificationsMarkReadPatchResponse extends ApiEnvelope<NotificationNotificationsMarkReadPatchResponseData> {
|
|
183
|
+
}
|
|
184
|
+
/** Backend response type: Vec<ServiceResponse>. */
|
|
185
|
+
export interface ServiceServicesIndexGetResponseItem extends JsonObject {
|
|
186
|
+
"id": number;
|
|
187
|
+
"name": string;
|
|
188
|
+
"provider": string;
|
|
189
|
+
"channel": string;
|
|
190
|
+
"options"?: JsonValue;
|
|
191
|
+
"priority": number;
|
|
192
|
+
}
|
|
193
|
+
export interface ServiceServicesIndexGetResponse extends ApiEnvelope<ServiceServicesIndexGetResponseItem[]> {
|
|
194
|
+
}
|
|
195
|
+
/** Backend request type: CreateServiceRequest. */
|
|
196
|
+
export interface ServiceServicesCreatePostInput extends JsonObject {
|
|
197
|
+
"name": string;
|
|
198
|
+
"provider": string;
|
|
199
|
+
"channel": string;
|
|
200
|
+
"options": JsonValue;
|
|
201
|
+
"priority"?: number;
|
|
202
|
+
}
|
|
203
|
+
/** Backend response type: ServiceResponse. */
|
|
204
|
+
export interface ServiceServicesCreatePostResponseData extends JsonObject {
|
|
205
|
+
"id": number;
|
|
206
|
+
"name": string;
|
|
207
|
+
"provider": string;
|
|
208
|
+
"channel": string;
|
|
209
|
+
"options"?: JsonValue;
|
|
210
|
+
"priority": number;
|
|
211
|
+
}
|
|
212
|
+
export interface ServiceServicesCreatePostResponse extends ApiEnvelope<ServiceServicesCreatePostResponseData> {
|
|
213
|
+
}
|
|
214
|
+
/** Backend response type: serde_json::Value. */
|
|
215
|
+
export interface ServiceServicesDeleteDeleteResponse extends ApiEnvelope<JsonValue> {
|
|
216
|
+
}
|
|
217
|
+
/** Backend response type: ServiceResponse. */
|
|
218
|
+
export interface ServiceServicesShowGetResponseData extends JsonObject {
|
|
219
|
+
"id": number;
|
|
220
|
+
"name": string;
|
|
221
|
+
"provider": string;
|
|
222
|
+
"channel": string;
|
|
223
|
+
"options"?: JsonValue;
|
|
224
|
+
"priority": number;
|
|
225
|
+
}
|
|
226
|
+
export interface ServiceServicesShowGetResponse extends ApiEnvelope<ServiceServicesShowGetResponseData> {
|
|
227
|
+
}
|
|
228
|
+
/** Backend request type: UpdateServiceRequest. */
|
|
229
|
+
export interface ServiceServicesUpdatePatchInput extends JsonObject {
|
|
230
|
+
"name"?: string;
|
|
231
|
+
"provider"?: string;
|
|
232
|
+
"channel"?: string;
|
|
233
|
+
"options"?: JsonValue;
|
|
234
|
+
"priority"?: number;
|
|
235
|
+
}
|
|
236
|
+
/** Backend response type: ServiceResponse. */
|
|
237
|
+
export interface ServiceServicesUpdatePatchResponseData extends JsonObject {
|
|
238
|
+
"id": number;
|
|
239
|
+
"name": string;
|
|
240
|
+
"provider": string;
|
|
241
|
+
"channel": string;
|
|
242
|
+
"options"?: JsonValue;
|
|
243
|
+
"priority": number;
|
|
244
|
+
}
|
|
245
|
+
export interface ServiceServicesUpdatePatchResponse extends ApiEnvelope<ServiceServicesUpdatePatchResponseData> {
|
|
246
|
+
}
|
|
247
|
+
/** Backend response type: Vec<TemplateResponse>. */
|
|
248
|
+
export interface TemplateTemplatesIndexGetResponseItem extends JsonObject {
|
|
249
|
+
"id": number;
|
|
250
|
+
"name": string;
|
|
251
|
+
"fa_name": string;
|
|
252
|
+
"params"?: JsonValue;
|
|
253
|
+
"channel_id"?: number;
|
|
254
|
+
}
|
|
255
|
+
export interface TemplateTemplatesIndexGetResponse extends ApiEnvelope<TemplateTemplatesIndexGetResponseItem[]> {
|
|
256
|
+
}
|
|
257
|
+
/** Backend request type: CreateTemplateRequest. */
|
|
258
|
+
export interface TemplateTemplatesCreatePostInput extends JsonObject {
|
|
259
|
+
"name": string;
|
|
260
|
+
"fa_name": string;
|
|
261
|
+
"params"?: string[];
|
|
262
|
+
"channel_id"?: number;
|
|
263
|
+
}
|
|
264
|
+
/** Backend response type: TemplateResponse. */
|
|
265
|
+
export interface TemplateTemplatesCreatePostResponseData extends JsonObject {
|
|
266
|
+
"id": number;
|
|
267
|
+
"name": string;
|
|
268
|
+
"fa_name": string;
|
|
269
|
+
"params"?: JsonValue;
|
|
270
|
+
"channel_id"?: number;
|
|
271
|
+
}
|
|
272
|
+
export interface TemplateTemplatesCreatePostResponse extends ApiEnvelope<TemplateTemplatesCreatePostResponseData> {
|
|
273
|
+
}
|
|
274
|
+
/** Backend response type: serde_json::Value. */
|
|
275
|
+
export interface TemplateTemplatesDeleteDeleteResponse extends ApiEnvelope<JsonValue> {
|
|
276
|
+
}
|
|
277
|
+
/** Backend response type: TemplateResponse. */
|
|
278
|
+
export interface TemplateTemplatesShowGetResponseData extends JsonObject {
|
|
279
|
+
"id": number;
|
|
280
|
+
"name": string;
|
|
281
|
+
"fa_name": string;
|
|
282
|
+
"params"?: JsonValue;
|
|
283
|
+
"channel_id"?: number;
|
|
284
|
+
}
|
|
285
|
+
export interface TemplateTemplatesShowGetResponse extends ApiEnvelope<TemplateTemplatesShowGetResponseData> {
|
|
286
|
+
}
|
|
287
|
+
/** Backend request type: UpdateTemplateRequest. */
|
|
288
|
+
export interface TemplateTemplatesUpdatePatchInput extends JsonObject {
|
|
289
|
+
"name"?: string;
|
|
290
|
+
"fa_name"?: string;
|
|
291
|
+
"params"?: string[];
|
|
292
|
+
"channel_id"?: number | null;
|
|
293
|
+
}
|
|
294
|
+
/** Backend response type: TemplateResponse. */
|
|
295
|
+
export interface TemplateTemplatesUpdatePatchResponseData extends JsonObject {
|
|
296
|
+
"id": number;
|
|
297
|
+
"name": string;
|
|
298
|
+
"fa_name": string;
|
|
299
|
+
"params"?: JsonValue;
|
|
300
|
+
"channel_id"?: number;
|
|
301
|
+
}
|
|
302
|
+
export interface TemplateTemplatesUpdatePatchResponse extends ApiEnvelope<TemplateTemplatesUpdatePatchResponseData> {
|
|
303
|
+
}
|
|
304
|
+
/** Backend response type: Vec<TemplateContentResponse>. */
|
|
305
|
+
export interface TemplateTemplateContentsIndexGetResponseItem extends JsonObject {
|
|
306
|
+
"id": number;
|
|
307
|
+
"template_id": number;
|
|
308
|
+
"channel": string;
|
|
309
|
+
"text": string;
|
|
310
|
+
"options"?: JsonValue;
|
|
311
|
+
}
|
|
312
|
+
export interface TemplateTemplateContentsIndexGetResponse extends ApiEnvelope<TemplateTemplateContentsIndexGetResponseItem[]> {
|
|
313
|
+
}
|
|
314
|
+
/** Backend request type: CreateTemplateContentRequest. */
|
|
315
|
+
export interface TemplateTemplateContentsCreatePostInput extends JsonObject {
|
|
316
|
+
"channel": string;
|
|
317
|
+
"text": string;
|
|
318
|
+
"options"?: JsonValue;
|
|
319
|
+
}
|
|
320
|
+
/** Backend response type: TemplateContentResponse. */
|
|
321
|
+
export interface TemplateTemplateContentsCreatePostResponseData extends JsonObject {
|
|
322
|
+
"id": number;
|
|
323
|
+
"template_id": number;
|
|
324
|
+
"channel": string;
|
|
325
|
+
"text": string;
|
|
326
|
+
"options"?: JsonValue;
|
|
327
|
+
}
|
|
328
|
+
export interface TemplateTemplateContentsCreatePostResponse extends ApiEnvelope<TemplateTemplateContentsCreatePostResponseData> {
|
|
329
|
+
}
|
|
330
|
+
/** Backend request type: UpdateTemplateContentRequest. */
|
|
331
|
+
export interface TemplateTemplateContentsUpdatePatchInput extends JsonObject {
|
|
332
|
+
"text"?: string;
|
|
333
|
+
"options"?: JsonValue;
|
|
334
|
+
}
|
|
335
|
+
/** Backend response type: TemplateContentResponse. */
|
|
336
|
+
export interface TemplateTemplateContentsUpdatePatchResponseData extends JsonObject {
|
|
337
|
+
"id": number;
|
|
338
|
+
"template_id": number;
|
|
339
|
+
"channel": string;
|
|
340
|
+
"text": string;
|
|
341
|
+
"options"?: JsonValue;
|
|
342
|
+
}
|
|
343
|
+
export interface TemplateTemplateContentsUpdatePatchResponse extends ApiEnvelope<TemplateTemplateContentsUpdatePatchResponseData> {
|
|
344
|
+
}
|
|
345
|
+
/** Backend response type: response without a declared JSON model. */
|
|
346
|
+
export interface RouterStatusRouteGetHealthResponse extends ApiEnvelope<JsonValue> {
|
|
347
|
+
}
|
|
348
|
+
/** Backend response type: response without a declared JSON model. */
|
|
349
|
+
export interface RouterStatusRouteGetUpResponse extends ApiEnvelope<JsonValue> {
|
|
350
|
+
}
|
|
351
|
+
//# sourceMappingURL=operations.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operations.types.d.ts","sourceRoot":"","sources":["../src/operations.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,SAAS,EAAE,WAAW,EAAc,MAAM,kBAAkB,CAAC;AAEpG,0HAA0H;AAC1H,qEAAqE;AACrE,MAAM,WAAW,4BAA6B,SAAQ,WAAW,CAAC,SAAS,CAAC;CAC3E;AAED,mDAAmD;AACnD,MAAM,WAAW,mCAAoC,SAAQ,UAAU;IACrE,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;CAChB;AACD,MAAM,WAAW,+BAAgC,SAAQ,WAAW,CAAC,mCAAmC,EAAE,CAAC;CAC1G;AAED,kDAAkD;AAClD,MAAM,WAAW,8BAA+B,SAAQ,UAAU;IAChE,MAAM,EAAE,MAAM,CAAC;CAChB;AACD,8CAA8C;AAC9C,MAAM,WAAW,qCAAsC,SAAQ,UAAU;IACvE,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;CAChB;AACD,MAAM,WAAW,iCAAkC,SAAQ,WAAW,CAAC,qCAAqC,CAAC;CAC5G;AAED,gDAAgD;AAChD,MAAM,WAAW,mCAAoC,SAAQ,WAAW,CAAC,SAAS,CAAC;CAClF;AAED,8CAA8C;AAC9C,MAAM,WAAW,kCAAmC,SAAQ,UAAU;IACpE,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;CAChB;AACD,MAAM,WAAW,8BAA+B,SAAQ,WAAW,CAAC,kCAAkC,CAAC;CACtG;AAED,kDAAkD;AAClD,MAAM,WAAW,+BAAgC,SAAQ,UAAU;IACjE,MAAM,EAAE,MAAM,CAAC;CAChB;AACD,8CAA8C;AAC9C,MAAM,WAAW,sCAAuC,SAAQ,UAAU;IACxE,IAAI,EAAE,MAA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AAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,SAAS,CAAC;CACvB;AACD,MAAM,WAAW,2CAA4C,SAAQ,WAAW,CAAC,+CAA+C,CAAC;CAChI;AAED,qEAAqE;AACrE,MAAM,WAAW,kCAAmC,SAAQ,WAAW,CAAC,SAAS,CAAC;CACjF;AAED,qEAAqE;AACrE,MAAM,WAAW,8BAA+B,SAAQ,WAAW,CAAC,SAAS,CAAC;CAC7E"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operations.types.js","sourceRoot":"","sources":["../src/operations.types.ts"],"names":[],"mappings":""}
|
package/package.json
CHANGED
|
@@ -1 +1,20 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"name": "@faiber/faiber-messenger",
|
|
3
|
+
"version": "0.3.0",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"sideEffects": false,
|
|
6
|
+
"main": "./dist/index.js",
|
|
7
|
+
"types": "./dist/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"types": "./dist/index.d.ts",
|
|
11
|
+
"import": "./dist/index.js"
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
"files": [
|
|
15
|
+
"dist"
|
|
16
|
+
],
|
|
17
|
+
"dependencies": {
|
|
18
|
+
"@faiber/sdk-core": "0.3.0"
|
|
19
|
+
}
|
|
20
|
+
}
|