@erp-galoper/types 1.0.953 → 1.0.955

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 +9 -282
  2. package/package.json +1 -1
package/openapi.ts CHANGED
@@ -11014,38 +11014,6 @@ export interface paths {
11014
11014
  patch?: never;
11015
11015
  trace?: never;
11016
11016
  };
11017
- "/api/v1/purchase/invoices/{id}/submit/": {
11018
- parameters: {
11019
- query?: never;
11020
- header?: never;
11021
- path?: never;
11022
- cookie?: never;
11023
- };
11024
- get?: never;
11025
- put?: never;
11026
- /**
11027
- * Cancel Purchase Invoice
11028
- * @description Cancel a purchase invoice.
11029
- *
11030
- * This endpoint allows users to cancel a purchase invoice.
11031
- *
11032
- * ### Responses:
11033
- * - **200**: PurchaseInvoiceSchema.
11034
- * - **400**: .
11035
- * - **403**: invoiceAlreadyCanceled,cantMakeActionOnLockedDocument, permissionDenied, noModuleAccess, noBranchAccess.
11036
- * - **404**: purchaseInvoiceDoesNotExist.
11037
- * - **500**: internalServerError.
11038
- *
11039
- * ### Permissions:
11040
- * - Requires `purchaseinvoice: [cancel]` permission
11041
- */
11042
- post: operations["purchase_purchase_invoice_views_cancel_purchase_invoice"];
11043
- delete?: never;
11044
- options?: never;
11045
- head?: never;
11046
- patch?: never;
11047
- trace?: never;
11048
- };
11049
11017
  "/api/v1/purchase/invoices/{id}/reset-to-draft/": {
11050
11018
  parameters: {
11051
11019
  query?: never;
@@ -11871,8 +11839,7 @@ export interface paths {
11871
11839
  * - purchaseOrderOrPurchaseInvoiceRequired
11872
11840
  * - ReceiptNoteSourceIsPurchaseInvoice
11873
11841
  * - ReceiptNoteSourceIsPurchaseOrder
11874
- * - unitPackageNotAllowed
11875
- * - invalidUnitPackage
11842
+ * - itemPackageNotAllowed
11876
11843
  * - serialNumberExists
11877
11844
  * - batchNumberExists
11878
11845
  *
@@ -23555,7 +23522,7 @@ export interface components {
23555
23522
  * LogModelName
23556
23523
  * @enum {string}
23557
23524
  */
23558
- LogModelName: "item" | "customer" | "supplier" | "internalTransfer" | "stockAdjustment" | "openingQuantity" | "supplierPriceList" | "chartOfAccount" | "journalVoucher" | "requisition" | "requestForQuotation" | "advancePayment" | "paymentVoucher" | "purchaseInvoice" | "purchaseOrder" | "purchaseQuotation" | "purchaseReturnOrder" | "purchaseReturnInvoice" | "refundVoucher" | "purchaseCreditNote" | "project" | "warehouse" | "employeePosition" | "employee" | "accountingSetting" | "defaultGeneralAccounts" | "transactionalSubsidiaryAccounts" | "accountClassification" | "taxes" | "appointmentSettings" | "approvalSettings" | "approvalConfig" | "approvalCondition" | "approvalLevel" | "inventorySettings" | "itemVariantSettings" | "stockAdjustmentSettings" | "openingStockSettings" | "internalTransferSettings" | "posSettings" | "purchaseSettings" | "salesSetting" | "city" | "zone" | "shippingMethod" | "systemSettings" | "transactionLocking" | "userSetting" | "department" | "company" | "branch" | "region" | "currency" | "facility" | "reason" | "emailSetting" | "bank" | "users" | "roles" | "appointment" | "offerAndPromotion" | "salesQuotation" | "salesOrder" | "downPayment" | "receiptVoucher" | "salesCreditNote" | "salesInvoice" | "salesReturnOrder" | "salesReturnInvoice" | "salesRefundVoucher" | "salesPriceList" | "goodsDeliveryNote" | "returnablePackageReconciliation" | "salesReturnPackage" | "package" | "packageType" | "itemPackage" | "goodsReceiptNote" | "salesPerson" | "commissionStructure" | "commissionPayout" | "closingCommission";
23525
+ LogModelName: "item" | "customer" | "supplier" | "internalTransfer" | "stockAdjustment" | "openingQuantity" | "supplierPriceList" | "chartOfAccount" | "journalVoucher" | "requisition" | "requestForQuotation" | "advancePayment" | "paymentVoucher" | "purchaseInvoice" | "purchaseOrder" | "purchaseQuotation" | "purchaseReturnOrder" | "purchaseReturnInvoice" | "refundVoucher" | "purchaseCreditNote" | "project" | "warehouse" | "employeePosition" | "employee" | "accountingSetting" | "defaultGeneralAccounts" | "transactionalSubsidiaryAccounts" | "accountClassification" | "taxes" | "appointmentSettings" | "approvalSettings" | "approvalConfig" | "approvalCondition" | "approvalLevel" | "inventorySettings" | "itemVariantSettings" | "posSettings" | "purchaseSettings" | "salesSetting" | "city" | "zone" | "shippingMethod" | "systemSettings" | "transactionLocking" | "userSetting" | "department" | "company" | "branch" | "region" | "currency" | "facility" | "reason" | "emailSetting" | "bank" | "users" | "roles" | "appointment" | "offerAndPromotion" | "salesQuotation" | "salesOrder" | "downPayment" | "receiptVoucher" | "salesCreditNote" | "salesInvoice" | "salesReturnOrder" | "salesReturnInvoice" | "salesRefundVoucher" | "salesPriceList" | "goodsDeliveryNote" | "returnablePackageReconciliation" | "salesReturnPackage" | "package" | "packageType" | "itemPackage" | "goodsReceiptNote" | "salesPerson" | "commissionStructure" | "commissionPayout" | "closingCommission";
23559
23526
  /**
23560
23527
  * LogType
23561
23528
  * @enum {string}
@@ -23611,7 +23578,7 @@ export interface components {
23611
23578
  * CombinedModelName
23612
23579
  * @enum {string}
23613
23580
  */
23614
- CombinedModelName: "item" | "customer" | "supplier" | "internalTransfer" | "stockAdjustment" | "openingQuantity" | "supplierPriceList" | "chartOfAccount" | "journalVoucher" | "requisition" | "requestForQuotation" | "advancePayment" | "paymentVoucher" | "purchaseInvoice" | "purchaseOrder" | "purchaseQuotation" | "purchaseReturnOrder" | "purchaseReturnInvoice" | "refundVoucher" | "purchaseCreditNote" | "project" | "warehouse" | "employeePosition" | "employee" | "accountingSetting" | "defaultGeneralAccounts" | "transactionalSubsidiaryAccounts" | "accountClassification" | "taxes" | "appointmentSettings" | "approvalSettings" | "approvalConfig" | "approvalCondition" | "approvalLevel" | "inventorySettings" | "itemVariantSettings" | "stockAdjustmentSettings" | "openingStockSettings" | "internalTransferSettings" | "posSettings" | "purchaseSettings" | "salesSetting" | "city" | "zone" | "shippingMethod" | "systemSettings" | "transactionLocking" | "userSetting" | "department" | "company" | "branch" | "region" | "currency" | "facility" | "reason" | "emailSetting" | "bank" | "users" | "roles" | "appointment" | "offerAndPromotion" | "salesQuotation" | "salesOrder" | "downPayment" | "receiptVoucher" | "salesCreditNote" | "salesInvoice" | "salesReturnOrder" | "salesReturnInvoice" | "salesRefundVoucher" | "salesPriceList" | "goodsDeliveryNote" | "returnablePackageReconciliation" | "salesReturnPackage" | "package" | "packageType" | "itemPackage" | "goodsReceiptNote" | "salesPerson" | "commissionStructure" | "commissionPayout" | "closingCommission" | "accountStatement" | "generalLedgerReport" | "trialBalance" | "statementOfAccount" | "profitAndLoss" | "bankStatement" | "balanceSheet" | "projectStatement" | "supplierStatement" | "customerStatement" | "stockReport";
23581
+ CombinedModelName: "item" | "customer" | "supplier" | "internalTransfer" | "stockAdjustment" | "openingQuantity" | "supplierPriceList" | "chartOfAccount" | "journalVoucher" | "requisition" | "requestForQuotation" | "advancePayment" | "paymentVoucher" | "purchaseInvoice" | "purchaseOrder" | "purchaseQuotation" | "purchaseReturnOrder" | "purchaseReturnInvoice" | "refundVoucher" | "purchaseCreditNote" | "project" | "warehouse" | "employeePosition" | "employee" | "accountingSetting" | "defaultGeneralAccounts" | "transactionalSubsidiaryAccounts" | "accountClassification" | "taxes" | "appointmentSettings" | "approvalSettings" | "approvalConfig" | "approvalCondition" | "approvalLevel" | "inventorySettings" | "itemVariantSettings" | "posSettings" | "purchaseSettings" | "salesSetting" | "city" | "zone" | "shippingMethod" | "systemSettings" | "transactionLocking" | "userSetting" | "department" | "company" | "branch" | "region" | "currency" | "facility" | "reason" | "emailSetting" | "bank" | "users" | "roles" | "appointment" | "offerAndPromotion" | "salesQuotation" | "salesOrder" | "downPayment" | "receiptVoucher" | "salesCreditNote" | "salesInvoice" | "salesReturnOrder" | "salesReturnInvoice" | "salesRefundVoucher" | "salesPriceList" | "goodsDeliveryNote" | "returnablePackageReconciliation" | "salesReturnPackage" | "package" | "packageType" | "itemPackage" | "goodsReceiptNote" | "salesPerson" | "commissionStructure" | "commissionPayout" | "closingCommission" | "accountStatement" | "generalLedgerReport" | "trialBalance" | "statementOfAccount" | "profitAndLoss" | "bankStatement" | "balanceSheet" | "projectStatement" | "supplierStatement" | "customerStatement" | "stockReport";
23615
23582
  /**
23616
23583
  * ActionSchema
23617
23584
  * @enum {string}
@@ -32195,8 +32162,6 @@ export interface components {
32195
32162
  CalculateRequisitionItemsResponse: {
32196
32163
  /** Quantity */
32197
32164
  quantity: number;
32198
- /** Unitpackage */
32199
- unitPackage: number | null;
32200
32165
  /** Estimatedcost */
32201
32166
  estimatedCost: number | null;
32202
32167
  /** Total */
@@ -32225,11 +32190,6 @@ export interface components {
32225
32190
  * @description choose from the item itemPackage
32226
32191
  */
32227
32192
  itemPackage?: string;
32228
- /**
32229
- * Unitpackage
32230
- * @description This field is required when purchase invoice item has item package
32231
- */
32232
- unitPackage?: number;
32233
32193
  /**
32234
32194
  * Estimatedcost
32235
32195
  * @description to get item cost if exist use route /supplier/price_list/item_prices/{item_id}/ with query param supplier_id
@@ -32369,8 +32329,6 @@ export interface components {
32369
32329
  quantity: number;
32370
32330
  unitOfMeasure: components["schemas"]["UnitOfMeasureSummaryInfo"] | null;
32371
32331
  itemPackage: components["schemas"]["ItemPackageSummarySchema"] | null;
32372
- /** Unitpackage */
32373
- unitPackage: number | null;
32374
32332
  reasonForRestock: components["schemas"]["ReasonSummaryInfo"] | null;
32375
32333
  /** Estimatedcost */
32376
32334
  estimatedCost: number | null;
@@ -32468,11 +32426,6 @@ export interface components {
32468
32426
  * @description choose from the item's itemPackage
32469
32427
  */
32470
32428
  itemPackage?: string | null;
32471
- /**
32472
- * Unitpackage
32473
- * @description This field is required when the package is selected
32474
- */
32475
- unitPackage?: number | null;
32476
32429
  };
32477
32430
  /**
32478
32431
  * requisitionTypes
@@ -32582,11 +32535,6 @@ export interface components {
32582
32535
  * @description choose from the item's itemPackage
32583
32536
  */
32584
32537
  itemPackage?: string | null;
32585
- /**
32586
- * Unitpackage
32587
- * @description This field is required when the package is selected
32588
- */
32589
- unitPackage?: number | null;
32590
32538
  /**
32591
32539
  * Id
32592
32540
  * Format: uuid
@@ -32747,8 +32695,6 @@ export interface components {
32747
32695
  quantity: number;
32748
32696
  unitOfMeasure: components["schemas"]["UnitOfMeasureSummaryInfo"] | null;
32749
32697
  itemPackage: components["schemas"]["ItemPackageSummarySchema"] | null;
32750
- /** Unitpackage */
32751
- unitPackage: number | null;
32752
32698
  };
32753
32699
  /** NewRequestForQuotationSchema */
32754
32700
  NewRequestForQuotationSchema: {
@@ -32838,11 +32784,6 @@ export interface components {
32838
32784
  * @description choose from the item's itemPackage
32839
32785
  */
32840
32786
  itemPackage?: string | null;
32841
- /**
32842
- * Unitpackage
32843
- * @description This field is required when the package is selected
32844
- */
32845
- unitPackage?: number | null;
32846
32787
  };
32847
32788
  /** ListRequestForQuotations */
32848
32789
  ListRequestForQuotations: {
@@ -32932,11 +32873,6 @@ export interface components {
32932
32873
  * @description choose from the item's itemPackage
32933
32874
  */
32934
32875
  itemPackage?: string | null;
32935
- /**
32936
- * Unitpackage
32937
- * @description This field is required when the package is selected
32938
- */
32939
- unitPackage?: number | null;
32940
32876
  /**
32941
32877
  * Id
32942
32878
  * Format: uuid
@@ -33481,8 +33417,6 @@ export interface components {
33481
33417
  /** Unitprice */
33482
33418
  unitPrice: number;
33483
33419
  itemPackage: components["schemas"]["ItemPackageSummarySchema"] | null;
33484
- /** Unitpackage */
33485
- unitPackage: number | null;
33486
33420
  /** Discount */
33487
33421
  discount?: number | null;
33488
33422
  /** Subtotal */
@@ -33680,11 +33614,6 @@ export interface components {
33680
33614
  * @description choose from the item's itemPackage
33681
33615
  */
33682
33616
  itemPackage?: string;
33683
- /**
33684
- * Unitpackage
33685
- * @description This field is required when the package is selected
33686
- */
33687
- unitPackage?: number;
33688
33617
  /**
33689
33618
  * Quantity
33690
33619
  * @description
@@ -33885,8 +33814,6 @@ export interface components {
33885
33814
  quantity: number;
33886
33815
  /** Unitprice */
33887
33816
  unitPrice: number;
33888
- /** Unitpackage */
33889
- unitPackage: number | null;
33890
33817
  itemPackage: components["schemas"]["ItemPackageSummarySchema"] | null;
33891
33818
  /** Discount */
33892
33819
  discount: number;
@@ -33954,8 +33881,6 @@ export interface components {
33954
33881
  quantity?: number;
33955
33882
  /** Unitprice */
33956
33883
  unitPrice: number;
33957
- /** Unitpackage */
33958
- unitPackage?: number;
33959
33884
  /**
33960
33885
  * Itempackage
33961
33886
  * Format: uuid
@@ -34030,8 +33955,6 @@ export interface components {
34030
33955
  /** Unitprice */
34031
33956
  unitPrice: number;
34032
33957
  itemPackage: components["schemas"]["ItemPackageSummarySchema"] | null;
34033
- /** Unitpackage */
34034
- unitPackage: number | null;
34035
33958
  /** Discount */
34036
33959
  discount?: number | null;
34037
33960
  /** Subtotal */
@@ -34233,11 +34156,6 @@ export interface components {
34233
34156
  * @description choose from the item's itemPackage
34234
34157
  */
34235
34158
  itemPackage?: string;
34236
- /**
34237
- * Unitpackage
34238
- * @description This field is required when the package is selected
34239
- */
34240
- unitPackage?: number;
34241
34159
  /**
34242
34160
  * Quantity
34243
34161
  * @description
@@ -34434,8 +34352,6 @@ export interface components {
34434
34352
  /** Unitprice */
34435
34353
  unitPrice: number;
34436
34354
  itemPackage: components["schemas"]["ItemPackageSummarySchema"] | null;
34437
- /** Unitpackage */
34438
- unitPackage: number | null;
34439
34355
  purchaseInvoice: components["schemas"]["PurchaseInvoiceForReturnOrderReturnSchema"];
34440
34356
  /** Discount */
34441
34357
  discount: number;
@@ -34592,11 +34508,6 @@ export interface components {
34592
34508
  * @description This field is required when purchase invoice item does not have item package
34593
34509
  */
34594
34510
  quantity?: number;
34595
- /**
34596
- * Unitpackage
34597
- * @description This field is required when purchase invoice item has item package
34598
- */
34599
- unitPackage?: number;
34600
34511
  };
34601
34512
  /** CreateUpdatePurchaseReturnOrderSchema */
34602
34513
  CreateUpdatePurchaseReturnOrderSchema: {
@@ -34757,8 +34668,6 @@ export interface components {
34757
34668
  unitPrice: number;
34758
34669
  /** Quantity */
34759
34670
  quantity: number;
34760
- /** Unitpackage */
34761
- unitPackage?: number | null;
34762
34671
  /**
34763
34672
  * Discount
34764
34673
  * @description The discount percentage applied to the sales invoice.
@@ -34814,11 +34723,6 @@ export interface components {
34814
34723
  *
34815
34724
  */
34816
34725
  quantity?: number;
34817
- /**
34818
- * Unitpackage
34819
- * @description This field is required when purchase invoice item has item package
34820
- */
34821
- unitPackage?: number;
34822
34726
  };
34823
34727
  /** ReturnPurchaseOrderTotalCalculationRequest */
34824
34728
  ReturnPurchaseOrderTotalCalculationRequest: {
@@ -35020,8 +34924,6 @@ export interface components {
35020
34924
  /** Unitprice */
35021
34925
  unitPrice: number;
35022
34926
  itemPackage: components["schemas"]["ItemPackageSummarySchema"] | null;
35023
- /** Unitpackage */
35024
- unitPackage: number | null;
35025
34927
  /** Discount */
35026
34928
  discount: number;
35027
34929
  /** Taxes */
@@ -35316,7 +35218,7 @@ export interface components {
35316
35218
  * - The quantity of the items, incase of package, it should be unitPackage * quantity of the package
35317
35219
  *
35318
35220
  */
35319
- quantity?: number;
35221
+ quantity: number;
35320
35222
  /**
35321
35223
  * Unitofmeasurement
35322
35224
  * @description
@@ -35339,11 +35241,6 @@ export interface components {
35339
35241
  * @description choose from the item's itemPackage
35340
35242
  */
35341
35243
  itemPackage?: string;
35342
- /**
35343
- * Unitpackage
35344
- * @description This field is required when the package is selected
35345
- */
35346
- unitPackage?: number;
35347
35244
  /** Discount */
35348
35245
  discount: number;
35349
35246
  /**
@@ -35380,7 +35277,7 @@ export interface components {
35380
35277
  * - The quantity of the items, incase of package, it should be unitPackage * quantity of the package
35381
35278
  *
35382
35279
  */
35383
- quantity?: number;
35280
+ quantity: number;
35384
35281
  /**
35385
35282
  * Unitofmeasurement
35386
35283
  * @description
@@ -35399,11 +35296,6 @@ export interface components {
35399
35296
  * @description choose from the item's itemPackage
35400
35297
  */
35401
35298
  itemPackage?: string | null;
35402
- /**
35403
- * Unitpackage
35404
- * @description This field is required when the package is selected
35405
- */
35406
- unitPackage?: number | null;
35407
35299
  /** Discount */
35408
35300
  discount: number;
35409
35301
  /**
@@ -36144,8 +36036,6 @@ export interface components {
36144
36036
  /** Unitprice */
36145
36037
  unitPrice: number;
36146
36038
  itemPackage: components["schemas"]["ItemPackageSummarySchema"] | null;
36147
- /** Unitpackage */
36148
- unitPackage: number | null;
36149
36039
  purchaseInvoice: components["schemas"]["PurchaseInvoiceForReturnInvoiceReturnSchema"];
36150
36040
  /** Discount */
36151
36041
  discount: number;
@@ -36325,11 +36215,6 @@ export interface components {
36325
36215
  *
36326
36216
  */
36327
36217
  quantity?: number;
36328
- /**
36329
- * Unitpackage
36330
- * @description This field is required when purchase invoice item has item package
36331
- */
36332
- unitPackage?: number;
36333
36218
  };
36334
36219
  /** CreateUpdatePurchaseReturnInvoiceSchema */
36335
36220
  CreateUpdatePurchaseReturnInvoiceSchema: {
@@ -36489,8 +36374,6 @@ export interface components {
36489
36374
  unitPrice: number;
36490
36375
  /** Quantity */
36491
36376
  quantity: number;
36492
- /** Unitpackage */
36493
- unitPackage?: number | null;
36494
36377
  /**
36495
36378
  * Discount
36496
36379
  * @description The discount percentage applied to the sales invoice.
@@ -36543,11 +36426,6 @@ export interface components {
36543
36426
  * @description This field is required when purchase invoice item does not have item package
36544
36427
  */
36545
36428
  quantity?: number;
36546
- /**
36547
- * Unitpackage
36548
- * @description This field is required when purchase invoice item has item package
36549
- */
36550
- unitPackage?: number;
36551
36429
  };
36552
36430
  /** ReturnPurchaseInvoiceTotalCalculationRequest */
36553
36431
  ReturnPurchaseInvoiceTotalCalculationRequest: {
@@ -36596,8 +36474,6 @@ export interface components {
36596
36474
  /** @description Tracking method: serial_number, batch, or quantity */
36597
36475
  trackInventoryBy?: components["schemas"]["TrackingMethodChoices"] | null;
36598
36476
  itemPackage: components["schemas"]["ItemPackageSummarySchema"] | null;
36599
- /** Unitpackage */
36600
- unitPackage: number | null;
36601
36477
  /** Quantityreceived */
36602
36478
  quantityReceived: number;
36603
36479
  /**
@@ -36698,18 +36574,13 @@ export interface components {
36698
36574
  * @description Serial number or batch number based on the tracking method
36699
36575
  */
36700
36576
  number?: string | null;
36701
- /**
36702
- * Unitpackage
36703
- * @description This field is required when the package is selected
36704
- */
36705
- unitPackage?: number | null;
36706
36577
  /**
36707
36578
  * Quantity
36708
36579
  * @description
36709
36580
  * - if tracked by serial number, quantity must be 1
36710
36581
  * - if tracked by quantity, quantity must be equal to quantity received,
36711
36582
  * - if tracked by batch, quantity can be any number but the sum of all quantities must be equal to quantity received,
36712
- * - if unit_package is selected, quantity must be equal to unit_package * item_package quantity
36583
+ *
36713
36584
  * @default 1
36714
36585
  */
36715
36586
  quantity: number | null;
@@ -36744,11 +36615,6 @@ export interface components {
36744
36615
  * @description choose from the item's itemPackage
36745
36616
  */
36746
36617
  itemPackage?: string;
36747
- /**
36748
- * Unitpackage
36749
- * @description This field is required when the package is selected
36750
- */
36751
- unitPackage?: number;
36752
36618
  /** Quantityreceived */
36753
36619
  quantityReceived: number;
36754
36620
  /**
@@ -37071,8 +36937,6 @@ export interface components {
37071
36937
  currency: components["schemas"]["CurrencySummaryInfo"] | null;
37072
36938
  item: components["schemas"]["ItemSummaryInfo"] | null;
37073
36939
  itemPackage: components["schemas"]["ItemPackageSharedSchema"] | null;
37074
- /** Unitpackage */
37075
- unitPackage: number | null;
37076
36940
  itemCategory: components["schemas"]["ProductCategorySharedSchema"] | null;
37077
36941
  brand: components["schemas"]["BrandSchema"] | null;
37078
36942
  family: components["schemas"]["ProductCategorySharedSchema"] | null;
@@ -37319,11 +37183,6 @@ export interface components {
37319
37183
  *
37320
37184
  */
37321
37185
  itemPackage?: string;
37322
- /**
37323
- * Unitpackage
37324
- * @description visible and required when item package is selected
37325
- */
37326
- unitPackage?: number;
37327
37186
  /**
37328
37187
  * Itemcategory
37329
37188
  * @description
@@ -37516,11 +37375,6 @@ export interface components {
37516
37375
  *
37517
37376
  */
37518
37377
  itemPackage?: string;
37519
- /**
37520
- * Unitpackage
37521
- * @description visible and required when item package is selected
37522
- */
37523
- unitPackage?: number;
37524
37378
  /**
37525
37379
  * Itemcategory
37526
37380
  * @description
@@ -40039,8 +39893,6 @@ export interface components {
40039
39893
  quantity: number;
40040
39894
  /** Unitprice */
40041
39895
  unitPrice: string;
40042
- /** Unitpackage */
40043
- unitPackage: number | null;
40044
39896
  itemPackage: components["schemas"]["ItemPackageSummarySchema"] | null;
40045
39897
  /** Packagedepositcharge */
40046
39898
  packageDepositCharge?: string | null;
@@ -40153,8 +40005,6 @@ export interface components {
40153
40005
  quantity?: number;
40154
40006
  /** Unitprice */
40155
40007
  unitPrice: number;
40156
- /** Unitpackage */
40157
- unitPackage?: number;
40158
40008
  /**
40159
40009
  * Itempackage
40160
40010
  * Format: uuid
@@ -40266,8 +40116,6 @@ export interface components {
40266
40116
  */
40267
40117
  unitPrice: string;
40268
40118
  itemPackage: components["schemas"]["ItemPackageSummarySchema"] | null;
40269
- /** Unitpackage */
40270
- unitPackage: number | null;
40271
40119
  /**
40272
40120
  * Packagedepositcharge
40273
40121
  * @description
@@ -40552,11 +40400,6 @@ export interface components {
40552
40400
  * @description choose from the item's itemPackage if the item is selected
40553
40401
  */
40554
40402
  itemPackage?: string;
40555
- /**
40556
- * Unitpackage
40557
- * @description This field is required when the package is selected
40558
- */
40559
- unitPackage?: number;
40560
40403
  /**
40561
40404
  * Unitprice
40562
40405
  * @description
@@ -42476,11 +42319,6 @@ export interface components {
42476
42319
  unitPrice: string;
42477
42320
  /** @description Details of the selected item package, if applicable. */
42478
42321
  itemPackage: components["schemas"]["ItemPackageSummarySchema"] | null;
42479
- /**
42480
- * Unitpackage
42481
- * @description The number of units in the selected package.
42482
- */
42483
- unitPackage: number | null;
42484
42322
  /**
42485
42323
  * Packagedepositcharge
42486
42324
  * @description This field is a number representing the deposit charge for the selected package, if applicable.
@@ -42808,11 +42646,6 @@ export interface components {
42808
42646
  * @description Choose from the item's itemPackage if there is item
42809
42647
  */
42810
42648
  itemPackage?: string;
42811
- /**
42812
- * Unitpackage
42813
- * @description This field is required when the package is selected
42814
- */
42815
- unitPackage?: number;
42816
42649
  /**
42817
42650
  * Unitprice
42818
42651
  * @description
@@ -44169,11 +44002,6 @@ export interface components {
44169
44002
  unitPrice: string;
44170
44003
  /** @description Details of the selected item package, if applicable. */
44171
44004
  itemPackage: components["schemas"]["ItemPackageSummarySchema"] | null;
44172
- /**
44173
- * Unitpackage
44174
- * @description The number of units in the selected package.
44175
- */
44176
- unitPackage: number | null;
44177
44005
  /**
44178
44006
  * Packagedepositcharge
44179
44007
  * @description This field is a number representing the deposit charge for the selected package, if applicable.
@@ -44499,18 +44327,13 @@ export interface components {
44499
44327
  * - The quantity of the items, incase of package, it should be unitPackage * quantity of the package
44500
44328
  *
44501
44329
  */
44502
- quantity?: number;
44330
+ quantity: number;
44503
44331
  /**
44504
44332
  * Itempackage
44505
44333
  * Format: uuid
44506
44334
  * @description Choose from the item's itemPackage if item and inventory is on
44507
44335
  */
44508
44336
  itemPackage?: string;
44509
- /**
44510
- * Unitpackage
44511
- * @description This field is required when the package is selected, and inventory is on
44512
- */
44513
- unitPackage?: number;
44514
44337
  /**
44515
44338
  * Unitprice
44516
44339
  * @description
@@ -45025,8 +44848,6 @@ export interface components {
45025
44848
  /** Unitprice */
45026
44849
  unitPrice: string;
45027
44850
  itemPackage: components["schemas"]["ItemPackageSummarySchema"] | null;
45028
- /** Unitpackage */
45029
- unitPackage: number | null;
45030
44851
  /**
45031
44852
  * Discount
45032
44853
  * @description The discount percentage applied to the sales invoice.
@@ -45208,11 +45029,6 @@ export interface components {
45208
45029
  *
45209
45030
  */
45210
45031
  quantity?: number;
45211
- /**
45212
- * Unitpackage
45213
- * @description This field is required when sales invoice item has item package
45214
- */
45215
- unitPackage?: number;
45216
45032
  };
45217
45033
  /** CreateUpdateSalesReturnOrderSchema */
45218
45034
  CreateUpdateSalesReturnOrderSchema: {
@@ -45383,8 +45199,6 @@ export interface components {
45383
45199
  unitPrice: string;
45384
45200
  /** Quantity */
45385
45201
  quantity: number;
45386
- /** Unitpackage */
45387
- unitPackage?: number | null;
45388
45202
  /**
45389
45203
  * Discount
45390
45204
  * @description The discount percentage applied to the sales invoice.
@@ -45450,8 +45264,6 @@ export interface components {
45450
45264
  *
45451
45265
  */
45452
45266
  quantity?: number;
45453
- /** Unitpackage */
45454
- unitPackage?: number | null;
45455
45267
  };
45456
45268
  /** SalesReturnOrderTotalCalculationRequest */
45457
45269
  SalesReturnOrderTotalCalculationRequest: {
@@ -45497,8 +45309,6 @@ export interface components {
45497
45309
  /** Unitprice */
45498
45310
  unitPrice: string;
45499
45311
  itemPackage: components["schemas"]["ItemPackageSummarySchema"] | null;
45500
- /** Unitpackage */
45501
- unitPackage: number | null;
45502
45312
  /**
45503
45313
  * Discount
45504
45314
  * @description The discount percentage applied to the sales invoice.
@@ -45685,11 +45495,6 @@ export interface components {
45685
45495
  *
45686
45496
  */
45687
45497
  quantity?: number;
45688
- /**
45689
- * Unitpackage
45690
- * @description This field is required when sales invoice item has an item package.
45691
- */
45692
- unitPackage?: number;
45693
45498
  };
45694
45499
  /** CreateUpdateSalesReturnInvoiceSchema */
45695
45500
  CreateUpdateSalesReturnInvoiceSchema: {
@@ -45849,8 +45654,6 @@ export interface components {
45849
45654
  total: string;
45850
45655
  /** Quantity */
45851
45656
  quantity: number;
45852
- /** Unitpackage */
45853
- unitPackage?: number | null;
45854
45657
  /** Unitprice */
45855
45658
  unitPrice: string;
45856
45659
  /**
@@ -45908,8 +45711,6 @@ export interface components {
45908
45711
  *
45909
45712
  */
45910
45713
  quantity?: number;
45911
- /** Unitpackage */
45912
- unitPackage?: number | null;
45913
45714
  };
45914
45715
  /** SalesReturnInvoiceTotalCalculationRequest */
45915
45716
  SalesReturnInvoiceTotalCalculationRequest: {
@@ -46728,8 +46529,6 @@ export interface components {
46728
46529
  /** @description The unit of measure selected from the item's options */
46729
46530
  unitOfMeasure: components["schemas"]["UnitOfMeasureSummaryInfo"] | null;
46730
46531
  itemPackage: components["schemas"]["ItemPackageSummarySchema"] | null;
46731
- /** Unitpackage */
46732
- unitPackage: number | null;
46733
46532
  /** Quantity */
46734
46533
  quantity: number;
46735
46534
  /**
@@ -46821,11 +46620,6 @@ export interface components {
46821
46620
  * @default 1
46822
46621
  */
46823
46622
  quantity: number | null;
46824
- /**
46825
- * Unitpackage
46826
- * @description Unit package size if applicable.
46827
- */
46828
- unitPackage?: number | null;
46829
46623
  };
46830
46624
  /** CreateOrUpdateGoodsDeliveryNoteItemsSchema */
46831
46625
  CreateOrUpdateGoodsDeliveryNoteItemsSchema: {
@@ -46855,11 +46649,6 @@ export interface components {
46855
46649
  * @description Choose from the item's itemPackage
46856
46650
  */
46857
46651
  itemPackage?: string;
46858
- /**
46859
- * Unitpackage
46860
- * @description This field is required when the package is selected
46861
- */
46862
- unitPackage?: number;
46863
46652
  /** Quantity */
46864
46653
  quantity: number;
46865
46654
  /**
@@ -52401,7 +52190,7 @@ export interface operations {
52401
52190
  };
52402
52191
  header?: never;
52403
52192
  path: {
52404
- logModelName: "item" | "customer" | "supplier" | "internalTransfer" | "stockAdjustment" | "openingQuantity" | "supplierPriceList" | "chartOfAccount" | "journalVoucher" | "requisition" | "requestForQuotation" | "advancePayment" | "paymentVoucher" | "purchaseInvoice" | "purchaseOrder" | "purchaseQuotation" | "purchaseReturnOrder" | "purchaseReturnInvoice" | "refundVoucher" | "purchaseCreditNote" | "project" | "warehouse" | "employeePosition" | "employee" | "accountingSetting" | "defaultGeneralAccounts" | "transactionalSubsidiaryAccounts" | "accountClassification" | "taxes" | "appointmentSettings" | "approvalSettings" | "approvalConfig" | "approvalCondition" | "approvalLevel" | "inventorySettings" | "itemVariantSettings" | "stockAdjustmentSettings" | "openingStockSettings" | "internalTransferSettings" | "posSettings" | "purchaseSettings" | "salesSetting" | "city" | "zone" | "shippingMethod" | "systemSettings" | "transactionLocking" | "userSetting" | "department" | "company" | "branch" | "region" | "currency" | "facility" | "reason" | "emailSetting" | "bank" | "users" | "roles" | "appointment" | "offerAndPromotion" | "salesQuotation" | "salesOrder" | "downPayment" | "receiptVoucher" | "salesCreditNote" | "salesInvoice" | "salesReturnOrder" | "salesReturnInvoice" | "salesRefundVoucher" | "salesPriceList" | "goodsDeliveryNote" | "returnablePackageReconciliation" | "salesReturnPackage" | "package" | "packageType" | "itemPackage" | "goodsReceiptNote" | "salesPerson" | "commissionStructure" | "commissionPayout" | "closingCommission";
52193
+ logModelName: "item" | "customer" | "supplier" | "internalTransfer" | "stockAdjustment" | "openingQuantity" | "supplierPriceList" | "chartOfAccount" | "journalVoucher" | "requisition" | "requestForQuotation" | "advancePayment" | "paymentVoucher" | "purchaseInvoice" | "purchaseOrder" | "purchaseQuotation" | "purchaseReturnOrder" | "purchaseReturnInvoice" | "refundVoucher" | "purchaseCreditNote" | "project" | "warehouse" | "employeePosition" | "employee" | "accountingSetting" | "defaultGeneralAccounts" | "transactionalSubsidiaryAccounts" | "accountClassification" | "taxes" | "appointmentSettings" | "approvalSettings" | "approvalConfig" | "approvalCondition" | "approvalLevel" | "inventorySettings" | "itemVariantSettings" | "posSettings" | "purchaseSettings" | "salesSetting" | "city" | "zone" | "shippingMethod" | "systemSettings" | "transactionLocking" | "userSetting" | "department" | "company" | "branch" | "region" | "currency" | "facility" | "reason" | "emailSetting" | "bank" | "users" | "roles" | "appointment" | "offerAndPromotion" | "salesQuotation" | "salesOrder" | "downPayment" | "receiptVoucher" | "salesCreditNote" | "salesInvoice" | "salesReturnOrder" | "salesReturnInvoice" | "salesRefundVoucher" | "salesPriceList" | "goodsDeliveryNote" | "returnablePackageReconciliation" | "salesReturnPackage" | "package" | "packageType" | "itemPackage" | "goodsReceiptNote" | "salesPerson" | "commissionStructure" | "commissionPayout" | "closingCommission";
52405
52194
  };
52406
52195
  cookie?: never;
52407
52196
  };
@@ -52439,7 +52228,7 @@ export interface operations {
52439
52228
  common_views_get_model_names: {
52440
52229
  parameters: {
52441
52230
  query?: {
52442
- CombinedModelNames?: "item" | "customer" | "supplier" | "internalTransfer" | "stockAdjustment" | "openingQuantity" | "supplierPriceList" | "chartOfAccount" | "journalVoucher" | "requisition" | "requestForQuotation" | "advancePayment" | "paymentVoucher" | "purchaseInvoice" | "purchaseOrder" | "purchaseQuotation" | "purchaseReturnOrder" | "purchaseReturnInvoice" | "refundVoucher" | "purchaseCreditNote" | "project" | "warehouse" | "employeePosition" | "employee" | "accountingSetting" | "defaultGeneralAccounts" | "transactionalSubsidiaryAccounts" | "accountClassification" | "taxes" | "appointmentSettings" | "approvalSettings" | "approvalConfig" | "approvalCondition" | "approvalLevel" | "inventorySettings" | "itemVariantSettings" | "stockAdjustmentSettings" | "openingStockSettings" | "internalTransferSettings" | "posSettings" | "purchaseSettings" | "salesSetting" | "city" | "zone" | "shippingMethod" | "systemSettings" | "transactionLocking" | "userSetting" | "department" | "company" | "branch" | "region" | "currency" | "facility" | "reason" | "emailSetting" | "bank" | "users" | "roles" | "appointment" | "offerAndPromotion" | "salesQuotation" | "salesOrder" | "downPayment" | "receiptVoucher" | "salesCreditNote" | "salesInvoice" | "salesReturnOrder" | "salesReturnInvoice" | "salesRefundVoucher" | "salesPriceList" | "goodsDeliveryNote" | "returnablePackageReconciliation" | "salesReturnPackage" | "package" | "packageType" | "itemPackage" | "goodsReceiptNote" | "salesPerson" | "commissionStructure" | "commissionPayout" | "closingCommission" | "accountStatement" | "generalLedgerReport" | "trialBalance" | "statementOfAccount" | "profitAndLoss" | "bankStatement" | "balanceSheet" | "projectStatement" | "supplierStatement" | "customerStatement" | "stockReport";
52231
+ CombinedModelNames?: "item" | "customer" | "supplier" | "internalTransfer" | "stockAdjustment" | "openingQuantity" | "supplierPriceList" | "chartOfAccount" | "journalVoucher" | "requisition" | "requestForQuotation" | "advancePayment" | "paymentVoucher" | "purchaseInvoice" | "purchaseOrder" | "purchaseQuotation" | "purchaseReturnOrder" | "purchaseReturnInvoice" | "refundVoucher" | "purchaseCreditNote" | "project" | "warehouse" | "employeePosition" | "employee" | "accountingSetting" | "defaultGeneralAccounts" | "transactionalSubsidiaryAccounts" | "accountClassification" | "taxes" | "appointmentSettings" | "approvalSettings" | "approvalConfig" | "approvalCondition" | "approvalLevel" | "inventorySettings" | "itemVariantSettings" | "posSettings" | "purchaseSettings" | "salesSetting" | "city" | "zone" | "shippingMethod" | "systemSettings" | "transactionLocking" | "userSetting" | "department" | "company" | "branch" | "region" | "currency" | "facility" | "reason" | "emailSetting" | "bank" | "users" | "roles" | "appointment" | "offerAndPromotion" | "salesQuotation" | "salesOrder" | "downPayment" | "receiptVoucher" | "salesCreditNote" | "salesInvoice" | "salesReturnOrder" | "salesReturnInvoice" | "salesRefundVoucher" | "salesPriceList" | "goodsDeliveryNote" | "returnablePackageReconciliation" | "salesReturnPackage" | "package" | "packageType" | "itemPackage" | "goodsReceiptNote" | "salesPerson" | "commissionStructure" | "commissionPayout" | "closingCommission" | "accountStatement" | "generalLedgerReport" | "trialBalance" | "statementOfAccount" | "profitAndLoss" | "bankStatement" | "balanceSheet" | "projectStatement" | "supplierStatement" | "customerStatement" | "stockReport";
52443
52232
  };
52444
52233
  header?: never;
52445
52234
  path?: never;
@@ -70896,68 +70685,6 @@ export interface operations {
70896
70685
  };
70897
70686
  };
70898
70687
  };
70899
- purchase_purchase_invoice_views_cancel_purchase_invoice: {
70900
- parameters: {
70901
- query?: never;
70902
- header?: never;
70903
- path: {
70904
- id: string;
70905
- };
70906
- cookie?: never;
70907
- };
70908
- requestBody: {
70909
- content: {
70910
- "application/json": components["schemas"]["PasswordSchema"];
70911
- };
70912
- };
70913
- responses: {
70914
- /** @description OK */
70915
- 200: {
70916
- headers: {
70917
- [name: string]: unknown;
70918
- };
70919
- content: {
70920
- "application/json": components["schemas"]["PurchaseInvoiceWithEntriesSchema"];
70921
- };
70922
- };
70923
- /** @description Bad Request */
70924
- 400: {
70925
- headers: {
70926
- [name: string]: unknown;
70927
- };
70928
- content: {
70929
- "application/json": components["schemas"]["ErrorMessages"];
70930
- };
70931
- };
70932
- /** @description Forbidden */
70933
- 403: {
70934
- headers: {
70935
- [name: string]: unknown;
70936
- };
70937
- content: {
70938
- "application/json": components["schemas"]["MessageResponse"];
70939
- };
70940
- };
70941
- /** @description Not Found */
70942
- 404: {
70943
- headers: {
70944
- [name: string]: unknown;
70945
- };
70946
- content: {
70947
- "application/json": components["schemas"]["MessageResponse"];
70948
- };
70949
- };
70950
- /** @description Internal Server Error */
70951
- 500: {
70952
- headers: {
70953
- [name: string]: unknown;
70954
- };
70955
- content: {
70956
- "application/json": components["schemas"]["MessageResponse"];
70957
- };
70958
- };
70959
- };
70960
- };
70961
70688
  purchase_purchase_invoice_views_reset_to_draft_purchase_invoice: {
70962
70689
  parameters: {
70963
70690
  query?: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erp-galoper/types",
3
- "version": "1.0.953",
3
+ "version": "1.0.955",
4
4
  "main": "openapi.ts",
5
5
  "types": "openapi.ts",
6
6
  "files": ["openapi.ts"],