@faiber/faiber-task 1.2.0 → 1.4.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.
@@ -188,25 +188,25 @@ export interface ReviewProposal extends ReviewProposalInput {
188
188
  /** Authorized workspace operations. All methods preserve Axios responses and cancellation. */
189
189
  export declare class TaskWorkspaceOperations extends ServiceApi {
190
190
  /** Rebuild a pending proposal against current versions; returns a new revision requiring review. Requires current domain access; never applies changes. */
191
- refresh(id: string, revision: number, options?: RequestOptions): Promise<import("axios").AxiosResponse<TaskResponse<ReviewProposal>, import("@faiber/sdk-core").JsonObject, {}, any>>;
191
+ refresh(id: string, revision: number, options?: RequestOptions): Promise<import("axios").AxiosResponse<TaskResponse<ReviewProposal>, import("@faiber/sdk-core").JsonObject, {}>>;
192
192
  /** Query exact totals and cursor pages with Task SQL authorization; date intervals are [from,until). Requires task:access:use and work_item.read. */
193
- query(data: WorkspaceQuery, options?: RequestOptions<WorkspaceQuery>): Promise<import("axios").AxiosResponse<TaskResponse<WorkspaceQueryResult>, WorkspaceQuery, {}, any>>;
193
+ query(data: WorkspaceQuery, options?: RequestOptions<WorkspaceQuery>): Promise<import("axios").AxiosResponse<TaskResponse<WorkspaceQueryResult>, WorkspaceQuery, {}>>;
194
194
  /** Read the current user's planning settings; preferences is null until configured. */
195
- preferences(options?: RequestOptions): Promise<import("axios").AxiosResponse<TaskResponse<PlanningPreferencesResult>, any, {}, any>>;
195
+ preferences(options?: RequestOptions): Promise<import("axios").AxiosResponse<TaskResponse<PlanningPreferencesResult>, any, {}>>;
196
196
  /** Save explicit planning preferences with version 0 initially; 409 means concurrent modification. */
197
- savePreferences(data: PlanningPreferences, expectedVersion: number, options?: RequestOptions): Promise<import("axios").AxiosResponse<TaskResponse<PlanningPreferencesResult>, PlanningPreferences, {}, any>>;
197
+ savePreferences(data: PlanningPreferences, expectedVersion: number, options?: RequestOptions): Promise<import("axios").AxiosResponse<TaskResponse<PlanningPreferencesResult>, PlanningPreferences, {}>>;
198
198
  /** Read space-owned category folders; inaccessible projects return 403/404. */
199
- folders(projectId: string, options?: RequestOptions): Promise<import("axios").AxiosResponse<TaskResponse<NoteFolder[]>, any, {}, any>>;
199
+ folders(projectId: string, options?: RequestOptions): Promise<import("axios").AxiosResponse<TaskResponse<NoteFolder[]>, any, {}>>;
200
200
  /** Validate a batch in a rolled-back transaction without storing a proposal or applying changes. */
201
- validate(data: ReviewProposalInput, options?: RequestOptions<ReviewProposalInput>): Promise<import("axios").AxiosResponse<ReviewPreviewResponse, ReviewProposalInput, {}, any>>;
201
+ validate(data: ReviewProposalInput, options?: RequestOptions<ReviewProposalInput>): Promise<import("axios").AxiosResponse<ReviewPreviewResponse, ReviewProposalInput, {}>>;
202
202
  /** Persist a validated before/after preview. Domain permissions apply to every operation. */
203
- propose(data: ReviewProposalInput, options?: RequestOptions<ReviewProposalInput>): Promise<import("axios").AxiosResponse<TaskResponse<ReviewProposal>, ReviewProposalInput, {}, any>>;
203
+ propose(data: ReviewProposalInput, options?: RequestOptions<ReviewProposalInput>): Promise<import("axios").AxiosResponse<TaskResponse<ReviewProposal>, ReviewProposalInput, {}>>;
204
204
  /** Read only the authenticated owner's proposal and recheck record access. */
205
- proposal(id: string, options?: RequestOptions): Promise<import("axios").AxiosResponse<TaskResponse<ReviewProposal>, any, {}, any>>;
205
+ proposal(id: string, options?: RequestOptions): Promise<import("axios").AxiosResponse<TaskResponse<ReviewProposal>, any, {}>>;
206
206
  /** Replace the editable batch with a newly validated revision; conversation and space cannot change. */
207
- revise(id: string, data: ReviewProposalInput, revision: number, options?: RequestOptions): Promise<import("axios").AxiosResponse<TaskResponse<ReviewProposal>, ReviewProposalInput, {}, any>>;
207
+ revise(id: string, data: ReviewProposalInput, revision: number, options?: RequestOptions): Promise<import("axios").AxiosResponse<TaskResponse<ReviewProposal>, ReviewProposalInput, {}>>;
208
208
  /** Apply a reviewed revision atomically. Retries of the same revision are idempotent; conflicts apply nothing. */
209
- apply(id: string, revision: number, options?: RequestOptions): Promise<import("axios").AxiosResponse<TaskResponse<ReviewProposal>, import("@faiber/sdk-core").JsonObject, {}, any>>;
209
+ apply(id: string, revision: number, options?: RequestOptions): Promise<import("axios").AxiosResponse<TaskResponse<ReviewProposal>, import("@faiber/sdk-core").JsonObject, {}>>;
210
210
  }
211
211
  export interface NoteFoldersQuery {
212
212
  project_id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@faiber/faiber-task",
3
- "version": "1.2.0",
3
+ "version": "1.4.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.2.0"
20
+ "@faiber/sdk-core": "1.4.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-task",
4
- "version": "1.2.0",
4
+ "version": "1.4.0",
5
5
  "source_revisions": {
6
6
  "task": {
7
7
  "directory": "infera-task",
@@ -19,8 +19,8 @@
19
19
  "packages/task/src/workspace.ts": "6873fb559d167e05ca8480ad6890f1732735f36cad30b197610d21829ff8b851"
20
20
  },
21
21
  "capability_review_sha256": "85188e40cb1f2779d5890227f2516570be241833019be34247d0adecc6b9670b",
22
- "source_pin_file_sha256": "a1e906ba4d4d463f074b276b31bff0359beb99dbc760e6682975907aa6c3d5a1",
23
- "http_contract_file_sha256": "81a85ea4fdd5111cb945e64745e02cba9ce4eda5bdf2f2b06eb20665a4922de6",
22
+ "source_pin_file_sha256": "87aae9725acf7a612b7d57557fa0d9fb10c050ba68e39f9b66ec61b956b65c58",
23
+ "http_contract_file_sha256": "b4898281b848cf450d4c4df47f6582dbd003d97882a0bdd7d1374907550dea9f",
24
24
  "public_contract": {
25
25
  "kind": "source-extracted-http",
26
26
  "operation_count": 128,