@erp-galoper/main-package 1.0.213 → 1.0.215

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 +52 -21
  2. package/package.json +1 -1
package/openapi.ts CHANGED
@@ -970,6 +970,8 @@ export interface paths {
970
970
  * - codeConflict
971
971
  * - cityIdDoesNotExist
972
972
  * - cityMismatchWithCountry
973
+ * - branchDateShouldBeBetweenDateFoundedAndDateOfToday
974
+ * - userDoesNotExist
973
975
  * - 403:
974
976
  * - permissionDenied
975
977
  * - 404:
@@ -1023,6 +1025,8 @@ export interface paths {
1023
1025
  * - cantChangeBranchCodeWhenTransactionsExist
1024
1026
  * - branchDateShouldBeBetweenDateFoundedAndDateOfToday
1025
1027
  * - cityMismatchWithCountry
1028
+ * - cantRemoveOwner
1029
+ * - userDoesNotExist
1026
1030
  * - 403:
1027
1031
  * - permissionDenied
1028
1032
  * - 404:
@@ -1257,6 +1261,7 @@ export interface paths {
1257
1261
  * - success
1258
1262
  * - 400:
1259
1263
  * - parentShouldBeGeneral
1264
+ * - currencyRequired
1260
1265
  * - 404:
1261
1266
  * - parentDoesNotExist
1262
1267
  * - accountDoesNotExist
@@ -1267,7 +1272,7 @@ export interface paths {
1267
1272
  * - currencyDoesNotExist
1268
1273
  * - 500:
1269
1274
  * - internalServerError
1270
- * # currency is required if account level is detail
1275
+ * # currency is required if account level is detail and multi currency on
1271
1276
  */
1272
1277
  get: operations["accounting_chartofaccount_views_available_account_numbers"];
1273
1278
  put?: never;
@@ -1320,6 +1325,7 @@ export interface paths {
1320
1325
  * - accountNumberShouldBeBetween0and9
1321
1326
  * - accountLevelShouldBeGeneral
1322
1327
  * - CurrencyShouldMatchCompanyCurrency
1328
+ * - currencyRequired
1323
1329
  * - 500:
1324
1330
  * - internalServerError
1325
1331
  */
@@ -1397,6 +1403,7 @@ export interface paths {
1397
1403
  * - cantChangeAccountNumberForAnAccountThatIsParentOfCustomerThatHasChildren
1398
1404
  * - cantChangeAccountNumberForAnAccountThatIsParentOfSupplierThatHasChildren
1399
1405
  * - cantChangeAccountNumberForAnAccountHasTransactions
1406
+ * - parentDoesNotExist
1400
1407
  * - 403:
1401
1408
  * - permissionDenied
1402
1409
  * - 404:
@@ -9862,6 +9869,8 @@ export interface components {
9862
9869
  cityId: components["schemas"]["RetrieveCity"];
9863
9870
  /** Address */
9864
9871
  address: string;
9872
+ /** Users */
9873
+ users: components["schemas"]["userCommon"][];
9865
9874
  /** Islocal */
9866
9875
  isLocal: boolean;
9867
9876
  };
@@ -9882,6 +9891,21 @@ export interface components {
9882
9891
  id: number;
9883
9892
  country: components["schemas"]["CountryCodes"];
9884
9893
  };
9894
+ /** userCommon */
9895
+ userCommon: {
9896
+ /** Id */
9897
+ id: number;
9898
+ /** Username */
9899
+ username: string;
9900
+ /** Email */
9901
+ email: string;
9902
+ /** Firstname */
9903
+ firstName: string;
9904
+ /** Lastname */
9905
+ lastName: string;
9906
+ /** Role */
9907
+ role: components["schemas"]["RolesSchema"][];
9908
+ };
9885
9909
  /** MessageWithCode */
9886
9910
  MessageWithCode: {
9887
9911
  /** Id */
@@ -9948,6 +9972,8 @@ export interface components {
9948
9972
  * @default []
9949
9973
  */
9950
9974
  departments: components["schemas"]["DepartmentCommonSchema"][];
9975
+ /** Isowner */
9976
+ isOwner: boolean;
9951
9977
  };
9952
9978
  /** GetPinCode */
9953
9979
  GetPinCode: {
@@ -10061,6 +10087,8 @@ export interface components {
10061
10087
  * @default []
10062
10088
  */
10063
10089
  departments: components["schemas"]["DepartmentCommonSchema"][];
10090
+ /** Isowner */
10091
+ isOwner: boolean;
10064
10092
  };
10065
10093
  /** WarehouseSummaryInfo */
10066
10094
  WarehouseSummaryInfo: {
@@ -10127,6 +10155,8 @@ export interface components {
10127
10155
  * @default []
10128
10156
  */
10129
10157
  departments: components["schemas"]["DepartmentCommonSchema"][];
10158
+ /** Isowner */
10159
+ isOwner: boolean;
10130
10160
  };
10131
10161
  /** UpdateUser */
10132
10162
  UpdateUser: {
@@ -11535,6 +11565,11 @@ export interface components {
11535
11565
  cityId: number;
11536
11566
  /** Address */
11537
11567
  address: string;
11568
+ /**
11569
+ * Users
11570
+ * @default []
11571
+ */
11572
+ users: number[];
11538
11573
  };
11539
11574
  /** UpdateBranch */
11540
11575
  UpdateBranch: {
@@ -11555,6 +11590,11 @@ export interface components {
11555
11590
  cityId?: number;
11556
11591
  /** Address */
11557
11592
  address?: string;
11593
+ /**
11594
+ * Users
11595
+ * @default []
11596
+ */
11597
+ users: number[];
11558
11598
  };
11559
11599
  /** WarehouseSchema */
11560
11600
  WarehouseSchema: {
@@ -11630,8 +11670,11 @@ export interface components {
11630
11670
  name: string;
11631
11671
  /** Secondname */
11632
11672
  secondName: string | null;
11633
- /** Currencyid */
11634
- currencyId: number;
11673
+ /**
11674
+ * Currencyid
11675
+ * @description required when multi currency is on
11676
+ */
11677
+ currencyId?: number;
11635
11678
  reportAccountType: components["schemas"]["AccountTypes"];
11636
11679
  accountLevel: components["schemas"]["AccountLevel"];
11637
11680
  /** Parentid */
@@ -11709,8 +11752,11 @@ export interface components {
11709
11752
  additionalNumber?: number | null;
11710
11753
  /** Accountnumber */
11711
11754
  accountNumber?: string | null;
11712
- /** Currencyid */
11713
- currencyId: number;
11755
+ /**
11756
+ * Currencyid
11757
+ * @description required when multi currency is on
11758
+ */
11759
+ currencyId?: number;
11714
11760
  /** Status */
11715
11761
  status?: boolean | null;
11716
11762
  /** Branchid */
@@ -12345,21 +12391,6 @@ export interface components {
12345
12391
  */
12346
12392
  approvers: components["schemas"]["DocumentTrackPerLevelUserResponse"][];
12347
12393
  };
12348
- /** userCommon */
12349
- userCommon: {
12350
- /** Id */
12351
- id: number;
12352
- /** Username */
12353
- username: string;
12354
- /** Email */
12355
- email: string;
12356
- /** Firstname */
12357
- firstName: string;
12358
- /** Lastname */
12359
- lastName: string;
12360
- /** Role */
12361
- role: components["schemas"]["RolesSchema"][];
12362
- };
12363
12394
  /** DocumentsToApprove */
12364
12395
  DocumentsToApprove: {
12365
12396
  /**
@@ -15897,7 +15928,7 @@ export interface components {
15897
15928
  /**
15898
15929
  * Id
15899
15930
  * Format: uuid
15900
- * @example 7626cc12-a1a1-4799-8ace-af6127f0368b
15931
+ * @example 192b18f9-1c1d-46bc-8edb-0dd9c9c169cc
15901
15932
  */
15902
15933
  id: string;
15903
15934
  /**
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@erp-galoper/main-package",
3
- "version": "1.0.213",
3
+ "version": "1.0.215",
4
4
  "main": "openapi.ts"
5
5
  }