@faiber/faiber-profile 1.5.0 → 1.6.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.
@@ -8,84 +8,84 @@ export declare class ProfileSummariesApi extends ServiceApi {
8
8
  * @returns Full Axios response with the typed Profile envelope.
9
9
  * @throws AxiosError on 401/403, invalid input (422), conflicting draft/state (409), or service failure.
10
10
  */
11
- settings(options?: RequestOptions): Promise<import("axios").AxiosResponse<ApiEnvelope<T.SummarySettings>, unknown, {}>>;
11
+ settings(options?: RequestOptions): Promise<import("axios").AxiosResponse<ApiEnvelope<T.SummarySettings>, unknown, {}, any>>;
12
12
  /** updateSettings: calls PUT /api/v1/ai-summaries/settings.
13
13
  * Requires profile:ai_summary:configure. Own reads are restricted to the authenticated subject.
14
14
  * @param options Standard Axios headers, credentials, timeout, adapter and cancellation signal.
15
15
  * @returns Full Axios response with the typed Profile envelope.
16
16
  * @throws AxiosError on 401/403, invalid input (422), conflicting draft/state (409), or service failure.
17
17
  */
18
- updateSettings(data: T.SummarySettings, options?: RequestOptions<T.SummarySettings>): Promise<import("axios").AxiosResponse<ApiEnvelope<T.SummarySettings>, T.SummarySettings, {}>>;
18
+ updateSettings(data: T.SummarySettings, options?: RequestOptions<T.SummarySettings>): Promise<import("axios").AxiosResponse<ApiEnvelope<T.SummarySettings>, T.SummarySettings, {}, any>>;
19
19
  /** roles: calls GET /api/v1/ai-summaries/roles.
20
20
  * Requires profile:ai_summary:configure. Own reads are restricted to the authenticated subject.
21
21
  * @param options Standard Axios headers, credentials, timeout, adapter and cancellation signal.
22
22
  * @returns Full Axios response with the typed Profile envelope.
23
23
  * @throws AxiosError on 401/403, invalid input (422), conflicting draft/state (409), or service failure.
24
24
  */
25
- roles(options?: RequestOptions): Promise<import("axios").AxiosResponse<ApiEnvelope<T.SummaryRole[]>, unknown, {}>>;
25
+ roles(options?: RequestOptions): Promise<import("axios").AxiosResponse<ApiEnvelope<T.SummaryRole[]>, unknown, {}, any>>;
26
26
  /** models: calls GET /api/v1/ai-summaries/models.
27
27
  * Requires profile:ai_summary:configure. Own reads are restricted to the authenticated subject.
28
28
  * @param options Standard Axios headers, credentials, timeout, adapter and cancellation signal.
29
29
  * @returns Full Axios response with the typed Profile envelope.
30
30
  * @throws AxiosError on 401/403, invalid input (422), conflicting draft/state (409), or service failure.
31
31
  */
32
- models(options?: RequestOptions): Promise<import("axios").AxiosResponse<ApiEnvelope<T.SummaryModel[]>, unknown, {}>>;
32
+ models(options?: RequestOptions): Promise<import("axios").AxiosResponse<ApiEnvelope<T.SummaryModel[]>, unknown, {}, any>>;
33
33
  /** sources: calls GET /api/v1/ai-summaries/sources.
34
34
  * Requires profile:ai_summary:configure. Own reads are restricted to the authenticated subject.
35
35
  * @param options Standard Axios headers, credentials, timeout, adapter and cancellation signal.
36
36
  * @returns Full Axios response with the typed Profile envelope.
37
37
  * @throws AxiosError on 401/403, invalid input (422), conflicting draft/state (409), or service failure.
38
38
  */
39
- sources(options?: RequestOptions): Promise<import("axios").AxiosResponse<ApiEnvelope<T.SummaryCapability[]>, unknown, {}>>;
39
+ sources(options?: RequestOptions): Promise<import("axios").AxiosResponse<ApiEnvelope<T.SummaryCapability[]>, unknown, {}, any>>;
40
40
  /** checkSource: calls POST /api/v1/ai-summaries/sources/{source}/check.
41
41
  * Requires profile:ai_summary:configure. Own reads are restricted to the authenticated subject.
42
42
  * @param options Standard Axios headers, credentials, timeout, adapter and cancellation signal.
43
43
  * @returns Full Axios response with the typed Profile envelope.
44
44
  * @throws AxiosError on 401/403, invalid input (422), conflicting draft/state (409), or service failure.
45
45
  */
46
- checkSource(source: T.SummarySource, options?: RequestOptions): Promise<import("axios").AxiosResponse<ApiEnvelope<T.SummarySourceCheck>, unknown, {}>>;
46
+ checkSource(source: T.SummarySource, options?: RequestOptions): Promise<import("axios").AxiosResponse<ApiEnvelope<T.SummarySourceCheck>, unknown, {}, any>>;
47
47
  /** configurations: calls GET /api/v1/ai-summaries/configurations.
48
48
  * Requires profile:ai_summary:configure. Own reads are restricted to the authenticated subject.
49
49
  * @param options Standard Axios headers, credentials, timeout, adapter and cancellation signal.
50
50
  * @returns Full Axios response with the typed Profile envelope.
51
51
  * @throws AxiosError on 401/403, invalid input (422), conflicting draft/state (409), or service failure.
52
52
  */
53
- configurations(options?: RequestOptions): Promise<import("axios").AxiosResponse<ApiEnvelope<T.SummaryConfigurationRecord[]>, unknown, {}>>;
53
+ configurations(options?: RequestOptions): Promise<import("axios").AxiosResponse<ApiEnvelope<T.SummaryConfigurationRecord[]>, unknown, {}, any>>;
54
54
  /** createConfiguration: calls POST /api/v1/ai-summaries/configurations.
55
55
  * Requires profile:ai_summary:configure. Own reads are restricted to the authenticated subject.
56
56
  * @param options Standard Axios headers, credentials, timeout, adapter and cancellation signal.
57
57
  * @returns Full Axios response with the typed Profile envelope.
58
58
  * @throws AxiosError on 401/403, invalid input (422), conflicting draft/state (409), or service failure.
59
59
  */
60
- createConfiguration(data: T.SummaryConfigurationWrite, options?: RequestOptions<T.SummaryConfigurationWrite>): Promise<import("axios").AxiosResponse<ApiEnvelope<T.SummaryConfigurationRecord>, T.SummaryConfigurationWrite, {}>>;
60
+ createConfiguration(data: T.SummaryConfigurationWrite, options?: RequestOptions<T.SummaryConfigurationWrite>): Promise<import("axios").AxiosResponse<ApiEnvelope<T.SummaryConfigurationRecord>, T.SummaryConfigurationWrite, {}, any>>;
61
61
  /** configuration: calls GET /api/v1/ai-summaries/configurations/{id}.
62
62
  * Requires profile:ai_summary:configure. Own reads are restricted to the authenticated subject.
63
63
  * @param options Standard Axios headers, credentials, timeout, adapter and cancellation signal.
64
64
  * @returns Full Axios response with the typed Profile envelope.
65
65
  * @throws AxiosError on 401/403, invalid input (422), conflicting draft/state (409), or service failure.
66
66
  */
67
- configuration(id: string, options?: RequestOptions): Promise<import("axios").AxiosResponse<ApiEnvelope<T.SummaryConfigurationRecord>, unknown, {}>>;
67
+ configuration(id: string, options?: RequestOptions): Promise<import("axios").AxiosResponse<ApiEnvelope<T.SummaryConfigurationRecord>, unknown, {}, any>>;
68
68
  /** updateConfiguration: calls PUT /api/v1/ai-summaries/configurations/{id}.
69
69
  * Requires profile:ai_summary:configure. Own reads are restricted to the authenticated subject.
70
70
  * @param options Standard Axios headers, credentials, timeout, adapter and cancellation signal.
71
71
  * @returns Full Axios response with the typed Profile envelope.
72
72
  * @throws AxiosError on 401/403, invalid input (422), conflicting draft/state (409), or service failure.
73
73
  */
74
- updateConfiguration(id: string, data: T.SummaryConfigurationUpdate, options?: RequestOptions<T.SummaryConfigurationUpdate>): Promise<import("axios").AxiosResponse<ApiEnvelope<T.SummaryConfigurationRecord>, T.SummaryConfigurationUpdate, {}>>;
74
+ updateConfiguration(id: string, data: T.SummaryConfigurationUpdate, options?: RequestOptions<T.SummaryConfigurationUpdate>): Promise<import("axios").AxiosResponse<ApiEnvelope<T.SummaryConfigurationRecord>, T.SummaryConfigurationUpdate, {}, any>>;
75
75
  /** validate: calls POST /api/v1/ai-summaries/configurations/{id}/validate.
76
76
  * Requires profile:ai_summary:configure. Own reads are restricted to the authenticated subject.
77
77
  * @param options Standard Axios headers, credentials, timeout, adapter and cancellation signal.
78
78
  * @returns Full Axios response with the typed Profile envelope.
79
79
  * @throws AxiosError on 401/403, invalid input (422), conflicting draft/state (409), or service failure.
80
80
  */
81
- validate(id: string, options?: RequestOptions): Promise<import("axios").AxiosResponse<ApiEnvelope<T.SummaryValidation>, unknown, {}>>;
81
+ validate(id: string, options?: RequestOptions): Promise<import("axios").AxiosResponse<ApiEnvelope<T.SummaryValidation>, unknown, {}, any>>;
82
82
  /** publish: calls POST /api/v1/ai-summaries/configurations/{id}/publish.
83
83
  * Requires profile:ai_summary:configure. Own reads are restricted to the authenticated subject.
84
84
  * @param options Standard Axios headers, credentials, timeout, adapter and cancellation signal.
85
85
  * @returns Full Axios response with the typed Profile envelope.
86
86
  * @throws AxiosError on 401/403, invalid input (422), conflicting draft/state (409), or service failure.
87
87
  */
88
- publish(id: string, options?: RequestOptions): Promise<import("axios").AxiosResponse<ApiEnvelope<T.SummaryConfigurationRecord>, unknown, {}>>;
88
+ publish(id: string, options?: RequestOptions): Promise<import("axios").AxiosResponse<ApiEnvelope<T.SummaryConfigurationRecord>, unknown, {}, any>>;
89
89
  /** preview: calls POST /api/v1/ai-summaries/configurations/{id}/preview.
90
90
  * Global generation must be enabled (409 when off). A disabled role may preview its draft; preview never publishes it.
91
91
  * Requires profile:ai_summary:configure. Own reads are restricted to the authenticated subject.
@@ -93,55 +93,55 @@ export declare class ProfileSummariesApi extends ServiceApi {
93
93
  * @returns Full Axios response with the typed Profile envelope.
94
94
  * @throws AxiosError on 401/403, invalid input (422), conflicting draft/state (409), or service failure.
95
95
  */
96
- preview(id: string, data: T.SummaryPreviewWrite, options?: RequestOptions<T.SummaryPreviewWrite>): Promise<import("axios").AxiosResponse<ApiEnvelope<T.SummaryPreviewResponse>, T.SummaryPreviewWrite, {}>>;
96
+ preview(id: string, data: T.SummaryPreviewWrite, options?: RequestOptions<T.SummaryPreviewWrite>): Promise<import("axios").AxiosResponse<ApiEnvelope<T.SummaryPreviewResponse>, T.SummaryPreviewWrite, {}, any>>;
97
97
  /** setStatus: calls PATCH /api/v1/ai-summaries/configurations/{id}/status.
98
98
  * Requires profile:ai_summary:configure. Own reads are restricted to the authenticated subject.
99
99
  * @param options Standard Axios headers, credentials, timeout, adapter and cancellation signal.
100
100
  * @returns Full Axios response with the typed Profile envelope.
101
101
  * @throws AxiosError on 401/403, invalid input (422), conflicting draft/state (409), or service failure.
102
102
  */
103
- setStatus(id: string, data: T.SummaryStatusWrite, options?: RequestOptions<T.SummaryStatusWrite>): Promise<import("axios").AxiosResponse<ApiEnvelope<T.SummaryConfigurationRecord>, T.SummaryStatusWrite, {}>>;
103
+ setStatus(id: string, data: T.SummaryStatusWrite, options?: RequestOptions<T.SummaryStatusWrite>): Promise<import("axios").AxiosResponse<ApiEnvelope<T.SummaryConfigurationRecord>, T.SummaryStatusWrite, {}, any>>;
104
104
  /** latest: calls GET /api/v1/ai-summaries/latest.
105
105
  * Requires profile:ai_summary:read_own or profile:ai_summary:read_all. Own reads are restricted to the authenticated subject.
106
106
  * @param options Standard Axios headers, credentials, timeout, adapter and cancellation signal.
107
107
  * @returns Full Axios response with the typed Profile envelope.
108
108
  * @throws AxiosError on 401/403, invalid input (422), conflicting draft/state (409), or service failure.
109
109
  */
110
- latest(query: T.SummaryLatestQuery, options?: RequestOptions): Promise<import("axios").AxiosResponse<ApiEnvelope<T.SummaryLatest>, unknown, {}>>;
110
+ latest(query: T.SummaryLatestQuery, options?: RequestOptions): Promise<import("axios").AxiosResponse<ApiEnvelope<T.SummaryLatest>, unknown, {}, any>>;
111
111
  /** summaries: calls GET /api/v1/ai-summaries/summaries.
112
112
  * Requires profile:ai_summary:read_own or profile:ai_summary:read_all. Own reads are restricted to the authenticated subject.
113
113
  * @param options Standard Axios headers, credentials, timeout, adapter and cancellation signal.
114
114
  * @returns Full Axios response with the typed Profile envelope.
115
115
  * @throws AxiosError on 401/403, invalid input (422), conflicting draft/state (409), or service failure.
116
116
  */
117
- summaries(query?: T.SummaryListQuery, options?: RequestOptions): Promise<import("axios").AxiosResponse<ApiEnvelope<T.SummaryPage<T.SummaryRun>>, unknown, {}>>;
117
+ summaries(query?: T.SummaryListQuery, options?: RequestOptions): Promise<import("axios").AxiosResponse<ApiEnvelope<T.SummaryPage<T.SummaryRun>>, unknown, {}, any>>;
118
118
  /** run: calls GET /api/v1/ai-summaries/runs/{id}.
119
119
  * Requires profile:ai_summary:read_own or profile:ai_summary:read_all. Own reads are restricted to the authenticated subject.
120
120
  * @param options Standard Axios headers, credentials, timeout, adapter and cancellation signal.
121
121
  * @returns Full Axios response with the typed Profile envelope.
122
122
  * @throws AxiosError on 401/403, invalid input (422), conflicting draft/state (409), or service failure.
123
123
  */
124
- run(id: string, options?: RequestOptions): Promise<import("axios").AxiosResponse<ApiEnvelope<T.SummaryRun>, unknown, {}>>;
124
+ run(id: string, options?: RequestOptions): Promise<import("axios").AxiosResponse<ApiEnvelope<T.SummaryRun>, unknown, {}, any>>;
125
125
  /** jobs: calls GET /api/v1/ai-summaries/jobs.
126
126
  * Requires profile:ai_summary:manage. Own reads are restricted to the authenticated subject.
127
127
  * @param options Standard Axios headers, credentials, timeout, adapter and cancellation signal.
128
128
  * @returns Full Axios response with the typed Profile envelope.
129
129
  * @throws AxiosError on 401/403, invalid input (422), conflicting draft/state (409), or service failure.
130
130
  */
131
- jobs(query?: T.SummaryListQuery, options?: RequestOptions): Promise<import("axios").AxiosResponse<ApiEnvelope<T.SummaryPage<T.SummaryJob>>, unknown, {}>>;
131
+ jobs(query?: T.SummaryListQuery, options?: RequestOptions): Promise<import("axios").AxiosResponse<ApiEnvelope<T.SummaryPage<T.SummaryJob>>, unknown, {}, any>>;
132
132
  /** refresh: calls POST /api/v1/ai-summaries/refresh.
133
133
  * Requires profile:ai_summary:manage. Own reads are restricted to the authenticated subject.
134
134
  * @param options Standard Axios headers, credentials, timeout, adapter and cancellation signal.
135
135
  * @returns Full Axios response with the typed Profile envelope.
136
136
  * @throws AxiosError on 401/403, invalid input (422), conflicting draft/state (409), or service failure.
137
137
  */
138
- refresh(data: T.SummaryRefreshWrite, options?: RequestOptions<T.SummaryRefreshWrite>): Promise<import("axios").AxiosResponse<ApiEnvelope<T.SummaryRefreshResponse>, T.SummaryRefreshWrite, {}>>;
138
+ refresh(data: T.SummaryRefreshWrite, options?: RequestOptions<T.SummaryRefreshWrite>): Promise<import("axios").AxiosResponse<ApiEnvelope<T.SummaryRefreshResponse>, T.SummaryRefreshWrite, {}, any>>;
139
139
  /** retry: calls POST /api/v1/ai-summaries/jobs/{id}/retry.
140
140
  * Requires profile:ai_summary:manage. Own reads are restricted to the authenticated subject.
141
141
  * @param options Standard Axios headers, credentials, timeout, adapter and cancellation signal.
142
142
  * @returns Full Axios response with the typed Profile envelope.
143
143
  * @throws AxiosError on 401/403, invalid input (422), conflicting draft/state (409), or service failure.
144
144
  */
145
- retry(id: string, options?: RequestOptions): Promise<import("axios").AxiosResponse<ApiEnvelope<T.SummaryRetryResponse>, unknown, {}>>;
145
+ retry(id: string, options?: RequestOptions): Promise<import("axios").AxiosResponse<ApiEnvelope<T.SummaryRetryResponse>, unknown, {}, any>>;
146
146
  }
147
147
  //# sourceMappingURL=summaries.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@faiber/faiber-profile",
3
- "version": "1.5.0",
3
+ "version": "1.6.0",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "main": "./dist/index.js",
@@ -17,6 +17,6 @@
17
17
  "provenance.json"
18
18
  ],
19
19
  "dependencies": {
20
- "@faiber/sdk-core": "1.5.0"
20
+ "@faiber/sdk-core": "1.6.0"
21
21
  }
22
22
  }
package/provenance.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "schema_version": 1,
3
3
  "package": "@faiber/faiber-profile",
4
- "version": "1.5.0",
4
+ "version": "1.6.0",
5
5
  "source_revisions": {
6
6
  "profile": {
7
7
  "directory": "infera-profile",
@@ -19,8 +19,8 @@
19
19
  "packages/profile/src/wire.types.ts": "90a211007fdc4fcb290804e1f6537eb3fe621e4e0bce63b6f87d526aef4cef97"
20
20
  },
21
21
  "capability_review_sha256": "fb280ef8a146c670faf81da7f6733d1fc3328be67fecb55e03c43a631a059059",
22
- "source_pin_file_sha256": "6c64dab6bf1b2958f842dd55df28ef539a91e3b0c3fba2eac6f87c2f228a1b78",
23
- "http_contract_file_sha256": "442b0234bd7c45ae1719a14d5bbfe59cabf4e88cd274962a0a7e47fbc64b83d4",
22
+ "source_pin_file_sha256": "2c7d583562161ca30360a425bd83a9b489b6cde56c83b4fd896c324b9c983950",
23
+ "http_contract_file_sha256": "505b75293ed51e0173d851044416cddf22199fdb8820db0052ddeec58ad5bc54",
24
24
  "public_contract": {
25
25
  "kind": "source-extracted-http",
26
26
  "operation_count": 239,