@abyss-project/main 1.0.102 → 1.0.104

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.
@@ -61,7 +61,11 @@ export declare enum UserNotificationContentType {
61
61
  TRAINING_NEVER_TRAINED = "training-never-trained",
62
62
  TRAINING_TODAY_WORKOUT_REMINDER_MORNING = "training-today-workout-reminder-morning",
63
63
  TRAINING_TODAY_WORKOUT_REMINDER_AFTERNOON = "training-today-workout-reminder-afternoon",
64
- TRAINING_TODAY_WORKOUT_REMINDER_EVENING = "training-today-workout-reminder-evening"
64
+ TRAINING_TODAY_WORKOUT_REMINDER_EVENING = "training-today-workout-reminder-evening",
65
+ INTERNAL_TICKET_STATUS_CHANGED = "internal-ticket-status-changed",
66
+ INTERNAL_TICKET_NEW_MESSAGE = "internal-ticket-new-message",
67
+ INTERNAL_TICKET_MENTION = "internal-ticket-mention",
68
+ INTERNAL_TICKET_ASSIGNED = "internal-ticket-assigned"
65
69
  }
66
70
  export declare class UserNotificationContentTypeData implements Record<UserNotificationContentType, Record<string, string | null | boolean>> {
67
71
  [UserNotificationContentType.USER_CREDIT_PURCHASE]: {
@@ -452,4 +456,39 @@ export declare class UserNotificationContentTypeData implements Record<UserNotif
452
456
  workoutName: string;
453
457
  scheduledWorkoutsCount: string;
454
458
  };
459
+ [UserNotificationContentType.INTERNAL_TICKET_STATUS_CHANGED]: {
460
+ projectId: string;
461
+ ticketId: string;
462
+ ticketTitle: string;
463
+ fromStatus: string;
464
+ toStatus: string;
465
+ reason: string | null;
466
+ changedByUserId: string;
467
+ emailDelayMinutes: string;
468
+ };
469
+ [UserNotificationContentType.INTERNAL_TICKET_NEW_MESSAGE]: {
470
+ projectId: string;
471
+ ticketId: string;
472
+ ticketTitle: string;
473
+ messageByUserId: string;
474
+ messagePreview: string;
475
+ messageId: string;
476
+ emailDelayMinutes: string;
477
+ };
478
+ [UserNotificationContentType.INTERNAL_TICKET_MENTION]: {
479
+ projectId: string;
480
+ ticketId: string;
481
+ ticketTitle: string;
482
+ mentionedByUserId: string;
483
+ messagePreview: string;
484
+ messageId: string;
485
+ emailDelayMinutes: string;
486
+ };
487
+ [UserNotificationContentType.INTERNAL_TICKET_ASSIGNED]: {
488
+ projectId: string;
489
+ ticketId: string;
490
+ ticketTitle: string;
491
+ assignedByUserId: string;
492
+ emailDelayMinutes: string;
493
+ };
455
494
  }
@@ -66,8 +66,12 @@ var UserNotificationContentType;
66
66
  UserNotificationContentType["TRAINING_TODAY_WORKOUT_REMINDER_MORNING"] = "training-today-workout-reminder-morning";
67
67
  UserNotificationContentType["TRAINING_TODAY_WORKOUT_REMINDER_AFTERNOON"] = "training-today-workout-reminder-afternoon";
68
68
  UserNotificationContentType["TRAINING_TODAY_WORKOUT_REMINDER_EVENING"] = "training-today-workout-reminder-evening";
69
+ UserNotificationContentType["INTERNAL_TICKET_STATUS_CHANGED"] = "internal-ticket-status-changed";
70
+ UserNotificationContentType["INTERNAL_TICKET_NEW_MESSAGE"] = "internal-ticket-new-message";
71
+ UserNotificationContentType["INTERNAL_TICKET_MENTION"] = "internal-ticket-mention";
72
+ UserNotificationContentType["INTERNAL_TICKET_ASSIGNED"] = "internal-ticket-assigned";
69
73
  })(UserNotificationContentType || (exports.UserNotificationContentType = UserNotificationContentType = {}));
70
74
  class UserNotificationContentTypeData {
71
75
  }
72
76
  exports.UserNotificationContentTypeData = UserNotificationContentTypeData;
73
- UserNotificationContentType.USER_CREDIT_PURCHASE, UserNotificationContentType.USER_TICKET_RESPONSE, UserNotificationContentType.INVITE_USER_PROJECT, UserNotificationContentType.PROJECT_SET_OWNERSHIP, UserNotificationContentType.USER_SUBSCRIPTION_NO_FUNDS_AUTO_RENEW_DISABLED, UserNotificationContentType.USER_SUBSCRIPTION_AUTO_RENEW_ENABLED, UserNotificationContentType.USER_SUBSCRIPTION_AUTO_RENEW_DISABLED, UserNotificationContentType.PROJECT_SUBSCRIPTION_NO_FUNDS_AUTO_RENEW_DISABLED, UserNotificationContentType.PROJECT_SUBSCRIPTION_AUTO_RENEW_ENABLED, UserNotificationContentType.PROJECT_SUBSCRIPTION_AUTO_RENEW_DISABLED, UserNotificationContentType.USER_SUBSCRIPTION_EXPIRATION, UserNotificationContentType.PROJECT_SUBSCRIPTION_EXPIRATION, UserNotificationContentType.USER_SUBSCRIPTION_EXPIRATION_WITHOUT_AUTO_RENEW, UserNotificationContentType.PROJECT_SUBSCRIPTION_EXPIRATION_WITHOUT_AUTO_RENEW, UserNotificationContentType.USER_SUBSCRIPTION_RENEW_SUCCESS, UserNotificationContentType.PROJECT_SUBSCRIPTION_RENEW_SUCCESS, UserNotificationContentType.USER_SUBSCRIPTION_AUTO_RENEW_SUCCESS, UserNotificationContentType.PROJECT_SUBSCRIPTION_AUTO_RENEW_SUCCESS, UserNotificationContentType.USER_SUBSCRIPTION_CREATE, UserNotificationContentType.PROJECT_SUBSCRIPTION_CREATE, UserNotificationContentType.USER_SUBSCRIPTION_CREATE_WITHOUT_AUTO_RENEW, UserNotificationContentType.PROJECT_SUBSCRIPTION_CREATE_WITHOUT_AUTO_RENEW, UserNotificationContentType.BOARD_CARD_LATE, UserNotificationContentType.BOARD_CARD_ALMOST_LATE, UserNotificationContentType.CREATE_CLOUD_SHARE, UserNotificationContentType.DELETE_CLOUD_SHARE, UserNotificationContentType.CREATE_CLOUD, UserNotificationContentType.DELETE_CLOUD, UserNotificationContentType.ADMIN_CREATE_CLOUD, 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.INVITE_EVENT, UserNotificationContentType.CHANGE_OWNER_EVENT, UserNotificationContentType.CREATE_POLL_EVENT, UserNotificationContentType.BANK_CONNECTION_SUCCESS, UserNotificationContentType.BANK_CONNECTION_EXPIRE, 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_7_DAYS, UserNotificationContentType.TRAINING_INACTIVITY_5_DAYS, UserNotificationContentType.TRAINING_INACTIVITY_2_DAYS, UserNotificationContentType.TRAINING_NEVER_TRAINED, UserNotificationContentType.TRAINING_TODAY_WORKOUT_REMINDER_MORNING, UserNotificationContentType.TRAINING_TODAY_WORKOUT_REMINDER_AFTERNOON, UserNotificationContentType.TRAINING_TODAY_WORKOUT_REMINDER_EVENING;
77
+ UserNotificationContentType.USER_CREDIT_PURCHASE, UserNotificationContentType.USER_TICKET_RESPONSE, UserNotificationContentType.INVITE_USER_PROJECT, UserNotificationContentType.PROJECT_SET_OWNERSHIP, UserNotificationContentType.USER_SUBSCRIPTION_NO_FUNDS_AUTO_RENEW_DISABLED, UserNotificationContentType.USER_SUBSCRIPTION_AUTO_RENEW_ENABLED, UserNotificationContentType.USER_SUBSCRIPTION_AUTO_RENEW_DISABLED, UserNotificationContentType.PROJECT_SUBSCRIPTION_NO_FUNDS_AUTO_RENEW_DISABLED, UserNotificationContentType.PROJECT_SUBSCRIPTION_AUTO_RENEW_ENABLED, UserNotificationContentType.PROJECT_SUBSCRIPTION_AUTO_RENEW_DISABLED, UserNotificationContentType.USER_SUBSCRIPTION_EXPIRATION, UserNotificationContentType.PROJECT_SUBSCRIPTION_EXPIRATION, UserNotificationContentType.USER_SUBSCRIPTION_EXPIRATION_WITHOUT_AUTO_RENEW, UserNotificationContentType.PROJECT_SUBSCRIPTION_EXPIRATION_WITHOUT_AUTO_RENEW, UserNotificationContentType.USER_SUBSCRIPTION_RENEW_SUCCESS, UserNotificationContentType.PROJECT_SUBSCRIPTION_RENEW_SUCCESS, UserNotificationContentType.USER_SUBSCRIPTION_AUTO_RENEW_SUCCESS, UserNotificationContentType.PROJECT_SUBSCRIPTION_AUTO_RENEW_SUCCESS, UserNotificationContentType.USER_SUBSCRIPTION_CREATE, UserNotificationContentType.PROJECT_SUBSCRIPTION_CREATE, UserNotificationContentType.USER_SUBSCRIPTION_CREATE_WITHOUT_AUTO_RENEW, UserNotificationContentType.PROJECT_SUBSCRIPTION_CREATE_WITHOUT_AUTO_RENEW, UserNotificationContentType.BOARD_CARD_LATE, UserNotificationContentType.BOARD_CARD_ALMOST_LATE, UserNotificationContentType.CREATE_CLOUD_SHARE, UserNotificationContentType.DELETE_CLOUD_SHARE, UserNotificationContentType.CREATE_CLOUD, UserNotificationContentType.DELETE_CLOUD, UserNotificationContentType.ADMIN_CREATE_CLOUD, 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.INVITE_EVENT, UserNotificationContentType.CHANGE_OWNER_EVENT, UserNotificationContentType.CREATE_POLL_EVENT, UserNotificationContentType.BANK_CONNECTION_SUCCESS, UserNotificationContentType.BANK_CONNECTION_EXPIRE, 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_7_DAYS, UserNotificationContentType.TRAINING_INACTIVITY_5_DAYS, UserNotificationContentType.TRAINING_INACTIVITY_2_DAYS, UserNotificationContentType.TRAINING_NEVER_TRAINED, UserNotificationContentType.TRAINING_TODAY_WORKOUT_REMINDER_MORNING, UserNotificationContentType.TRAINING_TODAY_WORKOUT_REMINDER_AFTERNOON, UserNotificationContentType.TRAINING_TODAY_WORKOUT_REMINDER_EVENING, UserNotificationContentType.INTERNAL_TICKET_STATUS_CHANGED, UserNotificationContentType.INTERNAL_TICKET_NEW_MESSAGE, UserNotificationContentType.INTERNAL_TICKET_MENTION, UserNotificationContentType.INTERNAL_TICKET_ASSIGNED;
@@ -11,6 +11,8 @@ export type OnboardingData = {
11
11
  email: string;
12
12
  signupAsCompany: boolean;
13
13
  companyName?: string;
14
+ companySiren?: string;
15
+ companyCreationDate?: string;
14
16
  companyRole?: string;
15
17
  companyWebsite?: string;
16
18
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abyss-project/main",
3
- "version": "1.0.102",
3
+ "version": "1.0.104",
4
4
  "description": "Core package to interact with Abyss-Project",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",