@erp-galoper/types 1.0.295 → 1.0.297

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 +172 -33
  2. package/package.json +1 -1
package/openapi.ts CHANGED
@@ -26631,7 +26631,7 @@ export interface components {
26631
26631
  /**
26632
26632
  * Id
26633
26633
  * Format: uuid
26634
- * @example 07bd5e4e-3492-492f-97bc-c6b1722618a6
26634
+ * @example 30ea036d-ee4d-4fcd-9378-1357ad4ac75c
26635
26635
  */
26636
26636
  id: string;
26637
26637
  /**
@@ -27380,23 +27380,15 @@ export interface components {
27380
27380
  CreateFinancialPeriods: {
27381
27381
  /** Fiscalyeardaystart */
27382
27382
  fiscalYearDayStart: number;
27383
- /** Fiscalyeardayend */
27384
- fiscalYearDayEnd: number;
27385
27383
  /** Fiscalyearmonthstart */
27386
27384
  fiscalYearMonthStart: number;
27387
- /** Fiscalyearmonthend */
27388
- fiscalYearMonthEnd: number;
27389
27385
  };
27390
27386
  /** UpdateFinancialPeriods */
27391
27387
  UpdateFinancialPeriods: {
27392
27388
  /** Fiscalyeardaystart */
27393
27389
  fiscalYearDayStart?: number | null;
27394
- /** Fiscalyeardayend */
27395
- fiscalYearDayEnd?: number | null;
27396
27390
  /** Fiscalyearmonthstart */
27397
27391
  fiscalYearMonthStart?: number | null;
27398
- /** Fiscalyearmonthend */
27399
- fiscalYearMonthEnd?: number | null;
27400
27392
  };
27401
27393
  /** RetrieveFinancialPeriods */
27402
27394
  RetrieveFinancialPeriods: {
@@ -29021,10 +29013,10 @@ export interface components {
29021
29013
  /** Ratepercentage */
29022
29014
  ratePercentage: number;
29023
29015
  /**
29024
- * Taxclosingaccount
29025
- * @description tax Closing Account , get accounts from /api/v1/chart_of_account/?type=detail&branchId={branch-id}
29016
+ * Taxpayableaccount
29017
+ * @description tax Payable Account , get accounts from /api/v1/chart_of_account/?type=detail&branchId={branch-id}
29026
29018
  */
29027
- taxClosingAccount: number | null;
29019
+ taxPayableAccount: number | null;
29028
29020
  /**
29029
29021
  * Deferredsales
29030
29022
  * @description
@@ -29067,8 +29059,8 @@ export interface components {
29067
29059
  assets?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
29068
29060
  /** Ratepercentage */
29069
29061
  ratePercentage: number;
29070
- /** @description Tax Closing Account */
29071
- taxClosingAccount?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
29062
+ /** @description Tax Payable Account */
29063
+ taxPayableAccount?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
29072
29064
  deferredSales: components["schemas"]["ChartOfAccountInfoSchema"] | null;
29073
29065
  /** Candelete */
29074
29066
  canDelete: boolean;
@@ -29097,10 +29089,10 @@ export interface components {
29097
29089
  /** Ratepercentage */
29098
29090
  ratePercentage?: number | null;
29099
29091
  /**
29100
- * Taxclosingaccount
29101
- * @description Tax Closing Account , get accounts from /api/v1/chart_of_account/?type=detail&branchId={branch-id}
29092
+ * Taxpayableaccount
29093
+ * @description Tax Payable Account , get accounts from /api/v1/chart_of_account/?type=detail&branchId={branch-id}
29102
29094
  */
29103
- taxClosingAccount?: number | null;
29095
+ taxPayableAccount?: number | null;
29104
29096
  /**
29105
29097
  * Deferredsales
29106
29098
  * @description
@@ -29137,8 +29129,8 @@ export interface components {
29137
29129
  assets?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
29138
29130
  /** Ratepercentage */
29139
29131
  ratePercentage: number;
29140
- /** @description Tax Closing Account */
29141
- taxClosingAccount?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
29132
+ /** @description Tax Payable Account */
29133
+ taxPayableAccount?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
29142
29134
  deferredSales: components["schemas"]["ChartOfAccountInfoSchema"] | null;
29143
29135
  };
29144
29136
  /** CreateAccountingSetting */
@@ -32250,6 +32242,12 @@ export interface components {
32250
32242
  usdSubtotal: number;
32251
32243
  /** Companysubtotal */
32252
32244
  companySubtotal: number;
32245
+ /** Discountedtotal */
32246
+ discountedTotal: number;
32247
+ /** Usddiscountedtotal */
32248
+ usdDiscountedTotal: number;
32249
+ /** Companydiscountedtotal */
32250
+ companyDiscountedTotal: number;
32253
32251
  /** Taxamount */
32254
32252
  taxAmount: number;
32255
32253
  /** Usdtaxamount */
@@ -32418,6 +32416,12 @@ export interface components {
32418
32416
  usdSubtotal: number;
32419
32417
  /** Companysubtotal */
32420
32418
  companySubtotal: number;
32419
+ /** Discountedtotal */
32420
+ discountedTotal: number;
32421
+ /** Usddiscountedtotal */
32422
+ usdDiscountedTotal: number;
32423
+ /** Companydiscountedtotal */
32424
+ companyDiscountedTotal: number;
32421
32425
  /** Taxamount */
32422
32426
  taxAmount: number;
32423
32427
  /** Usdtaxamount */
@@ -32446,6 +32450,14 @@ export interface components {
32446
32450
  ReturnPurchaseOrderItemTotalCalculated: {
32447
32451
  /** Total */
32448
32452
  total: number;
32453
+ /** Unitprice */
32454
+ unitPrice: number;
32455
+ /**
32456
+ * Discount
32457
+ * @description The discount percentage applied to the sales invoice.
32458
+ * @default 0
32459
+ */
32460
+ discount: number;
32449
32461
  };
32450
32462
  /** ReturnPurchaseOrderTotalCalculationResponse */
32451
32463
  ReturnPurchaseOrderTotalCalculationResponse: {
@@ -33388,13 +33400,13 @@ export interface components {
33388
33400
  */
33389
33401
  companyRate?: string;
33390
33402
  /**
33391
- * Usdrate
33403
+ * Secondaryrate
33392
33404
  * @description
33393
33405
  * - This field is number
33394
33406
  * - This field is visible and required if allow rate change is on in system settings and the country is Lebanon
33395
33407
  * and supplier currency is foreign currency meaning (NOT COMPANY CURRENCY)
33396
33408
  */
33397
- usdRate?: string;
33409
+ secondaryRate?: string;
33398
33410
  };
33399
33411
  /** ListPaymentVouchers */
33400
33412
  ListPaymentVouchers: {
@@ -33551,13 +33563,13 @@ export interface components {
33551
33563
  */
33552
33564
  companyRate?: string;
33553
33565
  /**
33554
- * Usdrate
33566
+ * Secondaryrate
33555
33567
  * @description
33556
33568
  * - This field is number
33557
33569
  * - This field is visible and required if allow rate change is on in system settings and the country is Lebanon
33558
33570
  * and supplier currency is foreign currency meaning (NOT COMPANY CURRENCY)
33559
33571
  */
33560
- usdRate?: string;
33572
+ secondaryRate?: string;
33561
33573
  };
33562
33574
  /** UpdatePaymentVoucherSchema */
33563
33575
  UpdatePaymentVoucherSchema: {
@@ -33757,6 +33769,12 @@ export interface components {
33757
33769
  usdSubtotal: number;
33758
33770
  /** Companysubtotal */
33759
33771
  companySubtotal: number;
33772
+ /** Discountedtotal */
33773
+ discountedTotal: number;
33774
+ /** Usddiscountedtotal */
33775
+ usdDiscountedTotal: number;
33776
+ /** Companydiscountedtotal */
33777
+ companyDiscountedTotal: number;
33760
33778
  /** Taxamount */
33761
33779
  taxAmount: number;
33762
33780
  /** Usdtaxamount */
@@ -33935,6 +33953,12 @@ export interface components {
33935
33953
  usdSubtotal: number;
33936
33954
  /** Companysubtotal */
33937
33955
  companySubtotal: number;
33956
+ /** Discountedtotal */
33957
+ discountedTotal: number;
33958
+ /** Usddiscountedtotal */
33959
+ usdDiscountedTotal: number;
33960
+ /** Companydiscountedtotal */
33961
+ companyDiscountedTotal: number;
33938
33962
  /** Taxamount */
33939
33963
  taxAmount: number;
33940
33964
  /** Usdtaxamount */
@@ -33963,6 +33987,14 @@ export interface components {
33963
33987
  ReturnPurchaseInvoiceItemTotalCalculated: {
33964
33988
  /** Total */
33965
33989
  total: number;
33990
+ /** Unitprice */
33991
+ unitPrice: number;
33992
+ /**
33993
+ * Discount
33994
+ * @description The discount percentage applied to the sales invoice.
33995
+ * @default 0
33996
+ */
33997
+ discount: number;
33966
33998
  };
33967
33999
  /** ReturnPurchaseInvoiceTotalCalculationResponse */
33968
34000
  ReturnPurchaseInvoiceTotalCalculationResponse: {
@@ -35830,7 +35862,7 @@ export interface components {
35830
35862
  bankName?: string;
35831
35863
  /**
35832
35864
  * Amount
35833
- * @description field is number
35865
+ * @description field is number, should be greater than zero
35834
35866
  */
35835
35867
  amount: string;
35836
35868
  /**
@@ -35980,7 +36012,7 @@ export interface components {
35980
36012
  bankName?: string;
35981
36013
  /**
35982
36014
  * Amount
35983
- * @description field is number
36015
+ * @description field is number, should be greater than zero
35984
36016
  */
35985
36017
  amount: string;
35986
36018
  /**
@@ -39215,7 +39247,7 @@ export interface components {
39215
39247
  bankName?: string;
39216
39248
  /**
39217
39249
  * Amount
39218
- * @description field is number
39250
+ * @description field is number, should be greater than zero
39219
39251
  */
39220
39252
  amount: string;
39221
39253
  /**
@@ -39360,7 +39392,7 @@ export interface components {
39360
39392
  bankName?: string;
39361
39393
  /**
39362
39394
  * Amount
39363
- * @description field is number
39395
+ * @description field is number, should be greater than zero
39364
39396
  */
39365
39397
  amount: string;
39366
39398
  /**
@@ -40637,7 +40669,7 @@ export interface components {
40637
40669
  bankName?: string;
40638
40670
  /**
40639
40671
  * Amount
40640
- * @description field is number
40672
+ * @description field is number, should be greater than zero
40641
40673
  */
40642
40674
  amount: string;
40643
40675
  /**
@@ -40793,7 +40825,7 @@ export interface components {
40793
40825
  bankName?: string;
40794
40826
  /**
40795
40827
  * Amount
40796
- * @description field is number
40828
+ * @description field is number, should be greater than zero
40797
40829
  */
40798
40830
  amount: string;
40799
40831
  /**
@@ -41138,6 +41170,11 @@ export interface components {
41138
41170
  * @default 0
41139
41171
  */
41140
41172
  discount: number;
41173
+ /**
41174
+ * Discountedtotal
41175
+ * @description This field is a number representing the total after discount
41176
+ */
41177
+ discountedTotal: string;
41141
41178
  /**
41142
41179
  * Secondarydiscountedtotal
41143
41180
  * @description This field is a number representing the total after discount in USD.
@@ -41539,7 +41576,11 @@ export interface components {
41539
41576
  itemPackage: components["schemas"]["ItemPackageSummarySchema"] | null;
41540
41577
  /** Unitpackage */
41541
41578
  unitPackage: number | null;
41542
- /** Discount */
41579
+ /**
41580
+ * Discount
41581
+ * @description The discount percentage applied to the sales invoice.
41582
+ * @default 0
41583
+ */
41543
41584
  discount: number;
41544
41585
  /**
41545
41586
  * Promotionsandoffers
@@ -41558,6 +41599,21 @@ export interface components {
41558
41599
  * @default 0
41559
41600
  */
41560
41601
  companySubtotal: string;
41602
+ /**
41603
+ * Discountedtotal
41604
+ * @description This field is a number representing the total after discount
41605
+ */
41606
+ discountedTotal: string;
41607
+ /**
41608
+ * Secondarydiscountedtotal
41609
+ * @description This field is a number representing the total after discount in USD.
41610
+ */
41611
+ secondaryDiscountedTotal: string;
41612
+ /**
41613
+ * Companydiscountedtotal
41614
+ * @description This field is a number representing the total after discount in the company's currency.
41615
+ */
41616
+ companyDiscountedTotal: string;
41561
41617
  /**
41562
41618
  * Taxes
41563
41619
  * @default []
@@ -41630,6 +41686,21 @@ export interface components {
41630
41686
  secondarySubtotal: string;
41631
41687
  /** Companysubtotal */
41632
41688
  companySubtotal: string;
41689
+ /**
41690
+ * Discountedtotal
41691
+ * @description This field is a number representing the total after discount
41692
+ */
41693
+ discountedTotal: string;
41694
+ /**
41695
+ * Secondarydiscountedtotal
41696
+ * @description This field is a number representing the total after discount in USD.
41697
+ */
41698
+ secondaryDiscountedTotal: string;
41699
+ /**
41700
+ * Companydiscountedtotal
41701
+ * @description This field is a number representing the total after discount in the company's currency.
41702
+ */
41703
+ companyDiscountedTotal: string;
41633
41704
  /** Taxamount */
41634
41705
  taxAmount: string;
41635
41706
  /** Secondarytaxamount */
@@ -41796,6 +41867,21 @@ export interface components {
41796
41867
  secondarySubtotal: string;
41797
41868
  /** Companysubtotal */
41798
41869
  companySubtotal: string;
41870
+ /**
41871
+ * Discountedtotal
41872
+ * @description This field is a number representing the total after discount
41873
+ */
41874
+ discountedTotal: string;
41875
+ /**
41876
+ * Secondarydiscountedtotal
41877
+ * @description This field is a number representing the total after discount in USD.
41878
+ */
41879
+ secondaryDiscountedTotal: string;
41880
+ /**
41881
+ * Companydiscountedtotal
41882
+ * @description This field is a number representing the total after discount in the company's currency.
41883
+ */
41884
+ companyDiscountedTotal: string;
41799
41885
  /** Taxamount */
41800
41886
  taxAmount: string;
41801
41887
  /** Secondarytaxamount */
@@ -41819,6 +41905,14 @@ export interface components {
41819
41905
  SalesReturnOrderItemTotalCalculated: {
41820
41906
  /** Total */
41821
41907
  total: string;
41908
+ /** Unitprice */
41909
+ unitPrice: string;
41910
+ /**
41911
+ * Discount
41912
+ * @description The discount percentage applied to the sales invoice.
41913
+ * @default 0
41914
+ */
41915
+ discount: number;
41822
41916
  };
41823
41917
  /** SalesReturnOrderTotalCalculationResponse */
41824
41918
  SalesReturnOrderTotalCalculationResponse: {
@@ -41911,7 +42005,11 @@ export interface components {
41911
42005
  itemPackage: components["schemas"]["ItemPackageSummarySchema"] | null;
41912
42006
  /** Unitpackage */
41913
42007
  unitPackage: number | null;
41914
- /** Discount */
42008
+ /**
42009
+ * Discount
42010
+ * @description The discount percentage applied to the sales invoice.
42011
+ * @default 0
42012
+ */
41915
42013
  discount: number;
41916
42014
  /**
41917
42015
  * Promotionsandoffers
@@ -41930,6 +42028,21 @@ export interface components {
41930
42028
  * @default 0
41931
42029
  */
41932
42030
  companySubtotal: string;
42031
+ /**
42032
+ * Discountedtotal
42033
+ * @description This field is a number representing the total after discount
42034
+ */
42035
+ discountedTotal: string;
42036
+ /**
42037
+ * Secondarydiscountedtotal
42038
+ * @description This field is a number representing the total after discount in USD.
42039
+ */
42040
+ secondaryDiscountedTotal: string;
42041
+ /**
42042
+ * Companydiscountedtotal
42043
+ * @description This field is a number representing the total after discount in the company's currency.
42044
+ */
42045
+ companyDiscountedTotal: string;
41933
42046
  /**
41934
42047
  * Taxes
41935
42048
  * @default []
@@ -42001,8 +42114,17 @@ export interface components {
42001
42114
  subtotal: string;
42002
42115
  /** Secondarysubtotal */
42003
42116
  secondarySubtotal: string;
42117
+ /**
42118
+ * Discountedtotal
42119
+ * @description This field is a number representing the total after discount
42120
+ */
42121
+ discountedTotal: string;
42004
42122
  /** Companysubtotal */
42005
42123
  companySubtotal: string;
42124
+ /** Secondarydiscountedtotal */
42125
+ secondaryDiscountedTotal: string;
42126
+ /** Companydiscountedtotal */
42127
+ companyDiscountedTotal: string;
42006
42128
  /** Taxamount */
42007
42129
  taxAmount: string;
42008
42130
  /** Secondarytaxamount */
@@ -42165,8 +42287,17 @@ export interface components {
42165
42287
  subtotal: string;
42166
42288
  /** Secondarysubtotal */
42167
42289
  secondarySubtotal: string;
42290
+ /**
42291
+ * Discountedtotal
42292
+ * @description This field is a number representing the total after discount
42293
+ */
42294
+ discountedTotal: string;
42168
42295
  /** Companysubtotal */
42169
42296
  companySubtotal: string;
42297
+ /** Secondarydiscountedtotal */
42298
+ secondaryDiscountedTotal: string;
42299
+ /** Companydiscountedtotal */
42300
+ companyDiscountedTotal: string;
42170
42301
  /** Taxamount */
42171
42302
  taxAmount: string;
42172
42303
  /** Secondarytaxamount */
@@ -42188,6 +42319,14 @@ export interface components {
42188
42319
  SalesReturnInvoiceItemTotalCalculated: {
42189
42320
  /** Total */
42190
42321
  total: string;
42322
+ /** Unitprice */
42323
+ unitPrice: string;
42324
+ /**
42325
+ * Discount
42326
+ * @description The discount percentage applied to the sales invoice.
42327
+ * @default 0
42328
+ */
42329
+ discount: number;
42191
42330
  };
42192
42331
  /** SalesReturnInvoiceTotalCalculationResponse */
42193
42332
  SalesReturnInvoiceTotalCalculationResponse: {
@@ -42707,7 +42846,7 @@ export interface components {
42707
42846
  bankName?: string;
42708
42847
  /**
42709
42848
  * Amount
42710
- * @description field is number
42849
+ * @description field is number, should be greater than zero
42711
42850
  */
42712
42851
  amount: string;
42713
42852
  /**
@@ -42880,7 +43019,7 @@ export interface components {
42880
43019
  bankName?: string;
42881
43020
  /**
42882
43021
  * Amount
42883
- * @description field is number
43022
+ * @description field is number, should be greater than zero
42884
43023
  */
42885
43024
  amount: string;
42886
43025
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erp-galoper/types",
3
- "version": "1.0.295",
3
+ "version": "1.0.297",
4
4
  "main": "openapi.ts",
5
5
  "types": "openapi.ts",
6
6
  "files": ["openapi.ts"],