@faiber/faiber-version 0.24.0 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -13,13 +13,17 @@ import { FaiberClient } from "@faiber/sdk-core";
13
13
  import { VersionApi } from "@faiber/faiber-version";
14
14
 
15
15
  const client = new FaiberClient("version", {
16
- domains: { version: import.meta.env.FAIBER_VERSION_URL },
16
+ domains: { version: "https://version.example.com" },
17
17
  });
18
18
  const versions = new VersionApi(client);
19
19
 
20
20
  const current = await versions.service("profile");
21
21
  const history = await versions.allVersions("profile");
22
- const release = await versions.version(versionId);
22
+ const latest = current.data.data.service.last_version;
23
+ if (latest) {
24
+ const release = await versions.version(latest.id);
25
+ console.log(release.data.data.version.download_url);
26
+ }
23
27
  ```
24
28
 
25
29
  ## Capabilities
@@ -27,10 +31,12 @@ const release = await versions.version(versionId);
27
31
  | Method | Route | SDK method |
28
32
  | --- | --- | --- |
29
33
  | `GET` | `/health` | `health()` |
34
+ | `GET` | `/api/openapi.json` | `openapi()` |
30
35
  | `GET` | `/api/v1/services` | `services()` |
31
36
  | `GET` | `/api/v1/services/{service_slug}` | `service(slug)` |
32
37
  | `GET` | `/api/v1/services/{service_slug}/all` | `allVersions(slug)` |
33
38
  | `GET` | `/api/v1/versions/{version_id}` | `version(id)` |
39
+ | `POST` | `/api/v1/apk/releases` | `operations.routerPublishApkPost(input)` |
34
40
 
35
41
  Responses retain the backend envelopes: service lists use `data.services`, single services and their complete history use `data.service`, and releases use `data.version`. Exported types include service identity/status, latest version, version code/name, channel, scope, changelog, download URL, status, and timestamps.
36
42
 
@@ -38,4 +44,28 @@ All calls return full Axios responses and accept `RequestOptions` for cancellati
38
44
 
39
45
  ### APK publishing
40
46
 
41
- `versions.operations.routerPublishApkPost({serviceSlug, appName, version, versionCode, downloadUrl}, options)` publishes an idempotent APK release. The download URL must use HTTPS and `versionCode` must be positive. Supply the sandbox's dedicated APK publisher bearer credential through the configured server client; this is not an end-user publishing permission. The raw response is `{status:"success", id}`. Invalid metadata returns 400 and unavailable publisher configuration returns 503.
47
+ `versions.operations.routerPublishApkPost({serviceSlug, appName, version, versionCode, downloadUrl}, options)` publishes an idempotent APK release. The download URL must use HTTPS and `versionCode` must be positive. Supply the sandbox's dedicated APK publisher bearer credential through the configured server client; this is not an end-user publishing permission. The raw response is `{status:"success", id}`. Invalid metadata returns 400, missing/incorrect credentials return 401, and unavailable publisher configuration returns 503.
48
+
49
+ The slug contains 1–100 ASCII letters, digits or hyphens. `appName` must contain non-whitespace text and be at most 80 characters; `version` contains 1–40 ASCII letters, digits, dots, hyphens or underscores. The URL must not contain user credentials. `versionCode` is a positive integer; use JavaScript safe integers to avoid losing precision.
50
+
51
+ Release identity is stable for the same slug and version string. A retry can update its metadata and code; an older code cannot overwrite a higher stored code. The publisher creates active `Release`/`Closed` records but leaves an existing inactive parent service inactive. A successful receipt can therefore coexist with a service lookup returning 404. Download URLs are stored as metadata; the service does not fetch or validate the APK contents.
52
+
53
+ ### Registry behavior
54
+
55
+ Lists return active services without pagination, filters, or populated `last_version` values. A service lookup accepts its **slug**, and resolves the highest active `version_code`. Complete history includes active versions with unspecified ordering. A version lookup accepts a UUID: malformed UUIDs return 400, and missing/inactive records return 404.
56
+
57
+ `channel` uses `Release` or `PreRelease`; `scope` uses `Public` or `Closed`. Scope is descriptive metadata in the inspected handler and does not enforce membership. Apply the appropriate gateway access policy for your project runtime. Do not treat `Closed` as a protection mechanism.
58
+
59
+ Health reports process status. The OpenAPI endpoint returns a raw document, currently describing health only; it is not a complete API inventory. Both convenience methods and generated operations use these same wire contracts.
60
+
61
+ Nullable fields are present with `null`, including service `title`, release metadata
62
+ and `updated_at`; they are not omitted. History uses `versions` and has no
63
+ `last_version` field. Version timestamps are naive database timestamp strings; no
64
+ UTC offset is promised. Successful read envelopes always include `status`, `message`
65
+ and `data`. The publisher receipt remains raw.
66
+
67
+ Use an in-memory `TokenProvider` for gateway credentials, or configure Axios `withCredentials` when your gateway supports secure HttpOnly cookies. Keep the dedicated publisher credential on a trusted server. Configure a separate publisher client when end-user and publisher tokens differ.
68
+
69
+ Axios rejects unsuccessful responses; service application errors usually expose `{error: string}` in `error.response.data`, while extractor errors may use a different body. An aborted `AbortSignal` rejects with Axios cancellation code `ERR_CANCELED`.
70
+
71
+ The complete multi-service client is [@faiber/faiber-ts-sdk](https://www.npmjs.com/package/@faiber/faiber-ts-sdk).
package/dist/.tsbuildinfo CHANGED
@@ -1 +1 @@
1
- {"fileNames":["../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es5.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2015.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2016.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2017.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2018.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2019.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2020.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2021.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2022.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.dom.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.dom.iterable.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2017.date.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2020.date.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2020.number.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2021.string.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2022.array.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2022.error.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2022.object.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2022.string.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.decorators.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../src/contracts.types.ts","../../../../../../../faiber-ts-sdk/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/realtime.d.ts","../../core/dist/index.d.ts","../src/types.ts","../src/operations.types.ts","../src/operations.ts","../src/index.ts"],"fileIdsList":[[62],[61,62],[61,62,63,64,65,66,67,68],[61,62,65],[61],[60,69,70,71,72],[69,71],[60,69],[69]],"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":"37bd3c8a02444684160411ed7aee684072cd244eda385b84cfb85b0c6c056033","signature":"e233e04af314304a58aecc6a617024458ac91ad977720d4dbaa404f2cda40edf","impliedFormat":99},{"version":"2343ec253c90c370449755739733f5f429f58cffdb51a50977bb4a042012fa8f","impliedFormat":99},{"version":"6cc1f17dc5454eb1112cfb4a2e2ddc93de8c3f9016c8db7bdf0328caac374ffa","impliedFormat":99},{"version":"82065c5512d8d6f81b26cf13ea9ecd3e558be9560f7b5c62260858219ecd87f7","impliedFormat":99},{"version":"ed17ed1b2bcf384c88bc6cec6b427989b98db99fc7ad35a50605501a463bbc53","impliedFormat":99},{"version":"82bf4efcca8ab8764a91ac126c0af605ab6717ee94b2316461b5fa388b27e165","impliedFormat":99},{"version":"74d1d74d5dadbbb70e8e294d3419c58885629a9fc95141cbf158a3febb523300","impliedFormat":99},{"version":"3f5eeb0a84713ccf640b9a6af4629e006f59d7629abc3fc95af2efb062fd0b83","impliedFormat":99},{"version":"ac62f6b0f2e963ea9a251ee8384e64cebe0fe4acd32ca177d838d7c5a7ad2b43","impliedFormat":99},{"version":"fdd1b5a8a2b98f82c94e4dc4e3b207ca81766b656d23acd3c7458fffd9af21dd","impliedFormat":99},{"version":"fe962aafcca9e71af3bfc8b616444f56f1fab849c8c342361a06368c6f7b0d36","signature":"63b99438948fd0f21ab0ea5e087f98b070c28b6dc67a9f371ae0d317196057dc","impliedFormat":99},{"version":"84ca51b0126c52f0213db03460e60cdfbb51b00d787c23354657facbcaba9d7d","signature":"8b0069e3f527b4a005d43b2b67bb4cbf852e2f5c3ef19a62ef148b43efec975c","impliedFormat":99},{"version":"0441844ee8d204d9c929bd38149d765a45f913f8d9bafeee0793178cc65e59a6","signature":"fa206178ba483e6e551b381e2bf1e777fa2d4e728e511a7298bddb1df0b3031e","impliedFormat":99},{"version":"947321561f6d053ea5b77e704800098762f56fb2abb29a10b99c183c06bfdebd","signature":"c4e4cbbf29e8cb973d6e3e9a3fa1663b1f7da417a23bbd4c7ce86304967582d5","impliedFormat":99}],"root":[60,[70,73]],"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":[[64,1],[65,2],[63,1],[69,3],[67,4],[66,4],[62,5],[73,6],[72,7],[71,8],[70,9]],"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","../src/contracts.types.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/realtime.d.ts","../../core/dist/summary-access.d.ts","../../core/dist/index.d.ts","../src/types.ts","../src/operations.types.ts","../src/operations.ts","../src/index.ts"],"fileIdsList":[[62],[61,62],[61,62,63,64,65,66,67,68,69],[61,62,65],[61],[60,70,71,72,73],[70,72],[60,70,71],[70]],"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":"e7ea5d6422807f8076dfd4b797d17c4cdab4475b5e85cdef36dde1b2496b4cc7","signature":"0c7d2501b864f95177dcca836423709d1b6abc1cfac8f232016ede0a20b4fc6f","impliedFormat":99},{"version":"2368a31d44ccc59758e3b3c682fee74e820b08fad98623905a85092018c06e3b","impliedFormat":99},{"version":"61806e75fc22177d65d9b33c90c4b88e4370abd4dd88d8196ca0fc87d7702fe9","impliedFormat":99},{"version":"82065c5512d8d6f81b26cf13ea9ecd3e558be9560f7b5c62260858219ecd87f7","impliedFormat":99},{"version":"ed17ed1b2bcf384c88bc6cec6b427989b98db99fc7ad35a50605501a463bbc53","impliedFormat":99},{"version":"82bf4efcca8ab8764a91ac126c0af605ab6717ee94b2316461b5fa388b27e165","impliedFormat":99},{"version":"e8345259c97aa6b8a84b27963fff00e79b7f45852b0024fffc52c9a7949007ac","impliedFormat":99},{"version":"3f5eeb0a84713ccf640b9a6af4629e006f59d7629abc3fc95af2efb062fd0b83","impliedFormat":99},{"version":"ac62f6b0f2e963ea9a251ee8384e64cebe0fe4acd32ca177d838d7c5a7ad2b43","impliedFormat":99},{"version":"967088f3793139562bc3fd0e5db990a8bc2885f7444a1f10ea6a5a6479fa6d40","impliedFormat":99},{"version":"6756b343720142c0f4f0c62b8194eefdea2d1774da6f7902bee9e39d4e81c9d4","impliedFormat":99},{"version":"ce9894b8f8b27e85069b1fcf03ed08353db838eb9fa68b181c7a654d88f9cba4","signature":"1678fcfcf08cfcbecf3086f12b58addb5ce7f3f685d826ad7439d5446ea908c3","impliedFormat":99},{"version":"d431dba38fa4296de1d323b6739065336d2d62728aa32471ba0aaea0b660cf83","signature":"45407720bbbf1d79b9faea0ad085d199604cec6235480d54f650d63b84f410c1","impliedFormat":99},{"version":"4fb3d846c990e3715a308c9ed7dddc03789d0f724cb5789cff42fecdf0c532cf","signature":"a577af5e82206ad95bb5c15454d84c1773a6b87c3ff00a001b921b8c92ca9d6c","impliedFormat":99},{"version":"60d8443595e3171a333422533e58f792800ef248e2944fadb370b407a5ffe88f","signature":"2940add5744574733f24a132cf70faf1a9db39b857f3aae6b7993dbf95fe49a0","impliedFormat":99}],"root":[60,[71,74]],"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":[[64,1],[65,2],[63,1],[70,3],[67,4],[66,4],[62,5],[74,6],[73,7],[72,8],[71,9]],"latestChangedDtsFile":"./index.d.ts","version":"5.9.3"}
@@ -1,13 +1,19 @@
1
- /** Wire models reviewed against the pinned service handlers and repositories. */
1
+ /** Stable raw receipt; publication can succeed even when the parent service is inactive. */
2
2
  export interface ApkPublishReceipt {
3
3
  status: 'success';
4
4
  id: string;
5
5
  }
6
+ /** Camel-case JSON metadata; send only with a trusted server publisher credential. */
6
7
  export interface ApkPublishInput {
8
+ /** 1–100 ASCII letters, digits or hyphens; identifies the deployment-local catalog service. */
7
9
  serviceSlug: string;
10
+ /** Nonblank application name, at most 80 Unicode characters. */
8
11
  appName: string;
12
+ /** 1–40 ASCII letters, digits, dots, hyphens or underscores; stable release identity within a slug. */
9
13
  version: string;
14
+ /** Positive integer code; stay within JavaScript's safe integer range. Lower retry codes do not overwrite higher codes. */
10
15
  versionCode: number;
16
+ /** Absolute HTTPS URL without username or password; stored without fetching the artifact. */
11
17
  downloadUrl: string;
12
18
  }
13
19
  //# sourceMappingURL=contracts.types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"contracts.types.d.ts","sourceRoot":"","sources":["../src/contracts.types.ts"],"names":[],"mappings":"AAAA,iFAAiF;AACjF,MAAM,WAAW,iBAAiB;IAAG,MAAM,EAAE,SAAS,CAAC;IAAC,EAAE,EAAE,MAAM,CAAA;CAAE;AACpE,MAAM,WAAW,eAAe;IAAG,WAAW,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAC;IAAC,WAAW,EAAE,MAAM,CAAC;IAAC,WAAW,EAAE,MAAM,CAAA;CAAE"}
1
+ {"version":3,"file":"contracts.types.d.ts","sourceRoot":"","sources":["../src/contracts.types.ts"],"names":[],"mappings":"AAAA,4FAA4F;AAC5F,MAAM,WAAW,iBAAiB;IAAG,MAAM,EAAE,SAAS,CAAC;IAAC,EAAE,EAAE,MAAM,CAAA;CAAE;AACpE,sFAAsF;AACtF,MAAM,WAAW,eAAe;IAC9B,+FAA+F;IAC/F,WAAW,EAAE,MAAM,CAAC;IACpB,gEAAgE;IAChE,OAAO,EAAE,MAAM,CAAC;IAChB,uGAAuG;IACvG,OAAO,EAAE,MAAM,CAAC;IAChB,2HAA2H;IAC3H,WAAW,EAAE,MAAM,CAAC;IACpB,6FAA6F;IAC7F,WAAW,EAAE,MAAM,CAAC;CACrB"}
package/dist/index.d.ts CHANGED
@@ -1,54 +1,54 @@
1
1
  import { ServiceApi, type RequestOptions } from "@faiber/sdk-core";
2
2
  import type * as T from "./types.js";
3
- /** Typed service registry and release-history client. Authentication follows the shared Faiber client configuration. */
4
3
  import { VersionOperations } from "./operations.js";
4
+ /** Typed public release catalog client. Gateway authorization follows the shared Faiber client configuration. */
5
5
  export declare class VersionApi extends ServiceApi {
6
6
  readonly operations: VersionOperations;
7
7
  /**
8
- * Checks Version service readiness through `GET /health`.
8
+ * Reads the public Version process status, without checking dependency readiness, through `GET /health`.
9
9
  * @param options Axios headers, timeout, cancellation signal, and transport options.
10
10
  * @returns Complete Axios response containing the service health payload.
11
11
  * @throws AxiosError for unavailable or failed transport responses.
12
12
  */
13
- health(options?: RequestOptions): Promise<import("axios").AxiosResponse<T.HealthResponse, any, {}>>;
13
+ health(options?: RequestOptions): Promise<import("axios").AxiosResponse<T.HealthResponse, any, {}, any>>;
14
14
  /**
15
- * Gets the machine-readable OpenAPI document through `GET /api/openapi.json`.
15
+ * Gets the public raw OpenAPI document (currently health annotations only) through `GET /api/openapi.json`.
16
16
  * @param options Axios headers, timeout, cancellation signal, and transport options.
17
17
  * @returns Complete Axios response containing the Utoipa OpenAPI document.
18
18
  * @throws AxiosError for unavailable or failed transport responses.
19
19
  */
20
- openapi(options?: RequestOptions): Promise<import("axios").AxiosResponse<T.VersionOpenApiDocument, any, {}>>;
20
+ openapi(options?: RequestOptions): Promise<import("axios").AxiosResponse<T.VersionOpenApiDocument, any, {}, any>>;
21
21
  /**
22
- * Lists registered services and latest releases through `GET /api/v1/services`.
22
+ * Lists active registered services publicly, without filters or pagination and with last_version:null, through `GET /api/v1/services`.
23
23
  * @param options Axios headers, timeout, cancellation signal, and transport options.
24
24
  * @returns Complete Axios response with typed service summaries.
25
- * @throws AxiosError for authentication, authorization, or transport failures.
25
+ * @throws AxiosError for transport or gateway-policy failures; no IDP permission is enforced by the service handler.
26
26
  */
27
- services(options?: RequestOptions): Promise<import("axios").AxiosResponse<T.ServicesResponse, any, {}>>;
27
+ services(options?: RequestOptions): Promise<import("axios").AxiosResponse<T.ServicesResponse, any, {}, any>>;
28
28
  /**
29
- * Gets one registered service and its latest release through `GET /api/v1/services/{slug}`.
29
+ * Gets an active service and its highest-code active release publicly through `GET /api/v1/services/{slug}`.
30
30
  * @param slug Stable service slug.
31
31
  * @param options Axios headers, timeout, cancellation signal, and transport options.
32
32
  * @returns Complete Axios response with the typed service summary.
33
- * @throws AxiosError for not-found, authorization, or transport failures.
33
+ * @throws AxiosError for missing/inactive records (404), transport or gateway-policy failures; no IDP permission is enforced by the service handler.
34
34
  */
35
- service(slug: string, options?: RequestOptions): Promise<import("axios").AxiosResponse<T.ServiceResponse, any, {}>>;
35
+ service(slug: string, options?: RequestOptions): Promise<import("axios").AxiosResponse<T.ServiceResponse, any, {}, any>>;
36
36
  /**
37
- * Gets full release history through `GET /api/v1/services/{slug}/all`.
37
+ * Gets all active releases for an active service publicly through `GET /api/v1/services/{slug}/all`.
38
38
  * @param slug Stable service slug.
39
39
  * @param options Axios headers, timeout, cancellation signal, and transport options.
40
- * @returns Complete Axios response with typed ordered versions.
41
- * @throws AxiosError for not-found, authorization, or transport failures.
40
+ * @returns Complete Axios response with typed active versions; ordering is unspecified.
41
+ * @throws AxiosError for missing/inactive records (404), transport or gateway-policy failures; no IDP permission is enforced by the service handler.
42
42
  */
43
- allVersions(slug: string, options?: RequestOptions): Promise<import("axios").AxiosResponse<T.ServiceVersionsResponse, any, {}>>;
43
+ allVersions(slug: string, options?: RequestOptions): Promise<import("axios").AxiosResponse<T.ServiceVersionsResponse, any, {}, any>>;
44
44
  /**
45
- * Gets one version by UUID through `GET /api/v1/versions/{id}`.
46
- * @param id Version UUID.
45
+ * Gets an active version publicly by UUID, regardless of parent activity or scope metadata, through `GET /api/v1/versions/{id}`.
46
+ * @param id Version UUID; malformed UUIDs return 400.
47
47
  * @param options Axios headers, timeout, cancellation signal, and transport options.
48
48
  * @returns Complete Axios response with the typed version record.
49
- * @throws AxiosError for not-found, authorization, or transport failures.
49
+ * @throws AxiosError for missing/inactive records (404), transport or gateway-policy failures; no IDP permission is enforced by the service handler.
50
50
  */
51
- version(id: string, options?: RequestOptions): Promise<import("axios").AxiosResponse<T.VersionResponse, any, {}>>;
51
+ version(id: string, options?: RequestOptions): Promise<import("axios").AxiosResponse<T.VersionResponse, any, {}, any>>;
52
52
  }
53
53
  export * from "./types.js";
54
54
  export * from "@faiber/sdk-core";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"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,CAAC,EAAE,cAAc;IAChC;;;;;OAKG;IACH,QAAQ,CAAC,OAAO,CAAC,EAAE,cAAc;IACjC;;;;;;OAMG;IACH,OAAO,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc;IAC9C;;;;;;OAMG;IACH,WAAW,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc;IAClD;;;;;;OAMG;IACH,OAAO,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc;CAC7C;AACD,cAAc,YAAY,CAAC;AAC3B,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,uBAAuB,CAAC;AAEtC,cAAc,sBAAsB,CAAC"}
package/dist/index.js CHANGED
@@ -1,51 +1,51 @@
1
1
  import { ServiceApi } from "@faiber/sdk-core";
2
- /** Typed service registry and release-history client. Authentication follows the shared Faiber client configuration. */
3
2
  import { VersionOperations } from "./operations.js";
3
+ /** Typed public release catalog client. Gateway authorization follows the shared Faiber client configuration. */
4
4
  export class VersionApi extends ServiceApi {
5
5
  operations = new VersionOperations(this.client);
6
6
  /**
7
- * Checks Version service readiness through `GET /health`.
7
+ * Reads the public Version process status, without checking dependency readiness, through `GET /health`.
8
8
  * @param options Axios headers, timeout, cancellation signal, and transport options.
9
9
  * @returns Complete Axios response containing the service health payload.
10
10
  * @throws AxiosError for unavailable or failed transport responses.
11
11
  */
12
12
  health(options) { return this.client.get("/health", undefined, options); }
13
13
  /**
14
- * Gets the machine-readable OpenAPI document through `GET /api/openapi.json`.
14
+ * Gets the public raw OpenAPI document (currently health annotations only) through `GET /api/openapi.json`.
15
15
  * @param options Axios headers, timeout, cancellation signal, and transport options.
16
16
  * @returns Complete Axios response containing the Utoipa OpenAPI document.
17
17
  * @throws AxiosError for unavailable or failed transport responses.
18
18
  */
19
19
  openapi(options) { return this.client.get("/api/openapi.json", undefined, options); }
20
20
  /**
21
- * Lists registered services and latest releases through `GET /api/v1/services`.
21
+ * Lists active registered services publicly, without filters or pagination and with last_version:null, through `GET /api/v1/services`.
22
22
  * @param options Axios headers, timeout, cancellation signal, and transport options.
23
23
  * @returns Complete Axios response with typed service summaries.
24
- * @throws AxiosError for authentication, authorization, or transport failures.
24
+ * @throws AxiosError for transport or gateway-policy failures; no IDP permission is enforced by the service handler.
25
25
  */
26
26
  services(options) { return this.client.get("/api/v1/services", undefined, options); }
27
27
  /**
28
- * Gets one registered service and its latest release through `GET /api/v1/services/{slug}`.
28
+ * Gets an active service and its highest-code active release publicly through `GET /api/v1/services/{slug}`.
29
29
  * @param slug Stable service slug.
30
30
  * @param options Axios headers, timeout, cancellation signal, and transport options.
31
31
  * @returns Complete Axios response with the typed service summary.
32
- * @throws AxiosError for not-found, authorization, or transport failures.
32
+ * @throws AxiosError for missing/inactive records (404), transport or gateway-policy failures; no IDP permission is enforced by the service handler.
33
33
  */
34
34
  service(slug, options) { return this.client.get(`/api/v1/services/${encodeURIComponent(slug)}`, undefined, options); }
35
35
  /**
36
- * Gets full release history through `GET /api/v1/services/{slug}/all`.
36
+ * Gets all active releases for an active service publicly through `GET /api/v1/services/{slug}/all`.
37
37
  * @param slug Stable service slug.
38
38
  * @param options Axios headers, timeout, cancellation signal, and transport options.
39
- * @returns Complete Axios response with typed ordered versions.
40
- * @throws AxiosError for not-found, authorization, or transport failures.
39
+ * @returns Complete Axios response with typed active versions; ordering is unspecified.
40
+ * @throws AxiosError for missing/inactive records (404), transport or gateway-policy failures; no IDP permission is enforced by the service handler.
41
41
  */
42
42
  allVersions(slug, options) { return this.client.get(`/api/v1/services/${encodeURIComponent(slug)}/all`, undefined, options); }
43
43
  /**
44
- * Gets one version by UUID through `GET /api/v1/versions/{id}`.
45
- * @param id Version UUID.
44
+ * Gets an active version publicly by UUID, regardless of parent activity or scope metadata, through `GET /api/v1/versions/{id}`.
45
+ * @param id Version UUID; malformed UUIDs return 400.
46
46
  * @param options Axios headers, timeout, cancellation signal, and transport options.
47
47
  * @returns Complete Axios response with the typed version record.
48
- * @throws AxiosError for not-found, authorization, or transport failures.
48
+ * @throws AxiosError for missing/inactive records (404), transport or gateway-policy failures; no IDP permission is enforced by the service handler.
49
49
  */
50
50
  version(id, options) { return this.client.get(`/api/v1/versions/${encodeURIComponent(id)}`, undefined, options); }
51
51
  }
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAuB,MAAM,kBAAkB,CAAC;AAGnE,wHAAwH;AACxH,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACpD,MAAM,OAAO,UAAW,SAAQ,UAAU;IAC7B,UAAU,GAAG,IAAI,iBAAiB,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IAC3D;;;;;OAKG;IACH,MAAM,CAAC,OAAwB,IAAI,OAAO,IAAI,CAAC,MAAM,CAAC,GAAG,CAAmB,SAAS,EAAE,SAAS,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC;IAC7G;;;;;OAKG;IACH,OAAO,CAAC,OAAwB,IAAI,OAAO,IAAI,CAAC,MAAM,CAAC,GAAG,CAA2B,mBAAmB,EAAE,SAAS,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC;IAChI;;;;;OAKG;IACH,QAAQ,CAAC,OAAwB,IAAI,OAAO,IAAI,CAAC,MAAM,CAAC,GAAG,CAAqB,kBAAkB,EAAE,SAAS,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC;IAC1H;;;;;;OAMG;IACH,OAAO,CAAC,IAAY,EAAE,OAAwB,IAAI,OAAO,IAAI,CAAC,MAAM,CAAC,GAAG,CAAoB,oBAAoB,kBAAkB,CAAC,IAAI,CAAC,EAAE,EAAE,SAAS,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC;IAClK;;;;;;OAMG;IACH,WAAW,CAAC,IAAY,EAAE,OAAwB,IAAI,OAAO,IAAI,CAA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wB,IAAI,OAAO,IAAI,CAAC,MAAM,CAAC,GAAG,CAAoB,oBAAoB,kBAAkB,CAAC,IAAI,CAAC,EAAE,EAAE,SAAS,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC;IAClK;;;;;;OAMG;IACH,WAAW,CAAC,IAAY,EAAE,OAAwB,IAAI,OAAO,IAAI,CAAC,MAAM,CAAC,GAAG,CAA4B,oBAAoB,kBAAkB,CAAC,IAAI,CAAC,MAAM,EAAE,SAAS,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC;IAClL;;;;;;OAMG;IACH,OAAO,CAAC,EAAU,EAAE,OAAwB,IAAI,OAAO,IAAI,CAAC,MAAM,CAAC,GAAG,CAAoB,oBAAoB,kBAAkB,CAAC,EAAE,CAAC,EAAE,EAAE,SAAS,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC;CAC/J;AACD,cAAc,YAAY,CAAC;AAC3B,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,uBAAuB,CAAC;AAEtC,cAAc,sBAAsB,CAAC"}
@@ -1,65 +1,65 @@
1
- import { ServiceApi, type Identifier, type RequestOptions } from "@faiber/sdk-core";
1
+ import { ServiceApi, type RequestOptions } from "@faiber/sdk-core";
2
2
  import type * as T from "./operations.types.js";
3
3
  export declare class VersionOperations extends ServiceApi {
4
4
  /**
5
- * Performs the status route operation for the router capability.
6
- * Calls `GET /` through the shared IDP-aware Faiber client.
7
- * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
8
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
9
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
10
- */
11
- routerStatusRouteGet(options?: RequestOptions): Promise<import("axios").AxiosResponse<T.RouterStatusRouteGetResponse, unknown, {}>>;
12
- /**
13
- * Performs the openapi json operation for the router capability.
5
+ * Read the raw generated OpenAPI document, without an API envelope. The current document describes health only and is not the complete mounted API inventory.
14
6
  * Calls `GET /api/openapi.json` through the shared IDP-aware Faiber client.
15
7
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
16
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
17
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
8
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
9
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: public at the service router; deployed gateway rules may add restrictions.
18
10
  */
19
- routerOpenapiJsonGet(options?: RequestOptions): Promise<import("axios").AxiosResponse<T.RouterOpenapiJsonGetResponse, unknown, {}>>;
11
+ routerOpenapiJsonGet(options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").VersionOpenApiDocument, unknown, {}, any>>;
20
12
  /**
21
13
  * Publish a stable, idempotent APK release with an HTTPS download URL. Returns a raw receipt; invalid metadata returns 400 and missing publisher configuration returns 503.
22
14
  * Calls `POST /api/v1/apk/releases` through the shared IDP-aware Faiber client.
23
15
  * @param data Typed JSON request body.
24
16
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
25
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
17
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
26
18
  * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: server-only APK_PUBLISH_TOKEN bearer credential.
27
19
  */
28
- routerPublishApkPost(data: T.RouterPublishApkPostInput, options?: RequestOptions<T.RouterPublishApkPostInput>): Promise<import("axios").AxiosResponse<import("./contracts.types.js").ApkPublishReceipt, import("./contracts.types.js").ApkPublishInput, {}>>;
20
+ routerPublishApkPost(data: T.RouterPublishApkPostInput, options?: RequestOptions<T.RouterPublishApkPostInput>): Promise<import("axios").AxiosResponse<import("./contracts.types.js").ApkPublishReceipt, import("./contracts.types.js").ApkPublishInput, {}, any>>;
29
21
  /**
30
- * Performs the services index operation for the service capability.
22
+ * List active registered services without pagination or filters. last_version is null in this list; read a service by slug to resolve its newest active release.
31
23
  * Calls `GET /api/v1/services` through the shared IDP-aware Faiber client.
32
24
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
33
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
34
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
25
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
26
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: no IDP permission enforced by the mounted service handler; deployed gateway policy is separate.
35
27
  */
36
- serviceServicesIndexGet(options?: RequestOptions): Promise<import("axios").AxiosResponse<T.ServiceServicesIndexGetResponse, unknown, {}>>;
28
+ serviceServicesIndexGet(options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").ServicesResponse, unknown, {}, any>>;
37
29
  /**
38
- * Performs the service show operation for the service capability.
39
- * Calls `GET /api/v1/services/{service_id}` through the shared IDP-aware Faiber client.
40
- * @param serviceId Backend path identifier `service_id`.
30
+ * Find an active service by its slug, not its UUID, and its highest-code active version. Missing or inactive services return 404.
31
+ * Calls `GET /api/v1/services/{service_slug}` through the shared IDP-aware Faiber client.
32
+ * @param serviceSlug Backend path identifier `service_slug`.
41
33
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
42
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
43
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
34
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
35
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: no IDP permission enforced by the mounted service handler; deployed gateway policy is separate.
44
36
  */
45
- serviceServiceShowGet(serviceId: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<T.ServiceServiceShowGetResponse, unknown, {}>>;
37
+ serviceServiceShowGet(serviceSlug: string, options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").ServiceResponse, unknown, {}, any>>;
46
38
  /**
47
- * Performs the service show all operation for the service capability.
48
- * Calls `GET /api/v1/services/{service_id}/all` through the shared IDP-aware Faiber client.
49
- * @param serviceId Backend path identifier `service_id`.
39
+ * Read all active versions for an active service slug. The service does not define history ordering or pagination; missing or inactive services return 404.
40
+ * Calls `GET /api/v1/services/{service_slug}/all` through the shared IDP-aware Faiber client.
41
+ * @param serviceSlug Backend path identifier `service_slug`.
50
42
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
51
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
52
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
43
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
44
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: no IDP permission enforced by the mounted service handler; deployed gateway policy is separate.
53
45
  */
54
- serviceServiceShowAllGet(serviceId: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<T.ServiceServiceShowAllGetResponse, unknown, {}>>;
46
+ serviceServiceShowAllGet(serviceSlug: string, options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").ServiceVersionsResponse, unknown, {}, any>>;
55
47
  /**
56
- * Performs the version show operation for the version capability.
48
+ * Read an active version by UUID. Malformed UUIDs return 400 and missing or inactive versions return 404. Scope is metadata, not an access filter in this handler.
57
49
  * Calls `GET /api/v1/versions/{version_id}` through the shared IDP-aware Faiber client.
58
50
  * @param versionId Backend path identifier `version_id`.
59
51
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
60
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
61
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
52
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
53
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: no IDP permission enforced by the mounted service handler; deployed gateway policy is separate.
54
+ */
55
+ versionVersionShowGet(versionId: string, options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").VersionResponse, unknown, {}, any>>;
56
+ /**
57
+ * Read the Version service process health envelope. This does not verify database, broker or gateway readiness.
58
+ * Calls `GET /health` through the shared IDP-aware Faiber client.
59
+ * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
60
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
61
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: public at the service router; deployed gateway rules may add restrictions.
62
62
  */
63
- versionVersionShowGet(versionId: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<T.VersionVersionShowGetResponse, unknown, {}>>;
63
+ routerStatusRouteGet(options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").HealthResponse, unknown, {}, any>>;
64
64
  }
65
65
  //# sourceMappingURL=operations.d.ts.map
@@ -1 +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,iBAAkB,SAAQ,UAAU;IAC/C;;;;;;OAMG;IACH,oBAAoB,CAAC,OAAO,CAAC,EAAE,cAAc;IAG7C;;;;;;OAMG;IACH,oBAAoB,CAAC,OAAO,CAAC,EAAE,cAAc;IAG7C;;;;;;;OAOG;IACH,oBAAoB,CAAC,IAAI,EAAE,CAAC,CAAC,yBAAyB,EAAE,OAAO,CAAC,EAAE,cAAc,CAAC,CAAC,CAAC,yBAAyB,CAAC;IAG7G;;;;;;OAMG;IACH,uBAAuB,CAAC,OAAO,CAAC,EAAE,cAAc;IAGhD;;;;;;;OAOG;IACH,qBAAqB,CAAC,SAAS,EAAE,UAAU,EAAE,OAAO,CAAC,EAAE,cAAc;IAGrE;;;;;;;OAOG;IACH,wBAAwB,CAAC,SAAS,EAAE,UAAU,EAAE,OAAO,CAAC,EAAE,cAAc;IAGxE;;;;;;;OAOG;IACH,qBAAqB,CAAC,SAAS,EAAE,UAAU,EAAE,OAAO,CAAC,EAAE,cAAc;CAGtE"}
1
+ {"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../src/operations.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAA+B,KAAK,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAChG,OAAO,KAAK,KAAK,CAAC,MAAM,uBAAuB,CAAC;AAEhD,qBAAa,iBAAkB,SAAQ,UAAU;IAC/C;;;;;;OAMG;IACH,oBAAoB,CAAC,OAAO,CAAC,EAAE,cAAc;IAG7C;;;;;;;OAOG;IACH,oBAAoB,CAAC,IAAI,EAAE,CAAC,CAAC,yBAAyB,EAAE,OAAO,CAAC,EAAE,cAAc,CAAC,CAAC,CAAC,yBAAyB,CAAC;IAG7G;;;;;;OAMG;IACH,uBAAuB,CAAC,OAAO,CAAC,EAAE,cAAc;IAGhD;;;;;;;OAOG;IACH,qBAAqB,CAAC,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc;IAGnE;;;;;;;OAOG;IACH,wBAAwB,CAAC,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc;IAGtE;;;;;;;OAOG;IACH,qBAAqB,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc;IAGjE;;;;;;OAMG;IACH,oBAAoB,CAAC,OAAO,CAAC,EAAE,cAAc;CAG9C"}
@@ -1,21 +1,11 @@
1
1
  import { ServiceApi, urlEncoded } from "@faiber/sdk-core";
2
2
  export class VersionOperations extends ServiceApi {
3
3
  /**
4
- * Performs the status route operation for the router capability.
5
- * Calls `GET /` through the shared IDP-aware Faiber client.
6
- * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
7
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
8
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
9
- */
10
- routerStatusRouteGet(options) {
11
- return this.client.request({ ...options, method: "GET", url: `/` });
12
- }
13
- /**
14
- * Performs the openapi json operation for the router capability.
4
+ * Read the raw generated OpenAPI document, without an API envelope. The current document describes health only and is not the complete mounted API inventory.
15
5
  * Calls `GET /api/openapi.json` through the shared IDP-aware Faiber client.
16
6
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
17
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
18
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
7
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
8
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: public at the service router; deployed gateway rules may add restrictions.
19
9
  */
20
10
  routerOpenapiJsonGet(options) {
21
11
  return this.client.request({ ...options, method: "GET", url: `/api/openapi.json` });
@@ -25,54 +15,64 @@ export class VersionOperations extends ServiceApi {
25
15
  * Calls `POST /api/v1/apk/releases` through the shared IDP-aware Faiber client.
26
16
  * @param data Typed JSON request body.
27
17
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
28
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
18
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
29
19
  * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: server-only APK_PUBLISH_TOKEN bearer credential.
30
20
  */
31
21
  routerPublishApkPost(data, options) {
32
22
  return this.client.request({ ...options, method: "POST", url: `/api/v1/apk/releases`, data: data });
33
23
  }
34
24
  /**
35
- * Performs the services index operation for the service capability.
25
+ * List active registered services without pagination or filters. last_version is null in this list; read a service by slug to resolve its newest active release.
36
26
  * Calls `GET /api/v1/services` through the shared IDP-aware Faiber client.
37
27
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
38
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
39
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
28
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
29
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: no IDP permission enforced by the mounted service handler; deployed gateway policy is separate.
40
30
  */
41
31
  serviceServicesIndexGet(options) {
42
32
  return this.client.request({ ...options, method: "GET", url: `/api/v1/services` });
43
33
  }
44
34
  /**
45
- * Performs the service show operation for the service capability.
46
- * Calls `GET /api/v1/services/{service_id}` through the shared IDP-aware Faiber client.
47
- * @param serviceId Backend path identifier `service_id`.
35
+ * Find an active service by its slug, not its UUID, and its highest-code active version. Missing or inactive services return 404.
36
+ * Calls `GET /api/v1/services/{service_slug}` through the shared IDP-aware Faiber client.
37
+ * @param serviceSlug Backend path identifier `service_slug`.
48
38
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
49
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
50
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
39
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
40
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: no IDP permission enforced by the mounted service handler; deployed gateway policy is separate.
51
41
  */
52
- serviceServiceShowGet(serviceId, options) {
53
- return this.client.request({ ...options, method: "GET", url: `/api/v1/services/${encodeURIComponent(serviceId)}` });
42
+ serviceServiceShowGet(serviceSlug, options) {
43
+ return this.client.request({ ...options, method: "GET", url: `/api/v1/services/${encodeURIComponent(serviceSlug)}` });
54
44
  }
55
45
  /**
56
- * Performs the service show all operation for the service capability.
57
- * Calls `GET /api/v1/services/{service_id}/all` through the shared IDP-aware Faiber client.
58
- * @param serviceId Backend path identifier `service_id`.
46
+ * Read all active versions for an active service slug. The service does not define history ordering or pagination; missing or inactive services return 404.
47
+ * Calls `GET /api/v1/services/{service_slug}/all` through the shared IDP-aware Faiber client.
48
+ * @param serviceSlug Backend path identifier `service_slug`.
59
49
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
60
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
61
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
50
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
51
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: no IDP permission enforced by the mounted service handler; deployed gateway policy is separate.
62
52
  */
63
- serviceServiceShowAllGet(serviceId, options) {
64
- return this.client.request({ ...options, method: "GET", url: `/api/v1/services/${encodeURIComponent(serviceId)}/all` });
53
+ serviceServiceShowAllGet(serviceSlug, options) {
54
+ return this.client.request({ ...options, method: "GET", url: `/api/v1/services/${encodeURIComponent(serviceSlug)}/all` });
65
55
  }
66
56
  /**
67
- * Performs the version show operation for the version capability.
57
+ * Read an active version by UUID. Malformed UUIDs return 400 and missing or inactive versions return 404. Scope is metadata, not an access filter in this handler.
68
58
  * Calls `GET /api/v1/versions/{version_id}` through the shared IDP-aware Faiber client.
69
59
  * @param versionId Backend path identifier `version_id`.
70
60
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
71
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
72
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
61
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
62
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: no IDP permission enforced by the mounted service handler; deployed gateway policy is separate.
73
63
  */
74
64
  versionVersionShowGet(versionId, options) {
75
65
  return this.client.request({ ...options, method: "GET", url: `/api/v1/versions/${encodeURIComponent(versionId)}` });
76
66
  }
67
+ /**
68
+ * Read the Version service process health envelope. This does not verify database, broker or gateway readiness.
69
+ * Calls `GET /health` through the shared IDP-aware Faiber client.
70
+ * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
71
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
72
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: public at the service router; deployed gateway rules may add restrictions.
73
+ */
74
+ routerStatusRouteGet(options) {
75
+ return this.client.request({ ...options, method: "GET", url: `/health` });
76
+ }
77
77
  }
78
78
  //# sourceMappingURL=operations.js.map
@@ -1 +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,iBAAkB,SAAQ,UAAU;IAC/C;;;;;;OAMG;IACH,oBAAoB,CAAC,OAAwB;QAC3C,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,CAAiC,EAAE,GAAG,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC,CAAC;IACtG,CAAC;IACD;;;;;;OAMG;IACH,oBAAoB,CAAC,OAAwB;QAC3C,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,CAAiC,EAAE,GAAG,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,EAAE,mBAAmB,EAAE,CAAC,CAAC;IACtH,CAAC;IACD;;;;;;;OAOG;IACH,oBAAoB,CAAC,IAAiC,EAAE,OAAqD;QAC3G,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,CAA8D,EAAE,GAAG,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,sBAAsB,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,CAAC;IACnK,CAAC;IACD;;;;;;OAMG;IACH,uBAAuB,CAAC,OAAwB;QAC9C,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,CAAoC,EAAE,GAAG,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,EAAE,kBAAkB,EAAE,CAAC,CAAC;IACxH,CAAC;IACD;;;;;;;OA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ue } from "@faiber/sdk-core";
2
1
  /** Generated route contracts. Dynamic payload members remain JSON-safe and are documented with their Rust source type. */
3
- /** Backend response type: api. */
4
- export interface RouterStatusRouteGetResponse extends ApiEnvelope<JsonValue> {
5
- }
6
- /** Backend response type: api. */
7
- export interface RouterOpenapiJsonGetResponse extends ApiEnvelope<JsonValue> {
8
- }
2
+ /** Backend response type: utoipa::openapi::OpenApi. */
3
+ export type RouterOpenapiJsonGetResponse = import("./types.js").VersionOpenApiDocument;
9
4
  /** Backend request type: ApkRelease. */
10
5
  export type RouterPublishApkPostInput = import("./contracts.types.js").ApkPublishInput;
11
6
  /** Backend response type: serde_json::Value. */
12
7
  export type RouterPublishApkPostResponse = import("./contracts.types.js").ApkPublishReceipt;
13
8
  /** Backend response type: ServiceListResponse. */
14
- export type ServiceServicesIndexGetResponseDataServicesLastVersionChannel = "Release" | "PreRelease";
15
- export type ServiceServicesIndexGetResponseDataServicesLastVersionScope = "Public" | "Closed";
16
- export interface ServiceServicesIndexGetResponseDataServicesLastVersion extends JsonObject {
17
- "id": string;
18
- "service_id": string;
19
- "name": string;
20
- "version_code": number;
21
- "version_name": string;
22
- "channel": ServiceServicesIndexGetResponseDataServicesLastVersionChannel;
23
- "scope": ServiceServicesIndexGetResponseDataServicesLastVersionScope;
24
- "description"?: string | null;
25
- "change_log"?: string | null;
26
- "download_url"?: string | null;
27
- "status": number;
28
- "created_at": string;
29
- "updated_at"?: string | null;
30
- }
31
- export interface ServiceServicesIndexGetResponseDataServices extends JsonObject {
32
- "id": string;
33
- "name": string;
34
- "slug": string;
35
- "title"?: string | null;
36
- "last_version"?: ServiceServicesIndexGetResponseDataServicesLastVersion | null;
37
- "status": number;
38
- }
39
- export interface ServiceServicesIndexGetResponseData extends JsonObject {
40
- "services": ServiceServicesIndexGetResponseDataServices[];
41
- }
42
- export interface ServiceServicesIndexGetResponse extends ApiEnvelope<ServiceServicesIndexGetResponseData> {
43
- }
9
+ export type ServiceServicesIndexGetResponse = import("./types.js").ServicesResponse;
44
10
  /** Backend response type: ServiceSingleResponse. */
45
- export type ServiceServiceShowGetResponseDataServiceLastVersionChannel = "Release" | "PreRelease";
46
- export type ServiceServiceShowGetResponseDataServiceLastVersionScope = "Public" | "Closed";
47
- export interface ServiceServiceShowGetResponseDataServiceLastVersion extends JsonObject {
48
- "id": string;
49
- "service_id": string;
50
- "name": string;
51
- "version_code": number;
52
- "version_name": string;
53
- "channel": ServiceServiceShowGetResponseDataServiceLastVersionChannel;
54
- "scope": ServiceServiceShowGetResponseDataServiceLastVersionScope;
55
- "description"?: string | null;
56
- "change_log"?: string | null;
57
- "download_url"?: string | null;
58
- "status": number;
59
- "created_at": string;
60
- "updated_at"?: string | null;
61
- }
62
- export interface ServiceServiceShowGetResponseDataService extends JsonObject {
63
- "id": string;
64
- "name": string;
65
- "slug": string;
66
- "title"?: string | null;
67
- "last_version"?: ServiceServiceShowGetResponseDataServiceLastVersion | null;
68
- "status": number;
69
- }
70
- export interface ServiceServiceShowGetResponseData extends JsonObject {
71
- "service": ServiceServiceShowGetResponseDataService;
72
- }
73
- export interface ServiceServiceShowGetResponse extends ApiEnvelope<ServiceServiceShowGetResponseData> {
74
- }
11
+ export type ServiceServiceShowGetResponse = import("./types.js").ServiceResponse;
75
12
  /** Backend response type: ServiceAllSingleResponse. */
76
- export type ServiceServiceShowAllGetResponseDataServiceVersionsChannel = "Release" | "PreRelease";
77
- export type ServiceServiceShowAllGetResponseDataServiceVersionsScope = "Public" | "Closed";
78
- export interface ServiceServiceShowAllGetResponseDataServiceVersions extends JsonObject {
79
- "id": string;
80
- "service_id": string;
81
- "name": string;
82
- "version_code": number;
83
- "version_name": string;
84
- "channel": ServiceServiceShowAllGetResponseDataServiceVersionsChannel;
85
- "scope": ServiceServiceShowAllGetResponseDataServiceVersionsScope;
86
- "description"?: string | null;
87
- "change_log"?: string | null;
88
- "download_url"?: string | null;
89
- "status": number;
90
- "created_at": string;
91
- "updated_at"?: string | null;
92
- }
93
- export interface ServiceServiceShowAllGetResponseDataService extends JsonObject {
94
- "id": string;
95
- "name": string;
96
- "slug": string;
97
- "title"?: string | null;
98
- "versions": ServiceServiceShowAllGetResponseDataServiceVersions[];
99
- "status": number;
100
- }
101
- export interface ServiceServiceShowAllGetResponseData extends JsonObject {
102
- "service": ServiceServiceShowAllGetResponseDataService;
103
- }
104
- export interface ServiceServiceShowAllGetResponse extends ApiEnvelope<ServiceServiceShowAllGetResponseData> {
105
- }
13
+ export type ServiceServiceShowAllGetResponse = import("./types.js").ServiceVersionsResponse;
106
14
  /** Backend response type: VersionSingleResponse. */
107
- export type VersionVersionShowGetResponseDataVersionChannel = "Release" | "PreRelease";
108
- export type VersionVersionShowGetResponseDataVersionScope = "Public" | "Closed";
109
- export interface VersionVersionShowGetResponseDataVersion extends JsonObject {
110
- "id": string;
111
- "service_id": string;
112
- "name": string;
113
- "version_code": number;
114
- "version_name": string;
115
- "channel": VersionVersionShowGetResponseDataVersionChannel;
116
- "scope": VersionVersionShowGetResponseDataVersionScope;
117
- "description"?: string | null;
118
- "change_log"?: string | null;
119
- "download_url"?: string | null;
120
- "status": number;
121
- "created_at": string;
122
- "updated_at"?: string | null;
123
- }
124
- export interface VersionVersionShowGetResponseData extends JsonObject {
125
- "version": VersionVersionShowGetResponseDataVersion;
126
- }
127
- export interface VersionVersionShowGetResponse extends ApiEnvelope<VersionVersionShowGetResponseData> {
128
- }
15
+ export type VersionVersionShowGetResponse = import("./types.js").VersionResponse;
16
+ /** Backend response type: HealthResponse. */
17
+ export type RouterStatusRouteGetResponse = import("./types.js").HealthResponse;
129
18
  //# sourceMappingURL=operations.types.d.ts.map
@@ -1 +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,EAA2B,MAAM,kBAAkB,CAAC;AAEjH,0HAA0H;AAC1H,kCAAkC;AAClC,MAAM,WAAW,4BAA6B,SA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AY,EAAE,cAAc,CAAC"}
package/dist/types.d.ts CHANGED
@@ -1,54 +1,90 @@
1
- import type { ApiEnvelope, BackendJson, JsonObject } from "@faiber/sdk-core";
2
- export interface ServiceVersionSummary extends JsonObject {
1
+ import type { JsonObject } from "@faiber/sdk-core";
2
+ export interface VersionServiceIdentity {
3
3
  id: string;
4
4
  name: string;
5
5
  slug: string;
6
- title?: string | null;
7
- last_version?: Version | null;
6
+ title: string | null;
8
7
  status: number;
9
8
  }
10
- export interface Version extends JsonObject {
9
+ /** A list/detail service always includes last_version, including null in list responses. */
10
+ export interface ServiceVersionSummary extends VersionServiceIdentity {
11
+ last_version: Version | null;
12
+ }
13
+ /** Serde wire values; database enum spellings are not accepted response values. */
14
+ export type VersionChannel = "Release" | "PreRelease";
15
+ export type VersionScope = "Public" | "Closed";
16
+ export interface Version {
11
17
  id: string;
12
18
  service_id: string;
13
19
  name: string;
14
20
  version_code: number;
15
21
  version_name: string;
16
- channel: string;
17
- scope: string;
18
- description?: string | null;
19
- change_log?: string | null;
20
- download_url?: string | null;
22
+ channel: VersionChannel;
23
+ scope: VersionScope;
24
+ description: string | null;
25
+ change_log: string | null;
26
+ download_url: string | null;
21
27
  status: number;
28
+ /** Naive database timestamp; no timezone offset is promised. */
22
29
  created_at: string;
23
- updated_at?: string | null;
30
+ updated_at: string | null;
24
31
  }
25
- export interface ServiceWithVersions extends ServiceVersionSummary {
32
+ export interface ServiceWithVersions extends VersionServiceIdentity {
26
33
  versions: Version[];
27
34
  }
28
- export interface ServicesData extends JsonObject {
35
+ export interface ServicesData {
29
36
  services: ServiceVersionSummary[];
30
37
  }
31
- export interface ServiceData extends JsonObject {
38
+ export interface ServiceData {
32
39
  service: ServiceVersionSummary;
33
40
  }
34
- export interface ServiceVersionsData extends JsonObject {
41
+ export interface ServiceVersionsData {
35
42
  service: ServiceWithVersions;
36
43
  }
37
- export interface VersionData extends JsonObject {
44
+ export interface VersionData {
38
45
  version: Version;
39
46
  }
40
- export interface ServicesResponse extends ApiEnvelope<ServicesData> {
47
+ /** Successful reads always serialize status, message and data. Errors reject the Axios request. */
48
+ export interface VersionSuccessEnvelope<T> {
49
+ status: "success";
50
+ message: string;
51
+ data: T;
52
+ }
53
+ export interface ServicesResponse extends VersionSuccessEnvelope<ServicesData> {
54
+ }
55
+ export interface ServiceResponse extends VersionSuccessEnvelope<ServiceData> {
56
+ }
57
+ export interface ServiceVersionsResponse extends VersionSuccessEnvelope<ServiceVersionsData> {
41
58
  }
42
- export interface ServiceResponse extends ApiEnvelope<ServiceData> {
59
+ export interface VersionResponse extends VersionSuccessEnvelope<VersionData> {
43
60
  }
44
- export interface ServiceVersionsResponse extends ApiEnvelope<ServiceVersionsData> {
61
+ export interface VersionHealth {
62
+ version: string;
45
63
  }
46
- export interface VersionResponse extends ApiEnvelope<VersionData> {
64
+ export interface HealthResponse extends VersionSuccessEnvelope<VersionHealth> {
47
65
  }
48
- export interface VersionHealth extends JsonObject {
66
+ /** OpenAPI metadata emitted by Utoipa. Schema/path values are extensible OpenAPI objects. */
67
+ export interface VersionOpenApiInfo extends JsonObject {
68
+ title: string;
49
69
  version: string;
70
+ description?: string;
71
+ }
72
+ export interface VersionOpenApiServer extends JsonObject {
73
+ url: string;
74
+ description?: string;
75
+ }
76
+ export interface VersionOpenApiTag extends JsonObject {
77
+ name: string;
78
+ description?: string;
50
79
  }
51
- export interface HealthResponse extends ApiEnvelope<VersionHealth> {
80
+ /** Raw OpenAPI document; the current service only annotates its health operation. */
81
+ export interface VersionOpenApiDocument extends JsonObject {
82
+ openapi: string;
83
+ info: VersionOpenApiInfo;
84
+ paths: Record<string, JsonObject>;
85
+ components?: JsonObject;
86
+ servers?: VersionOpenApiServer[];
87
+ tags?: VersionOpenApiTag[];
88
+ security?: Record<string, string[]>[];
52
89
  }
53
- export type VersionOpenApiDocument = BackendJson<"utoipa::openapi::OpenApi">;
54
90
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","source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,UAAU;IACpD,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AACD,MAAM,WAAW,oBAAqB,SAAQ,UAAU;IAAG,GAAG,EAAE,MAAM,CAAC;IAAC,WAAW,CAAC,EAAE,MAAM,CAAC;CAAE;AAC/F,MAAM,WAAW,iBAAkB,SAAQ,UAAU;IAAG,IAAI,EAAE,MAAM,CAAC;IAAC,WAAW,CAAC,EAAE,MAAM,CAAC;CAAE;AAC7F,qFAAqF;AACrF,MAAM,WAAW,sBAAuB,SAAQ,UAAU;IACxD,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,kBAAkB,CAAC;IACzB,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC;IAClC,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,OAAO,CAAC,EAAE,oBAAoB,EAAE,CAAC;IACjC,IAAI,CAAC,EAAE,iBAAiB,EAAE,CAAC;IAC3B,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,EAAE,CAAC;CACvC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@faiber/faiber-version",
3
- "version": "0.24.0",
3
+ "version": "1.0.0",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "main": "./dist/index.js",
@@ -13,9 +13,10 @@
13
13
  },
14
14
  "files": [
15
15
  "dist",
16
- "README.md"
16
+ "README.md",
17
+ "provenance.json"
17
18
  ],
18
19
  "dependencies": {
19
- "@faiber/sdk-core": "0.24.0"
20
+ "@faiber/sdk-core": "1.0.0"
20
21
  }
21
22
  }
@@ -0,0 +1,27 @@
1
+ {
2
+ "schema_version": 1,
3
+ "package": "@faiber/faiber-version",
4
+ "version": "1.0.0",
5
+ "source_revisions": {
6
+ "version": {
7
+ "directory": "infera_version",
8
+ "revision": "b5fb6904e9ac005c9437012bf19e9bc3587ef65e"
9
+ }
10
+ },
11
+ "package_source_sha256": {
12
+ "packages/version/src/contracts.types.ts": "e7ea5d6422807f8076dfd4b797d17c4cdab4475b5e85cdef36dde1b2496b4cc7",
13
+ "packages/version/src/index.ts": "60d8443595e3171a333422533e58f792800ef248e2944fadb370b407a5ffe88f",
14
+ "packages/version/src/operations.ts": "4fb3d846c990e3715a308c9ed7dddc03789d0f724cb5789cff42fecdf0c532cf",
15
+ "packages/version/src/operations.types.ts": "d431dba38fa4296de1d323b6739065336d2d62728aa32471ba0aaea0b660cf83",
16
+ "packages/version/src/types.ts": "ce9894b8f8b27e85069b1fcf03ed08353db838eb9fa68b181c7a654d88f9cba4"
17
+ },
18
+ "capability_review_sha256": "11b06d6f2aeb50f9f9861e0f4a6fd4bbd1bfa68ac18a9d02d4e57a9204238fad",
19
+ "source_pin_file_sha256": "9c7bd018aab5e3f8f64c11e9841f1423b82f339e9dd686ad4a042cb0e6dbc96b",
20
+ "http_contract_file_sha256": "03e43d9ad0ed41f7dea7680fdc9ab1b73b80b02ce60eb9514236c684e120188f",
21
+ "public_contract": {
22
+ "kind": "source-extracted-http",
23
+ "operation_count": 7,
24
+ "sha256": "9bc707049607f501b586d36a5e54825ed879b657829b7d58aebf886178e777db"
25
+ },
26
+ "verification_scope": "Source and contract identity only. This manifest is not proof of deployed compatibility, current authorization, or complete semantic verification."
27
+ }