@erp-galoper/types 1.0.1206 → 1.0.1208

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.
Files changed (2) hide show
  1. package/openapi.ts +123 -1
  2. package/package.json +1 -1
package/openapi.ts CHANGED
@@ -19296,6 +19296,49 @@ export interface paths {
19296
19296
  patch?: never;
19297
19297
  trace?: never;
19298
19298
  };
19299
+ "/api/v1/task/status/reorder": {
19300
+ parameters: {
19301
+ query?: never;
19302
+ header?: never;
19303
+ path?: never;
19304
+ cookie?: never;
19305
+ };
19306
+ get?: never;
19307
+ /**
19308
+ * Reorder Statuses
19309
+ * @description Endpoint for reordering statuses
19310
+ * Requirements (Critical Validation):
19311
+ * - Completeness: The payload MUST include all existing status IDs.
19312
+ * - Sequential Order: 'order' values must be a continuous, gap-less sequence of integers starting at 1
19313
+ * (i.e., 1, 2, 3, ..., N, where N is the total status count)
19314
+ * - Uniqueness: All 'order' values must be unique within the payload
19315
+ *
19316
+ * - 200:
19317
+ * - List[RetrieveStatus]
19318
+ * - 403:
19319
+ * - permissionDenied
19320
+ * - noModuleAccess
19321
+ * - 400:
19322
+ * - ValidationError
19323
+ * - missingStatusIds
19324
+ * - orderSequenceGap
19325
+ * - invalidOrderRange
19326
+ * - 404:
19327
+ * - statusDoesNotExist
19328
+ * - 500:
19329
+ * - internalServerError
19330
+ *
19331
+ * Permission Key:
19332
+ * 'status = ['change']'
19333
+ */
19334
+ put: operations["task_views_reorder_statuses"];
19335
+ post?: never;
19336
+ delete?: never;
19337
+ options?: never;
19338
+ head?: never;
19339
+ patch?: never;
19340
+ trace?: never;
19341
+ };
19299
19342
  "/api/v1/task/status/{id}/": {
19300
19343
  parameters: {
19301
19344
  query?: never;
@@ -19324,7 +19367,7 @@ export interface paths {
19324
19367
  get: operations["task_views_get_status"];
19325
19368
  /**
19326
19369
  * Edit Status
19327
- * @description Endpoint for edit status
19370
+ * @description Endpoint for edit status name
19328
19371
  *
19329
19372
  * Possible Responses:
19330
19373
  * - 200:
@@ -50890,11 +50933,21 @@ export interface components {
50890
50933
  name: string;
50891
50934
  /** Order */
50892
50935
  order: number;
50936
+ /** Candelete */
50937
+ canDelete: boolean;
50893
50938
  };
50894
50939
  /** CreateUpdateStatus */
50895
50940
  CreateUpdateStatus: {
50896
50941
  /** Name */
50897
50942
  name: string;
50943
+ };
50944
+ /** StatusReorder */
50945
+ StatusReorder: {
50946
+ /**
50947
+ * Statusid
50948
+ * Format: uuid
50949
+ */
50950
+ statusId: string;
50898
50951
  /**
50899
50952
  * Order
50900
50953
  * @description - Positive integer that defines the position of this status in the workflow.
@@ -90137,6 +90190,75 @@ export interface operations {
90137
90190
  };
90138
90191
  };
90139
90192
  };
90193
+ task_views_reorder_statuses: {
90194
+ parameters: {
90195
+ query?: never;
90196
+ header?: never;
90197
+ path?: never;
90198
+ cookie?: never;
90199
+ };
90200
+ requestBody: {
90201
+ content: {
90202
+ "application/json": components["schemas"]["StatusReorder"][];
90203
+ };
90204
+ };
90205
+ responses: {
90206
+ /** @description OK */
90207
+ 200: {
90208
+ headers: {
90209
+ [name: string]: unknown;
90210
+ };
90211
+ content: {
90212
+ "application/json": components["schemas"]["RetrieveStatus"][];
90213
+ };
90214
+ };
90215
+ /** @description Bad Request */
90216
+ 400: {
90217
+ headers: {
90218
+ [name: string]: unknown;
90219
+ };
90220
+ content: {
90221
+ "application/json": components["schemas"]["ErrorMessages"];
90222
+ };
90223
+ };
90224
+ /** @description Forbidden */
90225
+ 403: {
90226
+ headers: {
90227
+ [name: string]: unknown;
90228
+ };
90229
+ content: {
90230
+ "application/json": components["schemas"]["MessageResponse"];
90231
+ };
90232
+ };
90233
+ /** @description Not Found */
90234
+ 404: {
90235
+ headers: {
90236
+ [name: string]: unknown;
90237
+ };
90238
+ content: {
90239
+ "application/json": components["schemas"]["ErrorMessages"];
90240
+ };
90241
+ };
90242
+ /** @description Conflict */
90243
+ 409: {
90244
+ headers: {
90245
+ [name: string]: unknown;
90246
+ };
90247
+ content: {
90248
+ "application/json": components["schemas"]["MessageResponse"];
90249
+ };
90250
+ };
90251
+ /** @description Internal Server Error */
90252
+ 500: {
90253
+ headers: {
90254
+ [name: string]: unknown;
90255
+ };
90256
+ content: {
90257
+ "application/json": components["schemas"]["MessageResponse"];
90258
+ };
90259
+ };
90260
+ };
90261
+ };
90140
90262
  task_views_get_status: {
90141
90263
  parameters: {
90142
90264
  query?: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erp-galoper/types",
3
- "version": "1.0.1206",
3
+ "version": "1.0.1208",
4
4
  "main": "openapi.ts",
5
5
  "types": "openapi.ts",
6
6
  "files": ["openapi.ts"],