@beabee/beabee-common 1.1.0 → 1.1.1

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.
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PaymentMethod = exports.NewsletterStatus = exports.MembershipStatus = exports.ContributionType = exports.ContributionPeriod = void 0;
3
+ exports.PermissionTypes = exports.PaymentStatus = exports.PaymentMethod = exports.NewsletterStatus = exports.MembershipStatus = exports.ContributionType = exports.ContributionPeriod = void 0;
4
4
  var ContributionPeriod;
5
5
  (function (ContributionPeriod) {
6
6
  ContributionPeriod["Monthly"] = "monthly";
@@ -34,3 +34,11 @@ var PaymentMethod;
34
34
  PaymentMethod["StripeBACS"] = "s_bacs";
35
35
  PaymentMethod["GoCardlessDirectDebit"] = "gc_direct-debit";
36
36
  })(PaymentMethod = exports.PaymentMethod || (exports.PaymentMethod = {}));
37
+ var PaymentStatus;
38
+ (function (PaymentStatus) {
39
+ PaymentStatus["Pending"] = "pending";
40
+ PaymentStatus["Successful"] = "successful";
41
+ PaymentStatus["Failed"] = "failed";
42
+ PaymentStatus["Cancelled"] = "cancelled";
43
+ })(PaymentStatus = exports.PaymentStatus || (exports.PaymentStatus = {}));
44
+ exports.PermissionTypes = ["member", "admin", "superadmin"];
@@ -31,3 +31,11 @@ export var PaymentMethod;
31
31
  PaymentMethod["StripeBACS"] = "s_bacs";
32
32
  PaymentMethod["GoCardlessDirectDebit"] = "gc_direct-debit";
33
33
  })(PaymentMethod || (PaymentMethod = {}));
34
+ export var PaymentStatus;
35
+ (function (PaymentStatus) {
36
+ PaymentStatus["Pending"] = "pending";
37
+ PaymentStatus["Successful"] = "successful";
38
+ PaymentStatus["Failed"] = "failed";
39
+ PaymentStatus["Cancelled"] = "cancelled";
40
+ })(PaymentStatus || (PaymentStatus = {}));
41
+ export const PermissionTypes = ["member", "admin", "superadmin"];
@@ -26,3 +26,11 @@ export declare enum PaymentMethod {
26
26
  StripeBACS = "s_bacs",
27
27
  GoCardlessDirectDebit = "gc_direct-debit"
28
28
  }
29
+ export declare enum PaymentStatus {
30
+ Pending = "pending",
31
+ Successful = "successful",
32
+ Failed = "failed",
33
+ Cancelled = "cancelled"
34
+ }
35
+ export declare const PermissionTypes: readonly ["member", "admin", "superadmin"];
36
+ export declare type PermissionType = typeof PermissionTypes[number];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@beabee/beabee-common",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "module": "./dist/esm/index.js",