@managemint-solutions/entities 1.0.21 → 1.0.23

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 +1,2 @@
1
- export {};
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,10 +1,13 @@
1
- export var AdditionalDetailsEntityTypes;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AdditionalDetailsTypes = exports.AdditionalDetailsEntityTypes = void 0;
4
+ var AdditionalDetailsEntityTypes;
2
5
  (function (AdditionalDetailsEntityTypes) {
3
6
  AdditionalDetailsEntityTypes["CLIENT"] = "clients";
4
7
  AdditionalDetailsEntityTypes["PROJECT"] = "projects";
5
8
  AdditionalDetailsEntityTypes["BUDGET_EXPENSE"] = "budget_expenses";
6
9
  AdditionalDetailsEntityTypes["TASKS"] = "tasks";
7
- })(AdditionalDetailsEntityTypes || (AdditionalDetailsEntityTypes = {}));
10
+ })(AdditionalDetailsEntityTypes || (exports.AdditionalDetailsEntityTypes = AdditionalDetailsEntityTypes = {}));
8
11
  ;
9
12
  /**
10
13
  * Expected value examples by `type`:
@@ -18,11 +21,11 @@ export var AdditionalDetailsEntityTypes;
18
21
  * - Input accepts string URL values with http/https (e.g. "https://example.com/path").
19
22
  * - Returned value may be cast to a URL object by the service layer.
20
23
  */
21
- export var AdditionalDetailsTypes;
24
+ var AdditionalDetailsTypes;
22
25
  (function (AdditionalDetailsTypes) {
23
26
  AdditionalDetailsTypes["Text"] = "string";
24
27
  AdditionalDetailsTypes["Number"] = "number";
25
28
  AdditionalDetailsTypes["Boolean"] = "boolean";
26
29
  AdditionalDetailsTypes["DATE"] = "date";
27
30
  AdditionalDetailsTypes["URL"] = "url";
28
- })(AdditionalDetailsTypes || (AdditionalDetailsTypes = {}));
31
+ })(AdditionalDetailsTypes || (exports.AdditionalDetailsTypes = AdditionalDetailsTypes = {}));
@@ -1 +1,2 @@
1
- export {};
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1 +1,2 @@
1
- export {};
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1 +1,2 @@
1
- export {};
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1 +1,2 @@
1
- export {};
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1 +1,2 @@
1
- export {};
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1 +1,2 @@
1
- export {};
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,5 +1,8 @@
1
- export var Modules;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Modules = void 0;
4
+ var Modules;
2
5
  (function (Modules) {
3
6
  Modules["CRM"] = "CRM";
4
- })(Modules || (Modules = {}));
7
+ })(Modules || (exports.Modules = Modules = {}));
5
8
  ;
@@ -1 +1,2 @@
1
- export {};
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,8 +1,11 @@
1
- export var NotesEntityTypes;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.NotesEntityTypes = void 0;
4
+ var NotesEntityTypes;
2
5
  (function (NotesEntityTypes) {
3
6
  NotesEntityTypes["CLIENT"] = "clients";
4
7
  NotesEntityTypes["PROJECT"] = "projects";
5
8
  NotesEntityTypes["BUDGET_EXPENSE"] = "budget_expenses";
6
9
  NotesEntityTypes["TASKS"] = "tasks";
7
- })(NotesEntityTypes || (NotesEntityTypes = {}));
10
+ })(NotesEntityTypes || (exports.NotesEntityTypes = NotesEntityTypes = {}));
8
11
  ;
@@ -1 +1,2 @@
1
- export {};
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1 +1,2 @@
1
- export {};
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,6 +1,9 @@
1
- export var OrganizationTypes;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.OrganizationTypes = void 0;
4
+ var OrganizationTypes;
2
5
  (function (OrganizationTypes) {
3
6
  OrganizationTypes["COMPANY"] = "Company";
4
7
  OrganizationTypes["SOLE_TRADER"] = "Sole-Trader";
5
- })(OrganizationTypes || (OrganizationTypes = {}));
8
+ })(OrganizationTypes || (exports.OrganizationTypes = OrganizationTypes = {}));
6
9
  ;
@@ -1 +1,2 @@
1
- export {};
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,4 +1,7 @@
1
- export var PaymentStatuses;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PaystackMetadataActions = exports.PaystackWebhookEvents = exports.PlanUpdateStatuses = exports.PaymentIntervals = exports.PaymentStatuses = void 0;
4
+ var PaymentStatuses;
2
5
  (function (PaymentStatuses) {
3
6
  PaymentStatuses["PAID"] = "paid";
4
7
  PaymentStatuses["AWAITING_INITIAL_PAYMENT"] = "awaiting initial payment";
@@ -8,9 +11,9 @@ export var PaymentStatuses;
8
11
  PaymentStatuses["AWAITING_SUBSCRIPTION"] = "awaiting subscription";
9
12
  PaymentStatuses["SUBSCRIPTION_PAYMENT_FAILED"] = "subscription payment failed";
10
13
  PaymentStatuses["CANCELLED"] = "cancelled";
11
- })(PaymentStatuses || (PaymentStatuses = {}));
14
+ })(PaymentStatuses || (exports.PaymentStatuses = PaymentStatuses = {}));
12
15
  ;
13
- export var PaymentIntervals;
16
+ var PaymentIntervals;
14
17
  (function (PaymentIntervals) {
15
18
  PaymentIntervals["HOURLY"] = "hourly";
16
19
  PaymentIntervals["DAILY"] = "daily";
@@ -19,9 +22,9 @@ export var PaymentIntervals;
19
22
  PaymentIntervals["QUARTERLY"] = "quarterly";
20
23
  PaymentIntervals["BIANNUALLY"] = "biannually";
21
24
  PaymentIntervals["ANNUALLY"] = "annually";
22
- })(PaymentIntervals || (PaymentIntervals = {}));
25
+ })(PaymentIntervals || (exports.PaymentIntervals = PaymentIntervals = {}));
23
26
  ;
24
- export var PlanUpdateStatuses;
27
+ var PlanUpdateStatuses;
25
28
  (function (PlanUpdateStatuses) {
26
29
  PlanUpdateStatuses["NONE"] = "none";
27
30
  PlanUpdateStatuses["NEW_PLAN_REQUESTED"] = "new_plan_requested";
@@ -30,9 +33,9 @@ export var PlanUpdateStatuses;
30
33
  PlanUpdateStatuses["PLAN_UPDATED"] = "plan_updated";
31
34
  // UPGRADE_CRON_JOB_CREATED = 'upgrade_cron_job_created',
32
35
  PlanUpdateStatuses["COMPLETED"] = "completed";
33
- })(PlanUpdateStatuses || (PlanUpdateStatuses = {}));
36
+ })(PlanUpdateStatuses || (exports.PlanUpdateStatuses = PlanUpdateStatuses = {}));
34
37
  ;
35
- export var PaystackWebhookEvents;
38
+ var PaystackWebhookEvents;
36
39
  (function (PaystackWebhookEvents) {
37
40
  PaystackWebhookEvents["CHARGE_SUCCESS"] = "charge.success";
38
41
  PaystackWebhookEvents["SUBSCRIPTION_CREATE"] = "subscription.create";
@@ -42,10 +45,10 @@ export var PaystackWebhookEvents;
42
45
  PaystackWebhookEvents["INVOICE_CREATE"] = "invoice.create";
43
46
  PaystackWebhookEvents["INVOICE_UPDATE"] = "invoice.update";
44
47
  PaystackWebhookEvents["REFUND_PROCESSED"] = "refund.processed";
45
- })(PaystackWebhookEvents || (PaystackWebhookEvents = {}));
48
+ })(PaystackWebhookEvents || (exports.PaystackWebhookEvents = PaystackWebhookEvents = {}));
46
49
  ;
47
- export var PaystackMetadataActions;
50
+ var PaystackMetadataActions;
48
51
  (function (PaystackMetadataActions) {
49
52
  PaystackMetadataActions["INITIAL_PAYMENT"] = "initial-payment";
50
- })(PaystackMetadataActions || (PaystackMetadataActions = {}));
53
+ })(PaystackMetadataActions || (exports.PaystackMetadataActions = PaystackMetadataActions = {}));
51
54
  ;
@@ -1 +1,2 @@
1
- export {};
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,7 +1,10 @@
1
- export var StatusEntityTypes;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.StatusEntityTypes = void 0;
4
+ var StatusEntityTypes;
2
5
  (function (StatusEntityTypes) {
3
6
  StatusEntityTypes["CLIENT"] = "clients";
4
7
  StatusEntityTypes["PROJECT"] = "projects";
5
8
  StatusEntityTypes["TASK"] = "tasks";
6
- })(StatusEntityTypes || (StatusEntityTypes = {}));
9
+ })(StatusEntityTypes || (exports.StatusEntityTypes = StatusEntityTypes = {}));
7
10
  ;
@@ -1 +1,2 @@
1
- export {};
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,16 +1,19 @@
1
- export var SubscriptionCancellationStatus;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SubscriptionReinstateStatus = exports.SubscriptionCancellationStatus = void 0;
4
+ var SubscriptionCancellationStatus;
2
5
  (function (SubscriptionCancellationStatus) {
3
6
  SubscriptionCancellationStatus["NONE"] = "none";
4
7
  SubscriptionCancellationStatus["PAYSTACK_SUBSCRIPTION_CANCELLED"] = "paystack_subscription_cancelled";
5
8
  SubscriptionCancellationStatus["CANCELLED"] = "cancelled";
6
- })(SubscriptionCancellationStatus || (SubscriptionCancellationStatus = {}));
9
+ })(SubscriptionCancellationStatus || (exports.SubscriptionCancellationStatus = SubscriptionCancellationStatus = {}));
7
10
  ;
8
- export var SubscriptionReinstateStatus;
11
+ var SubscriptionReinstateStatus;
9
12
  (function (SubscriptionReinstateStatus) {
10
13
  SubscriptionReinstateStatus["NONE"] = "none";
11
14
  SubscriptionReinstateStatus["REINSTATE_REQUESTED"] = "reinstate_requested";
12
15
  SubscriptionReinstateStatus["AUTHORIZATION_CHARGED"] = "authorization_charged";
13
16
  SubscriptionReinstateStatus["SUBSCRIPTION_REINSTATED"] = "subscription_reinstated";
14
17
  SubscriptionReinstateStatus["COMPLETED"] = "completed";
15
- })(SubscriptionReinstateStatus || (SubscriptionReinstateStatus = {}));
18
+ })(SubscriptionReinstateStatus || (exports.SubscriptionReinstateStatus = SubscriptionReinstateStatus = {}));
16
19
  ;
@@ -1 +1,2 @@
1
- export {};
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -10,6 +10,7 @@ export declare enum SupportingFilesExtensions {
10
10
  DOCX = "docx",
11
11
  XLS = "xls",
12
12
  XLSX = "xlsx",
13
+ CSV = "csv",
13
14
  PPT = "ppt",
14
15
  PPTX = "pptx",
15
16
  JPG = "jpg",
@@ -1,22 +1,26 @@
1
- export var SupportingFilesEntityTypes;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SupportingFilesExtensions = exports.SupportingFilesEntityTypes = void 0;
4
+ var SupportingFilesEntityTypes;
2
5
  (function (SupportingFilesEntityTypes) {
3
6
  SupportingFilesEntityTypes["CLIENT"] = "clients";
4
7
  SupportingFilesEntityTypes["PROJECT"] = "projects";
5
8
  SupportingFilesEntityTypes["BUDGET_EXPENSE"] = "budget_expenses";
6
9
  SupportingFilesEntityTypes["TASKS"] = "tasks";
7
- })(SupportingFilesEntityTypes || (SupportingFilesEntityTypes = {}));
10
+ })(SupportingFilesEntityTypes || (exports.SupportingFilesEntityTypes = SupportingFilesEntityTypes = {}));
8
11
  ;
9
- export var SupportingFilesExtensions;
12
+ var SupportingFilesExtensions;
10
13
  (function (SupportingFilesExtensions) {
11
14
  SupportingFilesExtensions["PDF"] = "pdf";
12
15
  SupportingFilesExtensions["DOC"] = "doc";
13
16
  SupportingFilesExtensions["DOCX"] = "docx";
14
17
  SupportingFilesExtensions["XLS"] = "xls";
15
18
  SupportingFilesExtensions["XLSX"] = "xlsx";
19
+ SupportingFilesExtensions["CSV"] = "csv";
16
20
  SupportingFilesExtensions["PPT"] = "ppt";
17
21
  SupportingFilesExtensions["PPTX"] = "pptx";
18
22
  SupportingFilesExtensions["JPG"] = "jpg";
19
23
  SupportingFilesExtensions["JPEG"] = "jpeg";
20
24
  SupportingFilesExtensions["PNG"] = "png";
21
25
  SupportingFilesExtensions["GIF"] = "gif";
22
- })(SupportingFilesExtensions || (SupportingFilesExtensions = {}));
26
+ })(SupportingFilesExtensions || (exports.SupportingFilesExtensions = SupportingFilesExtensions = {}));
@@ -1 +1,2 @@
1
- export {};
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,12 +1,15 @@
1
- export var EmploymentType;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.EmergencyContactRelationship = exports.EmploymentType = void 0;
4
+ var EmploymentType;
2
5
  (function (EmploymentType) {
3
6
  EmploymentType["FULL_TIME"] = "full_time";
4
7
  EmploymentType["PART_TIME"] = "part_time";
5
8
  EmploymentType["CONTRACTOR"] = "contractor";
6
9
  EmploymentType["INTERN"] = "intern";
7
10
  EmploymentType["TEMPORARY"] = "temporary";
8
- })(EmploymentType || (EmploymentType = {}));
9
- export var EmergencyContactRelationship;
11
+ })(EmploymentType || (exports.EmploymentType = EmploymentType = {}));
12
+ var EmergencyContactRelationship;
10
13
  (function (EmergencyContactRelationship) {
11
14
  EmergencyContactRelationship["SPOUSE"] = "spouse";
12
15
  EmergencyContactRelationship["PARENT"] = "parent";
@@ -14,4 +17,4 @@ export var EmergencyContactRelationship;
14
17
  EmergencyContactRelationship["FRIEND"] = "friend";
15
18
  EmergencyContactRelationship["PARTNER"] = "partner";
16
19
  EmergencyContactRelationship["OTHER"] = "other";
17
- })(EmergencyContactRelationship || (EmergencyContactRelationship = {}));
20
+ })(EmergencyContactRelationship || (exports.EmergencyContactRelationship = EmergencyContactRelationship = {}));
@@ -1 +1,2 @@
1
- export {};
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@managemint-solutions/entities",
3
- "version": "1.0.21",
3
+ "version": "1.0.23",
4
4
  "description": "Entity types used by both the api and portal",
5
5
  "homepage": "https://github.com/ManageMint-Solutions/managemint-solutions-entities#readme",
6
6
  "bugs": {