@erp-galoper/types 1.0.1615 → 1.0.1617

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 +64 -60
  2. package/package.json +1 -1
package/openapi.ts CHANGED
@@ -9422,8 +9422,7 @@ export interface paths {
9422
9422
  * Responses:
9423
9423
  * - 200: list of TotalSchema
9424
9424
  * - 400: "invalidInput"
9425
- * - 403: "permissionDenied"
9426
- * * as done in the jv items to calculate the total of the items use it here to calculate the total of the items in the supplier price list
9425
+ * - 500: "internalError"
9427
9426
  */
9428
9427
  post: operations["supplier_priceList_views_calculate_total"];
9429
9428
  delete?: never;
@@ -31465,8 +31464,9 @@ export interface components {
31465
31464
  transferredQuantity: number;
31466
31465
  /**
31467
31466
  * Quantityreceived
31468
- * @description - Total quantity received via Goods Receipt Notes linked to this internal transfer
31469
- * - Returns 0.0 if no qualifying GRN exists for this transfer line
31467
+ * @description - Total quantity received for this transfer line
31468
+ * - If transfer originates from transfer request, value is calculated from approved/submitted Goods Receipt Notes related to this transfer
31469
+ * - If it is not from a transfer request, value equals the transferredQuantity directly
31470
31470
  * @default 0
31471
31471
  */
31472
31472
  quantityReceived: number;
@@ -38219,6 +38219,38 @@ export interface components {
38219
38219
  name: string;
38220
38220
  branchId: components["schemas"]["BranchSummaryInfo"];
38221
38221
  };
38222
+ /** ChildSupplierSharedSchema */
38223
+ ChildSupplierSharedSchema: {
38224
+ /** Phone1 */
38225
+ phone1?: string | null;
38226
+ /** Phone2 */
38227
+ phone2?: string | null;
38228
+ /** Fax */
38229
+ fax?: string | null;
38230
+ /** Country */
38231
+ country: string | null;
38232
+ /** Postalcode */
38233
+ postalCode?: string | null;
38234
+ city: components["schemas"]["CommonCity"] | null;
38235
+ /** Address */
38236
+ address?: string | null;
38237
+ /** Website */
38238
+ website?: string | null;
38239
+ /** Id */
38240
+ id: number;
38241
+ /** Name */
38242
+ name: string;
38243
+ /** Accountnumber */
38244
+ accountNumber: string;
38245
+ currency: components["schemas"]["CurrencySummaryInfo"];
38246
+ /**
38247
+ * Currencies
38248
+ * @default []
38249
+ */
38250
+ currencies: components["schemas"]["CurrencySummaryInfo"][];
38251
+ /** Financialnumber */
38252
+ financialNumber?: string | null;
38253
+ };
38222
38254
  /** SupplierPriceListItemsSchema */
38223
38255
  SupplierPriceListItemsSchema: {
38224
38256
  /**
@@ -38233,20 +38265,27 @@ export interface components {
38233
38265
  supplierItemCode: string | null;
38234
38266
  /** Quantity */
38235
38267
  quantity: number;
38236
- unitOfMeasure: components["schemas"]["UnitOfMeasureSharedSchema"];
38268
+ unitOfMeasure: components["schemas"]["UnitOfMeasureSummaryInfo"];
38237
38269
  /** Unitprice */
38238
38270
  unitPrice: number;
38239
38271
  /** Startdate */
38240
38272
  startDate?: string | null;
38241
38273
  /** Enddate */
38242
38274
  endDate?: string | null;
38243
- /** Discount */
38244
- discount?: number | null;
38245
38275
  /**
38246
38276
  * Taxes
38247
38277
  * @default []
38248
38278
  */
38249
38279
  taxes: components["schemas"]["TaxSchema"][] | null;
38280
+ /** Discount */
38281
+ discount?: number | null;
38282
+ /**
38283
+ * Discountedtotal
38284
+ * @default 0
38285
+ */
38286
+ discountedTotal: number;
38287
+ /** Subtotal */
38288
+ subtotal: number;
38250
38289
  /** Total */
38251
38290
  total: number | null;
38252
38291
  };
@@ -38268,7 +38307,7 @@ export interface components {
38268
38307
  id: string;
38269
38308
  /** Name */
38270
38309
  name: string;
38271
- supplier: components["schemas"]["SupplierSharedSchema"];
38310
+ supplier: components["schemas"]["ChildSupplierSharedSchema"];
38272
38311
  /** Items */
38273
38312
  items: components["schemas"]["SupplierPriceListItemsSchema"][];
38274
38313
  /**
@@ -38283,22 +38322,6 @@ export interface components {
38283
38322
  /** Notes */
38284
38323
  notes: string | null;
38285
38324
  };
38286
- /** SupplierSharedSchema */
38287
- SupplierSharedSchema: {
38288
- /** Id */
38289
- id: number;
38290
- /** Name */
38291
- name: string;
38292
- /** Accountnumber */
38293
- accountNumber: string;
38294
- /** Currencies */
38295
- currencies: components["schemas"]["CurrencySummaryInfo"][];
38296
- };
38297
- /** UnitOfMeasureSharedSchema */
38298
- UnitOfMeasureSharedSchema: {
38299
- /** Id */
38300
- id: number;
38301
- };
38302
38325
  /** CreateSupplierPriceListItemsSchema */
38303
38326
  CreateSupplierPriceListItemsSchema: {
38304
38327
  /** Item */
@@ -38382,21 +38405,33 @@ export interface components {
38382
38405
  /** Notes */
38383
38406
  notes: string | null;
38384
38407
  };
38408
+ /** SupplierSharedSchema */
38409
+ SupplierSharedSchema: {
38410
+ /** Id */
38411
+ id: number;
38412
+ /** Name */
38413
+ name: string;
38414
+ /** Accountnumber */
38415
+ accountNumber: string;
38416
+ /** Currencies */
38417
+ currencies: components["schemas"]["CurrencySummaryInfo"][];
38418
+ };
38385
38419
  /** TotalSchema */
38386
38420
  TotalSchema: {
38387
38421
  /** Unitprice */
38388
38422
  unitPrice: number;
38389
38423
  /** Quantity */
38390
38424
  quantity: number;
38425
+ /** Subtotal */
38426
+ subtotal: number;
38391
38427
  /**
38392
38428
  * Discount
38393
38429
  * @default 0
38394
38430
  */
38395
38431
  discount: number | null;
38396
- /**
38397
- * Taxes
38398
- * @default []
38399
- */
38432
+ /** Discountedtotal */
38433
+ discountedTotal: number;
38434
+ /** Taxes */
38400
38435
  taxes: number[];
38401
38436
  /** Total */
38402
38437
  total: number;
@@ -38472,38 +38507,6 @@ export interface components {
38472
38507
  /** Notes */
38473
38508
  notes?: string | null;
38474
38509
  };
38475
- /** ChildSupplierSharedSchema */
38476
- ChildSupplierSharedSchema: {
38477
- /** Phone1 */
38478
- phone1?: string | null;
38479
- /** Phone2 */
38480
- phone2?: string | null;
38481
- /** Fax */
38482
- fax?: string | null;
38483
- /** Country */
38484
- country: string | null;
38485
- /** Postalcode */
38486
- postalCode?: string | null;
38487
- city: components["schemas"]["CommonCity"] | null;
38488
- /** Address */
38489
- address?: string | null;
38490
- /** Website */
38491
- website?: string | null;
38492
- /** Id */
38493
- id: number;
38494
- /** Name */
38495
- name: string;
38496
- /** Accountnumber */
38497
- accountNumber: string;
38498
- currency: components["schemas"]["CurrencySummaryInfo"];
38499
- /**
38500
- * Currencies
38501
- * @default []
38502
- */
38503
- currencies: components["schemas"]["CurrencySummaryInfo"][];
38504
- /** Financialnumber */
38505
- financialNumber?: string | null;
38506
- };
38507
38510
  /** CostSchema */
38508
38511
  CostSchema: {
38509
38512
  supplier: components["schemas"]["ChildSupplierSharedSchema"];
@@ -98010,6 +98013,7 @@ export interface operations {
98010
98013
  /** @description Data sources: salesInvoice, posInvoice, onlineOrder (empty for all) */
98011
98014
  sources?: components["schemas"]["SalesReportSourceType"][] | null;
98012
98015
  branchesIds?: number[] | null;
98016
+ warehousesIds?: number[] | null;
98013
98017
  };
98014
98018
  header?: never;
98015
98019
  path?: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erp-galoper/types",
3
- "version": "1.0.1615",
3
+ "version": "1.0.1617",
4
4
  "main": "openapi.ts",
5
5
  "types": "openapi.ts",
6
6
  "files": ["openapi.ts"],