@abyss-project/main 1.0.136 → 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/README.md +31 -31
- package/dist/api/billing-plan.api.js +2 -1
- package/dist/api/billing-plan.api.js.map +1 -1
- package/dist/api/index.d.ts +1 -0
- package/dist/api/index.js +1 -0
- package/dist/api/index.js.map +1 -1
- package/dist/api/mailing.admin.api.d.ts +2 -0
- package/dist/api/mailing.admin.api.js +9 -0
- package/dist/api/mailing.admin.api.js.map +1 -0
- package/dist/constants/billing-catalog.constants.js +22 -0
- package/dist/constants/billing-catalog.constants.js.map +1 -1
- package/dist/constants/enforcement-registry.constants.js +21 -0
- package/dist/constants/enforcement-registry.constants.js.map +1 -1
- package/dist/constants/index.d.ts +1 -0
- package/dist/constants/index.js +1 -0
- package/dist/constants/index.js.map +1 -1
- package/dist/constants/public-plans.constants.d.ts +2 -0
- package/dist/constants/public-plans.constants.js +1538 -0
- package/dist/constants/public-plans.constants.js.map +1 -0
- package/dist/constants/quota-metric-kind.constants.d.ts +2 -0
- package/dist/constants/quota-metric-kind.constants.js +12 -1
- package/dist/constants/quota-metric-kind.constants.js.map +1 -1
- package/dist/index.d.ts +6 -0
- package/dist/index.js +6 -0
- package/dist/index.js.map +1 -1
- package/dist/server/after-commit-emit.util.d.ts +4 -0
- package/dist/server/after-commit-emit.util.js +29 -0
- package/dist/server/after-commit-emit.util.js.map +1 -0
- package/dist/server/index.d.ts +2 -0
- package/dist/server/index.js +19 -0
- package/dist/server/index.js.map +1 -0
- package/dist/server/safe-url.util.d.ts +16 -0
- package/dist/server/safe-url.util.js +237 -0
- package/dist/server/safe-url.util.js.map +1 -0
- package/dist/translate/en.translate.d.ts +4 -0
- package/dist/translate/en.translate.js +4 -0
- package/dist/translate/en.translate.js.map +1 -1
- package/dist/translate/fr.translate.d.ts +4 -0
- package/dist/translate/fr.translate.js +4 -0
- package/dist/translate/fr.translate.js.map +1 -1
- package/dist/types/enum/abyss-application-event.enum.d.ts +10 -9
- package/dist/types/enum/abyss-application-event.enum.js +10 -9
- package/dist/types/enum/abyss-application-event.enum.js.map +1 -1
- package/dist/types/enum/content-share.enum.d.ts +4 -3
- package/dist/types/enum/content-share.enum.js +4 -3
- package/dist/types/enum/content-share.enum.js.map +1 -1
- package/dist/types/enum/email-type.enum.d.ts +62 -0
- package/dist/types/enum/email-type.enum.js +67 -0
- package/dist/types/enum/email-type.enum.js.map +1 -0
- package/dist/types/enum/index.d.ts +1 -0
- package/dist/types/enum/index.js +1 -0
- package/dist/types/enum/index.js.map +1 -1
- package/dist/types/enum/organization-billing.enum.d.ts +6 -0
- package/dist/types/enum/organization-billing.enum.js +6 -0
- package/dist/types/enum/organization-billing.enum.js.map +1 -1
- package/dist/types/enum/support-ticket.enum.d.ts +1 -0
- package/dist/types/enum/support-ticket.enum.js +2 -0
- package/dist/types/enum/support-ticket.enum.js.map +1 -1
- package/dist/types/enum/user-notification-category.enum.js +3 -0
- package/dist/types/enum/user-notification-category.enum.js.map +1 -1
- package/dist/types/enum/user-notification-content-type.enum.d.ts +21 -0
- package/dist/types/enum/user-notification-content-type.enum.js +4 -1
- package/dist/types/enum/user-notification-content-type.enum.js.map +1 -1
- package/dist/types/interface/api/index.d.ts +2 -0
- package/dist/types/interface/api/index.js +2 -0
- package/dist/types/interface/api/index.js.map +1 -1
- package/dist/types/interface/api/requests/index.d.ts +1 -0
- package/dist/types/interface/api/requests/index.js +1 -0
- package/dist/types/interface/api/requests/index.js.map +1 -1
- package/dist/types/interface/api/requests/mailing.admin.request.d.ts +7 -0
- package/dist/types/interface/{models/parental-consent.model.js → api/requests/mailing.admin.request.js} +1 -1
- package/dist/types/interface/api/requests/mailing.admin.request.js.map +1 -0
- package/dist/types/interface/api/requests/support-ticket-admin.request.d.ts +6 -0
- package/dist/types/interface/api/responses/billing-plan.response.d.ts +10 -1
- package/dist/types/interface/api/responses/index.d.ts +1 -0
- package/dist/types/interface/api/responses/index.js +1 -0
- package/dist/types/interface/api/responses/index.js.map +1 -1
- package/dist/types/interface/api/responses/mailing.admin.response.d.ts +6 -0
- package/dist/types/interface/api/responses/mailing.admin.response.js +3 -0
- package/dist/types/interface/api/responses/mailing.admin.response.js.map +1 -0
- package/dist/types/interface/models/support-ticket.model.d.ts +2 -0
- package/package.json +31 -10
- package/tsconfig.json +36 -35
- package/dist/constants/tests/billing-catalog.constants.spec.d.ts +0 -1
- package/dist/constants/tests/billing-catalog.constants.spec.js +0 -20
- package/dist/constants/tests/billing-catalog.constants.spec.js.map +0 -1
- package/dist/types/enum/organization-billing.enum.test.d.ts +0 -1
- package/dist/types/enum/organization-billing.enum.test.js +0 -7
- package/dist/types/enum/organization-billing.enum.test.js.map +0 -1
- package/dist/types/enum/parental-consent.enum.d.ts +0 -10
- package/dist/types/enum/parental-consent.enum.js +0 -16
- package/dist/types/enum/parental-consent.enum.js.map +0 -1
- package/dist/types/interface/models/parental-consent.model.d.ts +0 -25
- package/dist/types/interface/models/parental-consent.model.js.map +0 -1
|
@@ -24,6 +24,7 @@ var UserNotificationContentType;
|
|
|
24
24
|
UserNotificationContentType["ADMIN_DELETE_CLOUD"] = "admin-delete-cloud";
|
|
25
25
|
UserNotificationContentType["WEBHOOK_UNDELIVERABLE"] = "webhook-undeliverable";
|
|
26
26
|
UserNotificationContentType["WEBHOOK_UNDELIVERABLE_DISABLE"] = "webhook-undeliverable-disable";
|
|
27
|
+
UserNotificationContentType["FILE_QUARANTINED"] = "file-quarantined";
|
|
27
28
|
UserNotificationContentType["CRON_TASK_FAILED"] = "cron-task-failed";
|
|
28
29
|
UserNotificationContentType["CRON_TASK_DISABLED"] = "cron-task-disabled";
|
|
29
30
|
UserNotificationContentType["MONITOR_WEBHOOK_UNDELIVERABLE"] = "monitor-webhook-undeliverable";
|
|
@@ -77,6 +78,8 @@ var UserNotificationContentType;
|
|
|
77
78
|
UserNotificationContentType["FORM_SUBMISSION_LIMIT_REACHED"] = "form-submission-limit-reached";
|
|
78
79
|
UserNotificationContentType["FORM_WEBHOOK_UNDELIVERABLE"] = "form-webhook-undeliverable";
|
|
79
80
|
UserNotificationContentType["FORM_WEBHOOK_UNDELIVERABLE_DISABLE"] = "form-webhook-undeliverable-disable";
|
|
81
|
+
UserNotificationContentType["BEAM_DOWNLOADED"] = "beam-downloaded";
|
|
82
|
+
UserNotificationContentType["BEAM_EXPIRING"] = "beam-expiring";
|
|
80
83
|
UserNotificationContentType["DOMAIN_VERIFICATION_SUCCESS"] = "domain-verification-success";
|
|
81
84
|
UserNotificationContentType["DOMAIN_VERIFICATION_FAILED"] = "domain-verification-failed";
|
|
82
85
|
UserNotificationContentType["DOMAIN_VERIFICATION_EXPIRED"] = "domain-verification-expired";
|
|
@@ -90,5 +93,5 @@ var UserNotificationContentType;
|
|
|
90
93
|
class UserNotificationContentTypeData {
|
|
91
94
|
}
|
|
92
95
|
exports.UserNotificationContentTypeData = UserNotificationContentTypeData;
|
|
93
|
-
UserNotificationContentType.NOTIFY_PROJECT_ACCESS_GRANTED, UserNotificationContentType.SUBSCRIPTION_CREATED, UserNotificationContentType.SUBSCRIPTION_RENEWED, UserNotificationContentType.SUBSCRIPTION_PAYMENT_FAILED, UserNotificationContentType.SUBSCRIPTION_CANCELLED, UserNotificationContentType.SUBSCRIPTION_PLAN_CHANGED, UserNotificationContentType.SUBSCRIPTION_TRIAL_ENDING, UserNotificationContentType.SUBSCRIPTION_TRIAL_ENDED, UserNotificationContentType.BILLING_INVOICE_READY, UserNotificationContentType.BILLING_QUOTA_THRESHOLD, UserNotificationContentType.ABYSS_PROJECT_BILLING_QUOTA_FILE_DELETED, UserNotificationContentType.BOARD_CARD_LATE, UserNotificationContentType.BOARD_CARD_ALMOST_LATE, UserNotificationContentType.CREATE_CLOUD_SHARE, UserNotificationContentType.DELETE_CLOUD_SHARE, UserNotificationContentType.ADMIN_DELETE_CLOUD, UserNotificationContentType.JOIN_CLOUD_SHARE, UserNotificationContentType.DECLINE_CLOUD_SHARE, UserNotificationContentType.LEAVE_CLOUD_SHARE, UserNotificationContentType.WEBHOOK_UNDELIVERABLE, UserNotificationContentType.WEBHOOK_UNDELIVERABLE_DISABLE, UserNotificationContentType.CRON_TASK_FAILED, UserNotificationContentType.CRON_TASK_DISABLED, UserNotificationContentType.MONITOR_WEBHOOK_UNDELIVERABLE, UserNotificationContentType.MONITOR_WEBHOOK_UNDELIVERABLE_DISABLE, UserNotificationContentType.MONITOR_SENTINEL_CHECK_SUCCESS, UserNotificationContentType.MONITOR_SENTINEL_CHECK_FAILED, UserNotificationContentType.MONITOR_SENTINEL_DISABLE_ON_FAILURE, UserNotificationContentType.MONITOR_SENTINEL_SSL_EXPIRING, UserNotificationContentType.INVITE_EVENT, UserNotificationContentType.CHANGE_OWNER_EVENT, UserNotificationContentType.CREATE_POLL_EVENT, UserNotificationContentType.EVENT_NEW_MEDIA, UserNotificationContentType.EVENT_COMMENT, UserNotificationContentType.EVENT_REACTION, UserNotificationContentType.EVENT_RSVP_CHANGED, UserNotificationContentType.EVENT_RSVP_REMINDER, UserNotificationContentType.EVENT_REMINDER_DAY, UserNotificationContentType.EVENT_ANNIVERSARY, UserNotificationContentType.EVENT_BEST_OF_READY, UserNotificationContentType.EVENT_FACE_CLAIM_PROMPT, UserNotificationContentType.EVENT_ARCHIVED, UserNotificationContentType.EVENT_MODERATION_FLAGGED, UserNotificationContentType.EVENT_QUOTA_WARNING, UserNotificationContentType.EVENT_AUTO_ARCHIVE_WARNING, UserNotificationContentType.EVENT_PUBLIC_PAGE_PUBLISHED, UserNotificationContentType.MEMORIES_EVENT_PDF_READY, UserNotificationContentType.MEMORIES_HIGHLIGHT_REEL_READY, UserNotificationContentType.MEMORIES_SEASONAL_COMPILATION_READY, UserNotificationContentType.MEMORIES_CONTENT_SHARED, UserNotificationContentType.BANK_CONNECTION_SUCCESS, UserNotificationContentType.BANK_CONNECTION_EXPIRE, UserNotificationContentType.BANKING_AUTO_MATCH_CONFLICT, UserNotificationContentType.BANKING_AUTO_MATCHES_SUMMARY, UserNotificationContentType.BANKING_COMPLIANCE_DEADLINE_APPROACHING, UserNotificationContentType.BANKING_COMPLIANCE_DEADLINE_TOMORROW, UserNotificationContentType.BANKING_TREASURY_OVERDRAFT_PROJECTED, UserNotificationContentType.BANKING_INVOICE_APPROVAL_PENDING, UserNotificationContentType.BANKING_INVOICE_APPROVAL_SUBMITTED, UserNotificationContentType.BANKING_INVOICE_APPROVED, UserNotificationContentType.BANKING_INVOICE_REJECTED, UserNotificationContentType.BANKING_VAT_DECLARATION_FILED, UserNotificationContentType.BANKING_URSSAF_DECLARATION_FILED, UserNotificationContentType.BANKING_BNC_DECLARATION_FILED, UserNotificationContentType.CONTENT_SHARED, UserNotificationContentType.INVITATION_CONTENT_SHARE, UserNotificationContentType.INVITATION_ORG_MEMBER, UserNotificationContentType.INVITATION_PROJECT_ACCESS, UserNotificationContentType.SPOTLIGHT_PROJECT_NEW_POST, UserNotificationContentType.FORM_SUBMISSION_COMPLETED, UserNotificationContentType.FORM_WEBHOOK_UNDELIVERABLE, UserNotificationContentType.FORM_WEBHOOK_UNDELIVERABLE_DISABLE, UserNotificationContentType.FORM_DAILY_SUBMISSION_LIMIT_REACHED, UserNotificationContentType.FORM_SUBMISSION_LIMIT_REACHED, UserNotificationContentType.DOMAIN_VERIFICATION_SUCCESS, UserNotificationContentType.DOMAIN_VERIFICATION_FAILED, UserNotificationContentType.DOMAIN_VERIFICATION_EXPIRED, UserNotificationContentType.TRAINING_INACTIVITY, UserNotificationContentType.TRAINING_REMINDER, UserNotificationContentType.INTERNAL_TICKET_STATUS_CHANGED, UserNotificationContentType.INTERNAL_TICKET_NEW_MESSAGE, UserNotificationContentType.INTERNAL_TICKET_MENTION, UserNotificationContentType.INTERNAL_TICKET_ASSIGNED;
|
|
96
|
+
UserNotificationContentType.NOTIFY_PROJECT_ACCESS_GRANTED, UserNotificationContentType.SUBSCRIPTION_CREATED, UserNotificationContentType.SUBSCRIPTION_RENEWED, UserNotificationContentType.SUBSCRIPTION_PAYMENT_FAILED, UserNotificationContentType.SUBSCRIPTION_CANCELLED, UserNotificationContentType.SUBSCRIPTION_PLAN_CHANGED, UserNotificationContentType.SUBSCRIPTION_TRIAL_ENDING, UserNotificationContentType.SUBSCRIPTION_TRIAL_ENDED, UserNotificationContentType.BILLING_INVOICE_READY, UserNotificationContentType.BILLING_QUOTA_THRESHOLD, UserNotificationContentType.ABYSS_PROJECT_BILLING_QUOTA_FILE_DELETED, UserNotificationContentType.BOARD_CARD_LATE, UserNotificationContentType.BOARD_CARD_ALMOST_LATE, UserNotificationContentType.CREATE_CLOUD_SHARE, UserNotificationContentType.DELETE_CLOUD_SHARE, UserNotificationContentType.ADMIN_DELETE_CLOUD, UserNotificationContentType.JOIN_CLOUD_SHARE, UserNotificationContentType.DECLINE_CLOUD_SHARE, UserNotificationContentType.LEAVE_CLOUD_SHARE, UserNotificationContentType.WEBHOOK_UNDELIVERABLE, UserNotificationContentType.WEBHOOK_UNDELIVERABLE_DISABLE, UserNotificationContentType.FILE_QUARANTINED, UserNotificationContentType.CRON_TASK_FAILED, UserNotificationContentType.CRON_TASK_DISABLED, UserNotificationContentType.MONITOR_WEBHOOK_UNDELIVERABLE, UserNotificationContentType.MONITOR_WEBHOOK_UNDELIVERABLE_DISABLE, UserNotificationContentType.MONITOR_SENTINEL_CHECK_SUCCESS, UserNotificationContentType.MONITOR_SENTINEL_CHECK_FAILED, UserNotificationContentType.MONITOR_SENTINEL_DISABLE_ON_FAILURE, UserNotificationContentType.MONITOR_SENTINEL_SSL_EXPIRING, UserNotificationContentType.INVITE_EVENT, UserNotificationContentType.CHANGE_OWNER_EVENT, UserNotificationContentType.CREATE_POLL_EVENT, UserNotificationContentType.EVENT_NEW_MEDIA, UserNotificationContentType.EVENT_COMMENT, UserNotificationContentType.EVENT_REACTION, UserNotificationContentType.EVENT_RSVP_CHANGED, UserNotificationContentType.EVENT_RSVP_REMINDER, UserNotificationContentType.EVENT_REMINDER_DAY, UserNotificationContentType.EVENT_ANNIVERSARY, UserNotificationContentType.EVENT_BEST_OF_READY, UserNotificationContentType.EVENT_FACE_CLAIM_PROMPT, UserNotificationContentType.EVENT_ARCHIVED, UserNotificationContentType.EVENT_MODERATION_FLAGGED, UserNotificationContentType.EVENT_QUOTA_WARNING, UserNotificationContentType.EVENT_AUTO_ARCHIVE_WARNING, UserNotificationContentType.EVENT_PUBLIC_PAGE_PUBLISHED, UserNotificationContentType.MEMORIES_EVENT_PDF_READY, UserNotificationContentType.MEMORIES_HIGHLIGHT_REEL_READY, UserNotificationContentType.MEMORIES_SEASONAL_COMPILATION_READY, UserNotificationContentType.MEMORIES_CONTENT_SHARED, UserNotificationContentType.BANK_CONNECTION_SUCCESS, UserNotificationContentType.BANK_CONNECTION_EXPIRE, UserNotificationContentType.BANKING_AUTO_MATCH_CONFLICT, UserNotificationContentType.BANKING_AUTO_MATCHES_SUMMARY, UserNotificationContentType.BANKING_COMPLIANCE_DEADLINE_APPROACHING, UserNotificationContentType.BANKING_COMPLIANCE_DEADLINE_TOMORROW, UserNotificationContentType.BANKING_TREASURY_OVERDRAFT_PROJECTED, UserNotificationContentType.BANKING_INVOICE_APPROVAL_PENDING, UserNotificationContentType.BANKING_INVOICE_APPROVAL_SUBMITTED, UserNotificationContentType.BANKING_INVOICE_APPROVED, UserNotificationContentType.BANKING_INVOICE_REJECTED, UserNotificationContentType.BANKING_VAT_DECLARATION_FILED, UserNotificationContentType.BANKING_URSSAF_DECLARATION_FILED, UserNotificationContentType.BANKING_BNC_DECLARATION_FILED, UserNotificationContentType.CONTENT_SHARED, UserNotificationContentType.INVITATION_CONTENT_SHARE, UserNotificationContentType.INVITATION_ORG_MEMBER, UserNotificationContentType.INVITATION_PROJECT_ACCESS, UserNotificationContentType.SPOTLIGHT_PROJECT_NEW_POST, UserNotificationContentType.FORM_SUBMISSION_COMPLETED, UserNotificationContentType.FORM_WEBHOOK_UNDELIVERABLE, UserNotificationContentType.FORM_WEBHOOK_UNDELIVERABLE_DISABLE, UserNotificationContentType.FORM_DAILY_SUBMISSION_LIMIT_REACHED, UserNotificationContentType.FORM_SUBMISSION_LIMIT_REACHED, UserNotificationContentType.DOMAIN_VERIFICATION_SUCCESS, UserNotificationContentType.DOMAIN_VERIFICATION_FAILED, UserNotificationContentType.DOMAIN_VERIFICATION_EXPIRED, UserNotificationContentType.TRAINING_INACTIVITY, UserNotificationContentType.TRAINING_REMINDER, UserNotificationContentType.INTERNAL_TICKET_STATUS_CHANGED, UserNotificationContentType.INTERNAL_TICKET_NEW_MESSAGE, UserNotificationContentType.INTERNAL_TICKET_MENTION, UserNotificationContentType.INTERNAL_TICKET_ASSIGNED, UserNotificationContentType.BEAM_DOWNLOADED, UserNotificationContentType.BEAM_EXPIRING;
|
|
94
97
|
//# sourceMappingURL=user-notification-content-type.enum.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user-notification-content-type.enum.js","sourceRoot":"","sources":["../../../src/types/enum/user-notification-content-type.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,
|
|
1
|
+
{"version":3,"file":"user-notification-content-type.enum.js","sourceRoot":"","sources":["../../../src/types/enum/user-notification-content-type.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,2BA8HX;AA9HD,WAAY,2BAA2B;IAErC,8FAA+D,CAAA;IAG/D,4EAA6C,CAAA;IAC7C,4EAA6C,CAAA;IAC7C,0FAA2D,CAAA;IAC3D,gFAAiD,CAAA;IACjD,sFAAuD,CAAA;IACvD,sFAAuD,CAAA;IACvD,oFAAqD,CAAA;IACrD,8EAA+C,CAAA;IAC/C,kFAAmD,CAAA;IAKnD,oHAAqF,CAAA;IAErF,kEAAmC,CAAA;IACnC,gFAAiD,CAAA;IAGjD,wEAAyC,CAAA;IACzC,wEAAyC,CAAA;IACzC,oEAAqC,CAAA;IACrC,0EAA2C,CAAA;IAC3C,sEAAuC,CAAA;IAEvC,wEAAyC,CAAA;IAGzC,8EAA+C,CAAA;IAC/C,8FAA+D,CAAA;IAG/D,oEAA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AQzD,2BAA2B,CAAC,2BAA2B,EAMvD,2BAA2B,CAAC,0BAA0B,EAMtD,2BAA2B,CAAC,2BAA2B,EASvD,2BAA2B,CAAC,mBAAmB,EAM/C,2BAA2B,CAAC,iBAAiB,EAQ7C,2BAA2B,CAAC,8BAA8B,EAU1D,2BAA2B,CAAC,2BAA2B,EASvD,2BAA2B,CAAC,uBAAuB,EASnD,2BAA2B,CAAC,wBAAwB,EAepD,2BAA2B,CAAC,eAAe,EAa3C,2BAA2B,CAAC,aAAa"}
|
|
@@ -18,6 +18,7 @@ export * from './requests/project-access.admin.request';
|
|
|
18
18
|
export * from './requests/project-access.request';
|
|
19
19
|
export * from './requests/billing.request';
|
|
20
20
|
export * from './requests/newsletter.admin.request';
|
|
21
|
+
export * from './requests/mailing.admin.request';
|
|
21
22
|
export * from './requests/token-history.admin.request';
|
|
22
23
|
export * from './requests/asset.request';
|
|
23
24
|
export * from './requests/wrapped-report.request';
|
|
@@ -41,6 +42,7 @@ export * from './responses/project-access.admin.response';
|
|
|
41
42
|
export * from './responses/project-access.response';
|
|
42
43
|
export * from './responses/billing.response';
|
|
43
44
|
export * from './responses/newsletter.admin.response';
|
|
45
|
+
export * from './responses/mailing.admin.response';
|
|
44
46
|
export * from './responses/token-history.admin.response';
|
|
45
47
|
export * from './responses/asset.response';
|
|
46
48
|
export * from './responses/wrapped-report.response';
|
|
@@ -34,6 +34,7 @@ __exportStar(require("./requests/project-access.admin.request"), exports);
|
|
|
34
34
|
__exportStar(require("./requests/project-access.request"), exports);
|
|
35
35
|
__exportStar(require("./requests/billing.request"), exports);
|
|
36
36
|
__exportStar(require("./requests/newsletter.admin.request"), exports);
|
|
37
|
+
__exportStar(require("./requests/mailing.admin.request"), exports);
|
|
37
38
|
__exportStar(require("./requests/token-history.admin.request"), exports);
|
|
38
39
|
__exportStar(require("./requests/asset.request"), exports);
|
|
39
40
|
__exportStar(require("./requests/wrapped-report.request"), exports);
|
|
@@ -57,6 +58,7 @@ __exportStar(require("./responses/project-access.admin.response"), exports);
|
|
|
57
58
|
__exportStar(require("./responses/project-access.response"), exports);
|
|
58
59
|
__exportStar(require("./responses/billing.response"), exports);
|
|
59
60
|
__exportStar(require("./responses/newsletter.admin.response"), exports);
|
|
61
|
+
__exportStar(require("./responses/mailing.admin.response"), exports);
|
|
60
62
|
__exportStar(require("./responses/token-history.admin.response"), exports);
|
|
61
63
|
__exportStar(require("./responses/asset.response"), exports);
|
|
62
64
|
__exportStar(require("./responses/wrapped-report.response"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/interface/api/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2DAAyC;AACzC,0DAAwC;AACxC,4DAA0C;AAC1C,+DAA6C;AAE7C,0DAAwC;AACxC,0DAAwC;AACxC,gEAA8C;AAC9C,uEAAqD;AACrD,6EAA2D;AAC3D,6EAA2D;AAC3D,+DAA6C;AAC7C,qEAAmD;AACnD,iEAA+C;AAC/C,uEAAqD;AACrD,mEAAiD;AACjD,6DAA2C;AAC3C,0EAAwD;AACxD,oEAAkD;AAClD,6DAA2C;AAC3C,sEAAoD;AACpD,yEAAuD;AACvD,2DAAyC;AACzC,oEAAkD;AAClD,kEAAgD;AAChD,wEAAsD;AAEtD,4DAA0C;AAC1C,4DAA0C;AAC1C,kEAAgD;AAChD,yEAAuD;AACvD,+EAA6D;AAC7D,+EAA6D;AAC7D,iEAA+C;AAC/C,uEAAqD;AACrD,qEAAmD;AACnD,+DAA6C;AAC7C,mEAAiD;AACjD,yEAAuD;AACvD,qEAAmD;AACnD,+DAA6C;AAC7C,4EAA0D;AAC1D,sEAAoD;AACpD,+DAA6C;AAC7C,wEAAsD;AACtD,2EAAyD;AACzD,6DAA2C;AAC3C,sEAAoD;AACpD,oEAAkD;AAClD,0EAAwD;AAExD,wEAAsD;AACtD,0EAAwD;AACxD,kEAAgD;AAChD,oEAAkD;AAClD,sFAAoE;AACpE,yEAAuD;AACvD,2EAAyD;AACzD,0EAAwD;AACxD,4EAA0D;AAC1D,kEAAgD;AAChD,oEAAkD;AAClD,2EAAyD;AACzD,6EAA2D;AAC3D,4EAA0D;AAC1D,8EAA4D;AAC5D,0DAAwC;AACxC,4DAA0C;AAC1C,qEAAmD;AACnD,uEAAqD;AAErD,kEAAgD;AAChD,oEAAkD;AAElD,oEAAkD;AAElD,mEAAiD;AACjD,qEAAmD;AAEnD,yEAAuD;AACvD,2EAAyD;AAEzD,oEAAkD;AAClD,wEAAsD;AACtD,0EAAwD;AACxD,sEAAoD;AAEpD,gEAA8C;AAC9C,kEAAgD;AAEhD,sEAAoD;AACpD,wEAAsD;AAEtD,yEAAuD;AACvD,2EAAyD;AAEzD,2EAAyD"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/interface/api/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2DAAyC;AACzC,0DAAwC;AACxC,4DAA0C;AAC1C,+DAA6C;AAE7C,0DAAwC;AACxC,0DAAwC;AACxC,gEAA8C;AAC9C,uEAAqD;AACrD,6EAA2D;AAC3D,6EAA2D;AAC3D,+DAA6C;AAC7C,qEAAmD;AACnD,iEAA+C;AAC/C,uEAAqD;AACrD,mEAAiD;AACjD,6DAA2C;AAC3C,0EAAwD;AACxD,oEAAkD;AAClD,6DAA2C;AAC3C,sEAAoD;AACpD,mEAAiD;AACjD,yEAAuD;AACvD,2DAAyC;AACzC,oEAAkD;AAClD,kEAAgD;AAChD,wEAAsD;AAEtD,4DAA0C;AAC1C,4DAA0C;AAC1C,kEAAgD;AAChD,yEAAuD;AACvD,+EAA6D;AAC7D,+EAA6D;AAC7D,iEAA+C;AAC/C,uEAAqD;AACrD,qEAAmD;AACnD,+DAA6C;AAC7C,mEAAiD;AACjD,yEAAuD;AACvD,qEAAmD;AACnD,+DAA6C;AAC7C,4EAA0D;AAC1D,sEAAoD;AACpD,+DAA6C;AAC7C,wEAAsD;AACtD,qEAAmD;AACnD,2EAAyD;AACzD,6DAA2C;AAC3C,sEAAoD;AACpD,oEAAkD;AAClD,0EAAwD;AAExD,wEAAsD;AACtD,0EAAwD;AACxD,kEAAgD;AAChD,oEAAkD;AAClD,sFAAoE;AACpE,yEAAuD;AACvD,2EAAyD;AACzD,0EAAwD;AACxD,4EAA0D;AAC1D,kEAAgD;AAChD,oEAAkD;AAClD,2EAAyD;AACzD,6EAA2D;AAC3D,4EAA0D;AAC1D,8EAA4D;AAC5D,0DAAwC;AACxC,4DAA0C;AAC1C,qEAAmD;AACnD,uEAAqD;AAErD,kEAAgD;AAChD,oEAAkD;AAElD,oEAAkD;AAElD,mEAAiD;AACjD,qEAAmD;AAEnD,yEAAuD;AACvD,2EAAyD;AAEzD,oEAAkD;AAClD,wEAAsD;AACtD,0EAAwD;AACxD,sEAAoD;AAEpD,gEAA8C;AAC9C,kEAAgD;AAEhD,sEAAoD;AACpD,wEAAsD;AAEtD,yEAAuD;AACvD,2EAAyD;AAEzD,2EAAyD"}
|
|
@@ -11,6 +11,7 @@ export * from './crash-report.public.request';
|
|
|
11
11
|
export * from './gift-code.admin.request';
|
|
12
12
|
export * from './gift-code.request';
|
|
13
13
|
export * from './invitation.request';
|
|
14
|
+
export * from './mailing.admin.request';
|
|
14
15
|
export * from './newsletter.admin.request';
|
|
15
16
|
export * from './organization-billing.request';
|
|
16
17
|
export * from './organization-integration-webhook.request';
|
|
@@ -27,6 +27,7 @@ __exportStar(require("./crash-report.public.request"), exports);
|
|
|
27
27
|
__exportStar(require("./gift-code.admin.request"), exports);
|
|
28
28
|
__exportStar(require("./gift-code.request"), exports);
|
|
29
29
|
__exportStar(require("./invitation.request"), exports);
|
|
30
|
+
__exportStar(require("./mailing.admin.request"), exports);
|
|
30
31
|
__exportStar(require("./newsletter.admin.request"), exports);
|
|
31
32
|
__exportStar(require("./organization-billing.request"), exports);
|
|
32
33
|
__exportStar(require("./organization-integration-webhook.request"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/types/interface/api/requests/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8DAA4C;AAC5C,wDAAsC;AACtC,kDAAgC;AAChC,iDAA+B;AAC/B,kEAAgD;AAChD,mEAAiD;AACjD,yDAAuC;AACvC,oDAAkC;AAClC,0DAAwC;AACxC,gEAA8C;AAC9C,4DAA0C;AAC1C,sDAAoC;AACpC,uDAAqC;AACrC,6DAA2C;AAC3C,iEAA+C;AAC/C,6EAA2D;AAC3D,gEAA8C;AAC9C,+DAA6C;AAC7C,yDAAuC;AACvC,iEAA+C;AAC/C,2DAAyC;AACzC,4DAA0C;AAC1C,0DAAwC;AACxC,oDAAkC;AAClC,iEAA+C;AAC/C,+DAA6C;AAC7C,2DAAyC;AACzC,iDAA+B;AAC/B,gEAA8C;AAC9C,yDAAuC;AACvC,oEAAkD;AAClD,8DAA4C;AAC5C,uDAAqC;AACrC,iDAA+B;AAC/B,6DAA2C;AAC3C,gEAA8C"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/types/interface/api/requests/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8DAA4C;AAC5C,wDAAsC;AACtC,kDAAgC;AAChC,iDAA+B;AAC/B,kEAAgD;AAChD,mEAAiD;AACjD,yDAAuC;AACvC,oDAAkC;AAClC,0DAAwC;AACxC,gEAA8C;AAC9C,4DAA0C;AAC1C,sDAAoC;AACpC,uDAAqC;AACrC,0DAAwC;AACxC,6DAA2C;AAC3C,iEAA+C;AAC/C,6EAA2D;AAC3D,gEAA8C;AAC9C,+DAA6C;AAC7C,yDAAuC;AACvC,iEAA+C;AAC/C,2DAAyC;AACzC,4DAA0C;AAC1C,0DAAwC;AACxC,oDAAkC;AAClC,iEAA+C;AAC/C,+DAA6C;AAC7C,2DAAyC;AACzC,iDAA+B;AAC/B,gEAA8C;AAC9C,yDAAuC;AACvC,oEAAkD;AAClD,8DAA4C;AAC5C,uDAAqC;AACrC,iDAA+B;AAC/B,6DAA2C;AAC3C,gEAA8C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mailing.admin.request.js","sourceRoot":"","sources":["../../../../../src/types/interface/api/requests/mailing.admin.request.ts"],"names":[],"mappings":""}
|
|
@@ -15,6 +15,8 @@ export interface IPaginateSupportTicketAdminQuery extends QueryPaginate {
|
|
|
15
15
|
search?: string;
|
|
16
16
|
startDate?: string;
|
|
17
17
|
endDate?: string;
|
|
18
|
+
contextType?: string;
|
|
19
|
+
contextId?: string;
|
|
18
20
|
}
|
|
19
21
|
export interface IGetSupportTicketAdminParams {
|
|
20
22
|
supportTicketId: string;
|
|
@@ -32,6 +34,8 @@ export interface IUpdateSupportTicketAdminBody {
|
|
|
32
34
|
resolvedReason?: string;
|
|
33
35
|
closedReason?: string;
|
|
34
36
|
service?: AbyssService | null;
|
|
37
|
+
contextType?: string | null;
|
|
38
|
+
contextId?: string | null;
|
|
35
39
|
}
|
|
36
40
|
export interface ICloseSupportTicketAdminParams {
|
|
37
41
|
supportTicketId: string;
|
|
@@ -56,6 +60,8 @@ export interface ICreateSupportTicketAdminBody {
|
|
|
56
60
|
priority: SupportTicketPriority;
|
|
57
61
|
priorityReason?: string;
|
|
58
62
|
service?: AbyssService | null;
|
|
63
|
+
contextType?: string | null;
|
|
64
|
+
contextId?: string | null;
|
|
59
65
|
}
|
|
60
66
|
export interface ICreateSupportTicketAttachmentAdminParams {
|
|
61
67
|
supportTicketId: string;
|
|
@@ -1,9 +1,18 @@
|
|
|
1
|
-
import { IPlanTemplate } from '../../models/plan-template.model';
|
|
1
|
+
import { IPlanTemplate, IPlanServiceQuota, IPlanOveragePricing } from '../../models/plan-template.model';
|
|
2
|
+
import { PlanAccountType, PlanTier } from '../../../enum';
|
|
2
3
|
import { IResponse } from '../type-message/response';
|
|
3
4
|
export interface IListPlansBillingData {
|
|
4
5
|
plans: IPlanTemplate[];
|
|
5
6
|
}
|
|
6
7
|
export type IListPlansBillingResponse = IResponse<IListPlansBillingData>;
|
|
8
|
+
export interface IPublicPlan {
|
|
9
|
+
tier: PlanTier;
|
|
10
|
+
accountType: PlanAccountType;
|
|
11
|
+
name: string;
|
|
12
|
+
monthlyPriceEur: number;
|
|
13
|
+
quotas: IPlanServiceQuota[];
|
|
14
|
+
overagePricing: IPlanOveragePricing[];
|
|
15
|
+
}
|
|
7
16
|
export interface IGetPlanBillingData {
|
|
8
17
|
plan: IPlanTemplate;
|
|
9
18
|
}
|
|
@@ -12,6 +12,7 @@ export * from './crash-report.public.response';
|
|
|
12
12
|
export * from './gift-code.admin.response';
|
|
13
13
|
export * from './gift-code.response';
|
|
14
14
|
export * from './invitation.response';
|
|
15
|
+
export * from './mailing.admin.response';
|
|
15
16
|
export * from './metrics.admin.response';
|
|
16
17
|
export * from './monitor.response';
|
|
17
18
|
export * from './newsletter.admin.response';
|
|
@@ -28,6 +28,7 @@ __exportStar(require("./crash-report.public.response"), exports);
|
|
|
28
28
|
__exportStar(require("./gift-code.admin.response"), exports);
|
|
29
29
|
__exportStar(require("./gift-code.response"), exports);
|
|
30
30
|
__exportStar(require("./invitation.response"), exports);
|
|
31
|
+
__exportStar(require("./mailing.admin.response"), exports);
|
|
31
32
|
__exportStar(require("./metrics.admin.response"), exports);
|
|
32
33
|
__exportStar(require("./monitor.response"), exports);
|
|
33
34
|
__exportStar(require("./newsletter.admin.response"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/types/interface/api/responses/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+DAA6C;AAC7C,yDAAuC;AACvC,mDAAiC;AACjC,kDAAgC;AAChC,mEAAiD;AACjD,oEAAkD;AAClD,0DAAwC;AACxC,qDAAmC;AACnC,0DAAwC;AACxC,2DAAyC;AACzC,iEAA+C;AAC/C,6DAA2C;AAC3C,uDAAqC;AACrC,wDAAsC;AACtC,2DAAyC;AACzC,qDAAmC;AACnC,8DAA4C;AAC5C,kEAAgD;AAChD,iEAA+C;AAC/C,gEAA8C;AAC9C,0DAAwC;AACxC,kEAAgD;AAChD,4DAA0C;AAC1C,6DAA2C;AAC3C,2DAAyC;AACzC,qDAAmC;AACnC,4DAA0C;AAC1C,kDAAgC;AAChC,iEAA+C;AAC/C,0DAAwC;AACxC,iEAA+C;AAC/C,iEAA+C;AAC/C,qEAAmD;AACnD,+DAA6C;AAC7C,wDAAsC;AACtC,kDAAgC;AAChC,8DAA4C"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/types/interface/api/responses/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+DAA6C;AAC7C,yDAAuC;AACvC,mDAAiC;AACjC,kDAAgC;AAChC,mEAAiD;AACjD,oEAAkD;AAClD,0DAAwC;AACxC,qDAAmC;AACnC,0DAAwC;AACxC,2DAAyC;AACzC,iEAA+C;AAC/C,6DAA2C;AAC3C,uDAAqC;AACrC,wDAAsC;AACtC,2DAAyC;AACzC,2DAAyC;AACzC,qDAAmC;AACnC,8DAA4C;AAC5C,kEAAgD;AAChD,iEAA+C;AAC/C,gEAA8C;AAC9C,0DAAwC;AACxC,kEAAgD;AAChD,4DAA0C;AAC1C,6DAA2C;AAC3C,2DAAyC;AACzC,qDAAmC;AACnC,4DAA0C;AAC1C,kDAAgC;AAChC,iEAA+C;AAC/C,0DAAwC;AACxC,iEAA+C;AAC/C,iEAA+C;AAC/C,qEAAmD;AACnD,+DAA6C;AAC7C,wDAAsC;AACtC,kDAAgC;AAChC,8DAA4C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mailing.admin.response.js","sourceRoot":"","sources":["../../../../../src/types/interface/api/responses/mailing.admin.response.ts"],"names":[],"mappings":""}
|
|
@@ -19,6 +19,8 @@ export interface ISupportTicket {
|
|
|
19
19
|
createdByUserId: string | null;
|
|
20
20
|
priorityReason: string | null;
|
|
21
21
|
service: AbyssService | null;
|
|
22
|
+
contextType: string | null;
|
|
23
|
+
contextId: string | null;
|
|
22
24
|
resolvedAt: Date | null;
|
|
23
25
|
resolvedReason: string | null;
|
|
24
26
|
closedAt: Date | null;
|
package/package.json
CHANGED
|
@@ -1,9 +1,38 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abyss-project/main",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1.2",
|
|
4
4
|
"description": "Core package to interact with Abyss-Project",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
|
+
"exports": {
|
|
8
|
+
".": {
|
|
9
|
+
"types": "./dist/index.d.ts",
|
|
10
|
+
"default": "./dist/index.js"
|
|
11
|
+
},
|
|
12
|
+
"./server": {
|
|
13
|
+
"types": "./dist/server/index.d.ts",
|
|
14
|
+
"default": "./dist/server/index.js"
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"typesVersions": {
|
|
18
|
+
"*": {
|
|
19
|
+
"server": [
|
|
20
|
+
"./dist/server/index.d.ts"
|
|
21
|
+
]
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"publishConfig": {
|
|
25
|
+
"main": "dist/index.js",
|
|
26
|
+
"types": "dist/index.d.ts"
|
|
27
|
+
},
|
|
28
|
+
"scripts": {
|
|
29
|
+
"lint": "eslint \"{src,apps,libs,test,core}/**/*.ts\" --fix",
|
|
30
|
+
"lint:check": "eslint \"{src,apps,libs,test,core}/**/*.ts\" --max-warnings 0",
|
|
31
|
+
"tsc": "tsc",
|
|
32
|
+
"build": "tsc",
|
|
33
|
+
"dev": "tsc --watch",
|
|
34
|
+
"prepublish": "tsc"
|
|
35
|
+
},
|
|
7
36
|
"repository": {
|
|
8
37
|
"type": "git",
|
|
9
38
|
"url": "https://gitlab.com/abyss-group"
|
|
@@ -49,13 +78,5 @@
|
|
|
49
78
|
"prettier": "2.3.1",
|
|
50
79
|
"sequelize-cli": "^6.2.0",
|
|
51
80
|
"typescript": "5.4.2"
|
|
52
|
-
},
|
|
53
|
-
"scripts": {
|
|
54
|
-
"lint": "eslint \"{src,apps,libs,test,core}/**/*.ts\" --fix",
|
|
55
|
-
"lint:check": "eslint \"{src,apps,libs,test,core}/**/*.ts\" --max-warnings 0",
|
|
56
|
-
"tsc": "tsc",
|
|
57
|
-
"build": "tsc",
|
|
58
|
-
"dev": "tsc --watch",
|
|
59
|
-
"prepublish": "tsc"
|
|
60
81
|
}
|
|
61
|
-
}
|
|
82
|
+
}
|
package/tsconfig.json
CHANGED
|
@@ -1,35 +1,36 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"incremental": false,
|
|
4
|
-
"target": "es2021",
|
|
5
|
-
"lib": [
|
|
6
|
-
"dom",
|
|
7
|
-
"es2021"
|
|
8
|
-
],
|
|
9
|
-
"experimentalDecorators": true,
|
|
10
|
-
"emitDecoratorMetadata": true,
|
|
11
|
-
"module": "commonjs",
|
|
12
|
-
"rootDir": "src",
|
|
13
|
-
"moduleResolution": "node",
|
|
14
|
-
"resolveJsonModule": true,
|
|
15
|
-
"allowJs": true,
|
|
16
|
-
"declaration": true,
|
|
17
|
-
"sourceMap": true,
|
|
18
|
-
"outDir": "./dist",
|
|
19
|
-
"removeComments": true,
|
|
20
|
-
"allowSyntheticDefaultImports": true,
|
|
21
|
-
"esModuleInterop": true,
|
|
22
|
-
"forceConsistentCasingInFileNames": true,
|
|
23
|
-
"strict": true,
|
|
24
|
-
"strictNullChecks": true,
|
|
25
|
-
"strictFunctionTypes": true,
|
|
26
|
-
"strictPropertyInitialization": false,
|
|
27
|
-
"skipLibCheck": true
|
|
28
|
-
},
|
|
29
|
-
"include": [
|
|
30
|
-
"./src"
|
|
31
|
-
],
|
|
32
|
-
"exclude": [
|
|
33
|
-
"./dist/**/*"
|
|
34
|
-
|
|
35
|
-
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"incremental": false,
|
|
4
|
+
"target": "es2021",
|
|
5
|
+
"lib": [
|
|
6
|
+
"dom",
|
|
7
|
+
"es2021"
|
|
8
|
+
],
|
|
9
|
+
"experimentalDecorators": true,
|
|
10
|
+
"emitDecoratorMetadata": true,
|
|
11
|
+
"module": "commonjs",
|
|
12
|
+
"rootDir": "src",
|
|
13
|
+
"moduleResolution": "node",
|
|
14
|
+
"resolveJsonModule": true,
|
|
15
|
+
"allowJs": true,
|
|
16
|
+
"declaration": true,
|
|
17
|
+
"sourceMap": true,
|
|
18
|
+
"outDir": "./dist",
|
|
19
|
+
"removeComments": true,
|
|
20
|
+
"allowSyntheticDefaultImports": true,
|
|
21
|
+
"esModuleInterop": true,
|
|
22
|
+
"forceConsistentCasingInFileNames": true,
|
|
23
|
+
"strict": true,
|
|
24
|
+
"strictNullChecks": true,
|
|
25
|
+
"strictFunctionTypes": true,
|
|
26
|
+
"strictPropertyInitialization": false,
|
|
27
|
+
"skipLibCheck": true
|
|
28
|
+
},
|
|
29
|
+
"include": [
|
|
30
|
+
"./src"
|
|
31
|
+
],
|
|
32
|
+
"exclude": [
|
|
33
|
+
"./dist/**/*",
|
|
34
|
+
"./src/**/*.spec.ts"
|
|
35
|
+
]
|
|
36
|
+
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const organization_billing_enum_1 = require("../../types/enum/organization-billing.enum");
|
|
4
|
-
const billing_catalog_constants_1 = require("../billing-catalog.constants");
|
|
5
|
-
describe('billing catalog — AbyssExtract metrics', () => {
|
|
6
|
-
it('lists both extraction metrics under ABYSS_TOOLS', () => {
|
|
7
|
-
const tools = billing_catalog_constants_1.BILLABLE_SERVICE_METRICS[organization_billing_enum_1.BillingService.ABYSS_TOOLS] ?? [];
|
|
8
|
-
expect(tools).toContain(organization_billing_enum_1.BillingMetric.TOOLS_EXTRACTION);
|
|
9
|
-
expect(tools).toContain(organization_billing_enum_1.BillingMetric.TOOLS_EXTRACTION_OCR_PAGES);
|
|
10
|
-
});
|
|
11
|
-
it('gives each extraction metric a display unit', () => {
|
|
12
|
-
expect(billing_catalog_constants_1.METRIC_UNIT[organization_billing_enum_1.BillingMetric.TOOLS_EXTRACTION]).toBe('extractions');
|
|
13
|
-
expect(billing_catalog_constants_1.METRIC_UNIT[organization_billing_enum_1.BillingMetric.TOOLS_EXTRACTION_OCR_PAGES]).toBe('OCR pages');
|
|
14
|
-
});
|
|
15
|
-
it('marks both extraction metrics overage-eligible (consumption FLOW metrics)', () => {
|
|
16
|
-
expect(billing_catalog_constants_1.METRIC_IS_OVERAGE_ELIGIBLE.has(organization_billing_enum_1.BillingMetric.TOOLS_EXTRACTION)).toBe(true);
|
|
17
|
-
expect(billing_catalog_constants_1.METRIC_IS_OVERAGE_ELIGIBLE.has(organization_billing_enum_1.BillingMetric.TOOLS_EXTRACTION_OCR_PAGES)).toBe(true);
|
|
18
|
-
});
|
|
19
|
-
});
|
|
20
|
-
//# sourceMappingURL=billing-catalog.constants.spec.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"billing-catalog.constants.spec.js","sourceRoot":"","sources":["../../../src/constants/tests/billing-catalog.constants.spec.ts"],"names":[],"mappings":";;AAAA,0FAA2F;AAC3F,4EAIsC;AAEtC,QAAQ,CAAC,wCAAwC,EAAE,GAAG,EAAE;IACtD,EAAE,CAAC,iDAAiD,EAAE,GAAG,EAAE;QACzD,MAAM,KAAK,GAAG,oDAAwB,CAAC,0CAAc,CAAC,WAAW,CAAC,IAAI,EAAE,CAAC;QACzE,MAAM,CAAC,KAAK,CAAC,CAAC,SAAS,CAAC,yCAAa,CAAC,gBAAgB,CAAC,CAAC;QACxD,MAAM,CAAC,KAAK,CAAC,CAAC,SAAS,CAAC,yCAAa,CAAC,0BAA0B,CAAC,CAAC;IACpE,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,6CAA6C,EAAE,GAAG,EAAE;QACrD,MAAM,CAAC,uCAAW,CAAC,yCAAa,CAAC,gBAAgB,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;QACxE,MAAM,CAAC,uCAAW,CAAC,yCAAa,CAAC,0BAA0B,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;IAClF,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,2EAA2E,EAAE,GAAG,EAAE;QACnF,MAAM,CAAC,sDAA0B,CAAC,GAAG,CAAC,yCAAa,CAAC,gBAAgB,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAClF,MAAM,CAAC,sDAA0B,CAAC,GAAG,CAAC,yCAAa,CAAC,0BAA0B,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAC9F,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const organization_billing_enum_1 = require("./organization-billing.enum");
|
|
4
|
-
it('PlanAccountType includes FAMILY', () => {
|
|
5
|
-
expect(organization_billing_enum_1.PlanAccountType.FAMILY).toBe('FAMILY');
|
|
6
|
-
});
|
|
7
|
-
//# sourceMappingURL=organization-billing.enum.test.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"organization-billing.enum.test.js","sourceRoot":"","sources":["../../../src/types/enum/organization-billing.enum.test.ts"],"names":[],"mappings":";;AAAA,2EAA8D;AAE9D,EAAE,CAAC,iCAAiC,EAAE,GAAG,EAAE;IACzC,MAAM,CAAC,2CAAe,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;AAChD,CAAC,CAAC,CAAC"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AgeGroup = exports.ConsentType = void 0;
|
|
4
|
-
var ConsentType;
|
|
5
|
-
(function (ConsentType) {
|
|
6
|
-
ConsentType["JOIN_FAMILY"] = "join_family";
|
|
7
|
-
ConsentType["SPENDING_LIMIT"] = "spending_limit";
|
|
8
|
-
ConsentType["TOOL_ACCESS"] = "tool_access";
|
|
9
|
-
})(ConsentType || (exports.ConsentType = ConsentType = {}));
|
|
10
|
-
var AgeGroup;
|
|
11
|
-
(function (AgeGroup) {
|
|
12
|
-
AgeGroup["CHILD"] = "child";
|
|
13
|
-
AgeGroup["TEEN"] = "teen";
|
|
14
|
-
AgeGroup["ADULT"] = "adult";
|
|
15
|
-
})(AgeGroup || (exports.AgeGroup = AgeGroup = {}));
|
|
16
|
-
//# sourceMappingURL=parental-consent.enum.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"parental-consent.enum.js","sourceRoot":"","sources":["../../../src/types/enum/parental-consent.enum.ts"],"names":[],"mappings":";;;AASA,IAAY,WAOX;AAPD,WAAY,WAAW;IAErB,0CAA2B,CAAA;IAE3B,gDAAiC,CAAA;IAEjC,0CAA2B,CAAA;AAC7B,CAAC,EAPW,WAAW,2BAAX,WAAW,QAOtB;AAOD,IAAY,QAOX;AAPD,WAAY,QAAQ;IAElB,2BAAe,CAAA;IAEf,yBAAa,CAAA;IAEb,2BAAe,CAAA;AACjB,CAAC,EAPW,QAAQ,wBAAR,QAAQ,QAOnB"}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { ConsentType } from '../../enum/parental-consent.enum';
|
|
2
|
-
import { IOrganizationMember } from './organization-member.model';
|
|
3
|
-
import { IUser } from './user.model';
|
|
4
|
-
export interface IParentalConsentMetadata {
|
|
5
|
-
amountCents?: number;
|
|
6
|
-
period?: 'daily' | 'weekly' | 'monthly';
|
|
7
|
-
tools?: string[];
|
|
8
|
-
}
|
|
9
|
-
export interface IParentalConsent {
|
|
10
|
-
id: string;
|
|
11
|
-
organizationId: string;
|
|
12
|
-
minorMemberId: string;
|
|
13
|
-
guardianUserId: string;
|
|
14
|
-
consentType: ConsentType;
|
|
15
|
-
targetScope: string | null;
|
|
16
|
-
approvedAt: string;
|
|
17
|
-
expiresAt: string | null;
|
|
18
|
-
revokedAt: string | null;
|
|
19
|
-
revokedByUserId: string | null;
|
|
20
|
-
metadata: IParentalConsentMetadata;
|
|
21
|
-
createdAt?: string;
|
|
22
|
-
updatedAt?: string;
|
|
23
|
-
minorMember?: IOrganizationMember;
|
|
24
|
-
guardian?: IUser;
|
|
25
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"parental-consent.model.js","sourceRoot":"","sources":["../../../../src/types/interface/models/parental-consent.model.ts"],"names":[],"mappings":""}
|