@erp-galoper/types 1.0.224 → 1.0.226

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 +13 -4
  2. package/package.json +1 -1
package/openapi.ts CHANGED
@@ -26581,7 +26581,7 @@ export interface components {
26581
26581
  /**
26582
26582
  * Id
26583
26583
  * Format: uuid
26584
- * @example 7030a511-9d22-40ac-8b40-4e0774c05e52
26584
+ * @example a95470fa-8f68-44ca-8bf1-4f3e7bc770bb
26585
26585
  */
26586
26586
  id: string;
26587
26587
  /**
@@ -31001,6 +31001,11 @@ export interface components {
31001
31001
  /** Payments */
31002
31002
  payments: components["schemas"]["NewAdvancePaymentItemsSchema"][];
31003
31003
  };
31004
+ /**
31005
+ * AdvancePaymentTypeSchema
31006
+ * @enum {string}
31007
+ */
31008
+ AdvancePaymentTypeSchema: "default" | "purchaseInvoice";
31004
31009
  /** ListAdvancePayments */
31005
31010
  ListAdvancePayments: {
31006
31011
  info: components["schemas"]["PageInfoSchema"];
@@ -32587,7 +32592,7 @@ export interface components {
32587
32592
  */
32588
32593
  purchaseOrder: components["schemas"]["PurchaseOrderSharedSchema"] | null;
32589
32594
  /**
32590
- * @description Advanced payment ID, hit the advance_payment endpoint to get the list of advanced payments, filtered by the supplier
32595
+ * @description Advanced payment ID, to get advance payments use route /v1/purchase/advance-payments/?branchId=1&type=purchaseInvoice&supplier={supplier-id}
32591
32596
  * @default []
32592
32597
  */
32593
32598
  advancePayment: components["schemas"]["AdvancedPaymentSharedSchema"] | null;
@@ -32714,7 +32719,7 @@ export interface components {
32714
32719
  purchaseOrder: string | null;
32715
32720
  /**
32716
32721
  * Advancepayment
32717
- * @description Advanced payment ID, hit the advance_payment endpoint to get the list of advanced payments, filtered by the supplier
32722
+ * @description Advanced payment ID,to get advance payments use route /v1/purchase/advance-payments/?branchId=1&type=purchaseInvoice&supplier={supplier-id}
32718
32723
  */
32719
32724
  advancePayment: string | null;
32720
32725
  /**
@@ -32886,7 +32891,7 @@ export interface components {
32886
32891
  purchaseOrder: string | null;
32887
32892
  /**
32888
32893
  * Advancepayment
32889
- * @description Advanced payment ID, hit the advance_payment endpoint to get the list of advanced payments
32894
+ * @description Advanced payment ID,to get advance payments use route /v1/purchase/advance-payments/?branchId=1&type=purchaseInvoice&supplier={supplier-id}
32890
32895
  */
32891
32896
  advancePayment: string | null;
32892
32897
  /** Attachments */
@@ -64089,6 +64094,10 @@ export interface operations {
64089
64094
  endDate?: string | null;
64090
64095
  /** @description search by advance payment number or description or supplier name */
64091
64096
  search?: string;
64097
+ /** @description used when fetch advance payments in purchase invoice */
64098
+ type?: "default" | "purchaseInvoice";
64099
+ /** @description supplier id, required when type = purchaseInvoice */
64100
+ supplier?: number;
64092
64101
  };
64093
64102
  header?: never;
64094
64103
  path?: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erp-galoper/types",
3
- "version": "1.0.224",
3
+ "version": "1.0.226",
4
4
  "main": "openapi.ts",
5
5
  "types": "openapi.ts",
6
6
  "files": ["openapi.ts"],