@arbium/enterprise-agent-connect-client 0.0.0-stage → 0.1.1

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/lib/types.d.ts ADDED
@@ -0,0 +1,56 @@
1
+ import type { components, operations } from "./schema.js";
2
+ type S = components["schemas"];
3
+ /** The JSON a route answers with on success. */
4
+ export type Answer<K extends keyof operations> = operations[K]["responses"] extends infer R ? {
5
+ [C in keyof R]: C extends 200 | 201 ? R[C] extends {
6
+ content: {
7
+ "application/json": infer J;
8
+ };
9
+ } ? J : never : never;
10
+ }[keyof R] : never;
11
+ /** The JSON body a route takes. */
12
+ export type Body<K extends keyof operations> = operations[K]["requestBody"] extends {
13
+ content: {
14
+ "application/json": infer J;
15
+ };
16
+ } | undefined ? J : never;
17
+ export type Organization = S["Organization"];
18
+ export type Connector = S["Connector"];
19
+ export type Provider = S["Provider"];
20
+ export type ProviderConnection = S["ProviderConnection"];
21
+ export type Connection = S["Connection"];
22
+ export type CertificateInfo = S["CertificateInfo"];
23
+ export type Check = S["Check"];
24
+ export type CheckOutcome = S["CheckOutcome"];
25
+ export type SignInCheck = S["SignInCheck"];
26
+ export type SiteAccess = S["SiteAccess"];
27
+ export type AgentAccess = S["AgentAccess"];
28
+ export type Limits = S["Limits"];
29
+ export type Grant = S["Grant"];
30
+ export type Agent = S["Agent"];
31
+ export type NewAgent = S["NewAgent"];
32
+ export type AuditRow = S["AuditRow"];
33
+ export type LiveCheck = S["LiveCheck"];
34
+ export type TeamsBot = S["TeamsBot"];
35
+ export type TeamsBotRecord = S["TeamsBotRecord"];
36
+ export type TeamsPlace = S["TeamsPlace"];
37
+ export type AddStep = S["AddStep"];
38
+ export type InstallTarget = S["InstallTarget"];
39
+ export type TeamsTrigger = S["TeamsTrigger"];
40
+ export type TeamsTriggerInput = Body<"setTeamsTrigger">;
41
+ export type TeamsRun = S["TeamsRun"];
42
+ export type ClaudeKey = S["ClaudeKey"];
43
+ export type ClaudeAgent = S["ClaudeAgent"];
44
+ export type Step = Connector["setup"][number];
45
+ export type AgentStep = Provider["addAgent"][number];
46
+ export type Setting = NonNullable<Step["settings"]>[number];
47
+ export type ChosenOption = NonNullable<Step["option"]>;
48
+ /** A connect form field; a provider's may be left empty (`optional`). */
49
+ export type Field = Connector["fields"][number] & {
50
+ optional?: boolean;
51
+ };
52
+ export type FieldOption = NonNullable<Field["options"]>[number];
53
+ export type Limit = Connector["limits"][number];
54
+ export type Capability = Connector["capabilities"][number];
55
+ export type Probe = Connector["verify"];
56
+ export {};
package/lib/types.js ADDED
@@ -0,0 +1 @@
1
+ export {};
package/package.json CHANGED
@@ -1,6 +1,21 @@
1
1
  {
2
2
  "name": "@arbium/enterprise-agent-connect-client",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.1.1",
4
+ "description": "Typed client for the Agent Connect admin API (v1), and the pure logic admin pages share",
5
+ "type": "module",
6
+ "exports": {
7
+ ".": {
8
+ "types": "./lib/index.d.ts",
9
+ "default": "./lib/index.js"
10
+ }
11
+ },
12
+ "files": [
13
+ "lib"
14
+ ],
15
+ "repository": {
16
+ "type": "git",
17
+ "url": "https://github.com/try-caret/enterprise-agent-connect.git",
18
+ "directory": "packages/client"
19
+ },
20
+ "license": "Apache-2.0"
21
+ }
package/README.md DELETED
@@ -1,3 +0,0 @@
1
- # Temporary Holding Version
2
-
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.