@goweekdays/core 2.15.3 → 2.15.5
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/.github/workflows/publish.yml +7 -8
- package/CHANGELOG.md +12 -0
- package/dist/index.js +13 -44
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +13 -44
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -10985,19 +10985,6 @@ function useOrgService() {
|
|
|
10985
10985
|
},
|
|
10986
10986
|
session
|
|
10987
10987
|
);
|
|
10988
|
-
await addJobStatusConfig(
|
|
10989
|
-
{
|
|
10990
|
-
org: String(org),
|
|
10991
|
-
statusTransitions: DEFAULT_JOB_STATUS_SETUP
|
|
10992
|
-
},
|
|
10993
|
-
session
|
|
10994
|
-
);
|
|
10995
|
-
await addJobSummary(
|
|
10996
|
-
{
|
|
10997
|
-
org: String(org)
|
|
10998
|
-
},
|
|
10999
|
-
session
|
|
11000
|
-
);
|
|
11001
10988
|
await useCustomerRepo().add(
|
|
11002
10989
|
{
|
|
11003
10990
|
org: String(org),
|
|
@@ -11021,8 +11008,8 @@ function useOrgService() {
|
|
|
11021
11008
|
mailer.sendMail({
|
|
11022
11009
|
to: verification.email,
|
|
11023
11010
|
subject: "Welcome to GoWeekdays - Your Organization is Ready",
|
|
11024
|
-
|
|
11025
|
-
|
|
11011
|
+
from: `"GoWeekdays" <support@goweekdays.com>`,
|
|
11012
|
+
html: emailContent
|
|
11026
11013
|
}).catch((error2) => {
|
|
11027
11014
|
logger28.log({
|
|
11028
11015
|
level: "error",
|
|
@@ -11122,19 +11109,6 @@ function useOrgService() {
|
|
|
11122
11109
|
},
|
|
11123
11110
|
session
|
|
11124
11111
|
);
|
|
11125
|
-
await addJobStatusConfig(
|
|
11126
|
-
{
|
|
11127
|
-
org: String(org),
|
|
11128
|
-
statusTransitions: DEFAULT_JOB_STATUS_SETUP
|
|
11129
|
-
},
|
|
11130
|
-
session
|
|
11131
|
-
);
|
|
11132
|
-
await addJobSummary(
|
|
11133
|
-
{
|
|
11134
|
-
org: String(org)
|
|
11135
|
-
},
|
|
11136
|
-
session
|
|
11137
|
-
);
|
|
11138
11112
|
await useCustomerRepo().add(
|
|
11139
11113
|
{
|
|
11140
11114
|
org: String(org),
|
|
@@ -11158,8 +11132,8 @@ function useOrgService() {
|
|
|
11158
11132
|
mailer.sendMail({
|
|
11159
11133
|
to: verification.email,
|
|
11160
11134
|
subject: "Welcome to GoWeekdays - Your Organization is Ready",
|
|
11161
|
-
|
|
11162
|
-
|
|
11135
|
+
from: `"GoWeekdays" <support@goweekdays.com>`,
|
|
11136
|
+
html: emailContent
|
|
11163
11137
|
}).catch((error2) => {
|
|
11164
11138
|
logger28.log({
|
|
11165
11139
|
level: "error",
|
|
@@ -12072,7 +12046,7 @@ function useVerificationService() {
|
|
|
12072
12046
|
to: email,
|
|
12073
12047
|
subject: "Member Invite",
|
|
12074
12048
|
html: emailContent2,
|
|
12075
|
-
from: "GoWeekdays"
|
|
12049
|
+
from: `"GoWeekdays" <support@goweekdays.com>`
|
|
12076
12050
|
}).catch((error) => {
|
|
12077
12051
|
logger30.log({
|
|
12078
12052
|
level: "error",
|
|
@@ -12094,7 +12068,7 @@ function useVerificationService() {
|
|
|
12094
12068
|
to: email,
|
|
12095
12069
|
subject: "User Invite",
|
|
12096
12070
|
html: emailContent,
|
|
12097
|
-
from: "GoWeekdays"
|
|
12071
|
+
from: `"GoWeekdays" <support@goweekdays.com>`
|
|
12098
12072
|
}).catch((error) => {
|
|
12099
12073
|
logger30.log({
|
|
12100
12074
|
level: "error",
|
|
@@ -12128,7 +12102,7 @@ function useVerificationService() {
|
|
|
12128
12102
|
mailer.sendMail({
|
|
12129
12103
|
to: email,
|
|
12130
12104
|
subject: "Forget Password",
|
|
12131
|
-
from: "GoWeekdays"
|
|
12105
|
+
from: `"GoWeekdays" <support@goweekdays.com>`,
|
|
12132
12106
|
html: emailContent
|
|
12133
12107
|
}).catch((error) => {
|
|
12134
12108
|
logger30.log({
|
|
@@ -12319,7 +12293,7 @@ function useVerificationService() {
|
|
|
12319
12293
|
to: email,
|
|
12320
12294
|
subject: "Sign Up Verification",
|
|
12321
12295
|
html: emailContent,
|
|
12322
|
-
from: "GoWeekdays"
|
|
12296
|
+
from: `"GoWeekdays" <support@goweekdays.com>`
|
|
12323
12297
|
}).catch((error) => {
|
|
12324
12298
|
logger30.log({
|
|
12325
12299
|
level: "error",
|
|
@@ -12411,7 +12385,7 @@ function useVerificationService() {
|
|
|
12411
12385
|
to: value.email,
|
|
12412
12386
|
subject: "Member Invite",
|
|
12413
12387
|
html: emailContent2,
|
|
12414
|
-
from: "GoWeekdays"
|
|
12388
|
+
from: `"GoWeekdays" <support@goweekdays.com>`
|
|
12415
12389
|
}).catch((error2) => {
|
|
12416
12390
|
logger30.log({
|
|
12417
12391
|
level: "error",
|
|
@@ -12433,7 +12407,7 @@ function useVerificationService() {
|
|
|
12433
12407
|
to: value.email,
|
|
12434
12408
|
subject: "User Invite",
|
|
12435
12409
|
html: emailContent,
|
|
12436
|
-
from: "GoWeekdays"
|
|
12410
|
+
from: `"GoWeekdays" <support@goweekdays.com>`
|
|
12437
12411
|
}).catch((error2) => {
|
|
12438
12412
|
logger30.log({
|
|
12439
12413
|
level: "error",
|
|
@@ -12501,16 +12475,11 @@ function useVerificationService() {
|
|
|
12501
12475
|
},
|
|
12502
12476
|
filePath
|
|
12503
12477
|
});
|
|
12504
|
-
mailer.sendMail({
|
|
12478
|
+
await mailer.sendMail({
|
|
12505
12479
|
to: email,
|
|
12506
12480
|
subject: "Forget Password",
|
|
12507
|
-
from: "GoWeekdays"
|
|
12481
|
+
from: `"GoWeekdays" <support@goweekdays.com>`,
|
|
12508
12482
|
html: emailContent
|
|
12509
|
-
}).catch((error2) => {
|
|
12510
|
-
logger30.log({
|
|
12511
|
-
level: "error",
|
|
12512
|
-
message: `Error sending forget password email: ${error2}`
|
|
12513
|
-
});
|
|
12514
12483
|
});
|
|
12515
12484
|
return "Successfully created a link to reset password. Please check your email.";
|
|
12516
12485
|
} catch (error2) {
|
|
@@ -12625,7 +12594,7 @@ function useVerificationService() {
|
|
|
12625
12594
|
to: value.email,
|
|
12626
12595
|
subject: value.pilot ? "Pilot Organization Invitation" : "Organization Invitation",
|
|
12627
12596
|
html: emailContent,
|
|
12628
|
-
from: "GoWeekdays"
|
|
12597
|
+
from: `"GoWeekdays" <support@goweekdays.com>`
|
|
12629
12598
|
});
|
|
12630
12599
|
await session?.commitTransaction();
|
|
12631
12600
|
return "Successfully created organization invite.";
|