@erp-galoper/types 1.0.1189 → 1.0.1191

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 +14 -2
  2. package/package.json +1 -1
package/openapi.ts CHANGED
@@ -64219,7 +64219,13 @@ export interface operations {
64219
64219
  query: {
64220
64220
  /** @description Account Type , this field for filtering the account type */
64221
64221
  accountType: "Chart Of Accounts" | "Customer" | "Supplier" | "Employee" | "Banks";
64222
- /** @description Account Id */
64222
+ /**
64223
+ * @description - Account Id
64224
+ * - if accountType is supplier get suppliers using route /api/v1/suppliers/?type=children
64225
+ * - if accountType is customer get customers using route /api/v1/customers/?type=children
64226
+ * - if accountType is banks get banks using route /api/v1/banks/?branchId={branch-id}&type=default
64227
+ * - if accountType is employee get employees using route /api/v1/employees/?branchId={branch-id}&type=children&document_type=default
64228
+ */
64223
64229
  accountId: number | string;
64224
64230
  /** @description From date */
64225
64231
  fromDate: string;
@@ -64443,7 +64449,13 @@ export interface operations {
64443
64449
  query: {
64444
64450
  /** @description Account Type , this field for filtering the account type */
64445
64451
  accountType: "Chart Of Accounts" | "Customer" | "Supplier" | "Employee" | "Banks";
64446
- /** @description Account Id */
64452
+ /**
64453
+ * @description - Account Id
64454
+ * - if accountType is supplier get suppliers using route /api/v1/suppliers/?type=children
64455
+ * - if accountType is customer get customers using route /api/v1/customers/?type=children
64456
+ * - if accountType is banks get banks using route /api/v1/banks/?branchId={branch-id}&type=default
64457
+ * - if accountType is employee get employees using route /api/v1/employees/?branchId={branch-id}&type=children&document_type=default
64458
+ */
64447
64459
  accountId: number | string;
64448
64460
  /** @description From date */
64449
64461
  fromDate: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erp-galoper/types",
3
- "version": "1.0.1189",
3
+ "version": "1.0.1191",
4
4
  "main": "openapi.ts",
5
5
  "types": "openapi.ts",
6
6
  "files": ["openapi.ts"],