@awell-health/awell-extensions 2.0.4 → 2.0.5
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/extensions/identityVerification/actions/dobCheck/config/datapoints.d.ts +6 -0
- package/dist/extensions/identityVerification/actions/dobCheck/config/datapoints.js +10 -0
- package/dist/extensions/identityVerification/actions/dobCheck/config/datapoints.js.map +1 -0
- package/dist/extensions/identityVerification/actions/dobCheck/config/fields.d.ts +10 -0
- package/dist/extensions/identityVerification/actions/dobCheck/config/fields.js +17 -0
- package/dist/extensions/identityVerification/actions/dobCheck/config/fields.js.map +1 -0
- package/dist/extensions/identityVerification/actions/dobCheck/config/index.d.ts +2 -0
- package/dist/extensions/identityVerification/actions/dobCheck/config/index.js +9 -0
- package/dist/extensions/identityVerification/actions/dobCheck/config/index.js.map +1 -0
- package/dist/extensions/identityVerification/actions/dobCheck/dobCheck.d.ts +4 -0
- package/dist/extensions/identityVerification/actions/dobCheck/dobCheck.js +36 -0
- package/dist/extensions/identityVerification/actions/dobCheck/dobCheck.js.map +1 -0
- package/dist/extensions/identityVerification/actions/dobCheck/dobCheck.test.d.ts +1 -0
- package/dist/extensions/identityVerification/actions/dobCheck/dobCheck.test.js +28 -0
- package/dist/extensions/identityVerification/actions/dobCheck/dobCheck.test.js.map +1 -0
- package/dist/extensions/identityVerification/actions/dobCheck/index.d.ts +1 -0
- package/dist/extensions/identityVerification/actions/dobCheck/index.js +6 -0
- package/dist/extensions/identityVerification/actions/dobCheck/index.js.map +1 -0
- package/dist/extensions/identityVerification/actions/index.d.ts +4 -0
- package/dist/extensions/identityVerification/actions/index.js +8 -0
- package/dist/extensions/identityVerification/actions/index.js.map +1 -0
- package/dist/extensions/identityVerification/index.d.ts +2 -0
- package/dist/extensions/identityVerification/index.js +22 -0
- package/dist/extensions/identityVerification/index.js.map +1 -0
- package/dist/extensions/identityVerification/settings.d.ts +3 -0
- package/dist/extensions/identityVerification/settings.js +7 -0
- package/dist/extensions/identityVerification/settings.js.map +1 -0
- package/dist/extensions/index.js +2 -0
- package/dist/extensions/index.js.map +1 -1
- package/dist/extensions/markdown.json +4 -0
- package/package.json +1 -1
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"datapoints.js","sourceRoot":"","sources":["../../../../../../extensions/identityVerification/actions/dobCheck/config/datapoints.ts"],"names":[],"mappings":";;;AAEa,QAAA,UAAU,GAAG;IACxB,OAAO,EAAE;QACP,GAAG,EAAE,SAAS;QACd,SAAS,EAAE,SAAS;KACrB;CAC4C,CAAA"}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import z from 'zod';
|
2
|
+
/**
|
3
|
+
* No action fields needed:
|
4
|
+
* - The actual DOB we need to check against should be stored in the patient's profile
|
5
|
+
* - We'll collect the DOB of the patient in the Hosted Pages app
|
6
|
+
*
|
7
|
+
* The logic to compare the two will live in Hosted Pages as well.
|
8
|
+
*/
|
9
|
+
export declare const fields: {};
|
10
|
+
export declare const FieldsValidationSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
@@ -0,0 +1,17 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
4
|
+
};
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
6
|
+
exports.FieldsValidationSchema = exports.fields = void 0;
|
7
|
+
const zod_1 = __importDefault(require("zod"));
|
8
|
+
/**
|
9
|
+
* No action fields needed:
|
10
|
+
* - The actual DOB we need to check against should be stored in the patient's profile
|
11
|
+
* - We'll collect the DOB of the patient in the Hosted Pages app
|
12
|
+
*
|
13
|
+
* The logic to compare the two will live in Hosted Pages as well.
|
14
|
+
*/
|
15
|
+
exports.fields = {};
|
16
|
+
exports.FieldsValidationSchema = zod_1.default.object({});
|
17
|
+
//# sourceMappingURL=fields.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"fields.js","sourceRoot":"","sources":["../../../../../../extensions/identityVerification/actions/dobCheck/config/fields.ts"],"names":[],"mappings":";;;;;;AACA,8CAAwC;AAExC;;;;;;GAMG;AACU,QAAA,MAAM,GAAG,EAAkC,CAAA;AAE3C,QAAA,sBAAsB,GAAG,aAAC,CAAC,MAAM,CAC5C,EAAoD,CACrD,CAAA"}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.dataPoints = exports.FieldsValidationSchema = exports.fields = void 0;
|
4
|
+
var fields_1 = require("./fields");
|
5
|
+
Object.defineProperty(exports, "fields", { enumerable: true, get: function () { return fields_1.fields; } });
|
6
|
+
Object.defineProperty(exports, "FieldsValidationSchema", { enumerable: true, get: function () { return fields_1.FieldsValidationSchema; } });
|
7
|
+
var datapoints_1 = require("./datapoints");
|
8
|
+
Object.defineProperty(exports, "dataPoints", { enumerable: true, get: function () { return datapoints_1.dataPoints; } });
|
9
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../extensions/identityVerification/actions/dobCheck/config/index.ts"],"names":[],"mappings":";;;AAAA,mCAAyD;AAAhD,gGAAA,MAAM,OAAA;AAAE,gHAAA,sBAAsB,OAAA;AACvC,2CAAyC;AAAhC,wGAAA,UAAU,OAAA"}
|
@@ -0,0 +1,36 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.dobCheck = void 0;
|
4
|
+
const extensions_core_1 = require("@awell-health/extensions-core");
|
5
|
+
const zod_1 = require("zod");
|
6
|
+
const settings_1 = require("../../settings");
|
7
|
+
const config_1 = require("./config");
|
8
|
+
exports.dobCheck = {
|
9
|
+
key: 'dobCheck',
|
10
|
+
category: extensions_core_1.Category.WORKFLOW,
|
11
|
+
title: 'DOB verification',
|
12
|
+
description: 'The user will be prompted to enter a dob which will be checked against the dob stored in the patient profile',
|
13
|
+
fields: config_1.fields,
|
14
|
+
previewable: false,
|
15
|
+
dataPoints: // We don't have Awell Hosted Pages in Preview so cannot be previewed.
|
16
|
+
config_1.dataPoints,
|
17
|
+
options: {
|
18
|
+
stakeholders: {
|
19
|
+
label: 'Stakeholder',
|
20
|
+
mode: 'single',
|
21
|
+
},
|
22
|
+
},
|
23
|
+
onActivityCreated: async (payload, onComplete, onError) => {
|
24
|
+
(0, extensions_core_1.validate)({
|
25
|
+
schema: zod_1.z.object({
|
26
|
+
settings: settings_1.SettingsValidationSchema,
|
27
|
+
fields: config_1.FieldsValidationSchema,
|
28
|
+
}),
|
29
|
+
payload,
|
30
|
+
});
|
31
|
+
/**
|
32
|
+
* Completion happens in Awell Hosted Pages
|
33
|
+
*/
|
34
|
+
},
|
35
|
+
};
|
36
|
+
//# sourceMappingURL=dobCheck.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"dobCheck.js","sourceRoot":"","sources":["../../../../../extensions/identityVerification/actions/dobCheck/dobCheck.ts"],"names":[],"mappings":";;;AAAA,mEAA+E;AAC/E,6BAAuB;AACvB,6CAAwE;AACxE,qCAAqE;AAExD,QAAA,QAAQ,GAIjB;IACF,GAAG,EAAE,UAAU;IACf,QAAQ,EAAE,0BAAQ,CAAC,QAAQ;IAC3B,KAAK,EAAE,kBAAkB;IACzB,WAAW,EACT,8GAA8G;IAChH,MAAM,EAAN,eAAM;IACN,WAAW,EAAE,KAAK;IAClB,UAAU,EADU,sEAAsE;IAC1F,mBAAU;IACV,OAAO,EAAE;QACP,YAAY,EAAE;YACZ,KAAK,EAAE,aAAa;YACpB,IAAI,EAAE,QAAQ;SACf;KACF;IACD,iBAAiB,EAAE,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,OAAO,EAAiB,EAAE;QACvE,IAAA,0BAAQ,EAAC;YACP,MAAM,EAAE,OAAC,CAAC,MAAM,CAAC;gBACf,QAAQ,EAAE,mCAAwB;gBAClC,MAAM,EAAE,+BAAsB;aAC/B,CAAC;YACF,OAAO;SACR,CAAC,CAAA;QAEF;;WAEG;IACL,CAAC;CACF,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1,28 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
const extensions_core_1 = require("@awell-health/extensions-core");
|
4
|
+
const tests_1 = require("@/tests");
|
5
|
+
const _1 = require(".");
|
6
|
+
describe('Identity verification - DOB check', () => {
|
7
|
+
const { onComplete, onError, helpers, extensionAction, clearMocks } = extensions_core_1.TestHelpers.fromAction(_1.dobCheck);
|
8
|
+
beforeEach(() => {
|
9
|
+
clearMocks();
|
10
|
+
});
|
11
|
+
test('Should work', async () => {
|
12
|
+
await extensionAction.onEvent({
|
13
|
+
payload: (0, tests_1.generateTestPayload)({
|
14
|
+
fields: {},
|
15
|
+
settings: {},
|
16
|
+
}),
|
17
|
+
onComplete,
|
18
|
+
onError,
|
19
|
+
helpers,
|
20
|
+
});
|
21
|
+
/**
|
22
|
+
* Because completion is handled in Awell Hosted Pages
|
23
|
+
*/
|
24
|
+
expect(onComplete).not.toHaveBeenCalled();
|
25
|
+
expect(onError).not.toHaveBeenCalled();
|
26
|
+
});
|
27
|
+
});
|
28
|
+
//# sourceMappingURL=dobCheck.test.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"dobCheck.test.js","sourceRoot":"","sources":["../../../../../extensions/identityVerification/actions/dobCheck/dobCheck.test.ts"],"names":[],"mappings":";;AAAA,mEAA2D;AAC3D,mCAA6C;AAC7C,wBAA4B;AAE5B,QAAQ,CAAC,mCAAmC,EAAE,GAAG,EAAE;IACjD,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,OAAO,EAAE,eAAe,EAAE,UAAU,EAAE,GACjE,6BAAW,CAAC,UAAU,CAAC,WAAQ,CAAC,CAAA;IAElC,UAAU,CAAC,GAAG,EAAE;QACd,UAAU,EAAE,CAAA;IACd,CAAC,CAAC,CAAA;IAEF,IAAI,CAAC,aAAa,EAAE,KAAK,IAAI,EAAE;QAC7B,MAAM,eAAe,CAAC,OAAO,CAAC;YAC5B,OAAO,EAAE,IAAA,2BAAmB,EAAC;gBAC3B,MAAM,EAAE,EAAE;gBACV,QAAQ,EAAE,EAAE;aACb,CAAC;YACF,UAAU;YACV,OAAO;YACP,OAAO;SACR,CAAC,CAAA;QAEF;;WAEG;QACH,MAAM,CAAC,UAAU,CAAC,CAAC,GAAG,CAAC,gBAAgB,EAAE,CAAA;QACzC,MAAM,CAAC,OAAO,CAAC,CAAC,GAAG,CAAC,gBAAgB,EAAE,CAAA;IACxC,CAAC,CAAC,CAAA;AACJ,CAAC,CAAC,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
export { dobCheck } from './dobCheck';
|
@@ -0,0 +1,6 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.dobCheck = void 0;
|
4
|
+
var dobCheck_1 = require("./dobCheck");
|
5
|
+
Object.defineProperty(exports, "dobCheck", { enumerable: true, get: function () { return dobCheck_1.dobCheck; } });
|
6
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../extensions/identityVerification/actions/dobCheck/index.ts"],"names":[],"mappings":";;;AAAA,uCAAqC;AAA5B,oGAAA,QAAQ,OAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../extensions/identityVerification/actions/index.ts"],"names":[],"mappings":";;AAAA,yCAAqC;AAErC,MAAM,OAAO,GAAG;IACd,QAAQ,EAAR,mBAAQ;CACT,CAAA;AAED,kBAAe,OAAO,CAAA"}
|
@@ -0,0 +1,22 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
4
|
+
};
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
6
|
+
exports.identityVerification = void 0;
|
7
|
+
const extensions_core_1 = require("@awell-health/extensions-core");
|
8
|
+
const actions_1 = __importDefault(require("./actions"));
|
9
|
+
const settings_1 = require("./settings");
|
10
|
+
exports.identityVerification = {
|
11
|
+
key: 'identityVerification',
|
12
|
+
title: 'Identity Verification',
|
13
|
+
description: "Verify the patient's identity by asking for a piece of personal information, such as their date of birth. ",
|
14
|
+
icon_url: 'https://res.cloudinary.com/da7x4rzl4/image/upload/v1725995141/Awell%20Extensions/120965-200.png',
|
15
|
+
category: extensions_core_1.Category.CUSTOMER_SUPPORT,
|
16
|
+
author: {
|
17
|
+
authorType: extensions_core_1.AuthorType.AWELL,
|
18
|
+
},
|
19
|
+
settings: settings_1.settings,
|
20
|
+
actions: actions_1.default,
|
21
|
+
};
|
22
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../extensions/identityVerification/index.ts"],"names":[],"mappings":";;;;;;AAAA,mEAIsC;AACtC,wDAA+B;AAC/B,yCAAqC;AAExB,QAAA,oBAAoB,GAAc;IAC7C,GAAG,EAAE,sBAAsB;IAC3B,KAAK,EAAE,uBAAuB;IAC9B,WAAW,EACT,4GAA4G;IAC9G,QAAQ,EACN,iGAAiG;IACnG,QAAQ,EAAE,0BAAQ,CAAC,gBAAgB;IACnC,MAAM,EAAE;QACN,UAAU,EAAE,4BAAU,CAAC,KAAK;KAC7B;IACD,QAAQ,EAAR,mBAAQ;IACR,OAAO,EAAP,iBAAO;CACR,CAAA"}
|
@@ -0,0 +1,7 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.SettingsValidationSchema = exports.settings = void 0;
|
4
|
+
const zod_1 = require("zod");
|
5
|
+
exports.settings = {};
|
6
|
+
exports.SettingsValidationSchema = zod_1.z.object({});
|
7
|
+
//# sourceMappingURL=settings.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"settings.js","sourceRoot":"","sources":["../../../extensions/identityVerification/settings.ts"],"names":[],"mappings":";;;AACA,6BAAwC;AAE3B,QAAA,QAAQ,GAAG,EAAoC,CAAA;AAE/C,QAAA,wBAAwB,GAAG,OAAC,CAAC,MAAM,CAC9C,EAAsD,CACvD,CAAA"}
|
package/dist/extensions/index.js
CHANGED
@@ -41,6 +41,7 @@ const external_server_1 = require("./external-server");
|
|
41
41
|
const formsort_1 = require("./formsort");
|
42
42
|
const healthie_1 = require("./healthie");
|
43
43
|
const hello_world_1 = require("./hello-world");
|
44
|
+
const identityVerification_1 = require("./identityVerification");
|
44
45
|
const infobip_1 = require("./infobip");
|
45
46
|
const iterable_1 = require("./iterable");
|
46
47
|
const mailchimp_1 = require("./mailchimp");
|
@@ -82,6 +83,7 @@ exports.extensions = [
|
|
82
83
|
formsort_1.Formsort,
|
83
84
|
healthie_1.Healthie,
|
84
85
|
hello_world_1.HelloWorld,
|
86
|
+
identityVerification_1.identityVerification,
|
85
87
|
infobip_1.Infobip,
|
86
88
|
iterable_1.Iterable,
|
87
89
|
mailchimp_1.Mailchimp,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../extensions/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,iDAA6C;AAC7C,mCAA+B;AAC/B,2CAAuC;AACvC,yCAAqC;AACrC,mDAA+C;AAC/C,6CAAyC;AACzC,yCAAqC;AACrC,+CAA2C;AAC3C,6CAAyC;AACzC,yCAAqC;AACrC,+CAA2C;AAC3C,uCAAmC;AACnC,iDAA6C;AAC7C,uDAAkD;AAClD,yCAAqC;AACrC,yCAAqC;AACrC,+CAA0C;AAC1C,uCAAmC;AACnC,yCAAqC;AACrC,2CAAuC;AACvC,uCAAmC;AACnC,iCAAsC;AACtC,uCAAmC;AACnC,+CAA2C;AAC3C,2CAAuC;AACvC,+CAA2C;AAC3C,iCAA6B;AAC7B,yCAAqC;AACrC,6DAA+C;AAC/C,iCAA6B;AAC7B,qCAAiC;AACjC,yCAAqC;AACrC,yCAAqC;AACrC,2CAAuC;AACvC,qCAAiC;AACjC,uCAAmC;AACnC,yCAAqC;AACrC,uCAAmC;AAEnC,sDAAuC;AAG1B,QAAA,QAAQ,GAAa,IAAI,CAAA;AAEzB,QAAA,UAAU,GAAG;IACxB,2BAAY;IACZ,aAAK;IACL,qBAAS;IACT,mBAAQ;IACR,6BAAa;IACb,uBAAU;IACV,mBAAQ;IACR,yBAAW;IACX,uBAAU;IACV,mBAAQ;IACR,yBAAW;IACX,iBAAO;IACP,2BAAY;IACZ,gCAAc;IACd,mBAAQ;IACR,mBAAQ;IACR,wBAAU;IACV,iBAAO;IACP,mBAAQ;IACR,qBAAS;IACT,iBAAO;IACP,oBAAa;IACb,yBAAW;IACX,iBAAO;IACP,qBAAS;IACT,yBAAW;IACX,WAAI;IACJ,mBAAQ;IACR,6BAAQ;IACR,WAAI;IACJ,eAAM;IACN,mBAAQ;IACR,mBAAQ;IACR,qBAAS;IACT,eAAM;IACN,iBAAO;IACP,mBAAQ;IACR,iBAAO;CACR,CAAA"}
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../extensions/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,iDAA6C;AAC7C,mCAA+B;AAC/B,2CAAuC;AACvC,yCAAqC;AACrC,mDAA+C;AAC/C,6CAAyC;AACzC,yCAAqC;AACrC,+CAA2C;AAC3C,6CAAyC;AACzC,yCAAqC;AACrC,+CAA2C;AAC3C,uCAAmC;AACnC,iDAA6C;AAC7C,uDAAkD;AAClD,yCAAqC;AACrC,yCAAqC;AACrC,+CAA0C;AAC1C,iEAA6D;AAC7D,uCAAmC;AACnC,yCAAqC;AACrC,2CAAuC;AACvC,uCAAmC;AACnC,iCAAsC;AACtC,uCAAmC;AACnC,+CAA2C;AAC3C,2CAAuC;AACvC,+CAA2C;AAC3C,iCAA6B;AAC7B,yCAAqC;AACrC,6DAA+C;AAC/C,iCAA6B;AAC7B,qCAAiC;AACjC,yCAAqC;AACrC,yCAAqC;AACrC,2CAAuC;AACvC,qCAAiC;AACjC,uCAAmC;AACnC,yCAAqC;AACrC,uCAAmC;AAEnC,sDAAuC;AAG1B,QAAA,QAAQ,GAAa,IAAI,CAAA;AAEzB,QAAA,UAAU,GAAG;IACxB,2BAAY;IACZ,aAAK;IACL,qBAAS;IACT,mBAAQ;IACR,6BAAa;IACb,uBAAU;IACV,mBAAQ;IACR,yBAAW;IACX,uBAAU;IACV,mBAAQ;IACR,yBAAW;IACX,iBAAO;IACP,2BAAY;IACZ,gCAAc;IACd,mBAAQ;IACR,mBAAQ;IACR,wBAAU;IACV,2CAAoB;IACpB,iBAAO;IACP,mBAAQ;IACR,qBAAS;IACT,iBAAO;IACP,oBAAa;IACb,yBAAW;IACX,iBAAO;IACP,qBAAS;IACT,yBAAW;IACX,WAAI;IACJ,mBAAQ;IACR,6BAAQ;IACR,WAAI;IACJ,eAAM;IACN,mBAAQ;IACR,mBAAQ;IACR,qBAAS;IACT,eAAM;IACN,iBAAO;IACP,mBAAQ;IACR,iBAAO;CACR,CAAA"}
|
@@ -67,6 +67,10 @@
|
|
67
67
|
"readme": "---\ntitle: Hello world\ndescription: This is an example extension.\n---\n# Hello world extension",
|
68
68
|
"changelog": "# Hello world changelog"
|
69
69
|
},
|
70
|
+
"identityVerification": {
|
71
|
+
"readme": "---\ntitle: Identity verification\ndescription: Verify the identity of the patient by asking their date of birth\n---\n\n## Identity verification\n\nVerify the patient's identity by asking for a piece of personal information, such as their date of birth. If the information provided by the user does not match the details stored in the patient's profile, the user will not be allowed to proceed to the activity inside the Hosted Pages app.",
|
72
|
+
"changelog": "# Identity verification changelog"
|
73
|
+
},
|
70
74
|
"infobip": {
|
71
75
|
"readme": "---\ntitle: Infobip\ndescription: Infobip is a global cloud communications platform that provides a wide range of communication and customer engagement solutions for businesses.\n---\n\n# Infobip\n\nInfobip is a global cloud communications platform that provides a wide range of communication and customer engagement solutions for businesses. The company offers a suite of services and tools designed to help organizations connect with their customers, clients, and partners through various communication channels, including SMS, email, voice, chat apps, and more.\n\n## Extension settings\n\nIn order to set up this extension, you will minimally need to provide:\n\n1. Your unique API [base URL](https://www.infobip.com/docs/essentials/base-url)\n2. An [API key](https://www.infobip.com/docs/essentials/api-authentication)\n\nWhen utilizing the Infobip extension for sending emails and text messages, you'll need a 'from email' address and a 'from phone number' respectively.\n\n## Actions\n\n### Send SMS\n\nSend a text message to a recipient.\n\n### Send email\n\nSends a simple email to a recipient.\n\n### Send email with template\n\nSend an email, using a template, to a recipient. You need to create a [Broadcast email template](https://www.infobip.com/docs/email/templates) as that is the only type of template supported by Infobip's API. Templates can be created and managed via the Infobip web portal.\n\nWhen using this action, the from/sender details and subject as specified in the template will be used. However, you can specify a subject if you would like to overwrite the subject specified in the template.\n\nWithin your template, you can harness placeholders using Infobip's `{{` syntax. This feature allows you to craft templates with both static and dynamic content. You can determine the dynamic content's value when configuring the action in Awell Studio. For instance, if your template includes two placeholders, `{{variable_1}}` and `{{variable_2}}`, you can provide the following data in the placeholders action field to set values for these placeholders:\n\n```json\n{\n \"variable_1\": \"Hello\",\n \"variable_2\": \"World\"\n}\n```\n",
|
72
76
|
"changelog": "# Infobip changelog\n"
|