@erp-galoper/types 1.0.1515 → 1.0.1517
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 +24 -9
- package/package.json +1 -1
package/openapi.ts
CHANGED
|
@@ -343,6 +343,7 @@ export interface paths {
|
|
|
343
343
|
* - pinCodeDoesNotMeetTheCriteria
|
|
344
344
|
* - posRoleDoesNotExist
|
|
345
345
|
* - posRoleIsRequired
|
|
346
|
+
* - cashAccountIsRequired
|
|
346
347
|
* -201:
|
|
347
348
|
* - userCreated
|
|
348
349
|
* -403:
|
|
@@ -25315,12 +25316,26 @@ export interface components {
|
|
|
25315
25316
|
* @description pos role id, visible and required when user is cashier, get pos role using api/v1/pos/roles/
|
|
25316
25317
|
*/
|
|
25317
25318
|
posRole?: number;
|
|
25319
|
+
/**
|
|
25320
|
+
* Cashaccount
|
|
25321
|
+
* @description cash account id, visible and required when user is cashier, get account using /api/v1/chart_of_account/?branchId=1&type=cash
|
|
25322
|
+
*/
|
|
25323
|
+
cashAccount?: number;
|
|
25318
25324
|
};
|
|
25319
25325
|
/**
|
|
25320
25326
|
* UserTypeEnum
|
|
25321
25327
|
* @enum {string}
|
|
25322
25328
|
*/
|
|
25323
25329
|
UserTypeEnum: "default" | "employee";
|
|
25330
|
+
/** AccountSummaryInfo */
|
|
25331
|
+
AccountSummaryInfo: {
|
|
25332
|
+
/** Id */
|
|
25333
|
+
id: number | string;
|
|
25334
|
+
/** Name */
|
|
25335
|
+
name: string;
|
|
25336
|
+
/** Accountnumber */
|
|
25337
|
+
accountNumber: string;
|
|
25338
|
+
};
|
|
25324
25339
|
/** BranchSummaryInfo */
|
|
25325
25340
|
BranchSummaryInfo: {
|
|
25326
25341
|
/** Id */
|
|
@@ -25397,6 +25412,8 @@ export interface components {
|
|
|
25397
25412
|
isActive: boolean;
|
|
25398
25413
|
/** @description visible when user is cashier */
|
|
25399
25414
|
posRole: components["schemas"]["PosRoleSchema"] | null;
|
|
25415
|
+
/** @description visible when user is cashier */
|
|
25416
|
+
cashAccount: components["schemas"]["AccountSummaryInfo"] | null;
|
|
25400
25417
|
};
|
|
25401
25418
|
/** RetrieveUser */
|
|
25402
25419
|
RetrieveUser: {
|
|
@@ -25462,6 +25479,8 @@ export interface components {
|
|
|
25462
25479
|
isActive: boolean;
|
|
25463
25480
|
/** @description visible when user is cashier */
|
|
25464
25481
|
posRole: components["schemas"]["PosRoleSchema"] | null;
|
|
25482
|
+
/** @description visible when user is cashier */
|
|
25483
|
+
cashAccount: components["schemas"]["AccountSummaryInfo"] | null;
|
|
25465
25484
|
};
|
|
25466
25485
|
/** UpdateUser */
|
|
25467
25486
|
UpdateUser: {
|
|
@@ -25522,6 +25541,11 @@ export interface components {
|
|
|
25522
25541
|
* @description pos role id, visible and required when user is cashier
|
|
25523
25542
|
*/
|
|
25524
25543
|
posRole?: number;
|
|
25544
|
+
/**
|
|
25545
|
+
* Cashaccount
|
|
25546
|
+
* @description cash account id, visible and required when user is cashier, get account using /api/v1/chart_of_account/?branchId=1&type=cash
|
|
25547
|
+
*/
|
|
25548
|
+
cashAccount?: number | null;
|
|
25525
25549
|
};
|
|
25526
25550
|
/** GenerateUserPinCodeResponseSchema */
|
|
25527
25551
|
GenerateUserPinCodeResponseSchema: {
|
|
@@ -27955,15 +27979,6 @@ export interface components {
|
|
|
27955
27979
|
*/
|
|
27956
27980
|
assignedUsersIds?: number[];
|
|
27957
27981
|
};
|
|
27958
|
-
/** AccountSummaryInfo */
|
|
27959
|
-
AccountSummaryInfo: {
|
|
27960
|
-
/** Id */
|
|
27961
|
-
id: number | string;
|
|
27962
|
-
/** Name */
|
|
27963
|
-
name: string;
|
|
27964
|
-
/** Accountnumber */
|
|
27965
|
-
accountNumber: string;
|
|
27966
|
-
};
|
|
27967
27982
|
/** BranchSettingsDetailSchema */
|
|
27968
27983
|
BranchSettingsDetailSchema: {
|
|
27969
27984
|
/**
|