@factorialco/api-client 4.0.0-beta.2027010114 → 4.0.0-beta.2027010116
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 +3 -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 +3 -1
- package/dist/esm/generated/types.gen.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -3442,7 +3442,7 @@ export declare const getApi20270101ResourcesTeamsTeams: <ThrowOnError extends bo
|
|
|
3442
3442
|
/**
|
|
3443
3443
|
* Creates a Team
|
|
3444
3444
|
*
|
|
3445
|
-
* Create a team with a given name. Passing `parent_team_id` creates it as a sub-team of that parent (nested teams): it requires the nested teams feature — companies without it get a validation error — plus permission to manage the parent team, and
|
|
3445
|
+
* Create a team with a given name. Passing `parent_team_id` creates it as a sub-team of that parent (nested teams): it requires the nested teams feature — companies without it get a validation error — plus permission to manage the parent team. The hierarchy has a maximum depth, and a request that would exceed it is rejected with an error stating the limit.
|
|
3446
3446
|
*/
|
|
3447
3447
|
export declare const postApi20270101ResourcesTeamsTeams: <ThrowOnError extends boolean = false>(options?: Options<PostApi20270101ResourcesTeamsTeamsData, ThrowOnError>) => RequestResult<PostApi20270101ResourcesTeamsTeamsResponses, PostApi20270101ResourcesTeamsTeamsErrors, ThrowOnError>;
|
|
3448
3448
|
/**
|
|
@@ -3466,7 +3466,7 @@ export declare const putApi20270101ResourcesTeamsTeamsById: <ThrowOnError extend
|
|
|
3466
3466
|
/**
|
|
3467
3467
|
* Moves a Team
|
|
3468
3468
|
*
|
|
3469
|
-
* Move a team under a different parent team, or to the root of the hierarchy. Requires the nested teams feature — companies without it get a forbidden error — plus permission to manage the moved team and both parents involved; the hierarchy is
|
|
3469
|
+
* Move a team under a different parent team, or to the root of the hierarchy. Requires the nested teams feature — companies without it get a forbidden error — plus permission to manage the moved team and both parents involved; a move that would exceed the maximum hierarchy depth is rejected. The team keeps its direct members; inherited memberships are re-propagated asynchronously to the new ancestors.
|
|
3470
3470
|
*/
|
|
3471
3471
|
export declare const postApi20270101ResourcesTeamsTeamsMove: <ThrowOnError extends boolean = false>(options?: Options<PostApi20270101ResourcesTeamsTeamsMoveData, ThrowOnError>) => RequestResult<PostApi20270101ResourcesTeamsTeamsMoveResponses, PostApi20270101ResourcesTeamsTeamsMoveErrors, ThrowOnError>;
|
|
3472
3472
|
/**
|
|
@@ -6843,7 +6843,7 @@ exports.getApi20270101ResourcesTeamsTeams = getApi20270101ResourcesTeamsTeams;
|
|
|
6843
6843
|
/**
|
|
6844
6844
|
* Creates a Team
|
|
6845
6845
|
*
|
|
6846
|
-
* Create a team with a given name. Passing `parent_team_id` creates it as a sub-team of that parent (nested teams): it requires the nested teams feature — companies without it get a validation error — plus permission to manage the parent team, and
|
|
6846
|
+
* Create a team with a given name. Passing `parent_team_id` creates it as a sub-team of that parent (nested teams): it requires the nested teams feature — companies without it get a validation error — plus permission to manage the parent team. The hierarchy has a maximum depth, and a request that would exceed it is rejected with an error stating the limit.
|
|
6847
6847
|
*/
|
|
6848
6848
|
const postApi20270101ResourcesTeamsTeams = (options) => (options?.client ?? client_gen_js_1.client).post({
|
|
6849
6849
|
security: [{ scheme: 'bearer', type: 'http' }, { name: 'x-api-key', type: 'apiKey' }],
|
|
@@ -6895,7 +6895,7 @@ exports.putApi20270101ResourcesTeamsTeamsById = putApi20270101ResourcesTeamsTeam
|
|
|
6895
6895
|
/**
|
|
6896
6896
|
* Moves a Team
|
|
6897
6897
|
*
|
|
6898
|
-
* Move a team under a different parent team, or to the root of the hierarchy. Requires the nested teams feature — companies without it get a forbidden error — plus permission to manage the moved team and both parents involved; the hierarchy is
|
|
6898
|
+
* Move a team under a different parent team, or to the root of the hierarchy. Requires the nested teams feature — companies without it get a forbidden error — plus permission to manage the moved team and both parents involved; a move that would exceed the maximum hierarchy depth is rejected. The team keeps its direct members; inherited memberships are re-propagated asynchronously to the new ancestors.
|
|
6899
6899
|
*/
|
|
6900
6900
|
const postApi20270101ResourcesTeamsTeamsMove = (options) => (options?.client ?? client_gen_js_1.client).post({
|
|
6901
6901
|
security: [{ scheme: 'bearer', type: 'http' }, { name: 'x-api-key', type: 'apiKey' }],
|
|
@@ -21634,6 +21634,8 @@ export type PostApi20270101ResourcesContractsLegalEntityChangesData = {
|
|
|
21634
21634
|
* the maximum amount of hours the employee can work in a week.
|
|
21635
21635
|
*/
|
|
21636
21636
|
maximum_weekly_hours?: number;
|
|
21637
|
+
max_work_minutes_per_day?: number;
|
|
21638
|
+
min_rest_minutes_between_days?: number;
|
|
21637
21639
|
/**
|
|
21638
21640
|
* Defines whether a bank holiday should be considered as a workable or non-workable day.
|
|
21639
21641
|
*/
|
|
@@ -51524,7 +51526,7 @@ export type PostApi20270101ResourcesTeamsTeamsData = {
|
|
|
51524
51526
|
*/
|
|
51525
51527
|
description?: string;
|
|
51526
51528
|
/**
|
|
51527
|
-
* ID of the parent team to nest the new team under (omit or null for a root team). Requires the nested teams feature and permission to manage the parent team; the hierarchy is
|
|
51529
|
+
* ID of the parent team to nest the new team under (omit or null for a root team). Requires the nested teams feature and permission to manage the parent team; a parent already at the maximum hierarchy depth is rejected.
|
|
51528
51530
|
*/
|
|
51529
51531
|
parent_team_id?: string;
|
|
51530
51532
|
};
|