@erp-galoper/types 1.0.620 → 1.0.622
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 -5
- package/package.json +1 -1
package/openapi.ts
CHANGED
|
@@ -10566,6 +10566,7 @@ export interface paths {
|
|
|
10566
10566
|
* - quantityIsRequired
|
|
10567
10567
|
* - unitPackageIsRequired
|
|
10568
10568
|
* - purchaseInvoiceItemDoesNotHaveUnitPackage
|
|
10569
|
+
* - returnedPurchaseInvoicesShouldBelongsToSameProject
|
|
10569
10570
|
*
|
|
10570
10571
|
* - 403: - permissionDenied
|
|
10571
10572
|
* - noBranchAccess
|
|
@@ -10646,6 +10647,7 @@ export interface paths {
|
|
|
10646
10647
|
* - quantityIsRequired
|
|
10647
10648
|
* - unitPackageIsRequired
|
|
10648
10649
|
* - purchaseInvoiceItemDoesNotHaveUnitPackage
|
|
10650
|
+
* - returnedPurchaseInvoicesShouldBelongsToSameProject
|
|
10649
10651
|
*
|
|
10650
10652
|
* - 403: - permissionDenied
|
|
10651
10653
|
* - noBranchAccess
|
|
@@ -16572,6 +16574,7 @@ export interface paths {
|
|
|
16572
16574
|
* - "salesInvoiceItemDoesNotExist"
|
|
16573
16575
|
* - "salesReturnOrderShouldBeDraft"
|
|
16574
16576
|
* - cannotReturnDeferredInvoice
|
|
16577
|
+
* - projectDoesNotExist
|
|
16575
16578
|
* - 403: - "permissionDenied"
|
|
16576
16579
|
* - "noModuleAccess"
|
|
16577
16580
|
* - "noBranchAccess"
|
|
@@ -27573,7 +27576,7 @@ export interface components {
|
|
|
27573
27576
|
/**
|
|
27574
27577
|
* Id
|
|
27575
27578
|
* Format: uuid
|
|
27576
|
-
* @example
|
|
27579
|
+
* @example a41247db-8d51-400f-a844-55ad5a2b3601
|
|
27577
27580
|
*/
|
|
27578
27581
|
id: string;
|
|
27579
27582
|
/**
|
|
@@ -33847,8 +33850,6 @@ export interface components {
|
|
|
33847
33850
|
* @default 0
|
|
33848
33851
|
*/
|
|
33849
33852
|
companyTotal: number;
|
|
33850
|
-
/** @description visible when project module is active */
|
|
33851
|
-
project: components["schemas"]["ProjectSummaryInfo"] | null;
|
|
33852
33853
|
};
|
|
33853
33854
|
/** PurchaseReturnOrderSchema */
|
|
33854
33855
|
PurchaseReturnOrderSchema: {
|
|
@@ -33926,6 +33927,8 @@ export interface components {
|
|
|
33926
33927
|
}[];
|
|
33927
33928
|
/** @description visible when supplier is not resident */
|
|
33928
33929
|
tax: components["schemas"]["TaxSharedSchema"] | null;
|
|
33930
|
+
/** @description visible when project module is active */
|
|
33931
|
+
project: components["schemas"]["ProjectSummaryInfo"] | null;
|
|
33929
33932
|
/**
|
|
33930
33933
|
* Items
|
|
33931
33934
|
* @default []
|
|
@@ -33939,6 +33942,7 @@ export interface components {
|
|
|
33939
33942
|
* @description This field is required when updating an existing item
|
|
33940
33943
|
*/
|
|
33941
33944
|
id?: string | null;
|
|
33945
|
+
/** @description purchase invoices should be filtered by selected project */
|
|
33942
33946
|
purchaseInvoice: components["schemas"]["PurchaseInvoiceForReturnOrderCreateSchema"];
|
|
33943
33947
|
/**
|
|
33944
33948
|
* Quantity
|
|
@@ -33964,6 +33968,11 @@ export interface components {
|
|
|
33964
33968
|
* Format: date
|
|
33965
33969
|
*/
|
|
33966
33970
|
date: string;
|
|
33971
|
+
/**
|
|
33972
|
+
* Project
|
|
33973
|
+
* @description project id, visible when project module is active, get projects from /api/v1/projects/?branchId={branch-id}/
|
|
33974
|
+
*/
|
|
33975
|
+
project?: number;
|
|
33967
33976
|
/** Referencenumber */
|
|
33968
33977
|
referenceNumber?: string | null;
|
|
33969
33978
|
/**
|
|
@@ -34094,6 +34103,8 @@ export interface components {
|
|
|
34094
34103
|
/** Candelete */
|
|
34095
34104
|
canDelete: boolean;
|
|
34096
34105
|
reasonForReturn?: components["schemas"]["ReasonSummaryInfo"] | null;
|
|
34106
|
+
/** @description visible when project module is active */
|
|
34107
|
+
project: components["schemas"]["ProjectSummaryInfo"] | null;
|
|
34097
34108
|
};
|
|
34098
34109
|
/** ReturnPurchaseOrderItemTotalCalculated */
|
|
34099
34110
|
ReturnPurchaseOrderItemTotalCalculated: {
|
|
@@ -44131,8 +44142,6 @@ export interface components {
|
|
|
44131
44142
|
* @default 0
|
|
44132
44143
|
*/
|
|
44133
44144
|
companyTotal: string;
|
|
44134
|
-
/** @description visible when project module is active */
|
|
44135
|
-
project: components["schemas"]["ProjectSummaryInfo"] | null;
|
|
44136
44145
|
};
|
|
44137
44146
|
/** SalesReturnOrderSchema */
|
|
44138
44147
|
SalesReturnOrderSchema: {
|
|
@@ -44206,6 +44215,8 @@ export interface components {
|
|
|
44206
44215
|
canConvert: boolean;
|
|
44207
44216
|
/** @description visible when customer is not resident */
|
|
44208
44217
|
tax: components["schemas"]["TaxSharedSchema"] | null;
|
|
44218
|
+
/** @description visible when project module is active */
|
|
44219
|
+
project: components["schemas"]["ProjectSummaryInfo"] | null;
|
|
44209
44220
|
/**
|
|
44210
44221
|
* Items
|
|
44211
44222
|
* @default []
|
|
@@ -44247,6 +44258,11 @@ export interface components {
|
|
|
44247
44258
|
customer?: number;
|
|
44248
44259
|
/** Password */
|
|
44249
44260
|
password: string | null;
|
|
44261
|
+
/**
|
|
44262
|
+
* Project
|
|
44263
|
+
* @description project id, visible when project module is active, get projects from /api/v1/projects/?branchId={branch-id}/
|
|
44264
|
+
*/
|
|
44265
|
+
project?: number;
|
|
44250
44266
|
/**
|
|
44251
44267
|
* Date
|
|
44252
44268
|
* Format: date
|
|
@@ -44391,6 +44407,8 @@ export interface components {
|
|
|
44391
44407
|
canConvert: boolean;
|
|
44392
44408
|
/** @description visible when customer is not resident */
|
|
44393
44409
|
tax: components["schemas"]["TaxSharedSchema"] | null;
|
|
44410
|
+
/** @description visible when project module is active */
|
|
44411
|
+
project: components["schemas"]["ProjectSummaryInfo"] | null;
|
|
44394
44412
|
};
|
|
44395
44413
|
/** SalesReturnOrderItemTotalCalculated */
|
|
44396
44414
|
SalesReturnOrderItemTotalCalculated: {
|
|
@@ -44438,6 +44456,7 @@ export interface components {
|
|
|
44438
44456
|
};
|
|
44439
44457
|
/** CalculateSalesReturnOrderItemsSchema */
|
|
44440
44458
|
CalculateSalesReturnOrderItemsSchema: {
|
|
44459
|
+
/** @description sales invoices should be filtered by selected project */
|
|
44441
44460
|
salesInvoice: components["schemas"]["SalesInvoiceForReturnOrderCreateSchema"];
|
|
44442
44461
|
/**
|
|
44443
44462
|
* Quantity
|