@genesislcap/pbc-notify-seed 0.0.1

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.
@@ -0,0 +1,15 @@
1
+ module.exports = {
2
+ details: () => ({
3
+ nextStepsMessage: `
4
+ Genesis Notify PBC has been added successfully 🎉
5
+
6
+ > Go into the (web) client directory with \`cd client\`
7
+
8
+ > Install the PBC dependencies with \`npm run bootstrap\`
9
+
10
+ > Start the development server with \`npm run dev\`
11
+ `
12
+ }),
13
+ prompts: () => require('./prompts'),
14
+ configure: () => require('./configure'),
15
+ };
@@ -0,0 +1,7 @@
1
+ const { baseChecksPBC } = require('@genesislcap/seed-utils');
2
+
3
+
4
+ module.exports = [
5
+ ...baseChecksPBC,
6
+ // any other custom check relevant to this PBC
7
+ ];
@@ -0,0 +1,23 @@
1
+ const { resolve } = require('node:path');
2
+ const { addUIDependency, addServerDependency, runPreRequisiteChecks } = require('@genesislcap/seed-utils');
3
+ const checks = require('./checks');
4
+ const versions = require('./versions.json');
5
+ const packageJson = require('./package.json');
6
+
7
+ module.exports = async (data, utils) => {
8
+ const { editJSONFile } = utils;
9
+ const json = editJSONFile(packageJson);
10
+ data.pbcVersion = json.get('version');
11
+ data.date = Date();
12
+ data.utils = utils;
13
+ data.versions = versions;
14
+ /**
15
+ * Run checks on project
16
+ */
17
+ runPreRequisiteChecks(data, checks);
18
+
19
+ addUIDependency(data, '@genesislcap/pbc-notify-ui', versions.dependencies.pbcNotify);
20
+
21
+ addServerDependency(data, {name: 'genesis-notify'}, versions.dependencies.serverDepId);
22
+ addServerDependency(data, {name: 'file-server'}, versions.dependencies.fileServerDepId);
23
+ };
@@ -0,0 +1,38 @@
1
+ {
2
+ "name": "@genesislcap/pbc-notify-genx",
3
+ "description": "Genesis Nofity PBC Genx",
4
+ "version": "1.0.0",
5
+ "engines": {
6
+ "node": ">=20.0.0"
7
+ },
8
+ "genxSeedConfig": {
9
+ "exclude": [
10
+ "README.md"
11
+ ],
12
+ "persistAnswers": true,
13
+ "processFiles": {
14
+ "exclude": [
15
+ ".git",
16
+ ".genx",
17
+ "node_modules",
18
+ ".gradle",
19
+ "gradle"
20
+ ],
21
+ "rename": true,
22
+ "interpolateVariables": {
23
+ "enabled": true,
24
+ "include": [
25
+ "Dockerfile",
26
+ "product-info",
27
+ ".kt",
28
+ ".kts",
29
+ ".md"
30
+ ]
31
+ }
32
+ }
33
+ },
34
+ "dependencies": {
35
+ "@genesislcap/seed-utils": "~14.144.0",
36
+ "tslib": "^2.3.1"
37
+ }
38
+ }
@@ -0,0 +1,100 @@
1
+ module.exports = async (inquirer, prevAns = {}) => await prompts(inquirer, prevAns);
2
+
3
+ const prompts = async (inquirer, prevAns) => {
4
+ const {
5
+ emailGatewayEnabled = prevAns.emailGatewayEnabled,
6
+ screenGatewayEnabled = prevAns.screenGatewayEnabled,
7
+ teamsGatewayEnabled = prevAns.teamsGatewayEnabled,
8
+ smtpHost = prevAns.smtpHost,
9
+ smtpPort = prevAns.smtpPort,
10
+ smtpUser = prevAns.smtpUser,
11
+ smtpPw = prevAns.smtpPw,
12
+ smtpProtocol = prevAns.smtpProtocol,
13
+ systemDefaultUserName = prevAns.systemDefaultUserName,
14
+ systemDefaultEmail = prevAns.systemDefaultEmail
15
+ } = await inquirer.prompt([
16
+ {
17
+ name: 'screenGatewayEnabled',
18
+ type: 'confirm',
19
+ message: 'Enable Screen Gateway',
20
+ default: prevAns.screenGatewayEnabled || true,
21
+ when: prevAns.screenGatewayEnabled === undefined,
22
+ },
23
+ {
24
+ name: 'emailGatewayEnabled',
25
+ type: 'confirm',
26
+ message: 'Enable Email Gateway',
27
+ default: prevAns.emailGatewayEnabled || true,
28
+ when: prevAns.emailGatewayEnabled === undefined,
29
+ },
30
+ {
31
+ name: 'teamsGatewayEnabled',
32
+ type: 'confirm',
33
+ message: 'Enable Teams Gateway',
34
+ default: prevAns.teamsGatewayEnabled || true,
35
+ when: prevAns.teamsGatewayEnabled === undefined,
36
+ },
37
+ {
38
+ name: 'smtpHost',
39
+ type: 'input',
40
+ message: 'SMTP Host',
41
+ default: prevAns.smtpHost || "localhost",
42
+ when: ({emailGatewayEnabled}) => emailGatewayEnabled === true && prevAns.smtpHost === undefined,
43
+ },
44
+ {
45
+ name: 'smtpPort',
46
+ type: 'input',
47
+ message: 'SMTP Port',
48
+ default: prevAns.smtpPort || 587,
49
+ when: ({emailGatewayEnabled}) => emailGatewayEnabled === true && prevAns.smtpPort === undefined,
50
+ },
51
+ {
52
+ name: 'smtpUser',
53
+ type: 'input',
54
+ message: 'SMTP User',
55
+ default: prevAns.smtpUser || "*",
56
+ when: ({emailGatewayEnabled}) => emailGatewayEnabled === true && prevAns.smtpUser === undefined,
57
+ },
58
+ {
59
+ name: 'smtpPw',
60
+ type: 'input',
61
+ message: 'SMTP Password',
62
+ default: prevAns.smtpPw || "*",
63
+ when: ({emailGatewayEnabled}) => emailGatewayEnabled === true && prevAns.smtpPw === undefined,
64
+ },
65
+ {
66
+ name: 'smtpProtocol',
67
+ type: 'input',
68
+ message: 'SMTP Protocol',
69
+ default: prevAns.smtpProtocol || "TransportStrategy.SMTP",
70
+ when: ({emailGatewayEnabled}) => emailGatewayEnabled === true && prevAns.smtpProtocol === undefined,
71
+ },
72
+ {
73
+ name: 'systemDefaultUserName',
74
+ type: 'input',
75
+ message: 'System Default User Name',
76
+ default: prevAns.systemDefaultUserName || "*",
77
+ when: ({emailGatewayEnabled}) => emailGatewayEnabled === true && prevAns.systemDefaultUserName === undefined,
78
+ },
79
+ {
80
+ name: 'systemDefaultEmail',
81
+ type: 'input',
82
+ message: 'System Default Email',
83
+ default: prevAns.systemDefaultEmail || "*",
84
+ when: ({emailGatewayEnabled}) => emailGatewayEnabled === true && prevAns.systemDefaultEmail === undefined,
85
+ }
86
+
87
+ ]);
88
+ return {
89
+ screenGatewayEnabled,
90
+ emailGatewayEnabled,
91
+ teamsGatewayEnabled,
92
+ smtpHost,
93
+ smtpPort,
94
+ smtpUser,
95
+ smtpPw,
96
+ smtpProtocol,
97
+ systemDefaultUserName,
98
+ systemDefaultEmail
99
+ };
100
+ };
@@ -0,0 +1,11 @@
1
+ {
2
+ "prerequisites": {
3
+ "foundationUI": "14.*",
4
+ "gsf": "7.*"
5
+ },
6
+ "dependencies": {
7
+ "pbcNotify": "1.0.5",
8
+ "serverDepId": "7.1.1-SNAPSHOT",
9
+ "fileServerDepId": "7.1.0"
10
+ }
11
+ }
package/README.md ADDED
@@ -0,0 +1,13 @@
1
+ ## Notify
2
+
3
+ {{!
4
+
5
+ # Testing
6
+
7
+ To quickly test this seed, run:
8
+
9
+ ```
10
+ npx -y @genesislcap/genx@latest init myapp -x --no-shell && \
11
+ npx -y @genesislcap/genx@latest add myapp -x -s genesislcap/pbc-notify-seed
12
+ ```
13
+ }}
@@ -0,0 +1,5 @@
1
+ ## Genesis Notify PBC
2
+
3
+ This project has had Genesis Notify Version `{{pbcVersion}}` added to it via `genx add` on {{date}}.
4
+
5
+ For more information on this capability visit https://learn.genesis.global/docs/pbc/notify.
@@ -0,0 +1,98 @@
1
+ import type { ToastButton } from '@genesislcap/foundation-notifications';
2
+ import type { AppElement } from '@genesislcap/foundation-shell/app';
3
+ import { Flyout } from '@genesislcap/foundation-ui';
4
+ import { html } from '@microsoft/fast-element';
5
+ import { getNotifyStore } from './stores';
6
+
7
+ const store = getNotifyStore();
8
+
9
+ /**
10
+ * @public
11
+ */
12
+ export const notificationsButton: AppElement = {
13
+ targetId: 'nav-end',
14
+ elements: html`
15
+ <div
16
+ class="icon-container notifications-button"
17
+ part="notifications-button"
18
+ data-test-id="notifications-button"
19
+ data-pbc-asset-id="notifications-button"
20
+ @click=${(x, c) => c.parent.$emit('notification-icon-clicked')}
21
+ >
22
+ <zero-icon variant="regular" name="bell" part="notifications-icon"></zero-icon>
23
+ <foundation-inbox-counter part="notifications-inbox-counter"></foundation-inbox-counter>
24
+ </div>
25
+ `,
26
+ };
27
+
28
+ /**
29
+ * @public
30
+ */
31
+ export const inboxFlyout: AppElement = {
32
+ targetId: 'layout',
33
+ elements: html`
34
+ <zero-flyout
35
+ position="right"
36
+ @closed=${(x, c) => c.parent.$emit('change-inbox-display', false)}
37
+ ?closed=${() => !store.inboxDisplayState}
38
+ displayHeader=${false}
39
+ data-pbc-asset-id="inbox-flyout"
40
+ >
41
+ <foundation-inbox
42
+ @close=${(x, c) => (<Flyout>(<HTMLElement>c.event.target).parentNode).closeFlyout()}
43
+ ></foundation-inbox>
44
+ </zero-flyout>
45
+ `,
46
+ };
47
+
48
+ /**
49
+ * @public
50
+ */
51
+ export const alertsFlyout: AppElement = {
52
+ targetId: 'layout',
53
+ elements: html`
54
+ <zero-flyout
55
+ position="right"
56
+ @closed=${(x, c) => c.parent.$emit('change-alert-rules-display', false)}
57
+ ?closed=${() => !store.alertsRulesDisplayState}
58
+ displayHeader=${false}
59
+ data-pbc-asset-id="alerts-flyout"
60
+ >
61
+ <foundation-alerts></foundation-alerts>
62
+ </zero-flyout>
63
+ `,
64
+ };
65
+
66
+ /**
67
+ * @public
68
+ */
69
+ export const notificationListener: AppElement = {
70
+ targetId: 'layout',
71
+ elements: html`
72
+ <zero-notification-listener
73
+ resource-name="ALL_NOTIFY_ALERT_RECORDS"
74
+ :toastButtons="${(): ToastButton[] => [
75
+ {
76
+ condition: ({ details }) => details.NOTIFY_SEVERITY !== 'Warning',
77
+ action: ({ details, buttonElement, toastElement }) => {
78
+ console.log({ details, buttonElement, toastElement });
79
+ toastElement.close();
80
+ },
81
+ appearance: 'secondary-orange',
82
+ placeholder: 'button NOT for warnings',
83
+ },
84
+ ]}"
85
+ data-pbc-asset-id="notification-listener"
86
+ ></zero-notification-listener>
87
+ `,
88
+ };
89
+
90
+ /**
91
+ * @public
92
+ */
93
+ export const bannerAnchor: AppElement = {
94
+ targetId: 'content-start',
95
+ elements: html`
96
+ <div id="banner-anchor" data-pbc-asset-id="banner-anchor"></div>
97
+ `,
98
+ };
@@ -0,0 +1,18 @@
1
+ import type { AppMetadata } from '@genesislcap/foundation-shell/app';
2
+
3
+ /**
4
+ * @public
5
+ */
6
+ export const metadata: AppMetadata = {
7
+ name: '@genesislcap/pbc-notify-ui',
8
+ description: 'Genesis Notify PBC',
9
+ version: '0.0.1',
10
+ prerequisites: {
11
+ '@genesislcap/foundation-ui': '14.*',
12
+ gsf: '7.*',
13
+ },
14
+ dependencies: {
15
+ '@genesislcap/pbc-notify-ui': '1.0.5',
16
+ serverDepId: '7.1.1-SNAPSHOT',
17
+ },
18
+ };
@@ -0,0 +1,24 @@
1
+ import { FoundationAlerts } from '@genesislcap/pbc-notify-ui';
2
+ import { FoundationInbox } from '@genesislcap/pbc-notify-ui';
3
+ import type { AppRegistrationContext } from '@genesislcap/foundation-shell/app';
4
+ import { NotificationDashboard } from '@genesislcap/pbc-notify-ui';
5
+
6
+ /**
7
+ * @privateRemarks
8
+ * The try catch here is just to demo design system interaction.
9
+ *
10
+ * @public
11
+ */
12
+ export async function register(context: AppRegistrationContext) {
13
+ try {
14
+ /**
15
+ * const { provideDesignSystem } = context.designSystem;
16
+ * provideDesignSystem().register(foundationAlerts);
17
+ */
18
+ NotificationDashboard;
19
+ FoundationAlerts;
20
+ FoundationInbox;
21
+ } catch (e) {
22
+ console.error('Error registering notify', e);
23
+ }
24
+ }
@@ -0,0 +1,86 @@
1
+ import type { AppRoute } from '@genesislcap/foundation-shell/app';
2
+ import { css, customElement, FASTElement, html } from '@microsoft/fast-element';
3
+
4
+ /**
5
+ * @internal
6
+ */
7
+ const notificationsDashboardTemplate = html`
8
+ <section>
9
+ <header>
10
+ <zero-button @click=${(x) => x.$emit('change-alert-rules-display', true)}>
11
+ Show Alerts rules List
12
+ </zero-button>
13
+ </header>
14
+ <foundation-notification-dashboard></foundation-notification-dashboard>
15
+ </section>
16
+ `;
17
+
18
+ /**
19
+ * @internal
20
+ */
21
+ const notificationsDashboardStyles = css`
22
+ :host,
23
+ section {
24
+ display: flex;
25
+ flex-wrap: wrap;
26
+ width: 100%;
27
+ height: 100%;
28
+ }
29
+
30
+ header {
31
+ width: 100%;
32
+ text-align: center;
33
+ }
34
+
35
+ .wrapper {
36
+ overflow: hidden;
37
+ flex-grow: 1;
38
+ width: 400px;
39
+ }
40
+
41
+ .wrapper-scroll {
42
+ max-height: 400px;
43
+ overflow-y: auto;
44
+ }
45
+
46
+ zero-modal::part(dialog) {
47
+ padding: 0;
48
+ }
49
+
50
+ zero-modal.edit .wrapper,
51
+ zero-modal.add .wrapper {
52
+ padding: 32px 12px;
53
+ }
54
+ `;
55
+
56
+ /**
57
+ * @internal
58
+ */
59
+ @customElement({
60
+ name: 'notifications-dashboard',
61
+ template: notificationsDashboardTemplate,
62
+ styles: notificationsDashboardStyles,
63
+ })
64
+ class Notifications extends FASTElement {}
65
+
66
+ /**
67
+ * @public
68
+ */
69
+ export const notificationsDashboard: AppRoute = {
70
+ title: 'Notifications Dashboard',
71
+ path: 'notifications-dashboard',
72
+ name: 'notifications-dashboard',
73
+ element: Notifications,
74
+ settings: { autoAuth: true },
75
+ navItems: [
76
+ {
77
+ navId: 'header',
78
+ title: 'Notifications',
79
+ icon: {
80
+ name: 'bell',
81
+ variant: 'solid',
82
+ },
83
+ placementIndex: 65,
84
+ },
85
+ ],
86
+ };
@@ -0,0 +1,63 @@
1
+ import type { NavEventDetailMap } from '@genesislcap/foundation-header';
2
+ import type { AppStore } from '@genesislcap/foundation-shell/app';
3
+ import { AbstractStore, registerStore, Store } from '@genesislcap/foundation-store';
4
+ import { observable } from '@microsoft/fast-element';
5
+ import { DI } from '@microsoft/fast-foundation';
6
+
7
+ /**
8
+ * These could be broken out into alerts, inbox etc. Basically whatever is a separate package, or a separate answer in
9
+ * the prompts. For now, we're combining both here.
10
+ *
11
+ * Fragments included here are based on build time info like addAlerts: true, and beyond that, each AppStore can have
12
+ * a predicate function to assess runtime context, like the env, user etc.
13
+ */
14
+
15
+ export interface NotifyStore extends Store {
16
+ readonly inboxDisplayState: boolean;
17
+ readonly alertsRulesDisplayState: boolean;
18
+ }
19
+
20
+ export type NotifyEventMap = Pick<NavEventDetailMap, 'notification-icon-clicked'> & {
21
+ 'change-inbox-display': boolean;
22
+ 'change-alert-rules-display': boolean;
23
+ };
24
+
25
+ export class DefaultNotifyStore
26
+ extends AbstractStore<NotifyStore, NotifyEventMap>
27
+ implements NotifyStore
28
+ {
29
+ @observable inboxDisplayState: boolean = false;
30
+ @observable alertsRulesDisplayState: boolean = false;
31
+
32
+ constructor() {
33
+ super();
34
+ this.createListener<boolean>('change-alert-rules-display', (displayState) => {
35
+ this.commit.alertsRulesDisplayState = displayState;
36
+ });
37
+
38
+ /**
39
+ * Stores support creating multiple listeners for the same key, so we can piggyback on events to drive other logic.
40
+ * Note that `type` indicates the trigger event. Keeping for user reference, but could be split here.
41
+ */
42
+ this.createListener<boolean | null>(
43
+ ['change-inbox-display', 'notification-icon-clicked'],
44
+ (_, { detail, type }) => {
45
+ /**
46
+ * Account for `'notification-icon-clicked': void;` which has a `null` detail payload. Prior logic proxied that
47
+ * event to a `change-inbox-display` event with a `true` detail payload, so replicating here.
48
+ */
49
+ this.commit.inboxDisplayState = detail === null ? true : detail;
50
+ },
51
+ );
52
+ }
53
+ }
54
+
55
+ export const NotifyStore = registerStore<NotifyStore>(DefaultNotifyStore, 'NotifyStore');
56
+
57
+ export function getNotifyStore(): NotifyStore {
58
+ return DI.getOrCreateDOMContainer().get(NotifyStore);
59
+ }
60
+
61
+ export const notifyAppStore: AppStore<NotifyStore> = {
62
+ store: getNotifyStore(),
63
+ };
@@ -0,0 +1,49 @@
1
+ import type { AppStyle } from '@genesislcap/foundation-shell/app';
2
+ import { css } from '@microsoft/fast-element';
3
+
4
+ /**
5
+ * @privateRemarks
6
+ * This one was to cross-check main targeting via notify was working, nav-height change not required here.
7
+ * @public
8
+ */
9
+ export const main: AppStyle = {
10
+ targetId: 'main',
11
+ styles: css`
12
+ :host {
13
+ --nav-height: 60px;
14
+ }
15
+ `,
16
+ };
17
+
18
+ /**
19
+ * @public
20
+ */
21
+ export const alerts: AppStyle = {
22
+ targetId: 'layout',
23
+ styles: css`
24
+ foundation-alerts {
25
+ --design-unit: 2.5;
26
+ --stroke-width: 1;
27
+ }
28
+
29
+ foundation-alerts::part(filter-button) {
30
+ --design-unit: 4;
31
+ }
32
+ `,
33
+ };
34
+
35
+ /**
36
+ * @public
37
+ */
38
+ export const notificationsButton: AppStyle = {
39
+ targetId: 'header',
40
+ styles: css`
41
+ foundation-inbox-counter {
42
+ z-index: 999;
43
+ position: absolute;
44
+ top: 10px;
45
+ right: -3px;
46
+ pointer-events: none;
47
+ }
48
+ `,
49
+ };
package/license.txt ADDED
@@ -0,0 +1,46 @@
1
+ Developer License Agreement
2
+
3
+ This Developer License Agreement (the “Agreement”) is entered into by and between Genesis, Global FinTech Inc.(“Genesis”) and you and/or the entity on whose behalf you are downloading the Software (as defined below) (“you”). This Agreement forms a legally binding contract between you and Genesis in relation to your use of the software libraries, reference implementations, and other related demonstration code (collectively, the “Genesis Software”). [a]
4
+
5
+ To use the Software, you must first agree to this Agreement. You may not use the Software if you do not agree to be bound by the terms of this Agreement. Accordingly, you and Genesis acknowledge and agree as follows:
6
+
7
+ 1. LIMITED LICENSE.
8
+ Subject to your complete and ongoing compliance with all the terms and conditions set forth in this Agreement, including without limitation all license limitations and restrictions set forth herein, Genesis grants you the following limited, non-exclusive, non-transferable, non-sublicensable, revocable licenses to use, and (where applicable) authorize your employees to use, the Software internally solely in connection with building, developing and testing your own applications that interoperate with or incorporate the Software (“Applications”) for the purposes of evaluation.
9
+
10
+ 2. RESTRICTIONS.
11
+ A. By accessing or using the Software, you represent, warrant, and covenant that (a) you are a person or business entity engaged in the development of software applications, and (b) in the case of a business entity, you have the full power and authority to bind such entity to the terms of this Agreement.
12
+ B. You acknowledge that the foregoing license does not include any right to:
13
+ (i) redistribute, sell, lease, license, modify or otherwise create any derivative works of any portion of the Software, or;
14
+ (ii) distribute, deploy, or otherwise utilize Applications on a public, production, commercial, or other similar purpose other than internal use for evaluation and the development of non-public, experimental Applications (any other public, production, commercial, or similar use requires a separate agreement with Genesis), or
15
+ (iii) use or implement any undocumented feature or API or use any documented feature or API other than in accordance with applicable documentation. You agree to not to do any of the foregoing.
16
+ C. Except as expressly provided herein, you may not:
17
+ (a) reproduce, distribute, publicly display, or publicly perform any part of the Software;
18
+ (b) decompile, reverse engineer, or otherwise access or attempt to access the source code for the Software not made available to you in source code form;
19
+ (c) make or attempt to make any modification to, or otherwise create derivative works of the Software; or
20
+ (d) remove, obscure, interfere with or circumvent any feature of the Software, including without limitation any copyright or other intellectual property notices, security, or access control mechanism;
21
+ (f) use the Software to do anything illegal, including facilitating, promoting, or otherwise encouraging any illegal activities.
22
+
23
+ 3. RESERVATION OF RIGHTS.
24
+ A. The Software is owned by Genesis and licensed, not sold, to you. The Software, content, visual interfaces, interactive features, information, graphics, design, compilation, computer code, products, services, and all other elements of the Software and related documentation (the “Materials“), are protected by copyright, trade dress, patent, and trademark laws of the United States and other jurisdictions, international conventions, and all other relevant intellectual property and proprietary rights, and applicable laws (collectively, the “Intellectual Property Rights“).
25
+ B. You agree that Genesis or its subsidiaries or affiliated companies and/or its third-party licensors own all legal right, title and interest in and to the Software and Materials, including any and all Intellectual Property Rights. Genesis reserves all rights not expressly granted in this Agreement. You do not acquire any right, interest or title to the Materials, whether by implication, estoppel, or otherwise, except for the limited rights set forth in this Agreement.
26
+ C. You agree that the form and nature of the Software that Genesis provides may change without prior notice to you and that future versions of the Software may be incompatible with applications developed on previous of the Software. You agree that Genesis may stop (permanently or temporarily) providing the Software (or any features within the Software) to you or to users generally at Genesis’s sole discretion, without prior notice to you. Nothing in this Agreement gives you a right to use any of Genesis’s trade names, trademarks, service marks, logos, domain names, or other distinctive brand features.
27
+
28
+ 4. TERMINATION.
29
+ At Genesis’s sole discretion, Genesis may terminate your Developer License and cease provision of the Genesis Software with or without notice, effective immediately, for any reason or no reason at all. Upon the expiration or termination of this Agreement all rights and licenses granted under this Agreement will immediately terminate.
30
+
31
+ 5. THIRD PARTY SOFTWARE.
32
+ The Software consists of a package of components and may include references to certain third-party software (“Third Party Software”) that are provided by their authors under separate license terms (the “Third Party Terms”). Your use of any such Third-Party Software in conjunction with the Software in a manner consistent with this Agreement is permitted, however, you may have broader rights and/or restrictions under the applicable Third-Party Terms. Genesis cannot accept any responsibility for the Third-Party Software or your use thereof.
33
+
34
+ 6. DISCLAIMER OF WARRANTIES.
35
+ YOU EXPRESSLY UNDERSTAND AND AGREE THAT YOUR USE OF THE SOFTWARE IS AT YOUR SOLE RISK AND THAT THE SOFTWARE IS PROVIDED “AS IS” AND “AS AVAILABLE” WITHOUT WARRANTY OF ANY KIND FROM GENESIS. YOUR USE OF THE SOFTWARE AND ANY MATERIAL DOWNLOADED OR OTHERWISE OBTAINED THROUGH THE USE OF THE SOFTWARE IS AT YOUR OWN DISCRETION AND RISK AND YOU ARE SOLELY RESPONSIBLE FOR ANY DAMAGE TO YOUR COMPUTER SYSTEM OR OTHER DEVICE OR LOSS OF DATA THAT RESULTS FROM SUCH USE. GENESIS FURTHER EXPRESSLY DISCLAIMS ALL WARRANTIES AND CONDITIONS OF ANY KIND, WHETHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO THE IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. GENESIS EXPRESSLY DISCLAIMS ANY WARRANTIES OF ANY KIND WITH RESPECT TO THE ACCURACY OR FUNCTIONALITY OF THE SOFTWARE, AND WITH RESPECT TO THE ACCURACY, VALIDITY, OR COMPLETENESS OF ANY INFORMATION OR FEATURES AVAILABLE THROUGH THE SOFTWARE, OR THE QUALITY OR CONSISTENCY OF THE SOFTWARE OR RESULTS OBTAINED THROUGH ITS USE.
36
+
37
+ 7. INDEMNIFICATION. To the maximum extent permitted by law, you agree to defend, indemnify, and hold harmless Genesis, its affiliates, and their respective directors, officers, employees, and agents, from and against any and all third-party claims, actions, suits, or proceedings, as well as any and all losses, liabilities, damages, costs, and expenses (including reasonable attorneys’ fees) arising out of or accruing from (a) your breach of this Developer License; (b) your use or misuse of the Genesis Software; (c) your negligence or willful misconduct; and/or (d) your use of the Genesis Software that actually or allegedly infringes any Intellectual Property Rights or privacy rights of any third party in any jurisdiction.
38
+
39
+ 8. MISCELLANEOUS.
40
+ (a) If you are agreeing to be bound by this Agreement on behalf of your employer or other entity, you represent and warrant that you have full legal authority to bind your employer or such entity to this Agreement. If you do not have the requisite authority, you may not accept this Agreement on behalf of your employer or other entity.
41
+ (b) This Developer License shall be governed by, and construed in accordance with, the laws of the State of New York without regard to conflict of law principles. For all purposes of this Developer License, the parties’ consent to exclusive jurisdiction and venue in the state and federal courts located in New York County, New York.
42
+ (c) Nothing in this Agreement, or in the nature of your access and use of the Genesis Software, shall create or is intended to create a joint-venture, partnership, or agency relationship between you and Genesis.
43
+ (d) You may not assign or transfer this Agreement or any of your rights or obligations hereunder, absent the prior written consent of Genesis.
44
+ (e) You agree that if Genesis does not exercise or enforce any legal right or remedy contained in this Agreement, this will not be taken to be a formal waiver of Genesis’s rights and that those rights or remedies will still be available to Genesis.
45
+ (f) This Agreement constitutes the complete understanding between you and Genesis with respect to the subject matter contained herein, and supersedes all prior written or oral communications, understandings, and agreements.
46
+ (g) If any provision of this Agreement is deemed to be illegal, invalid, or unenforceable, then that provision shall be removed, and the remaining terms will continue to be valid and enforceable.
package/package.json ADDED
@@ -0,0 +1,10 @@
1
+ {
2
+ "name": "@genesislcap/pbc-notify-seed",
3
+ "version": "0.0.1",
4
+ "description": "Genesis Notify PBC",
5
+ "license": "SEE LICENSE IN license.txt",
6
+ "publishConfig": {
7
+ "access": "public"
8
+ },
9
+ "scripts": {}
10
+ }
@@ -0,0 +1,24 @@
1
+ notify {
2
+ gateways {
3
+ {{#if screenGatewayEnabled}}
4
+ screen("Screen")
5
+
6
+ {{/if}}
7
+ {{#if emailGatewayEnabled}}
8
+ email("Email") {
9
+ smtpHost = {{smtpHost}}
10
+ smtpPort = {{smtpPort}}
11
+ smtpUser = {{smtpUser}}
12
+ smtpPw = {{smtpPw}}
13
+ smtpProtocol = {{smtpProtocol}}
14
+ systemDefaultUserName = {{systemDefaultUserName}}
15
+ systemDefaultEmail = {{systemDefaultEmail}}
16
+ sendFromUserAddress = false
17
+ }
18
+
19
+ {{/if}}
20
+ {{#if teamsGatewayEnabled}}
21
+ teams("Teams")
22
+ {{/if}}
23
+ }
24
+ }