@erp-galoper/types 1.0.1170 → 1.0.1172
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/openapi.ts +32 -25
- package/package.json +1 -1
package/openapi.ts
CHANGED
|
@@ -50773,15 +50773,16 @@ export interface components {
|
|
|
50773
50773
|
CreateUpdateActivity: {
|
|
50774
50774
|
/**
|
|
50775
50775
|
* Id
|
|
50776
|
-
* @description -
|
|
50777
|
-
*
|
|
50776
|
+
* @description - Creating a new Activity (Nested or Standalone): MUST be omitted (or set to null).
|
|
50777
|
+
* - Updating a Activity Nested in a Task: REQUIRED within the activity object in the request body to identify the existing activity being modified.
|
|
50778
|
+
* - Updating a Standalone Activity (via api/v1/task/activity/ ): Omitted in the request body (ID is derived from the URL).
|
|
50778
50779
|
*/
|
|
50779
50780
|
id?: string | null;
|
|
50780
50781
|
/**
|
|
50781
50782
|
* Task Id
|
|
50782
|
-
* @description -
|
|
50783
|
-
*
|
|
50784
|
-
*
|
|
50783
|
+
* @description - Creating a Activity Separately (via api/v1/task/activity/ create endpoint): REQUIRED to link the new activity to a parent task.
|
|
50784
|
+
* - Creating/Updating a Task with Nested Activities (via /task/ endpoint): MUST be omitted
|
|
50785
|
+
* - Updating an Existing Activity: MUST be omitted, as the parent task association is immutable and cannot be changed.
|
|
50785
50786
|
*/
|
|
50786
50787
|
task_id: string | null;
|
|
50787
50788
|
/** Name */
|
|
@@ -50833,15 +50834,16 @@ export interface components {
|
|
|
50833
50834
|
CreateUpdateComment: {
|
|
50834
50835
|
/**
|
|
50835
50836
|
* Id
|
|
50836
|
-
* @description -
|
|
50837
|
-
*
|
|
50837
|
+
* @description - Creating a new Comment (Nested or Standalone): MUST be omitted (or set to null).
|
|
50838
|
+
* - Updating a Comment Nested in a Task: REQUIRED within the comment object in the request body to identify the existing comment being modified.
|
|
50839
|
+
* - Updating a Standalone Comment (via api/v1/task/comment/ ): Omitted in the request body (ID is derived from the URL).
|
|
50838
50840
|
*/
|
|
50839
50841
|
id?: string | null;
|
|
50840
50842
|
/**
|
|
50841
50843
|
* Task Id
|
|
50842
|
-
* @description -
|
|
50843
|
-
*
|
|
50844
|
-
*
|
|
50844
|
+
* @description - Creating a Comment Separately (via /comment/ create endpoint): REQUIRED to link the new comment to a parent task.
|
|
50845
|
+
* - Creating/Updating a Task with Nested Comments (via /task/ endpoint): MUST be omitted
|
|
50846
|
+
* - Updating an Existing Comment: MUST be omitted, as the parent task association is immutable and cannot be changed.
|
|
50845
50847
|
*/
|
|
50846
50848
|
task_id: string | null;
|
|
50847
50849
|
/**
|
|
@@ -50949,17 +50951,20 @@ export interface components {
|
|
|
50949
50951
|
CreateUpdateTask: {
|
|
50950
50952
|
/**
|
|
50951
50953
|
* Id
|
|
50952
|
-
* @description
|
|
50953
|
-
*
|
|
50954
|
-
*
|
|
50954
|
+
* @description The unique identifier (UUID) of the Task or Subtask.
|
|
50955
|
+
* - Creating a new Task/Subtask: MUST be omitted (or set to null).
|
|
50956
|
+
* - Updating a Parent Task: Omitted in the request body (ID is derived from the URL).
|
|
50957
|
+
* - Updating a Nested Subtask: REQUIRED within the subtask object to identify the existing subtask being modified.
|
|
50955
50958
|
*/
|
|
50956
50959
|
id?: string | null;
|
|
50957
50960
|
/**
|
|
50958
50961
|
* Parenttaskid
|
|
50959
|
-
* @description
|
|
50960
|
-
*
|
|
50961
|
-
*
|
|
50962
|
-
*
|
|
50962
|
+
* @description The UUID of the parent task. This field explicitly marks the current object as a subtask.
|
|
50963
|
+
* - Creating a Subtask Separately (via api/v1/task/): REQUIRED to link the new subtask to a parent.
|
|
50964
|
+
* - Creating/Updating a Task with Nested Subtasks: MUST be omitted.
|
|
50965
|
+
* - Updating an Existing Subtask: MUST be omitted, as a subtask's parent cannot be replaced.
|
|
50966
|
+
*
|
|
50967
|
+
* If 'parent_task' is provided, the 'subtasks: List["CreateUpdateTask"]' field must be null or an empty list, as subtasks cannot have subtasks (max depth of 1).
|
|
50963
50968
|
*/
|
|
50964
50969
|
parentTaskID?: string | null;
|
|
50965
50970
|
/**
|
|
@@ -50988,8 +50993,11 @@ export interface components {
|
|
|
50988
50993
|
statusId?: string | null;
|
|
50989
50994
|
/**
|
|
50990
50995
|
* Templatetaskid
|
|
50991
|
-
* @description
|
|
50992
|
-
*
|
|
50996
|
+
* @description The UUID of the Task Template used as the basis for this task.
|
|
50997
|
+
*
|
|
50998
|
+
* Usage Rules:
|
|
50999
|
+
* 1. For Creation (POST): This field is Optional. Provide a value only if the new task is being generated from an existing template.
|
|
51000
|
+
* 2. For Update (PUT/PATCH): This field **MUST be omitted**. The template association is immutable and cannot be changed or replaced after the task has been created.
|
|
50993
51001
|
*/
|
|
50994
51002
|
templateTaskId?: string | null;
|
|
50995
51003
|
/**
|
|
@@ -51009,10 +51017,9 @@ export interface components {
|
|
|
51009
51017
|
dependenciesIds?: string[];
|
|
51010
51018
|
/**
|
|
51011
51019
|
* Subtasks
|
|
51012
|
-
* @description A list of subtasks
|
|
51013
|
-
* -
|
|
51014
|
-
* - Only
|
|
51015
|
-
* - Subtasks cannot have their own subtasks
|
|
51020
|
+
* @description - A list of nested subtasks to be created or updated under this task.
|
|
51021
|
+
* - Subtasks cannot have their own subtasks . If a task has a value for `parent_task_id`, this `subtasks` field MUST be empty (`[]` or null).
|
|
51022
|
+
* - Task Type: Only top-level tasks (tasks with `parent_task_id` omitted) can contain subtasks.
|
|
51016
51023
|
*/
|
|
51017
51024
|
subtasks?: components["schemas"]["CreateUpdateTask"][];
|
|
51018
51025
|
/** Comments */
|
|
@@ -51029,11 +51036,11 @@ export interface components {
|
|
|
51029
51036
|
repeatEndDate?: string | null;
|
|
51030
51037
|
/** Repeatevery */
|
|
51031
51038
|
repeatEvery?: number | null;
|
|
51032
|
-
/** @description
|
|
51039
|
+
/** @description Optional For Creation and Must be Omitted for update */
|
|
51033
51040
|
documentContentType?: components["schemas"]["CombinedModelName"] | null;
|
|
51034
51041
|
/**
|
|
51035
51042
|
* Documentid
|
|
51036
|
-
* @description
|
|
51043
|
+
* @description Optional For Creation and Must be Omitted for update
|
|
51037
51044
|
*/
|
|
51038
51045
|
documentId?: string | null;
|
|
51039
51046
|
};
|