truflow 0.0.109 → 0.0.110

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.
@@ -46,6 +46,6 @@ export type ICalculateStartDates = (summary: string[], data: IZapierOrder) => Pr
46
46
  entries: IDateEntry[];
47
47
  shipDate?: DateTime;
48
48
  }>;
49
- export type IUpdateAllmoxyShipDate = (id: string | number, shipDate: DateTime, userID: mongoose.Types.ObjectId) => Promise<void>;
49
+ export type IUpdateAllmoxyShipDate = (id: string | number, shipDate: DateTime, userID?: mongoose.Types.ObjectId) => void;
50
50
  export type IPopulateDatabase = (entries: IDateEntry[], requestBody: IZapierOrder) => Promise<void>;
51
51
  export type ICreateTotalsEntry = (startDate: string, dateEntry: IDateEntry) => Promise<void>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "truflow",
3
- "version": "0.0.109",
3
+ "version": "0.0.110",
4
4
  "main": "./dist/index.js",
5
5
  "license": "MIT",
6
6
  "scripts": {
@@ -40,8 +40,8 @@ export type ICalculateStartDates = (
40
40
  export type IUpdateAllmoxyShipDate = (
41
41
  id: string | number,
42
42
  shipDate: DateTime,
43
- userID: mongoose.Types.ObjectId
44
- ) => Promise<void>;
43
+ userID?: mongoose.Types.ObjectId
44
+ ) => void;
45
45
 
46
46
  export type IPopulateDatabase = (
47
47
  entries: IDateEntry[],