@erp-galoper/types 1.0.1347 → 1.0.1349
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 +30 -3
- package/package.json +1 -1
package/openapi.ts
CHANGED
|
@@ -2321,16 +2321,18 @@ export interface paths {
|
|
|
2321
2321
|
* @description Endpoint to get logs from all models or filter by specific model.
|
|
2322
2322
|
* Query Parameters:
|
|
2323
2323
|
* - logModelName (optional): Filter by specific model name from LogModelName enum. If not provided, returns logs from all models in the enum.
|
|
2324
|
+
* REQUIRED when documentId is provided.
|
|
2324
2325
|
* - logType (optional): Filter by log type (Created, Changed, Deleted)
|
|
2325
2326
|
* - startDate (optional): Filter from date (YYYY-MM-DD)
|
|
2326
2327
|
* - endDate (optional): Filter to date (YYYY-MM-DD)
|
|
2327
2328
|
* - user (optional): Filter by user ID
|
|
2329
|
+
* - documentId (optional): Filter by specific document ID (UUID). Requires logModelName to be specified.
|
|
2328
2330
|
* - page (optional): Page number (default: 1)
|
|
2329
2331
|
* - pageSize (optional): Number of items per page (default: 20, max: 500)
|
|
2330
2332
|
*
|
|
2331
2333
|
* Possible Responses:
|
|
2332
2334
|
* - 200: LogsResponseSchema
|
|
2333
|
-
* - 400:
|
|
2335
|
+
* - 400: missingLogModelName (when documentId is provided without logModelName)
|
|
2334
2336
|
* - 403: permissionDenied
|
|
2335
2337
|
* - 500: internalServerError
|
|
2336
2338
|
*
|
|
@@ -6302,6 +6304,11 @@ export interface paths {
|
|
|
6302
6304
|
/**
|
|
6303
6305
|
* Create Currency
|
|
6304
6306
|
* @description Endpoint for create currency
|
|
6307
|
+
*
|
|
6308
|
+
* Note:
|
|
6309
|
+
* - Primary currency rate should be 1
|
|
6310
|
+
* - USD (secondary currency) usd_rate should be 1
|
|
6311
|
+
*
|
|
6305
6312
|
* Possible Responses:
|
|
6306
6313
|
* - 201:
|
|
6307
6314
|
* - currencyCreated
|
|
@@ -6363,6 +6370,11 @@ export interface paths {
|
|
|
6363
6370
|
/**
|
|
6364
6371
|
* Update Currency
|
|
6365
6372
|
* @description Endpoint for update currency
|
|
6373
|
+
*
|
|
6374
|
+
* Note:
|
|
6375
|
+
* - Primary currency rate is automatically set to 1
|
|
6376
|
+
* - USD (secondary currency) usd_rate is automatically set to 1
|
|
6377
|
+
*
|
|
6366
6378
|
* Possible Responses:
|
|
6367
6379
|
* - 200:
|
|
6368
6380
|
* - currencyUpdated
|
|
@@ -28663,6 +28675,18 @@ export interface components {
|
|
|
28663
28675
|
/** Name */
|
|
28664
28676
|
name?: string | number | null;
|
|
28665
28677
|
};
|
|
28678
|
+
/** ItemChange */
|
|
28679
|
+
ItemChange: {
|
|
28680
|
+
/** Itemid */
|
|
28681
|
+
itemId: string;
|
|
28682
|
+
/** Action */
|
|
28683
|
+
action: string;
|
|
28684
|
+
/**
|
|
28685
|
+
* Changes
|
|
28686
|
+
* @default []
|
|
28687
|
+
*/
|
|
28688
|
+
changes: components["schemas"]["modelChange"][];
|
|
28689
|
+
};
|
|
28666
28690
|
/** LogEntry */
|
|
28667
28691
|
LogEntry: {
|
|
28668
28692
|
instance: components["schemas"]["Instance"];
|
|
@@ -28680,6 +28704,8 @@ export interface components {
|
|
|
28680
28704
|
* @default []
|
|
28681
28705
|
*/
|
|
28682
28706
|
changes: components["schemas"]["modelChange"][];
|
|
28707
|
+
/** Itemchanges */
|
|
28708
|
+
itemChanges?: components["schemas"]["ItemChange"][];
|
|
28683
28709
|
modelName: components["schemas"]["LogModelName"];
|
|
28684
28710
|
};
|
|
28685
28711
|
/** LogsResponseSchema */
|
|
@@ -28696,9 +28722,9 @@ export interface components {
|
|
|
28696
28722
|
/** Field */
|
|
28697
28723
|
field: string;
|
|
28698
28724
|
/** Old */
|
|
28699
|
-
old
|
|
28725
|
+
old?: string | null;
|
|
28700
28726
|
/** New */
|
|
28701
|
-
new
|
|
28727
|
+
new?: string | null;
|
|
28702
28728
|
};
|
|
28703
28729
|
/**
|
|
28704
28730
|
* CombinedModelName
|
|
@@ -60856,6 +60882,7 @@ export interface operations {
|
|
|
60856
60882
|
startDate?: string;
|
|
60857
60883
|
endDate?: string;
|
|
60858
60884
|
user?: number;
|
|
60885
|
+
documentId?: string;
|
|
60859
60886
|
/** @description Page number */
|
|
60860
60887
|
page?: number;
|
|
60861
60888
|
/** @description Page size */
|