@factorialco/api-client 4.0.0-beta.2027010115 → 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 +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 +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' }],
|
|
@@ -51526,7 +51526,7 @@ export type PostApi20270101ResourcesTeamsTeamsData = {
|
|
|
51526
51526
|
*/
|
|
51527
51527
|
description?: string;
|
|
51528
51528
|
/**
|
|
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; 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.
|
|
51530
51530
|
*/
|
|
51531
51531
|
parent_team_id?: string;
|
|
51532
51532
|
};
|
|
@@ -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
|
/**
|
|
@@ -6313,7 +6313,7 @@ export const getApi20270101ResourcesTeamsTeams = (options) => (options?.client ?
|
|
|
6313
6313
|
/**
|
|
6314
6314
|
* Creates a Team
|
|
6315
6315
|
*
|
|
6316
|
-
* 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
|
|
6316
|
+
* 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.
|
|
6317
6317
|
*/
|
|
6318
6318
|
export const postApi20270101ResourcesTeamsTeams = (options) => (options?.client ?? client).post({
|
|
6319
6319
|
security: [{ scheme: 'bearer', type: 'http' }, { name: 'x-api-key', type: 'apiKey' }],
|
|
@@ -6361,7 +6361,7 @@ export const putApi20270101ResourcesTeamsTeamsById = (options) => (options.clien
|
|
|
6361
6361
|
/**
|
|
6362
6362
|
* Moves a Team
|
|
6363
6363
|
*
|
|
6364
|
-
* 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
|
|
6364
|
+
* 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.
|
|
6365
6365
|
*/
|
|
6366
6366
|
export const postApi20270101ResourcesTeamsTeamsMove = (options) => (options?.client ?? client).post({
|
|
6367
6367
|
security: [{ scheme: 'bearer', type: 'http' }, { name: 'x-api-key', type: 'apiKey' }],
|
|
@@ -51526,7 +51526,7 @@ export type PostApi20270101ResourcesTeamsTeamsData = {
|
|
|
51526
51526
|
*/
|
|
51527
51527
|
description?: string;
|
|
51528
51528
|
/**
|
|
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; 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.
|
|
51530
51530
|
*/
|
|
51531
51531
|
parent_team_id?: string;
|
|
51532
51532
|
};
|