quirons-broker
Advanced tools
Comparing version 0.0.1-alpha.87 to 0.0.1-alpha.88
@@ -227,3 +227,3 @@ import * as t from 'io-ts'; | ||
WarehouseInternalId: t.StringC; | ||
ValueOfCurrentStockAmount: t.UnionC<[t.StringC, t.NumberC]>; | ||
CurrentStockAmount: t.UnionC<[t.StringC, t.NumberC]>; | ||
BookedStockAmount: t.UnionC<[t.StringC, t.NumberC]>; | ||
@@ -290,2 +290,3 @@ }>>; | ||
Series: t.UnionC<[t.StringC, t.NullC]>; | ||
SellerInternalId: t.StringC; | ||
}>]>; | ||
@@ -292,0 +293,0 @@ }>]>; |
@@ -72,3 +72,3 @@ "use strict"; | ||
amoutBooked: parseInt(`${warehouse.BookedStockAmount}`), | ||
physicalBalance: parseInt(`${warehouse.ValueOfCurrentStockAmount}`), | ||
physicalBalance: parseInt(`${warehouse.CurrentStockAmount}`), | ||
operation: Header.Event, | ||
@@ -75,0 +75,0 @@ originMessageId: Header.UUID, |
@@ -63,3 +63,3 @@ "use strict"; | ||
erpId: Content.InternalId, | ||
erpItem: item.InternalId, | ||
erpItem: item.RequestItemInternalId, | ||
operation: Header.Event, | ||
@@ -66,0 +66,0 @@ originMessageId: Header.UUID, |
@@ -110,8 +110,10 @@ import * as t from 'io-ts'; | ||
ProcessedOn: t.UnionC<[t.Type<Date, string, unknown>, t.Type<string, string, unknown>]>; | ||
Details: t.ArrayC<t.TypeC<{ | ||
Details: t.ArrayC<t.IntersectionC<[t.TypeC<{ | ||
Code: t.StringC; | ||
Message: t.StringC; | ||
DetailedMessage: t.StringC; | ||
HelpUrl: t.StringC; | ||
}>>; | ||
}>, t.PartialC<{ | ||
DetailedMessage: t.UnionC<[t.StringC, t.NullC]>; | ||
HelpUrl: t.UnionC<[t.StringC, t.NullC]>; | ||
helpUrl: t.UnionC<[t.StringC, t.NullC]>; | ||
}>]>>; | ||
}>; | ||
@@ -118,0 +120,0 @@ ReceivedMessage: t.TypeC<{ |
@@ -144,8 +144,13 @@ "use strict"; | ||
ProcessedOn: t.union([custom_types_1.datetime, custom_types_1.date]), | ||
Details: t.array(t.type({ | ||
Code: t.string, | ||
Message: t.string, | ||
DetailedMessage: t.string, | ||
HelpUrl: t.string | ||
})) | ||
Details: t.array(t.intersection([ | ||
t.type({ | ||
Code: t.string, | ||
Message: t.string, | ||
}), | ||
t.partial({ | ||
DetailedMessage: custom_types_1.nullable(t.string), | ||
HelpUrl: custom_types_1.nullable(t.string), | ||
helpUrl: custom_types_1.nullable(t.string) | ||
}) | ||
])) | ||
}), | ||
@@ -152,0 +157,0 @@ ReceivedMessage: t.type({ |
@@ -110,8 +110,10 @@ import * as t from 'io-ts'; | ||
ProcessedOn: t.UnionC<[t.Type<Date, string, unknown>, t.Type<string, string, unknown>]>; | ||
Details: t.ArrayC<t.TypeC<{ | ||
Details: t.ArrayC<t.IntersectionC<[t.TypeC<{ | ||
Code: t.StringC; | ||
Message: t.StringC; | ||
DetailedMessage: t.StringC; | ||
HelpUrl: t.StringC; | ||
}>>; | ||
}>, t.PartialC<{ | ||
DetailedMessage: t.UnionC<[t.StringC, t.NullC]>; | ||
HelpUrl: t.UnionC<[t.StringC, t.NullC]>; | ||
helpUrl: t.UnionC<[t.StringC, t.NullC]>; | ||
}>]>>; | ||
}>; | ||
@@ -118,0 +120,0 @@ ReceivedMessage: t.TypeC<{ |
@@ -161,8 +161,13 @@ "use strict"; | ||
ProcessedOn: t.union([custom_types_1.datetime, custom_types_1.date]), | ||
Details: t.array(t.type({ | ||
Code: t.string, | ||
Message: t.string, | ||
DetailedMessage: t.string, | ||
HelpUrl: t.string | ||
})) | ||
Details: t.array(t.intersection([ | ||
t.type({ | ||
Code: t.string, | ||
Message: t.string, | ||
}), | ||
t.partial({ | ||
DetailedMessage: custom_types_1.nullable(t.string), | ||
HelpUrl: custom_types_1.nullable(t.string), | ||
helpUrl: custom_types_1.nullable(t.string) | ||
}) | ||
])) | ||
}), | ||
@@ -169,0 +174,0 @@ ReceivedMessage: t.type({ |
@@ -110,8 +110,10 @@ import * as t from 'io-ts'; | ||
ProcessedOn: t.UnionC<[t.Type<Date, string, unknown>, t.Type<string, string, unknown>]>; | ||
Details: t.ArrayC<t.TypeC<{ | ||
Details: t.ArrayC<t.IntersectionC<[t.TypeC<{ | ||
Code: t.StringC; | ||
Message: t.StringC; | ||
DetailedMessage: t.StringC; | ||
HelpUrl: t.StringC; | ||
}>>; | ||
}>, t.PartialC<{ | ||
DetailedMessage: t.UnionC<[t.StringC, t.NullC]>; | ||
HelpUrl: t.UnionC<[t.StringC, t.NullC]>; | ||
helpUrl: t.UnionC<[t.StringC, t.NullC]>; | ||
}>]>>; | ||
}>; | ||
@@ -118,0 +120,0 @@ ReceivedMessage: t.TypeC<{ |
@@ -173,8 +173,13 @@ "use strict"; | ||
ProcessedOn: t.union([custom_types_1.datetime, custom_types_1.date]), | ||
Details: t.array(t.type({ | ||
Code: t.string, | ||
Message: t.string, | ||
DetailedMessage: t.string, | ||
HelpUrl: t.string | ||
})) | ||
Details: t.array(t.intersection([ | ||
t.type({ | ||
Code: t.string, | ||
Message: t.string, | ||
}), | ||
t.partial({ | ||
DetailedMessage: custom_types_1.nullable(t.string), | ||
HelpUrl: custom_types_1.nullable(t.string), | ||
helpUrl: custom_types_1.nullable(t.string) | ||
}) | ||
])) | ||
}), | ||
@@ -181,0 +186,0 @@ ReceivedMessage: t.type({ |
@@ -110,8 +110,10 @@ import * as t from 'io-ts'; | ||
ProcessedOn: t.UnionC<[t.Type<Date, string, unknown>, t.Type<string, string, unknown>]>; | ||
Details: t.ArrayC<t.TypeC<{ | ||
Details: t.ArrayC<t.IntersectionC<[t.TypeC<{ | ||
Code: t.StringC; | ||
Message: t.StringC; | ||
DetailedMessage: t.StringC; | ||
HelpUrl: t.StringC; | ||
}>>; | ||
}>, t.PartialC<{ | ||
DetailedMessage: t.UnionC<[t.StringC, t.NullC]>; | ||
HelpUrl: t.UnionC<[t.StringC, t.NullC]>; | ||
helpUrl: t.UnionC<[t.StringC, t.NullC]>; | ||
}>]>>; | ||
}>; | ||
@@ -118,0 +120,0 @@ ReceivedMessage: t.TypeC<{ |
@@ -145,8 +145,13 @@ "use strict"; | ||
ProcessedOn: t.union([custom_types_1.datetime, custom_types_1.date]), | ||
Details: t.array(t.type({ | ||
Code: t.string, | ||
Message: t.string, | ||
DetailedMessage: t.string, | ||
HelpUrl: t.string | ||
})) | ||
Details: t.array(t.intersection([ | ||
t.type({ | ||
Code: t.string, | ||
Message: t.string, | ||
}), | ||
t.partial({ | ||
DetailedMessage: custom_types_1.nullable(t.string), | ||
HelpUrl: custom_types_1.nullable(t.string), | ||
helpUrl: custom_types_1.nullable(t.string) | ||
}) | ||
])) | ||
}), | ||
@@ -153,0 +158,0 @@ ReceivedMessage: t.type({ |
@@ -110,8 +110,10 @@ import * as t from 'io-ts'; | ||
ProcessedOn: t.UnionC<[t.Type<Date, string, unknown>, t.Type<string, string, unknown>]>; | ||
Details: t.ArrayC<t.TypeC<{ | ||
Details: t.ArrayC<t.IntersectionC<[t.TypeC<{ | ||
Code: t.StringC; | ||
Message: t.StringC; | ||
DetailedMessage: t.StringC; | ||
HelpUrl: t.StringC; | ||
}>>; | ||
}>, t.PartialC<{ | ||
DetailedMessage: t.UnionC<[t.StringC, t.NullC]>; | ||
HelpUrl: t.UnionC<[t.StringC, t.NullC]>; | ||
helpUrl: t.UnionC<[t.StringC, t.NullC]>; | ||
}>]>>; | ||
}>; | ||
@@ -152,3 +154,3 @@ ReceivedMessage: t.TypeC<{ | ||
WarehouseInternalId: t.StringC; | ||
ValueOfCurrentStockAmount: t.UnionC<[t.StringC, t.NumberC]>; | ||
CurrentStockAmount: t.UnionC<[t.StringC, t.NumberC]>; | ||
BookedStockAmount: t.UnionC<[t.StringC, t.NumberC]>; | ||
@@ -190,3 +192,3 @@ }>>; | ||
WarehouseInternalId: t.StringC; | ||
ValueOfCurrentStockAmount: t.UnionC<[t.StringC, t.NumberC]>; | ||
CurrentStockAmount: t.UnionC<[t.StringC, t.NumberC]>; | ||
BookedStockAmount: t.UnionC<[t.StringC, t.NumberC]>; | ||
@@ -193,0 +195,0 @@ }>>; |
@@ -88,3 +88,3 @@ "use strict"; | ||
WarehouseInternalId: t.string, | ||
ValueOfCurrentStockAmount: t.union([t.string, t.number]), | ||
CurrentStockAmount: t.union([t.string, t.number]), | ||
BookedStockAmount: t.union([t.string, t.number]), | ||
@@ -151,8 +151,13 @@ }); | ||
ProcessedOn: t.union([custom_types_1.datetime, custom_types_1.date]), | ||
Details: t.array(t.type({ | ||
Code: t.string, | ||
Message: t.string, | ||
DetailedMessage: t.string, | ||
HelpUrl: t.string | ||
})) | ||
Details: t.array(t.intersection([ | ||
t.type({ | ||
Code: t.string, | ||
Message: t.string, | ||
}), | ||
t.partial({ | ||
DetailedMessage: custom_types_1.nullable(t.string), | ||
HelpUrl: custom_types_1.nullable(t.string), | ||
helpUrl: custom_types_1.nullable(t.string) | ||
}) | ||
])) | ||
}), | ||
@@ -159,0 +164,0 @@ ReceivedMessage: t.type({ |
@@ -110,8 +110,10 @@ import * as t from 'io-ts'; | ||
ProcessedOn: t.UnionC<[t.Type<Date, string, unknown>, t.Type<string, string, unknown>]>; | ||
Details: t.ArrayC<t.TypeC<{ | ||
Details: t.ArrayC<t.IntersectionC<[t.TypeC<{ | ||
Code: t.StringC; | ||
Message: t.StringC; | ||
DetailedMessage: t.StringC; | ||
HelpUrl: t.StringC; | ||
}>>; | ||
}>, t.PartialC<{ | ||
DetailedMessage: t.UnionC<[t.StringC, t.NullC]>; | ||
HelpUrl: t.UnionC<[t.StringC, t.NullC]>; | ||
helpUrl: t.UnionC<[t.StringC, t.NullC]>; | ||
}>]>>; | ||
}>; | ||
@@ -174,2 +176,3 @@ ReceivedMessage: t.TypeC<{ | ||
Series: t.UnionC<[t.StringC, t.NullC]>; | ||
SellerInternalId: t.StringC; | ||
}>]>; | ||
@@ -226,2 +229,3 @@ }>; | ||
Series: t.UnionC<[t.StringC, t.NullC]>; | ||
SellerInternalId: t.StringC; | ||
}>]>>; | ||
@@ -228,0 +232,0 @@ }>; |
@@ -119,3 +119,4 @@ "use strict"; | ||
Number: custom_types_1.nullable(t.string), | ||
Series: custom_types_1.nullable(t.string) | ||
Series: custom_types_1.nullable(t.string), | ||
SellerInternalId: t.string | ||
}) | ||
@@ -167,8 +168,13 @@ ]); | ||
ProcessedOn: t.union([custom_types_1.datetime, custom_types_1.date]), | ||
Details: t.array(t.type({ | ||
Code: t.string, | ||
Message: t.string, | ||
DetailedMessage: t.string, | ||
HelpUrl: t.string | ||
})) | ||
Details: t.array(t.intersection([ | ||
t.type({ | ||
Code: t.string, | ||
Message: t.string, | ||
}), | ||
t.partial({ | ||
DetailedMessage: custom_types_1.nullable(t.string), | ||
HelpUrl: custom_types_1.nullable(t.string), | ||
helpUrl: custom_types_1.nullable(t.string) | ||
}) | ||
])) | ||
}), | ||
@@ -175,0 +181,0 @@ ReceivedMessage: t.type({ |
@@ -110,8 +110,10 @@ import * as t from 'io-ts'; | ||
ProcessedOn: t.UnionC<[t.Type<Date, string, unknown>, t.Type<string, string, unknown>]>; | ||
Details: t.ArrayC<t.TypeC<{ | ||
Details: t.ArrayC<t.IntersectionC<[t.TypeC<{ | ||
Code: t.StringC; | ||
Message: t.StringC; | ||
DetailedMessage: t.StringC; | ||
HelpUrl: t.StringC; | ||
}>>; | ||
}>, t.PartialC<{ | ||
DetailedMessage: t.UnionC<[t.StringC, t.NullC]>; | ||
HelpUrl: t.UnionC<[t.StringC, t.NullC]>; | ||
helpUrl: t.UnionC<[t.StringC, t.NullC]>; | ||
}>]>>; | ||
}>; | ||
@@ -118,0 +120,0 @@ ReceivedMessage: t.TypeC<{ |
@@ -144,8 +144,13 @@ "use strict"; | ||
ProcessedOn: t.union([custom_types_1.datetime, custom_types_1.date]), | ||
Details: t.array(t.type({ | ||
Code: t.string, | ||
Message: t.string, | ||
DetailedMessage: t.string, | ||
HelpUrl: t.string | ||
})) | ||
Details: t.array(t.intersection([ | ||
t.type({ | ||
Code: t.string, | ||
Message: t.string, | ||
}), | ||
t.partial({ | ||
DetailedMessage: custom_types_1.nullable(t.string), | ||
HelpUrl: custom_types_1.nullable(t.string), | ||
helpUrl: custom_types_1.nullable(t.string) | ||
}) | ||
])) | ||
}), | ||
@@ -152,0 +157,0 @@ ReceivedMessage: t.type({ |
@@ -110,8 +110,10 @@ import * as t from 'io-ts'; | ||
ProcessedOn: t.UnionC<[t.Type<Date, string, unknown>, t.Type<string, string, unknown>]>; | ||
Details: t.ArrayC<t.TypeC<{ | ||
Details: t.ArrayC<t.IntersectionC<[t.TypeC<{ | ||
Code: t.StringC; | ||
Message: t.StringC; | ||
DetailedMessage: t.StringC; | ||
HelpUrl: t.StringC; | ||
}>>; | ||
}>, t.PartialC<{ | ||
DetailedMessage: t.UnionC<[t.StringC, t.NullC]>; | ||
HelpUrl: t.UnionC<[t.StringC, t.NullC]>; | ||
helpUrl: t.UnionC<[t.StringC, t.NullC]>; | ||
}>]>>; | ||
}>; | ||
@@ -118,0 +120,0 @@ ReceivedMessage: t.TypeC<{ |
@@ -143,8 +143,13 @@ "use strict"; | ||
ProcessedOn: t.union([custom_types_1.datetime, custom_types_1.date]), | ||
Details: t.array(t.type({ | ||
Code: t.string, | ||
Message: t.string, | ||
DetailedMessage: t.string, | ||
HelpUrl: t.string | ||
})) | ||
Details: t.array(t.intersection([ | ||
t.type({ | ||
Code: t.string, | ||
Message: t.string, | ||
}), | ||
t.partial({ | ||
DetailedMessage: custom_types_1.nullable(t.string), | ||
HelpUrl: custom_types_1.nullable(t.string), | ||
helpUrl: custom_types_1.nullable(t.string) | ||
}) | ||
])) | ||
}), | ||
@@ -151,0 +156,0 @@ ReceivedMessage: t.type({ |
{ | ||
"name": "quirons-broker", | ||
"version": "0.0.1-alpha.87", | ||
"version": "0.0.1-alpha.88", | ||
"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
857032
20115