@meniga/insights-factory-bank-admin 1.19.0-alpha.1 → 1.19.0-alpha.5
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/index.ts +24 -6
- package/package.json +1 -1
package/index.ts
CHANGED
|
@@ -1161,8 +1161,8 @@ export interface CreateInsightDefinitionContentTemplateRequest
|
|
|
1161
1161
|
channelId: string;
|
|
1162
1162
|
/** Content Template Identifier */
|
|
1163
1163
|
contentTemplateId: number;
|
|
1164
|
-
/** JSON containing data model presented on Insight Factory UI. It consists of fields' values and dynamic content. For detailed information please visit Dynamic Content rendering specification. Link can be found in the Swagger API description */
|
|
1165
|
-
dataUi
|
|
1164
|
+
/** JSON containing data model presented on Insight Factory UI. It consists of fields' values and dynamic content. For detailed information please visit Dynamic Content rendering specification. Link can be found in the Swagger API description. Use in single variant mode. */
|
|
1165
|
+
dataUi?: string;
|
|
1166
1166
|
/**
|
|
1167
1167
|
* If true, insight message created by this definition will be send to user only once via given channel, no matter how
|
|
1168
1168
|
* many times an event matches the criteria.
|
|
@@ -1176,6 +1176,8 @@ export interface CreateInsightDefinitionContentTemplateRequest
|
|
|
1176
1176
|
minimalTimeIntervalUnit?: TimeIntervalUnit;
|
|
1177
1177
|
/** Message Expiration Policy. Defines the rules for how and when a message generated by the associated channel will expire and no longer be available to the user. */
|
|
1178
1178
|
messageExpirationPolicy?: FixedMessageExpirationPolicyModel | RelativeMessageExpirationPolicyModel | FromFirstMessageExpirationPolicyModel;
|
|
1179
|
+
/** Variants of content template. Use in multi variant mode. */
|
|
1180
|
+
contentVariants?: InsightDefinitionContentVariantModel[];
|
|
1179
1181
|
}
|
|
1180
1182
|
/**
|
|
1181
1183
|
* Represents the schedule of insight definition being created. Scheduled definition could be either one-off or recurring event.
|
|
@@ -1236,8 +1238,8 @@ export interface CurrentInsightDefinitionContentTemplateReadModel
|
|
|
1236
1238
|
channelId: string;
|
|
1237
1239
|
/** Content Template Identifier */
|
|
1238
1240
|
contentTemplateId: number;
|
|
1239
|
-
/** JSON containing Dynamic or static content provided by the Bank Admin. For detailed information please visit Dynamic Content rendering specification. Link can be found in the Swagger API description */
|
|
1240
|
-
dataUi
|
|
1241
|
+
/** JSON containing Dynamic or static content provided by the Bank Admin. For detailed information please visit Dynamic Content rendering specification. Link can be found in the Swagger API description. Used in single variant mode. */
|
|
1242
|
+
dataUi?: string;
|
|
1241
1243
|
/**
|
|
1242
1244
|
* If true, insight message created by this definition will be send to user only once via given channel, no matter how
|
|
1243
1245
|
* many times an event matches the criteria.
|
|
@@ -1251,6 +1253,8 @@ export interface CurrentInsightDefinitionContentTemplateReadModel
|
|
|
1251
1253
|
minimalTimeIntervalUnit?: TimeIntervalUnit;
|
|
1252
1254
|
/** Message Expiration Policy. Defines the rules for how and when a message generated by the associated channel will expire and no longer be available to the user. */
|
|
1253
1255
|
messageExpirationPolicy?: FixedMessageExpirationPolicyModel | RelativeMessageExpirationPolicyModel | FromFirstMessageExpirationPolicyModel;
|
|
1256
|
+
/** Variants of content template. Used in multi variant mode. */
|
|
1257
|
+
contentVariants?: InsightDefinitionContentVariantModel[];
|
|
1254
1258
|
}
|
|
1255
1259
|
export interface CurrentInsightDefinitionReadModel
|
|
1256
1260
|
{
|
|
@@ -1416,6 +1420,18 @@ export interface InsightDefinitionAttributeIdNameReadModel
|
|
|
1416
1420
|
*/
|
|
1417
1421
|
name: string;
|
|
1418
1422
|
}
|
|
1423
|
+
/** Represents content variant in multiple variants mode */
|
|
1424
|
+
export interface InsightDefinitionContentVariantModel
|
|
1425
|
+
{
|
|
1426
|
+
/** Variant name */
|
|
1427
|
+
name: string;
|
|
1428
|
+
/** Indicates if shared rules should be met */
|
|
1429
|
+
sharedRulesMet: boolean;
|
|
1430
|
+
/** UI representation of variant condition */
|
|
1431
|
+
conditionUI: string;
|
|
1432
|
+
/** JSON containing data model for this variant */
|
|
1433
|
+
dataUI: string;
|
|
1434
|
+
}
|
|
1419
1435
|
/** Represents possible values of insight definition attributes */
|
|
1420
1436
|
export interface InsightsDefinitionAttributesReadModel
|
|
1421
1437
|
{
|
|
@@ -1507,8 +1523,8 @@ export interface UpdateInsightDefinitionContentTemplateRequest
|
|
|
1507
1523
|
channelId: string;
|
|
1508
1524
|
/** Content Template Identifier */
|
|
1509
1525
|
contentTemplateId: number;
|
|
1510
|
-
/** JSON containing Dynamic or static content provided by the Bank Admin. For detailed information please visit Dynamic Content rendering specification. Link can be found in the Swagger API description */
|
|
1511
|
-
dataUi
|
|
1526
|
+
/** JSON containing Dynamic or static content provided by the Bank Admin. For detailed information please visit Dynamic Content rendering specification. Link can be found in the Swagger API description. Use in single variant mode. */
|
|
1527
|
+
dataUi?: string;
|
|
1512
1528
|
/**
|
|
1513
1529
|
* If true, insight message created by this definition will be send to user only once via given channel, no matter how
|
|
1514
1530
|
* many times an event matches the criteria.
|
|
@@ -1522,6 +1538,8 @@ export interface UpdateInsightDefinitionContentTemplateRequest
|
|
|
1522
1538
|
minimalTimeIntervalUnit?: TimeIntervalUnit;
|
|
1523
1539
|
/** Message Expiration Policy. Defines the rules for how and when a message generated by the associated channel will expire and no longer be available to the user. */
|
|
1524
1540
|
messageExpirationPolicy?: FixedMessageExpirationPolicyModel | RelativeMessageExpirationPolicyModel | FromFirstMessageExpirationPolicyModel;
|
|
1541
|
+
/** Variants of content template. Use in multi variant mode. */
|
|
1542
|
+
contentVariants?: InsightDefinitionContentVariantModel[];
|
|
1525
1543
|
}
|
|
1526
1544
|
/**
|
|
1527
1545
|
* Represents the schedule of insight definition being updated. Scheduled definition could be either one-off or recurring event.
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name": "@meniga/insights-factory-bank-admin","version": "1.19.0-alpha.
|
|
1
|
+
{"name": "@meniga/insights-factory-bank-admin","version": "1.19.0-alpha.5","main": "index.ts","scripts": {},"license": "ISC"}
|