@bisondesk/core-sdk 1.0.77 → 1.0.79
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/lib/constants.d.ts +1 -0
- package/lib/constants.d.ts.map +1 -1
- package/lib/constants.js +2 -1
- package/lib/constants.js.map +1 -1
- package/lib/types/messages.d.ts +27 -0
- package/lib/types/messages.d.ts.map +1 -0
- package/lib/types/{communications.js → messages.js} +1 -1
- package/lib/types/messages.js.map +1 -0
- package/lib/types/templates.d.ts +3 -1
- package/lib/types/templates.d.ts.map +1 -1
- package/lib/types/tenants.d.ts +1 -1
- package/lib/types/tenants.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/constants.ts +1 -0
- package/src/types/messages.ts +30 -0
- package/src/types/templates.ts +3 -1
- package/src/types/tenants.ts +1 -1
- package/tsconfig.tsbuildinfo +360 -12
- package/lib/types/communications.d.ts +0 -16
- package/lib/types/communications.d.ts.map +0 -1
- package/lib/types/communications.js.map +0 -1
- package/src/types/communications.ts +0 -16
package/lib/constants.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export declare const APP_LANGUAGES_PICKLIST_ID = "appLanguages";
|
|
2
|
+
export declare const CLIENT_LANGUAGES_PICKLIST_ID = "clientLanguages";
|
|
2
3
|
export declare const TIMEZONES_PICKLIST_ID = "timezones";
|
|
3
4
|
export declare const COUNTRIES_PICKLIST_ID = "countries";
|
|
4
5
|
export declare const BODYWORKS_PICKLIST_ID = "bodywork";
|
package/lib/constants.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,yBAAyB,iBAAiB,CAAC;AACxD,eAAO,MAAM,qBAAqB,cAAc,CAAC;AACjD,eAAO,MAAM,qBAAqB,cAAc,CAAC;AAKjD,eAAO,MAAM,qBAAqB,aAAa,CAAC;AAChD,eAAO,MAAM,kBAAkB,UAAU,CAAC;AAC1C,eAAO,MAAM,sBAAsB,aAAa,CAAC;AACjD,eAAO,MAAM,0BAA0B,kBAAkB,CAAC;AAC1D,eAAO,MAAM,qBAAqB,aAAa,CAAC;AAChD,eAAO,MAAM,yBAAyB,YAAY,CAAC;AACnD,eAAO,MAAM,iBAAiB,SAAS,CAAC;AACxC,eAAO,MAAM,uBAAuB,eAAe,CAAC;AACpD,eAAO,MAAM,uBAAuB,eAAe,CAAC;AACpD,eAAO,MAAM,wBAAwB,YAAY,CAAC;AAKlD,oBAAY,iBAAiB;IAC3B,KAAK,UAAU;IACf,aAAa,kBAAkB;IAC/B,QAAQ,aAAa;IACrB,QAAQ,aAAa;IACrB,KAAK,UAAU;IACf,gBAAgB,sBAAsB;CACvC;AAKD,oBAAY,UAAU;IACpB,WAAW,iBAAiB;IAC5B,KAAK,UAAU;IACf,OAAO,YAAY;IACnB,WAAW,iBAAiB;IAC5B,GAAG,QAAQ;IACX,OAAO,YAAY;CACpB;AAKD,eAAO,MAAM,iBAAiB,QAAS,CAAC;AACxC,eAAO,MAAM,iBAAiB,IAAI,CAAC;AAKnC,eAAO,MAAM,sBAAsB,OAAO,CAAC;AAC3C,eAAO,MAAM,yBAAyB,OAAO,CAAC;AAK9C,eAAO,MAAM,OAAO,KAAK,CAAC;AAC1B,eAAO,MAAM,MAAM,UAAY,CAAC;AAChC,eAAO,MAAM,SAAS,SAAU,CAAC;AACjC,eAAO,MAAM,cAAc,OAAO,CAAC;AACnC,eAAO,MAAM,WAAW,SAAU,CAAC"}
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,yBAAyB,iBAAiB,CAAC;AACxD,eAAO,MAAM,4BAA4B,oBAAoB,CAAC;AAC9D,eAAO,MAAM,qBAAqB,cAAc,CAAC;AACjD,eAAO,MAAM,qBAAqB,cAAc,CAAC;AAKjD,eAAO,MAAM,qBAAqB,aAAa,CAAC;AAChD,eAAO,MAAM,kBAAkB,UAAU,CAAC;AAC1C,eAAO,MAAM,sBAAsB,aAAa,CAAC;AACjD,eAAO,MAAM,0BAA0B,kBAAkB,CAAC;AAC1D,eAAO,MAAM,qBAAqB,aAAa,CAAC;AAChD,eAAO,MAAM,yBAAyB,YAAY,CAAC;AACnD,eAAO,MAAM,iBAAiB,SAAS,CAAC;AACxC,eAAO,MAAM,uBAAuB,eAAe,CAAC;AACpD,eAAO,MAAM,uBAAuB,eAAe,CAAC;AACpD,eAAO,MAAM,wBAAwB,YAAY,CAAC;AAKlD,oBAAY,iBAAiB;IAC3B,KAAK,UAAU;IACf,aAAa,kBAAkB;IAC/B,QAAQ,aAAa;IACrB,QAAQ,aAAa;IACrB,KAAK,UAAU;IACf,gBAAgB,sBAAsB;CACvC;AAKD,oBAAY,UAAU;IACpB,WAAW,iBAAiB;IAC5B,KAAK,UAAU;IACf,OAAO,YAAY;IACnB,WAAW,iBAAiB;IAC5B,GAAG,QAAQ;IACX,OAAO,YAAY;CACpB;AAKD,eAAO,MAAM,iBAAiB,QAAS,CAAC;AACxC,eAAO,MAAM,iBAAiB,IAAI,CAAC;AAKnC,eAAO,MAAM,sBAAsB,OAAO,CAAC;AAC3C,eAAO,MAAM,yBAAyB,OAAO,CAAC;AAK9C,eAAO,MAAM,OAAO,KAAK,CAAC;AAC1B,eAAO,MAAM,MAAM,UAAY,CAAC;AAChC,eAAO,MAAM,SAAS,SAAU,CAAC;AACjC,eAAO,MAAM,cAAc,OAAO,CAAC;AACnC,eAAO,MAAM,WAAW,SAAU,CAAC"}
|
package/lib/constants.js
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.KM_ROUNDING = exports.PRICE_ROUNDING = exports.MAX_PRICE = exports.MAX_KM = exports.MAX_AGE = exports.FILTER_MULTIPLE_SEPARATOR = exports.FILTER_RANGE_SEPARATOR = exports.MIN_SORT_PRIORITY = exports.MAX_SORT_PRIORITY = exports.Categories = exports.BusinessEntityIds = exports.ORG_SEGMENTS_PICKLIST_ID = exports.SUSPENSIONS_PICKLIST_ID = exports.MAKE_MODELS_PICKLIST_ID = exports.MAKES_PICKLIST_ID = exports.TRANSMISSIONS_PICKLIST_ID = exports.EURONORMS_PICKLIST_ID = exports.CONFIGURATIONS_PICKLIST_ID = exports.CATEGORIES_PICKLIST_ID = exports.CABINS_PICKLIST_ID = exports.BODYWORKS_PICKLIST_ID = exports.COUNTRIES_PICKLIST_ID = exports.TIMEZONES_PICKLIST_ID = exports.APP_LANGUAGES_PICKLIST_ID = void 0;
|
|
3
|
+
exports.KM_ROUNDING = exports.PRICE_ROUNDING = exports.MAX_PRICE = exports.MAX_KM = exports.MAX_AGE = exports.FILTER_MULTIPLE_SEPARATOR = exports.FILTER_RANGE_SEPARATOR = exports.MIN_SORT_PRIORITY = exports.MAX_SORT_PRIORITY = exports.Categories = exports.BusinessEntityIds = exports.ORG_SEGMENTS_PICKLIST_ID = exports.SUSPENSIONS_PICKLIST_ID = exports.MAKE_MODELS_PICKLIST_ID = exports.MAKES_PICKLIST_ID = exports.TRANSMISSIONS_PICKLIST_ID = exports.EURONORMS_PICKLIST_ID = exports.CONFIGURATIONS_PICKLIST_ID = exports.CATEGORIES_PICKLIST_ID = exports.CABINS_PICKLIST_ID = exports.BODYWORKS_PICKLIST_ID = exports.COUNTRIES_PICKLIST_ID = exports.TIMEZONES_PICKLIST_ID = exports.CLIENT_LANGUAGES_PICKLIST_ID = exports.APP_LANGUAGES_PICKLIST_ID = void 0;
|
|
4
4
|
//
|
|
5
5
|
// STATIC PICKLIST IDS
|
|
6
6
|
//
|
|
7
7
|
exports.APP_LANGUAGES_PICKLIST_ID = 'appLanguages';
|
|
8
|
+
exports.CLIENT_LANGUAGES_PICKLIST_ID = 'clientLanguages';
|
|
8
9
|
exports.TIMEZONES_PICKLIST_ID = 'timezones';
|
|
9
10
|
exports.COUNTRIES_PICKLIST_ID = 'countries';
|
|
10
11
|
//
|
package/lib/constants.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":";;;AAAA,EAAE;AACF,sBAAsB;AACtB,EAAE;AACW,QAAA,yBAAyB,GAAG,cAAc,CAAC;AAC3C,QAAA,qBAAqB,GAAG,WAAW,CAAC;AACpC,QAAA,qBAAqB,GAAG,WAAW,CAAC;AAEjD,EAAE;AACF,oCAAoC;AACpC,EAAE;AACW,QAAA,qBAAqB,GAAG,UAAU,CAAC;AACnC,QAAA,kBAAkB,GAAG,OAAO,CAAC;AAC7B,QAAA,sBAAsB,GAAG,UAAU,CAAC;AACpC,QAAA,0BAA0B,GAAG,eAAe,CAAC;AAC7C,QAAA,qBAAqB,GAAG,UAAU,CAAC;AACnC,QAAA,yBAAyB,GAAG,SAAS,CAAC;AACtC,QAAA,iBAAiB,GAAG,MAAM,CAAC;AAC3B,QAAA,uBAAuB,GAAG,YAAY,CAAC;AACvC,QAAA,uBAAuB,GAAG,YAAY,CAAC;AACvC,QAAA,wBAAwB,GAAG,SAAS,CAAC;AAElD,EAAE;AACF,uCAAuC;AACvC,EAAE;AACF,IAAY,iBAOX;AAPD,WAAY,iBAAiB;IAC3B,oCAAe,CAAA;IACf,oDAA+B,CAAA;IAC/B,0CAAqB,CAAA;IACrB,0CAAqB,CAAA;IACrB,oCAAe,CAAA;IACf,2DAAsC,CAAA;AACxC,CAAC,EAPW,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAO5B;AAED,EAAE;AACF,uCAAuC;AACvC,EAAE;AACF,IAAY,UAOX;AAPD,WAAY,UAAU;IACpB,0CAA4B,CAAA;IAC5B,6BAAe,CAAA;IACf,iCAAmB,CAAA;IACnB,0CAA4B,CAAA;IAC5B,yBAAW,CAAA;IACX,iCAAmB,CAAA;AACrB,CAAC,EAPW,UAAU,GAAV,kBAAU,KAAV,kBAAU,QAOrB;AAED,EAAE;AACF,qBAAqB;AACrB,EAAE;AACW,QAAA,iBAAiB,GAAG,KAAM,CAAC;AAC3B,QAAA,iBAAiB,GAAG,CAAC,CAAC;AAEnC,EAAE;AACF,SAAS;AACT,EAAE;AACW,QAAA,sBAAsB,GAAG,IAAI,CAAC;AAC9B,QAAA,yBAAyB,GAAG,IAAI,CAAC;AAE9C,EAAE;AACF,iBAAiB;AACjB,EAAE;AACW,QAAA,OAAO,GAAG,EAAE,CAAC;AACb,QAAA,MAAM,GAAG,OAAS,CAAC;AACnB,QAAA,SAAS,GAAG,MAAO,CAAC;AACpB,QAAA,cAAc,GAAG,IAAI,CAAC;AACtB,QAAA,WAAW,GAAG,MAAO,CAAC"}
|
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":";;;AAAA,EAAE;AACF,sBAAsB;AACtB,EAAE;AACW,QAAA,yBAAyB,GAAG,cAAc,CAAC;AAC3C,QAAA,4BAA4B,GAAG,iBAAiB,CAAC;AACjD,QAAA,qBAAqB,GAAG,WAAW,CAAC;AACpC,QAAA,qBAAqB,GAAG,WAAW,CAAC;AAEjD,EAAE;AACF,oCAAoC;AACpC,EAAE;AACW,QAAA,qBAAqB,GAAG,UAAU,CAAC;AACnC,QAAA,kBAAkB,GAAG,OAAO,CAAC;AAC7B,QAAA,sBAAsB,GAAG,UAAU,CAAC;AACpC,QAAA,0BAA0B,GAAG,eAAe,CAAC;AAC7C,QAAA,qBAAqB,GAAG,UAAU,CAAC;AACnC,QAAA,yBAAyB,GAAG,SAAS,CAAC;AACtC,QAAA,iBAAiB,GAAG,MAAM,CAAC;AAC3B,QAAA,uBAAuB,GAAG,YAAY,CAAC;AACvC,QAAA,uBAAuB,GAAG,YAAY,CAAC;AACvC,QAAA,wBAAwB,GAAG,SAAS,CAAC;AAElD,EAAE;AACF,uCAAuC;AACvC,EAAE;AACF,IAAY,iBAOX;AAPD,WAAY,iBAAiB;IAC3B,oCAAe,CAAA;IACf,oDAA+B,CAAA;IAC/B,0CAAqB,CAAA;IACrB,0CAAqB,CAAA;IACrB,oCAAe,CAAA;IACf,2DAAsC,CAAA;AACxC,CAAC,EAPW,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAO5B;AAED,EAAE;AACF,uCAAuC;AACvC,EAAE;AACF,IAAY,UAOX;AAPD,WAAY,UAAU;IACpB,0CAA4B,CAAA;IAC5B,6BAAe,CAAA;IACf,iCAAmB,CAAA;IACnB,0CAA4B,CAAA;IAC5B,yBAAW,CAAA;IACX,iCAAmB,CAAA;AACrB,CAAC,EAPW,UAAU,GAAV,kBAAU,KAAV,kBAAU,QAOrB;AAED,EAAE;AACF,qBAAqB;AACrB,EAAE;AACW,QAAA,iBAAiB,GAAG,KAAM,CAAC;AAC3B,QAAA,iBAAiB,GAAG,CAAC,CAAC;AAEnC,EAAE;AACF,SAAS;AACT,EAAE;AACW,QAAA,sBAAsB,GAAG,IAAI,CAAC;AAC9B,QAAA,yBAAyB,GAAG,IAAI,CAAC;AAE9C,EAAE;AACF,iBAAiB;AACjB,EAAE;AACW,QAAA,OAAO,GAAG,EAAE,CAAC;AACb,QAAA,MAAM,GAAG,OAAS,CAAC;AACnB,QAAA,SAAS,GAAG,MAAO,CAAC;AACpB,QAAA,cAAc,GAAG,IAAI,CAAC;AACtB,QAAA,WAAW,GAAG,MAAO,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { AttachmentValue } from './fields';
|
|
2
|
+
export declare type EmailAddress = {
|
|
3
|
+
name?: string;
|
|
4
|
+
email: string;
|
|
5
|
+
};
|
|
6
|
+
export declare type EmailDestination = EmailAddress & {
|
|
7
|
+
organizationId?: string;
|
|
8
|
+
contactId?: string;
|
|
9
|
+
addressType: 'TO' | 'CC' | 'BCC';
|
|
10
|
+
};
|
|
11
|
+
export declare type EmailContent = {
|
|
12
|
+
subject: string;
|
|
13
|
+
body: {
|
|
14
|
+
text?: string;
|
|
15
|
+
html?: string;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
export declare type EmailMessage = {
|
|
19
|
+
id: string;
|
|
20
|
+
sentAt: string;
|
|
21
|
+
content?: AttachmentValue;
|
|
22
|
+
subject: string;
|
|
23
|
+
source: EmailAddress;
|
|
24
|
+
replyTo?: EmailAddress;
|
|
25
|
+
destinations: EmailDestination[];
|
|
26
|
+
};
|
|
27
|
+
//# sourceMappingURL=messages.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"messages.d.ts","sourceRoot":"","sources":["../../src/types/messages.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAE3C,oBAAY,YAAY,GAAG;IACzB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,oBAAY,gBAAgB,GAAG,YAAY,GAAG;IAC5C,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,IAAI,GAAG,IAAI,GAAG,KAAK,CAAC;CAClC,CAAC;AAEF,oBAAY,YAAY,GAAG;IACzB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE;QACJ,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,IAAI,CAAC,EAAE,MAAM,CAAC;KACf,CAAC;CACH,CAAC;AAEF,oBAAY,YAAY,GAAG;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,eAAe,CAAC;IAC1B,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,YAAY,CAAC;IACrB,OAAO,CAAC,EAAE,YAAY,CAAC;IACvB,YAAY,EAAE,gBAAgB,EAAE,CAAC;CAClC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"messages.js","sourceRoot":"","sources":["../../src/types/messages.ts"],"names":[],"mappings":""}
|
package/lib/types/templates.d.ts
CHANGED
|
@@ -22,7 +22,9 @@ export declare type Template = {
|
|
|
22
22
|
id: string;
|
|
23
23
|
modifiedAt: string;
|
|
24
24
|
modifiedBy: string;
|
|
25
|
-
|
|
25
|
+
language: string;
|
|
26
|
+
name: string;
|
|
27
|
+
} & TemplateContent;
|
|
26
28
|
export declare type TemplateInfo = {
|
|
27
29
|
id: string;
|
|
28
30
|
langs: string[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"templates.d.ts","sourceRoot":"","sources":["../../src/types/templates.ts"],"names":[],"mappings":"AAAA,oBAAY,YAAY;IACtB,KAAK,UAAU;IACf,GAAG,QAAQ;CACZ;AAED,oBAAY,eAAe,GACvB;IACE,IAAI,EAAE,YAAY,CAAC,KAAK,CAAC;IACzB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE;QACP,IAAI,EAAE,MAAM,CAAC;QACb,MAAM,EAAE,GAAG,CAAC;KACb,CAAC;CACH,GACD;IACE,IAAI,EAAE,YAAY,CAAC,GAAG,CAAC;IACvB,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEN,oBAAY,kBAAkB,GAAG;IAC/B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;CACd,GAAG,eAAe,CAAC;AAEpB,oBAAY,QAAQ,GAAG;IACrB,EAAE,EAAE,MAAM,CAAC;IACX,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"templates.d.ts","sourceRoot":"","sources":["../../src/types/templates.ts"],"names":[],"mappings":"AAAA,oBAAY,YAAY;IACtB,KAAK,UAAU;IACf,GAAG,QAAQ;CACZ;AAED,oBAAY,eAAe,GACvB;IACE,IAAI,EAAE,YAAY,CAAC,KAAK,CAAC;IACzB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE;QACP,IAAI,EAAE,MAAM,CAAC;QACb,MAAM,EAAE,GAAG,CAAC;KACb,CAAC;CACH,GACD;IACE,IAAI,EAAE,YAAY,CAAC,GAAG,CAAC;IACvB,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEN,oBAAY,kBAAkB,GAAG;IAC/B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;CACd,GAAG,eAAe,CAAC;AAEpB,oBAAY,QAAQ,GAAG;IACrB,EAAE,EAAE,MAAM,CAAC;IACX,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;CACd,GAAG,eAAe,CAAC;AAEpB,oBAAY,YAAY,GAAG;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,YAAY,CAAC;CACpB,CAAC"}
|
package/lib/types/tenants.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tenants.d.ts","sourceRoot":"","sources":["../../src/types/tenants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,kCAAkC,CAAC;AAE1D,oBAAY,MAAM,GAAG;IACnB,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"tenants.d.ts","sourceRoot":"","sources":["../../src/types/tenants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,kCAAkC,CAAC;AAE1D,oBAAY,MAAM,GAAG;IACnB,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,CAAC,MAAM,EAAE,GAAG,MAAM,EAAE,CAAC,CAAC;IACjC,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;CAIxB,CAAC;AAEF,oBAAY,gBAAgB,GAAG;IAC7B,MAAM,EAAE,OAAO,CAAC;CACjB,CAAC;AAEF,oBAAY,WAAW,GAAG;IACxB,MAAM,EAAE,OAAO,CAAC;CACjB,CAAC;AAEF,oBAAY,kBAAkB,GAAG;IAC/B,QAAQ,EAAE,MAAM,CAAC;IACjB,YAAY,EAAE,gBAAgB,GAAG,SAAS,CAAC;IAC3C,OAAO,EAAE,WAAW,GAAG,SAAS,CAAC;CAClC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bisondesk/core-sdk",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.79",
|
|
4
4
|
"description": "",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"clean": "rm -rf build dist lib *.tsbuildinfo",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
},
|
|
12
12
|
"author": "Ivo Anastácio",
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@bisondesk/commons-sdk": "1.0.
|
|
14
|
+
"@bisondesk/commons-sdk": "1.0.79",
|
|
15
15
|
"joi": "17.4.0",
|
|
16
16
|
"lru-cache": "6.0.0"
|
|
17
17
|
},
|
package/src/constants.ts
CHANGED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { AttachmentValue } from './fields';
|
|
2
|
+
|
|
3
|
+
export type EmailAddress = {
|
|
4
|
+
name?: string;
|
|
5
|
+
email: string;
|
|
6
|
+
};
|
|
7
|
+
|
|
8
|
+
export type EmailDestination = EmailAddress & {
|
|
9
|
+
organizationId?: string;
|
|
10
|
+
contactId?: string;
|
|
11
|
+
addressType: 'TO' | 'CC' | 'BCC';
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
export type EmailContent = {
|
|
15
|
+
subject: string;
|
|
16
|
+
body: {
|
|
17
|
+
text?: string;
|
|
18
|
+
html?: string;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
export type EmailMessage = {
|
|
23
|
+
id: string;
|
|
24
|
+
sentAt: string;
|
|
25
|
+
content?: AttachmentValue;
|
|
26
|
+
subject: string;
|
|
27
|
+
source: EmailAddress;
|
|
28
|
+
replyTo?: EmailAddress;
|
|
29
|
+
destinations: EmailDestination[];
|
|
30
|
+
};
|
package/src/types/templates.ts
CHANGED
package/src/types/tenants.ts
CHANGED
package/tsconfig.tsbuildinfo
CHANGED
|
@@ -217,8 +217,8 @@
|
|
|
217
217
|
"affectsGlobalScope": true
|
|
218
218
|
},
|
|
219
219
|
"./src/constants.ts": {
|
|
220
|
-
"version": "
|
|
221
|
-
"signature": "
|
|
220
|
+
"version": "79b80767fba232e4869f9681fb975e8b6e389b5b7a92e15700e58a44f9437d97",
|
|
221
|
+
"signature": "72c6c86a443f3ba4d7d3ec15eb6cce0f734f993926526267485efff60537c0bf",
|
|
222
222
|
"affectsGlobalScope": false
|
|
223
223
|
},
|
|
224
224
|
"../commons-sdk/lib/constants.d.ts": {
|
|
@@ -552,8 +552,8 @@
|
|
|
552
552
|
"affectsGlobalScope": false
|
|
553
553
|
},
|
|
554
554
|
"./src/types/tenants.ts": {
|
|
555
|
-
"version": "
|
|
556
|
-
"signature": "
|
|
555
|
+
"version": "c3dd529bcf161d36a15ad60cea7a80c947bfe9552ec66f86487f1ebac511e8fc",
|
|
556
|
+
"signature": "c0c981bec5611293c7184327dcb45ae7b3b437bf57cea678f1984555d275e301",
|
|
557
557
|
"affectsGlobalScope": false
|
|
558
558
|
},
|
|
559
559
|
"./src/apis/tenants.ts": {
|
|
@@ -566,11 +566,6 @@
|
|
|
566
566
|
"signature": "b715c10ba458f9f3de7c97f3f74122bc1e4e28747a09e966b99bfb1180e58853",
|
|
567
567
|
"affectsGlobalScope": false
|
|
568
568
|
},
|
|
569
|
-
"./src/types/communications.ts": {
|
|
570
|
-
"version": "ddc8a4abf653b461063a1ee61ee1e5a36c68884d1539d05bfee547d1313e64bc",
|
|
571
|
-
"signature": "e6f498f5bdc6bf5e4f1d10fe9f348cf0e003759422a36d755ad9858bb1231c9a",
|
|
572
|
-
"affectsGlobalScope": false
|
|
573
|
-
},
|
|
574
569
|
"./src/types/conversations.ts": {
|
|
575
570
|
"version": "64f6e1c8acfb1c799b8a23c561626ff5b8821734281f6b7b825806026c5f18ac",
|
|
576
571
|
"signature": "e69c84342201dc3f03f3b6e3c279cf09238d40f600fd22a7e9454e08d01039fa",
|
|
@@ -586,6 +581,11 @@
|
|
|
586
581
|
"signature": "f4af600607e1048634ccf83432a8284f0272d1819cfe32f86a8355d9d588f55f",
|
|
587
582
|
"affectsGlobalScope": false
|
|
588
583
|
},
|
|
584
|
+
"./src/types/messages.ts": {
|
|
585
|
+
"version": "443636a4de3a7277ed17a7325b9455f7b34f6e43509a3db787f65e280ec58518",
|
|
586
|
+
"signature": "b055b3ed1956e219510a926a26d69a16253469c71840e3fb31b30dea56f926fb",
|
|
587
|
+
"affectsGlobalScope": false
|
|
588
|
+
},
|
|
589
589
|
"./src/types/picklists.ts": {
|
|
590
590
|
"version": "8eaf2e2385ef63e1eaebec5359df54120bc05459bcc8d1967b2467ac25d6478a",
|
|
591
591
|
"signature": "b489153b83dc8d84f3c382c297a7d52d3c7dcfad31ac1d21a5b2e76f58ffbb28",
|
|
@@ -602,8 +602,8 @@
|
|
|
602
602
|
"affectsGlobalScope": false
|
|
603
603
|
},
|
|
604
604
|
"./src/types/templates.ts": {
|
|
605
|
-
"version": "
|
|
606
|
-
"signature": "
|
|
605
|
+
"version": "ece5ace8b7d6293e0ab07ccc0ece3ce1468b3a319f48cb0932dca099fba2f912",
|
|
606
|
+
"signature": "070c5f1b38f2a4f9534701b4c65b225b46884de2a185deee4a2ed384edfd09c9",
|
|
607
607
|
"affectsGlobalScope": false
|
|
608
608
|
},
|
|
609
609
|
"./src/types/users.ts": {
|
|
@@ -956,6 +956,16 @@
|
|
|
956
956
|
"signature": "3ebae8c00411116a66fca65b08228ea0cf0b72724701f9b854442100aab55aba",
|
|
957
957
|
"affectsGlobalScope": false
|
|
958
958
|
},
|
|
959
|
+
"../../node_modules/@types/html-to-text/lib/block-text-builder.d.ts": {
|
|
960
|
+
"version": "84e76cf6f08d542cfef16b8f6629e89acdb56d62c96c9fca229caa9191ff3f2e",
|
|
961
|
+
"signature": "84e76cf6f08d542cfef16b8f6629e89acdb56d62c96c9fca229caa9191ff3f2e",
|
|
962
|
+
"affectsGlobalScope": false
|
|
963
|
+
},
|
|
964
|
+
"../../node_modules/@types/html-to-text/index.d.ts": {
|
|
965
|
+
"version": "ac8e046bb73d12b8d99b945616bee1a7f1ccb82f0afadf5dc70d53b63d8a784a",
|
|
966
|
+
"signature": "ac8e046bb73d12b8d99b945616bee1a7f1ccb82f0afadf5dc70d53b63d8a784a",
|
|
967
|
+
"affectsGlobalScope": false
|
|
968
|
+
},
|
|
959
969
|
"../../node_modules/@types/http-assert/index.d.ts": {
|
|
960
970
|
"version": "e98185f4249720ace1921d59c1ff4612fa5c633a183fc9bf28e2e7b8e3c7fd51",
|
|
961
971
|
"signature": "e98185f4249720ace1921d59c1ff4612fa5c633a183fc9bf28e2e7b8e3c7fd51",
|
|
@@ -1166,6 +1176,76 @@
|
|
|
1166
1176
|
"signature": "920830c0fc1a2ea223d48ba1a49d53970a018ff6d8390cfaf204f00d322b55a9",
|
|
1167
1177
|
"affectsGlobalScope": false
|
|
1168
1178
|
},
|
|
1179
|
+
"../../node_modules/@types/nodemailer/lib/dkim/index.d.ts": {
|
|
1180
|
+
"version": "bb654d426b82e0846cd4bd7de91d637039ecdfd63c94447373490178f80846fe",
|
|
1181
|
+
"signature": "bb654d426b82e0846cd4bd7de91d637039ecdfd63c94447373490178f80846fe",
|
|
1182
|
+
"affectsGlobalScope": false
|
|
1183
|
+
},
|
|
1184
|
+
"../../node_modules/@types/nodemailer/lib/mailer/mail-message.d.ts": {
|
|
1185
|
+
"version": "db90f54098b237753ac9c846e39cd49aa538dcad07a2e1c68a138f3c0f8e621d",
|
|
1186
|
+
"signature": "db90f54098b237753ac9c846e39cd49aa538dcad07a2e1c68a138f3c0f8e621d",
|
|
1187
|
+
"affectsGlobalScope": false
|
|
1188
|
+
},
|
|
1189
|
+
"../../node_modules/@types/nodemailer/lib/xoauth2.d.ts": {
|
|
1190
|
+
"version": "892f8cf5db77196b9f4da151423570a9ad92f01692740d6137c0a13a006d9121",
|
|
1191
|
+
"signature": "892f8cf5db77196b9f4da151423570a9ad92f01692740d6137c0a13a006d9121",
|
|
1192
|
+
"affectsGlobalScope": false
|
|
1193
|
+
},
|
|
1194
|
+
"../../node_modules/@types/nodemailer/lib/mailer/index.d.ts": {
|
|
1195
|
+
"version": "6e41751646fe275206d052a2e5ba87d27dd0df4dcbca134fc3fd2dc4d3d410d2",
|
|
1196
|
+
"signature": "6e41751646fe275206d052a2e5ba87d27dd0df4dcbca134fc3fd2dc4d3d410d2",
|
|
1197
|
+
"affectsGlobalScope": false
|
|
1198
|
+
},
|
|
1199
|
+
"../../node_modules/@types/nodemailer/lib/mime-node/index.d.ts": {
|
|
1200
|
+
"version": "eecb2ea10a1500dcc6bdeff14be1fb43806f63a9b8562e16e1b4fc8baa8dfa8d",
|
|
1201
|
+
"signature": "eecb2ea10a1500dcc6bdeff14be1fb43806f63a9b8562e16e1b4fc8baa8dfa8d",
|
|
1202
|
+
"affectsGlobalScope": false
|
|
1203
|
+
},
|
|
1204
|
+
"../../node_modules/@types/nodemailer/lib/smtp-connection/index.d.ts": {
|
|
1205
|
+
"version": "221a6ab66d611349faaf80af49c7a34d95623787610fd153fed4da0811abdcae",
|
|
1206
|
+
"signature": "221a6ab66d611349faaf80af49c7a34d95623787610fd153fed4da0811abdcae",
|
|
1207
|
+
"affectsGlobalScope": false
|
|
1208
|
+
},
|
|
1209
|
+
"../../node_modules/@types/nodemailer/lib/shared.d.ts": {
|
|
1210
|
+
"version": "40122dcc63746bc8827d17f5f981668844e6c12537ca3b3e5e1a35883a50d666",
|
|
1211
|
+
"signature": "40122dcc63746bc8827d17f5f981668844e6c12537ca3b3e5e1a35883a50d666",
|
|
1212
|
+
"affectsGlobalScope": false
|
|
1213
|
+
},
|
|
1214
|
+
"../../node_modules/@types/nodemailer/lib/json-transport.d.ts": {
|
|
1215
|
+
"version": "966418bf54ad347058abfd433deb2f74480e859adb80b9ddbe90bb3ada1a8eda",
|
|
1216
|
+
"signature": "966418bf54ad347058abfd433deb2f74480e859adb80b9ddbe90bb3ada1a8eda",
|
|
1217
|
+
"affectsGlobalScope": false
|
|
1218
|
+
},
|
|
1219
|
+
"../../node_modules/@types/nodemailer/lib/sendmail-transport/index.d.ts": {
|
|
1220
|
+
"version": "e79130cf2ba010f2b79747bf43b086252ad041b130768331a1144c0a86185877",
|
|
1221
|
+
"signature": "e79130cf2ba010f2b79747bf43b086252ad041b130768331a1144c0a86185877",
|
|
1222
|
+
"affectsGlobalScope": false
|
|
1223
|
+
},
|
|
1224
|
+
"../../node_modules/@types/nodemailer/lib/ses-transport.d.ts": {
|
|
1225
|
+
"version": "5945e7a91249d0dcbce4609279cb8fa95e45a4ac0edf6b81742724ed38e5018f",
|
|
1226
|
+
"signature": "5945e7a91249d0dcbce4609279cb8fa95e45a4ac0edf6b81742724ed38e5018f",
|
|
1227
|
+
"affectsGlobalScope": false
|
|
1228
|
+
},
|
|
1229
|
+
"../../node_modules/@types/nodemailer/lib/smtp-pool/index.d.ts": {
|
|
1230
|
+
"version": "dafce7a7b279977940b6b4b50017625e4f922f73094433d2875994bdc0b27e87",
|
|
1231
|
+
"signature": "dafce7a7b279977940b6b4b50017625e4f922f73094433d2875994bdc0b27e87",
|
|
1232
|
+
"affectsGlobalScope": false
|
|
1233
|
+
},
|
|
1234
|
+
"../../node_modules/@types/nodemailer/lib/smtp-transport.d.ts": {
|
|
1235
|
+
"version": "ec630acd5a4ac97faadbfff935eb00df5318a6302dd25938685ad8c25c70465c",
|
|
1236
|
+
"signature": "ec630acd5a4ac97faadbfff935eb00df5318a6302dd25938685ad8c25c70465c",
|
|
1237
|
+
"affectsGlobalScope": false
|
|
1238
|
+
},
|
|
1239
|
+
"../../node_modules/@types/nodemailer/lib/stream-transport.d.ts": {
|
|
1240
|
+
"version": "b3edafa3cb2b51781dffced9ec03613b8fe4981c44dea915f119996d201c1d03",
|
|
1241
|
+
"signature": "b3edafa3cb2b51781dffced9ec03613b8fe4981c44dea915f119996d201c1d03",
|
|
1242
|
+
"affectsGlobalScope": false
|
|
1243
|
+
},
|
|
1244
|
+
"../../node_modules/@types/nodemailer/index.d.ts": {
|
|
1245
|
+
"version": "6c559dee3c6251c261b67df08e01d4cbc89cbd7a63300150c636705733cebfff",
|
|
1246
|
+
"signature": "6c559dee3c6251c261b67df08e01d4cbc89cbd7a63300150c636705733cebfff",
|
|
1247
|
+
"affectsGlobalScope": false
|
|
1248
|
+
},
|
|
1169
1249
|
"../../node_modules/@types/normalize-package-data/index.d.ts": {
|
|
1170
1250
|
"version": "6fa0008bf91a4cc9c8963bace4bba0bd6865cbfa29c3e3ccc461155660fb113a",
|
|
1171
1251
|
"signature": "6fa0008bf91a4cc9c8963bace4bba0bd6865cbfa29c3e3ccc461155660fb113a",
|
|
@@ -1485,6 +1565,9 @@
|
|
|
1485
1565
|
"./node_modules/@types/node/fs.d.ts",
|
|
1486
1566
|
"./node_modules/@types/node/index.d.ts"
|
|
1487
1567
|
],
|
|
1568
|
+
"../../node_modules/@types/html-to-text/index.d.ts": [
|
|
1569
|
+
"../../node_modules/@types/html-to-text/lib/block-text-builder.d.ts"
|
|
1570
|
+
],
|
|
1488
1571
|
"../../node_modules/@types/istanbul-lib-report/index.d.ts": [
|
|
1489
1572
|
"../../node_modules/@types/istanbul-lib-coverage/index.d.ts"
|
|
1490
1573
|
],
|
|
@@ -1727,6 +1810,126 @@
|
|
|
1727
1810
|
"./node_modules/@types/node/index.d.ts",
|
|
1728
1811
|
"./node_modules/@types/node/url.d.ts"
|
|
1729
1812
|
],
|
|
1813
|
+
"../../node_modules/@types/nodemailer/index.d.ts": [
|
|
1814
|
+
"../../node_modules/@types/nodemailer/lib/json-transport.d.ts",
|
|
1815
|
+
"../../node_modules/@types/nodemailer/lib/mailer/index.d.ts",
|
|
1816
|
+
"../../node_modules/@types/nodemailer/lib/mailer/mail-message.d.ts",
|
|
1817
|
+
"../../node_modules/@types/nodemailer/lib/sendmail-transport/index.d.ts",
|
|
1818
|
+
"../../node_modules/@types/nodemailer/lib/ses-transport.d.ts",
|
|
1819
|
+
"../../node_modules/@types/nodemailer/lib/smtp-pool/index.d.ts",
|
|
1820
|
+
"../../node_modules/@types/nodemailer/lib/smtp-transport.d.ts",
|
|
1821
|
+
"../../node_modules/@types/nodemailer/lib/stream-transport.d.ts",
|
|
1822
|
+
"./node_modules/@types/node/index.d.ts"
|
|
1823
|
+
],
|
|
1824
|
+
"../../node_modules/@types/nodemailer/lib/dkim/index.d.ts": [
|
|
1825
|
+
"./node_modules/@types/node/index.d.ts",
|
|
1826
|
+
"./node_modules/@types/node/stream.d.ts"
|
|
1827
|
+
],
|
|
1828
|
+
"../../node_modules/@types/nodemailer/lib/json-transport.d.ts": [
|
|
1829
|
+
"../../node_modules/@types/nodemailer/index.d.ts",
|
|
1830
|
+
"../../node_modules/@types/nodemailer/lib/mailer/index.d.ts",
|
|
1831
|
+
"../../node_modules/@types/nodemailer/lib/mailer/mail-message.d.ts",
|
|
1832
|
+
"../../node_modules/@types/nodemailer/lib/mime-node/index.d.ts",
|
|
1833
|
+
"../../node_modules/@types/nodemailer/lib/shared.d.ts",
|
|
1834
|
+
"./node_modules/@types/node/events.d.ts",
|
|
1835
|
+
"./node_modules/@types/node/index.d.ts"
|
|
1836
|
+
],
|
|
1837
|
+
"../../node_modules/@types/nodemailer/lib/mailer/index.d.ts": [
|
|
1838
|
+
"../../node_modules/@types/nodemailer/index.d.ts",
|
|
1839
|
+
"../../node_modules/@types/nodemailer/lib/dkim/index.d.ts",
|
|
1840
|
+
"../../node_modules/@types/nodemailer/lib/mailer/mail-message.d.ts",
|
|
1841
|
+
"../../node_modules/@types/nodemailer/lib/mime-node/index.d.ts",
|
|
1842
|
+
"../../node_modules/@types/nodemailer/lib/shared.d.ts",
|
|
1843
|
+
"../../node_modules/@types/nodemailer/lib/smtp-connection/index.d.ts",
|
|
1844
|
+
"../../node_modules/@types/nodemailer/lib/xoauth2.d.ts",
|
|
1845
|
+
"./node_modules/@types/node/events.d.ts",
|
|
1846
|
+
"./node_modules/@types/node/index.d.ts",
|
|
1847
|
+
"./node_modules/@types/node/net.d.ts",
|
|
1848
|
+
"./node_modules/@types/node/stream.d.ts",
|
|
1849
|
+
"./node_modules/@types/node/url.d.ts"
|
|
1850
|
+
],
|
|
1851
|
+
"../../node_modules/@types/nodemailer/lib/mailer/mail-message.d.ts": [
|
|
1852
|
+
"../../node_modules/@types/nodemailer/lib/mailer/index.d.ts",
|
|
1853
|
+
"../../node_modules/@types/nodemailer/lib/mime-node/index.d.ts",
|
|
1854
|
+
"./node_modules/@types/node/index.d.ts",
|
|
1855
|
+
"./node_modules/@types/node/stream.d.ts"
|
|
1856
|
+
],
|
|
1857
|
+
"../../node_modules/@types/nodemailer/lib/mime-node/index.d.ts": [
|
|
1858
|
+
"../../node_modules/@types/nodemailer/lib/mailer/index.d.ts",
|
|
1859
|
+
"../../node_modules/@types/nodemailer/lib/smtp-connection/index.d.ts",
|
|
1860
|
+
"./node_modules/@types/node/index.d.ts",
|
|
1861
|
+
"./node_modules/@types/node/stream.d.ts"
|
|
1862
|
+
],
|
|
1863
|
+
"../../node_modules/@types/nodemailer/lib/sendmail-transport/index.d.ts": [
|
|
1864
|
+
"../../node_modules/@types/nodemailer/index.d.ts",
|
|
1865
|
+
"../../node_modules/@types/nodemailer/lib/mailer/index.d.ts",
|
|
1866
|
+
"../../node_modules/@types/nodemailer/lib/mailer/mail-message.d.ts",
|
|
1867
|
+
"../../node_modules/@types/nodemailer/lib/mime-node/index.d.ts",
|
|
1868
|
+
"../../node_modules/@types/nodemailer/lib/shared.d.ts",
|
|
1869
|
+
"./node_modules/@types/node/index.d.ts"
|
|
1870
|
+
],
|
|
1871
|
+
"../../node_modules/@types/nodemailer/lib/ses-transport.d.ts": [
|
|
1872
|
+
"../../node_modules/@types/nodemailer/index.d.ts",
|
|
1873
|
+
"../../node_modules/@types/nodemailer/lib/mailer/index.d.ts",
|
|
1874
|
+
"../../node_modules/@types/nodemailer/lib/mailer/mail-message.d.ts",
|
|
1875
|
+
"../../node_modules/@types/nodemailer/lib/mime-node/index.d.ts",
|
|
1876
|
+
"../../node_modules/@types/nodemailer/lib/shared.d.ts",
|
|
1877
|
+
"./node_modules/@types/node/events.d.ts",
|
|
1878
|
+
"./node_modules/@types/node/index.d.ts"
|
|
1879
|
+
],
|
|
1880
|
+
"../../node_modules/@types/nodemailer/lib/shared.d.ts": [
|
|
1881
|
+
"../../node_modules/@types/nodemailer/lib/smtp-connection/index.d.ts",
|
|
1882
|
+
"./node_modules/@types/node/index.d.ts",
|
|
1883
|
+
"./node_modules/@types/node/stream.d.ts"
|
|
1884
|
+
],
|
|
1885
|
+
"../../node_modules/@types/nodemailer/lib/smtp-connection/index.d.ts": [
|
|
1886
|
+
"../../node_modules/@types/nodemailer/lib/mime-node/index.d.ts",
|
|
1887
|
+
"../../node_modules/@types/nodemailer/lib/shared.d.ts",
|
|
1888
|
+
"../../node_modules/@types/nodemailer/lib/xoauth2.d.ts",
|
|
1889
|
+
"./node_modules/@types/node/events.d.ts",
|
|
1890
|
+
"./node_modules/@types/node/index.d.ts",
|
|
1891
|
+
"./node_modules/@types/node/net.d.ts",
|
|
1892
|
+
"./node_modules/@types/node/stream.d.ts",
|
|
1893
|
+
"./node_modules/@types/node/tls.d.ts"
|
|
1894
|
+
],
|
|
1895
|
+
"../../node_modules/@types/nodemailer/lib/smtp-pool/index.d.ts": [
|
|
1896
|
+
"../../node_modules/@types/nodemailer/index.d.ts",
|
|
1897
|
+
"../../node_modules/@types/nodemailer/lib/mailer/index.d.ts",
|
|
1898
|
+
"../../node_modules/@types/nodemailer/lib/mailer/mail-message.d.ts",
|
|
1899
|
+
"../../node_modules/@types/nodemailer/lib/mime-node/index.d.ts",
|
|
1900
|
+
"../../node_modules/@types/nodemailer/lib/shared.d.ts",
|
|
1901
|
+
"../../node_modules/@types/nodemailer/lib/smtp-connection/index.d.ts",
|
|
1902
|
+
"./node_modules/@types/node/events.d.ts",
|
|
1903
|
+
"./node_modules/@types/node/index.d.ts"
|
|
1904
|
+
],
|
|
1905
|
+
"../../node_modules/@types/nodemailer/lib/smtp-transport.d.ts": [
|
|
1906
|
+
"../../node_modules/@types/nodemailer/index.d.ts",
|
|
1907
|
+
"../../node_modules/@types/nodemailer/lib/mailer/index.d.ts",
|
|
1908
|
+
"../../node_modules/@types/nodemailer/lib/mailer/mail-message.d.ts",
|
|
1909
|
+
"../../node_modules/@types/nodemailer/lib/mime-node/index.d.ts",
|
|
1910
|
+
"../../node_modules/@types/nodemailer/lib/shared.d.ts",
|
|
1911
|
+
"../../node_modules/@types/nodemailer/lib/smtp-connection/index.d.ts",
|
|
1912
|
+
"../../node_modules/@types/nodemailer/lib/xoauth2.d.ts",
|
|
1913
|
+
"./node_modules/@types/node/events.d.ts",
|
|
1914
|
+
"./node_modules/@types/node/index.d.ts",
|
|
1915
|
+
"./node_modules/@types/node/stream.d.ts"
|
|
1916
|
+
],
|
|
1917
|
+
"../../node_modules/@types/nodemailer/lib/stream-transport.d.ts": [
|
|
1918
|
+
"../../node_modules/@types/nodemailer/index.d.ts",
|
|
1919
|
+
"../../node_modules/@types/nodemailer/lib/mailer/index.d.ts",
|
|
1920
|
+
"../../node_modules/@types/nodemailer/lib/mailer/mail-message.d.ts",
|
|
1921
|
+
"../../node_modules/@types/nodemailer/lib/mime-node/index.d.ts",
|
|
1922
|
+
"../../node_modules/@types/nodemailer/lib/shared.d.ts",
|
|
1923
|
+
"./node_modules/@types/node/events.d.ts",
|
|
1924
|
+
"./node_modules/@types/node/index.d.ts",
|
|
1925
|
+
"./node_modules/@types/node/stream.d.ts"
|
|
1926
|
+
],
|
|
1927
|
+
"../../node_modules/@types/nodemailer/lib/xoauth2.d.ts": [
|
|
1928
|
+
"../../node_modules/@types/nodemailer/lib/shared.d.ts",
|
|
1929
|
+
"./node_modules/@types/node/http.d.ts",
|
|
1930
|
+
"./node_modules/@types/node/index.d.ts",
|
|
1931
|
+
"./node_modules/@types/node/stream.d.ts"
|
|
1932
|
+
],
|
|
1730
1933
|
"../../node_modules/@types/pg/index.d.ts": [
|
|
1731
1934
|
"../../node_modules/@types/pg/index.d.ts",
|
|
1732
1935
|
"../../node_modules/pg-protocol/dist/messages.d.ts",
|
|
@@ -2098,6 +2301,9 @@
|
|
|
2098
2301
|
"./src/types/definitions.ts",
|
|
2099
2302
|
"./src/types/vehicles.ts"
|
|
2100
2303
|
],
|
|
2304
|
+
"./src/types/messages.ts": [
|
|
2305
|
+
"./src/types/fields.ts"
|
|
2306
|
+
],
|
|
2101
2307
|
"./src/types/picklists.ts": [
|
|
2102
2308
|
"../commons-sdk/lib/types.d.ts"
|
|
2103
2309
|
],
|
|
@@ -2361,6 +2567,9 @@
|
|
|
2361
2567
|
"./node_modules/@types/node/fs.d.ts",
|
|
2362
2568
|
"./node_modules/@types/node/index.d.ts"
|
|
2363
2569
|
],
|
|
2570
|
+
"../../node_modules/@types/html-to-text/index.d.ts": [
|
|
2571
|
+
"../../node_modules/@types/html-to-text/lib/block-text-builder.d.ts"
|
|
2572
|
+
],
|
|
2364
2573
|
"../../node_modules/@types/istanbul-lib-report/index.d.ts": [
|
|
2365
2574
|
"../../node_modules/@types/istanbul-lib-coverage/index.d.ts"
|
|
2366
2575
|
],
|
|
@@ -2603,6 +2812,126 @@
|
|
|
2603
2812
|
"./node_modules/@types/node/index.d.ts",
|
|
2604
2813
|
"./node_modules/@types/node/url.d.ts"
|
|
2605
2814
|
],
|
|
2815
|
+
"../../node_modules/@types/nodemailer/index.d.ts": [
|
|
2816
|
+
"../../node_modules/@types/nodemailer/lib/json-transport.d.ts",
|
|
2817
|
+
"../../node_modules/@types/nodemailer/lib/mailer/index.d.ts",
|
|
2818
|
+
"../../node_modules/@types/nodemailer/lib/mailer/mail-message.d.ts",
|
|
2819
|
+
"../../node_modules/@types/nodemailer/lib/sendmail-transport/index.d.ts",
|
|
2820
|
+
"../../node_modules/@types/nodemailer/lib/ses-transport.d.ts",
|
|
2821
|
+
"../../node_modules/@types/nodemailer/lib/smtp-pool/index.d.ts",
|
|
2822
|
+
"../../node_modules/@types/nodemailer/lib/smtp-transport.d.ts",
|
|
2823
|
+
"../../node_modules/@types/nodemailer/lib/stream-transport.d.ts",
|
|
2824
|
+
"./node_modules/@types/node/index.d.ts"
|
|
2825
|
+
],
|
|
2826
|
+
"../../node_modules/@types/nodemailer/lib/dkim/index.d.ts": [
|
|
2827
|
+
"./node_modules/@types/node/index.d.ts",
|
|
2828
|
+
"./node_modules/@types/node/stream.d.ts"
|
|
2829
|
+
],
|
|
2830
|
+
"../../node_modules/@types/nodemailer/lib/json-transport.d.ts": [
|
|
2831
|
+
"../../node_modules/@types/nodemailer/index.d.ts",
|
|
2832
|
+
"../../node_modules/@types/nodemailer/lib/mailer/index.d.ts",
|
|
2833
|
+
"../../node_modules/@types/nodemailer/lib/mailer/mail-message.d.ts",
|
|
2834
|
+
"../../node_modules/@types/nodemailer/lib/mime-node/index.d.ts",
|
|
2835
|
+
"../../node_modules/@types/nodemailer/lib/shared.d.ts",
|
|
2836
|
+
"./node_modules/@types/node/events.d.ts",
|
|
2837
|
+
"./node_modules/@types/node/index.d.ts"
|
|
2838
|
+
],
|
|
2839
|
+
"../../node_modules/@types/nodemailer/lib/mailer/index.d.ts": [
|
|
2840
|
+
"../../node_modules/@types/nodemailer/index.d.ts",
|
|
2841
|
+
"../../node_modules/@types/nodemailer/lib/dkim/index.d.ts",
|
|
2842
|
+
"../../node_modules/@types/nodemailer/lib/mailer/mail-message.d.ts",
|
|
2843
|
+
"../../node_modules/@types/nodemailer/lib/mime-node/index.d.ts",
|
|
2844
|
+
"../../node_modules/@types/nodemailer/lib/shared.d.ts",
|
|
2845
|
+
"../../node_modules/@types/nodemailer/lib/smtp-connection/index.d.ts",
|
|
2846
|
+
"../../node_modules/@types/nodemailer/lib/xoauth2.d.ts",
|
|
2847
|
+
"./node_modules/@types/node/events.d.ts",
|
|
2848
|
+
"./node_modules/@types/node/index.d.ts",
|
|
2849
|
+
"./node_modules/@types/node/net.d.ts",
|
|
2850
|
+
"./node_modules/@types/node/stream.d.ts",
|
|
2851
|
+
"./node_modules/@types/node/url.d.ts"
|
|
2852
|
+
],
|
|
2853
|
+
"../../node_modules/@types/nodemailer/lib/mailer/mail-message.d.ts": [
|
|
2854
|
+
"../../node_modules/@types/nodemailer/lib/mailer/index.d.ts",
|
|
2855
|
+
"../../node_modules/@types/nodemailer/lib/mime-node/index.d.ts",
|
|
2856
|
+
"./node_modules/@types/node/index.d.ts",
|
|
2857
|
+
"./node_modules/@types/node/stream.d.ts"
|
|
2858
|
+
],
|
|
2859
|
+
"../../node_modules/@types/nodemailer/lib/mime-node/index.d.ts": [
|
|
2860
|
+
"../../node_modules/@types/nodemailer/lib/mailer/index.d.ts",
|
|
2861
|
+
"../../node_modules/@types/nodemailer/lib/smtp-connection/index.d.ts",
|
|
2862
|
+
"./node_modules/@types/node/index.d.ts",
|
|
2863
|
+
"./node_modules/@types/node/stream.d.ts"
|
|
2864
|
+
],
|
|
2865
|
+
"../../node_modules/@types/nodemailer/lib/sendmail-transport/index.d.ts": [
|
|
2866
|
+
"../../node_modules/@types/nodemailer/index.d.ts",
|
|
2867
|
+
"../../node_modules/@types/nodemailer/lib/mailer/index.d.ts",
|
|
2868
|
+
"../../node_modules/@types/nodemailer/lib/mailer/mail-message.d.ts",
|
|
2869
|
+
"../../node_modules/@types/nodemailer/lib/mime-node/index.d.ts",
|
|
2870
|
+
"../../node_modules/@types/nodemailer/lib/shared.d.ts",
|
|
2871
|
+
"./node_modules/@types/node/index.d.ts"
|
|
2872
|
+
],
|
|
2873
|
+
"../../node_modules/@types/nodemailer/lib/ses-transport.d.ts": [
|
|
2874
|
+
"../../node_modules/@types/nodemailer/index.d.ts",
|
|
2875
|
+
"../../node_modules/@types/nodemailer/lib/mailer/index.d.ts",
|
|
2876
|
+
"../../node_modules/@types/nodemailer/lib/mailer/mail-message.d.ts",
|
|
2877
|
+
"../../node_modules/@types/nodemailer/lib/mime-node/index.d.ts",
|
|
2878
|
+
"../../node_modules/@types/nodemailer/lib/shared.d.ts",
|
|
2879
|
+
"./node_modules/@types/node/events.d.ts",
|
|
2880
|
+
"./node_modules/@types/node/index.d.ts"
|
|
2881
|
+
],
|
|
2882
|
+
"../../node_modules/@types/nodemailer/lib/shared.d.ts": [
|
|
2883
|
+
"../../node_modules/@types/nodemailer/lib/smtp-connection/index.d.ts",
|
|
2884
|
+
"./node_modules/@types/node/index.d.ts",
|
|
2885
|
+
"./node_modules/@types/node/stream.d.ts"
|
|
2886
|
+
],
|
|
2887
|
+
"../../node_modules/@types/nodemailer/lib/smtp-connection/index.d.ts": [
|
|
2888
|
+
"../../node_modules/@types/nodemailer/lib/mime-node/index.d.ts",
|
|
2889
|
+
"../../node_modules/@types/nodemailer/lib/shared.d.ts",
|
|
2890
|
+
"../../node_modules/@types/nodemailer/lib/xoauth2.d.ts",
|
|
2891
|
+
"./node_modules/@types/node/events.d.ts",
|
|
2892
|
+
"./node_modules/@types/node/index.d.ts",
|
|
2893
|
+
"./node_modules/@types/node/net.d.ts",
|
|
2894
|
+
"./node_modules/@types/node/stream.d.ts",
|
|
2895
|
+
"./node_modules/@types/node/tls.d.ts"
|
|
2896
|
+
],
|
|
2897
|
+
"../../node_modules/@types/nodemailer/lib/smtp-pool/index.d.ts": [
|
|
2898
|
+
"../../node_modules/@types/nodemailer/index.d.ts",
|
|
2899
|
+
"../../node_modules/@types/nodemailer/lib/mailer/index.d.ts",
|
|
2900
|
+
"../../node_modules/@types/nodemailer/lib/mailer/mail-message.d.ts",
|
|
2901
|
+
"../../node_modules/@types/nodemailer/lib/mime-node/index.d.ts",
|
|
2902
|
+
"../../node_modules/@types/nodemailer/lib/shared.d.ts",
|
|
2903
|
+
"../../node_modules/@types/nodemailer/lib/smtp-connection/index.d.ts",
|
|
2904
|
+
"./node_modules/@types/node/events.d.ts",
|
|
2905
|
+
"./node_modules/@types/node/index.d.ts"
|
|
2906
|
+
],
|
|
2907
|
+
"../../node_modules/@types/nodemailer/lib/smtp-transport.d.ts": [
|
|
2908
|
+
"../../node_modules/@types/nodemailer/index.d.ts",
|
|
2909
|
+
"../../node_modules/@types/nodemailer/lib/mailer/index.d.ts",
|
|
2910
|
+
"../../node_modules/@types/nodemailer/lib/mailer/mail-message.d.ts",
|
|
2911
|
+
"../../node_modules/@types/nodemailer/lib/mime-node/index.d.ts",
|
|
2912
|
+
"../../node_modules/@types/nodemailer/lib/shared.d.ts",
|
|
2913
|
+
"../../node_modules/@types/nodemailer/lib/smtp-connection/index.d.ts",
|
|
2914
|
+
"../../node_modules/@types/nodemailer/lib/xoauth2.d.ts",
|
|
2915
|
+
"./node_modules/@types/node/events.d.ts",
|
|
2916
|
+
"./node_modules/@types/node/index.d.ts",
|
|
2917
|
+
"./node_modules/@types/node/stream.d.ts"
|
|
2918
|
+
],
|
|
2919
|
+
"../../node_modules/@types/nodemailer/lib/stream-transport.d.ts": [
|
|
2920
|
+
"../../node_modules/@types/nodemailer/index.d.ts",
|
|
2921
|
+
"../../node_modules/@types/nodemailer/lib/mailer/index.d.ts",
|
|
2922
|
+
"../../node_modules/@types/nodemailer/lib/mailer/mail-message.d.ts",
|
|
2923
|
+
"../../node_modules/@types/nodemailer/lib/mime-node/index.d.ts",
|
|
2924
|
+
"../../node_modules/@types/nodemailer/lib/shared.d.ts",
|
|
2925
|
+
"./node_modules/@types/node/events.d.ts",
|
|
2926
|
+
"./node_modules/@types/node/index.d.ts",
|
|
2927
|
+
"./node_modules/@types/node/stream.d.ts"
|
|
2928
|
+
],
|
|
2929
|
+
"../../node_modules/@types/nodemailer/lib/xoauth2.d.ts": [
|
|
2930
|
+
"../../node_modules/@types/nodemailer/lib/shared.d.ts",
|
|
2931
|
+
"./node_modules/@types/node/http.d.ts",
|
|
2932
|
+
"./node_modules/@types/node/index.d.ts",
|
|
2933
|
+
"./node_modules/@types/node/stream.d.ts"
|
|
2934
|
+
],
|
|
2606
2935
|
"../../node_modules/@types/pg/index.d.ts": [
|
|
2607
2936
|
"../../node_modules/@types/pg/index.d.ts",
|
|
2608
2937
|
"../../node_modules/pg-protocol/dist/messages.d.ts",
|
|
@@ -2947,6 +3276,9 @@
|
|
|
2947
3276
|
"./src/types/definitions.ts",
|
|
2948
3277
|
"./src/types/vehicles.ts"
|
|
2949
3278
|
],
|
|
3279
|
+
"./src/types/messages.ts": [
|
|
3280
|
+
"./src/types/fields.ts"
|
|
3281
|
+
],
|
|
2950
3282
|
"./src/types/picklists.ts": [
|
|
2951
3283
|
"../commons-sdk/lib/types.d.ts"
|
|
2952
3284
|
],
|
|
@@ -3033,6 +3365,8 @@
|
|
|
3033
3365
|
"../../node_modules/@types/express/index.d.ts",
|
|
3034
3366
|
"../../node_modules/@types/google-libphonenumber/index.d.ts",
|
|
3035
3367
|
"../../node_modules/@types/graceful-fs/index.d.ts",
|
|
3368
|
+
"../../node_modules/@types/html-to-text/index.d.ts",
|
|
3369
|
+
"../../node_modules/@types/html-to-text/lib/block-text-builder.d.ts",
|
|
3036
3370
|
"../../node_modules/@types/http-assert/index.d.ts",
|
|
3037
3371
|
"../../node_modules/@types/http-errors/index.d.ts",
|
|
3038
3372
|
"../../node_modules/@types/istanbul-lib-coverage/index.d.ts",
|
|
@@ -3068,6 +3402,20 @@
|
|
|
3068
3402
|
"../../node_modules/@types/nanoid/index.d.ts",
|
|
3069
3403
|
"../../node_modules/@types/node-fetch/externals.d.ts",
|
|
3070
3404
|
"../../node_modules/@types/node-fetch/index.d.ts",
|
|
3405
|
+
"../../node_modules/@types/nodemailer/index.d.ts",
|
|
3406
|
+
"../../node_modules/@types/nodemailer/lib/dkim/index.d.ts",
|
|
3407
|
+
"../../node_modules/@types/nodemailer/lib/json-transport.d.ts",
|
|
3408
|
+
"../../node_modules/@types/nodemailer/lib/mailer/index.d.ts",
|
|
3409
|
+
"../../node_modules/@types/nodemailer/lib/mailer/mail-message.d.ts",
|
|
3410
|
+
"../../node_modules/@types/nodemailer/lib/mime-node/index.d.ts",
|
|
3411
|
+
"../../node_modules/@types/nodemailer/lib/sendmail-transport/index.d.ts",
|
|
3412
|
+
"../../node_modules/@types/nodemailer/lib/ses-transport.d.ts",
|
|
3413
|
+
"../../node_modules/@types/nodemailer/lib/shared.d.ts",
|
|
3414
|
+
"../../node_modules/@types/nodemailer/lib/smtp-connection/index.d.ts",
|
|
3415
|
+
"../../node_modules/@types/nodemailer/lib/smtp-pool/index.d.ts",
|
|
3416
|
+
"../../node_modules/@types/nodemailer/lib/smtp-transport.d.ts",
|
|
3417
|
+
"../../node_modules/@types/nodemailer/lib/stream-transport.d.ts",
|
|
3418
|
+
"../../node_modules/@types/nodemailer/lib/xoauth2.d.ts",
|
|
3071
3419
|
"../../node_modules/@types/normalize-package-data/index.d.ts",
|
|
3072
3420
|
"../../node_modules/@types/object-hash/index.d.ts",
|
|
3073
3421
|
"../../node_modules/@types/pg/index.d.ts",
|
|
@@ -3198,7 +3546,6 @@
|
|
|
3198
3546
|
"./src/apis/utils.ts",
|
|
3199
3547
|
"./src/apis/vehicles.ts",
|
|
3200
3548
|
"./src/constants.ts",
|
|
3201
|
-
"./src/types/communications.ts",
|
|
3202
3549
|
"./src/types/conversations.ts",
|
|
3203
3550
|
"./src/types/crm.ts",
|
|
3204
3551
|
"./src/types/definitions.ts",
|
|
@@ -3206,6 +3553,7 @@
|
|
|
3206
3553
|
"./src/types/fields.ts",
|
|
3207
3554
|
"./src/types/leads.ts",
|
|
3208
3555
|
"./src/types/leasing.ts",
|
|
3556
|
+
"./src/types/messages.ts",
|
|
3209
3557
|
"./src/types/picklists.ts",
|
|
3210
3558
|
"./src/types/search.ts",
|
|
3211
3559
|
"./src/types/settings.ts",
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export declare type CommunicationDestination = {
|
|
2
|
-
organizationId: string;
|
|
3
|
-
contactId: string;
|
|
4
|
-
type: 'sms' | 'email';
|
|
5
|
-
target: string;
|
|
6
|
-
};
|
|
7
|
-
export declare type Communication = {
|
|
8
|
-
templateId: string;
|
|
9
|
-
templateModifiedAt: number;
|
|
10
|
-
templateLanguage: string;
|
|
11
|
-
id: string;
|
|
12
|
-
createdAt: string;
|
|
13
|
-
content: string;
|
|
14
|
-
destinations: CommunicationDestination[];
|
|
15
|
-
};
|
|
16
|
-
//# sourceMappingURL=communications.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"communications.d.ts","sourceRoot":"","sources":["../../src/types/communications.ts"],"names":[],"mappings":"AAAA,oBAAY,wBAAwB,GAAG;IACrC,cAAc,EAAE,MAAM,CAAC;IACvB,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,KAAK,GAAG,OAAO,CAAC;IACtB,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,oBAAY,aAAa,GAAG;IAC1B,UAAU,EAAE,MAAM,CAAC;IACnB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,gBAAgB,EAAE,MAAM,CAAC;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,YAAY,EAAE,wBAAwB,EAAE,CAAC;CAC1C,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"communications.js","sourceRoot":"","sources":["../../src/types/communications.ts"],"names":[],"mappings":""}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export type CommunicationDestination = {
|
|
2
|
-
organizationId: string;
|
|
3
|
-
contactId: string;
|
|
4
|
-
type: 'sms' | 'email';
|
|
5
|
-
target: string; // the contact's phone number in E164 format or email
|
|
6
|
-
};
|
|
7
|
-
|
|
8
|
-
export type Communication = {
|
|
9
|
-
templateId: string;
|
|
10
|
-
templateModifiedAt: number;
|
|
11
|
-
templateLanguage: string;
|
|
12
|
-
id: string;
|
|
13
|
-
createdAt: string;
|
|
14
|
-
content: string;
|
|
15
|
-
destinations: CommunicationDestination[];
|
|
16
|
-
};
|