@factorialco/api-client 3.0.0-beta.2026100118 → 3.0.0-beta.2026100119
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/dist/cjs/generated/sdk.gen.d.ts +2 -2
- package/dist/cjs/generated/sdk.gen.js +2 -2
- package/dist/cjs/generated/types.gen.d.ts +17 -1
- package/dist/cjs/generated/types.gen.d.ts.map +1 -1
- package/dist/esm/generated/sdk.gen.d.ts +2 -2
- package/dist/esm/generated/sdk.gen.js +2 -2
- package/dist/esm/generated/types.gen.d.ts +17 -1
- package/dist/esm/generated/types.gen.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -3092,7 +3092,7 @@ export declare const getApi20261001ResourcesTasksTasks: <ThrowOnError extends bo
|
|
|
3092
3092
|
/**
|
|
3093
3093
|
* Creates a Task
|
|
3094
3094
|
*
|
|
3095
|
-
* This endpoint creates a new task.
|
|
3095
|
+
* This endpoint creates a new task. Use author_employee_id to set who authors the task, otherwise the first active employee of the company is used.
|
|
3096
3096
|
*/
|
|
3097
3097
|
export declare const postApi20261001ResourcesTasksTasks: <ThrowOnError extends boolean = false>(options?: Options<PostApi20261001ResourcesTasksTasksData, ThrowOnError>) => RequestResult<PostApi20261001ResourcesTasksTasksResponses, unknown, ThrowOnError>;
|
|
3098
3098
|
/**
|
|
@@ -3116,7 +3116,7 @@ export declare const putApi20261001ResourcesTasksTasksById: <ThrowOnError extend
|
|
|
3116
3116
|
/**
|
|
3117
3117
|
* Bulk creates a Task
|
|
3118
3118
|
*
|
|
3119
|
-
* This endpoint creates a new task for each assignee.
|
|
3119
|
+
* This endpoint creates a new task for each assignee. Use author_employee_id to set who authors the tasks, otherwise the first active employee of the company is used.
|
|
3120
3120
|
*/
|
|
3121
3121
|
export declare const postApi20261001ResourcesTasksTasksBulkCreate: <ThrowOnError extends boolean = false>(options?: Options<PostApi20261001ResourcesTasksTasksBulkCreateData, ThrowOnError>) => RequestResult<PostApi20261001ResourcesTasksTasksBulkCreateResponses, unknown, ThrowOnError>;
|
|
3122
3122
|
/**
|
|
@@ -5690,7 +5690,7 @@ export const getApi20261001ResourcesTasksTasks = (options) => (options?.client ?
|
|
|
5690
5690
|
/**
|
|
5691
5691
|
* Creates a Task
|
|
5692
5692
|
*
|
|
5693
|
-
* This endpoint creates a new task.
|
|
5693
|
+
* This endpoint creates a new task. Use author_employee_id to set who authors the task, otherwise the first active employee of the company is used.
|
|
5694
5694
|
*/
|
|
5695
5695
|
export const postApi20261001ResourcesTasksTasks = (options) => (options?.client ?? client).post({
|
|
5696
5696
|
security: [{ scheme: 'bearer', type: 'http' }, { name: 'x-api-key', type: 'apiKey' }],
|
|
@@ -5738,7 +5738,7 @@ export const putApi20261001ResourcesTasksTasksById = (options) => (options.clien
|
|
|
5738
5738
|
/**
|
|
5739
5739
|
* Bulk creates a Task
|
|
5740
5740
|
*
|
|
5741
|
-
* This endpoint creates a new task for each assignee.
|
|
5741
|
+
* This endpoint creates a new task for each assignee. Use author_employee_id to set who authors the tasks, otherwise the first active employee of the company is used.
|
|
5742
5742
|
*/
|
|
5743
5743
|
export const postApi20261001ResourcesTasksTasksBulkCreate = (options) => (options?.client ?? client).post({
|
|
5744
5744
|
security: [{ scheme: 'bearer', type: 'http' }, { name: 'x-api-key', type: 'apiKey' }],
|
|
@@ -10723,7 +10723,7 @@ export type GetApi20261001ResourcesBookkeepersManagementIncidencesData = {
|
|
|
10723
10723
|
*/
|
|
10724
10724
|
ends_on?: string;
|
|
10725
10725
|
/**
|
|
10726
|
-
* A list of types. It can be any of the following address, bank, cost_center, contract, gender, hiring, id, irpf, legal_entity, manual_incidence, name, nationality, parental, phone_number, sick, tax_id, termination, workplace
|
|
10726
|
+
* A list of types. It can be any of the following address, bank, cost_center, contract, gender, health_insurance, hiring, id, irpf, legal_entity, manual_incidence, name, nationality, parental, permits_and_certificates, phone_number, sick, tax_id, taxes_and_deductions, termination, work_activity, workplace
|
|
10727
10727
|
*/
|
|
10728
10728
|
'type[]'?: Array<string>;
|
|
10729
10729
|
/**
|
|
@@ -15922,6 +15922,10 @@ export type GetApi20261001ResourcesIntegrationsSyncRunsData = {
|
|
|
15922
15922
|
body?: never;
|
|
15923
15923
|
path?: never;
|
|
15924
15924
|
query: {
|
|
15925
|
+
/**
|
|
15926
|
+
* UUID of the marketplace integration to filter sync runs by.
|
|
15927
|
+
*/
|
|
15928
|
+
marketplace_integration_uuid: string;
|
|
15925
15929
|
/**
|
|
15926
15930
|
* Filter sync runs by their creation timestamp (`created_at`), on or after this timestamp (inclusive).
|
|
15927
15931
|
*/
|
|
@@ -20494,6 +20498,10 @@ export type PostApi20261001ResourcesProjectManagementProjectsData = {
|
|
|
20494
20498
|
* Array of employee IDs who are project managers
|
|
20495
20499
|
*/
|
|
20496
20500
|
project_managers?: Array<string>;
|
|
20501
|
+
/**
|
|
20502
|
+
* Array of employee IDs who are project viewers
|
|
20503
|
+
*/
|
|
20504
|
+
project_viewers?: Array<string>;
|
|
20497
20505
|
/**
|
|
20498
20506
|
* Whether the project is billable to clients
|
|
20499
20507
|
*/
|
|
@@ -21803,6 +21811,10 @@ export type PostApi20261001ResourcesTasksTasksData = {
|
|
|
21803
21811
|
* Employees assigned to the task, assignee_id references to access_id.
|
|
21804
21812
|
*/
|
|
21805
21813
|
assignee_ids?: Array<string>;
|
|
21814
|
+
/**
|
|
21815
|
+
* employee that will be set as the author of the task. Only taken into account when authenticating with an API key, requests performed on behalf of a user always use that user as the author. When omitted, the task is authored by the first active employee of the company.
|
|
21816
|
+
*/
|
|
21817
|
+
author_employee_id?: string;
|
|
21806
21818
|
/**
|
|
21807
21819
|
* status of the task (todo | in_progress | done | discarded).
|
|
21808
21820
|
*/
|
|
@@ -21916,6 +21928,10 @@ export type PostApi20261001ResourcesTasksTasksBulkCreateData = {
|
|
|
21916
21928
|
* Employees assigned to the task, assignee_id references to access_id.
|
|
21917
21929
|
*/
|
|
21918
21930
|
assignee_ids?: Array<string>;
|
|
21931
|
+
/**
|
|
21932
|
+
* employee that will be set as the author of the tasks. Only taken into account when authenticating with an API key, requests performed on behalf of a user always use that user as the author. When omitted, the tasks are authored by the first active employee of the company.
|
|
21933
|
+
*/
|
|
21934
|
+
author_employee_id?: string;
|
|
21919
21935
|
/**
|
|
21920
21936
|
* status of the task (todo | in_progress | done | discarded).
|
|
21921
21937
|
*/
|