@erp-galoper/types 1.0.1230 → 1.0.1232

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 +94 -17
  2. package/package.json +1 -1
package/openapi.ts CHANGED
@@ -538,6 +538,7 @@ export interface paths {
538
538
  * 400:
539
539
  * - customLabelValueIsRequired
540
540
  * - includeNameOrShortName
541
+ * - cantPrintEmptyLabels
541
542
  * - Permission Key :
542
543
  * item : [ export ]
543
544
  */
@@ -8711,10 +8712,14 @@ export interface paths {
8711
8712
  * -500:
8712
8713
  * - internalServerError
8713
8714
  * - 400:
8714
- * - residentAccount+nonResidentAccountConflict
8715
8715
  * - nameConflict
8716
8716
  * - residentAccountDoesNotExist
8717
8717
  * - nonResidentAccountDoesNotExist
8718
+ * - paymentInAdvanceAccountResidentDoesNotExist
8719
+ * - paymentInAdvanceAccountNonResidentDoesNotExist
8720
+ * - expenseAccountResidentDoesNotExist
8721
+ * - expenseAccountNonResidentDoesNotExist
8722
+ * - accountConflict
8718
8723
  */
8719
8724
  post: operations["erp_settings_accountingsetting_views_create_account_classification"];
8720
8725
  delete?: never;
@@ -8773,10 +8778,14 @@ export interface paths {
8773
8778
  * - 404:
8774
8779
  * - accountClassificationNotExist
8775
8780
  * - 400:
8776
- * - residentAccount+nonResidentAccountConflict
8777
8781
  * - nameConflict
8778
8782
  * - residentAccountDoesNotExist
8779
8783
  * - nonResidentAccountDoesNotExist
8784
+ * - paymentInAdvanceAccountResidentDoesNotExist
8785
+ * - paymentInAdvanceAccountNonResidentDoesNotExist
8786
+ * - expenseAccountResidentDoesNotExist
8787
+ * - expenseAccountNonResidentDoesNotExist
8788
+ * - accountConflict
8780
8789
  * - 500:
8781
8790
  * - internalServerError
8782
8791
  */
@@ -23452,6 +23461,12 @@ export interface components {
23452
23461
  package?: string | null;
23453
23462
  /** Unitofmeasure */
23454
23463
  unitOfMeasure?: number | null;
23464
+ /**
23465
+ * Barcode
23466
+ * Format: uuid
23467
+ * @description barcode id, get item or package barcode from api/v1/items/{item-id}/ and access field barcodes list
23468
+ */
23469
+ barcode?: string;
23455
23470
  };
23456
23471
  /**
23457
23472
  * LabelSize
@@ -23462,19 +23477,20 @@ export interface components {
23462
23477
  PrintLabelRequest: {
23463
23478
  /**
23464
23479
  * Includename
23465
- * @description user should choose either name or short name
23480
+ * @description user should choose name or short name or include custom label
23466
23481
  * @default true
23467
23482
  */
23468
23483
  includeName: boolean;
23469
23484
  /**
23470
23485
  * Includeshortname
23471
23486
  * @description - visible when printing item details not package details
23472
- * - user should choose either name or short name
23487
+ * - user should choose name or short name or include custom label
23473
23488
  * @default false
23474
23489
  */
23475
23490
  includeShortName: boolean;
23476
23491
  /**
23477
23492
  * Includecustomlabel
23493
+ * @description user should choose name or short name or include custom label
23478
23494
  * @default false
23479
23495
  */
23480
23496
  includeCustomLabel: boolean;
@@ -23527,6 +23543,12 @@ export interface components {
23527
23543
  * @default []
23528
23544
  */
23529
23545
  itemsData: components["schemas"]["ItemsDataToPrint"][];
23546
+ /**
23547
+ * Copiesnumber
23548
+ * @description number of label copies to print
23549
+ * @default 1
23550
+ */
23551
+ copiesNumber: number;
23530
23552
  };
23531
23553
  /**
23532
23554
  * BarcodeType
@@ -25768,7 +25790,7 @@ export interface components {
25768
25790
  * GeneralAccountsOptions
25769
25791
  * @enum {string}
25770
25792
  */
25771
- GeneralAccountsOptions: "general" | "detail" | "chartOfAccount" | "banks" | "taxSales" | "taxPos" | "taxPurchase" | "taxAssets" | "taxExpenses" | "creditCard" | "cash" | "cheque" | "deferredSales" | "defaultSubsidiaryAccounts";
25793
+ GeneralAccountsOptions: "general" | "detail" | "chartOfAccount" | "banks" | "taxSales" | "taxPos" | "taxPurchase" | "taxAssets" | "taxExpenses" | "creditCard" | "cash" | "cheque" | "deferredSales" | "defaultSubsidiaryAccounts" | "accountClassificationResident" | "accountClassificationNonResident" | "accountClassificationPaymentInAdvanceResident" | "accountClassificationPaymentInAdvanceNonResident" | "accountClassificationExpenseResident" | "accountClassificationExpenseNonResident";
25772
25794
  /** ExportSchema */
25773
25795
  ExportSchema: {
25774
25796
  /** Pdf */
@@ -29627,6 +29649,8 @@ export interface components {
29627
29649
  type: string;
29628
29650
  paymentInAdvanceAccountResident: components["schemas"]["AccountInfoSchema"] | null;
29629
29651
  paymentInAdvanceAccountNonResident: components["schemas"]["AccountInfoSchema"] | null;
29652
+ expenseAccountResident: components["schemas"]["AccountInfoSchema"] | null;
29653
+ expenseAccountNonResident: components["schemas"]["AccountInfoSchema"] | null;
29630
29654
  };
29631
29655
  /** CommonPriceListSchema */
29632
29656
  CommonPriceListSchema: {
@@ -30452,6 +30476,7 @@ export interface components {
30452
30476
  companyRegistrationNumber: string | null;
30453
30477
  /** Banks */
30454
30478
  banks: components["schemas"]["BankAccountsSharedSchema"][];
30479
+ type: components["schemas"]["SupplierTypeEnum"];
30455
30480
  };
30456
30481
  /** SupplierListSchema */
30457
30482
  SupplierListSchema: {
@@ -30459,6 +30484,11 @@ export interface components {
30459
30484
  /** Results */
30460
30485
  results: components["schemas"]["SupplierForListSchema"][];
30461
30486
  };
30487
+ /**
30488
+ * SupplierTypeEnum
30489
+ * @enum {string}
30490
+ */
30491
+ SupplierTypeEnum: "creditor" | "paymentInAdvance" | "expense";
30462
30492
  /** CreateSupplierBankSchema */
30463
30493
  CreateSupplierBankSchema: {
30464
30494
  /** Index */
@@ -30632,6 +30662,7 @@ export interface components {
30632
30662
  children: components["schemas"]["SupplierChildDetailSchema"][];
30633
30663
  /** Companyregistrationnumber */
30634
30664
  companyRegistrationNumber: string | null;
30665
+ type: components["schemas"]["SupplierTypeEnum"];
30635
30666
  };
30636
30667
  /** ChangeSupplierBankSchema */
30637
30668
  ChangeSupplierBankSchema: {
@@ -34981,6 +35012,8 @@ export interface components {
34981
35012
  type: string;
34982
35013
  paymentInAdvanceAccountResident: components["schemas"]["AccountInfoSchema"] | null;
34983
35014
  paymentInAdvanceAccountNonResident: components["schemas"]["AccountInfoSchema"] | null;
35015
+ expenseAccountResident: components["schemas"]["AccountInfoSchema"] | null;
35016
+ expenseAccountNonResident: components["schemas"]["AccountInfoSchema"] | null;
34984
35017
  /** Candelete */
34985
35018
  canDelete: boolean;
34986
35019
  };
@@ -34992,9 +35025,17 @@ export interface components {
34992
35025
  };
34993
35026
  /** CreateAccountClassification */
34994
35027
  CreateAccountClassification: {
34995
- /** Residentaccount */
35028
+ /**
35029
+ * Residentaccount
35030
+ * @description - resident account id
35031
+ * - to get accounts use route /api/v1/chart_of_account/?branchId={branch-id}&type=accountClassificationResident.
35032
+ */
34996
35033
  residentAccount: number;
34997
- /** Nonresidentaccount */
35034
+ /**
35035
+ * Nonresidentaccount
35036
+ * @description - non resident account id
35037
+ * - to get accounts use route /api/v1/chart_of_account/?branchId={branch-id}&type=accountClassificationNonResident.
35038
+ */
34998
35039
  nonResidentAccount: number;
34999
35040
  /** Name */
35000
35041
  name: string;
@@ -35003,36 +35044,72 @@ export interface components {
35003
35044
  /**
35004
35045
  * Paymentinadvanceaccountresident
35005
35046
  * @description - payment in advance account resident id
35006
- * - to get accounts use route /api/v1/chart_of_account/?branchId={branch-id}&type=general and exclude accounts where account matches the residentAccount or nonResidentAccount or paymentInAdvanceAccountNonResident.
35047
+ * - to get accounts use route /api/v1/chart_of_account/?branchId={branch-id}&type=accountClassificationPaymentInAdvanceResident.
35007
35048
  */
35008
35049
  paymentInAdvanceAccountResident?: number;
35009
35050
  /**
35010
35051
  * Paymentinadvanceaccountnonresident
35011
35052
  * @description - payment in advance account non resident id
35012
- * - to get accounts use route /api/v1/chart_of_account/?branchId={branch-id}&type=general and exclude accounts where account matches the residentAccount or nonResidentAccount or paymentInAdvanceAccountResident.
35053
+ * - to get accounts use route /api/v1/chart_of_account/?branchId={branch-id}&type=accountClassificationPaymentInAdvanceNonResident.
35013
35054
  */
35014
35055
  paymentInAdvanceAccountNonResident?: number;
35056
+ /**
35057
+ * Expenseaccountresident
35058
+ * @description - expense account resident id
35059
+ * - visible when expenses module enabled and type is supplier
35060
+ * - to get accounts use route /api/v1/chart_of_account/?branchId={branch-id}&type=accountClassificationExpenseResident.
35061
+ */
35062
+ expenseAccountResident?: number;
35063
+ /**
35064
+ * Expenseaccountnonresident
35065
+ * @description - expense account non resident id
35066
+ * - visible when expenses module enabled and type is supplier
35067
+ * - to get accounts use route /api/v1/chart_of_account/?branchId={branch-id}&type=accountClassificationExpenseNonResident.
35068
+ */
35069
+ expenseAccountNonResident?: number;
35015
35070
  };
35016
35071
  /** UpdateAccountClassification */
35017
35072
  UpdateAccountClassification: {
35018
- /** Residentaccount */
35073
+ /**
35074
+ * Residentaccount
35075
+ * @description - resident account id
35076
+ * - to get accounts use route /api/v1/chart_of_account/?branchId={branch-id}&type=accountClassificationResident.
35077
+ */
35019
35078
  residentAccount?: number | null;
35020
- /** Nonresidentaccount */
35079
+ /**
35080
+ * Nonresidentaccount
35081
+ * @description - non resident account id
35082
+ * - to get accounts use route /api/v1/chart_of_account/?branchId={branch-id}&type=accountClassificationNonResident.
35083
+ */
35021
35084
  nonResidentAccount?: number | null;
35022
35085
  /** Name */
35023
35086
  name?: string | null;
35024
35087
  /**
35025
35088
  * Paymentinadvanceaccountresident
35026
35089
  * @description - payment in advance account resident id
35027
- * - to get accounts use route /api/v1/chart_of_account/?branchId={branch-id}&type=general and exclude accounts where account matches the residentAccount or nonResidentAccount or paymentInAdvanceAccountNonResident.
35090
+ * - to get accounts use route /api/v1/chart_of_account/?branchId={branch-id}&type=accountClassificationPaymentInAdvanceResident.
35028
35091
  */
35029
- paymentInAdvanceAccountResident?: number;
35092
+ paymentInAdvanceAccountResident: number | null;
35030
35093
  /**
35031
35094
  * Paymentinadvanceaccountnonresident
35032
35095
  * @description - payment in advance account non resident id
35033
- * - to get accounts use route /api/v1/chart_of_account/?branchId={branch-id}&type=general and exclude accounts where account matches the residentAccount or nonResidentAccount or paymentInAdvanceAccountResident.
35096
+ * - to get accounts use route /api/v1/chart_of_account/?branchId={branch-id}&type=accountClassificationPaymentInAdvanceNonResident.
35034
35097
  */
35035
- paymentInAdvanceAccountNonResident?: number;
35098
+ paymentInAdvanceAccountNonResident: number | null;
35099
+ /**
35100
+ * Expenseaccountresident
35101
+ * @description - expense account resident id
35102
+ * - visible when expenses module enabled and type is supplier
35103
+ * - to get accounts use route /api/v1/chart_of_account/?branchId={branch-id}&type=accountClassificationExpenseResident.
35104
+ */
35105
+ expenseAccountResident: number | null;
35106
+ /**
35107
+ * Expenseaccountnonresident
35108
+ * @description - expense account non resident id
35109
+ * - visible when expenses module enabled and type is supplier
35110
+ * - to get accounts use route /api/v1/chart_of_account/?branchId={branch-id}&type=accountClassificationExpenseNonResident.
35111
+ */
35112
+ expenseAccountNonResident: number | null;
35036
35113
  };
35037
35114
  /**
35038
35115
  * ReportGroupBy
@@ -55410,7 +55487,7 @@ export interface operations {
55410
55487
  parameters: {
55411
55488
  query: {
55412
55489
  branchId: number;
55413
- type: "general" | "detail" | "chartOfAccount" | "banks" | "taxSales" | "taxPos" | "taxPurchase" | "taxAssets" | "taxExpenses" | "creditCard" | "cash" | "cheque" | "deferredSales" | "defaultSubsidiaryAccounts";
55490
+ type: "general" | "detail" | "chartOfAccount" | "banks" | "taxSales" | "taxPos" | "taxPurchase" | "taxAssets" | "taxExpenses" | "creditCard" | "cash" | "cheque" | "deferredSales" | "defaultSubsidiaryAccounts" | "accountClassificationResident" | "accountClassificationNonResident" | "accountClassificationPaymentInAdvanceResident" | "accountClassificationPaymentInAdvanceNonResident" | "accountClassificationExpenseResident" | "accountClassificationExpenseNonResident";
55414
55491
  accountId?: number;
55415
55492
  /** @description search by account number, name or type */
55416
55493
  search?: string;
@@ -55567,7 +55644,7 @@ export interface operations {
55567
55644
  parameters: {
55568
55645
  query: {
55569
55646
  branchId: number;
55570
- type: "general" | "detail" | "chartOfAccount" | "banks" | "taxSales" | "taxPos" | "taxPurchase" | "taxAssets" | "taxExpenses" | "creditCard" | "cash" | "cheque" | "deferredSales" | "defaultSubsidiaryAccounts";
55647
+ type: "general" | "detail" | "chartOfAccount" | "banks" | "taxSales" | "taxPos" | "taxPurchase" | "taxAssets" | "taxExpenses" | "creditCard" | "cash" | "cheque" | "deferredSales" | "defaultSubsidiaryAccounts" | "accountClassificationResident" | "accountClassificationNonResident" | "accountClassificationPaymentInAdvanceResident" | "accountClassificationPaymentInAdvanceNonResident" | "accountClassificationExpenseResident" | "accountClassificationExpenseNonResident";
55571
55648
  accountId?: number;
55572
55649
  /** @description required when type [cheque, cash, credit card] */
55573
55650
  supplierId?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erp-galoper/types",
3
- "version": "1.0.1230",
3
+ "version": "1.0.1232",
4
4
  "main": "openapi.ts",
5
5
  "types": "openapi.ts",
6
6
  "files": ["openapi.ts"],