@aldb2b/common 1.0.343 → 1.0.345

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.
@@ -1,18 +1,32 @@
1
1
  import { Subjects } from './subjects';
2
- export interface SendEmailEvent {
3
- subject: Subjects.SendEmail;
4
- data: {
2
+ export declare namespace SendEmailEvent {
3
+ interface Context {
4
+ subject: Subjects.SendEmail;
5
+ data: Data[];
6
+ }
7
+ interface Data {
5
8
  data: {
6
9
  content: string;
10
+ sender?: any;
11
+ receiver?: any;
12
+ senderCompany?: any;
13
+ receiverCompany?: any;
14
+ event?: any;
15
+ branding?: any;
16
+ meetingRequest?: any;
17
+ meeting?: any;
18
+ links?: string[];
7
19
  };
8
20
  templateName?: string;
9
21
  campaignId?: string;
22
+ stepId?: string;
23
+ emailCredential?: any;
10
24
  options: {
11
25
  to: string | string[];
12
26
  from: string;
13
27
  subject: string;
14
- attachments: object[];
28
+ attachments: any[];
15
29
  cc?: string;
16
30
  };
17
- };
31
+ }
18
32
  }
@@ -167,8 +167,8 @@
167
167
  "affectsGlobalScope": false
168
168
  },
169
169
  "../src/events/email-specs.interface.ts": {
170
- "version": "11d0484042ec2d0a1b53c2eb284b15e226b35e7428e9db38912cf5f69d3e3c49",
171
- "signature": "36b89a6511b7537aa1d61b2414f5d6bd8b84067e095fed135b4c5815b4b1105d",
170
+ "version": "9b0dab23071d7ac9f401b5d645b2b90939a5e634171700e2e0949dc5cddf5565",
171
+ "signature": "df2057226550630eef7cdb087fd6e03e86fa48f9fdf7afc3e657688a84af2e7a",
172
172
  "affectsGlobalScope": false
173
173
  },
174
174
  "../src/events/get-companies.interface.ts": {
@@ -352,8 +352,8 @@
352
352
  "affectsGlobalScope": false
353
353
  },
354
354
  "../src/types/record-type.enum.ts": {
355
- "version": "b53998232913f959be66eae81732eaca986948b32b4ff977c693e4b13c2c0362",
356
- "signature": "678f87750352aba1b68a1eb456d2b4abd9dcec00cf0d68dd0bec06187a0449ee",
355
+ "version": "3fd23521f8e981e3bd5a6aee90f7919cec75f8a9b9308d449f5cb2c9707ffd31",
356
+ "signature": "7cd756a6989ad515fcfbf7307308298a0a012432fd1a0fe52b2036c4f529547f",
357
357
  "affectsGlobalScope": false
358
358
  },
359
359
  "../src/types/user-language.enum.ts": {
@@ -15,5 +15,6 @@ export declare enum RecordType {
15
15
  USER = "User",
16
16
  NOTIFICATION = "Notification",
17
17
  REGRESSION = "Regression",
18
- ORDER = "Order"
18
+ ORDER = "Order",
19
+ SESSION = "Session"
19
20
  }
@@ -20,5 +20,6 @@ var RecordType;
20
20
  RecordType["NOTIFICATION"] = "Notification";
21
21
  RecordType["REGRESSION"] = "Regression";
22
22
  RecordType["ORDER"] = "Order";
23
+ RecordType["SESSION"] = "Session";
23
24
  })(RecordType = exports.RecordType || (exports.RecordType = {}));
24
25
  //# sourceMappingURL=record-type.enum.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"record-type.enum.js","sourceRoot":"","sources":["../../src/types/record-type.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,UAkBX;AAlBD,WAAY,UAAU;IACpB,iCAAmB,CAAA;IACnB,iCAAmB,CAAA;IACnB,iCAAmB,CAAA;IACnB,gDAAkC,CAAA;IAClC,iCAAmB,CAAA;IACnB,iCAAmB,CAAA;IACnB,yBAAW,CAAA;IACX,qCAAuB,CAAA;IACvB,wCAA0B,CAAA;IAC1B,oCAAsB,CAAA;IACtB,+BAAiB,CAAA;IACjB,mCAAqB,CAAA;IACrB,8CAAgC,CAAA;IAChC,2BAAa,CAAA;IACb,2CAA6B,CAAA;IAC7B,uCAAyB,CAAA;IACzB,6BAAe,CAAA;AACjB,CAAC,EAlBW,UAAU,GAAV,kBAAU,KAAV,kBAAU,QAkBrB"}
1
+ {"version":3,"file":"record-type.enum.js","sourceRoot":"","sources":["../../src/types/record-type.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,UAmBX;AAnBD,WAAY,UAAU;IACpB,iCAAmB,CAAA;IACnB,iCAAmB,CAAA;IACnB,iCAAmB,CAAA;IACnB,gDAAkC,CAAA;IAClC,iCAAmB,CAAA;IACnB,iCAAmB,CAAA;IACnB,yBAAW,CAAA;IACX,qCAAuB,CAAA;IACvB,wCAA0B,CAAA;IAC1B,oCAAsB,CAAA;IACtB,+BAAiB,CAAA;IACjB,mCAAqB,CAAA;IACrB,8CAAgC,CAAA;IAChC,2BAAa,CAAA;IACb,2CAA6B,CAAA;IAC7B,uCAAyB,CAAA;IACzB,6BAAe,CAAA;IACf,iCAAmB,CAAA;AACrB,CAAC,EAnBW,UAAU,GAAV,kBAAU,KAAV,kBAAU,QAmBrB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aldb2b/common",
3
- "version": "1.0.343",
3
+ "version": "1.0.345",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",