@erp-galoper/types 1.0.828 → 1.0.830
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 +90 -19
- package/package.json +1 -1
package/openapi.ts
CHANGED
|
@@ -17564,15 +17564,23 @@ export interface paths {
|
|
|
17564
17564
|
* -500:
|
|
17565
17565
|
* - internalServerError
|
|
17566
17566
|
* - 400:
|
|
17567
|
-
* -
|
|
17568
|
-
* - defaultGeneralDifferenceOfExchangeNegativeAccountDoesNotExist
|
|
17567
|
+
* - defaultSubsidiaryAccountAlreadyExist
|
|
17569
17568
|
* - differenceOfExchangeNegativeAccountDoesNotExist
|
|
17570
|
-
* - differenceOfExchangeNegativeAccountIsNotChildOfDefaultGeneralDifferenceOfExchangeNegativeAccount
|
|
17571
|
-
* - defaultGeneralDifferenceOfExchangePositiveAccountDoesNotExist
|
|
17572
17569
|
* - differenceOfExchangePositiveAccountDoesNotExist
|
|
17573
|
-
* -
|
|
17574
|
-
* - salesCommissionExpenseDoesNotExist
|
|
17570
|
+
* - salesCommissionExpenseDoesNotExist
|
|
17575
17571
|
* - salesCommissionAllowanceExpenseDoesNotExist
|
|
17572
|
+
* - positiveEarningAccountDoesNotExist
|
|
17573
|
+
* - negativeEarningAccountDoesNotExist
|
|
17574
|
+
* - positiveCumulativeEarningAccountDoesNotExist
|
|
17575
|
+
* - negativeCumulativeEarningAccountDoesNotExist
|
|
17576
|
+
* - differenceOfExchangeNegativeAccountShouldBeInCompanyCurrency
|
|
17577
|
+
* - differenceOfExchangePositiveAccountShouldBeInCompanyCurrency
|
|
17578
|
+
* - salesCommissionExpenseShouldBeInCompanyCurrency
|
|
17579
|
+
* - salesCommissionAllowanceExpenseShouldBeInCompanyCurrency
|
|
17580
|
+
* - positiveEarningAccountShouldBeInCompanyCurrency
|
|
17581
|
+
* - negativeEarningAccountShouldBeInCompanyCurrency
|
|
17582
|
+
* - positiveCumulativeEarningAccountShouldBeInCompanyCurrency
|
|
17583
|
+
* - negativeCumulativeEarningAccountShouldBeInCompanyCurrency
|
|
17576
17584
|
*/
|
|
17577
17585
|
put: operations["erp_settings_accountingsetting_views_edit_default_subsidiary_account"];
|
|
17578
17586
|
/**
|
|
@@ -17586,16 +17594,23 @@ export interface paths {
|
|
|
17586
17594
|
* -500:
|
|
17587
17595
|
* - internalServerError
|
|
17588
17596
|
* - 400:
|
|
17589
|
-
* - defaultGeneralAccountsDoesNotExist
|
|
17590
17597
|
* - defaultSubsidiaryAccountAlreadyExist
|
|
17591
|
-
* - defaultGeneralDifferenceOfExchangeNegativeAccountDoesNotExist
|
|
17592
17598
|
* - differenceOfExchangeNegativeAccountDoesNotExist
|
|
17593
|
-
* - differenceOfExchangeNegativeAccountIsNotChildOfDefaultGeneralDifferenceOfExchangeNegativeAccount
|
|
17594
|
-
* - defaultGeneralDifferenceOfExchangePositiveAccountDoesNotExist
|
|
17595
17599
|
* - differenceOfExchangePositiveAccountDoesNotExist
|
|
17596
|
-
* -
|
|
17597
|
-
* - salesCommissionExpenseDoesNotExist
|
|
17600
|
+
* - salesCommissionExpenseDoesNotExist
|
|
17598
17601
|
* - salesCommissionAllowanceExpenseDoesNotExist
|
|
17602
|
+
* - positiveEarningAccountDoesNotExist
|
|
17603
|
+
* - negativeEarningAccountDoesNotExist
|
|
17604
|
+
* - positiveCumulativeEarningAccountDoesNotExist
|
|
17605
|
+
* - negativeCumulativeEarningAccountDoesNotExist
|
|
17606
|
+
* - differenceOfExchangeNegativeAccountShouldBeInCompanyCurrency
|
|
17607
|
+
* - differenceOfExchangePositiveAccountShouldBeInCompanyCurrency
|
|
17608
|
+
* - salesCommissionExpenseShouldBeInCompanyCurrency
|
|
17609
|
+
* - salesCommissionAllowanceExpenseShouldBeInCompanyCurrency
|
|
17610
|
+
* - positiveEarningAccountShouldBeInCompanyCurrency
|
|
17611
|
+
* - negativeEarningAccountShouldBeInCompanyCurrency
|
|
17612
|
+
* - positiveCumulativeEarningAccountShouldBeInCompanyCurrency
|
|
17613
|
+
* - negativeCumulativeEarningAccountShouldBeInCompanyCurrency
|
|
17599
17614
|
*/
|
|
17600
17615
|
post: operations["erp_settings_accountingsetting_views_create_default_subsidiary_account"];
|
|
17601
17616
|
delete?: never;
|
|
@@ -22584,7 +22599,7 @@ export interface components {
|
|
|
22584
22599
|
* GeneralAccountsOptions
|
|
22585
22600
|
* @enum {string}
|
|
22586
22601
|
*/
|
|
22587
|
-
GeneralAccountsOptions: "general" | "detail" | "chartOfAccount" | "banks" | "taxSales" | "taxPos" | "taxPurchase" | "taxAssets" | "taxExpenses" | "creditCard" | "cash" | "cheque" | "deferredSales" | "
|
|
22602
|
+
GeneralAccountsOptions: "general" | "detail" | "chartOfAccount" | "banks" | "taxSales" | "taxPos" | "taxPurchase" | "taxAssets" | "taxExpenses" | "creditCard" | "cash" | "cheque" | "deferredSales" | "defaultSubsidiaryAccounts";
|
|
22588
22603
|
/** ExportSchema */
|
|
22589
22604
|
ExportSchema: {
|
|
22590
22605
|
/** Pdf */
|
|
@@ -34307,6 +34322,11 @@ export interface components {
|
|
|
34307
34322
|
* @default 0
|
|
34308
34323
|
*/
|
|
34309
34324
|
companyTotal: number;
|
|
34325
|
+
/**
|
|
34326
|
+
* Returnedquantity
|
|
34327
|
+
* @description Quantity already returned/invoiced (quantity for regular items, unit package for packaged items)
|
|
34328
|
+
*/
|
|
34329
|
+
returnedQuantity?: number | null;
|
|
34310
34330
|
};
|
|
34311
34331
|
/** PurchaseReturnOrderSchema */
|
|
34312
34332
|
PurchaseReturnOrderSchema: {
|
|
@@ -44745,6 +44765,11 @@ export interface components {
|
|
|
44745
44765
|
* @default 0
|
|
44746
44766
|
*/
|
|
44747
44767
|
companyTotal: string;
|
|
44768
|
+
/**
|
|
44769
|
+
* Returnedquantity
|
|
44770
|
+
* @description Quantity already returned/invoiced (quantity for regular items, unit package for packaged items)
|
|
44771
|
+
*/
|
|
44772
|
+
returnedQuantity?: number | null;
|
|
44748
44773
|
};
|
|
44749
44774
|
/** SalesReturnOrderSchema */
|
|
44750
44775
|
SalesReturnOrderSchema: {
|
|
@@ -44843,6 +44868,11 @@ export interface components {
|
|
|
44843
44868
|
* @description
|
|
44844
44869
|
* - Disabled when item package is selected
|
|
44845
44870
|
* - The quantity of the items, incase of package, it should be unitPackage * quantity of the package
|
|
44871
|
+
* - When a return order is selected, the maximum returnable quantity is calculated as:
|
|
44872
|
+
* Original Return Order Quantity - Already Returned Quantity
|
|
44873
|
+
* - Use the returnedQuantity field from the return order item to calculate the maximum allowed value
|
|
44874
|
+
* - For items: Maximum = Quantity - Returned Quantity
|
|
44875
|
+
* - in case of package, the returned quantity is the unitPackage
|
|
44846
44876
|
*
|
|
44847
44877
|
*/
|
|
44848
44878
|
quantity?: number;
|
|
@@ -45291,6 +45321,11 @@ export interface components {
|
|
|
45291
45321
|
* @description
|
|
45292
45322
|
* - Disabled when item package is selected
|
|
45293
45323
|
* - The quantity of the items, incase of package, it should be unitPackage * quantity of the package
|
|
45324
|
+
* - When a return order is selected, the maximum returnable quantity is calculated as:
|
|
45325
|
+
* Original Return Order Quantity - Already Returned Quantity
|
|
45326
|
+
* - Use the returnedQuantity field from the return order item to calculate the maximum allowed value
|
|
45327
|
+
* - For items: Maximum = Quantity - Returned Quantity
|
|
45328
|
+
* - in case of package, the returned quantity is the unitPackage
|
|
45294
45329
|
*
|
|
45295
45330
|
*/
|
|
45296
45331
|
quantity?: number;
|
|
@@ -46562,6 +46597,10 @@ export interface components {
|
|
|
46562
46597
|
salesCommissionExpense: components["schemas"]["AccountSummaryInfo"] | null;
|
|
46563
46598
|
/** @description visible when commission module is on */
|
|
46564
46599
|
salesCommissionAllowanceExpense: components["schemas"]["AccountSummaryInfo"] | null;
|
|
46600
|
+
positiveEarningAccount: components["schemas"]["AccountSummaryInfo"] | null;
|
|
46601
|
+
negativeEarningAccount: components["schemas"]["AccountSummaryInfo"] | null;
|
|
46602
|
+
positiveCumulativeEarningAccount: components["schemas"]["AccountSummaryInfo"] | null;
|
|
46603
|
+
negativeCumulativeEarningAccount: components["schemas"]["AccountSummaryInfo"] | null;
|
|
46565
46604
|
};
|
|
46566
46605
|
/** DefaultSubsidiaryAccountResponse */
|
|
46567
46606
|
DefaultSubsidiaryAccountResponse: {
|
|
@@ -46576,14 +46615,14 @@ export interface components {
|
|
|
46576
46615
|
/**
|
|
46577
46616
|
* Differenceofexchangenegative
|
|
46578
46617
|
* @description Difference of exchange negative id,
|
|
46579
|
-
* - get accounts from route /api/v1/chart_of_account/?branchId={branch-id}&type=
|
|
46618
|
+
* - get accounts from route /api/v1/chart_of_account/?branchId={branch-id}&type=defaultSubsidiaryAccounts&isActive=True
|
|
46580
46619
|
*
|
|
46581
46620
|
*/
|
|
46582
46621
|
differenceOfExchangeNegative: number;
|
|
46583
46622
|
/**
|
|
46584
46623
|
* Differenceofexchangepositive
|
|
46585
46624
|
* @description Difference of exchange positive id
|
|
46586
|
-
* - get accounts from route /api/v1/chart_of_account/?branchId={branch-id}&type=
|
|
46625
|
+
* - get accounts from route /api/v1/chart_of_account/?branchId={branch-id}&type=defaultSubsidiaryAccounts&isActive=True
|
|
46587
46626
|
*
|
|
46588
46627
|
*/
|
|
46589
46628
|
differenceOfExchangePositive: number;
|
|
@@ -46591,7 +46630,7 @@ export interface components {
|
|
|
46591
46630
|
* Salescommissionexpense
|
|
46592
46631
|
* @description sales commission expense id
|
|
46593
46632
|
* - visible when commission module is on
|
|
46594
|
-
* - get accounts from route /api/v1/chart_of_account/?branchId={branch-id}&type=
|
|
46633
|
+
* - get accounts from route /api/v1/chart_of_account/?branchId={branch-id}&type=defaultSubsidiaryAccounts&isActive=True
|
|
46595
46634
|
*
|
|
46596
46635
|
*/
|
|
46597
46636
|
salesCommissionExpense?: number;
|
|
@@ -46599,10 +46638,42 @@ export interface components {
|
|
|
46599
46638
|
* Salescommissionallowanceexpense
|
|
46600
46639
|
* @description sales commission allowance expense id
|
|
46601
46640
|
* - visible when commission module is on
|
|
46602
|
-
* - get accounts from route /api/v1/chart_of_account/?branchId={branch-id}&type=
|
|
46641
|
+
* - get accounts from route /api/v1/chart_of_account/?branchId={branch-id}&type=defaultSubsidiaryAccounts&isActive=True
|
|
46603
46642
|
*
|
|
46604
46643
|
*/
|
|
46605
46644
|
salesCommissionAllowanceExpense?: number;
|
|
46645
|
+
/**
|
|
46646
|
+
* Positiveearningaccount
|
|
46647
|
+
* @description
|
|
46648
|
+
* - positive earning account id
|
|
46649
|
+
* - get accounts from route /api/v1/chart_of_account/?branchId={branch-id}&type=defaultSubsidiaryAccounts&isActive=True
|
|
46650
|
+
*
|
|
46651
|
+
*/
|
|
46652
|
+
positiveEarningAccount?: number;
|
|
46653
|
+
/**
|
|
46654
|
+
* Negativeearningaccount
|
|
46655
|
+
* @description
|
|
46656
|
+
* - negative earning account id
|
|
46657
|
+
* - get accounts from route /api/v1/chart_of_account/?branchId={branch-id}&type=defaultSubsidiaryAccounts&isActive=True
|
|
46658
|
+
*
|
|
46659
|
+
*/
|
|
46660
|
+
negativeEarningAccount?: number;
|
|
46661
|
+
/**
|
|
46662
|
+
* Positivecumulativeearningaccount
|
|
46663
|
+
* @description
|
|
46664
|
+
* - positive cumulative earning account id
|
|
46665
|
+
* - get accounts from route /api/v1/chart_of_account/?branchId={branch-id}&type=defaultSubsidiaryAccounts&isActive=True
|
|
46666
|
+
*
|
|
46667
|
+
*/
|
|
46668
|
+
positiveCumulativeEarningAccount?: number;
|
|
46669
|
+
/**
|
|
46670
|
+
* Negativecumulativeearningaccount
|
|
46671
|
+
* @description
|
|
46672
|
+
* - negative cumulative earning account id
|
|
46673
|
+
* - get accounts from route /api/v1/chart_of_account/?branchId={branch-id}&type=defaultSubsidiaryAccounts&isActive=True
|
|
46674
|
+
*
|
|
46675
|
+
*/
|
|
46676
|
+
negativeCumulativeEarningAccount?: number;
|
|
46606
46677
|
};
|
|
46607
46678
|
/**
|
|
46608
46679
|
* SalesCreditNoteAppliesOn
|
|
@@ -50501,7 +50572,7 @@ export interface operations {
|
|
|
50501
50572
|
parameters: {
|
|
50502
50573
|
query: {
|
|
50503
50574
|
branchId: number;
|
|
50504
|
-
type: "general" | "detail" | "chartOfAccount" | "banks" | "taxSales" | "taxPos" | "taxPurchase" | "taxAssets" | "taxExpenses" | "creditCard" | "cash" | "cheque" | "deferredSales" | "
|
|
50575
|
+
type: "general" | "detail" | "chartOfAccount" | "banks" | "taxSales" | "taxPos" | "taxPurchase" | "taxAssets" | "taxExpenses" | "creditCard" | "cash" | "cheque" | "deferredSales" | "defaultSubsidiaryAccounts";
|
|
50505
50576
|
accountId?: number;
|
|
50506
50577
|
/** @description search by account number, name or type */
|
|
50507
50578
|
search?: string;
|
|
@@ -50658,7 +50729,7 @@ export interface operations {
|
|
|
50658
50729
|
parameters: {
|
|
50659
50730
|
query: {
|
|
50660
50731
|
branchId: number;
|
|
50661
|
-
type: "general" | "detail" | "chartOfAccount" | "banks" | "taxSales" | "taxPos" | "taxPurchase" | "taxAssets" | "taxExpenses" | "creditCard" | "cash" | "cheque" | "deferredSales" | "
|
|
50732
|
+
type: "general" | "detail" | "chartOfAccount" | "banks" | "taxSales" | "taxPos" | "taxPurchase" | "taxAssets" | "taxExpenses" | "creditCard" | "cash" | "cheque" | "deferredSales" | "defaultSubsidiaryAccounts";
|
|
50662
50733
|
accountId?: number;
|
|
50663
50734
|
/** @description required when type [cheque, cash, credit card] */
|
|
50664
50735
|
supplierId?: number;
|