@erp-galoper/types 1.0.560 → 1.0.562

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 +129 -12
  2. package/package.json +1 -1
package/openapi.ts CHANGED
@@ -26974,7 +26974,7 @@ export interface components {
26974
26974
  /**
26975
26975
  * Id
26976
26976
  * Format: uuid
26977
- * @example 082fa698-3410-4905-97ec-274d8fd525bd
26977
+ * @example ab7edfd7-5261-4fa8-9c96-1c3523bb16ac
26978
26978
  */
26979
26979
  id: string;
26980
26980
  /**
@@ -33584,6 +33584,123 @@ export interface components {
33584
33584
  serialNumber: string;
33585
33585
  approvalStatus: components["schemas"]["ApprovalValueChoices"];
33586
33586
  };
33587
+ /** PurchaseInvoiceDetailSchema */
33588
+ PurchaseInvoiceDetailSchema: {
33589
+ /**
33590
+ * Datecreated
33591
+ * Format: date-time
33592
+ */
33593
+ dateCreated: string;
33594
+ /** Datemodified */
33595
+ dateModified: string | null;
33596
+ createdBy: components["schemas"]["RecordUserSchema"];
33597
+ modifiedBy: components["schemas"]["RecordUserSchema"] | null;
33598
+ /**
33599
+ * Id
33600
+ * Format: uuid
33601
+ */
33602
+ id: string;
33603
+ /** Serialnumber */
33604
+ serialNumber: string;
33605
+ branch: components["schemas"]["BranchSummaryInfo"];
33606
+ /**
33607
+ * Date
33608
+ * Format: date
33609
+ */
33610
+ date: string;
33611
+ /** Referencenumber */
33612
+ referenceNumber: string | null;
33613
+ supplier: components["schemas"]["ChildSupplierSharedSchema"];
33614
+ /**
33615
+ * @description Purchase order ID, hit the purchase_order endpoint to get the list of purchase orders, filtered by the supplier
33616
+ * @default []
33617
+ */
33618
+ purchaseOrder: components["schemas"]["PurchaseOrderSharedSchema"] | null;
33619
+ /**
33620
+ * @description Advanced payment ID, to get advance payments use route /v1/purchase/advance-payments/?branchId=1&type=purchaseInvoice&supplier={supplier-id}
33621
+ * @default []
33622
+ */
33623
+ advancePayment: components["schemas"]["AdvancedPaymentSharedSchema"] | null;
33624
+ /**
33625
+ * Goodsreceiptnote
33626
+ * @description Goods receipt note ID, hit the goods_receipt_note endpoint to get the list of goods receipt notes, filtered by the supplier
33627
+ * @default []
33628
+ */
33629
+ goodsReceiptNote: components["schemas"]["ReceiptNoteSharedSchema"][];
33630
+ /**
33631
+ * Paymentvouchers
33632
+ * @default []
33633
+ */
33634
+ paymentVouchers: components["schemas"]["PaymentVoucherSharedSchema"][];
33635
+ /**
33636
+ * Debitnotes
33637
+ * @default []
33638
+ */
33639
+ debitNotes: components["schemas"]["DebitNoteSharedSchema"][];
33640
+ department: components["schemas"]["DepartmentCommonSchema"];
33641
+ /** Attachments */
33642
+ attachments: string[] | null;
33643
+ /** Description */
33644
+ description: string | null;
33645
+ /** Notes */
33646
+ notes: string | null;
33647
+ paymentTerms: components["schemas"]["PaymentTermsSchema"];
33648
+ /** Duedate */
33649
+ dueDate?: string | null;
33650
+ status: components["schemas"]["DocumentStatusValue"];
33651
+ paymentStatus: components["schemas"]["PaymentStatusChoices"];
33652
+ receivingStatus: components["schemas"]["ReceivingStatusChoices"];
33653
+ /** Usdrate */
33654
+ usdRate: number;
33655
+ /** Companyrate */
33656
+ companyRate: number;
33657
+ /** Subtotal */
33658
+ subTotal: number;
33659
+ /** Usdsubtotal */
33660
+ usdSubTotal: number;
33661
+ /** Companysubtotal */
33662
+ companySubTotal: number;
33663
+ /** Discount */
33664
+ discount: number;
33665
+ /** Discountedtotal */
33666
+ discountedTotal: number;
33667
+ /** Usddiscountedtotal */
33668
+ usdDiscountedTotal: number;
33669
+ /** Companydiscountedtotal */
33670
+ companyDiscountedTotal: number;
33671
+ /** Taxamount */
33672
+ taxAmount: number;
33673
+ /** Companytaxamount */
33674
+ companyTaxAmount: number;
33675
+ /** Usdtaxamount */
33676
+ usdTaxAmount: number;
33677
+ /** Total */
33678
+ total: number;
33679
+ /** Usdtotal */
33680
+ usdTotal: number;
33681
+ /** Companytotal */
33682
+ companyTotal: number;
33683
+ /** Candelete */
33684
+ canDelete: boolean;
33685
+ /** Canconvert */
33686
+ canConvert: boolean;
33687
+ warehouse: components["schemas"]["WarehouseSummaryInfo"] | null;
33688
+ /** @description visible when supplier is not resident */
33689
+ tax: components["schemas"]["TaxSharedSchema"] | null;
33690
+ /**
33691
+ * Remaining
33692
+ * @description this field is number
33693
+ */
33694
+ remaining?: string | null;
33695
+ /** Linkeddocuments */
33696
+ linkedDocuments?: {
33697
+ [key: string]: components["schemas"]["LinkedDocumentsSchema"];
33698
+ }[];
33699
+ /** @description visible when project module is active */
33700
+ project: components["schemas"]["ProjectSummaryInfo"] | null;
33701
+ /** Items */
33702
+ items: components["schemas"]["PurchaseInvoiceItemsGetSchema"][];
33703
+ };
33587
33704
  /** PurchaseInvoiceItemsGetSchema */
33588
33705
  PurchaseInvoiceItemsGetSchema: {
33589
33706
  /**
@@ -33642,17 +33759,7 @@ export interface components {
33642
33759
  PurchaseInvoiceListResponse: {
33643
33760
  info: components["schemas"]["PageInfoSchema"];
33644
33761
  /** Results */
33645
- results: components["schemas"]["PurchaseInvoiceSchema"][];
33646
- };
33647
- /** PurchaseInvoiceSchema */
33648
- PurchaseInvoiceSchema: {
33649
- /**
33650
- * Id
33651
- * Format: uuid
33652
- */
33653
- id: string;
33654
- /** Serialnumber */
33655
- serialNumber: string;
33762
+ results: components["schemas"]["PurchaseInvoiceDetailSchema"][];
33656
33763
  };
33657
33764
  /** PurchaseOrderSharedSchema */
33658
33765
  PurchaseOrderSharedSchema: {
@@ -35386,6 +35493,16 @@ export interface components {
35386
35493
  /** History */
35387
35494
  history: components["schemas"]["History"][];
35388
35495
  };
35496
+ /** PurchaseInvoiceSchema */
35497
+ PurchaseInvoiceSchema: {
35498
+ /**
35499
+ * Id
35500
+ * Format: uuid
35501
+ */
35502
+ id: string;
35503
+ /** Serialnumber */
35504
+ serialNumber: string;
35505
+ };
35389
35506
  /** PurchaseItemHistoryPrice */
35390
35507
  PurchaseItemHistoryPrice: {
35391
35508
  /** Id */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erp-galoper/types",
3
- "version": "1.0.560",
3
+ "version": "1.0.562",
4
4
  "main": "openapi.ts",
5
5
  "types": "openapi.ts",
6
6
  "files": ["openapi.ts"],