@erp-galoper/types 1.0.1643 → 1.0.1644

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 +139 -4
  2. package/package.json +1 -1
package/openapi.ts CHANGED
@@ -51619,14 +51619,140 @@ export interface components {
51619
51619
  * @enum {string}
51620
51620
  */
51621
51621
  RecognitionFrequency: "monthly" | "quarterly" | "annually" | "weekly";
51622
- /** SalesInvoiceItemSchema */
51623
- SalesInvoiceItemSchema: {
51622
+ /** SalesInvoiceItemsSchema */
51623
+ SalesInvoiceItemsSchema: {
51624
51624
  /**
51625
51625
  * Id
51626
51626
  * Format: uuid
51627
51627
  */
51628
51628
  id: string;
51629
51629
  item: components["schemas"]["ItemMinimalSchema"] | null;
51630
+ /** Itemname */
51631
+ itemName?: string | null;
51632
+ itemType: components["schemas"]["NonInventoryItemType"] | null;
51633
+ /** Description */
51634
+ description: string | null;
51635
+ /** Quantity */
51636
+ quantity: number;
51637
+ /** @description The unit of measure selected from the item's options */
51638
+ unitOfMeasure: components["schemas"]["UnitOfMeasureSummaryInfo"] | null;
51639
+ /**
51640
+ * Unitprice
51641
+ * @description This field is a number representing the unit price of the item.
51642
+ */
51643
+ unitPrice: string;
51644
+ /** @description Details of the selected item package, if applicable. */
51645
+ itemPackage: components["schemas"]["ItemPackageSummarySchema"] | null;
51646
+ /**
51647
+ * Packagedepositcharge
51648
+ * @description This field is a number representing the deposit charge for the selected package, if applicable.
51649
+ */
51650
+ packageDepositCharge?: string | null;
51651
+ /**
51652
+ * Includetaxinunitprice
51653
+ * @description If true, the unit price includes tax and will be extracted to calculate the base price
51654
+ * @default false
51655
+ */
51656
+ includeTaxInUnitPrice: boolean;
51657
+ /**
51658
+ * Discount
51659
+ * @description The discount percentage applied to the item.
51660
+ * @default 0
51661
+ */
51662
+ discount: number | null;
51663
+ /**
51664
+ * Promotionsandoffers
51665
+ * @description List of promotions and offers applied to the item, visible when modules sales and inventory are on
51666
+ * @default []
51667
+ */
51668
+ promotionsAndOffers: components["schemas"]["PromotionsAndOffersSharedSchema"][];
51669
+ commission: components["schemas"]["CommissionLevelSharedSchema"] | null;
51670
+ /**
51671
+ * Subtotal
51672
+ * @description This field is a number representing gross subtotal for the item.
51673
+ */
51674
+ subtotal: string;
51675
+ /**
51676
+ * Secondarysubtotal
51677
+ * @description This field is a number representing gross subtotal in secondary currency.
51678
+ * @default 0
51679
+ */
51680
+ secondarySubtotal: string;
51681
+ /**
51682
+ * Companysubtotal
51683
+ * @description This field is a number representing gross subtotal in the company's currency.
51684
+ * @default 0
51685
+ */
51686
+ companySubtotal: string;
51687
+ /**
51688
+ * Discountedtotal
51689
+ * @description This field is a number representing net subtotal after applying the discount.
51690
+ * @default 0
51691
+ */
51692
+ discountedTotal: string;
51693
+ /**
51694
+ * Secondarydiscountedtotal
51695
+ * @description This field is a number representing net subtotal after applying the discount in secondary currency.
51696
+ * @default 0
51697
+ */
51698
+ secondaryDiscountedTotal: string;
51699
+ /**
51700
+ * Companydiscountedtotal
51701
+ * @description This field is a number representing net subtotal after applying the discount in the company's currency.
51702
+ * @default 0
51703
+ */
51704
+ companyDiscountedTotal: string;
51705
+ /**
51706
+ * Taxes
51707
+ * @description List of taxes applied to the item.
51708
+ * @default []
51709
+ */
51710
+ taxes: components["schemas"]["TaxSharedSchema"][];
51711
+ /**
51712
+ * Taxamount
51713
+ * @description This field is a number representing the total tax amount applied to the item.
51714
+ * @default 0
51715
+ */
51716
+ taxAmount: string;
51717
+ /**
51718
+ * Secondarytaxamount
51719
+ * @description This field is a number representing the total tax amount in USD.
51720
+ * @default 0
51721
+ */
51722
+ secondaryTaxAmount: string;
51723
+ /**
51724
+ * Companytaxamount
51725
+ * @description This field is a number representing the total tax amount in the company's currency.
51726
+ * @default 0
51727
+ */
51728
+ companyTaxAmount: string;
51729
+ /**
51730
+ * Total
51731
+ * @description This field is a number representing grand total for the item.
51732
+ * @default 0
51733
+ */
51734
+ total: string;
51735
+ /**
51736
+ * Secondarytotal
51737
+ * @description This field is a number representing grand total in secondary currency.
51738
+ * @default 0
51739
+ */
51740
+ secondaryTotal: string;
51741
+ /**
51742
+ * Companytotal
51743
+ * @description This field is a number representing grand total in the company's currency.
51744
+ * @default 0
51745
+ */
51746
+ companyTotal: string;
51747
+ /** Quantityreturnedinvoice */
51748
+ quantityReturnedInvoice?: number;
51749
+ /** Quantityreturnedorder */
51750
+ quantityReturnedOrder?: number;
51751
+ /**
51752
+ * Quantitydelivered
51753
+ * @description Only show in case of delivery note source is sales invoice
51754
+ */
51755
+ quantityDelivered?: number | null;
51630
51756
  };
51631
51757
  /** SalesInvoiceSchema */
51632
51758
  SalesInvoiceSchema: {
@@ -51873,7 +51999,7 @@ export interface components {
51873
51999
  * Items
51874
52000
  * @default []
51875
52001
  */
51876
- items: components["schemas"]["SalesInvoiceItemSchema"][];
52002
+ items: components["schemas"]["SalesInvoiceItemsSchema"][];
51877
52003
  };
51878
52004
  /** CreateUpdateSalesInvoiceItemSchema */
51879
52005
  CreateUpdateSalesInvoiceItemSchema: {
@@ -52674,7 +52800,7 @@ export interface components {
52674
52800
  * Items
52675
52801
  * @default []
52676
52802
  */
52677
- items: components["schemas"]["SalesInvoiceItemSchema"][];
52803
+ items: components["schemas"]["SalesInvoiceItemsSchema"][];
52678
52804
  /** Linkeddocuments */
52679
52805
  linkedDocuments?: {
52680
52806
  [key: string]: components["schemas"]["LinkedDocumentsSchema"];
@@ -54988,6 +55114,15 @@ export interface components {
54988
55114
  */
54989
55115
  entries: components["schemas"]["PostEntryDetailsSchema"][];
54990
55116
  };
55117
+ /** SalesInvoiceItemSchema */
55118
+ SalesInvoiceItemSchema: {
55119
+ /**
55120
+ * Id
55121
+ * Format: uuid
55122
+ */
55123
+ id: string;
55124
+ item: components["schemas"]["ItemMinimalSchema"] | null;
55125
+ };
54991
55126
  /** SalesCreditNoteCreateSchema */
54992
55127
  SalesCreditNoteCreateSchema: {
54993
55128
  /** Password */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erp-galoper/types",
3
- "version": "1.0.1643",
3
+ "version": "1.0.1644",
4
4
  "main": "openapi.ts",
5
5
  "types": "openapi.ts",
6
6
  "files": ["openapi.ts"],