@erp-galoper/types 1.0.525 → 1.0.526
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 +110 -25
- package/package.json +1 -1
package/openapi.ts
CHANGED
|
@@ -20481,30 +20481,35 @@ export interface components {
|
|
|
20481
20481
|
*/
|
|
20482
20482
|
paymentMethod: components["schemas"]["ViewOnlyPermissionAction"][];
|
|
20483
20483
|
/**
|
|
20484
|
-
*
|
|
20484
|
+
* Possettings
|
|
20485
|
+
* @default []
|
|
20486
|
+
*/
|
|
20487
|
+
posSettings: components["schemas"]["FullPermissionAction"][];
|
|
20488
|
+
/**
|
|
20489
|
+
* Financialperiod
|
|
20485
20490
|
* @default []
|
|
20486
20491
|
*/
|
|
20487
|
-
|
|
20492
|
+
financialPeriod: components["schemas"]["FullPermissionAction"][];
|
|
20488
20493
|
/**
|
|
20489
|
-
*
|
|
20494
|
+
* Systemsettings
|
|
20490
20495
|
* @default []
|
|
20491
20496
|
*/
|
|
20492
|
-
|
|
20497
|
+
systemSettings: components["schemas"]["FullPermissionAction"][];
|
|
20493
20498
|
/**
|
|
20494
|
-
*
|
|
20499
|
+
* Zreport
|
|
20495
20500
|
* @default []
|
|
20496
20501
|
*/
|
|
20497
|
-
|
|
20502
|
+
zReport: components["schemas"]["ViewOnlyPermissionAction"][];
|
|
20498
20503
|
/**
|
|
20499
|
-
*
|
|
20504
|
+
* Xreport
|
|
20500
20505
|
* @default []
|
|
20501
20506
|
*/
|
|
20502
|
-
|
|
20507
|
+
xReport: components["schemas"]["ViewOnlyPermissionAction"][];
|
|
20503
20508
|
/**
|
|
20504
|
-
*
|
|
20509
|
+
* Session
|
|
20505
20510
|
* @default []
|
|
20506
20511
|
*/
|
|
20507
|
-
|
|
20512
|
+
session: components["schemas"]["SessionPermissionAction"][];
|
|
20508
20513
|
};
|
|
20509
20514
|
/** PosRoleSchema */
|
|
20510
20515
|
PosRoleSchema: {
|
|
@@ -20579,6 +20584,11 @@ export interface components {
|
|
|
20579
20584
|
/** @description visible when user is cashier */
|
|
20580
20585
|
posRole: components["schemas"]["PosRoleSchema"] | null;
|
|
20581
20586
|
};
|
|
20587
|
+
/**
|
|
20588
|
+
* SessionPermissionAction
|
|
20589
|
+
* @enum {string}
|
|
20590
|
+
*/
|
|
20591
|
+
SessionPermissionAction: "view" | "close";
|
|
20582
20592
|
/**
|
|
20583
20593
|
* ViewOnlyPermissionAction
|
|
20584
20594
|
* @constant
|
|
@@ -26955,7 +26965,7 @@ export interface components {
|
|
|
26955
26965
|
/**
|
|
26956
26966
|
* Id
|
|
26957
26967
|
* Format: uuid
|
|
26958
|
-
* @example
|
|
26968
|
+
* @example 7119e053-8589-4fe2-8687-1316a2442410
|
|
26959
26969
|
*/
|
|
26960
26970
|
id: string;
|
|
26961
26971
|
/**
|
|
@@ -45899,32 +45909,107 @@ export interface components {
|
|
|
45899
45909
|
};
|
|
45900
45910
|
/** CreateUpdateModulePermissions */
|
|
45901
45911
|
CreateUpdateModulePermissions: {
|
|
45902
|
-
/**
|
|
45912
|
+
/**
|
|
45913
|
+
* Category
|
|
45914
|
+
* @default []
|
|
45915
|
+
*/
|
|
45903
45916
|
category: components["schemas"]["FullPermissionAction"][];
|
|
45904
|
-
/**
|
|
45917
|
+
/**
|
|
45918
|
+
* Company
|
|
45919
|
+
* @default []
|
|
45920
|
+
*/
|
|
45905
45921
|
company: components["schemas"]["FullPermissionAction"][];
|
|
45906
|
-
/**
|
|
45922
|
+
/**
|
|
45923
|
+
* Currency
|
|
45924
|
+
* @default []
|
|
45925
|
+
*/
|
|
45907
45926
|
currency: components["schemas"]["FullPermissionAction"][];
|
|
45908
|
-
/**
|
|
45927
|
+
/**
|
|
45928
|
+
* Customer
|
|
45929
|
+
* @default []
|
|
45930
|
+
*/
|
|
45909
45931
|
customer: components["schemas"]["FullPermissionAction"][];
|
|
45910
|
-
/**
|
|
45911
|
-
|
|
45912
|
-
|
|
45932
|
+
/**
|
|
45933
|
+
* Invoice
|
|
45934
|
+
* @default []
|
|
45935
|
+
*/
|
|
45936
|
+
invoice: components["schemas"]["InvoicePermissionAction"][];
|
|
45937
|
+
/**
|
|
45938
|
+
* Returninvoice
|
|
45939
|
+
* @default []
|
|
45940
|
+
*/
|
|
45913
45941
|
returnInvoice: components["schemas"]["FullPermissionAction"][];
|
|
45914
|
-
/**
|
|
45942
|
+
/**
|
|
45943
|
+
* Exchangeinvoice
|
|
45944
|
+
* @default []
|
|
45945
|
+
*/
|
|
45915
45946
|
exchangeInvoice: components["schemas"]["FullPermissionAction"][];
|
|
45916
|
-
/**
|
|
45947
|
+
/**
|
|
45948
|
+
* Item
|
|
45949
|
+
* @default []
|
|
45950
|
+
*/
|
|
45917
45951
|
item: components["schemas"]["FullPermissionAction"][];
|
|
45918
|
-
/**
|
|
45952
|
+
/**
|
|
45953
|
+
* Tax
|
|
45954
|
+
* @default []
|
|
45955
|
+
*/
|
|
45919
45956
|
tax: components["schemas"]["FullPermissionAction"][];
|
|
45920
|
-
/**
|
|
45957
|
+
/**
|
|
45958
|
+
* User
|
|
45959
|
+
* @default []
|
|
45960
|
+
*/
|
|
45921
45961
|
user: components["schemas"]["FullPermissionAction"][];
|
|
45922
|
-
/**
|
|
45962
|
+
/**
|
|
45963
|
+
* Branch
|
|
45964
|
+
* @default []
|
|
45965
|
+
*/
|
|
45923
45966
|
branch: components["schemas"]["FullPermissionAction"][];
|
|
45924
|
-
/**
|
|
45967
|
+
/**
|
|
45968
|
+
* Role
|
|
45969
|
+
* @default []
|
|
45970
|
+
*/
|
|
45925
45971
|
role: components["schemas"]["FullPermissionAction"][];
|
|
45926
|
-
/**
|
|
45972
|
+
/**
|
|
45973
|
+
* Paymentmethod
|
|
45974
|
+
* @default []
|
|
45975
|
+
*/
|
|
45927
45976
|
paymentMethod: components["schemas"]["ViewOnlyPermissionAction"][];
|
|
45977
|
+
/**
|
|
45978
|
+
* Possettings
|
|
45979
|
+
* @default []
|
|
45980
|
+
*/
|
|
45981
|
+
posSettings: components["schemas"]["FullPermissionAction"][];
|
|
45982
|
+
/**
|
|
45983
|
+
* Financialperiod
|
|
45984
|
+
* @default []
|
|
45985
|
+
*/
|
|
45986
|
+
financialPeriod: components["schemas"]["FullPermissionAction"][];
|
|
45987
|
+
/**
|
|
45988
|
+
* Systemsettings
|
|
45989
|
+
* @default []
|
|
45990
|
+
*/
|
|
45991
|
+
systemSettings: components["schemas"]["FullPermissionAction"][];
|
|
45992
|
+
/**
|
|
45993
|
+
* Zreport
|
|
45994
|
+
* @default []
|
|
45995
|
+
*/
|
|
45996
|
+
zReport: components["schemas"]["ViewOnlyPermissionAction"][];
|
|
45997
|
+
/**
|
|
45998
|
+
* Xreport
|
|
45999
|
+
* @default []
|
|
46000
|
+
*/
|
|
46001
|
+
xReport: components["schemas"]["ViewOnlyPermissionAction"][];
|
|
46002
|
+
/**
|
|
46003
|
+
* Session
|
|
46004
|
+
* @description
|
|
46005
|
+
* Add note to the user:
|
|
46006
|
+
* The 'view' permission allows monitoring all active sessions across the system, while 'close' permission enables terminating any user's session regardless of who created it.
|
|
46007
|
+
* These elevated permissions are typically assigned to supervisor or manager roles for oversight and operational control when intervention is needed.
|
|
46008
|
+
* Note that all cashiers automatically have basic permissions to create sessions and close their own sessions by default.
|
|
46009
|
+
*
|
|
46010
|
+
* @default []
|
|
46011
|
+
*/
|
|
46012
|
+
session: components["schemas"]["SessionPermissionAction"][];
|
|
45928
46013
|
};
|
|
45929
46014
|
/** CreateUpdatePosRoleSchema */
|
|
45930
46015
|
CreateUpdatePosRoleSchema: {
|