@nimee/shared-types 1.0.284 → 1.0.286

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.
@@ -83,6 +83,9 @@ export interface IChargeModel {
83
83
  createdBy?: string;
84
84
  description?: string;
85
85
  endUser?: string;
86
+ endUserSeasonTicket?: string;
86
87
  refundReason?: string;
87
88
  paymentMethod?: PaymentMethod;
89
+ iteration?: number;
90
+ refundedAmount?: number;
88
91
  }
@@ -4,5 +4,6 @@
4
4
  export declare enum PaymentProviders {
5
5
  PAYME = "payme",
6
6
  LEEWAY = "leeway",
7
- STRIPE = "stripe"
7
+ STRIPE = "stripe",
8
+ CASH = "cash"
8
9
  }
@@ -9,5 +9,6 @@ var PaymentProviders;
9
9
  PaymentProviders["PAYME"] = "payme";
10
10
  PaymentProviders["LEEWAY"] = "leeway";
11
11
  PaymentProviders["STRIPE"] = "stripe";
12
+ PaymentProviders["CASH"] = "cash";
12
13
  })(PaymentProviders || (exports.PaymentProviders = PaymentProviders = {}));
13
14
  //# sourceMappingURL=paymentProvider.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"paymentProvider.js","sourceRoot":"","sources":["../../src/payment/paymentProvider.ts"],"names":[],"mappings":";;;AAAA;;GAEG;AACH,IAAY,gBAIX;AAJD,WAAY,gBAAgB;IAC1B,mCAAe,CAAA;IACf,qCAAiB,CAAA;IACjB,qCAAiB,CAAA;AACnB,CAAC,EAJW,gBAAgB,gCAAhB,gBAAgB,QAI3B"}
1
+ {"version":3,"file":"paymentProvider.js","sourceRoot":"","sources":["../../src/payment/paymentProvider.ts"],"names":[],"mappings":";;;AAAA;;GAEG;AACH,IAAY,gBAKX;AALD,WAAY,gBAAgB;IAC1B,mCAAe,CAAA;IACf,qCAAiB,CAAA;IACjB,qCAAiB,CAAA;IACjB,iCAAa,CAAA;AACf,CAAC,EALW,gBAAgB,gCAAhB,gBAAgB,QAK3B"}
@@ -25,7 +25,6 @@ export interface IUserEventModel {
25
25
  event: string | IEventModel;
26
26
  account: string;
27
27
  ticket: string;
28
- isApproved: boolean;
29
28
  isCheckedIn: boolean;
30
29
  charge: string;
31
30
  fbProfile: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nimee/shared-types",
3
- "version": "1.0.284",
3
+ "version": "1.0.286",
4
4
  "description": "Types and interfaces that any service can access if needed",
5
5
  "main": "dist/index.js",
6
6
  "author": "dan goldberg",
@@ -94,6 +94,9 @@ export interface IChargeModel {
94
94
  createdBy?: string;
95
95
  description?: string;
96
96
  endUser?: string;
97
+ endUserSeasonTicket?: string;
97
98
  refundReason?: string;
98
99
  paymentMethod?: PaymentMethod;
100
+ iteration?: number; // 1-based; copied from webhook sub_iterations_completed for Payme subscription iterations
101
+ refundedAmount?: number; // agorot; running total of refunded amount on a subscription iteration sale row
99
102
  }
@@ -5,4 +5,5 @@ export enum PaymentProviders {
5
5
  PAYME = "payme",
6
6
  LEEWAY = "leeway",
7
7
  STRIPE = "stripe",
8
+ CASH = "cash",
8
9
  }
@@ -25,7 +25,6 @@ export interface IUserEventModel {
25
25
  event: string | IEventModel;
26
26
  account: string;
27
27
  ticket: string;
28
- isApproved: boolean;
29
28
  isCheckedIn: boolean;
30
29
  charge: string;
31
30
  fbProfile: string;