@effect-aws/client-textract 1.10.9 → 2.0.0-beta.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.
- package/LICENSE +1 -1
- package/README.md +3 -3
- package/dist/dts/TextractClientInstance.d.ts +2 -2
- package/dist/dts/TextractClientInstance.d.ts.map +1 -1
- package/dist/dts/TextractService.d.ts +27 -29
- package/dist/dts/TextractService.d.ts.map +1 -1
- package/dist/dts/TextractServiceConfig.d.ts.map +1 -1
- package/dist/esm/TextractClientInstance.js +3 -3
- package/dist/esm/TextractClientInstance.js.map +1 -1
- package/dist/esm/TextractService.js +2 -2
- package/dist/esm/TextractService.js.map +1 -1
- package/dist/esm/TextractServiceConfig.js +5 -6
- package/dist/esm/TextractServiceConfig.js.map +1 -1
- package/package.json +8 -14
- package/src/TextractClientInstance.ts +4 -4
- package/src/TextractService.ts +28 -28
- package/src/TextractServiceConfig.ts +6 -7
- package/dist/cjs/Errors.d.ts +0 -25
- package/dist/cjs/Errors.d.ts.map +0 -1
- package/dist/cjs/Errors.js +0 -24
- package/dist/cjs/Errors.js.map +0 -1
- package/dist/cjs/TextractClientInstance.d.ts +0 -24
- package/dist/cjs/TextractClientInstance.d.ts.map +0 -1
- package/dist/cjs/TextractClientInstance.js +0 -50
- package/dist/cjs/TextractClientInstance.js.map +0 -1
- package/dist/cjs/TextractService.d.ts +0 -146
- package/dist/cjs/TextractService.d.ts.map +0 -1
- package/dist/cjs/TextractService.js +0 -84
- package/dist/cjs/TextractService.js.map +0 -1
- package/dist/cjs/TextractServiceConfig.d.ts +0 -25
- package/dist/cjs/TextractServiceConfig.d.ts.map +0 -1
- package/dist/cjs/TextractServiceConfig.js +0 -35
- package/dist/cjs/TextractServiceConfig.js.map +0 -1
- package/dist/cjs/index.d.ts +0 -44
- package/dist/cjs/index.d.ts.map +0 -1
- package/dist/cjs/index.js +0 -56
- package/dist/cjs/index.js.map +0 -1
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
-
if (mod && mod.__esModule) return mod;
|
|
20
|
-
var result = {};
|
|
21
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
-
__setModuleDefault(result, mod);
|
|
23
|
-
return result;
|
|
24
|
-
};
|
|
25
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.TextractService = exports.makeTextractService = void 0;
|
|
27
|
-
/**
|
|
28
|
-
* @since 1.0.0
|
|
29
|
-
*/
|
|
30
|
-
const client_textract_1 = require("@aws-sdk/client-textract");
|
|
31
|
-
const commons_1 = require("@effect-aws/commons");
|
|
32
|
-
const effect_1 = require("effect");
|
|
33
|
-
const Errors_js_1 = require("./Errors.js");
|
|
34
|
-
const Instance = __importStar(require("./TextractClientInstance.js"));
|
|
35
|
-
const TextractServiceConfig = __importStar(require("./TextractServiceConfig.js"));
|
|
36
|
-
const commands = {
|
|
37
|
-
AnalyzeDocumentCommand: client_textract_1.AnalyzeDocumentCommand,
|
|
38
|
-
AnalyzeExpenseCommand: client_textract_1.AnalyzeExpenseCommand,
|
|
39
|
-
AnalyzeIDCommand: client_textract_1.AnalyzeIDCommand,
|
|
40
|
-
CreateAdapterCommand: client_textract_1.CreateAdapterCommand,
|
|
41
|
-
CreateAdapterVersionCommand: client_textract_1.CreateAdapterVersionCommand,
|
|
42
|
-
DeleteAdapterCommand: client_textract_1.DeleteAdapterCommand,
|
|
43
|
-
DeleteAdapterVersionCommand: client_textract_1.DeleteAdapterVersionCommand,
|
|
44
|
-
DetectDocumentTextCommand: client_textract_1.DetectDocumentTextCommand,
|
|
45
|
-
GetAdapterCommand: client_textract_1.GetAdapterCommand,
|
|
46
|
-
GetAdapterVersionCommand: client_textract_1.GetAdapterVersionCommand,
|
|
47
|
-
GetDocumentAnalysisCommand: client_textract_1.GetDocumentAnalysisCommand,
|
|
48
|
-
GetDocumentTextDetectionCommand: client_textract_1.GetDocumentTextDetectionCommand,
|
|
49
|
-
GetExpenseAnalysisCommand: client_textract_1.GetExpenseAnalysisCommand,
|
|
50
|
-
GetLendingAnalysisCommand: client_textract_1.GetLendingAnalysisCommand,
|
|
51
|
-
GetLendingAnalysisSummaryCommand: client_textract_1.GetLendingAnalysisSummaryCommand,
|
|
52
|
-
ListAdapterVersionsCommand: client_textract_1.ListAdapterVersionsCommand,
|
|
53
|
-
ListAdaptersCommand: client_textract_1.ListAdaptersCommand,
|
|
54
|
-
ListTagsForResourceCommand: client_textract_1.ListTagsForResourceCommand,
|
|
55
|
-
StartDocumentAnalysisCommand: client_textract_1.StartDocumentAnalysisCommand,
|
|
56
|
-
StartDocumentTextDetectionCommand: client_textract_1.StartDocumentTextDetectionCommand,
|
|
57
|
-
StartExpenseAnalysisCommand: client_textract_1.StartExpenseAnalysisCommand,
|
|
58
|
-
StartLendingAnalysisCommand: client_textract_1.StartLendingAnalysisCommand,
|
|
59
|
-
TagResourceCommand: client_textract_1.TagResourceCommand,
|
|
60
|
-
UntagResourceCommand: client_textract_1.UntagResourceCommand,
|
|
61
|
-
UpdateAdapterCommand: client_textract_1.UpdateAdapterCommand,
|
|
62
|
-
};
|
|
63
|
-
/**
|
|
64
|
-
* @since 1.0.0
|
|
65
|
-
* @category constructors
|
|
66
|
-
*/
|
|
67
|
-
exports.makeTextractService = effect_1.Effect.gen(function* () {
|
|
68
|
-
const client = yield* Instance.TextractClientInstance;
|
|
69
|
-
return yield* commons_1.Service.fromClientAndCommands(client, commands, {
|
|
70
|
-
errorTags: Errors_js_1.AllServiceErrors,
|
|
71
|
-
resolveClientConfig: TextractServiceConfig.toTextractClientConfig,
|
|
72
|
-
});
|
|
73
|
-
});
|
|
74
|
-
/**
|
|
75
|
-
* @since 1.0.0
|
|
76
|
-
* @category models
|
|
77
|
-
*/
|
|
78
|
-
class TextractService extends effect_1.Effect.Tag("@effect-aws/client-textract/TextractService")() {
|
|
79
|
-
static defaultLayer = effect_1.Layer.effect(this, exports.makeTextractService).pipe(effect_1.Layer.provide(Instance.layer));
|
|
80
|
-
static layer = (config) => effect_1.Layer.effect(this, exports.makeTextractService).pipe(effect_1.Layer.provide(Instance.layer), effect_1.Layer.provide(TextractServiceConfig.setTextractServiceConfig(config)));
|
|
81
|
-
static baseLayer = (evaluate) => effect_1.Layer.effect(this, exports.makeTextractService).pipe(effect_1.Layer.provide(effect_1.Layer.effect(Instance.TextractClientInstance, effect_1.Effect.map(TextractServiceConfig.toTextractClientConfig, evaluate))));
|
|
82
|
-
}
|
|
83
|
-
exports.TextractService = TextractService;
|
|
84
|
-
//# sourceMappingURL=TextractService.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TextractService.js","sourceRoot":"","sources":["../../src/TextractService.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;GAEG;AACH,8DA8EkC;AAElC,iDAA8C;AAE9C,mCAAuC;AAsBvC,2CAA+C;AAC/C,sEAAwD;AACxD,kFAAoE;AAEpE,MAAM,QAAQ,GAAG;IACf,sBAAsB,EAAtB,wCAAsB;IACtB,qBAAqB,EAArB,uCAAqB;IACrB,gBAAgB,EAAhB,kCAAgB;IAChB,oBAAoB,EAApB,sCAAoB;IACpB,2BAA2B,EAA3B,6CAA2B;IAC3B,oBAAoB,EAApB,sCAAoB;IACpB,2BAA2B,EAA3B,6CAA2B;IAC3B,yBAAyB,EAAzB,2CAAyB;IACzB,iBAAiB,EAAjB,mCAAiB;IACjB,wBAAwB,EAAxB,0CAAwB;IACxB,0BAA0B,EAA1B,4CAA0B;IAC1B,+BAA+B,EAA/B,iDAA+B;IAC/B,yBAAyB,EAAzB,2CAAyB;IACzB,yBAAyB,EAAzB,2CAAyB;IACzB,gCAAgC,EAAhC,kDAAgC;IAChC,0BAA0B,EAA1B,4CAA0B;IAC1B,mBAAmB,EAAnB,qCAAmB;IACnB,0BAA0B,EAA1B,4CAA0B;IAC1B,4BAA4B,EAA5B,8CAA4B;IAC5B,iCAAiC,EAAjC,mDAAiC;IACjC,2BAA2B,EAA3B,6CAA2B;IAC3B,2BAA2B,EAA3B,6CAA2B;IAC3B,kBAAkB,EAAlB,oCAAkB;IAClB,oBAAoB,EAApB,sCAAoB;IACpB,oBAAoB,EAApB,sCAAoB;CACrB,CAAC;AA+gBF;;;GAGG;AACU,QAAA,mBAAmB,GAAG,eAAM,CAAC,GAAG,CAAC,QAAQ,CAAC;IACrD,MAAM,MAAM,GAAG,KAAK,CAAC,CAAC,QAAQ,CAAC,sBAAsB,CAAC;IAEtD,OAAO,KAAK,CAAC,CAAC,iBAAO,CAAC,qBAAqB,CACzC,MAAM,EACN,QAAQ,EACR;QACE,SAAS,EAAE,4BAAgB;QAC3B,mBAAmB,EAAE,qBAAqB,CAAC,sBAAsB;KAClE,CACF,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH;;;GAGG;AACH,MAAa,eAAgB,SAAQ,eAAM,CAAC,GAAG,CAAC,6CAA6C,CAAC,EAG3F;IACD,MAAM,CAAU,YAAY,GAAG,cAAK,CAAC,MAAM,CAAC,IAAI,EAAE,2BAAmB,CAAC,CAAC,IAAI,CAAC,cAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC;IAC3G,MAAM,CAAU,KAAK,GAAG,CAAC,MAA8B,EAAE,EAAE,CACzD,cAAK,CAAC,MAAM,CAAC,IAAI,EAAE,2BAAmB,CAAC,CAAC,IAAI,CAC1C,cAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAC,EAC7B,cAAK,CAAC,OAAO,CAAC,qBAAqB,CAAC,wBAAwB,CAAC,MAAM,CAAC,CAAC,CACtE,CAAC;IACJ,MAAM,CAAU,SAAS,GAAG,CAC1B,QAAiE,EACjE,EAAE,CACF,cAAK,CAAC,MAAM,CAAC,IAAI,EAAE,2BAAmB,CAAC,CAAC,IAAI,CAC1C,cAAK,CAAC,OAAO,CACX,cAAK,CAAC,MAAM,CACV,QAAQ,CAAC,sBAAsB,EAC/B,eAAM,CAAC,GAAG,CAAC,qBAAqB,CAAC,sBAAsB,EAAE,QAAQ,CAAC,CACnE,CACF,CACF,CAAC;;AApBN,0CAqBC"}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @since 1.0.0
|
|
3
|
-
*/
|
|
4
|
-
import type { TextractClientConfig } from "@aws-sdk/client-textract";
|
|
5
|
-
import { Effect, Layer } from "effect";
|
|
6
|
-
import type { TextractService } from "./TextractService.js";
|
|
7
|
-
/**
|
|
8
|
-
* @since 1.0.0
|
|
9
|
-
* @category textract service config
|
|
10
|
-
*/
|
|
11
|
-
export declare const withTextractServiceConfig: {
|
|
12
|
-
(config: TextractService.Config): <A, E, R>(effect: Effect.Effect<A, E, R>) => Effect.Effect<A, E, R>;
|
|
13
|
-
<A, E, R>(effect: Effect.Effect<A, E, R>, config: TextractService.Config): Effect.Effect<A, E, R>;
|
|
14
|
-
};
|
|
15
|
-
/**
|
|
16
|
-
* @since 1.0.0
|
|
17
|
-
* @category textract service config
|
|
18
|
-
*/
|
|
19
|
-
export declare const setTextractServiceConfig: (config: TextractService.Config) => Layer.Layer<never, never, never>;
|
|
20
|
-
/**
|
|
21
|
-
* @since 1.0.0
|
|
22
|
-
* @category adapters
|
|
23
|
-
*/
|
|
24
|
-
export declare const toTextractClientConfig: Effect.Effect<TextractClientConfig>;
|
|
25
|
-
//# sourceMappingURL=TextractServiceConfig.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TextractServiceConfig.d.ts","sourceRoot":"","sources":["../../src/TextractServiceConfig.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAErE,OAAO,EAAE,MAAM,EAAY,KAAK,EAAE,MAAM,QAAQ,CAAC;AAGjD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAW5D;;;GAGG;AACH,eAAO,MAAM,yBAAyB,EAAE;IACtC,CAAC,MAAM,EAAE,eAAe,CAAC,MAAM,GAAG,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,KAAK,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;IACtG,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,EAAE,MAAM,EAAE,eAAe,CAAC,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;CAKnG,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,wBAAwB,WAAY,gBAAgB,MAAM,qCACZ,CAAC;AAE5D;;;GAGG;AACH,eAAO,MAAM,sBAAsB,EAAE,MAAM,CAAC,MAAM,CAAC,oBAAoB,CAQrE,CAAC"}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.toTextractClientConfig = exports.setTextractServiceConfig = exports.withTextractServiceConfig = void 0;
|
|
4
|
-
const commons_1 = require("@effect-aws/commons");
|
|
5
|
-
const effect_1 = require("effect");
|
|
6
|
-
const Function_1 = require("effect/Function");
|
|
7
|
-
const GlobalValue_1 = require("effect/GlobalValue");
|
|
8
|
-
/**
|
|
9
|
-
* @since 1.0.0
|
|
10
|
-
* @category textract service config
|
|
11
|
-
*/
|
|
12
|
-
const currentTextractServiceConfig = (0, GlobalValue_1.globalValue)("@effect-aws/client-textract/currentTextractServiceConfig", () => effect_1.FiberRef.unsafeMake({}));
|
|
13
|
-
/**
|
|
14
|
-
* @since 1.0.0
|
|
15
|
-
* @category textract service config
|
|
16
|
-
*/
|
|
17
|
-
exports.withTextractServiceConfig = (0, Function_1.dual)(2, (effect, config) => effect_1.Effect.locally(effect, currentTextractServiceConfig, config));
|
|
18
|
-
/**
|
|
19
|
-
* @since 1.0.0
|
|
20
|
-
* @category textract service config
|
|
21
|
-
*/
|
|
22
|
-
const setTextractServiceConfig = (config) => effect_1.Layer.locallyScoped(currentTextractServiceConfig, config);
|
|
23
|
-
exports.setTextractServiceConfig = setTextractServiceConfig;
|
|
24
|
-
/**
|
|
25
|
-
* @since 1.0.0
|
|
26
|
-
* @category adapters
|
|
27
|
-
*/
|
|
28
|
-
exports.toTextractClientConfig = effect_1.Effect.gen(function* () {
|
|
29
|
-
const { logger: serviceLogger, ...config } = yield* effect_1.FiberRef.get(currentTextractServiceConfig);
|
|
30
|
-
const logger = serviceLogger === true
|
|
31
|
-
? yield* commons_1.ServiceLogger.toClientLogger(commons_1.ServiceLogger.defaultServiceLogger)
|
|
32
|
-
: (serviceLogger ? yield* commons_1.ServiceLogger.toClientLogger(commons_1.ServiceLogger.make(serviceLogger)) : undefined);
|
|
33
|
-
return { logger, ...config };
|
|
34
|
-
});
|
|
35
|
-
//# sourceMappingURL=TextractServiceConfig.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TextractServiceConfig.js","sourceRoot":"","sources":["../../src/TextractServiceConfig.ts"],"names":[],"mappings":";;;AAIA,iDAAoD;AACpD,mCAAiD;AACjD,8CAAuC;AACvC,oDAAiD;AAGjD;;;GAGG;AACH,MAAM,4BAA4B,GAAG,IAAA,yBAAW,EAC9C,0DAA0D,EAC1D,GAAG,EAAE,CAAC,iBAAQ,CAAC,UAAU,CAAyB,EAAE,CAAC,CACtD,CAAC;AAEF;;;GAGG;AACU,QAAA,yBAAyB,GAGlC,IAAA,eAAI,EACN,CAAC,EACD,CAAU,MAA8B,EAAE,MAA8B,EAA0B,EAAE,CAClG,eAAM,CAAC,OAAO,CAAC,MAAM,EAAE,4BAA4B,EAAE,MAAM,CAAC,CAC/D,CAAC;AAEF;;;GAGG;AACI,MAAM,wBAAwB,GAAG,CAAC,MAA8B,EAAE,EAAE,CACzE,cAAK,CAAC,aAAa,CAAC,4BAA4B,EAAE,MAAM,CAAC,CAAC;AAD/C,QAAA,wBAAwB,4BACuB;AAE5D;;;GAGG;AACU,QAAA,sBAAsB,GAAwC,eAAM,CAAC,GAAG,CAAC,QAAQ,CAAC;IAC7F,MAAM,EAAE,MAAM,EAAE,aAAa,EAAE,GAAG,MAAM,EAAE,GAAG,KAAK,CAAC,CAAC,iBAAQ,CAAC,GAAG,CAAC,4BAA4B,CAAC,CAAC;IAE/F,MAAM,MAAM,GAAG,aAAa,KAAK,IAAI;QACnC,CAAC,CAAC,KAAK,CAAC,CAAC,uBAAa,CAAC,cAAc,CAAC,uBAAa,CAAC,oBAAoB,CAAC;QACzE,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,uBAAa,CAAC,cAAc,CAAC,uBAAa,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC;IAEzG,OAAO,EAAE,MAAM,EAAE,GAAG,MAAM,EAAE,CAAC;AAC/B,CAAC,CAAC,CAAC"}
|
package/dist/cjs/index.d.ts
DELETED
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @since 1.0.0
|
|
3
|
-
*/
|
|
4
|
-
import { TextractService } from "./TextractService.js";
|
|
5
|
-
/**
|
|
6
|
-
* @since 1.0.0
|
|
7
|
-
*/
|
|
8
|
-
export * from "./Errors.js";
|
|
9
|
-
/**
|
|
10
|
-
* @since 1.0.0
|
|
11
|
-
*/
|
|
12
|
-
export * as TextractClientInstance from "./TextractClientInstance.js";
|
|
13
|
-
/**
|
|
14
|
-
* @since 1.0.0
|
|
15
|
-
*/
|
|
16
|
-
export * as TextractServiceConfig from "./TextractServiceConfig.js";
|
|
17
|
-
/**
|
|
18
|
-
* @since 1.0.0
|
|
19
|
-
*/
|
|
20
|
-
export * from "./TextractService.js";
|
|
21
|
-
/**
|
|
22
|
-
* @since 1.0.0
|
|
23
|
-
* @category exports
|
|
24
|
-
* @alias TextractService
|
|
25
|
-
*/
|
|
26
|
-
export declare namespace Textract {
|
|
27
|
-
/**
|
|
28
|
-
* @since 1.0.0
|
|
29
|
-
* @alias TextractService.Config
|
|
30
|
-
*/
|
|
31
|
-
type Config = TextractService.Config;
|
|
32
|
-
/**
|
|
33
|
-
* @since 1.0.0
|
|
34
|
-
* @alias TextractService.Type
|
|
35
|
-
*/
|
|
36
|
-
type Type = TextractService.Type;
|
|
37
|
-
}
|
|
38
|
-
/**
|
|
39
|
-
* @since 1.0.0
|
|
40
|
-
* @category exports
|
|
41
|
-
* @alias TextractService
|
|
42
|
-
*/
|
|
43
|
-
export declare const Textract: typeof TextractService;
|
|
44
|
-
//# sourceMappingURL=index.d.ts.map
|
package/dist/cjs/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAEvD;;GAEG;AACH,cAAc,aAAa,CAAC;AAE5B;;GAEG;AACH,OAAO,KAAK,sBAAsB,MAAM,6BAA6B,CAAC;AAEtE;;GAEG;AACH,OAAO,KAAK,qBAAqB,MAAM,4BAA4B,CAAC;AAEpE;;GAEG;AACH,cAAc,sBAAsB,CAAC;AAErC;;;;GAIG;AACH,MAAM,CAAC,OAAO,WAAW,QAAQ,CAAC;IAChC;;;OAGG;IACH,KAAY,MAAM,GAAG,eAAe,CAAC,MAAM,CAAC;IAE5C;;;OAGG;IACH,KAAY,IAAI,GAAG,eAAe,CAAC,IAAI,CAAC;CACzC;AAED;;;;GAIG;AACH,eAAO,MAAM,QAAQ,wBAAkB,CAAC"}
|
package/dist/cjs/index.js
DELETED
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
19
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
20
|
-
};
|
|
21
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
-
if (mod && mod.__esModule) return mod;
|
|
23
|
-
var result = {};
|
|
24
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
-
__setModuleDefault(result, mod);
|
|
26
|
-
return result;
|
|
27
|
-
};
|
|
28
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.Textract = exports.TextractServiceConfig = exports.TextractClientInstance = void 0;
|
|
30
|
-
/**
|
|
31
|
-
* @since 1.0.0
|
|
32
|
-
*/
|
|
33
|
-
const TextractService_js_1 = require("./TextractService.js");
|
|
34
|
-
/**
|
|
35
|
-
* @since 1.0.0
|
|
36
|
-
*/
|
|
37
|
-
__exportStar(require("./Errors.js"), exports);
|
|
38
|
-
/**
|
|
39
|
-
* @since 1.0.0
|
|
40
|
-
*/
|
|
41
|
-
exports.TextractClientInstance = __importStar(require("./TextractClientInstance.js"));
|
|
42
|
-
/**
|
|
43
|
-
* @since 1.0.0
|
|
44
|
-
*/
|
|
45
|
-
exports.TextractServiceConfig = __importStar(require("./TextractServiceConfig.js"));
|
|
46
|
-
/**
|
|
47
|
-
* @since 1.0.0
|
|
48
|
-
*/
|
|
49
|
-
__exportStar(require("./TextractService.js"), exports);
|
|
50
|
-
/**
|
|
51
|
-
* @since 1.0.0
|
|
52
|
-
* @category exports
|
|
53
|
-
* @alias TextractService
|
|
54
|
-
*/
|
|
55
|
-
exports.Textract = TextractService_js_1.TextractService;
|
|
56
|
-
//# sourceMappingURL=index.js.map
|
package/dist/cjs/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;GAEG;AACH,6DAAuD;AAEvD;;GAEG;AACH,8CAA4B;AAE5B;;GAEG;AACH,sFAAsE;AAEtE;;GAEG;AACH,oFAAoE;AAEpE;;GAEG;AACH,uDAAqC;AAqBrC;;;;GAIG;AACU,QAAA,QAAQ,GAAG,oCAAe,CAAC"}
|