@acorex-platform/extension-communication-hcm-client 0.0.28 → 0.0.32
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.
|
@@ -24,6 +24,26 @@ const RootConfig = {
|
|
|
24
24
|
/** Default cron for the seeded Job Schedule — manage timing in Job Schedules UI. */
|
|
25
25
|
defaultCron: '0 6 * * *',
|
|
26
26
|
},
|
|
27
|
+
birthdayDigest: {
|
|
28
|
+
/** Stable ContentManagement.TextTemplate id (see AXM_TEXT_TEMPLATE_IDS.employeeBirthdayDigest). */
|
|
29
|
+
templateId: 'c710000d-0001-4111-b111-0d0d0d0d0d0d',
|
|
30
|
+
providerKey: 'communication-hcm',
|
|
31
|
+
defaultCron: '0 6 * * *',
|
|
32
|
+
},
|
|
33
|
+
joiningDigest: {
|
|
34
|
+
/** Stable ContentManagement.TextTemplate id (see AXM_TEXT_TEMPLATE_IDS.employeeJoiningDigest). */
|
|
35
|
+
templateId: 'c710000e-0001-4111-b111-0e0e0e0e0e0e',
|
|
36
|
+
providerKey: 'communication-hcm',
|
|
37
|
+
defaultCron: '0 6 * * *',
|
|
38
|
+
},
|
|
39
|
+
tenantLoginDigest: {
|
|
40
|
+
/** Stable ContentManagement.TextTemplate id (see AXM_TEXT_TEMPLATE_IDS.tenantLoginDigest). */
|
|
41
|
+
templateId: 'c710000f-0001-4111-b111-0f0f0f0f0f0f',
|
|
42
|
+
providerKey: 'communication-hcm',
|
|
43
|
+
defaultCron: '0 7 * * *',
|
|
44
|
+
/** Tenants with no DeviceSessions.lastLoginDate inside this many days. */
|
|
45
|
+
windowDays: 30,
|
|
46
|
+
},
|
|
27
47
|
};
|
|
28
48
|
//#endregion
|
|
29
49
|
|
|
@@ -31,14 +51,20 @@ const RootConfig = {
|
|
|
31
51
|
const AXECommunicationHcmCommandKeys = {
|
|
32
52
|
EmployeeBirthdayRun: 'CommunicationHcmExtension:EmployeeBirthday:Run',
|
|
33
53
|
EmployeeJoiningRun: 'CommunicationHcmExtension:EmployeeJoining:Run',
|
|
54
|
+
EmployeeBirthdayDigestRun: 'CommunicationHcmExtension:EmployeeBirthdayDigest:Run',
|
|
55
|
+
EmployeeJoiningDigestRun: 'CommunicationHcmExtension:EmployeeJoiningDigest:Run',
|
|
56
|
+
TenantLoginDigestRun: 'CommunicationHcmExtension:TenantLoginDigest:Run',
|
|
34
57
|
};
|
|
35
58
|
const AXE_COMMUNICATION_HCM_EMPLOYEE_BIRTHDAY_COMMAND_KEY = AXECommunicationHcmCommandKeys.EmployeeBirthdayRun;
|
|
36
59
|
const AXE_COMMUNICATION_HCM_EMPLOYEE_JOINING_COMMAND_KEY = AXECommunicationHcmCommandKeys.EmployeeJoiningRun;
|
|
60
|
+
const AXE_COMMUNICATION_HCM_EMPLOYEE_BIRTHDAY_DIGEST_COMMAND_KEY = AXECommunicationHcmCommandKeys.EmployeeBirthdayDigestRun;
|
|
61
|
+
const AXE_COMMUNICATION_HCM_EMPLOYEE_JOINING_DIGEST_COMMAND_KEY = AXECommunicationHcmCommandKeys.EmployeeJoiningDigestRun;
|
|
62
|
+
const AXE_COMMUNICATION_HCM_TENANT_LOGIN_DIGEST_COMMAND_KEY = AXECommunicationHcmCommandKeys.TenantLoginDigestRun;
|
|
37
63
|
//#endregion
|
|
38
64
|
|
|
39
65
|
/**
|
|
40
66
|
* Generated bundle index. Do not edit.
|
|
41
67
|
*/
|
|
42
68
|
|
|
43
|
-
export { AXECommunicationHcmCommandKeys, AXE_COMMUNICATION_HCM_EMPLOYEE_BIRTHDAY_COMMAND_KEY, AXE_COMMUNICATION_HCM_EMPLOYEE_JOINING_COMMAND_KEY, RootConfig };
|
|
69
|
+
export { AXECommunicationHcmCommandKeys, AXE_COMMUNICATION_HCM_EMPLOYEE_BIRTHDAY_COMMAND_KEY, AXE_COMMUNICATION_HCM_EMPLOYEE_BIRTHDAY_DIGEST_COMMAND_KEY, AXE_COMMUNICATION_HCM_EMPLOYEE_JOINING_COMMAND_KEY, AXE_COMMUNICATION_HCM_EMPLOYEE_JOINING_DIGEST_COMMAND_KEY, AXE_COMMUNICATION_HCM_TENANT_LOGIN_DIGEST_COMMAND_KEY, RootConfig };
|
|
44
70
|
//# sourceMappingURL=acorex-platform-extension-communication-hcm-client-contracts.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-platform-extension-communication-hcm-client-contracts.mjs","sources":["../../../../libs/extensions/communication/hcm/contracts/src/root-config.ts","../../../../libs/extensions/communication/hcm/contracts/src/commands.keys.ts","../../../../libs/extensions/communication/hcm/contracts/src/acorex-platform-extension-communication-hcm-client-contracts.ts"],"sourcesContent":["//#region ---- Module Config ----\n\nconst config = {\n i18n: 'extensions-communication-hcm',\n};\n\nconst MODULE_NAME = 'CommunicationHcmExtension';\n\nexport const RootConfig = {\n config,\n module: {\n name: MODULE_NAME,\n title: `@${config.i18n}:module.title`,\n icon: 'fa-light fa-cake-candles',\n },\n birthday: {\n /** Stable ContentManagement.TextTemplate id (see AXM_TEXT_TEMPLATE_IDS.employeeHappyBirthday). */\n templateId: 'c7100007-0001-4111-b111-070707070707',\n providerKey: 'communication-hcm',\n /** Default cron for the seeded Job Schedule — manage timing in Job Schedules UI. */\n defaultCron: '0 6 * * *',\n },\n joining: {\n /** Stable ContentManagement.TextTemplate id (see AXM_TEXT_TEMPLATE_IDS.employeeJoiningCompany). */\n templateId: 'c7100008-0001-4111-b111-080808080808',\n providerKey: 'communication-hcm',\n /** Default cron for the seeded Job Schedule — manage timing in Job Schedules UI. */\n defaultCron: '0 6 * * *',\n },\n} as const;\n\n//#endregion\n","//#region ---- Communication HCM command keys ----\n\nexport const AXECommunicationHcmCommandKeys = {\n EmployeeBirthdayRun: 'CommunicationHcmExtension:EmployeeBirthday:Run',\n EmployeeJoiningRun: 'CommunicationHcmExtension:EmployeeJoining:Run',\n} as const;\n\nexport const AXE_COMMUNICATION_HCM_EMPLOYEE_BIRTHDAY_COMMAND_KEY =\n AXECommunicationHcmCommandKeys.EmployeeBirthdayRun;\n\nexport const AXE_COMMUNICATION_HCM_EMPLOYEE_JOINING_COMMAND_KEY =\n AXECommunicationHcmCommandKeys.EmployeeJoiningRun;\n\n//#endregion\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"AAAA;AAEA,MAAM,MAAM,GAAG;AACb,IAAA,IAAI,EAAE,8BAA8B;CACrC;AAED,MAAM,WAAW,GAAG,2BAA2B;AAExC,MAAM,UAAU,GAAG;IACxB,MAAM;AACN,IAAA,MAAM,EAAE;AACN,QAAA,IAAI,EAAE,WAAW;AACjB,QAAA,KAAK,EAAE,CAAA,CAAA,EAAI,MAAM,CAAC,IAAI,CAAA,aAAA,CAAe;AACrC,QAAA,IAAI,EAAE,0BAA0B;AACjC,KAAA;AACD,IAAA,QAAQ,EAAE;;AAER,QAAA,UAAU,EAAE,sCAAsC;AAClD,QAAA,WAAW,EAAE,mBAAmB;;AAEhC,QAAA,WAAW,EAAE,WAAW;AACzB,KAAA;AACD,IAAA,OAAO,EAAE;;AAEP,QAAA,UAAU,EAAE,sCAAsC;AAClD,QAAA,WAAW,EAAE,mBAAmB;;AAEhC,QAAA,WAAW,EAAE,WAAW;AACzB,KAAA;;AAGH;;
|
|
1
|
+
{"version":3,"file":"acorex-platform-extension-communication-hcm-client-contracts.mjs","sources":["../../../../libs/extensions/communication/hcm/contracts/src/root-config.ts","../../../../libs/extensions/communication/hcm/contracts/src/commands.keys.ts","../../../../libs/extensions/communication/hcm/contracts/src/acorex-platform-extension-communication-hcm-client-contracts.ts"],"sourcesContent":["//#region ---- Module Config ----\n\nconst config = {\n i18n: 'extensions-communication-hcm',\n};\n\nconst MODULE_NAME = 'CommunicationHcmExtension';\n\nexport const RootConfig = {\n config,\n module: {\n name: MODULE_NAME,\n title: `@${config.i18n}:module.title`,\n icon: 'fa-light fa-cake-candles',\n },\n birthday: {\n /** Stable ContentManagement.TextTemplate id (see AXM_TEXT_TEMPLATE_IDS.employeeHappyBirthday). */\n templateId: 'c7100007-0001-4111-b111-070707070707',\n providerKey: 'communication-hcm',\n /** Default cron for the seeded Job Schedule — manage timing in Job Schedules UI. */\n defaultCron: '0 6 * * *',\n },\n joining: {\n /** Stable ContentManagement.TextTemplate id (see AXM_TEXT_TEMPLATE_IDS.employeeJoiningCompany). */\n templateId: 'c7100008-0001-4111-b111-080808080808',\n providerKey: 'communication-hcm',\n /** Default cron for the seeded Job Schedule — manage timing in Job Schedules UI. */\n defaultCron: '0 6 * * *',\n },\n birthdayDigest: {\n /** Stable ContentManagement.TextTemplate id (see AXM_TEXT_TEMPLATE_IDS.employeeBirthdayDigest). */\n templateId: 'c710000d-0001-4111-b111-0d0d0d0d0d0d',\n providerKey: 'communication-hcm',\n defaultCron: '0 6 * * *',\n },\n joiningDigest: {\n /** Stable ContentManagement.TextTemplate id (see AXM_TEXT_TEMPLATE_IDS.employeeJoiningDigest). */\n templateId: 'c710000e-0001-4111-b111-0e0e0e0e0e0e',\n providerKey: 'communication-hcm',\n defaultCron: '0 6 * * *',\n },\n tenantLoginDigest: {\n /** Stable ContentManagement.TextTemplate id (see AXM_TEXT_TEMPLATE_IDS.tenantLoginDigest). */\n templateId: 'c710000f-0001-4111-b111-0f0f0f0f0f0f',\n providerKey: 'communication-hcm',\n defaultCron: '0 7 * * *',\n /** Tenants with no DeviceSessions.lastLoginDate inside this many days. */\n windowDays: 30,\n },\n} as const;\n\n//#endregion\n","//#region ---- Communication HCM command keys ----\n\nexport const AXECommunicationHcmCommandKeys = {\n EmployeeBirthdayRun: 'CommunicationHcmExtension:EmployeeBirthday:Run',\n EmployeeJoiningRun: 'CommunicationHcmExtension:EmployeeJoining:Run',\n EmployeeBirthdayDigestRun: 'CommunicationHcmExtension:EmployeeBirthdayDigest:Run',\n EmployeeJoiningDigestRun: 'CommunicationHcmExtension:EmployeeJoiningDigest:Run',\n TenantLoginDigestRun: 'CommunicationHcmExtension:TenantLoginDigest:Run',\n} as const;\n\nexport const AXE_COMMUNICATION_HCM_EMPLOYEE_BIRTHDAY_COMMAND_KEY =\n AXECommunicationHcmCommandKeys.EmployeeBirthdayRun;\n\nexport const AXE_COMMUNICATION_HCM_EMPLOYEE_JOINING_COMMAND_KEY =\n AXECommunicationHcmCommandKeys.EmployeeJoiningRun;\n\nexport const AXE_COMMUNICATION_HCM_EMPLOYEE_BIRTHDAY_DIGEST_COMMAND_KEY =\n AXECommunicationHcmCommandKeys.EmployeeBirthdayDigestRun;\n\nexport const AXE_COMMUNICATION_HCM_EMPLOYEE_JOINING_DIGEST_COMMAND_KEY =\n AXECommunicationHcmCommandKeys.EmployeeJoiningDigestRun;\n\nexport const AXE_COMMUNICATION_HCM_TENANT_LOGIN_DIGEST_COMMAND_KEY =\n AXECommunicationHcmCommandKeys.TenantLoginDigestRun;\n\n//#endregion\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"AAAA;AAEA,MAAM,MAAM,GAAG;AACb,IAAA,IAAI,EAAE,8BAA8B;CACrC;AAED,MAAM,WAAW,GAAG,2BAA2B;AAExC,MAAM,UAAU,GAAG;IACxB,MAAM;AACN,IAAA,MAAM,EAAE;AACN,QAAA,IAAI,EAAE,WAAW;AACjB,QAAA,KAAK,EAAE,CAAA,CAAA,EAAI,MAAM,CAAC,IAAI,CAAA,aAAA,CAAe;AACrC,QAAA,IAAI,EAAE,0BAA0B;AACjC,KAAA;AACD,IAAA,QAAQ,EAAE;;AAER,QAAA,UAAU,EAAE,sCAAsC;AAClD,QAAA,WAAW,EAAE,mBAAmB;;AAEhC,QAAA,WAAW,EAAE,WAAW;AACzB,KAAA;AACD,IAAA,OAAO,EAAE;;AAEP,QAAA,UAAU,EAAE,sCAAsC;AAClD,QAAA,WAAW,EAAE,mBAAmB;;AAEhC,QAAA,WAAW,EAAE,WAAW;AACzB,KAAA;AACD,IAAA,cAAc,EAAE;;AAEd,QAAA,UAAU,EAAE,sCAAsC;AAClD,QAAA,WAAW,EAAE,mBAAmB;AAChC,QAAA,WAAW,EAAE,WAAW;AACzB,KAAA;AACD,IAAA,aAAa,EAAE;;AAEb,QAAA,UAAU,EAAE,sCAAsC;AAClD,QAAA,WAAW,EAAE,mBAAmB;AAChC,QAAA,WAAW,EAAE,WAAW;AACzB,KAAA;AACD,IAAA,iBAAiB,EAAE;;AAEjB,QAAA,UAAU,EAAE,sCAAsC;AAClD,QAAA,WAAW,EAAE,mBAAmB;AAChC,QAAA,WAAW,EAAE,WAAW;;AAExB,QAAA,UAAU,EAAE,EAAE;AACf,KAAA;;AAGH;;ACnDA;AAEO,MAAM,8BAA8B,GAAG;AAC5C,IAAA,mBAAmB,EAAE,gDAAgD;AACrE,IAAA,kBAAkB,EAAE,+CAA+C;AACnE,IAAA,yBAAyB,EAAE,sDAAsD;AACjF,IAAA,wBAAwB,EAAE,qDAAqD;AAC/E,IAAA,oBAAoB,EAAE,iDAAiD;;AAGlE,MAAM,mDAAmD,GAC9D,8BAA8B,CAAC;AAE1B,MAAM,kDAAkD,GAC7D,8BAA8B,CAAC;AAE1B,MAAM,0DAA0D,GACrE,8BAA8B,CAAC;AAE1B,MAAM,yDAAyD,GACpE,8BAA8B,CAAC;AAE1B,MAAM,qDAAqD,GAChE,8BAA8B,CAAC;AAEjC;;ACzBA;;AAEG;;;;"}
|
package/package.json
CHANGED
|
@@ -21,13 +21,39 @@ declare const RootConfig: {
|
|
|
21
21
|
/** Default cron for the seeded Job Schedule — manage timing in Job Schedules UI. */
|
|
22
22
|
readonly defaultCron: "0 6 * * *";
|
|
23
23
|
};
|
|
24
|
+
readonly birthdayDigest: {
|
|
25
|
+
/** Stable ContentManagement.TextTemplate id (see AXM_TEXT_TEMPLATE_IDS.employeeBirthdayDigest). */
|
|
26
|
+
readonly templateId: "c710000d-0001-4111-b111-0d0d0d0d0d0d";
|
|
27
|
+
readonly providerKey: "communication-hcm";
|
|
28
|
+
readonly defaultCron: "0 6 * * *";
|
|
29
|
+
};
|
|
30
|
+
readonly joiningDigest: {
|
|
31
|
+
/** Stable ContentManagement.TextTemplate id (see AXM_TEXT_TEMPLATE_IDS.employeeJoiningDigest). */
|
|
32
|
+
readonly templateId: "c710000e-0001-4111-b111-0e0e0e0e0e0e";
|
|
33
|
+
readonly providerKey: "communication-hcm";
|
|
34
|
+
readonly defaultCron: "0 6 * * *";
|
|
35
|
+
};
|
|
36
|
+
readonly tenantLoginDigest: {
|
|
37
|
+
/** Stable ContentManagement.TextTemplate id (see AXM_TEXT_TEMPLATE_IDS.tenantLoginDigest). */
|
|
38
|
+
readonly templateId: "c710000f-0001-4111-b111-0f0f0f0f0f0f";
|
|
39
|
+
readonly providerKey: "communication-hcm";
|
|
40
|
+
readonly defaultCron: "0 7 * * *";
|
|
41
|
+
/** Tenants with no DeviceSessions.lastLoginDate inside this many days. */
|
|
42
|
+
readonly windowDays: 30;
|
|
43
|
+
};
|
|
24
44
|
};
|
|
25
45
|
|
|
26
46
|
declare const AXECommunicationHcmCommandKeys: {
|
|
27
47
|
readonly EmployeeBirthdayRun: "CommunicationHcmExtension:EmployeeBirthday:Run";
|
|
28
48
|
readonly EmployeeJoiningRun: "CommunicationHcmExtension:EmployeeJoining:Run";
|
|
49
|
+
readonly EmployeeBirthdayDigestRun: "CommunicationHcmExtension:EmployeeBirthdayDigest:Run";
|
|
50
|
+
readonly EmployeeJoiningDigestRun: "CommunicationHcmExtension:EmployeeJoiningDigest:Run";
|
|
51
|
+
readonly TenantLoginDigestRun: "CommunicationHcmExtension:TenantLoginDigest:Run";
|
|
29
52
|
};
|
|
30
53
|
declare const AXE_COMMUNICATION_HCM_EMPLOYEE_BIRTHDAY_COMMAND_KEY: "CommunicationHcmExtension:EmployeeBirthday:Run";
|
|
31
54
|
declare const AXE_COMMUNICATION_HCM_EMPLOYEE_JOINING_COMMAND_KEY: "CommunicationHcmExtension:EmployeeJoining:Run";
|
|
55
|
+
declare const AXE_COMMUNICATION_HCM_EMPLOYEE_BIRTHDAY_DIGEST_COMMAND_KEY: "CommunicationHcmExtension:EmployeeBirthdayDigest:Run";
|
|
56
|
+
declare const AXE_COMMUNICATION_HCM_EMPLOYEE_JOINING_DIGEST_COMMAND_KEY: "CommunicationHcmExtension:EmployeeJoiningDigest:Run";
|
|
57
|
+
declare const AXE_COMMUNICATION_HCM_TENANT_LOGIN_DIGEST_COMMAND_KEY: "CommunicationHcmExtension:TenantLoginDigest:Run";
|
|
32
58
|
|
|
33
|
-
export { AXECommunicationHcmCommandKeys, AXE_COMMUNICATION_HCM_EMPLOYEE_BIRTHDAY_COMMAND_KEY, AXE_COMMUNICATION_HCM_EMPLOYEE_JOINING_COMMAND_KEY, RootConfig };
|
|
59
|
+
export { AXECommunicationHcmCommandKeys, AXE_COMMUNICATION_HCM_EMPLOYEE_BIRTHDAY_COMMAND_KEY, AXE_COMMUNICATION_HCM_EMPLOYEE_BIRTHDAY_DIGEST_COMMAND_KEY, AXE_COMMUNICATION_HCM_EMPLOYEE_JOINING_COMMAND_KEY, AXE_COMMUNICATION_HCM_EMPLOYEE_JOINING_DIGEST_COMMAND_KEY, AXE_COMMUNICATION_HCM_TENANT_LOGIN_DIGEST_COMMAND_KEY, RootConfig };
|