@erp-galoper/types 1.0.1745 → 1.0.1747

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 +8 -6
  2. package/package.json +1 -1
package/openapi.ts CHANGED
@@ -14539,7 +14539,7 @@ export interface paths {
14539
14539
  * Get Sales Price List
14540
14540
  * @description Endpoint for getting an individual sales price list
14541
14541
  * Responses:
14542
- * - 200: Streaming JSON response (SalesPriceListSchema structure)
14542
+ * - 200: Streaming JSON response (``items[].item`` is full item via batch enrichment, no variant children)
14543
14543
  *
14544
14544
  * - 403: permissionDenied
14545
14545
  * - noBranchAccess
@@ -42518,7 +42518,7 @@ export interface components {
42518
42518
  * TypeSchema
42519
42519
  * @enum {string}
42520
42520
  */
42521
- TypeSchema: "default" | "creditNote" | "paymentVoucher";
42521
+ TypeSchema: "default" | "creditNote" | "paymentVoucher" | "goodsReceiptNote";
42522
42522
  /** PurchaseInvoiceDetailSchema */
42523
42523
  PurchaseInvoiceDetailSchema: {
42524
42524
  /**
@@ -47291,7 +47291,7 @@ export interface components {
47291
47291
  */
47292
47292
  id: string;
47293
47293
  /** @description the package it belongs to */
47294
- package: components["schemas"]["PackageSummarySchema"];
47294
+ package: components["schemas"]["common__shared_schemas__PackageSummarySchema__2"];
47295
47295
  /**
47296
47296
  * Barcodes
47297
47297
  * @default []
@@ -47342,7 +47342,8 @@ export interface components {
47342
47342
  * Format: uuid
47343
47343
  */
47344
47344
  id: string;
47345
- item: components["schemas"]["ItemMinimalSchema"];
47345
+ /** @description Full inventory item (without variant children) when loading a price list by id via batch enrichment; create/update responses may use a smaller nested object. */
47346
+ item: components["schemas"]["ItemSchema"];
47346
47347
  /** @description incase itemPackage is selected, price will be applied to the itemPackage */
47347
47348
  itemPackage: components["schemas"]["ItemPackageSchema"] | null;
47348
47349
  unitOfMeasure: components["schemas"]["UnitOfMeasureSummaryInfo"];
@@ -84696,7 +84697,8 @@ export interface operations {
84696
84697
  search?: string | null;
84697
84698
  /** @description Filter by branch id */
84698
84699
  branchId: number;
84699
- type?: "default" | "creditNote" | "paymentVoucher";
84700
+ /** @description default: all invoices in range; creditNote: remaining after credits/returns (supplier required); paymentVoucher: unpaid or partially paid; goodsReceiptNote: not received or partially received only. */
84701
+ type?: "default" | "creditNote" | "paymentVoucher" | "goodsReceiptNote";
84700
84702
  /** @description supplier id, required when type is creditNote or paymentVoucher */
84701
84703
  supplier?: number;
84702
84704
  /** @description If true, includes invoice items in the response */
@@ -84800,7 +84802,7 @@ export interface operations {
84800
84802
  purchase_purchase_invoice_views_get_purchase_invoice: {
84801
84803
  parameters: {
84802
84804
  query?: {
84803
- type?: "default" | "creditNote" | "paymentVoucher";
84805
+ type?: "default" | "creditNote" | "paymentVoucher" | "goodsReceiptNote";
84804
84806
  grn?: boolean;
84805
84807
  };
84806
84808
  header?: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erp-galoper/types",
3
- "version": "1.0.1745",
3
+ "version": "1.0.1747",
4
4
  "main": "openapi.ts",
5
5
  "types": "openapi.ts",
6
6
  "files": ["openapi.ts"],