@nimee/shared-types 1.0.114 → 1.0.116

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.
@@ -47,18 +47,20 @@ export interface IEndUserSeasonTicketModel {
47
47
  description?: string;
48
48
  isPaid?: boolean;
49
49
  salePaidDate?: Date;
50
- buyerCardMask?: string;
51
- buyerCardExp?: string;
52
- buyerName?: string;
53
- buyerEmail?: string;
54
- buyerPhone?: string;
50
+ buyer_phone?: string;
51
+ buyer_card_mask?: string;
52
+ buyer_card_exp?: string;
53
+ buyer_name?: string;
54
+ buyer_email?: string;
55
+ buyer_social_id?: string;
55
56
  }
56
57
  export declare enum ISeasonTicketStatusType {
57
58
  ACTIVE = "active",// the season ticket is active
58
- INITIAL = "Initial",// not yet paid
59
+ INITIAL = "initial",// not yet paid
59
60
  CANCELLED = "cancelled",// the season ticket has been cancelled
60
61
  FAILED = "failed",// one of the payments has failed
61
62
  COMPLETED = "completed",// all payments have been completed
62
63
  EXPIRED = "expired",// the season ticket has expired - end date has passed
63
- PAUSED = "paused"
64
+ PAUSED = "paused",// the season ticket has been paused
65
+ SUB_ITERATION_SUCCESS = "sub-iteration-success"
64
66
  }
@@ -4,11 +4,12 @@ exports.ISeasonTicketStatusType = void 0;
4
4
  var ISeasonTicketStatusType;
5
5
  (function (ISeasonTicketStatusType) {
6
6
  ISeasonTicketStatusType["ACTIVE"] = "active";
7
- ISeasonTicketStatusType["INITIAL"] = "Initial";
7
+ ISeasonTicketStatusType["INITIAL"] = "initial";
8
8
  ISeasonTicketStatusType["CANCELLED"] = "cancelled";
9
9
  ISeasonTicketStatusType["FAILED"] = "failed";
10
10
  ISeasonTicketStatusType["COMPLETED"] = "completed";
11
11
  ISeasonTicketStatusType["EXPIRED"] = "expired";
12
12
  ISeasonTicketStatusType["PAUSED"] = "paused";
13
+ ISeasonTicketStatusType["SUB_ITERATION_SUCCESS"] = "sub-iteration-success";
13
14
  })(ISeasonTicketStatusType || (exports.ISeasonTicketStatusType = ISeasonTicketStatusType = {}));
14
15
  //# sourceMappingURL=endUserSeasonTicket.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"endUserSeasonTicket.js","sourceRoot":"","sources":["../../src/payment/endUserSeasonTicket.ts"],"names":[],"mappings":";;;AAiDA,IAAY,uBAQX;AARD,WAAY,uBAAuB;IACjC,4CAAiB,CAAA;IACjB,8CAAmB,CAAA;IACnB,kDAAuB,CAAA;IACvB,4CAAiB,CAAA;IACjB,kDAAuB,CAAA;IACvB,8CAAmB,CAAA;IACnB,4CAAiB,CAAA;AACnB,CAAC,EARW,uBAAuB,uCAAvB,uBAAuB,QAQlC"}
1
+ {"version":3,"file":"endUserSeasonTicket.js","sourceRoot":"","sources":["../../src/payment/endUserSeasonTicket.ts"],"names":[],"mappings":";;;AAkDA,IAAY,uBASX;AATD,WAAY,uBAAuB;IACjC,4CAAiB,CAAA;IACjB,8CAAmB,CAAA;IACnB,kDAAuB,CAAA;IACvB,4CAAiB,CAAA;IACjB,kDAAuB,CAAA;IACvB,8CAAmB,CAAA;IACnB,4CAAiB,CAAA;IACjB,0EAA+C,CAAA;AACjD,CAAC,EATW,uBAAuB,uCAAvB,uBAAuB,QASlC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nimee/shared-types",
3
- "version": "1.0.114",
3
+ "version": "1.0.116",
4
4
  "description": "Types and interfaces that any service can access if needed",
5
5
  "main": "dist/index.js",
6
6
  "author": "dan goldberg",
@@ -41,18 +41,20 @@ export interface IEndUserSeasonTicketModel {
41
41
  description?: string;
42
42
  isPaid?: boolean;
43
43
  salePaidDate?: Date;
44
- buyerCardMask?: string;
45
- buyerCardExp?: string;
46
- buyerName?: string;
47
- buyerEmail?: string;
48
- buyerPhone?: string;
44
+ buyer_phone?: string;
45
+ buyer_card_mask?: string;
46
+ buyer_card_exp?: string;
47
+ buyer_name?: string;
48
+ buyer_email?: string;
49
+ buyer_social_id?: string;
49
50
  }
50
51
  export enum ISeasonTicketStatusType {
51
52
  ACTIVE = "active", // the season ticket is active
52
- INITIAL = "Initial", // not yet paid
53
+ INITIAL = "initial", // not yet paid
53
54
  CANCELLED = "cancelled", // the season ticket has been cancelled
54
55
  FAILED = "failed", // one of the payments has failed
55
56
  COMPLETED = "completed", // all payments have been completed
56
57
  EXPIRED = "expired", // the season ticket has expired - end date has passed
57
58
  PAUSED = "paused", // the season ticket has been paused
59
+ SUB_ITERATION_SUCCESS = "sub-iteration-success", // the subscription iteration was successful
58
60
  }