@erp-galoper/types 1.0.460 → 1.0.462

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 +24 -3
  2. package/package.json +1 -1
package/openapi.ts CHANGED
@@ -26817,7 +26817,7 @@ export interface components {
26817
26817
  /**
26818
26818
  * Id
26819
26819
  * Format: uuid
26820
- * @example 6f87f1fb-36c2-49a1-a3cf-92929092ba30
26820
+ * @example 6ce16c77-6fe0-41f7-a6d5-eb632918d247
26821
26821
  */
26822
26822
  id: string;
26823
26823
  /**
@@ -34696,7 +34696,14 @@ export interface components {
34696
34696
  /** Name */
34697
34697
  name: string;
34698
34698
  relatedPartyType: components["schemas"]["RelatedPartyType"];
34699
- /** Relatedpartyid */
34699
+ /**
34700
+ * Relatedpartyid
34701
+ * @description
34702
+ * - related_party_type = Employee: use route /api/v1/employees/?branchId={branch-id}&type=children and filter by isActive equal true
34703
+ * - related_party_type = Customer: use route /api/v1/customers/?type=children and filter by isActive equal true
34704
+ * - related_party_type = Supplier: use route /api/v1/suppliers/?type=children and filter by isActive equal true
34705
+ *
34706
+ */
34700
34707
  relatedPartyId: number | string;
34701
34708
  /**
34702
34709
  * Isactive
@@ -34723,7 +34730,14 @@ export interface components {
34723
34730
  /** Name */
34724
34731
  name: string;
34725
34732
  relatedPartyType: components["schemas"]["RelatedPartyType"];
34726
- /** Relatedpartyid */
34733
+ /**
34734
+ * Relatedpartyid
34735
+ * @description
34736
+ * - related_party_type = Employee: use route /api/v1/employees/?branchId={branch-id}&type=children and filter by isActive equal true
34737
+ * - related_party_type = Customer: use route /api/v1/customers/?type=children and filter by isActive equal true
34738
+ * - related_party_type = Supplier: use route /api/v1/suppliers/?type=children and filter by isActive equal true
34739
+ *
34740
+ */
34727
34741
  relatedPartyId: number | string;
34728
34742
  /**
34729
34743
  * Isactive
@@ -35560,6 +35574,11 @@ export interface components {
35560
35574
  /** Banks */
35561
35575
  banks?: components["schemas"]["CreateBankAccountsSchema"][];
35562
35576
  };
35577
+ /**
35578
+ * EmployeeTypeEnum
35579
+ * @enum {string}
35580
+ */
35581
+ EmployeeTypeEnum: "default" | "parent" | "children";
35563
35582
  /** EmployeeListSchema */
35564
35583
  EmployeeListSchema: {
35565
35584
  info: components["schemas"]["PageInfoSchema"];
@@ -70826,6 +70845,8 @@ export interface operations {
70826
70845
  pageSize?: number;
70827
70846
  /** @description search by employee name or phone or account number */
70828
70847
  search?: string;
70848
+ /** @description Type of employee to get */
70849
+ type?: "default" | "parent" | "children";
70829
70850
  };
70830
70851
  header?: never;
70831
70852
  path?: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erp-galoper/types",
3
- "version": "1.0.460",
3
+ "version": "1.0.462",
4
4
  "main": "openapi.ts",
5
5
  "types": "openapi.ts",
6
6
  "files": ["openapi.ts"],