@betterview/integration-toolkit 1.3.0 → 1.3.2
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.
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
import { IWrapResult } from '../Network/axios-error-handling';
|
|
2
1
|
export interface IEnrichmentIntegration {
|
|
3
2
|
/**
|
|
4
3
|
* Pulls data from the vendor and returns the data graph in JSON format.
|
|
5
4
|
*/
|
|
6
|
-
getData(requestData: IEnrichmentIntegrationRequestData): Promise<
|
|
7
|
-
request_url: string;
|
|
8
|
-
result: IWrapResult<Record<string, any>>;
|
|
9
|
-
}>;
|
|
5
|
+
getData(requestData: IEnrichmentIntegrationRequestData): Promise<EnrichmentIntegrationResult>;
|
|
10
6
|
}
|
|
11
7
|
export interface IEnrichmentIntegrationRequestData {
|
|
12
8
|
credentials: Record<any, string>;
|
|
@@ -25,6 +21,7 @@ export declare type EnrichmentIntegrationResult = {
|
|
|
25
21
|
request_url: string;
|
|
26
22
|
result: {
|
|
27
23
|
data?: Record<string, any>;
|
|
24
|
+
err?: Record<string, any>;
|
|
28
25
|
};
|
|
29
26
|
};
|
|
30
27
|
//# sourceMappingURL=IEnrichmentIntegration.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IEnrichmentIntegration.d.ts","sourceRoot":"","sources":["../../src/types/IEnrichmentIntegration.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"IEnrichmentIntegration.d.ts","sourceRoot":"","sources":["../../src/types/IEnrichmentIntegration.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,OAAO,CAAC,WAAW,EAAE,iCAAiC,GAAG,OAAO,CAAC,2BAA2B,CAAC,CAAC;CAC/F;AAED,MAAM,WAAW,iCAAiC;IAChD,WAAW,EAAE,MAAM,CAAC,GAAG,EAAE,MAAM,CAAC,CAAC;IACjC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,oBAAY,2BAA2B,GAAG;IACxC,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE;QACN,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;QAC3B,GAAG,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;KAC3B,CAAC;CACH,CAAC"}
|
package/package.json
CHANGED