@erp-galoper/types 1.0.2011 → 1.0.2012

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 +6 -3
  2. package/package.json +1 -1
package/openapi.ts CHANGED
@@ -23471,6 +23471,7 @@ export interface paths {
23471
23471
  * - employeeIsInactive
23472
23472
  * - employeeBranchMismatch
23473
23473
  * - employeeShouldBeChild
23474
+ * - employeeShouldBePayable
23474
23475
  * - customerShouldBeChild
23475
23476
  * - customerIsNotActive
23476
23477
  * - defaultGeneralAccountsDoesNotExist
@@ -23559,6 +23560,7 @@ export interface paths {
23559
23560
  * - employeeIsInactive
23560
23561
  * - employeeBranchMismatch
23561
23562
  * - employeeShouldBeChild
23563
+ * - employeeShouldBePayable
23562
23564
  * - customerShouldBeChild
23563
23565
  * - customerIsNotActive
23564
23566
  * - defaultGeneralAccountsDoesNotExist
@@ -49662,7 +49664,7 @@ export interface components {
49662
49664
  * EmployeeDocumentTypeEnum
49663
49665
  * @enum {string}
49664
49666
  */
49665
- EmployeeDocumentTypeEnum: "default" | "salesPerson" | "expensePaymentVoucher";
49667
+ EmployeeDocumentTypeEnum: "default" | "salesPerson" | "expenseVoucher" | "expensePaymentVoucher";
49666
49668
  /**
49667
49669
  * EmployeeTypeEnum
49668
49670
  * @enum {string}
@@ -66099,7 +66101,8 @@ export interface components {
66099
66101
  * Format: uuid
66100
66102
  * @description - Employee id
66101
66103
  * - visible and required when paidBy equals employee
66102
- * - get employees using route /api/v1/employees/?branchId={branch-id}&type=children&document_type=default and filter by isActive equals true
66104
+ * - only employees of type payable are allowed
66105
+ * - get employees using route /api/v1/employees/?type=children&document_type=expenseVoucher and filter by isActive equals true
66103
66106
  */
66104
66107
  employee?: string;
66105
66108
  /**
@@ -94637,7 +94640,7 @@ export interface operations {
94637
94640
  /** @description Type of employee to get */
94638
94641
  type?: "default" | "parent" | "children";
94639
94642
  /** @description Type of document for listing employees */
94640
- document_type?: "default" | "salesPerson" | "expensePaymentVoucher";
94643
+ document_type?: "default" | "salesPerson" | "expenseVoucher" | "expensePaymentVoucher";
94641
94644
  /** @description supplier id, required when document type is expensePaymentVoucher */
94642
94645
  supplier?: string;
94643
94646
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erp-galoper/types",
3
- "version": "1.0.2011",
3
+ "version": "1.0.2012",
4
4
  "main": "openapi.ts",
5
5
  "types": "openapi.ts",
6
6
  "files": ["openapi.ts"],