@faiber/faiber-profile 0.24.1 → 1.1.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 +83 -7
- package/dist/.tsbuildinfo +1 -1
- package/dist/contracts.types.d.ts +17 -6
- package/dist/contracts.types.d.ts.map +1 -1
- package/dist/index.d.ts +42 -29
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +14 -1
- package/dist/index.js.map +1 -1
- package/dist/operations.d.ts +1058 -860
- package/dist/operations.d.ts.map +1 -1
- package/dist/operations.js +908 -666
- package/dist/operations.js.map +1 -1
- package/dist/operations.types.d.ts +595 -5130
- package/dist/operations.types.d.ts.map +1 -1
- package/dist/summaries.d.ts +147 -0
- package/dist/summaries.d.ts.map +1 -0
- package/dist/summaries.js +146 -0
- package/dist/summaries.js.map +1 -0
- package/dist/summaries.types.d.ts +322 -0
- package/dist/summaries.types.d.ts.map +1 -0
- package/dist/summaries.types.js +2 -0
- package/dist/summaries.types.js.map +1 -0
- package/dist/types.d.ts +12 -6
- package/dist/types.d.ts.map +1 -1
- package/dist/wire.types.d.ts +547 -0
- package/dist/wire.types.d.ts.map +1 -0
- package/dist/wire.types.js +2 -0
- package/dist/wire.types.js.map +1 -0
- package/package.json +4 -3
- package/provenance.json +30 -0
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
import { ServiceApi, type ApiEnvelope, type RequestOptions } from "@faiber/sdk-core";
|
|
2
|
+
import type * as T from "./summaries.types.js";
|
|
3
|
+
/** Role summaries stored and served by Profile. Every call retains the full Axios response. */
|
|
4
|
+
export declare class ProfileSummariesApi extends ServiceApi {
|
|
5
|
+
/** settings: calls GET /api/v1/ai-summaries/settings.
|
|
6
|
+
* Requires profile:ai_summary:configure. Own reads are restricted to the authenticated subject.
|
|
7
|
+
* @param options Standard Axios headers, credentials, timeout, adapter and cancellation signal.
|
|
8
|
+
* @returns Full Axios response with the typed Profile envelope.
|
|
9
|
+
* @throws AxiosError on 401/403, invalid input (422), conflicting draft/state (409), or service failure.
|
|
10
|
+
*/
|
|
11
|
+
settings(options?: RequestOptions): Promise<import("axios").AxiosResponse<ApiEnvelope<T.SummarySettings>, unknown, {}, any>>;
|
|
12
|
+
/** updateSettings: calls PUT /api/v1/ai-summaries/settings.
|
|
13
|
+
* Requires profile:ai_summary:configure. Own reads are restricted to the authenticated subject.
|
|
14
|
+
* @param options Standard Axios headers, credentials, timeout, adapter and cancellation signal.
|
|
15
|
+
* @returns Full Axios response with the typed Profile envelope.
|
|
16
|
+
* @throws AxiosError on 401/403, invalid input (422), conflicting draft/state (409), or service failure.
|
|
17
|
+
*/
|
|
18
|
+
updateSettings(data: T.SummarySettings, options?: RequestOptions<T.SummarySettings>): Promise<import("axios").AxiosResponse<ApiEnvelope<T.SummarySettings>, T.SummarySettings, {}, any>>;
|
|
19
|
+
/** roles: calls GET /api/v1/ai-summaries/roles.
|
|
20
|
+
* Requires profile:ai_summary:configure. Own reads are restricted to the authenticated subject.
|
|
21
|
+
* @param options Standard Axios headers, credentials, timeout, adapter and cancellation signal.
|
|
22
|
+
* @returns Full Axios response with the typed Profile envelope.
|
|
23
|
+
* @throws AxiosError on 401/403, invalid input (422), conflicting draft/state (409), or service failure.
|
|
24
|
+
*/
|
|
25
|
+
roles(options?: RequestOptions): Promise<import("axios").AxiosResponse<ApiEnvelope<T.SummaryRole[]>, unknown, {}, any>>;
|
|
26
|
+
/** models: calls GET /api/v1/ai-summaries/models.
|
|
27
|
+
* Requires profile:ai_summary:configure. Own reads are restricted to the authenticated subject.
|
|
28
|
+
* @param options Standard Axios headers, credentials, timeout, adapter and cancellation signal.
|
|
29
|
+
* @returns Full Axios response with the typed Profile envelope.
|
|
30
|
+
* @throws AxiosError on 401/403, invalid input (422), conflicting draft/state (409), or service failure.
|
|
31
|
+
*/
|
|
32
|
+
models(options?: RequestOptions): Promise<import("axios").AxiosResponse<ApiEnvelope<T.SummaryModel[]>, unknown, {}, any>>;
|
|
33
|
+
/** sources: calls GET /api/v1/ai-summaries/sources.
|
|
34
|
+
* Requires profile:ai_summary:configure. Own reads are restricted to the authenticated subject.
|
|
35
|
+
* @param options Standard Axios headers, credentials, timeout, adapter and cancellation signal.
|
|
36
|
+
* @returns Full Axios response with the typed Profile envelope.
|
|
37
|
+
* @throws AxiosError on 401/403, invalid input (422), conflicting draft/state (409), or service failure.
|
|
38
|
+
*/
|
|
39
|
+
sources(options?: RequestOptions): Promise<import("axios").AxiosResponse<ApiEnvelope<T.SummaryCapability[]>, unknown, {}, any>>;
|
|
40
|
+
/** checkSource: calls POST /api/v1/ai-summaries/sources/{source}/check.
|
|
41
|
+
* Requires profile:ai_summary:configure. Own reads are restricted to the authenticated subject.
|
|
42
|
+
* @param options Standard Axios headers, credentials, timeout, adapter and cancellation signal.
|
|
43
|
+
* @returns Full Axios response with the typed Profile envelope.
|
|
44
|
+
* @throws AxiosError on 401/403, invalid input (422), conflicting draft/state (409), or service failure.
|
|
45
|
+
*/
|
|
46
|
+
checkSource(source: T.SummarySource, options?: RequestOptions): Promise<import("axios").AxiosResponse<ApiEnvelope<T.SummarySourceCheck>, unknown, {}, any>>;
|
|
47
|
+
/** configurations: calls GET /api/v1/ai-summaries/configurations.
|
|
48
|
+
* Requires profile:ai_summary:configure. Own reads are restricted to the authenticated subject.
|
|
49
|
+
* @param options Standard Axios headers, credentials, timeout, adapter and cancellation signal.
|
|
50
|
+
* @returns Full Axios response with the typed Profile envelope.
|
|
51
|
+
* @throws AxiosError on 401/403, invalid input (422), conflicting draft/state (409), or service failure.
|
|
52
|
+
*/
|
|
53
|
+
configurations(options?: RequestOptions): Promise<import("axios").AxiosResponse<ApiEnvelope<T.SummaryConfigurationRecord[]>, unknown, {}, any>>;
|
|
54
|
+
/** createConfiguration: calls POST /api/v1/ai-summaries/configurations.
|
|
55
|
+
* Requires profile:ai_summary:configure. Own reads are restricted to the authenticated subject.
|
|
56
|
+
* @param options Standard Axios headers, credentials, timeout, adapter and cancellation signal.
|
|
57
|
+
* @returns Full Axios response with the typed Profile envelope.
|
|
58
|
+
* @throws AxiosError on 401/403, invalid input (422), conflicting draft/state (409), or service failure.
|
|
59
|
+
*/
|
|
60
|
+
createConfiguration(data: T.SummaryConfigurationWrite, options?: RequestOptions<T.SummaryConfigurationWrite>): Promise<import("axios").AxiosResponse<ApiEnvelope<T.SummaryConfigurationRecord>, T.SummaryConfigurationWrite, {}, any>>;
|
|
61
|
+
/** configuration: calls GET /api/v1/ai-summaries/configurations/{id}.
|
|
62
|
+
* Requires profile:ai_summary:configure. Own reads are restricted to the authenticated subject.
|
|
63
|
+
* @param options Standard Axios headers, credentials, timeout, adapter and cancellation signal.
|
|
64
|
+
* @returns Full Axios response with the typed Profile envelope.
|
|
65
|
+
* @throws AxiosError on 401/403, invalid input (422), conflicting draft/state (409), or service failure.
|
|
66
|
+
*/
|
|
67
|
+
configuration(id: string, options?: RequestOptions): Promise<import("axios").AxiosResponse<ApiEnvelope<T.SummaryConfigurationRecord>, unknown, {}, any>>;
|
|
68
|
+
/** updateConfiguration: calls PUT /api/v1/ai-summaries/configurations/{id}.
|
|
69
|
+
* Requires profile:ai_summary:configure. Own reads are restricted to the authenticated subject.
|
|
70
|
+
* @param options Standard Axios headers, credentials, timeout, adapter and cancellation signal.
|
|
71
|
+
* @returns Full Axios response with the typed Profile envelope.
|
|
72
|
+
* @throws AxiosError on 401/403, invalid input (422), conflicting draft/state (409), or service failure.
|
|
73
|
+
*/
|
|
74
|
+
updateConfiguration(id: string, data: T.SummaryConfigurationUpdate, options?: RequestOptions<T.SummaryConfigurationUpdate>): Promise<import("axios").AxiosResponse<ApiEnvelope<T.SummaryConfigurationRecord>, T.SummaryConfigurationUpdate, {}, any>>;
|
|
75
|
+
/** validate: calls POST /api/v1/ai-summaries/configurations/{id}/validate.
|
|
76
|
+
* Requires profile:ai_summary:configure. Own reads are restricted to the authenticated subject.
|
|
77
|
+
* @param options Standard Axios headers, credentials, timeout, adapter and cancellation signal.
|
|
78
|
+
* @returns Full Axios response with the typed Profile envelope.
|
|
79
|
+
* @throws AxiosError on 401/403, invalid input (422), conflicting draft/state (409), or service failure.
|
|
80
|
+
*/
|
|
81
|
+
validate(id: string, options?: RequestOptions): Promise<import("axios").AxiosResponse<ApiEnvelope<T.SummaryValidation>, unknown, {}, any>>;
|
|
82
|
+
/** publish: calls POST /api/v1/ai-summaries/configurations/{id}/publish.
|
|
83
|
+
* Requires profile:ai_summary:configure. Own reads are restricted to the authenticated subject.
|
|
84
|
+
* @param options Standard Axios headers, credentials, timeout, adapter and cancellation signal.
|
|
85
|
+
* @returns Full Axios response with the typed Profile envelope.
|
|
86
|
+
* @throws AxiosError on 401/403, invalid input (422), conflicting draft/state (409), or service failure.
|
|
87
|
+
*/
|
|
88
|
+
publish(id: string, options?: RequestOptions): Promise<import("axios").AxiosResponse<ApiEnvelope<T.SummaryConfigurationRecord>, unknown, {}, any>>;
|
|
89
|
+
/** preview: calls POST /api/v1/ai-summaries/configurations/{id}/preview.
|
|
90
|
+
* Global generation must be enabled (409 when off). A disabled role may preview its draft; preview never publishes it.
|
|
91
|
+
* Requires profile:ai_summary:configure. Own reads are restricted to the authenticated subject.
|
|
92
|
+
* @param options Standard Axios headers, credentials, timeout, adapter and cancellation signal.
|
|
93
|
+
* @returns Full Axios response with the typed Profile envelope.
|
|
94
|
+
* @throws AxiosError on 401/403, invalid input (422), conflicting draft/state (409), or service failure.
|
|
95
|
+
*/
|
|
96
|
+
preview(id: string, data: T.SummaryPreviewWrite, options?: RequestOptions<T.SummaryPreviewWrite>): Promise<import("axios").AxiosResponse<ApiEnvelope<T.SummaryPreviewResponse>, T.SummaryPreviewWrite, {}, any>>;
|
|
97
|
+
/** setStatus: calls PATCH /api/v1/ai-summaries/configurations/{id}/status.
|
|
98
|
+
* Requires profile:ai_summary:configure. Own reads are restricted to the authenticated subject.
|
|
99
|
+
* @param options Standard Axios headers, credentials, timeout, adapter and cancellation signal.
|
|
100
|
+
* @returns Full Axios response with the typed Profile envelope.
|
|
101
|
+
* @throws AxiosError on 401/403, invalid input (422), conflicting draft/state (409), or service failure.
|
|
102
|
+
*/
|
|
103
|
+
setStatus(id: string, data: T.SummaryStatusWrite, options?: RequestOptions<T.SummaryStatusWrite>): Promise<import("axios").AxiosResponse<ApiEnvelope<T.SummaryConfigurationRecord>, T.SummaryStatusWrite, {}, any>>;
|
|
104
|
+
/** latest: calls GET /api/v1/ai-summaries/latest.
|
|
105
|
+
* Requires profile:ai_summary:read_own or profile:ai_summary:read_all. Own reads are restricted to the authenticated subject.
|
|
106
|
+
* @param options Standard Axios headers, credentials, timeout, adapter and cancellation signal.
|
|
107
|
+
* @returns Full Axios response with the typed Profile envelope.
|
|
108
|
+
* @throws AxiosError on 401/403, invalid input (422), conflicting draft/state (409), or service failure.
|
|
109
|
+
*/
|
|
110
|
+
latest(query: T.SummaryLatestQuery, options?: RequestOptions): Promise<import("axios").AxiosResponse<ApiEnvelope<T.SummaryLatest>, unknown, {}, any>>;
|
|
111
|
+
/** summaries: calls GET /api/v1/ai-summaries/summaries.
|
|
112
|
+
* Requires profile:ai_summary:read_own or profile:ai_summary:read_all. Own reads are restricted to the authenticated subject.
|
|
113
|
+
* @param options Standard Axios headers, credentials, timeout, adapter and cancellation signal.
|
|
114
|
+
* @returns Full Axios response with the typed Profile envelope.
|
|
115
|
+
* @throws AxiosError on 401/403, invalid input (422), conflicting draft/state (409), or service failure.
|
|
116
|
+
*/
|
|
117
|
+
summaries(query?: T.SummaryListQuery, options?: RequestOptions): Promise<import("axios").AxiosResponse<ApiEnvelope<T.SummaryPage<T.SummaryRun>>, unknown, {}, any>>;
|
|
118
|
+
/** run: calls GET /api/v1/ai-summaries/runs/{id}.
|
|
119
|
+
* Requires profile:ai_summary:read_own or profile:ai_summary:read_all. Own reads are restricted to the authenticated subject.
|
|
120
|
+
* @param options Standard Axios headers, credentials, timeout, adapter and cancellation signal.
|
|
121
|
+
* @returns Full Axios response with the typed Profile envelope.
|
|
122
|
+
* @throws AxiosError on 401/403, invalid input (422), conflicting draft/state (409), or service failure.
|
|
123
|
+
*/
|
|
124
|
+
run(id: string, options?: RequestOptions): Promise<import("axios").AxiosResponse<ApiEnvelope<T.SummaryRun>, unknown, {}, any>>;
|
|
125
|
+
/** jobs: calls GET /api/v1/ai-summaries/jobs.
|
|
126
|
+
* Requires profile:ai_summary:manage. Own reads are restricted to the authenticated subject.
|
|
127
|
+
* @param options Standard Axios headers, credentials, timeout, adapter and cancellation signal.
|
|
128
|
+
* @returns Full Axios response with the typed Profile envelope.
|
|
129
|
+
* @throws AxiosError on 401/403, invalid input (422), conflicting draft/state (409), or service failure.
|
|
130
|
+
*/
|
|
131
|
+
jobs(query?: T.SummaryListQuery, options?: RequestOptions): Promise<import("axios").AxiosResponse<ApiEnvelope<T.SummaryPage<T.SummaryJob>>, unknown, {}, any>>;
|
|
132
|
+
/** refresh: calls POST /api/v1/ai-summaries/refresh.
|
|
133
|
+
* Requires profile:ai_summary:manage. Own reads are restricted to the authenticated subject.
|
|
134
|
+
* @param options Standard Axios headers, credentials, timeout, adapter and cancellation signal.
|
|
135
|
+
* @returns Full Axios response with the typed Profile envelope.
|
|
136
|
+
* @throws AxiosError on 401/403, invalid input (422), conflicting draft/state (409), or service failure.
|
|
137
|
+
*/
|
|
138
|
+
refresh(data: T.SummaryRefreshWrite, options?: RequestOptions<T.SummaryRefreshWrite>): Promise<import("axios").AxiosResponse<ApiEnvelope<T.SummaryRefreshResponse>, T.SummaryRefreshWrite, {}, any>>;
|
|
139
|
+
/** retry: calls POST /api/v1/ai-summaries/jobs/{id}/retry.
|
|
140
|
+
* Requires profile:ai_summary:manage. Own reads are restricted to the authenticated subject.
|
|
141
|
+
* @param options Standard Axios headers, credentials, timeout, adapter and cancellation signal.
|
|
142
|
+
* @returns Full Axios response with the typed Profile envelope.
|
|
143
|
+
* @throws AxiosError on 401/403, invalid input (422), conflicting draft/state (409), or service failure.
|
|
144
|
+
*/
|
|
145
|
+
retry(id: string, options?: RequestOptions): Promise<import("axios").AxiosResponse<ApiEnvelope<T.SummaryRetryResponse>, unknown, {}, any>>;
|
|
146
|
+
}
|
|
147
|
+
//# sourceMappingURL=summaries.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"summaries.d.ts","sourceRoot":"","sources":["../src/summaries.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,KAAK,WAAW,EAAC,KAAK,cAAc,EAAC,MAAM,kBAAkB,CAAC;AACjF,OAAO,KAAK,KAAK,CAAC,MAAM,sBAAsB,CAAC;AAC/C,+FAA+F;AAC/F,qBAAa,mBAAoB,SAAQ,UAAU;IAC/C;;;;;OAKG;IACH,QAAQ,CAAC,OAAO,CAAC,EAAC,cAAc;IAChC;;;;;OAKG;IACH,cAAc,CAAC,IAAI,EAAC,CAAC,CAAC,eAAe,EAAC,OAAO,CAAC,EAAC,cAAc,CAAC,CAAC,CAAC,eAAe,CAAC;IAChF;;;;;OAKG;IACH,KAAK,CAAC,OAAO,CAAC,EAAC,cAAc;IAC7B;;;;;OAKG;IACH,MAAM,CAAC,OAAO,CAAC,EAAC,cAAc;IAC9B;;;;;OAKG;IACH,OAAO,CAAC,OAAO,CAAC,EAAC,cAAc;IAC/B;;;;;OAKG;IACH,WAAW,CAAC,MAAM,EAAC,CAAC,CAAC,aAAa,EAAC,OAAO,CAAC,EAAC,cAAc;IAC1D;;;;;OAKG;IACH,cAAc,CAAC,OAAO,CAAC,EAAC,cAAc;IACtC;;;;;OAKG;IACH,mBAAmB,CAAC,IAAI,EAAC,CAAC,CAAC,yBAAyB,EAAC,OAAO,CAAC,EAAC,cAAc,CAAC,CAAC,CAAC,yBAAyB,CAAC;IACzG;;;;;OAKG;IACH,aAAa,CAAC,EAAE,EAAC,MAAM,EAAC,OAAO,CAAC,EAAC,cAAc;IAC/C;;;;;OAKG;IACH,mBAAmB,CAAC,EAAE,EAAC,MAAM,EAAC,IAAI,EAAC,CAAC,CAAC,0BAA0B,EAAC,OAAO,CAAC,EAAC,cAAc,CAAC,CAAC,CAAC,0BAA0B,CAAC;IACrH;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,EAAC,MAAM,EAAC,OAAO,CAAC,EAAC,cAAc;IAC1C;;;;;OAKG;IACH,OAAO,CAAC,EAAE,EAAC,MAAM,EAAC,OAAO,CAAC,EAAC,cAAc;IACzC;;;;;;OAMG;IACH,OAAO,CAAC,EAAE,EAAC,MAAM,EAAC,IAAI,EAAC,CAAC,CAAC,mBAAmB,EAAC,OAAO,CAAC,EAAC,cAAc,CAAC,CAAC,CAAC,mBAAmB,CAAC;IAC3F;;;;;OAKG;IACH,SAAS,CAAC,EAAE,EAAC,MAAM,EAAC,IAAI,EAAC,CAAC,CAAC,kBAAkB,EAAC,OAAO,CAAC,EAAC,cAAc,CAAC,CAAC,CAAC,kBAAkB,CAAC;IAC3F;;;;;OAKG;IACH,MAAM,CAAC,KAAK,EAAC,CAAC,CAAC,kBAAkB,EAAC,OAAO,CAAC,EAAC,cAAc;IACzD;;;;;OAKG;IACH,SAAS,CAAC,KAAK,CAAC,EAAC,CAAC,CAAC,gBAAgB,EAAC,OAAO,CAAC,EAAC,cAAc;IAC3D;;;;;OAKG;IACH,GAAG,CAAC,EAAE,EAAC,MAAM,EAAC,OAAO,CAAC,EAAC,cAAc;IACrC;;;;;OAKG;IACH,IAAI,CAAC,KAAK,CAAC,EAAC,CAAC,CAAC,gBAAgB,EAAC,OAAO,CAAC,EAAC,cAAc;IACtD;;;;;OAKG;IACH,OAAO,CAAC,IAAI,EAAC,CAAC,CAAC,mBAAmB,EAAC,OAAO,CAAC,EAAC,cAAc,CAAC,CAAC,CAAC,mBAAmB,CAAC;IACjF;;;;;OAKG;IACH,KAAK,CAAC,EAAE,EAAC,MAAM,EAAC,OAAO,CAAC,EAAC,cAAc;CAC1C"}
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
import { ServiceApi } from "@faiber/sdk-core";
|
|
2
|
+
/** Role summaries stored and served by Profile. Every call retains the full Axios response. */
|
|
3
|
+
export class ProfileSummariesApi extends ServiceApi {
|
|
4
|
+
/** settings: calls GET /api/v1/ai-summaries/settings.
|
|
5
|
+
* Requires profile:ai_summary:configure. Own reads are restricted to the authenticated subject.
|
|
6
|
+
* @param options Standard Axios headers, credentials, timeout, adapter and cancellation signal.
|
|
7
|
+
* @returns Full Axios response with the typed Profile envelope.
|
|
8
|
+
* @throws AxiosError on 401/403, invalid input (422), conflicting draft/state (409), or service failure.
|
|
9
|
+
*/
|
|
10
|
+
settings(options) { return this.client.request({ ...options, method: "GET", url: `/api/v1/ai-summaries/settings` }); }
|
|
11
|
+
/** updateSettings: calls PUT /api/v1/ai-summaries/settings.
|
|
12
|
+
* Requires profile:ai_summary:configure. Own reads are restricted to the authenticated subject.
|
|
13
|
+
* @param options Standard Axios headers, credentials, timeout, adapter and cancellation signal.
|
|
14
|
+
* @returns Full Axios response with the typed Profile envelope.
|
|
15
|
+
* @throws AxiosError on 401/403, invalid input (422), conflicting draft/state (409), or service failure.
|
|
16
|
+
*/
|
|
17
|
+
updateSettings(data, options) { return this.client.request({ ...options, method: "PUT", url: `/api/v1/ai-summaries/settings`, data }); }
|
|
18
|
+
/** roles: calls GET /api/v1/ai-summaries/roles.
|
|
19
|
+
* Requires profile:ai_summary:configure. Own reads are restricted to the authenticated subject.
|
|
20
|
+
* @param options Standard Axios headers, credentials, timeout, adapter and cancellation signal.
|
|
21
|
+
* @returns Full Axios response with the typed Profile envelope.
|
|
22
|
+
* @throws AxiosError on 401/403, invalid input (422), conflicting draft/state (409), or service failure.
|
|
23
|
+
*/
|
|
24
|
+
roles(options) { return this.client.request({ ...options, method: "GET", url: `/api/v1/ai-summaries/roles` }); }
|
|
25
|
+
/** models: calls GET /api/v1/ai-summaries/models.
|
|
26
|
+
* Requires profile:ai_summary:configure. Own reads are restricted to the authenticated subject.
|
|
27
|
+
* @param options Standard Axios headers, credentials, timeout, adapter and cancellation signal.
|
|
28
|
+
* @returns Full Axios response with the typed Profile envelope.
|
|
29
|
+
* @throws AxiosError on 401/403, invalid input (422), conflicting draft/state (409), or service failure.
|
|
30
|
+
*/
|
|
31
|
+
models(options) { return this.client.request({ ...options, method: "GET", url: `/api/v1/ai-summaries/models` }); }
|
|
32
|
+
/** sources: calls GET /api/v1/ai-summaries/sources.
|
|
33
|
+
* Requires profile:ai_summary:configure. Own reads are restricted to the authenticated subject.
|
|
34
|
+
* @param options Standard Axios headers, credentials, timeout, adapter and cancellation signal.
|
|
35
|
+
* @returns Full Axios response with the typed Profile envelope.
|
|
36
|
+
* @throws AxiosError on 401/403, invalid input (422), conflicting draft/state (409), or service failure.
|
|
37
|
+
*/
|
|
38
|
+
sources(options) { return this.client.request({ ...options, method: "GET", url: `/api/v1/ai-summaries/sources` }); }
|
|
39
|
+
/** checkSource: calls POST /api/v1/ai-summaries/sources/{source}/check.
|
|
40
|
+
* Requires profile:ai_summary:configure. Own reads are restricted to the authenticated subject.
|
|
41
|
+
* @param options Standard Axios headers, credentials, timeout, adapter and cancellation signal.
|
|
42
|
+
* @returns Full Axios response with the typed Profile envelope.
|
|
43
|
+
* @throws AxiosError on 401/403, invalid input (422), conflicting draft/state (409), or service failure.
|
|
44
|
+
*/
|
|
45
|
+
checkSource(source, options) { return this.client.request({ ...options, method: "POST", url: `/api/v1/ai-summaries/sources/${encodeURIComponent(source)}/check` }); }
|
|
46
|
+
/** configurations: calls GET /api/v1/ai-summaries/configurations.
|
|
47
|
+
* Requires profile:ai_summary:configure. Own reads are restricted to the authenticated subject.
|
|
48
|
+
* @param options Standard Axios headers, credentials, timeout, adapter and cancellation signal.
|
|
49
|
+
* @returns Full Axios response with the typed Profile envelope.
|
|
50
|
+
* @throws AxiosError on 401/403, invalid input (422), conflicting draft/state (409), or service failure.
|
|
51
|
+
*/
|
|
52
|
+
configurations(options) { return this.client.request({ ...options, method: "GET", url: `/api/v1/ai-summaries/configurations` }); }
|
|
53
|
+
/** createConfiguration: calls POST /api/v1/ai-summaries/configurations.
|
|
54
|
+
* Requires profile:ai_summary:configure. Own reads are restricted to the authenticated subject.
|
|
55
|
+
* @param options Standard Axios headers, credentials, timeout, adapter and cancellation signal.
|
|
56
|
+
* @returns Full Axios response with the typed Profile envelope.
|
|
57
|
+
* @throws AxiosError on 401/403, invalid input (422), conflicting draft/state (409), or service failure.
|
|
58
|
+
*/
|
|
59
|
+
createConfiguration(data, options) { return this.client.request({ ...options, method: "POST", url: `/api/v1/ai-summaries/configurations`, data }); }
|
|
60
|
+
/** configuration: calls GET /api/v1/ai-summaries/configurations/{id}.
|
|
61
|
+
* Requires profile:ai_summary:configure. Own reads are restricted to the authenticated subject.
|
|
62
|
+
* @param options Standard Axios headers, credentials, timeout, adapter and cancellation signal.
|
|
63
|
+
* @returns Full Axios response with the typed Profile envelope.
|
|
64
|
+
* @throws AxiosError on 401/403, invalid input (422), conflicting draft/state (409), or service failure.
|
|
65
|
+
*/
|
|
66
|
+
configuration(id, options) { return this.client.request({ ...options, method: "GET", url: `/api/v1/ai-summaries/configurations/${encodeURIComponent(id)}` }); }
|
|
67
|
+
/** updateConfiguration: calls PUT /api/v1/ai-summaries/configurations/{id}.
|
|
68
|
+
* Requires profile:ai_summary:configure. Own reads are restricted to the authenticated subject.
|
|
69
|
+
* @param options Standard Axios headers, credentials, timeout, adapter and cancellation signal.
|
|
70
|
+
* @returns Full Axios response with the typed Profile envelope.
|
|
71
|
+
* @throws AxiosError on 401/403, invalid input (422), conflicting draft/state (409), or service failure.
|
|
72
|
+
*/
|
|
73
|
+
updateConfiguration(id, data, options) { return this.client.request({ ...options, method: "PUT", url: `/api/v1/ai-summaries/configurations/${encodeURIComponent(id)}`, data }); }
|
|
74
|
+
/** validate: calls POST /api/v1/ai-summaries/configurations/{id}/validate.
|
|
75
|
+
* Requires profile:ai_summary:configure. Own reads are restricted to the authenticated subject.
|
|
76
|
+
* @param options Standard Axios headers, credentials, timeout, adapter and cancellation signal.
|
|
77
|
+
* @returns Full Axios response with the typed Profile envelope.
|
|
78
|
+
* @throws AxiosError on 401/403, invalid input (422), conflicting draft/state (409), or service failure.
|
|
79
|
+
*/
|
|
80
|
+
validate(id, options) { return this.client.request({ ...options, method: "POST", url: `/api/v1/ai-summaries/configurations/${encodeURIComponent(id)}/validate` }); }
|
|
81
|
+
/** publish: calls POST /api/v1/ai-summaries/configurations/{id}/publish.
|
|
82
|
+
* Requires profile:ai_summary:configure. Own reads are restricted to the authenticated subject.
|
|
83
|
+
* @param options Standard Axios headers, credentials, timeout, adapter and cancellation signal.
|
|
84
|
+
* @returns Full Axios response with the typed Profile envelope.
|
|
85
|
+
* @throws AxiosError on 401/403, invalid input (422), conflicting draft/state (409), or service failure.
|
|
86
|
+
*/
|
|
87
|
+
publish(id, options) { return this.client.request({ ...options, method: "POST", url: `/api/v1/ai-summaries/configurations/${encodeURIComponent(id)}/publish` }); }
|
|
88
|
+
/** preview: calls POST /api/v1/ai-summaries/configurations/{id}/preview.
|
|
89
|
+
* Global generation must be enabled (409 when off). A disabled role may preview its draft; preview never publishes it.
|
|
90
|
+
* Requires profile:ai_summary:configure. Own reads are restricted to the authenticated subject.
|
|
91
|
+
* @param options Standard Axios headers, credentials, timeout, adapter and cancellation signal.
|
|
92
|
+
* @returns Full Axios response with the typed Profile envelope.
|
|
93
|
+
* @throws AxiosError on 401/403, invalid input (422), conflicting draft/state (409), or service failure.
|
|
94
|
+
*/
|
|
95
|
+
preview(id, data, options) { return this.client.request({ ...options, method: "POST", url: `/api/v1/ai-summaries/configurations/${encodeURIComponent(id)}/preview`, data }); }
|
|
96
|
+
/** setStatus: calls PATCH /api/v1/ai-summaries/configurations/{id}/status.
|
|
97
|
+
* Requires profile:ai_summary:configure. Own reads are restricted to the authenticated subject.
|
|
98
|
+
* @param options Standard Axios headers, credentials, timeout, adapter and cancellation signal.
|
|
99
|
+
* @returns Full Axios response with the typed Profile envelope.
|
|
100
|
+
* @throws AxiosError on 401/403, invalid input (422), conflicting draft/state (409), or service failure.
|
|
101
|
+
*/
|
|
102
|
+
setStatus(id, data, options) { return this.client.request({ ...options, method: "PATCH", url: `/api/v1/ai-summaries/configurations/${encodeURIComponent(id)}/status`, data }); }
|
|
103
|
+
/** latest: calls GET /api/v1/ai-summaries/latest.
|
|
104
|
+
* Requires profile:ai_summary:read_own or profile:ai_summary:read_all. Own reads are restricted to the authenticated subject.
|
|
105
|
+
* @param options Standard Axios headers, credentials, timeout, adapter and cancellation signal.
|
|
106
|
+
* @returns Full Axios response with the typed Profile envelope.
|
|
107
|
+
* @throws AxiosError on 401/403, invalid input (422), conflicting draft/state (409), or service failure.
|
|
108
|
+
*/
|
|
109
|
+
latest(query, options) { return this.client.request({ ...options, method: "GET", url: `/api/v1/ai-summaries/latest`, params: query }); }
|
|
110
|
+
/** summaries: calls GET /api/v1/ai-summaries/summaries.
|
|
111
|
+
* Requires profile:ai_summary:read_own or profile:ai_summary:read_all. Own reads are restricted to the authenticated subject.
|
|
112
|
+
* @param options Standard Axios headers, credentials, timeout, adapter and cancellation signal.
|
|
113
|
+
* @returns Full Axios response with the typed Profile envelope.
|
|
114
|
+
* @throws AxiosError on 401/403, invalid input (422), conflicting draft/state (409), or service failure.
|
|
115
|
+
*/
|
|
116
|
+
summaries(query, options) { return this.client.request({ ...options, method: "GET", url: `/api/v1/ai-summaries/summaries`, params: query }); }
|
|
117
|
+
/** run: calls GET /api/v1/ai-summaries/runs/{id}.
|
|
118
|
+
* Requires profile:ai_summary:read_own or profile:ai_summary:read_all. Own reads are restricted to the authenticated subject.
|
|
119
|
+
* @param options Standard Axios headers, credentials, timeout, adapter and cancellation signal.
|
|
120
|
+
* @returns Full Axios response with the typed Profile envelope.
|
|
121
|
+
* @throws AxiosError on 401/403, invalid input (422), conflicting draft/state (409), or service failure.
|
|
122
|
+
*/
|
|
123
|
+
run(id, options) { return this.client.request({ ...options, method: "GET", url: `/api/v1/ai-summaries/runs/${encodeURIComponent(id)}` }); }
|
|
124
|
+
/** jobs: calls GET /api/v1/ai-summaries/jobs.
|
|
125
|
+
* Requires profile:ai_summary:manage. Own reads are restricted to the authenticated subject.
|
|
126
|
+
* @param options Standard Axios headers, credentials, timeout, adapter and cancellation signal.
|
|
127
|
+
* @returns Full Axios response with the typed Profile envelope.
|
|
128
|
+
* @throws AxiosError on 401/403, invalid input (422), conflicting draft/state (409), or service failure.
|
|
129
|
+
*/
|
|
130
|
+
jobs(query, options) { return this.client.request({ ...options, method: "GET", url: `/api/v1/ai-summaries/jobs`, params: query }); }
|
|
131
|
+
/** refresh: calls POST /api/v1/ai-summaries/refresh.
|
|
132
|
+
* Requires profile:ai_summary:manage. Own reads are restricted to the authenticated subject.
|
|
133
|
+
* @param options Standard Axios headers, credentials, timeout, adapter and cancellation signal.
|
|
134
|
+
* @returns Full Axios response with the typed Profile envelope.
|
|
135
|
+
* @throws AxiosError on 401/403, invalid input (422), conflicting draft/state (409), or service failure.
|
|
136
|
+
*/
|
|
137
|
+
refresh(data, options) { return this.client.request({ ...options, method: "POST", url: `/api/v1/ai-summaries/refresh`, data }); }
|
|
138
|
+
/** retry: calls POST /api/v1/ai-summaries/jobs/{id}/retry.
|
|
139
|
+
* Requires profile:ai_summary:manage. Own reads are restricted to the authenticated subject.
|
|
140
|
+
* @param options Standard Axios headers, credentials, timeout, adapter and cancellation signal.
|
|
141
|
+
* @returns Full Axios response with the typed Profile envelope.
|
|
142
|
+
* @throws AxiosError on 401/403, invalid input (422), conflicting draft/state (409), or service failure.
|
|
143
|
+
*/
|
|
144
|
+
retry(id, options) { return this.client.request({ ...options, method: "POST", url: `/api/v1/ai-summaries/jobs/${encodeURIComponent(id)}/retry` }); }
|
|
145
|
+
}
|
|
146
|
+
//# sourceMappingURL=summaries.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"summaries.js","sourceRoot":"","sources":["../src/summaries.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAsC,MAAM,kBAAkB,CAAC;AAEjF,+FAA+F;AAC/F,MAAM,OAAO,mBAAoB,SAAQ,UAAU;IAC/C;;;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,GAAG,EAAC,6BAA6B,kBAAkB,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC;IAC1L;;;;;OAKG;IACH,IAAI,CAAC,KAAyB,EAAC,OAAuB,IAAI,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,CAA2C,EAAE,GAAG,OAAO,EAAE,MAAM,EAAC,KAAK,EAAE,GAAG,EAAC,2BAA2B,EAAC,MAAM,EAAC,KAAK,EAAE,CAAC,CAAC,CAAC,CAAC;IAC7M;;;;;OAKG;IACH,OAAO,CAAC,IAA0B,EAAC,OAA8C,IAAI,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,CAA8D,EAAE,GAAG,OAAO,EAAE,MAAM,EAAC,MAAM,EAAE,GAAG,EAAC,8BAA8B,EAAC,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC;IACvP;;;;;OAKG;IACH,KAAK,CAAC,EAAS,EAAC,OAAuB,IAAI,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,CAAsC,EAAE,GAAG,OAAO,EAAE,MAAM,EAAC,MAAM,EAAE,GAAG,EAAC,6BAA6B,kBAAkB,CAAC,EAAE,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC,CAAC;CAChN"}
|
|
@@ -0,0 +1,322 @@
|
|
|
1
|
+
import type { JsonObject, JsonValue } from "@faiber/sdk-core";
|
|
2
|
+
import type { QueryParams } from "@faiber/sdk-core";
|
|
3
|
+
export type SummarySource = 'lms' | 'task' | 'accounting' | 'session' | 'chat' | 'crm';
|
|
4
|
+
export type SummaryMetricType = 'number' | 'integer' | 'boolean' | 'enum';
|
|
5
|
+
export type SummaryLocalized = {
|
|
6
|
+
en: string;
|
|
7
|
+
fa: string;
|
|
8
|
+
};
|
|
9
|
+
export interface SummaryAggregateRef {
|
|
10
|
+
source: SummarySource;
|
|
11
|
+
category: string;
|
|
12
|
+
key: string;
|
|
13
|
+
}
|
|
14
|
+
export type SummaryFormula = {
|
|
15
|
+
op: 'constant';
|
|
16
|
+
value: string;
|
|
17
|
+
} | {
|
|
18
|
+
op: 'aggregate';
|
|
19
|
+
aggregate: SummaryAggregateRef;
|
|
20
|
+
} | {
|
|
21
|
+
op: 'metric';
|
|
22
|
+
key: string;
|
|
23
|
+
} | {
|
|
24
|
+
op: 'add' | 'subtract' | 'multiply' | 'divide';
|
|
25
|
+
left: SummaryFormula;
|
|
26
|
+
right: SummaryFormula;
|
|
27
|
+
} | {
|
|
28
|
+
op: 'percentage';
|
|
29
|
+
numerator: SummaryFormula;
|
|
30
|
+
denominator: SummaryFormula;
|
|
31
|
+
} | {
|
|
32
|
+
op: 'round';
|
|
33
|
+
value: SummaryFormula;
|
|
34
|
+
places: number;
|
|
35
|
+
};
|
|
36
|
+
export type SummaryCalculation = {
|
|
37
|
+
mode: 'aggregate';
|
|
38
|
+
aggregate: SummaryAggregateRef;
|
|
39
|
+
} | {
|
|
40
|
+
mode: 'formula';
|
|
41
|
+
expression: SummaryFormula;
|
|
42
|
+
} | {
|
|
43
|
+
mode: 'assessment';
|
|
44
|
+
instructions: string;
|
|
45
|
+
rubric: {
|
|
46
|
+
value: string | number | boolean;
|
|
47
|
+
description: string;
|
|
48
|
+
}[];
|
|
49
|
+
dependencies: SummarySource[];
|
|
50
|
+
};
|
|
51
|
+
export interface SummaryMetric {
|
|
52
|
+
key: string;
|
|
53
|
+
label: SummaryLocalized;
|
|
54
|
+
description: SummaryLocalized;
|
|
55
|
+
value_type: SummaryMetricType;
|
|
56
|
+
unit: string;
|
|
57
|
+
min: string | null;
|
|
58
|
+
max: string | null;
|
|
59
|
+
enum_values: string[];
|
|
60
|
+
calculation: SummaryCalculation;
|
|
61
|
+
}
|
|
62
|
+
export interface SummarySection {
|
|
63
|
+
key: string;
|
|
64
|
+
title: SummaryLocalized;
|
|
65
|
+
instructions: string;
|
|
66
|
+
format: 'paragraph' | 'bullets' | 'actions';
|
|
67
|
+
max_chars: number;
|
|
68
|
+
max_items: number;
|
|
69
|
+
}
|
|
70
|
+
export interface SummarySelection {
|
|
71
|
+
source: SummarySource;
|
|
72
|
+
required: boolean;
|
|
73
|
+
scope: 'subject' | 'assigned';
|
|
74
|
+
categories: string[];
|
|
75
|
+
tools: string[];
|
|
76
|
+
allow_text: boolean;
|
|
77
|
+
}
|
|
78
|
+
export interface SummaryConfiguration {
|
|
79
|
+
role_id: string;
|
|
80
|
+
language: 'fa' | 'en';
|
|
81
|
+
model_ref: string;
|
|
82
|
+
guidance: string;
|
|
83
|
+
lookback_days: number;
|
|
84
|
+
sources: SummarySelection[];
|
|
85
|
+
metrics: SummaryMetric[];
|
|
86
|
+
sections: SummarySection[];
|
|
87
|
+
refresh: {
|
|
88
|
+
activity: boolean;
|
|
89
|
+
quiet_minutes: number;
|
|
90
|
+
max_wait_minutes: number;
|
|
91
|
+
scheduled: boolean;
|
|
92
|
+
daily_at: string;
|
|
93
|
+
timezone: string;
|
|
94
|
+
};
|
|
95
|
+
budgets: {
|
|
96
|
+
tool_calls: number;
|
|
97
|
+
model_rounds: number;
|
|
98
|
+
timeout_seconds: number;
|
|
99
|
+
max_input_tokens: number;
|
|
100
|
+
max_output_tokens: number;
|
|
101
|
+
};
|
|
102
|
+
}
|
|
103
|
+
export interface SummaryConfigurationRecord {
|
|
104
|
+
deployment_id: string;
|
|
105
|
+
published_by: string | null;
|
|
106
|
+
last_scheduled_date: string | null;
|
|
107
|
+
created_at: string;
|
|
108
|
+
updated_at: string;
|
|
109
|
+
id: string;
|
|
110
|
+
role_id: string;
|
|
111
|
+
enabled: boolean;
|
|
112
|
+
draft: SummaryConfiguration;
|
|
113
|
+
draft_version: number;
|
|
114
|
+
published_revision: number | null;
|
|
115
|
+
published_at: string | null;
|
|
116
|
+
}
|
|
117
|
+
export interface SummaryCapability {
|
|
118
|
+
tool_schemas: Record<string, {
|
|
119
|
+
inputSchema: JsonObject;
|
|
120
|
+
outputSchema: JsonObject;
|
|
121
|
+
}>;
|
|
122
|
+
source: SummarySource;
|
|
123
|
+
configured: boolean;
|
|
124
|
+
categories: string[];
|
|
125
|
+
text_categories: string[];
|
|
126
|
+
optional_text_categories?: string[];
|
|
127
|
+
category_scopes?: Record<string, SummarySelection['scope'][]>;
|
|
128
|
+
category_evidence_kinds?: Record<string, 'windowed_snapshot' | 'current_snapshot'>;
|
|
129
|
+
scopes: SummarySelection['scope'][];
|
|
130
|
+
tools: string[];
|
|
131
|
+
aggregates: {
|
|
132
|
+
key: string;
|
|
133
|
+
category: string;
|
|
134
|
+
unit: string;
|
|
135
|
+
value_type: SummaryMetricType;
|
|
136
|
+
}[];
|
|
137
|
+
}
|
|
138
|
+
export interface SummaryRole {
|
|
139
|
+
id: string;
|
|
140
|
+
name: string;
|
|
141
|
+
configuration?: {
|
|
142
|
+
id: string;
|
|
143
|
+
enabled: boolean;
|
|
144
|
+
} | null;
|
|
145
|
+
}
|
|
146
|
+
export interface SummaryModel {
|
|
147
|
+
model_ref: string;
|
|
148
|
+
model: string;
|
|
149
|
+
provider_label: string;
|
|
150
|
+
supports_tools: boolean;
|
|
151
|
+
}
|
|
152
|
+
export interface SummarySettings {
|
|
153
|
+
globally_enabled: boolean;
|
|
154
|
+
concurrency_limit: number;
|
|
155
|
+
retention_days: number;
|
|
156
|
+
}
|
|
157
|
+
export interface SummaryResolvedUnit {
|
|
158
|
+
source: SummarySource;
|
|
159
|
+
unit: string;
|
|
160
|
+
contract_revision: string;
|
|
161
|
+
currency: string | null;
|
|
162
|
+
}
|
|
163
|
+
export interface SummaryMetricResult {
|
|
164
|
+
resolved_unit?: SummaryResolvedUnit | null;
|
|
165
|
+
key: string;
|
|
166
|
+
value: string | number | boolean | null;
|
|
167
|
+
status: string;
|
|
168
|
+
explanation: string;
|
|
169
|
+
evidence_refs: string[];
|
|
170
|
+
}
|
|
171
|
+
export type SummarySectionResult = {
|
|
172
|
+
key: string;
|
|
173
|
+
evidence_refs: string[];
|
|
174
|
+
} & ({
|
|
175
|
+
format: 'paragraph';
|
|
176
|
+
text: string;
|
|
177
|
+
} | {
|
|
178
|
+
format: 'bullets';
|
|
179
|
+
items: string[];
|
|
180
|
+
} | {
|
|
181
|
+
format: 'actions';
|
|
182
|
+
items: {
|
|
183
|
+
action: string;
|
|
184
|
+
reason: string;
|
|
185
|
+
success_criterion: string;
|
|
186
|
+
}[];
|
|
187
|
+
});
|
|
188
|
+
export interface SummaryCoverage {
|
|
189
|
+
source: SummarySource;
|
|
190
|
+
status: string;
|
|
191
|
+
reason: string | null;
|
|
192
|
+
record_count: number;
|
|
193
|
+
revision: string;
|
|
194
|
+
}
|
|
195
|
+
/** usage is schema-free JSON returned by the model runner. */
|
|
196
|
+
export interface SummaryRun {
|
|
197
|
+
deployment_id: string;
|
|
198
|
+
job_id: string;
|
|
199
|
+
usage: JsonValue;
|
|
200
|
+
evidence_fingerprint: string | null;
|
|
201
|
+
id: string;
|
|
202
|
+
subject_user_id: string;
|
|
203
|
+
role_id: string;
|
|
204
|
+
config_revision: number;
|
|
205
|
+
configuration: SummaryConfiguration;
|
|
206
|
+
preview: boolean;
|
|
207
|
+
status: string;
|
|
208
|
+
window_start: string;
|
|
209
|
+
cutoff: string;
|
|
210
|
+
result: {
|
|
211
|
+
metrics: SummaryMetricResult[];
|
|
212
|
+
sections: SummarySectionResult[];
|
|
213
|
+
} | null;
|
|
214
|
+
coverage: SummaryCoverage[];
|
|
215
|
+
completeness: string;
|
|
216
|
+
error: string | null;
|
|
217
|
+
generated_at: string | null;
|
|
218
|
+
created_at: string;
|
|
219
|
+
}
|
|
220
|
+
/** Sanitized persisted job: preview_configuration, lease_token and requested_by are withheld. */
|
|
221
|
+
export interface SummaryJob {
|
|
222
|
+
deployment_id: string;
|
|
223
|
+
configuration_id: string;
|
|
224
|
+
preview: boolean;
|
|
225
|
+
desired_revision: number;
|
|
226
|
+
evidence_revision: number;
|
|
227
|
+
processing_evidence_revision: number | null;
|
|
228
|
+
first_changed_at: string;
|
|
229
|
+
last_changed_at: string;
|
|
230
|
+
lease_expires_at: string | null;
|
|
231
|
+
next_poll_at: string;
|
|
232
|
+
created_at: string;
|
|
233
|
+
updated_at: string;
|
|
234
|
+
id: string;
|
|
235
|
+
subject_user_id: string;
|
|
236
|
+
role_id: string;
|
|
237
|
+
status: string;
|
|
238
|
+
attempts: number;
|
|
239
|
+
due_at: string;
|
|
240
|
+
last_error: string | null;
|
|
241
|
+
operation_id: string | null;
|
|
242
|
+
}
|
|
243
|
+
export interface SummaryPage<T> {
|
|
244
|
+
items: T[];
|
|
245
|
+
page: number;
|
|
246
|
+
per_page: number;
|
|
247
|
+
total: number;
|
|
248
|
+
}
|
|
249
|
+
/** Create accepts defaults for omitted configuration members; update additionally requires expected_version. */
|
|
250
|
+
export interface SummaryConfigurationInput extends Partial<Omit<SummaryConfiguration, 'refresh' | 'budgets'>> {
|
|
251
|
+
role_id: string;
|
|
252
|
+
refresh?: Partial<SummaryConfiguration['refresh']>;
|
|
253
|
+
budgets?: Partial<SummaryConfiguration['budgets']>;
|
|
254
|
+
}
|
|
255
|
+
export interface SummaryConfigurationWrite {
|
|
256
|
+
configuration: SummaryConfigurationInput;
|
|
257
|
+
expected_version?: number;
|
|
258
|
+
}
|
|
259
|
+
export interface SummaryConfigurationUpdate extends SummaryConfigurationWrite {
|
|
260
|
+
expected_version: number;
|
|
261
|
+
}
|
|
262
|
+
export interface SummaryListQuery extends QueryParams {
|
|
263
|
+
user_id?: string;
|
|
264
|
+
role_id?: string;
|
|
265
|
+
status?: string;
|
|
266
|
+
page?: number;
|
|
267
|
+
per_page?: number;
|
|
268
|
+
}
|
|
269
|
+
export interface SummaryLatestQuery extends QueryParams {
|
|
270
|
+
role_id: string;
|
|
271
|
+
user_id?: string;
|
|
272
|
+
}
|
|
273
|
+
export interface SummaryLatest {
|
|
274
|
+
subject_user_id: string;
|
|
275
|
+
role_id: string;
|
|
276
|
+
enabled: boolean;
|
|
277
|
+
availability: string;
|
|
278
|
+
freshness: string;
|
|
279
|
+
job_status?: string | null;
|
|
280
|
+
summary: SummaryRun | null;
|
|
281
|
+
}
|
|
282
|
+
export interface SummaryStatusWrite {
|
|
283
|
+
enabled: boolean;
|
|
284
|
+
}
|
|
285
|
+
export interface SummaryPreviewWrite {
|
|
286
|
+
user_id: string;
|
|
287
|
+
}
|
|
288
|
+
export interface SummaryPreviewResponse {
|
|
289
|
+
job_id: string;
|
|
290
|
+
run_id: string;
|
|
291
|
+
}
|
|
292
|
+
export interface SummaryValidation {
|
|
293
|
+
valid: boolean;
|
|
294
|
+
}
|
|
295
|
+
/** available establishes authenticated connectivity only; evidence_ready=false or
|
|
296
|
+
* preview_required=true still requires an eligible subject preview before activation.
|
|
297
|
+
*/
|
|
298
|
+
export interface SummarySourceCheck {
|
|
299
|
+
source: SummarySource;
|
|
300
|
+
available: boolean;
|
|
301
|
+
evidence_ready?: boolean;
|
|
302
|
+
preview_required?: boolean;
|
|
303
|
+
status?: string;
|
|
304
|
+
tools?: JsonValue[];
|
|
305
|
+
}
|
|
306
|
+
export interface SummaryRefreshWrite {
|
|
307
|
+
subjects: {
|
|
308
|
+
user_id: string;
|
|
309
|
+
role_id: string;
|
|
310
|
+
}[];
|
|
311
|
+
}
|
|
312
|
+
export interface SummaryRefreshResponse {
|
|
313
|
+
queued: {
|
|
314
|
+
job_id: string;
|
|
315
|
+
user_id: string;
|
|
316
|
+
role_id: string;
|
|
317
|
+
}[];
|
|
318
|
+
}
|
|
319
|
+
export interface SummaryRetryResponse {
|
|
320
|
+
job_id: string;
|
|
321
|
+
}
|
|
322
|
+
//# sourceMappingURL=summaries.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"summaries.types.d.ts","sourceRoot":"","sources":["../src/summaries.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,UAAU,EAAC,SAAS,EAAC,MAAM,kBAAkB,CAAC;AAC3D,OAAO,KAAK,EAAC,WAAW,EAAC,MAAM,kBAAkB,CAAC;AAClD,MAAM,MAAM,aAAa,GAAG,KAAK,GAAC,MAAM,GAAC,YAAY,GA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