@beabee/beabee-common 1.1.0 → 1.1.2
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/cjs/data/index.js
CHANGED
|
@@ -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";
|
|
@@ -25,6 +25,7 @@ var NewsletterStatus;
|
|
|
25
25
|
NewsletterStatus["Subscribed"] = "subscribed";
|
|
26
26
|
NewsletterStatus["Unsubscribed"] = "unsubscribed";
|
|
27
27
|
NewsletterStatus["Cleaned"] = "cleaned";
|
|
28
|
+
NewsletterStatus["Pending"] = "pending";
|
|
28
29
|
NewsletterStatus["None"] = "none";
|
|
29
30
|
})(NewsletterStatus = exports.NewsletterStatus || (exports.NewsletterStatus = {}));
|
|
30
31
|
var PaymentMethod;
|
|
@@ -34,3 +35,11 @@ var PaymentMethod;
|
|
|
34
35
|
PaymentMethod["StripeBACS"] = "s_bacs";
|
|
35
36
|
PaymentMethod["GoCardlessDirectDebit"] = "gc_direct-debit";
|
|
36
37
|
})(PaymentMethod = exports.PaymentMethod || (exports.PaymentMethod = {}));
|
|
38
|
+
var PaymentStatus;
|
|
39
|
+
(function (PaymentStatus) {
|
|
40
|
+
PaymentStatus["Pending"] = "pending";
|
|
41
|
+
PaymentStatus["Successful"] = "successful";
|
|
42
|
+
PaymentStatus["Failed"] = "failed";
|
|
43
|
+
PaymentStatus["Cancelled"] = "cancelled";
|
|
44
|
+
})(PaymentStatus = exports.PaymentStatus || (exports.PaymentStatus = {}));
|
|
45
|
+
exports.PermissionTypes = ["member", "admin", "superadmin"];
|
package/dist/esm/data/index.js
CHANGED
|
@@ -22,6 +22,7 @@ export var NewsletterStatus;
|
|
|
22
22
|
NewsletterStatus["Subscribed"] = "subscribed";
|
|
23
23
|
NewsletterStatus["Unsubscribed"] = "unsubscribed";
|
|
24
24
|
NewsletterStatus["Cleaned"] = "cleaned";
|
|
25
|
+
NewsletterStatus["Pending"] = "pending";
|
|
25
26
|
NewsletterStatus["None"] = "none";
|
|
26
27
|
})(NewsletterStatus || (NewsletterStatus = {}));
|
|
27
28
|
export var PaymentMethod;
|
|
@@ -31,3 +32,11 @@ export var PaymentMethod;
|
|
|
31
32
|
PaymentMethod["StripeBACS"] = "s_bacs";
|
|
32
33
|
PaymentMethod["GoCardlessDirectDebit"] = "gc_direct-debit";
|
|
33
34
|
})(PaymentMethod || (PaymentMethod = {}));
|
|
35
|
+
export var PaymentStatus;
|
|
36
|
+
(function (PaymentStatus) {
|
|
37
|
+
PaymentStatus["Pending"] = "pending";
|
|
38
|
+
PaymentStatus["Successful"] = "successful";
|
|
39
|
+
PaymentStatus["Failed"] = "failed";
|
|
40
|
+
PaymentStatus["Cancelled"] = "cancelled";
|
|
41
|
+
})(PaymentStatus || (PaymentStatus = {}));
|
|
42
|
+
export const PermissionTypes = ["member", "admin", "superadmin"];
|
|
@@ -18,6 +18,7 @@ export declare enum NewsletterStatus {
|
|
|
18
18
|
Subscribed = "subscribed",
|
|
19
19
|
Unsubscribed = "unsubscribed",
|
|
20
20
|
Cleaned = "cleaned",
|
|
21
|
+
Pending = "pending",
|
|
21
22
|
None = "none"
|
|
22
23
|
}
|
|
23
24
|
export declare enum PaymentMethod {
|
|
@@ -26,3 +27,11 @@ export declare enum PaymentMethod {
|
|
|
26
27
|
StripeBACS = "s_bacs",
|
|
27
28
|
GoCardlessDirectDebit = "gc_direct-debit"
|
|
28
29
|
}
|
|
30
|
+
export declare enum PaymentStatus {
|
|
31
|
+
Pending = "pending",
|
|
32
|
+
Successful = "successful",
|
|
33
|
+
Failed = "failed",
|
|
34
|
+
Cancelled = "cancelled"
|
|
35
|
+
}
|
|
36
|
+
export declare const PermissionTypes: readonly ["member", "admin", "superadmin"];
|
|
37
|
+
export declare type PermissionType = typeof PermissionTypes[number];
|