@meniga/insights-factory-bank-admin 1.18.0-alpha.4 → 1.18.0

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.
Files changed (2) hide show
  1. package/index.ts +8 -0
  2. package/package.json +1 -1
package/index.ts CHANGED
@@ -5,6 +5,7 @@ export type InsightDefinitionStatus = "Active" | "Inactive" | "Deleted" | "Draft
5
5
  export type InsightDefinitionTestCurrentStatus = "Completed" | "Cancelled" | "Planned" | "InProgress" | "Triggered" | "Failed" | "Invalidated" | "Deleted";
6
6
  export type InsightDefinitionTestStatus = "Active" | "Completed" | "Cancelled" | "Triggered" | "Failed" | "Invalidated" | "Deleted";
7
7
  export type InsightDefinitionTestType = "EstimateReach" | "ChannelPreview";
8
+ export type CalendarIntervalUnit = "Day" | "Week" | "Month" | "Year";
8
9
  export type ChannelType = "Push" | "Pull";
9
10
  export type ClrValueType = "Numeric" | "String";
10
11
  export type ContentTemplateDispatcherTemplateType = "Text" | "Json";
@@ -176,6 +177,7 @@ export interface InsightDefinitionContentTemplate
176
177
  validityPeriod?: number;
177
178
  validityPeriodUnit?: ExpirationDateTimeIntervalUnit;
178
179
  maximumExpirationDate?: string;
180
+ sendOncePerIntervalUnit?: CalendarIntervalUnit;
179
181
  }
180
182
  export interface TriggeringEvent
181
183
  {
@@ -1166,6 +1168,8 @@ export interface CreateInsightDefinitionContentTemplateRequest
1166
1168
  * many times an event matches the criteria.
1167
1169
  */
1168
1170
  sendOnce: boolean;
1171
+ /** Limits message delivery to once per calendar interval (day, week, month, etc.). Null means one-time only. */
1172
+ sendOncePerIntervalUnit?: CalendarIntervalUnit;
1169
1173
  /** The minimal time interval quantity. If specified, an insight message will be sent only once per specified time interval, regardless of the number of triggering events. */
1170
1174
  minimalTimeInterval?: number;
1171
1175
  /** The minimal time interval unit. */
@@ -1239,6 +1243,8 @@ export interface CurrentInsightDefinitionContentTemplateReadModel
1239
1243
  * many times an event matches the criteria.
1240
1244
  */
1241
1245
  sendOnce: boolean;
1246
+ /** Limits message delivery to once per calendar interval (day, week, month, etc.). Null means one-time only. */
1247
+ sendOncePerIntervalUnit?: CalendarIntervalUnit;
1242
1248
  /** The minimal time interval quantity. If specified, an insight message will be sent only once per specified time interval, regardless of the number of triggering events. */
1243
1249
  minimalTimeInterval?: number;
1244
1250
  /** The minimal time interval unit */
@@ -1508,6 +1514,8 @@ export interface UpdateInsightDefinitionContentTemplateRequest
1508
1514
  * many times an event matches the criteria.
1509
1515
  */
1510
1516
  sendOnce: boolean;
1517
+ /** Limits message delivery to once per calendar interval (day, week, month, etc.). Null means one-time only. */
1518
+ sendOncePerIntervalUnit?: CalendarIntervalUnit;
1511
1519
  /** The minimal time interval quantity. If specified, an insight message will be sent only once per specified time interval, regardless of the number of triggering events. */
1512
1520
  minimalTimeInterval?: number;
1513
1521
  /** The minimal time interval unit. */
package/package.json CHANGED
@@ -1 +1 @@
1
- {"name": "@meniga/insights-factory-bank-admin","version": "1.18.0-alpha.4","main": "index.ts","scripts": {},"license": "ISC"}
1
+ {"name": "@meniga/insights-factory-bank-admin","version": "1.18.0","main": "index.ts","scripts": {},"license": "ISC"}