@xemahq/authorization-internal-api-client 0.10.1 → 0.11.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
|
@@ -29,17 +29,13 @@
|
|
|
29
29
|
|
|
30
30
|
## Overview
|
|
31
31
|
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
package is produced by `@xemahq/api-client-generator` and regenerated whenever
|
|
36
|
-
the service's API changes — do not edit it by hand.
|
|
32
|
+
Typed TypeScript client for the **Authorization API**: request functions and
|
|
33
|
+
response models generated from its OpenAPI spec.
|
|
34
|
+
Generated by @xemahq/api-client-generator; regenerate it when the API changes, never edit it by hand.
|
|
37
35
|
|
|
38
36
|
## When to use it
|
|
39
37
|
|
|
40
|
-
|
|
41
|
-
- You get compile-time types for every endpoint and payload; regenerate to pick
|
|
42
|
-
up API changes rather than editing the client.
|
|
38
|
+
Use it from a TypeScript service or app that calls the Authorization API over HTTP.
|
|
43
39
|
|
|
44
40
|
## Installation
|
|
45
41
|
|
|
@@ -50,13 +46,10 @@ pnpm add @xemahq/authorization-internal-api-client
|
|
|
50
46
|
## Usage
|
|
51
47
|
|
|
52
48
|
```ts
|
|
53
|
-
//
|
|
49
|
+
// Endpoint functions and response models are exported from the package root.
|
|
54
50
|
import * as client from '@xemahq/authorization-internal-api-client';
|
|
55
51
|
```
|
|
56
52
|
|
|
57
|
-
Call the typed endpoint functions; request and response shapes are fully typed
|
|
58
|
-
from the service's OpenAPI spec.
|
|
59
|
-
|
|
60
53
|
## License
|
|
61
54
|
|
|
62
55
|
LicenseRef-Xema-BSL-1.1 — © Neuralchowder Inc.. All rights reserved.
|
|
@@ -9,4 +9,8 @@ export interface ProvisionAgentResultDto {
|
|
|
9
9
|
autoGranted: ProvisionedCapabilityDto[];
|
|
10
10
|
/** Capabilities written as approval-gated grants awaiting Studio review. */
|
|
11
11
|
pendingApproval: ProvisionedCapabilityDto[];
|
|
12
|
+
/** Capabilities whose grant exists but is REVOKED. Provisioning never un-revokes a grant, so these are left revoked and reported here; `decision` is what provisioning would have written. */
|
|
13
|
+
revokedNotReinstated: ProvisionedCapabilityDto[];
|
|
14
|
+
/** Capabilities whose live grant already requires approval while provisioning would have written it without. Provisioning never lowers an approval gate, so these are left approval-gated and reported here; `decision` is what provisioning would have written. */
|
|
15
|
+
approvalNotRelaxed: ProvisionedCapabilityDto[];
|
|
12
16
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xemahq/authorization-internal-api-client",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.11.0",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"types": "./dist/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"service": "authorization-api",
|
|
20
20
|
"biome": "authorization",
|
|
21
21
|
"target": "server",
|
|
22
|
-
"generator": "@xemahq/api-client-generator@2.7.
|
|
22
|
+
"generator": "@xemahq/api-client-generator@2.7.2",
|
|
23
23
|
"source": "openapi.internal.json"
|
|
24
24
|
},
|
|
25
25
|
"license": "LicenseRef-Xema-BSL-1.1",
|
|
@@ -60,6 +60,6 @@
|
|
|
60
60
|
"build": "tsc -p tsconfig.json"
|
|
61
61
|
},
|
|
62
62
|
"xemaRelease": {
|
|
63
|
-
"sourceDigest": "sha256:
|
|
63
|
+
"sourceDigest": "sha256:48030bd34bd9419de307eaf2373affc54c8e2702675350cacd3524201025dda6"
|
|
64
64
|
}
|
|
65
65
|
}
|