@erp-galoper/types 1.0.829 → 1.0.831

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 +70 -19
  2. 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
- * - defaultGeneralAccountsDoesNotExist
17568
- * - defaultGeneralDifferenceOfExchangeNegativeAccountDoesNotExist
17567
+ * - defaultSubsidiaryAccountAlreadyExist
17569
17568
  * - differenceOfExchangeNegativeAccountDoesNotExist
17570
- * - differenceOfExchangeNegativeAccountIsNotChildOfDefaultGeneralDifferenceOfExchangeNegativeAccount
17571
- * - defaultGeneralDifferenceOfExchangePositiveAccountDoesNotExist
17572
17569
  * - differenceOfExchangePositiveAccountDoesNotExist
17573
- * - differenceOfExchangePositiveAccountIsNotChildOfDefaultGeneralDifferenceOfExchangePositiveAccount
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
- * - differenceOfExchangePositiveAccountIsNotChildOfDefaultGeneralDifferenceOfExchangePositiveAccount
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" | "differenceOfExchangeNegative" | "differenceOfExchangePositive" | "salesCommissionExpense" | "salesCommissionAllowanceExpense";
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 */
@@ -46582,6 +46597,10 @@ export interface components {
46582
46597
  salesCommissionExpense: components["schemas"]["AccountSummaryInfo"] | null;
46583
46598
  /** @description visible when commission module is on */
46584
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;
46585
46604
  };
46586
46605
  /** DefaultSubsidiaryAccountResponse */
46587
46606
  DefaultSubsidiaryAccountResponse: {
@@ -46596,14 +46615,14 @@ export interface components {
46596
46615
  /**
46597
46616
  * Differenceofexchangenegative
46598
46617
  * @description Difference of exchange negative id,
46599
- * - get accounts from route /api/v1/chart_of_account/?branchId={branch-id}&type=differenceOfExchangeNegative
46618
+ * - get accounts from route /api/v1/chart_of_account/?branchId={branch-id}&type=defaultSubsidiaryAccounts&isActive=True
46600
46619
  *
46601
46620
  */
46602
46621
  differenceOfExchangeNegative: number;
46603
46622
  /**
46604
46623
  * Differenceofexchangepositive
46605
46624
  * @description Difference of exchange positive id
46606
- * - get accounts from route /api/v1/chart_of_account/?branchId={branch-id}&type=differenceOfExchangePositive
46625
+ * - get accounts from route /api/v1/chart_of_account/?branchId={branch-id}&type=defaultSubsidiaryAccounts&isActive=True
46607
46626
  *
46608
46627
  */
46609
46628
  differenceOfExchangePositive: number;
@@ -46611,7 +46630,7 @@ export interface components {
46611
46630
  * Salescommissionexpense
46612
46631
  * @description sales commission expense id
46613
46632
  * - visible when commission module is on
46614
- * - get accounts from route /api/v1/chart_of_account/?branchId={branch-id}&type=salesCommissionExpense
46633
+ * - get accounts from route /api/v1/chart_of_account/?branchId={branch-id}&type=defaultSubsidiaryAccounts&isActive=True
46615
46634
  *
46616
46635
  */
46617
46636
  salesCommissionExpense?: number;
@@ -46619,10 +46638,42 @@ export interface components {
46619
46638
  * Salescommissionallowanceexpense
46620
46639
  * @description sales commission allowance expense id
46621
46640
  * - visible when commission module is on
46622
- * - get accounts from route /api/v1/chart_of_account/?branchId={branch-id}&type=salesCommissionAllowanceExpense
46641
+ * - get accounts from route /api/v1/chart_of_account/?branchId={branch-id}&type=defaultSubsidiaryAccounts&isActive=True
46623
46642
  *
46624
46643
  */
46625
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;
46626
46677
  };
46627
46678
  /**
46628
46679
  * SalesCreditNoteAppliesOn
@@ -50521,7 +50572,7 @@ export interface operations {
50521
50572
  parameters: {
50522
50573
  query: {
50523
50574
  branchId: number;
50524
- type: "general" | "detail" | "chartOfAccount" | "banks" | "taxSales" | "taxPos" | "taxPurchase" | "taxAssets" | "taxExpenses" | "creditCard" | "cash" | "cheque" | "deferredSales" | "differenceOfExchangeNegative" | "differenceOfExchangePositive" | "salesCommissionExpense" | "salesCommissionAllowanceExpense";
50575
+ type: "general" | "detail" | "chartOfAccount" | "banks" | "taxSales" | "taxPos" | "taxPurchase" | "taxAssets" | "taxExpenses" | "creditCard" | "cash" | "cheque" | "deferredSales" | "defaultSubsidiaryAccounts";
50525
50576
  accountId?: number;
50526
50577
  /** @description search by account number, name or type */
50527
50578
  search?: string;
@@ -50678,7 +50729,7 @@ export interface operations {
50678
50729
  parameters: {
50679
50730
  query: {
50680
50731
  branchId: number;
50681
- type: "general" | "detail" | "chartOfAccount" | "banks" | "taxSales" | "taxPos" | "taxPurchase" | "taxAssets" | "taxExpenses" | "creditCard" | "cash" | "cheque" | "deferredSales" | "differenceOfExchangeNegative" | "differenceOfExchangePositive" | "salesCommissionExpense" | "salesCommissionAllowanceExpense";
50732
+ type: "general" | "detail" | "chartOfAccount" | "banks" | "taxSales" | "taxPos" | "taxPurchase" | "taxAssets" | "taxExpenses" | "creditCard" | "cash" | "cheque" | "deferredSales" | "defaultSubsidiaryAccounts";
50682
50733
  accountId?: number;
50683
50734
  /** @description required when type [cheque, cash, credit card] */
50684
50735
  supplierId?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erp-galoper/types",
3
- "version": "1.0.829",
3
+ "version": "1.0.831",
4
4
  "main": "openapi.ts",
5
5
  "types": "openapi.ts",
6
6
  "files": ["openapi.ts"],