@etainabl/nodejs-sdk 1.3.181 → 1.3.186
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/dist/esm/index.js +314 -112
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.cts +162 -82
- package/dist/index.d.ts +162 -82
- package/dist/index.js +327 -126
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -487,13 +487,14 @@ interface CustomAlertTrigger<ID = string, DateType = Date | string, metadataType
|
|
|
487
487
|
email: boolean;
|
|
488
488
|
sms: boolean;
|
|
489
489
|
};
|
|
490
|
-
severity: 'error' | 'warning' | 'info' | 'success'
|
|
490
|
+
severity: 'error' | 'warning' | 'info' | 'success';
|
|
491
491
|
audience?: 'me' | 'allCompanyUsers' | 'userGroup';
|
|
492
492
|
userGroupId?: ID;
|
|
493
493
|
processedAt?: DateType;
|
|
494
494
|
lastTriggeredEvent?: DateType;
|
|
495
495
|
companyId: ID;
|
|
496
496
|
userSub: string;
|
|
497
|
+
recipientUserSubs?: string[];
|
|
497
498
|
active: boolean;
|
|
498
499
|
createdAt?: DateType;
|
|
499
500
|
updatedAt?: DateType;
|
|
@@ -795,10 +796,11 @@ interface AutomationRunSummary {
|
|
|
795
796
|
interface AutomationRun<IDType = ObjectId | string, DateType = Date | string> {
|
|
796
797
|
_id: IDType;
|
|
797
798
|
automationId: IDType;
|
|
799
|
+
jobId?: IDType;
|
|
798
800
|
companyId: IDType;
|
|
799
801
|
active: boolean;
|
|
800
802
|
category: 'account' | 'company';
|
|
801
|
-
status: 'running' | 'success' | '
|
|
803
|
+
status: 'running' | 'success' | 'error' | 'warning';
|
|
802
804
|
collectionType?: CollectionType;
|
|
803
805
|
source?: SourceMetadata;
|
|
804
806
|
summary?: AutomationRunSummary;
|
|
@@ -1374,7 +1376,7 @@ interface Notification<ID = string, DateType = Date | string> {
|
|
|
1374
1376
|
isAcknowledged?: boolean;
|
|
1375
1377
|
acknowledgedAt?: DateType;
|
|
1376
1378
|
customAlertTriggerId?: ID;
|
|
1377
|
-
|
|
1379
|
+
details?: Record<string, any>;
|
|
1378
1380
|
route?: {
|
|
1379
1381
|
name: string;
|
|
1380
1382
|
params?: Record<string, any>;
|
|
@@ -1397,6 +1399,7 @@ interface Notification<ID = string, DateType = Date | string> {
|
|
|
1397
1399
|
messageId?: string;
|
|
1398
1400
|
};
|
|
1399
1401
|
};
|
|
1402
|
+
idempotencyKey?: string;
|
|
1400
1403
|
createdAt?: DateType;
|
|
1401
1404
|
updatedAt?: DateType;
|
|
1402
1405
|
deleted?: boolean;
|
|
@@ -1405,24 +1408,16 @@ interface Notification<ID = string, DateType = Date | string> {
|
|
|
1405
1408
|
companyId?: ID;
|
|
1406
1409
|
}
|
|
1407
1410
|
|
|
1408
|
-
declare const NotificationTemplateCategories: readonly ["automation", "report", "team", "dataQuality", "discussion", "scraper"];
|
|
1409
|
-
type NotificationTemplateCategory = typeof NotificationTemplateCategories[number];
|
|
1410
1411
|
declare const EventNamesByCategory: {
|
|
1411
|
-
readonly automation: readonly ["automationFailed", "
|
|
1412
|
+
readonly automation: readonly ["automationFailed", "automationCompleted", "automationOverdue", "automationExtractorOverdue"];
|
|
1412
1413
|
readonly report: readonly ["reportSuccess", "reportFailed"];
|
|
1413
1414
|
readonly team: readonly ["newUserSignIn"];
|
|
1414
|
-
readonly dataQuality: readonly ["
|
|
1415
|
-
readonly discussion: readonly ["
|
|
1416
|
-
readonly scraper: readonly ["scraperLoginError", "
|
|
1415
|
+
readonly dataQuality: readonly ["invoiceOverdue", "contractOverdue", "contractDueSoon", "readingOverdue", "readingDueSoon"];
|
|
1416
|
+
readonly discussion: readonly ["newDiscussionReply", "userAssignedToDiscussion", "discussionMessageDue"];
|
|
1417
|
+
readonly scraper: readonly ["scraperLoginError", "scraperHasNotRun", "scraperRunCompleted"];
|
|
1417
1418
|
};
|
|
1418
|
-
type
|
|
1419
|
-
type
|
|
1420
|
-
type TeamEventName = typeof EventNamesByCategory.team[number];
|
|
1421
|
-
type DataQualityEventName = typeof EventNamesByCategory.dataQuality[number];
|
|
1422
|
-
type DiscussionEventName = typeof EventNamesByCategory.discussion[number];
|
|
1423
|
-
type ScraperEventName = typeof EventNamesByCategory.scraper[number];
|
|
1424
|
-
type NotificationEventName = AutomationEventName | ReportEventName | TeamEventName | DataQualityEventName | DiscussionEventName | ScraperEventName;
|
|
1425
|
-
type NotificationTemplateSeverity = 'error' | 'warning' | 'info' | 'success' | 'tip';
|
|
1419
|
+
type NotificationEventName = (typeof EventNamesByCategory)[keyof typeof EventNamesByCategory][number] | 'alertTrigger';
|
|
1420
|
+
type NotificationTemplateSeverity = 'error' | 'warning' | 'info' | 'success';
|
|
1426
1421
|
type NotificationTemplateDefaultChannel = 'off' | 'inApp' | 'email' | 'sms';
|
|
1427
1422
|
type NotificationTemplateConfigType = 'text' | 'number' | 'password' | 'textarea' | 'radio' | 'select' | 'select2' | 'select-old' | 'select-multiple' | 'select-array' | 'select-array-list' | 'select-array-search' | 'multi-check-options' | 'tag-manager' | 'datePicker' | 'dateTimePicker' | 'dateRangePicker' | 'file' | 'slider';
|
|
1428
1423
|
interface NotificationTemplateConfigOption {
|
|
@@ -1445,16 +1440,18 @@ interface NotificationTemplate<ID = string, DateType = Date | string> {
|
|
|
1445
1440
|
_id: ID;
|
|
1446
1441
|
name: string;
|
|
1447
1442
|
description?: string;
|
|
1448
|
-
|
|
1443
|
+
triggerDescription?: string;
|
|
1444
|
+
category: NotificationCategory;
|
|
1449
1445
|
eventName: NotificationEventName;
|
|
1450
1446
|
severity: NotificationTemplateSeverity;
|
|
1451
1447
|
isSystem?: boolean;
|
|
1452
1448
|
default: NotificationTemplateDefaultChannel;
|
|
1453
|
-
|
|
1454
|
-
|
|
1449
|
+
messageTemplate?: string;
|
|
1450
|
+
routeTemplate?: NotificationTemplateRoute;
|
|
1455
1451
|
icon?: string;
|
|
1456
1452
|
config?: Map<string, NotificationTemplateConfig> | Record<string, NotificationTemplateConfig>;
|
|
1457
1453
|
active: boolean;
|
|
1454
|
+
enabledByDefault?: boolean;
|
|
1458
1455
|
createdAt?: DateType;
|
|
1459
1456
|
updatedAt?: DateType;
|
|
1460
1457
|
}
|
|
@@ -1472,53 +1469,86 @@ type NotificationContextMap = {
|
|
|
1472
1469
|
_id: string;
|
|
1473
1470
|
};
|
|
1474
1471
|
};
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
id: string;
|
|
1485
|
-
};
|
|
1472
|
+
alertTrigger: {
|
|
1473
|
+
summary: string;
|
|
1474
|
+
metadata: {
|
|
1475
|
+
items: {
|
|
1476
|
+
message: string;
|
|
1477
|
+
route: {
|
|
1478
|
+
name: string;
|
|
1479
|
+
query?: {
|
|
1480
|
+
[key: string]: any;
|
|
1486
1481
|
};
|
|
1487
|
-
|
|
1488
|
-
|
|
1482
|
+
params?: {
|
|
1483
|
+
[key: string]: any;
|
|
1484
|
+
};
|
|
1485
|
+
};
|
|
1486
|
+
}[];
|
|
1489
1487
|
};
|
|
1490
1488
|
};
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1489
|
+
newDiscussionReply: {
|
|
1490
|
+
message: {
|
|
1491
|
+
_id: string;
|
|
1492
|
+
title: string;
|
|
1493
|
+
parentType: string;
|
|
1494
|
+
parentId: string;
|
|
1495
|
+
};
|
|
1496
|
+
reply: {
|
|
1497
|
+
content: string;
|
|
1498
|
+
userSub: string;
|
|
1499
|
+
};
|
|
1500
|
+
actionUserSub: string;
|
|
1501
|
+
};
|
|
1502
|
+
userAssignedToDiscussion: {
|
|
1503
|
+
message: {
|
|
1504
|
+
_id: string;
|
|
1505
|
+
title: string;
|
|
1506
|
+
parentType: string;
|
|
1507
|
+
parentId: string;
|
|
1505
1508
|
};
|
|
1509
|
+
assignedBy: string;
|
|
1510
|
+
};
|
|
1511
|
+
discussionMessageDue: {
|
|
1512
|
+
message: {
|
|
1513
|
+
_id: string;
|
|
1514
|
+
title: string;
|
|
1515
|
+
parentType: string;
|
|
1516
|
+
parentId: string;
|
|
1517
|
+
dueDate: string;
|
|
1518
|
+
};
|
|
1519
|
+
scheduledBy: string;
|
|
1520
|
+
};
|
|
1521
|
+
newUserSignIn: {
|
|
1522
|
+
user: {
|
|
1523
|
+
_id: string;
|
|
1524
|
+
name: string;
|
|
1525
|
+
email: string;
|
|
1526
|
+
userSub: string;
|
|
1527
|
+
};
|
|
1528
|
+
company: {
|
|
1529
|
+
_id: string;
|
|
1530
|
+
name: string;
|
|
1531
|
+
};
|
|
1532
|
+
loginTime: string;
|
|
1506
1533
|
};
|
|
1507
1534
|
};
|
|
1508
|
-
type
|
|
1509
|
-
|
|
1535
|
+
type NotificationContext = NotificationContextMap[keyof NotificationContextMap];
|
|
1536
|
+
type NotificationContextEventName = keyof NotificationContextMap;
|
|
1537
|
+
interface NotificationSQSMessage<E extends NotificationContextEventName = NotificationContextEventName> {
|
|
1510
1538
|
eventName: E;
|
|
1511
1539
|
timestamp: string;
|
|
1512
1540
|
companyId: string;
|
|
1513
1541
|
userSub: string;
|
|
1514
1542
|
alertTriggerId?: string;
|
|
1543
|
+
notificationTemplateId?: string;
|
|
1515
1544
|
context: NotificationContextMap[E];
|
|
1516
1545
|
}
|
|
1517
|
-
interface SendNotificationMessageInput
|
|
1546
|
+
interface SendNotificationMessageInput {
|
|
1518
1547
|
companyId: string;
|
|
1519
1548
|
userSub: string;
|
|
1520
1549
|
alertTriggerId?: string;
|
|
1521
1550
|
timestamp?: string;
|
|
1551
|
+
notificationTemplateId?: string;
|
|
1522
1552
|
}
|
|
1523
1553
|
|
|
1524
1554
|
interface Log<IDType = ObjectId | string> {
|
|
@@ -1703,14 +1733,13 @@ type NotificationChannels = {
|
|
|
1703
1733
|
sms: boolean;
|
|
1704
1734
|
};
|
|
1705
1735
|
type NotificationTemplatesMap = Record<string, boolean>;
|
|
1706
|
-
type NotificationCategoryKey = (typeof NotificationCategoryList)[number];
|
|
1707
1736
|
type NotificationCategoryPreferences<IDType = ObjectId | string> = {
|
|
1708
1737
|
channels: NotificationChannels;
|
|
1709
1738
|
templates: NotificationTemplatesMap;
|
|
1710
1739
|
};
|
|
1711
1740
|
type NotificationPreferences<IDType = ObjectId | string> = {
|
|
1712
1741
|
channels: NotificationChannels;
|
|
1713
|
-
categories: Record<
|
|
1742
|
+
categories: Record<NotificationCategory, NotificationCategoryPreferences<IDType>>;
|
|
1714
1743
|
};
|
|
1715
1744
|
interface User<IDType = ObjectId | string> {
|
|
1716
1745
|
_id: IDType;
|
|
@@ -1783,24 +1812,6 @@ declare const _default$5: (auth: AuthOptions, instanceOptions?: CreateAxiosDefau
|
|
|
1783
1812
|
removeAccount: (id: string, options?: AxiosRequestConfig) => Promise<Account<string>>;
|
|
1784
1813
|
getAccountSchema: (options?: AxiosRequestConfig) => Promise<any>;
|
|
1785
1814
|
invalidateAccountCache: (id: string, data: any, options?: AxiosRequestConfig) => Promise<any>;
|
|
1786
|
-
getAlertTrigger: (id: string, options?: AxiosRequestConfig) => Promise<CustomAlertTrigger<string, string, {
|
|
1787
|
-
[key: string]: any;
|
|
1788
|
-
}>>;
|
|
1789
|
-
listAlertTriggers: <P = CustomAlertTrigger<string, string, {
|
|
1790
|
-
[key: string]: any;
|
|
1791
|
-
}>>(options?: AxiosRequestConfig) => Promise<ETNPagedResponse<P>>;
|
|
1792
|
-
updateAlertTrigger: (id: string, data: any, options?: AxiosRequestConfig) => Promise<CustomAlertTrigger<string, string | Date, {
|
|
1793
|
-
[key: string]: any;
|
|
1794
|
-
}>>;
|
|
1795
|
-
createAlertTrigger: (data: any, options?: AxiosRequestConfig) => Promise<CustomAlertTrigger<string, string | Date, {
|
|
1796
|
-
[key: string]: any;
|
|
1797
|
-
}>>;
|
|
1798
|
-
removeAlertTrigger: (id: string, options?: AxiosRequestConfig) => Promise<CustomAlertTrigger<string, string | Date, {
|
|
1799
|
-
[key: string]: any;
|
|
1800
|
-
}>>;
|
|
1801
|
-
bulkUpdateAlertTriggers: (data: BulkUpdateCustomAlertTriggersRequest, options?: AxiosRequestConfig) => Promise<ETNBulkUpdateResult>;
|
|
1802
|
-
retryAlertTrigger: (id: string, data: any, options?: AxiosRequestConfig) => Promise<any>;
|
|
1803
|
-
cancelAlertTrigger: (id: string, data: any, options?: AxiosRequestConfig) => Promise<any>;
|
|
1804
1815
|
getCustomAlertTrigger: (id: string, options?: AxiosRequestConfig) => Promise<CustomAlertTrigger<string, string, {
|
|
1805
1816
|
[key: string]: any;
|
|
1806
1817
|
}>>;
|
|
@@ -1982,6 +1993,9 @@ interface NotificationEmailOptions {
|
|
|
1982
1993
|
url?: string;
|
|
1983
1994
|
}>;
|
|
1984
1995
|
metadata?: Record<string, any>;
|
|
1996
|
+
items?: Array<{
|
|
1997
|
+
message: string;
|
|
1998
|
+
}>;
|
|
1985
1999
|
}
|
|
1986
2000
|
declare function generateNotificationEmail(options: NotificationEmailOptions): string;
|
|
1987
2001
|
declare const _default$3: {
|
|
@@ -2014,26 +2028,25 @@ interface SendNotificationMessageOptions {
|
|
|
2014
2028
|
queueUrl?: string;
|
|
2015
2029
|
sqsClient?: SQSClient;
|
|
2016
2030
|
}
|
|
2017
|
-
type
|
|
2018
|
-
declare function createNotificationMessage<T extends NotificationType>(eventName: T, context: NotificationContextMap[T], input: SendNotificationMessageInput<T>): NotificationSQSMessage<T>;
|
|
2019
|
-
type SendNotificationParams<T extends NotificationType> = {
|
|
2031
|
+
type SendNotificationParams<T extends NotificationContextEventName> = {
|
|
2020
2032
|
eventName: T;
|
|
2021
2033
|
context: NotificationContextMap[T];
|
|
2022
|
-
input: SendNotificationMessageInput
|
|
2034
|
+
input: SendNotificationMessageInput;
|
|
2023
2035
|
options?: SendNotificationMessageOptions;
|
|
2024
2036
|
};
|
|
2025
|
-
|
|
2026
|
-
messageId: string;
|
|
2027
|
-
}>;
|
|
2028
|
-
type SendNotificationBatchParams<T extends NotificationType> = {
|
|
2037
|
+
type SendNotificationBatchParams<T extends NotificationContextEventName> = {
|
|
2029
2038
|
messages: Array<{
|
|
2030
2039
|
eventName: T;
|
|
2031
2040
|
context: NotificationContextMap[T];
|
|
2032
|
-
input: SendNotificationMessageInput
|
|
2041
|
+
input: SendNotificationMessageInput;
|
|
2033
2042
|
}>;
|
|
2034
2043
|
options?: SendNotificationMessageOptions;
|
|
2035
2044
|
};
|
|
2036
|
-
declare function
|
|
2045
|
+
declare function createNotificationMessage<T extends NotificationContextEventName>(eventName: T, context: NotificationContextMap[T], input: SendNotificationMessageInput): NotificationSQSMessage<T>;
|
|
2046
|
+
declare function sendNotificationMessage<T extends NotificationContextEventName>({ eventName, context, input, options }: SendNotificationParams<T>): Promise<{
|
|
2047
|
+
messageId: string;
|
|
2048
|
+
}>;
|
|
2049
|
+
declare function sendNotificationMessageBatch<T extends NotificationContextEventName>({ messages, options }: SendNotificationBatchParams<T>): Promise<{
|
|
2037
2050
|
messageIds: string[];
|
|
2038
2051
|
}>;
|
|
2039
2052
|
|
|
@@ -2086,6 +2099,14 @@ declare const automationServices: {
|
|
|
2086
2099
|
category: AutomationServiceCategory;
|
|
2087
2100
|
}[];
|
|
2088
2101
|
|
|
2102
|
+
declare function updateBatchJobStatus({ etnApi, automationRun, accountKey, status, errorMessage }: {
|
|
2103
|
+
etnApi: ReturnType<typeof _default$5>;
|
|
2104
|
+
automationRun: AutomationRun<string>;
|
|
2105
|
+
accountKey?: string;
|
|
2106
|
+
status: 'completed' | 'failed';
|
|
2107
|
+
errorMessage?: string;
|
|
2108
|
+
}): Promise<void>;
|
|
2109
|
+
|
|
2089
2110
|
interface StepFunctionEvent {
|
|
2090
2111
|
params: any;
|
|
2091
2112
|
input: {
|
|
@@ -2124,16 +2145,75 @@ declare class IngestHandler {
|
|
|
2124
2145
|
*/
|
|
2125
2146
|
declare function isTransientError(error: any): boolean;
|
|
2126
2147
|
|
|
2148
|
+
type PaginatedResponse<T> = {
|
|
2149
|
+
data: T[];
|
|
2150
|
+
};
|
|
2151
|
+
type FetchPage<T> = (params: {
|
|
2152
|
+
$limit: number;
|
|
2153
|
+
$skip: number;
|
|
2154
|
+
}) => Promise<PaginatedResponse<T>>;
|
|
2155
|
+
type PaginatedFetchOptions = {
|
|
2156
|
+
pageSize?: number;
|
|
2157
|
+
};
|
|
2158
|
+
declare const paginatedFetch: <T>(fetchPage: FetchPage<T>, options?: PaginatedFetchOptions) => Promise<T[]>;
|
|
2159
|
+
|
|
2160
|
+
type SqsMessageAttribute = {
|
|
2161
|
+
DataType: 'String' | 'Number' | 'Binary';
|
|
2162
|
+
StringValue?: string;
|
|
2163
|
+
BinaryValue?: Uint8Array;
|
|
2164
|
+
};
|
|
2165
|
+
type SqsBatchMessage<T> = {
|
|
2166
|
+
body: T;
|
|
2167
|
+
id?: string;
|
|
2168
|
+
attributes?: Record<string, SqsMessageAttribute>;
|
|
2169
|
+
};
|
|
2170
|
+
type SendToSqsBatchedOptions = {
|
|
2171
|
+
queueUrl: string;
|
|
2172
|
+
sqsClient?: SQSClient;
|
|
2173
|
+
concurrency?: number;
|
|
2174
|
+
batchSize?: number;
|
|
2175
|
+
};
|
|
2176
|
+
type SendToSqsBatchedResult = {
|
|
2177
|
+
successful: number;
|
|
2178
|
+
failed: number;
|
|
2179
|
+
};
|
|
2180
|
+
declare const sendToSqsBatched: <T>(messages: SqsBatchMessage<T>[], options: SendToSqsBatchedOptions) => Promise<SendToSqsBatchedResult>;
|
|
2181
|
+
|
|
2182
|
+
interface ResolvedNotificationPreferences {
|
|
2183
|
+
channels: NotificationChannels;
|
|
2184
|
+
categories: Record<string, {
|
|
2185
|
+
channels: NotificationChannels;
|
|
2186
|
+
templates: Array<{
|
|
2187
|
+
_id: string;
|
|
2188
|
+
name: string;
|
|
2189
|
+
enabled: boolean;
|
|
2190
|
+
}>;
|
|
2191
|
+
}>;
|
|
2192
|
+
}
|
|
2193
|
+
declare function resolveNotificationPreferences(userPreferences: NotificationPreferences, systemTemplates: (NotificationTemplate<ObjectId, Date> | NotificationTemplate<string, string>)[]): ResolvedNotificationPreferences;
|
|
2194
|
+
|
|
2195
|
+
type index$1_FetchPage<T> = FetchPage<T>;
|
|
2127
2196
|
type index$1_IngestHandler = IngestHandler;
|
|
2128
2197
|
declare const index$1_IngestHandler: typeof IngestHandler;
|
|
2198
|
+
type index$1_PaginatedFetchOptions = PaginatedFetchOptions;
|
|
2199
|
+
type index$1_PaginatedResponse<T> = PaginatedResponse<T>;
|
|
2200
|
+
type index$1_ResolvedNotificationPreferences = ResolvedNotificationPreferences;
|
|
2201
|
+
type index$1_SendToSqsBatchedOptions = SendToSqsBatchedOptions;
|
|
2202
|
+
type index$1_SendToSqsBatchedResult = SendToSqsBatchedResult;
|
|
2203
|
+
type index$1_SqsBatchMessage<T> = SqsBatchMessage<T>;
|
|
2204
|
+
type index$1_SqsMessageAttribute = SqsMessageAttribute;
|
|
2129
2205
|
declare const index$1_automationServices: typeof automationServices;
|
|
2130
2206
|
declare const index$1_automationSources: typeof automationSources;
|
|
2131
2207
|
declare const index$1_getMeterPointNumberBottomLine: typeof getMeterPointNumberBottomLine;
|
|
2132
2208
|
declare const index$1_isTransientError: typeof isTransientError;
|
|
2209
|
+
declare const index$1_paginatedFetch: typeof paginatedFetch;
|
|
2210
|
+
declare const index$1_resolveNotificationPreferences: typeof resolveNotificationPreferences;
|
|
2211
|
+
declare const index$1_sendToSqsBatched: typeof sendToSqsBatched;
|
|
2212
|
+
declare const index$1_updateBatchJobStatus: typeof updateBatchJobStatus;
|
|
2133
2213
|
declare const index$1_utilityTypes: typeof utilityTypes;
|
|
2134
2214
|
declare const index$1_wasteCategories: typeof wasteCategories;
|
|
2135
2215
|
declare namespace index$1 {
|
|
2136
|
-
export { index$1_IngestHandler as IngestHandler, index$1_automationServices as automationServices, index$1_automationSources as automationSources, index$1_getMeterPointNumberBottomLine as getMeterPointNumberBottomLine, index$1_isTransientError as isTransientError, units$1 as units, index$1_utilityTypes as utilityTypes, index$1_wasteCategories as wasteCategories };
|
|
2216
|
+
export { type index$1_FetchPage as FetchPage, index$1_IngestHandler as IngestHandler, type index$1_PaginatedFetchOptions as PaginatedFetchOptions, type index$1_PaginatedResponse as PaginatedResponse, type index$1_ResolvedNotificationPreferences as ResolvedNotificationPreferences, type index$1_SendToSqsBatchedOptions as SendToSqsBatchedOptions, type index$1_SendToSqsBatchedResult as SendToSqsBatchedResult, type index$1_SqsBatchMessage as SqsBatchMessage, type index$1_SqsMessageAttribute as SqsMessageAttribute, index$1_automationServices as automationServices, index$1_automationSources as automationSources, index$1_getMeterPointNumberBottomLine as getMeterPointNumberBottomLine, index$1_isTransientError as isTransientError, index$1_paginatedFetch as paginatedFetch, index$1_resolveNotificationPreferences as resolveNotificationPreferences, index$1_sendToSqsBatched as sendToSqsBatched, units$1 as units, index$1_updateBatchJobStatus as updateBatchJobStatus, index$1_utilityTypes as utilityTypes, index$1_wasteCategories as wasteCategories };
|
|
2137
2217
|
}
|
|
2138
2218
|
|
|
2139
2219
|
interface ETNModel {
|
|
@@ -2260,4 +2340,4 @@ declare namespace scrapers {
|
|
|
2260
2340
|
export type { scrapers_ETNAccount as ETNAccount };
|
|
2261
2341
|
}
|
|
2262
2342
|
|
|
2263
|
-
export { type AccessLevel, type Account, type AccountResult, type Action, type ActionType, type Asset, type Automation, type
|
|
2343
|
+
export { type AccessLevel, type Account, type AccountResult, type Action, type ActionType, type Asset, type Automation, type AutomationRun, type AutomationRunLog, type AutomationRunSummary, type AutomationService, type AutomationServiceCategory, type AutomationSource, type Company, type CompanyInvoiceValidationRule, type CompanyInvoiceValidationSettings, type Consumption, type CreateScraperRunParams, type CustomAlertTrigger, type CustomAlertTriggerQueueMessage, type DataIngest, type DefaultField, type DeliveryStatus, type ETNEvent, type ETNPagedResponse$1 as ETNPagedResponse, type Email, type Entity, EventNamesByCategory, type FileFormat, type ImportTemplate, type Invoice, type InvoiceCapture, type InvoiceCaptureMetadata, type InvoiceCaptureMetadataResult, type InvoiceRate, type InvoiceRateType, type InvoiceValidation, type InvoiceValidationInvoice, type InvoiceValidationResults, type InvoiceValidationRule, type InvoiceValues, type Job, type JobStatus, type Log, type Notification, type NotificationAction, type NotificationCategory, NotificationCategoryList, type NotificationCategoryPreferences, type NotificationChannels, type NotificationContext, type NotificationContextEventName, type NotificationContextMap, NotificationDefaultChannels, type NotificationEventName, type NotificationPreferences, type NotificationSQSMessage, type NotificationTemplate, type NotificationTemplateConfig, type NotificationTemplateConfigOption, type NotificationTemplateConfigType, type NotificationTemplateDefaultChannel, type NotificationTemplateRoute, type NotificationTemplateSeverity, type NotificationTemplatesMap, type Portal, type PortalSupplierSchema, type Problem, type ProblemCodes, type ProblemDetails, type Reading, type Report, type ReportMetadata, type ReportSource, type ReportSourceIdItem, type ReportTemplate, type ReportType, type ScraperRun, type SendNotificationMessageInput, type Setting, type SourceType, type Supplier, type User, type UtilityType, type WasteCategories, type WasteTypes, _default$5 as api, consumption, _default$1 as db, _default$4 as emailTemplate, integrations, _default$2 as logger, monitoring, notification, _default$3 as notificationEmailTemplate, notificationQueue, index as openai, reporting, scrapers, _default as slack, units, index$1 as utils };
|