@nimee/shared-types 1.0.32 → 1.0.34

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.
package/dist/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
1
  export * from "./account";
2
2
  export * from "./userEvent";
3
3
  export * from "./event";
4
+ export * from "./payment";
package/dist/index.js CHANGED
@@ -18,4 +18,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
18
18
  __exportStar(require("./account"), exports);
19
19
  __exportStar(require("./userEvent"), exports);
20
20
  __exportStar(require("./event"), exports);
21
+ __exportStar(require("./payment"), exports);
21
22
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2BAA2B;AAC3B,4CAA0B;AAC1B,8CAA4B;AAC5B,0CAAwB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2BAA2B;AAC3B,4CAA0B;AAC1B,8CAA4B;AAC5B,0CAAwB;AACxB,4CAA0B"}
@@ -0,0 +1,11 @@
1
+ export declare enum StatusPaymentEnum {
2
+ pending = "pending",
3
+ approved = "approved",
4
+ rejected = "rejected",
5
+ cancelled = "cancelled",
6
+ refunded = "refunded",
7
+ paid = "paid",
8
+ failed = "failed",
9
+ expired = "expired",
10
+ pending_refund = "pending_refund"
11
+ }
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.StatusPaymentEnum = void 0;
4
+ var StatusPaymentEnum;
5
+ (function (StatusPaymentEnum) {
6
+ StatusPaymentEnum["pending"] = "pending";
7
+ StatusPaymentEnum["approved"] = "approved";
8
+ StatusPaymentEnum["rejected"] = "rejected";
9
+ StatusPaymentEnum["cancelled"] = "cancelled";
10
+ StatusPaymentEnum["refunded"] = "refunded";
11
+ StatusPaymentEnum["paid"] = "paid";
12
+ StatusPaymentEnum["failed"] = "failed";
13
+ StatusPaymentEnum["expired"] = "expired";
14
+ StatusPaymentEnum["pending_refund"] = "pending_refund";
15
+ })(StatusPaymentEnum = exports.StatusPaymentEnum || (exports.StatusPaymentEnum = {}));
16
+ //# sourceMappingURL=charge.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"charge.js","sourceRoot":"","sources":["../../src/payment/charge.ts"],"names":[],"mappings":";;;AAAA,IAAY,iBAUX;AAVD,WAAY,iBAAiB;IAC3B,wCAAmB,CAAA;IACnB,0CAAqB,CAAA;IACrB,0CAAqB,CAAA;IACrB,4CAAuB,CAAA;IACvB,0CAAqB,CAAA;IACrB,kCAAa,CAAA;IACb,sCAAiB,CAAA;IACjB,wCAAmB,CAAA;IACnB,sDAAiC,CAAA;AACnC,CAAC,EAVW,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAU5B"}
@@ -0,0 +1 @@
1
+ export * from "./charge";
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./charge"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/payment/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAyB"}
@@ -4,4 +4,5 @@ export interface EventOrderModel {
4
4
  userEvents: string[];
5
5
  isApproved: boolean;
6
6
  purchaseToken: string;
7
+ _id: string;
7
8
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nimee/shared-types",
3
- "version": "1.0.32",
3
+ "version": "1.0.34",
4
4
  "description": "Types and interfaces that any service can access if needed",
5
5
  "main": "dist/index.js",
6
6
  "author": "dan goldberg",
package/src/index.ts CHANGED
@@ -2,3 +2,4 @@
2
2
  export * from "./account";
3
3
  export * from "./userEvent";
4
4
  export * from "./event";
5
+ export * from "./payment";
@@ -0,0 +1,11 @@
1
+ export enum StatusPaymentEnum {
2
+ pending = "pending",
3
+ approved = "approved",
4
+ rejected = "rejected",
5
+ cancelled = "cancelled",
6
+ refunded = "refunded",
7
+ paid = "paid",
8
+ failed = "failed",
9
+ expired = "expired",
10
+ pending_refund = "pending_refund",
11
+ }
@@ -0,0 +1 @@
1
+ export * from "./charge";
@@ -4,4 +4,5 @@ export interface EventOrderModel {
4
4
  userEvents: string[];
5
5
  isApproved: boolean;
6
6
  purchaseToken: string;
7
+ _id: string;
7
8
  }