quirons-broker
Advanced tools
Comparing version 0.0.1-alpha.67 to 0.0.1-alpha.68
@@ -0,1 +1,2 @@ | ||
export { Converter as CostCenterConverter } from './cost-center'; | ||
export { Converter as ItemConverter } from './item'; | ||
@@ -2,0 +3,0 @@ export { Converter as SellerConverter } from './seller'; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var cost_center_1 = require("./cost-center"); | ||
Object.defineProperty(exports, "CostCenterConverter", { enumerable: true, get: function () { return cost_center_1.Converter; } }); | ||
var item_1 = require("./item"); | ||
@@ -4,0 +6,0 @@ Object.defineProperty(exports, "ItemConverter", { enumerable: true, get: function () { return item_1.Converter; } }); |
@@ -25,2 +25,3 @@ "use strict"; | ||
const constructors_1 = require("../constructors"); | ||
const cost_center_1 = require("./internal/cost-center"); | ||
const item_1 = require("./internal/item"); | ||
@@ -32,2 +33,3 @@ const seller_1 = require("./internal/seller"); | ||
const warehouse_1 = require("./internal/warehouse"); | ||
const CostCenter_1 = require("./schema/CostCenter"); | ||
const Item_1 = require("./schema/Item"); | ||
@@ -44,2 +46,3 @@ const Request_1 = require("./schema/Request"); | ||
exports.BusinessMessage = t.union([ | ||
constructors_1.userMessage('costcenter', t.array(cost_center_1.CostCenter)), | ||
constructors_1.userMessage('item', t.array(item_1.Item)), | ||
@@ -67,2 +70,4 @@ constructors_1.userMessage('unitofmeasure', t.array(unit_of_measure_1.UnitOfMeasure)), | ||
StockTurnOver_1.StockTurnOverReturn, | ||
CostCenter_1.CostCenterError, | ||
CostCenter_1.CostCenterReturn, | ||
Item_1.ItemError, | ||
@@ -69,0 +74,0 @@ Item_1.ItemReturn, |
@@ -24,2 +24,21 @@ import * as t from 'io-ts'; | ||
Type: t.StringC; | ||
Transaction: t.LiteralC<"ITEM">; | ||
StandardVersion: t.StringC; | ||
SourceApplication: t.StringC; | ||
ProductName: t.StringC; | ||
ProductVersion: t.StringC; | ||
CompanyId: t.StringC; | ||
BranchId: t.StringC; | ||
GeneratedOn: t.Type<Date, string, unknown>; | ||
DeliveryType: t.StringC; | ||
Event: t.UnionC<[t.LiteralC<"upsert">, t.LiteralC<"delete">]>; | ||
}>, t.PartialC<{ | ||
SubType: t.UnionC<[t.StringC, t.NullC]>; | ||
Version: t.UnionC<[t.StringC, t.NullC]>; | ||
CompanySharingMode: t.UnionC<[t.StringC, t.NullC]>; | ||
BusinessUnitySharingMode: t.UnionC<[t.StringC, t.NullC]>; | ||
BranchSharingMode: t.UnionC<[t.StringC, t.NullC]>; | ||
}>]>, t.IntersectionC<[t.TypeC<{ | ||
UUID: t.StringC; | ||
Type: t.StringC; | ||
Transaction: t.LiteralC<"REQUEST">; | ||
@@ -26,0 +45,0 @@ StandardVersion: t.StringC; |
@@ -25,2 +25,3 @@ "use strict"; | ||
const Item_1 = require("./Item"); | ||
const Item_2 = require("./Item"); | ||
const Request_1 = require("./Request"); | ||
@@ -34,2 +35,3 @@ const Seller_1 = require("./Seller"); | ||
Item_1.Header, | ||
Item_2.Header, | ||
Request_1.Header, | ||
@@ -36,0 +38,0 @@ Seller_1.Header, |
{ | ||
"name": "quirons-broker", | ||
"version": "0.0.1-alpha.67", | ||
"version": "0.0.1-alpha.68", | ||
"description": "A small library to expose the broker types", | ||
@@ -5,0 +5,0 @@ "main": "index.ts", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
821414
19806