@erp-galoper/types 1.0.525 → 1.0.527

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 +110 -25
  2. 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
- * Pos Settings
20484
+ * Possettings
20485
+ * @default []
20486
+ */
20487
+ posSettings: components["schemas"]["FullPermissionAction"][];
20488
+ /**
20489
+ * Financialperiod
20485
20490
  * @default []
20486
20491
  */
20487
- pos_settings: components["schemas"]["FullPermissionAction"][];
20492
+ financialPeriod: components["schemas"]["FullPermissionAction"][];
20488
20493
  /**
20489
- * Financial Period
20494
+ * Systemsettings
20490
20495
  * @default []
20491
20496
  */
20492
- financial_period: components["schemas"]["FullPermissionAction"][];
20497
+ systemSettings: components["schemas"]["FullPermissionAction"][];
20493
20498
  /**
20494
- * System Settings
20499
+ * Zreport
20495
20500
  * @default []
20496
20501
  */
20497
- system_settings: components["schemas"]["FullPermissionAction"][];
20502
+ zReport: components["schemas"]["ViewOnlyPermissionAction"][];
20498
20503
  /**
20499
- * Z Report
20504
+ * Xreport
20500
20505
  * @default []
20501
20506
  */
20502
- z_report: components["schemas"]["ViewOnlyPermissionAction"][];
20507
+ xReport: components["schemas"]["ViewOnlyPermissionAction"][];
20503
20508
  /**
20504
- * X Report
20509
+ * Session
20505
20510
  * @default []
20506
20511
  */
20507
- x_report: components["schemas"]["ViewOnlyPermissionAction"][];
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 bb650808-76ff-4790-9fab-f02213482564
26968
+ * @example a04a106a-3db8-4e5e-ad6d-b22315a5cfe2
26959
26969
  */
26960
26970
  id: string;
26961
26971
  /**
@@ -45899,32 +45909,107 @@ export interface components {
45899
45909
  };
45900
45910
  /** CreateUpdateModulePermissions */
45901
45911
  CreateUpdateModulePermissions: {
45902
- /** Category */
45912
+ /**
45913
+ * Category
45914
+ * @default []
45915
+ */
45903
45916
  category: components["schemas"]["FullPermissionAction"][];
45904
- /** Company */
45917
+ /**
45918
+ * Company
45919
+ * @default []
45920
+ */
45905
45921
  company: components["schemas"]["FullPermissionAction"][];
45906
- /** Currency */
45922
+ /**
45923
+ * Currency
45924
+ * @default []
45925
+ */
45907
45926
  currency: components["schemas"]["FullPermissionAction"][];
45908
- /** Customer */
45927
+ /**
45928
+ * Customer
45929
+ * @default []
45930
+ */
45909
45931
  customer: components["schemas"]["FullPermissionAction"][];
45910
- /** Invoice */
45911
- invoice: components["schemas"]["FullPermissionAction"][];
45912
- /** Returninvoice */
45932
+ /**
45933
+ * Invoice
45934
+ * @default []
45935
+ */
45936
+ invoice: components["schemas"]["InvoicePermissionAction"][];
45937
+ /**
45938
+ * Returninvoice
45939
+ * @default []
45940
+ */
45913
45941
  returnInvoice: components["schemas"]["FullPermissionAction"][];
45914
- /** Exchangeinvoice */
45942
+ /**
45943
+ * Exchangeinvoice
45944
+ * @default []
45945
+ */
45915
45946
  exchangeInvoice: components["schemas"]["FullPermissionAction"][];
45916
- /** Item */
45947
+ /**
45948
+ * Item
45949
+ * @default []
45950
+ */
45917
45951
  item: components["schemas"]["FullPermissionAction"][];
45918
- /** Tax */
45952
+ /**
45953
+ * Tax
45954
+ * @default []
45955
+ */
45919
45956
  tax: components["schemas"]["FullPermissionAction"][];
45920
- /** User */
45957
+ /**
45958
+ * User
45959
+ * @default []
45960
+ */
45921
45961
  user: components["schemas"]["FullPermissionAction"][];
45922
- /** Branch */
45962
+ /**
45963
+ * Branch
45964
+ * @default []
45965
+ */
45923
45966
  branch: components["schemas"]["FullPermissionAction"][];
45924
- /** Role */
45967
+ /**
45968
+ * Role
45969
+ * @default []
45970
+ */
45925
45971
  role: components["schemas"]["FullPermissionAction"][];
45926
- /** Paymentmethod */
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: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erp-galoper/types",
3
- "version": "1.0.525",
3
+ "version": "1.0.527",
4
4
  "main": "openapi.ts",
5
5
  "types": "openapi.ts",
6
6
  "files": ["openapi.ts"],