@erp-galoper/types 1.0.461 → 1.0.463
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 +40 -7
- 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
|
|
26820
|
+
* @example 6baa990e-5169-4c8d-98ee-156404223a88
|
|
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
|
-
/**
|
|
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
|
-
/**
|
|
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"];
|
|
@@ -38214,8 +38233,10 @@ export interface components {
|
|
|
38214
38233
|
/**
|
|
38215
38234
|
* Unitofmeasure
|
|
38216
38235
|
* @description "
|
|
38217
|
-
* -
|
|
38218
|
-
*
|
|
38236
|
+
* - case where only item selected:
|
|
38237
|
+
* - get data from api/v1/inventory/items/{item-id}/ field unitOfMeasures, get default value from field defaultSalesUnitOfMeasure if applicable
|
|
38238
|
+
* - case where item package selected:
|
|
38239
|
+
* - input should be disabled, get unit of measure from itemPackage
|
|
38219
38240
|
*
|
|
38220
38241
|
*/
|
|
38221
38242
|
unitOfMeasure?: number;
|
|
@@ -40394,7 +40415,12 @@ export interface components {
|
|
|
40394
40415
|
promotionsAndOffers: string[];
|
|
40395
40416
|
/**
|
|
40396
40417
|
* Unitofmeasure
|
|
40397
|
-
* @description
|
|
40418
|
+
* @description
|
|
40419
|
+
* - case where only item selected:
|
|
40420
|
+
* - get data from api/v1/inventory/items/{item-id}/ field unitOfMeasures, get default value from field defaultSalesUnitOfMeasure if applicable
|
|
40421
|
+
* - case where item package selected:
|
|
40422
|
+
* - input should be disabled, get unit of measure from itemPackage
|
|
40423
|
+
*
|
|
40398
40424
|
*/
|
|
40399
40425
|
unitOfMeasure?: number;
|
|
40400
40426
|
/**
|
|
@@ -42053,7 +42079,12 @@ export interface components {
|
|
|
42053
42079
|
promotionsAndOffers: string[];
|
|
42054
42080
|
/**
|
|
42055
42081
|
* Unitofmeasure
|
|
42056
|
-
* @description
|
|
42082
|
+
* @description
|
|
42083
|
+
* - case where only item selected:
|
|
42084
|
+
* - get data from api/v1/inventory/items/{item-id}/ field unitOfMeasures, get default value from field defaultSalesUnitOfMeasure if applicable
|
|
42085
|
+
* - case where item package selected:
|
|
42086
|
+
* - input should be disabled, get unit of measure from itemPackage
|
|
42087
|
+
*
|
|
42057
42088
|
*/
|
|
42058
42089
|
unitOfMeasure?: number;
|
|
42059
42090
|
/**
|
|
@@ -70826,6 +70857,8 @@ export interface operations {
|
|
|
70826
70857
|
pageSize?: number;
|
|
70827
70858
|
/** @description search by employee name or phone or account number */
|
|
70828
70859
|
search?: string;
|
|
70860
|
+
/** @description Type of employee to get */
|
|
70861
|
+
type?: "default" | "parent" | "children";
|
|
70829
70862
|
};
|
|
70830
70863
|
header?: never;
|
|
70831
70864
|
path?: never;
|