@faiber/faiber-reservation 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 +7 -3
- package/dist/index.js.map +1 -1
- package/dist/operations.d.ts +63 -0
- package/dist/operations.d.ts.map +1 -0
- package/dist/operations.js +120 -0
- package/dist/operations.js.map +1 -0
- package/dist/operations.types.d.ts +386 -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-reservation
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Bookable services, providers, provider-service assignments, work schedules, generated and available slots, and reservations.
|
|
4
4
|
|
|
5
5
|
## Install
|
|
6
6
|
|
|
@@ -8,7 +8,7 @@ Typed, framework-neutral TypeScript client for Faiber bookable services, provide
|
|
|
8
8
|
npm install @faiber/faiber-reservation
|
|
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("reservation", {
|
|
|
22
22
|
});
|
|
23
23
|
const api = new ReservationApi(client);
|
|
24
24
|
|
|
25
|
-
const slots = await api.availableSlots({
|
|
25
|
+
const slots = await api.availableSlots({
|
|
26
|
+
provider_id: 42,
|
|
27
|
+
service_id: 8,
|
|
28
|
+
date: "2026-07-22",
|
|
29
|
+
});
|
|
30
|
+
await api.setSchedules(42, { schedules });
|
|
26
31
|
```
|
|
27
32
|
|
|
28
|
-
|
|
33
|
+
## Complete capability
|
|
29
34
|
|
|
30
|
-
|
|
35
|
+
This package exposes 29 registered operations from the reservations 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
|
+
| `integration` | 1 | `GET` |
|
|
40
|
+
| `provider` | 8 | `DELETE`, `GET`, `PATCH`, `POST` |
|
|
41
|
+
| `reservation` | 5 | `DELETE`, `GET`, `PATCH`, `POST` |
|
|
42
|
+
| `reservation-service` | 5 | `DELETE`, `GET`, `PATCH`, `POST` |
|
|
43
|
+
| `router` | 3 | `GET` |
|
|
44
|
+
| `time-slot` | 5 | `DELETE`, `GET`, `PATCH`, `POST` |
|
|
45
|
+
| `work-schedule` | 2 | `GET`, `PUT` |
|
|
33
46
|
|
|
34
|
-
|
|
47
|
+
Dates are ISO-8601 at the API boundary. Local calendar conversion belongs in application presentation code.
|
|
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":"0a55b14665eb66259a41d2fc9212479fbc3ba0b618590071407ac33bb62a8164","signature":"99982d6d948fd1545be1c735b7e92a30d4fc854f9b7e54c4a6afbb9a76cbd980","impliedFormat":99},{"version":"ca098071d581b32c5d098599bc82c38dfe44c6194e0f6c60f6b91a34d8908a17","signature":"e0391fef7295c07bc700aaa8d11193555b6bebbed263fc0f42662390cd588a6f","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":"0a55b14665eb66259a41d2fc9212479fbc3ba0b618590071407ac33bb62a8164","signature":"99982d6d948fd1545be1c735b7e92a30d4fc854f9b7e54c4a6afbb9a76cbd980","impliedFormat":99},{"version":"def7d480110542a5aede1a71704fbb7c7291aaf0ff56af806e3a6fe1b1ec08bd","signature":"88aa7fc4dff754b7451e83de3ee980be70e8753cfe6b44b4dd8cc985ceae83c1","impliedFormat":99},{"version":"7e883dddcaf9717d3466d372b2ef7d8dd5c5f2ebad130bbbd85483cf89092ef7","signature":"749e81d8ed39062b6b0b6828157472950786b168d580719dcbe027afe5666b9e","impliedFormat":99},{"version":"833b6f8e2ffc4eb8f1e1b673f47dcaaafbdd0fce4f12e6bed6122bd415284697","signature":"d3f3d4f94d660f7fec0bc906379d7da41778b26e749cdfe7ef194d4baf81d6f1","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 Identifier, type QueryParams, type RequestOptions } from "@faiber/sdk-core";
|
|
2
2
|
import type * as T from "./types.js";
|
|
3
|
+
import { ReservationOperations } from "./operations.js";
|
|
3
4
|
export declare class ReservationApi extends ServiceApi {
|
|
5
|
+
readonly operations: ReservationOperations;
|
|
4
6
|
readonly services: RestResource<T.BookableService, T.CreateBookableServiceInput, T.UpdateBookableServiceInput, T.ServiceListResponse, T.ServiceResponse>;
|
|
5
7
|
readonly providers: RestResource<T.Provider, T.CreateProviderInput, T.UpdateProviderInput, T.ProviderListResponse, T.ProviderResponse>;
|
|
6
8
|
readonly reservations: RestResource<T.Reservation, T.CreateReservationInput, T.UpdateReservationInput, T.ReservationListResponse, T.ReservationResponse>;
|
|
@@ -17,4 +19,6 @@ export declare class ReservationApi extends ServiceApi {
|
|
|
17
19
|
}
|
|
18
20
|
export * from "./types.js";
|
|
19
21
|
export * from "@faiber/sdk-core";
|
|
22
|
+
export * from "./operations.js";
|
|
23
|
+
export * from "./operations.types.js";
|
|
20
24
|
//# 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,UAAU,EAAE,KAAK,WAAW,EAAE,KAAK,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACpH,OAAO,KAAK,KAAK,CAAC,MAAM,YAAY,CAAC;AACrC,qBAAa,cAAe,SAAQ,UAAU;IAC1C,QAAQ,CAAC,QAAQ,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,KAAK,UAAU,EAAE,KAAK,WAAW,EAAE,KAAK,cAAc,EA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E,OAAO,CAAC,EAAE,cAAc;CACxF;AACD,cAAc,YAAY,CAAC;AAC3B,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,uBAAuB,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { RestResource, ServiceApi } from "@faiber/sdk-core";
|
|
2
|
+
import { ReservationOperations } from "./operations.js";
|
|
2
3
|
export class ReservationApi extends ServiceApi {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
operations = new ReservationOperations(this.client);
|
|
5
|
+
services = new RestResource(this.client, "/api/v1/services", { supported: ["list", "show", "create", "update", "delete"] });
|
|
6
|
+
providers = new RestResource(this.client, "/api/v1/providers", { supported: ["list", "show", "create", "update", "delete"] });
|
|
7
|
+
reservations = new RestResource(this.client, "/api/v1/reservations", { supported: ["list", "show", "create", "update", "delete"] });
|
|
6
8
|
availableSlots(params, options) { return this.client.get("/api/v1/slots/available", params, options); }
|
|
7
9
|
generateSlots(data, options) { return this.client.post("/api/v1/slots", data, options); }
|
|
8
10
|
slot(id, options) { return this.client.get(`/api/v1/slots/${encodeURIComponent(id)}`, undefined, options); }
|
|
@@ -16,4 +18,6 @@ export class ReservationApi extends ServiceApi {
|
|
|
16
18
|
}
|
|
17
19
|
export * from "./types.js";
|
|
18
20
|
export * from "@faiber/sdk-core";
|
|
21
|
+
export * from "./operations.js";
|
|
22
|
+
export * from "./operations.types.js";
|
|
19
23
|
//# 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,EAA0D,MAAM,kBAAkB,CAAC;AAEpH,MAAM,OAAO,cAAe,SAAQ,UAAU;IACjC,QAAQ,GAAG,IAAI,YAAY,CAA0H,IAAI,CAAC,MAAM,EAAE,kBAAk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IAAI,OAAO,IAAI,CAAC,MAAM,CAAC,MAAM,CAA0B,qBAAqB,kBAAkB,CAAC,UAAU,CAAC,aAAa,kBAAkB,CAAC,SAAS,CAAC,EAAE,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC;CAC3P;AACD,cAAc,YAAY,CAAC;AAC3B,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,uBAAuB,CAAC"}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { ServiceApi, type Identifier, type RequestOptions } from "@faiber/sdk-core";
|
|
2
|
+
import type * as T from "./operations.types.js";
|
|
3
|
+
export declare class ReservationOperations extends ServiceApi {
|
|
4
|
+
/** GET /; permission: public/session-derived. */
|
|
5
|
+
routerHealthGet(options?: RequestOptions): Promise<import("axios").AxiosResponse<T.RouterHealthGetResponse, unknown, {}>>;
|
|
6
|
+
/** GET /api/openapi.json; permission: public/session-derived. */
|
|
7
|
+
routerOpenapiJsonGet(options?: RequestOptions): Promise<import("axios").AxiosResponse<T.RouterOpenapiJsonGetResponse, unknown, {}>>;
|
|
8
|
+
/** GET /api/v1/integration/flow; permission: public/session-derived. */
|
|
9
|
+
integrationFlowIntegrationShowGet(options?: RequestOptions): Promise<import("axios").AxiosResponse<T.IntegrationFlowIntegrationShowGetResponse, unknown, {}>>;
|
|
10
|
+
/** GET /api/v1/providers; permission: public/session-derived. */
|
|
11
|
+
providerIndexGet(params?: T.ProviderIndexGetQuery, options?: RequestOptions): Promise<import("axios").AxiosResponse<T.ProviderIndexGetResponse, unknown, {}>>;
|
|
12
|
+
/** POST /api/v1/providers; permission: public/session-derived. */
|
|
13
|
+
providerStorePost(data: T.ProviderStorePostInput, options?: RequestOptions<T.ProviderStorePostInput>): Promise<import("axios").AxiosResponse<T.ProviderStorePostResponse, T.ProviderStorePostInput, {}>>;
|
|
14
|
+
/** DELETE /api/v1/providers/{id}; permission: public/session-derived. */
|
|
15
|
+
providerDestroyDelete(id: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<T.ProviderDestroyDeleteResponse, unknown, {}>>;
|
|
16
|
+
/** GET /api/v1/providers/{id}; permission: public/session-derived. */
|
|
17
|
+
providerShowGet(id: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<T.ProviderShowGetResponse, unknown, {}>>;
|
|
18
|
+
/** PATCH /api/v1/providers/{id}; permission: public/session-derived. */
|
|
19
|
+
providerUpdatePatch(id: Identifier, data: T.ProviderUpdatePatchInput, options?: RequestOptions<T.ProviderUpdatePatchInput>): Promise<import("axios").AxiosResponse<T.ProviderUpdatePatchResponse, T.ProviderUpdatePatchInput, {}>>;
|
|
20
|
+
/** GET /api/v1/providers/{id}/services; permission: public/session-derived. */
|
|
21
|
+
providerListServicesGet(id: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<T.ProviderListServicesGetResponse, unknown, {}>>;
|
|
22
|
+
/** POST /api/v1/providers/{id}/services; permission: public/session-derived. */
|
|
23
|
+
providerAssignServicePost(id: Identifier, data: T.ProviderAssignServicePostInput, options?: RequestOptions<T.ProviderAssignServicePostInput>): Promise<import("axios").AxiosResponse<T.ProviderAssignServicePostResponse, T.ProviderAssignServicePostInput, {}>>;
|
|
24
|
+
/** DELETE /api/v1/providers/{id}/services/{service_id}; permission: public/session-derived. */
|
|
25
|
+
providerRemoveServiceDelete(id: Identifier, serviceId: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<T.ProviderRemoveServiceDeleteResponse, unknown, {}>>;
|
|
26
|
+
/** GET /api/v1/providers/{provider_id}/schedules; permission: public/session-derived. */
|
|
27
|
+
workScheduleIndexGet(providerId: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<T.WorkScheduleIndexGetResponse, unknown, {}>>;
|
|
28
|
+
/** PUT /api/v1/providers/{provider_id}/schedules; permission: public/session-derived. */
|
|
29
|
+
workScheduleUpsertPut(providerId: Identifier, data: T.WorkScheduleUpsertPutInput, options?: RequestOptions<T.WorkScheduleUpsertPutInput>): Promise<import("axios").AxiosResponse<T.WorkScheduleUpsertPutResponse, T.WorkScheduleUpsertPutInput, {}>>;
|
|
30
|
+
/** GET /api/v1/reservations; permission: public/session-derived. */
|
|
31
|
+
reservationIndexGet(params?: T.ReservationIndexGetQuery, options?: RequestOptions): Promise<import("axios").AxiosResponse<T.ReservationIndexGetResponse, unknown, {}>>;
|
|
32
|
+
/** POST /api/v1/reservations; permission: public/session-derived. */
|
|
33
|
+
reservationStorePost(data: T.ReservationStorePostInput, options?: RequestOptions<T.ReservationStorePostInput>): Promise<import("axios").AxiosResponse<T.ReservationStorePostResponse, T.ReservationStorePostInput, {}>>;
|
|
34
|
+
/** DELETE /api/v1/reservations/{id}; permission: public/session-derived. */
|
|
35
|
+
reservationCancelDelete(id: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<T.ReservationCancelDeleteResponse, unknown, {}>>;
|
|
36
|
+
/** GET /api/v1/reservations/{id}; permission: public/session-derived. */
|
|
37
|
+
reservationShowGet(id: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<T.ReservationShowGetResponse, unknown, {}>>;
|
|
38
|
+
/** PATCH /api/v1/reservations/{id}; permission: public/session-derived. */
|
|
39
|
+
reservationUpdatePatch(id: Identifier, data: T.ReservationUpdatePatchInput, options?: RequestOptions<T.ReservationUpdatePatchInput>): Promise<import("axios").AxiosResponse<T.ReservationUpdatePatchResponse, T.ReservationUpdatePatchInput, {}>>;
|
|
40
|
+
/** GET /api/v1/services; permission: public/session-derived. */
|
|
41
|
+
reservationServiceIndexGet(params?: T.ReservationServiceIndexGetQuery, options?: RequestOptions): Promise<import("axios").AxiosResponse<T.ReservationServiceIndexGetResponse, unknown, {}>>;
|
|
42
|
+
/** POST /api/v1/services; permission: public/session-derived. */
|
|
43
|
+
reservationServiceStorePost(data: T.ReservationServiceStorePostInput, options?: RequestOptions<T.ReservationServiceStorePostInput>): Promise<import("axios").AxiosResponse<T.ReservationServiceStorePostResponse, T.ReservationServiceStorePostInput, {}>>;
|
|
44
|
+
/** DELETE /api/v1/services/{id}; permission: public/session-derived. */
|
|
45
|
+
reservationServiceDestroyDelete(id: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<T.ReservationServiceDestroyDeleteResponse, unknown, {}>>;
|
|
46
|
+
/** GET /api/v1/services/{id}; permission: public/session-derived. */
|
|
47
|
+
reservationServiceShowGet(id: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<T.ReservationServiceShowGetResponse, unknown, {}>>;
|
|
48
|
+
/** PATCH /api/v1/services/{id}; permission: public/session-derived. */
|
|
49
|
+
reservationServiceUpdatePatch(id: Identifier, data: T.ReservationServiceUpdatePatchInput, options?: RequestOptions<T.ReservationServiceUpdatePatchInput>): Promise<import("axios").AxiosResponse<T.ReservationServiceUpdatePatchResponse, T.ReservationServiceUpdatePatchInput, {}>>;
|
|
50
|
+
/** POST /api/v1/slots; permission: public/session-derived. */
|
|
51
|
+
timeSlotGeneratePost(data: T.TimeSlotGeneratePostInput, options?: RequestOptions<T.TimeSlotGeneratePostInput>): Promise<import("axios").AxiosResponse<T.TimeSlotGeneratePostResponse, T.TimeSlotGeneratePostInput, {}>>;
|
|
52
|
+
/** DELETE /api/v1/slots/{id}; permission: public/session-derived. */
|
|
53
|
+
timeSlotDestroyDelete(id: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<T.TimeSlotDestroyDeleteResponse, unknown, {}>>;
|
|
54
|
+
/** GET /api/v1/slots/{id}; permission: public/session-derived. */
|
|
55
|
+
timeSlotShowGet(id: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<T.TimeSlotShowGetResponse, unknown, {}>>;
|
|
56
|
+
/** PATCH /api/v1/slots/{id}; permission: public/session-derived. */
|
|
57
|
+
timeSlotUpdatePatch(id: Identifier, data: T.TimeSlotUpdatePatchInput, options?: RequestOptions<T.TimeSlotUpdatePatchInput>): Promise<import("axios").AxiosResponse<T.TimeSlotUpdatePatchResponse, T.TimeSlotUpdatePatchInput, {}>>;
|
|
58
|
+
/** GET /api/v1/slots/available; permission: public/session-derived. */
|
|
59
|
+
timeSlotAvailableGet(params?: T.TimeSlotAvailableGetQuery, options?: RequestOptions): Promise<import("axios").AxiosResponse<T.TimeSlotAvailableGetResponse, unknown, {}>>;
|
|
60
|
+
/** GET /health; permission: public/session-derived. */
|
|
61
|
+
routerHealthGetHealth(options?: RequestOptions): Promise<import("axios").AxiosResponse<T.RouterHealthGetHealthResponse, unknown, {}>>;
|
|
62
|
+
}
|
|
63
|
+
//# 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,qBAAsB,SAAQ,UAAU;IACnD,iDAAiD;IACjD,eAAe,CAAC,OAAO,CAAC,EAAE,cAAc;IAGxC,iEAAiE;IACjE,oBAAoB,CAAC,OAAO,CAAC,EAAE,cAAc;IAG7C,wEAAwE;IACxE,iCAAiC,CAAC,OAAO,CAAC,EAAE,cAAc;IAG1D,iEAAiE;IACjE,gBAAgB,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,qBAAqB,EAAE,OAAO,CAAC,EAAE,cAAc;IAG3E,kEAAkE;IAClE,iBAAiB,CAAC,IAAI,EAAE,CAAC,CAAC,sBAAsB,EAAE,OAAO,CAAC,EAAE,cAAc,CAAC,CAAC,CAAC,sBAAsB,CAAC;IAGpG,yEAAyE;IACzE,qBAAqB,CAAC,EAAE,EAAE,UAAU,EAAE,OAAO,CAAC,EAAE,cAAc;IAG9D,sEAAsE;IACtE,eAAe,CAAC,EAAE,EAAE,UAAU,EAAE,OAAO,CAAC,EAAE,cAAc;IAGxD,wEAAwE;IACxE,mBAAmB,CAAC,EA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 -0,0 +1,120 @@
|
|
|
1
|
+
import { ServiceApi, urlEncoded } from "@faiber/sdk-core";
|
|
2
|
+
export class ReservationOperations extends ServiceApi {
|
|
3
|
+
/** GET /; permission: public/session-derived. */
|
|
4
|
+
routerHealthGet(options) {
|
|
5
|
+
return this.client.request({ ...options, method: "GET", url: `/` });
|
|
6
|
+
}
|
|
7
|
+
/** GET /api/openapi.json; permission: public/session-derived. */
|
|
8
|
+
routerOpenapiJsonGet(options) {
|
|
9
|
+
return this.client.request({ ...options, method: "GET", url: `/api/openapi.json` });
|
|
10
|
+
}
|
|
11
|
+
/** GET /api/v1/integration/flow; permission: public/session-derived. */
|
|
12
|
+
integrationFlowIntegrationShowGet(options) {
|
|
13
|
+
return this.client.request({ ...options, method: "GET", url: `/api/v1/integration/flow` });
|
|
14
|
+
}
|
|
15
|
+
/** GET /api/v1/providers; permission: public/session-derived. */
|
|
16
|
+
providerIndexGet(params, options) {
|
|
17
|
+
return this.client.request({ ...options, method: "GET", url: `/api/v1/providers`, params });
|
|
18
|
+
}
|
|
19
|
+
/** POST /api/v1/providers; permission: public/session-derived. */
|
|
20
|
+
providerStorePost(data, options) {
|
|
21
|
+
return this.client.request({ ...options, method: "POST", url: `/api/v1/providers`, data: data });
|
|
22
|
+
}
|
|
23
|
+
/** DELETE /api/v1/providers/{id}; permission: public/session-derived. */
|
|
24
|
+
providerDestroyDelete(id, options) {
|
|
25
|
+
return this.client.request({ ...options, method: "DELETE", url: `/api/v1/providers/${encodeURIComponent(id)}` });
|
|
26
|
+
}
|
|
27
|
+
/** GET /api/v1/providers/{id}; permission: public/session-derived. */
|
|
28
|
+
providerShowGet(id, options) {
|
|
29
|
+
return this.client.request({ ...options, method: "GET", url: `/api/v1/providers/${encodeURIComponent(id)}` });
|
|
30
|
+
}
|
|
31
|
+
/** PATCH /api/v1/providers/{id}; permission: public/session-derived. */
|
|
32
|
+
providerUpdatePatch(id, data, options) {
|
|
33
|
+
return this.client.request({ ...options, method: "PATCH", url: `/api/v1/providers/${encodeURIComponent(id)}`, data: data });
|
|
34
|
+
}
|
|
35
|
+
/** GET /api/v1/providers/{id}/services; permission: public/session-derived. */
|
|
36
|
+
providerListServicesGet(id, options) {
|
|
37
|
+
return this.client.request({ ...options, method: "GET", url: `/api/v1/providers/${encodeURIComponent(id)}/services` });
|
|
38
|
+
}
|
|
39
|
+
/** POST /api/v1/providers/{id}/services; permission: public/session-derived. */
|
|
40
|
+
providerAssignServicePost(id, data, options) {
|
|
41
|
+
return this.client.request({ ...options, method: "POST", url: `/api/v1/providers/${encodeURIComponent(id)}/services`, data: data });
|
|
42
|
+
}
|
|
43
|
+
/** DELETE /api/v1/providers/{id}/services/{service_id}; permission: public/session-derived. */
|
|
44
|
+
providerRemoveServiceDelete(id, serviceId, options) {
|
|
45
|
+
return this.client.request({ ...options, method: "DELETE", url: `/api/v1/providers/${encodeURIComponent(id)}/services/${encodeURIComponent(serviceId)}` });
|
|
46
|
+
}
|
|
47
|
+
/** GET /api/v1/providers/{provider_id}/schedules; permission: public/session-derived. */
|
|
48
|
+
workScheduleIndexGet(providerId, options) {
|
|
49
|
+
return this.client.request({ ...options, method: "GET", url: `/api/v1/providers/${encodeURIComponent(providerId)}/schedules` });
|
|
50
|
+
}
|
|
51
|
+
/** PUT /api/v1/providers/{provider_id}/schedules; permission: public/session-derived. */
|
|
52
|
+
workScheduleUpsertPut(providerId, data, options) {
|
|
53
|
+
return this.client.request({ ...options, method: "PUT", url: `/api/v1/providers/${encodeURIComponent(providerId)}/schedules`, data: data });
|
|
54
|
+
}
|
|
55
|
+
/** GET /api/v1/reservations; permission: public/session-derived. */
|
|
56
|
+
reservationIndexGet(params, options) {
|
|
57
|
+
return this.client.request({ ...options, method: "GET", url: `/api/v1/reservations`, params });
|
|
58
|
+
}
|
|
59
|
+
/** POST /api/v1/reservations; permission: public/session-derived. */
|
|
60
|
+
reservationStorePost(data, options) {
|
|
61
|
+
return this.client.request({ ...options, method: "POST", url: `/api/v1/reservations`, data: data });
|
|
62
|
+
}
|
|
63
|
+
/** DELETE /api/v1/reservations/{id}; permission: public/session-derived. */
|
|
64
|
+
reservationCancelDelete(id, options) {
|
|
65
|
+
return this.client.request({ ...options, method: "DELETE", url: `/api/v1/reservations/${encodeURIComponent(id)}` });
|
|
66
|
+
}
|
|
67
|
+
/** GET /api/v1/reservations/{id}; permission: public/session-derived. */
|
|
68
|
+
reservationShowGet(id, options) {
|
|
69
|
+
return this.client.request({ ...options, method: "GET", url: `/api/v1/reservations/${encodeURIComponent(id)}` });
|
|
70
|
+
}
|
|
71
|
+
/** PATCH /api/v1/reservations/{id}; permission: public/session-derived. */
|
|
72
|
+
reservationUpdatePatch(id, data, options) {
|
|
73
|
+
return this.client.request({ ...options, method: "PATCH", url: `/api/v1/reservations/${encodeURIComponent(id)}`, data: data });
|
|
74
|
+
}
|
|
75
|
+
/** GET /api/v1/services; permission: public/session-derived. */
|
|
76
|
+
reservationServiceIndexGet(params, options) {
|
|
77
|
+
return this.client.request({ ...options, method: "GET", url: `/api/v1/services`, params });
|
|
78
|
+
}
|
|
79
|
+
/** POST /api/v1/services; permission: public/session-derived. */
|
|
80
|
+
reservationServiceStorePost(data, options) {
|
|
81
|
+
return this.client.request({ ...options, method: "POST", url: `/api/v1/services`, data: data });
|
|
82
|
+
}
|
|
83
|
+
/** DELETE /api/v1/services/{id}; permission: public/session-derived. */
|
|
84
|
+
reservationServiceDestroyDelete(id, options) {
|
|
85
|
+
return this.client.request({ ...options, method: "DELETE", url: `/api/v1/services/${encodeURIComponent(id)}` });
|
|
86
|
+
}
|
|
87
|
+
/** GET /api/v1/services/{id}; permission: public/session-derived. */
|
|
88
|
+
reservationServiceShowGet(id, options) {
|
|
89
|
+
return this.client.request({ ...options, method: "GET", url: `/api/v1/services/${encodeURIComponent(id)}` });
|
|
90
|
+
}
|
|
91
|
+
/** PATCH /api/v1/services/{id}; permission: public/session-derived. */
|
|
92
|
+
reservationServiceUpdatePatch(id, data, options) {
|
|
93
|
+
return this.client.request({ ...options, method: "PATCH", url: `/api/v1/services/${encodeURIComponent(id)}`, data: data });
|
|
94
|
+
}
|
|
95
|
+
/** POST /api/v1/slots; permission: public/session-derived. */
|
|
96
|
+
timeSlotGeneratePost(data, options) {
|
|
97
|
+
return this.client.request({ ...options, method: "POST", url: `/api/v1/slots`, data: data });
|
|
98
|
+
}
|
|
99
|
+
/** DELETE /api/v1/slots/{id}; permission: public/session-derived. */
|
|
100
|
+
timeSlotDestroyDelete(id, options) {
|
|
101
|
+
return this.client.request({ ...options, method: "DELETE", url: `/api/v1/slots/${encodeURIComponent(id)}` });
|
|
102
|
+
}
|
|
103
|
+
/** GET /api/v1/slots/{id}; permission: public/session-derived. */
|
|
104
|
+
timeSlotShowGet(id, options) {
|
|
105
|
+
return this.client.request({ ...options, method: "GET", url: `/api/v1/slots/${encodeURIComponent(id)}` });
|
|
106
|
+
}
|
|
107
|
+
/** PATCH /api/v1/slots/{id}; permission: public/session-derived. */
|
|
108
|
+
timeSlotUpdatePatch(id, data, options) {
|
|
109
|
+
return this.client.request({ ...options, method: "PATCH", url: `/api/v1/slots/${encodeURIComponent(id)}`, data: data });
|
|
110
|
+
}
|
|
111
|
+
/** GET /api/v1/slots/available; permission: public/session-derived. */
|
|
112
|
+
timeSlotAvailableGet(params, options) {
|
|
113
|
+
return this.client.request({ ...options, method: "GET", url: `/api/v1/slots/available`, params });
|
|
114
|
+
}
|
|
115
|
+
/** GET /health; permission: public/session-derived. */
|
|
116
|
+
routerHealthGetHealth(options) {
|
|
117
|
+
return this.client.request({ ...options, method: "GET", url: `/health` });
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
//# 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,qBAAsB,SAAQ,UA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EAAE,IAAgC,EAAE,OAAoD;QACxH,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,CAA4D,EAAE,GAAG,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,GAAG,EAAE,iBAAiB,kBAAkB,CAAC,EAAE,CAAC,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,CAAC;IACrL,CAAC;IACD,uEAAuE;IACvE,oBAAoB,CAAC,MAAoC,EAAE,OAAwB;QACjF,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,CAAiC,EAAE,GAAG,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,EAAE,yBAAyB,EAAE,MAAM,EAAE,CAAC,CAAC;IACpI,CAAC;IACD,uDAAuD;IACvD,qBAAqB,CAAC,OAAwB;QAC5C,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,CAAkC,EAAE,GAAG,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,EAAE,SAAS,EAAE,CAAC,CAAC;IAC7G,CAAC;CACF"}
|
|
@@ -0,0 +1,386 @@
|
|
|
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: serde_json::Value. */
|
|
4
|
+
export interface RouterHealthGetResponse extends ApiEnvelope<JsonValue> {
|
|
5
|
+
}
|
|
6
|
+
/** Backend response type: response without a declared JSON model. */
|
|
7
|
+
export interface RouterOpenapiJsonGetResponse extends ApiEnvelope<JsonValue> {
|
|
8
|
+
}
|
|
9
|
+
/** Backend response type: infera_flow_sdk::FlowIntegrationResponse. */
|
|
10
|
+
export interface IntegrationFlowIntegrationShowGetResponse extends ApiEnvelope<JsonValue> {
|
|
11
|
+
}
|
|
12
|
+
/** Backend query type: PaginationQuery. */
|
|
13
|
+
export interface ProviderIndexGetQuery extends QueryParams {
|
|
14
|
+
"page[number]"?: number;
|
|
15
|
+
"page[size]"?: number;
|
|
16
|
+
}
|
|
17
|
+
/** Backend response type: crate::models::PagedResult<ProviderResponse>. */
|
|
18
|
+
export interface ProviderIndexGetResponseItem extends JsonObject {
|
|
19
|
+
"id": number;
|
|
20
|
+
"user_id"?: string;
|
|
21
|
+
"name": string;
|
|
22
|
+
"bio"?: string;
|
|
23
|
+
"avatar_url"?: string;
|
|
24
|
+
"is_active": boolean;
|
|
25
|
+
"created_at": string;
|
|
26
|
+
}
|
|
27
|
+
export interface ProviderIndexGetResponsePageMeta extends JsonObject {
|
|
28
|
+
"page": number;
|
|
29
|
+
"page_size": number;
|
|
30
|
+
"total_items": number;
|
|
31
|
+
"total_pages": number;
|
|
32
|
+
}
|
|
33
|
+
export interface ProviderIndexGetResponseData extends JsonObject {
|
|
34
|
+
"data": ProviderIndexGetResponseItem[];
|
|
35
|
+
"meta": ProviderIndexGetResponsePageMeta;
|
|
36
|
+
}
|
|
37
|
+
export interface ProviderIndexGetResponse extends ApiEnvelope<ProviderIndexGetResponseData> {
|
|
38
|
+
}
|
|
39
|
+
/** Backend request type: CreateProviderRequest. */
|
|
40
|
+
export interface ProviderStorePostInput extends JsonObject {
|
|
41
|
+
"user_id"?: string;
|
|
42
|
+
"name": string;
|
|
43
|
+
"bio"?: string;
|
|
44
|
+
"avatar_url"?: string;
|
|
45
|
+
"is_active"?: boolean;
|
|
46
|
+
}
|
|
47
|
+
/** Backend response type: ProviderResponse. */
|
|
48
|
+
export interface ProviderStorePostResponseData extends JsonObject {
|
|
49
|
+
"id": number;
|
|
50
|
+
"user_id"?: string;
|
|
51
|
+
"name": string;
|
|
52
|
+
"bio"?: string;
|
|
53
|
+
"avatar_url"?: string;
|
|
54
|
+
"is_active": boolean;
|
|
55
|
+
"created_at": string;
|
|
56
|
+
}
|
|
57
|
+
export interface ProviderStorePostResponse extends ApiEnvelope<ProviderStorePostResponseData> {
|
|
58
|
+
}
|
|
59
|
+
/** Backend response type: (). */
|
|
60
|
+
export interface ProviderDestroyDeleteResponse extends ApiEnvelope<JsonObject> {
|
|
61
|
+
}
|
|
62
|
+
/** Backend response type: ProviderResponse. */
|
|
63
|
+
export interface ProviderShowGetResponseData extends JsonObject {
|
|
64
|
+
"id": number;
|
|
65
|
+
"user_id"?: string;
|
|
66
|
+
"name": string;
|
|
67
|
+
"bio"?: string;
|
|
68
|
+
"avatar_url"?: string;
|
|
69
|
+
"is_active": boolean;
|
|
70
|
+
"created_at": string;
|
|
71
|
+
}
|
|
72
|
+
export interface ProviderShowGetResponse extends ApiEnvelope<ProviderShowGetResponseData> {
|
|
73
|
+
}
|
|
74
|
+
/** Backend request type: UpdateProviderRequest. */
|
|
75
|
+
export interface ProviderUpdatePatchInput extends JsonObject {
|
|
76
|
+
"user_id"?: string;
|
|
77
|
+
"name"?: string;
|
|
78
|
+
"bio"?: string;
|
|
79
|
+
"avatar_url"?: string;
|
|
80
|
+
"is_active"?: boolean;
|
|
81
|
+
}
|
|
82
|
+
/** Backend response type: ProviderResponse. */
|
|
83
|
+
export interface ProviderUpdatePatchResponseData extends JsonObject {
|
|
84
|
+
"id": number;
|
|
85
|
+
"user_id"?: string;
|
|
86
|
+
"name": string;
|
|
87
|
+
"bio"?: string;
|
|
88
|
+
"avatar_url"?: string;
|
|
89
|
+
"is_active": boolean;
|
|
90
|
+
"created_at": string;
|
|
91
|
+
}
|
|
92
|
+
export interface ProviderUpdatePatchResponse extends ApiEnvelope<ProviderUpdatePatchResponseData> {
|
|
93
|
+
}
|
|
94
|
+
/** Backend response type: Vec<ServiceResponse>. */
|
|
95
|
+
export interface ProviderListServicesGetResponseItem extends JsonObject {
|
|
96
|
+
"id": number;
|
|
97
|
+
"name": string;
|
|
98
|
+
"description"?: string;
|
|
99
|
+
"image_url"?: string;
|
|
100
|
+
"duration_minutes": number;
|
|
101
|
+
"buffer_minutes": number;
|
|
102
|
+
"is_active": boolean;
|
|
103
|
+
"created_at": string;
|
|
104
|
+
}
|
|
105
|
+
export interface ProviderListServicesGetResponse extends ApiEnvelope<ProviderListServicesGetResponseItem[]> {
|
|
106
|
+
}
|
|
107
|
+
/** Backend request type: AssignServiceRequest. */
|
|
108
|
+
export interface ProviderAssignServicePostInput extends JsonObject {
|
|
109
|
+
"service_id": number;
|
|
110
|
+
}
|
|
111
|
+
/** Backend response type: (). */
|
|
112
|
+
export interface ProviderAssignServicePostResponse extends ApiEnvelope<JsonObject> {
|
|
113
|
+
}
|
|
114
|
+
/** Backend response type: (). */
|
|
115
|
+
export interface ProviderRemoveServiceDeleteResponse extends ApiEnvelope<JsonObject> {
|
|
116
|
+
}
|
|
117
|
+
/** Backend response type: Vec<WorkScheduleResponse>. */
|
|
118
|
+
export interface WorkScheduleIndexGetResponseItem extends JsonObject {
|
|
119
|
+
"id": number;
|
|
120
|
+
"provider_id": number;
|
|
121
|
+
"day_of_week": string;
|
|
122
|
+
"start_time": string;
|
|
123
|
+
"end_time": string;
|
|
124
|
+
"is_active": boolean;
|
|
125
|
+
}
|
|
126
|
+
export interface WorkScheduleIndexGetResponse extends ApiEnvelope<WorkScheduleIndexGetResponseItem[]> {
|
|
127
|
+
}
|
|
128
|
+
/** Backend request type: UpsertScheduleRequest. */
|
|
129
|
+
export interface WorkScheduleUpsertPutInput extends JsonObject {
|
|
130
|
+
"schedules": JsonValue[];
|
|
131
|
+
}
|
|
132
|
+
/** Backend response type: Vec<WorkScheduleResponse>. */
|
|
133
|
+
export interface WorkScheduleUpsertPutResponseItem extends JsonObject {
|
|
134
|
+
"id": number;
|
|
135
|
+
"provider_id": number;
|
|
136
|
+
"day_of_week": string;
|
|
137
|
+
"start_time": string;
|
|
138
|
+
"end_time": string;
|
|
139
|
+
"is_active": boolean;
|
|
140
|
+
}
|
|
141
|
+
export interface WorkScheduleUpsertPutResponse extends ApiEnvelope<WorkScheduleUpsertPutResponseItem[]> {
|
|
142
|
+
}
|
|
143
|
+
/** Backend query type: ReservationListQuery. */
|
|
144
|
+
export interface ReservationIndexGetQuery extends QueryParams {
|
|
145
|
+
"user_id"?: string;
|
|
146
|
+
"provider_id"?: number;
|
|
147
|
+
"service_id"?: number;
|
|
148
|
+
"status"?: string;
|
|
149
|
+
"page[number]"?: number;
|
|
150
|
+
"page[size]"?: number;
|
|
151
|
+
}
|
|
152
|
+
/** Backend response type: PagedResult<ReservationResponse>. */
|
|
153
|
+
export interface ReservationIndexGetResponseItem extends JsonObject {
|
|
154
|
+
"id": number;
|
|
155
|
+
"time_slot_id": number;
|
|
156
|
+
"provider_id": number;
|
|
157
|
+
"service_id": number;
|
|
158
|
+
"user_id": string;
|
|
159
|
+
"status": string;
|
|
160
|
+
"notes"?: string;
|
|
161
|
+
"starts_at"?: string;
|
|
162
|
+
"created_at": string;
|
|
163
|
+
}
|
|
164
|
+
export interface ReservationIndexGetResponsePageMeta extends JsonObject {
|
|
165
|
+
"page": number;
|
|
166
|
+
"page_size": number;
|
|
167
|
+
"total_items": number;
|
|
168
|
+
"total_pages": number;
|
|
169
|
+
}
|
|
170
|
+
export interface ReservationIndexGetResponseData extends JsonObject {
|
|
171
|
+
"data": ReservationIndexGetResponseItem[];
|
|
172
|
+
"meta": ReservationIndexGetResponsePageMeta;
|
|
173
|
+
}
|
|
174
|
+
export interface ReservationIndexGetResponse extends ApiEnvelope<ReservationIndexGetResponseData> {
|
|
175
|
+
}
|
|
176
|
+
/** Backend request type: CreateReservationRequest. */
|
|
177
|
+
export interface ReservationStorePostInput extends JsonObject {
|
|
178
|
+
"time_slot_id": number;
|
|
179
|
+
"user_id": string;
|
|
180
|
+
"notes"?: string;
|
|
181
|
+
}
|
|
182
|
+
/** Backend response type: ReservationResponse. */
|
|
183
|
+
export interface ReservationStorePostResponseData extends JsonObject {
|
|
184
|
+
"id": number;
|
|
185
|
+
"time_slot_id": number;
|
|
186
|
+
"provider_id": number;
|
|
187
|
+
"service_id": number;
|
|
188
|
+
"user_id": string;
|
|
189
|
+
"status": string;
|
|
190
|
+
"notes"?: string;
|
|
191
|
+
"starts_at"?: string;
|
|
192
|
+
"created_at": string;
|
|
193
|
+
}
|
|
194
|
+
export interface ReservationStorePostResponse extends ApiEnvelope<ReservationStorePostResponseData> {
|
|
195
|
+
}
|
|
196
|
+
/** Backend response type: (). */
|
|
197
|
+
export interface ReservationCancelDeleteResponse extends ApiEnvelope<JsonObject> {
|
|
198
|
+
}
|
|
199
|
+
/** Backend response type: ReservationResponse. */
|
|
200
|
+
export interface ReservationShowGetResponseData extends JsonObject {
|
|
201
|
+
"id": number;
|
|
202
|
+
"time_slot_id": number;
|
|
203
|
+
"provider_id": number;
|
|
204
|
+
"service_id": number;
|
|
205
|
+
"user_id": string;
|
|
206
|
+
"status": string;
|
|
207
|
+
"notes"?: string;
|
|
208
|
+
"starts_at"?: string;
|
|
209
|
+
"created_at": string;
|
|
210
|
+
}
|
|
211
|
+
export interface ReservationShowGetResponse extends ApiEnvelope<ReservationShowGetResponseData> {
|
|
212
|
+
}
|
|
213
|
+
/** Backend request type: UpdateReservationRequest. */
|
|
214
|
+
export interface ReservationUpdatePatchInput extends JsonObject {
|
|
215
|
+
"status"?: string;
|
|
216
|
+
"notes"?: string;
|
|
217
|
+
}
|
|
218
|
+
/** Backend response type: ReservationResponse. */
|
|
219
|
+
export interface ReservationUpdatePatchResponseData extends JsonObject {
|
|
220
|
+
"id": number;
|
|
221
|
+
"time_slot_id": number;
|
|
222
|
+
"provider_id": number;
|
|
223
|
+
"service_id": number;
|
|
224
|
+
"user_id": string;
|
|
225
|
+
"status": string;
|
|
226
|
+
"notes"?: string;
|
|
227
|
+
"starts_at"?: string;
|
|
228
|
+
"created_at": string;
|
|
229
|
+
}
|
|
230
|
+
export interface ReservationUpdatePatchResponse extends ApiEnvelope<ReservationUpdatePatchResponseData> {
|
|
231
|
+
}
|
|
232
|
+
/** Backend query type: PaginationQuery. */
|
|
233
|
+
export interface ReservationServiceIndexGetQuery extends QueryParams {
|
|
234
|
+
"page[number]"?: number;
|
|
235
|
+
"page[size]"?: number;
|
|
236
|
+
}
|
|
237
|
+
/** Backend response type: crate::models::PagedResult<ServiceResponse>. */
|
|
238
|
+
export interface ReservationServiceIndexGetResponseItem extends JsonObject {
|
|
239
|
+
"id": number;
|
|
240
|
+
"name": string;
|
|
241
|
+
"description"?: string;
|
|
242
|
+
"image_url"?: string;
|
|
243
|
+
"duration_minutes": number;
|
|
244
|
+
"buffer_minutes": number;
|
|
245
|
+
"is_active": boolean;
|
|
246
|
+
"created_at": string;
|
|
247
|
+
}
|
|
248
|
+
export interface ReservationServiceIndexGetResponsePageMeta extends JsonObject {
|
|
249
|
+
"page": number;
|
|
250
|
+
"page_size": number;
|
|
251
|
+
"total_items": number;
|
|
252
|
+
"total_pages": number;
|
|
253
|
+
}
|
|
254
|
+
export interface ReservationServiceIndexGetResponseData extends JsonObject {
|
|
255
|
+
"data": ReservationServiceIndexGetResponseItem[];
|
|
256
|
+
"meta": ReservationServiceIndexGetResponsePageMeta;
|
|
257
|
+
}
|
|
258
|
+
export interface ReservationServiceIndexGetResponse extends ApiEnvelope<ReservationServiceIndexGetResponseData> {
|
|
259
|
+
}
|
|
260
|
+
/** Backend request type: CreateServiceRequest. */
|
|
261
|
+
export interface ReservationServiceStorePostInput extends JsonObject {
|
|
262
|
+
"name": string;
|
|
263
|
+
"description"?: string;
|
|
264
|
+
"image_url"?: string;
|
|
265
|
+
"duration_minutes": number;
|
|
266
|
+
"buffer_minutes"?: number;
|
|
267
|
+
"is_active"?: boolean;
|
|
268
|
+
}
|
|
269
|
+
/** Backend response type: ServiceResponse. */
|
|
270
|
+
export interface ReservationServiceStorePostResponseData extends JsonObject {
|
|
271
|
+
"id": number;
|
|
272
|
+
"name": string;
|
|
273
|
+
"description"?: string;
|
|
274
|
+
"image_url"?: string;
|
|
275
|
+
"duration_minutes": number;
|
|
276
|
+
"buffer_minutes": number;
|
|
277
|
+
"is_active": boolean;
|
|
278
|
+
"created_at": string;
|
|
279
|
+
}
|
|
280
|
+
export interface ReservationServiceStorePostResponse extends ApiEnvelope<ReservationServiceStorePostResponseData> {
|
|
281
|
+
}
|
|
282
|
+
/** Backend response type: (). */
|
|
283
|
+
export interface ReservationServiceDestroyDeleteResponse extends ApiEnvelope<JsonObject> {
|
|
284
|
+
}
|
|
285
|
+
/** Backend response type: ServiceResponse. */
|
|
286
|
+
export interface ReservationServiceShowGetResponseData extends JsonObject {
|
|
287
|
+
"id": number;
|
|
288
|
+
"name": string;
|
|
289
|
+
"description"?: string;
|
|
290
|
+
"image_url"?: string;
|
|
291
|
+
"duration_minutes": number;
|
|
292
|
+
"buffer_minutes": number;
|
|
293
|
+
"is_active": boolean;
|
|
294
|
+
"created_at": string;
|
|
295
|
+
}
|
|
296
|
+
export interface ReservationServiceShowGetResponse extends ApiEnvelope<ReservationServiceShowGetResponseData> {
|
|
297
|
+
}
|
|
298
|
+
/** Backend request type: UpdateServiceRequest. */
|
|
299
|
+
export interface ReservationServiceUpdatePatchInput extends JsonObject {
|
|
300
|
+
"name"?: string;
|
|
301
|
+
"description"?: string;
|
|
302
|
+
"image_url"?: string;
|
|
303
|
+
"duration_minutes"?: number;
|
|
304
|
+
"buffer_minutes"?: number;
|
|
305
|
+
"is_active"?: boolean;
|
|
306
|
+
}
|
|
307
|
+
/** Backend response type: ServiceResponse. */
|
|
308
|
+
export interface ReservationServiceUpdatePatchResponseData extends JsonObject {
|
|
309
|
+
"id": number;
|
|
310
|
+
"name": string;
|
|
311
|
+
"description"?: string;
|
|
312
|
+
"image_url"?: string;
|
|
313
|
+
"duration_minutes": number;
|
|
314
|
+
"buffer_minutes": number;
|
|
315
|
+
"is_active": boolean;
|
|
316
|
+
"created_at": string;
|
|
317
|
+
}
|
|
318
|
+
export interface ReservationServiceUpdatePatchResponse extends ApiEnvelope<ReservationServiceUpdatePatchResponseData> {
|
|
319
|
+
}
|
|
320
|
+
/** Backend request type: GenerateSlotsRequest. */
|
|
321
|
+
export interface TimeSlotGeneratePostInput extends JsonObject {
|
|
322
|
+
"provider_id": number;
|
|
323
|
+
"service_id": number;
|
|
324
|
+
"from_date": string;
|
|
325
|
+
"to_date": string;
|
|
326
|
+
}
|
|
327
|
+
/** Backend response type: usize. */
|
|
328
|
+
export interface TimeSlotGeneratePostResponse extends ApiEnvelope<number> {
|
|
329
|
+
}
|
|
330
|
+
/** Backend response type: (). */
|
|
331
|
+
export interface TimeSlotDestroyDeleteResponse extends ApiEnvelope<JsonObject> {
|
|
332
|
+
}
|
|
333
|
+
/** Backend response type: TimeSlotResponse. */
|
|
334
|
+
export interface TimeSlotShowGetResponseData extends JsonObject {
|
|
335
|
+
"id": number;
|
|
336
|
+
"provider_id": number;
|
|
337
|
+
"service_id": number;
|
|
338
|
+
"starts_at": string;
|
|
339
|
+
"ends_at": string;
|
|
340
|
+
"is_reserved": boolean;
|
|
341
|
+
"reserved_by_user_id"?: string;
|
|
342
|
+
}
|
|
343
|
+
export interface TimeSlotShowGetResponse extends ApiEnvelope<TimeSlotShowGetResponseData> {
|
|
344
|
+
}
|
|
345
|
+
/** Backend request type: UpdateTimeSlotRequest. */
|
|
346
|
+
export interface TimeSlotUpdatePatchInput extends JsonObject {
|
|
347
|
+
"provider_id"?: number;
|
|
348
|
+
"service_id"?: number;
|
|
349
|
+
"starts_at"?: string;
|
|
350
|
+
"ends_at"?: string;
|
|
351
|
+
"is_reserved"?: boolean;
|
|
352
|
+
}
|
|
353
|
+
/** Backend response type: TimeSlotResponse. */
|
|
354
|
+
export interface TimeSlotUpdatePatchResponseData extends JsonObject {
|
|
355
|
+
"id": number;
|
|
356
|
+
"provider_id": number;
|
|
357
|
+
"service_id": number;
|
|
358
|
+
"starts_at": string;
|
|
359
|
+
"ends_at": string;
|
|
360
|
+
"is_reserved": boolean;
|
|
361
|
+
"reserved_by_user_id"?: string;
|
|
362
|
+
}
|
|
363
|
+
export interface TimeSlotUpdatePatchResponse extends ApiEnvelope<TimeSlotUpdatePatchResponseData> {
|
|
364
|
+
}
|
|
365
|
+
/** Backend query type: AvailableSlotsQuery. */
|
|
366
|
+
export interface TimeSlotAvailableGetQuery extends QueryParams {
|
|
367
|
+
"service_id"?: number;
|
|
368
|
+
"provider_id"?: number;
|
|
369
|
+
"date"?: string;
|
|
370
|
+
}
|
|
371
|
+
/** Backend response type: Vec<TimeSlotResponse>. */
|
|
372
|
+
export interface TimeSlotAvailableGetResponseItem extends JsonObject {
|
|
373
|
+
"id": number;
|
|
374
|
+
"provider_id": number;
|
|
375
|
+
"service_id": number;
|
|
376
|
+
"starts_at": string;
|
|
377
|
+
"ends_at": string;
|
|
378
|
+
"is_reserved": boolean;
|
|
379
|
+
"reserved_by_user_id"?: string;
|
|
380
|
+
}
|
|
381
|
+
export interface TimeSlotAvailableGetResponse extends ApiEnvelope<TimeSlotAvailableGetResponseItem[]> {
|
|
382
|
+
}
|
|
383
|
+
/** Backend response type: serde_json::Value. */
|
|
384
|
+
export interface RouterHealthGetHealthResponse extends ApiEnvelope<JsonValue> {
|
|
385
|
+
}
|
|
386
|
+
//# 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,gDAAgD;AAChD,MAAM,WAAW,uBAAwB,SAAQ,WAAW,CAAC,SAAS,CAAC;CACtE;AAED,qEAAqE;AACrE,MAAM,WAAW,4BAA6B,SAAQ,WAAW,CAAC,SAAS,CAAC;CAC3E;AAED,uEAAuE;AACvE,MAAM,WAAW,yCAA0C,SAAQ,WAAW,CAAC,SAAS,CAAC;CACxF;AAED,2CAA2C;AAC3C,MAAM,WAAW,qBAAsB,SAAQ,WAAW;IACxD,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AACD,2EAA2E;AAC3E,MAAM,WAAW,4BAA6B,SAAQ,UAAU;IAC9D,IAAI,EA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2BAA4B,SAAQ,WAAW,CAAC,+BAA+B,CAAC;CAChG;AAED,+CAA+C;AAC/C,MAAM,WAAW,yBAA0B,SAAQ,WAAW;IAC5D,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AACD,oDAAoD;AACpD,MAAM,WAAW,gCAAiC,SAAQ,UAAU;IAClE,IAAI,EAAE,MAAM,CAAC;IACb,aAAa,EAAE,MAAM,CAAC;IACtB,YAAY,EAAE,MAAM,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,OAAO,CAAC;IACvB,qBAAqB,CAAC,EAAE,MAAM,CAAC;CAChC;AACD,MAAM,WAAW,4BAA6B,SAAQ,WAAW,CAAC,gCAAgC,EAAE,CAAC;CACpG;AAED,gDAAgD;AAChD,MAAM,WAAW,6BAA8B,SAAQ,WAAW,CAAC,SAAS,CAAC;CAC5E"}
|
|
@@ -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-reservation",
|
|
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
|
+
}
|