meemup-library 1.3.29 → 1.3.31

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.
@@ -0,0 +1,6 @@
1
+ declare enum EnumMemberSalaryPayMode {
2
+ None = 0,
3
+ Hourly = 1,
4
+ Salary = 2
5
+ }
6
+ export default EnumMemberSalaryPayMode;
@@ -0,0 +1,7 @@
1
+ var EnumMemberSalaryPayMode;
2
+ (function (EnumMemberSalaryPayMode) {
3
+ EnumMemberSalaryPayMode[EnumMemberSalaryPayMode["None"] = 0] = "None";
4
+ EnumMemberSalaryPayMode[EnumMemberSalaryPayMode["Hourly"] = 1] = "Hourly";
5
+ EnumMemberSalaryPayMode[EnumMemberSalaryPayMode["Salary"] = 2] = "Salary";
6
+ })(EnumMemberSalaryPayMode || (EnumMemberSalaryPayMode = {}));
7
+ export default EnumMemberSalaryPayMode;
@@ -61,5 +61,6 @@ export default interface IGeneralItems {
61
61
  donationRoundAmountTypes: ITextValue[];
62
62
  landingProductsViewModes: ITextValue[];
63
63
  refreshInventoryStatusTypes: ITextValue[];
64
+ staffPayTypes: ITextValue[];
64
65
  }
65
66
  export declare const initGeneralItems: IGeneralItems;
@@ -59,5 +59,6 @@ export const initGeneralItems = {
59
59
  orderDateTimePrintModeTypes: [],
60
60
  donationRoundAmountTypes: [],
61
61
  landingProductsViewModes: [],
62
- refreshInventoryStatusTypes: []
62
+ refreshInventoryStatusTypes: [],
63
+ staffPayTypes: []
63
64
  };
@@ -0,0 +1,9 @@
1
+ export default interface IManagementMembershipRow {
2
+ id: number;
3
+ enabled: boolean;
4
+ name: string;
5
+ durations: number;
6
+ costs: number;
7
+ dateTime: string;
8
+ }
9
+ export declare const initManagementMembershipRow: IManagementMembershipRow;
@@ -0,0 +1,8 @@
1
+ export const initManagementMembershipRow = {
2
+ id: -1,
3
+ enabled: false,
4
+ name: "",
5
+ durations: 0,
6
+ costs: 0,
7
+ dateTime: ""
8
+ };
@@ -6,5 +6,12 @@ export default interface IAddStaff {
6
6
  pinCode: string;
7
7
  roleId: number;
8
8
  lockoutTimeout: number;
9
+ perType: number;
10
+ hourlyRate: number;
11
+ annualSalary: number;
12
+ weeklyHours: number;
13
+ tipEligible: boolean;
14
+ overtimeExempt: boolean;
15
+ externalId: string;
9
16
  }
10
- export declare const initStaff: IAddStaff;
17
+ export declare const initAddStaff: IAddStaff;
@@ -1,9 +1,16 @@
1
- export const initStaff = {
1
+ export const initAddStaff = {
2
2
  firstName: "",
3
3
  lastName: "",
4
4
  phone: "",
5
5
  email: "",
6
6
  pinCode: "",
7
7
  roleId: 1,
8
- lockoutTimeout: 120
8
+ lockoutTimeout: 120,
9
+ perType: 1,
10
+ hourlyRate: 0,
11
+ annualSalary: 0,
12
+ weeklyHours: 0,
13
+ tipEligible: false,
14
+ overtimeExempt: false,
15
+ externalId: ""
9
16
  };
@@ -1,11 +1,2 @@
1
- export const initStaff = {
2
- id: -1,
3
- disabled: false,
4
- firstName: "",
5
- lastName: "",
6
- phone: "",
7
- email: "",
8
- pinCode: "",
9
- roleId: 1,
10
- lockoutTimeout: 120
11
- };
1
+ import { initAddStaff } from "./IAddStaff";
2
+ export const initStaff = Object.assign({ id: -1, disabled: false }, initAddStaff);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "meemup-library",
3
- "version": "1.3.29",
3
+ "version": "1.3.31",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -11,7 +11,7 @@
11
11
  "remove:one": "rimraf dist",
12
12
  "remove:two": "rimraf ./src/dist",
13
13
  "test": "echo \"Error: no test specified\" && exit 1",
14
- "commit": "git add . && git commit -m \"version.1.3.29 \" && git push origin "
14
+ "commit": "git add . && git commit -m \"version.1.3.31 \" && git push origin "
15
15
  },
16
16
  "files": [
17
17
  "/dist"