@etainabl/nodejs-sdk 1.3.181 → 1.3.184
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 +240 -97
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.cts +177 -104
- package/dist/index.d.ts +177 -104
- package/dist/index.js +253 -111
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
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,118 @@ interface Notification<ID = string, DateType = Date | string> {
|
|
|
1405
1408
|
companyId?: ID;
|
|
1406
1409
|
}
|
|
1407
1410
|
|
|
1411
|
+
type NotificationContextMap = {
|
|
1412
|
+
reportSuccess: {
|
|
1413
|
+
report: {
|
|
1414
|
+
fileName: string;
|
|
1415
|
+
_id: string;
|
|
1416
|
+
};
|
|
1417
|
+
};
|
|
1418
|
+
reportFailed: {
|
|
1419
|
+
report: {
|
|
1420
|
+
fileName: string;
|
|
1421
|
+
_id: string;
|
|
1422
|
+
};
|
|
1423
|
+
};
|
|
1424
|
+
alertTrigger: {
|
|
1425
|
+
summary: string;
|
|
1426
|
+
metadata: {
|
|
1427
|
+
items: {
|
|
1428
|
+
message: string;
|
|
1429
|
+
route: {
|
|
1430
|
+
name: string;
|
|
1431
|
+
query?: {
|
|
1432
|
+
[key: string]: any;
|
|
1433
|
+
};
|
|
1434
|
+
params?: {
|
|
1435
|
+
[key: string]: any;
|
|
1436
|
+
};
|
|
1437
|
+
};
|
|
1438
|
+
}[];
|
|
1439
|
+
};
|
|
1440
|
+
};
|
|
1441
|
+
newDiscussionReply: {
|
|
1442
|
+
message: {
|
|
1443
|
+
_id: string;
|
|
1444
|
+
title: string;
|
|
1445
|
+
parentType: string;
|
|
1446
|
+
parentId: string;
|
|
1447
|
+
};
|
|
1448
|
+
reply: {
|
|
1449
|
+
content: string;
|
|
1450
|
+
userSub: string;
|
|
1451
|
+
};
|
|
1452
|
+
actionUserSub: string;
|
|
1453
|
+
};
|
|
1454
|
+
userAssignedToDiscussion: {
|
|
1455
|
+
message: {
|
|
1456
|
+
_id: string;
|
|
1457
|
+
title: string;
|
|
1458
|
+
parentType: string;
|
|
1459
|
+
parentId: string;
|
|
1460
|
+
};
|
|
1461
|
+
assignedBy: string;
|
|
1462
|
+
};
|
|
1463
|
+
discussionMessageDue: {
|
|
1464
|
+
message: {
|
|
1465
|
+
_id: string;
|
|
1466
|
+
title: string;
|
|
1467
|
+
parentType: string;
|
|
1468
|
+
parentId: string;
|
|
1469
|
+
dueDate: string;
|
|
1470
|
+
};
|
|
1471
|
+
scheduledBy: string;
|
|
1472
|
+
};
|
|
1473
|
+
newUserSignIn: {
|
|
1474
|
+
user: {
|
|
1475
|
+
_id: string;
|
|
1476
|
+
name: string;
|
|
1477
|
+
email: string;
|
|
1478
|
+
userSub: string;
|
|
1479
|
+
};
|
|
1480
|
+
company: {
|
|
1481
|
+
_id: string;
|
|
1482
|
+
name: string;
|
|
1483
|
+
};
|
|
1484
|
+
loginTime: string;
|
|
1485
|
+
};
|
|
1486
|
+
};
|
|
1487
|
+
type NotificationEventType = keyof NotificationContextMap;
|
|
1488
|
+
interface NotificationSQSMessage<E extends NotificationEventType = NotificationEventType> {
|
|
1489
|
+
eventName: E;
|
|
1490
|
+
timestamp: string;
|
|
1491
|
+
companyId: string;
|
|
1492
|
+
userSub: string;
|
|
1493
|
+
alertTriggerId?: string;
|
|
1494
|
+
notificationTemplateId?: string;
|
|
1495
|
+
context: NotificationContextMap[E];
|
|
1496
|
+
}
|
|
1497
|
+
interface SendNotificationMessageInput<E extends NotificationEventType> {
|
|
1498
|
+
companyId: string;
|
|
1499
|
+
userSub: string;
|
|
1500
|
+
alertTriggerId?: string;
|
|
1501
|
+
timestamp?: string;
|
|
1502
|
+
notificationTemplateId?: string;
|
|
1503
|
+
}
|
|
1504
|
+
|
|
1408
1505
|
declare const NotificationTemplateCategories: readonly ["automation", "report", "team", "dataQuality", "discussion", "scraper"];
|
|
1409
|
-
type NotificationTemplateCategory = typeof NotificationTemplateCategories[number];
|
|
1506
|
+
type NotificationTemplateCategory = (typeof NotificationTemplateCategories)[number];
|
|
1410
1507
|
declare const EventNamesByCategory: {
|
|
1411
|
-
readonly automation: readonly ["automationFailed", "
|
|
1508
|
+
readonly automation: readonly ["automationFailed", "automationCompleted", "automationOverdue", "automationExtractorOverdue"];
|
|
1412
1509
|
readonly report: readonly ["reportSuccess", "reportFailed"];
|
|
1413
1510
|
readonly team: readonly ["newUserSignIn"];
|
|
1414
|
-
readonly dataQuality: readonly ["
|
|
1415
|
-
readonly discussion: readonly ["
|
|
1416
|
-
readonly scraper: readonly ["scraperLoginError", "
|
|
1511
|
+
readonly dataQuality: readonly ["invoiceOverdue", "contractOverdue", "contractDueSoon", "readingOverdue", "readingDueSoon"];
|
|
1512
|
+
readonly discussion: readonly ["newDiscussionReply", "userAssignedToDiscussion", "discussionMessageDue"];
|
|
1513
|
+
readonly scraper: readonly ["scraperLoginError", "scraperHasNotRun", "scraperRunCompleted"];
|
|
1417
1514
|
};
|
|
1418
|
-
type AutomationEventName = typeof EventNamesByCategory.automation[number];
|
|
1419
|
-
type ReportEventName = typeof EventNamesByCategory.report[number];
|
|
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 =
|
|
1425
|
-
type NotificationTemplateSeverity = 'error' | 'warning' | 'info' | 'success'
|
|
1515
|
+
type AutomationEventName = (typeof EventNamesByCategory.automation)[number];
|
|
1516
|
+
type ReportEventName = (typeof EventNamesByCategory.report)[number];
|
|
1517
|
+
type TeamEventName = (typeof EventNamesByCategory.team)[number];
|
|
1518
|
+
type DataQualityEventName = (typeof EventNamesByCategory.dataQuality)[number];
|
|
1519
|
+
type DiscussionEventName = (typeof EventNamesByCategory.discussion)[number];
|
|
1520
|
+
type ScraperEventName = (typeof EventNamesByCategory.scraper)[number];
|
|
1521
|
+
type NotificationEventName = NotificationEventType;
|
|
1522
|
+
type NotificationTemplateSeverity = 'error' | 'warning' | 'info' | 'success';
|
|
1426
1523
|
type NotificationTemplateDefaultChannel = 'off' | 'inApp' | 'email' | 'sms';
|
|
1427
1524
|
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
1525
|
interface NotificationTemplateConfigOption {
|
|
@@ -1445,13 +1542,14 @@ interface NotificationTemplate<ID = string, DateType = Date | string> {
|
|
|
1445
1542
|
_id: ID;
|
|
1446
1543
|
name: string;
|
|
1447
1544
|
description?: string;
|
|
1545
|
+
triggerDescription?: string;
|
|
1448
1546
|
category: NotificationTemplateCategory;
|
|
1449
1547
|
eventName: NotificationEventName;
|
|
1450
1548
|
severity: NotificationTemplateSeverity;
|
|
1451
1549
|
isSystem?: boolean;
|
|
1452
1550
|
default: NotificationTemplateDefaultChannel;
|
|
1453
|
-
|
|
1454
|
-
|
|
1551
|
+
messageTemplate?: string;
|
|
1552
|
+
routeTemplate?: NotificationTemplateRoute;
|
|
1455
1553
|
icon?: string;
|
|
1456
1554
|
config?: Map<string, NotificationTemplateConfig> | Record<string, NotificationTemplateConfig>;
|
|
1457
1555
|
active: boolean;
|
|
@@ -1459,68 +1557,6 @@ interface NotificationTemplate<ID = string, DateType = Date | string> {
|
|
|
1459
1557
|
updatedAt?: DateType;
|
|
1460
1558
|
}
|
|
1461
1559
|
|
|
1462
|
-
type NotificationContextMap = {
|
|
1463
|
-
reportSuccess: {
|
|
1464
|
-
report: {
|
|
1465
|
-
fileName: string;
|
|
1466
|
-
_id: string;
|
|
1467
|
-
};
|
|
1468
|
-
};
|
|
1469
|
-
reportFailed: {
|
|
1470
|
-
report: {
|
|
1471
|
-
fileName: string;
|
|
1472
|
-
_id: string;
|
|
1473
|
-
};
|
|
1474
|
-
};
|
|
1475
|
-
automationFailed: {
|
|
1476
|
-
context: {
|
|
1477
|
-
message: string;
|
|
1478
|
-
metadata: {
|
|
1479
|
-
items: {
|
|
1480
|
-
message: string;
|
|
1481
|
-
route: {
|
|
1482
|
-
name: string;
|
|
1483
|
-
query: {
|
|
1484
|
-
id: string;
|
|
1485
|
-
};
|
|
1486
|
-
};
|
|
1487
|
-
}[];
|
|
1488
|
-
};
|
|
1489
|
-
};
|
|
1490
|
-
};
|
|
1491
|
-
readingOverdue: {
|
|
1492
|
-
context: {
|
|
1493
|
-
message: string;
|
|
1494
|
-
metadata: {
|
|
1495
|
-
items: {
|
|
1496
|
-
message: string;
|
|
1497
|
-
route: {
|
|
1498
|
-
name: string;
|
|
1499
|
-
params: {
|
|
1500
|
-
id: string;
|
|
1501
|
-
};
|
|
1502
|
-
};
|
|
1503
|
-
}[];
|
|
1504
|
-
};
|
|
1505
|
-
};
|
|
1506
|
-
};
|
|
1507
|
-
};
|
|
1508
|
-
type NotificationEventType = keyof NotificationContextMap;
|
|
1509
|
-
interface NotificationSQSMessage<E extends NotificationEventType = NotificationEventType> {
|
|
1510
|
-
eventName: E;
|
|
1511
|
-
timestamp: string;
|
|
1512
|
-
companyId: string;
|
|
1513
|
-
userSub: string;
|
|
1514
|
-
alertTriggerId?: string;
|
|
1515
|
-
context: NotificationContextMap[E];
|
|
1516
|
-
}
|
|
1517
|
-
interface SendNotificationMessageInput<E extends NotificationEventType> {
|
|
1518
|
-
companyId: string;
|
|
1519
|
-
userSub: string;
|
|
1520
|
-
alertTriggerId?: string;
|
|
1521
|
-
timestamp?: string;
|
|
1522
|
-
}
|
|
1523
|
-
|
|
1524
1560
|
interface Log<IDType = ObjectId | string> {
|
|
1525
1561
|
_id: IDType;
|
|
1526
1562
|
message: string;
|
|
@@ -1783,24 +1819,6 @@ declare const _default$5: (auth: AuthOptions, instanceOptions?: CreateAxiosDefau
|
|
|
1783
1819
|
removeAccount: (id: string, options?: AxiosRequestConfig) => Promise<Account<string>>;
|
|
1784
1820
|
getAccountSchema: (options?: AxiosRequestConfig) => Promise<any>;
|
|
1785
1821
|
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
1822
|
getCustomAlertTrigger: (id: string, options?: AxiosRequestConfig) => Promise<CustomAlertTrigger<string, string, {
|
|
1805
1823
|
[key: string]: any;
|
|
1806
1824
|
}>>;
|
|
@@ -1982,6 +2000,9 @@ interface NotificationEmailOptions {
|
|
|
1982
2000
|
url?: string;
|
|
1983
2001
|
}>;
|
|
1984
2002
|
metadata?: Record<string, any>;
|
|
2003
|
+
items?: Array<{
|
|
2004
|
+
message: string;
|
|
2005
|
+
}>;
|
|
1985
2006
|
}
|
|
1986
2007
|
declare function generateNotificationEmail(options: NotificationEmailOptions): string;
|
|
1987
2008
|
declare const _default$3: {
|
|
@@ -2015,16 +2036,12 @@ interface SendNotificationMessageOptions {
|
|
|
2015
2036
|
sqsClient?: SQSClient;
|
|
2016
2037
|
}
|
|
2017
2038
|
type NotificationType = keyof NotificationContextMap;
|
|
2018
|
-
declare function createNotificationMessage<T extends NotificationType>(eventName: T, context: NotificationContextMap[T], input: SendNotificationMessageInput<T>): NotificationSQSMessage<T>;
|
|
2019
2039
|
type SendNotificationParams<T extends NotificationType> = {
|
|
2020
2040
|
eventName: T;
|
|
2021
2041
|
context: NotificationContextMap[T];
|
|
2022
2042
|
input: SendNotificationMessageInput<T>;
|
|
2023
2043
|
options?: SendNotificationMessageOptions;
|
|
2024
2044
|
};
|
|
2025
|
-
declare function sendNotificationMessage<T extends NotificationType>({ eventName, context, input, options }: SendNotificationParams<T>): Promise<{
|
|
2026
|
-
messageId: string;
|
|
2027
|
-
}>;
|
|
2028
2045
|
type SendNotificationBatchParams<T extends NotificationType> = {
|
|
2029
2046
|
messages: Array<{
|
|
2030
2047
|
eventName: T;
|
|
@@ -2033,6 +2050,10 @@ type SendNotificationBatchParams<T extends NotificationType> = {
|
|
|
2033
2050
|
}>;
|
|
2034
2051
|
options?: SendNotificationMessageOptions;
|
|
2035
2052
|
};
|
|
2053
|
+
declare function createNotificationMessage<T extends NotificationType>(eventName: T, context: NotificationContextMap[T], input: SendNotificationMessageInput<T>): NotificationSQSMessage<T>;
|
|
2054
|
+
declare function sendNotificationMessage<T extends NotificationType>({ eventName, context, input, options }: SendNotificationParams<T>): Promise<{
|
|
2055
|
+
messageId: string;
|
|
2056
|
+
}>;
|
|
2036
2057
|
declare function sendNotificationMessageBatch<T extends NotificationType>({ messages, options }: SendNotificationBatchParams<T>): Promise<{
|
|
2037
2058
|
messageIds: string[];
|
|
2038
2059
|
}>;
|
|
@@ -2086,6 +2107,14 @@ declare const automationServices: {
|
|
|
2086
2107
|
category: AutomationServiceCategory;
|
|
2087
2108
|
}[];
|
|
2088
2109
|
|
|
2110
|
+
declare function updateBatchJobStatus({ etnApi, automationRun, accountKey, status, errorMessage }: {
|
|
2111
|
+
etnApi: ReturnType<typeof _default$5>;
|
|
2112
|
+
automationRun: AutomationRun<string>;
|
|
2113
|
+
accountKey?: string;
|
|
2114
|
+
status: 'completed' | 'failed';
|
|
2115
|
+
errorMessage?: string;
|
|
2116
|
+
}): Promise<void>;
|
|
2117
|
+
|
|
2089
2118
|
interface StepFunctionEvent {
|
|
2090
2119
|
params: any;
|
|
2091
2120
|
input: {
|
|
@@ -2124,16 +2153,60 @@ declare class IngestHandler {
|
|
|
2124
2153
|
*/
|
|
2125
2154
|
declare function isTransientError(error: any): boolean;
|
|
2126
2155
|
|
|
2156
|
+
type PaginatedResponse<T> = {
|
|
2157
|
+
data: T[];
|
|
2158
|
+
};
|
|
2159
|
+
type FetchPage<T> = (params: {
|
|
2160
|
+
$limit: number;
|
|
2161
|
+
$skip: number;
|
|
2162
|
+
}) => Promise<PaginatedResponse<T>>;
|
|
2163
|
+
type PaginatedFetchOptions = {
|
|
2164
|
+
pageSize?: number;
|
|
2165
|
+
};
|
|
2166
|
+
declare const paginatedFetch: <T>(fetchPage: FetchPage<T>, options?: PaginatedFetchOptions) => Promise<T[]>;
|
|
2167
|
+
|
|
2168
|
+
type SqsMessageAttribute = {
|
|
2169
|
+
DataType: 'String' | 'Number' | 'Binary';
|
|
2170
|
+
StringValue?: string;
|
|
2171
|
+
BinaryValue?: Uint8Array;
|
|
2172
|
+
};
|
|
2173
|
+
type SqsBatchMessage<T> = {
|
|
2174
|
+
body: T;
|
|
2175
|
+
id?: string;
|
|
2176
|
+
attributes?: Record<string, SqsMessageAttribute>;
|
|
2177
|
+
};
|
|
2178
|
+
type SendToSqsBatchedOptions = {
|
|
2179
|
+
queueUrl: string;
|
|
2180
|
+
sqsClient?: SQSClient;
|
|
2181
|
+
concurrency?: number;
|
|
2182
|
+
batchSize?: number;
|
|
2183
|
+
};
|
|
2184
|
+
type SendToSqsBatchedResult = {
|
|
2185
|
+
successful: number;
|
|
2186
|
+
failed: number;
|
|
2187
|
+
};
|
|
2188
|
+
declare const sendToSqsBatched: <T>(messages: SqsBatchMessage<T>[], options: SendToSqsBatchedOptions) => Promise<SendToSqsBatchedResult>;
|
|
2189
|
+
|
|
2190
|
+
type index$1_FetchPage<T> = FetchPage<T>;
|
|
2127
2191
|
type index$1_IngestHandler = IngestHandler;
|
|
2128
2192
|
declare const index$1_IngestHandler: typeof IngestHandler;
|
|
2193
|
+
type index$1_PaginatedFetchOptions = PaginatedFetchOptions;
|
|
2194
|
+
type index$1_PaginatedResponse<T> = PaginatedResponse<T>;
|
|
2195
|
+
type index$1_SendToSqsBatchedOptions = SendToSqsBatchedOptions;
|
|
2196
|
+
type index$1_SendToSqsBatchedResult = SendToSqsBatchedResult;
|
|
2197
|
+
type index$1_SqsBatchMessage<T> = SqsBatchMessage<T>;
|
|
2198
|
+
type index$1_SqsMessageAttribute = SqsMessageAttribute;
|
|
2129
2199
|
declare const index$1_automationServices: typeof automationServices;
|
|
2130
2200
|
declare const index$1_automationSources: typeof automationSources;
|
|
2131
2201
|
declare const index$1_getMeterPointNumberBottomLine: typeof getMeterPointNumberBottomLine;
|
|
2132
2202
|
declare const index$1_isTransientError: typeof isTransientError;
|
|
2203
|
+
declare const index$1_paginatedFetch: typeof paginatedFetch;
|
|
2204
|
+
declare const index$1_sendToSqsBatched: typeof sendToSqsBatched;
|
|
2205
|
+
declare const index$1_updateBatchJobStatus: typeof updateBatchJobStatus;
|
|
2133
2206
|
declare const index$1_utilityTypes: typeof utilityTypes;
|
|
2134
2207
|
declare const index$1_wasteCategories: typeof wasteCategories;
|
|
2135
2208
|
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 };
|
|
2209
|
+
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_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_sendToSqsBatched as sendToSqsBatched, units$1 as units, index$1_updateBatchJobStatus as updateBatchJobStatus, index$1_utilityTypes as utilityTypes, index$1_wasteCategories as wasteCategories };
|
|
2137
2210
|
}
|
|
2138
2211
|
|
|
2139
2212
|
interface ETNModel {
|
|
@@ -2260,4 +2333,4 @@ declare namespace scrapers {
|
|
|
2260
2333
|
export type { scrapers_ETNAccount as ETNAccount };
|
|
2261
2334
|
}
|
|
2262
2335
|
|
|
2263
|
-
export { type AccessLevel, type Account, type AccountResult, type Action, type ActionType, type Asset, type Automation, type AutomationEventName, 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 DataQualityEventName, type DefaultField, type DeliveryStatus, type DiscussionEventName, 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, type NotificationCategoryKey, NotificationCategoryList, type NotificationCategoryPreferences, type NotificationChannels, type NotificationContextMap, NotificationDefaultChannels, type NotificationEventName, type NotificationEventType, type NotificationPreferences, type NotificationSQSMessage, type NotificationTemplate,
|
|
2336
|
+
export { type AccessLevel, type Account, type AccountResult, type Action, type ActionType, type Asset, type Automation, type AutomationEventName, 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 DataQualityEventName, type DefaultField, type DeliveryStatus, type DiscussionEventName, 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, type NotificationCategoryKey, NotificationCategoryList, type NotificationCategoryPreferences, type NotificationChannels, type NotificationContextMap, NotificationDefaultChannels, type NotificationEventName, type NotificationEventType, type NotificationPreferences, type NotificationSQSMessage, type NotificationTemplate, type NotificationTemplateCategory, 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 ReportEventName, type ReportMetadata, type ReportSource, type ReportSourceIdItem, type ReportTemplate, type ReportType, type ScraperEventName, type ScraperRun, type SendNotificationMessageInput, type Setting, type SourceType, type Supplier, type TeamEventName, 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 };
|