anyformat-ai 0.1.3
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/CHANGELOG.md +62 -0
- package/LICENSE +201 -0
- package/README.md +365 -0
- package/api-promise.d.mts +2 -0
- package/api-promise.d.mts.map +1 -0
- package/api-promise.d.ts +2 -0
- package/api-promise.d.ts.map +1 -0
- package/api-promise.js +6 -0
- package/api-promise.js.map +1 -0
- package/api-promise.mjs +2 -0
- package/api-promise.mjs.map +1 -0
- package/client.d.mts +202 -0
- package/client.d.mts.map +1 -0
- package/client.d.ts +202 -0
- package/client.d.ts.map +1 -0
- package/client.js +492 -0
- package/client.js.map +1 -0
- package/client.mjs +488 -0
- package/client.mjs.map +1 -0
- package/core/api-promise.d.mts +46 -0
- package/core/api-promise.d.mts.map +1 -0
- package/core/api-promise.d.ts +46 -0
- package/core/api-promise.d.ts.map +1 -0
- package/core/api-promise.js +74 -0
- package/core/api-promise.js.map +1 -0
- package/core/api-promise.mjs +70 -0
- package/core/api-promise.mjs.map +1 -0
- package/core/error.d.mts +46 -0
- package/core/error.d.mts.map +1 -0
- package/core/error.d.ts +46 -0
- package/core/error.d.ts.map +1 -0
- package/core/error.js +113 -0
- package/core/error.js.map +1 -0
- package/core/error.mjs +97 -0
- package/core/error.mjs.map +1 -0
- package/core/resource.d.mts +6 -0
- package/core/resource.d.mts.map +1 -0
- package/core/resource.d.ts +6 -0
- package/core/resource.d.ts.map +1 -0
- package/core/resource.js +11 -0
- package/core/resource.js.map +1 -0
- package/core/resource.mjs +7 -0
- package/core/resource.mjs.map +1 -0
- package/core/uploads.d.mts +3 -0
- package/core/uploads.d.mts.map +1 -0
- package/core/uploads.d.ts +3 -0
- package/core/uploads.d.ts.map +1 -0
- package/core/uploads.js +6 -0
- package/core/uploads.js.map +1 -0
- package/core/uploads.mjs +2 -0
- package/core/uploads.mjs.map +1 -0
- package/error.d.mts +2 -0
- package/error.d.mts.map +1 -0
- package/error.d.ts +2 -0
- package/error.d.ts.map +1 -0
- package/error.js +6 -0
- package/error.js.map +1 -0
- package/error.mjs +2 -0
- package/error.mjs.map +1 -0
- package/index.d.mts +6 -0
- package/index.d.mts.map +1 -0
- package/index.d.ts +6 -0
- package/index.d.ts.map +1 -0
- package/index.js +30 -0
- package/index.js.map +1 -0
- package/index.mjs +7 -0
- package/index.mjs.map +1 -0
- package/internal/builtin-types.d.mts +73 -0
- package/internal/builtin-types.d.mts.map +1 -0
- package/internal/builtin-types.d.ts +73 -0
- package/internal/builtin-types.d.ts.map +1 -0
- package/internal/builtin-types.js +4 -0
- package/internal/builtin-types.js.map +1 -0
- package/internal/builtin-types.mjs +3 -0
- package/internal/builtin-types.mjs.map +1 -0
- package/internal/detect-platform.d.mts +15 -0
- package/internal/detect-platform.d.mts.map +1 -0
- package/internal/detect-platform.d.ts +15 -0
- package/internal/detect-platform.d.ts.map +1 -0
- package/internal/detect-platform.js +162 -0
- package/internal/detect-platform.js.map +1 -0
- package/internal/detect-platform.mjs +157 -0
- package/internal/detect-platform.mjs.map +1 -0
- package/internal/errors.d.mts +3 -0
- package/internal/errors.d.mts.map +1 -0
- package/internal/errors.d.ts +3 -0
- package/internal/errors.d.ts.map +1 -0
- package/internal/errors.js +41 -0
- package/internal/errors.js.map +1 -0
- package/internal/errors.mjs +36 -0
- package/internal/errors.mjs.map +1 -0
- package/internal/headers.d.mts +20 -0
- package/internal/headers.d.mts.map +1 -0
- package/internal/headers.d.ts +20 -0
- package/internal/headers.d.ts.map +1 -0
- package/internal/headers.js +79 -0
- package/internal/headers.js.map +1 -0
- package/internal/headers.mjs +74 -0
- package/internal/headers.mjs.map +1 -0
- package/internal/parse.d.mts +12 -0
- package/internal/parse.d.mts.map +1 -0
- package/internal/parse.d.ts +12 -0
- package/internal/parse.d.ts.map +1 -0
- package/internal/parse.js +40 -0
- package/internal/parse.js.map +1 -0
- package/internal/parse.mjs +37 -0
- package/internal/parse.mjs.map +1 -0
- package/internal/request-options.d.mts +75 -0
- package/internal/request-options.d.mts.map +1 -0
- package/internal/request-options.d.ts +75 -0
- package/internal/request-options.d.ts.map +1 -0
- package/internal/request-options.js +14 -0
- package/internal/request-options.js.map +1 -0
- package/internal/request-options.mjs +10 -0
- package/internal/request-options.mjs.map +1 -0
- package/internal/shim-types.d.mts +17 -0
- package/internal/shim-types.d.mts.map +1 -0
- package/internal/shim-types.d.ts +17 -0
- package/internal/shim-types.d.ts.map +1 -0
- package/internal/shim-types.js +4 -0
- package/internal/shim-types.js.map +1 -0
- package/internal/shim-types.mjs +3 -0
- package/internal/shim-types.mjs.map +1 -0
- package/internal/shims.d.mts +20 -0
- package/internal/shims.d.mts.map +1 -0
- package/internal/shims.d.ts +20 -0
- package/internal/shims.d.ts.map +1 -0
- package/internal/shims.js +92 -0
- package/internal/shims.js.map +1 -0
- package/internal/shims.mjs +85 -0
- package/internal/shims.mjs.map +1 -0
- package/internal/to-file.d.mts +45 -0
- package/internal/to-file.d.mts.map +1 -0
- package/internal/to-file.d.ts +45 -0
- package/internal/to-file.d.ts.map +1 -0
- package/internal/to-file.js +91 -0
- package/internal/to-file.js.map +1 -0
- package/internal/to-file.mjs +88 -0
- package/internal/to-file.mjs.map +1 -0
- package/internal/tslib.js +81 -0
- package/internal/tslib.mjs +17 -0
- package/internal/types.d.mts +69 -0
- package/internal/types.d.mts.map +1 -0
- package/internal/types.d.ts +69 -0
- package/internal/types.d.ts.map +1 -0
- package/internal/types.js +4 -0
- package/internal/types.js.map +1 -0
- package/internal/types.mjs +3 -0
- package/internal/types.mjs.map +1 -0
- package/internal/uploads.d.mts +42 -0
- package/internal/uploads.d.mts.map +1 -0
- package/internal/uploads.d.ts +42 -0
- package/internal/uploads.d.ts.map +1 -0
- package/internal/uploads.js +141 -0
- package/internal/uploads.js.map +1 -0
- package/internal/uploads.mjs +131 -0
- package/internal/uploads.mjs.map +1 -0
- package/internal/utils/base64.d.mts +3 -0
- package/internal/utils/base64.d.mts.map +1 -0
- package/internal/utils/base64.d.ts +3 -0
- package/internal/utils/base64.d.ts.map +1 -0
- package/internal/utils/base64.js +38 -0
- package/internal/utils/base64.js.map +1 -0
- package/internal/utils/base64.mjs +33 -0
- package/internal/utils/base64.mjs.map +1 -0
- package/internal/utils/bytes.d.mts +4 -0
- package/internal/utils/bytes.d.mts.map +1 -0
- package/internal/utils/bytes.d.ts +4 -0
- package/internal/utils/bytes.d.ts.map +1 -0
- package/internal/utils/bytes.js +31 -0
- package/internal/utils/bytes.js.map +1 -0
- package/internal/utils/bytes.mjs +26 -0
- package/internal/utils/bytes.mjs.map +1 -0
- package/internal/utils/env.d.mts +9 -0
- package/internal/utils/env.d.mts.map +1 -0
- package/internal/utils/env.d.ts +9 -0
- package/internal/utils/env.d.ts.map +1 -0
- package/internal/utils/env.js +22 -0
- package/internal/utils/env.js.map +1 -0
- package/internal/utils/env.mjs +18 -0
- package/internal/utils/env.mjs.map +1 -0
- package/internal/utils/log.d.mts +37 -0
- package/internal/utils/log.d.mts.map +1 -0
- package/internal/utils/log.d.ts +37 -0
- package/internal/utils/log.d.ts.map +1 -0
- package/internal/utils/log.js +85 -0
- package/internal/utils/log.js.map +1 -0
- package/internal/utils/log.mjs +79 -0
- package/internal/utils/log.mjs.map +1 -0
- package/internal/utils/path.d.mts +15 -0
- package/internal/utils/path.d.mts.map +1 -0
- package/internal/utils/path.d.ts +15 -0
- package/internal/utils/path.d.ts.map +1 -0
- package/internal/utils/path.js +79 -0
- package/internal/utils/path.js.map +1 -0
- package/internal/utils/path.mjs +74 -0
- package/internal/utils/path.mjs.map +1 -0
- package/internal/utils/query.d.mts +5 -0
- package/internal/utils/query.d.mts.map +1 -0
- package/internal/utils/query.d.ts +5 -0
- package/internal/utils/query.d.ts.map +1 -0
- package/internal/utils/query.js +23 -0
- package/internal/utils/query.js.map +1 -0
- package/internal/utils/query.mjs +20 -0
- package/internal/utils/query.mjs.map +1 -0
- package/internal/utils/sleep.d.mts +2 -0
- package/internal/utils/sleep.d.mts.map +1 -0
- package/internal/utils/sleep.d.ts +2 -0
- package/internal/utils/sleep.d.ts.map +1 -0
- package/internal/utils/sleep.js +7 -0
- package/internal/utils/sleep.js.map +1 -0
- package/internal/utils/sleep.mjs +3 -0
- package/internal/utils/sleep.mjs.map +1 -0
- package/internal/utils/uuid.d.mts +5 -0
- package/internal/utils/uuid.d.mts.map +1 -0
- package/internal/utils/uuid.d.ts +5 -0
- package/internal/utils/uuid.d.ts.map +1 -0
- package/internal/utils/uuid.js +19 -0
- package/internal/utils/uuid.js.map +1 -0
- package/internal/utils/uuid.mjs +15 -0
- package/internal/utils/uuid.mjs.map +1 -0
- package/internal/utils/values.d.mts +18 -0
- package/internal/utils/values.d.mts.map +1 -0
- package/internal/utils/values.d.ts +18 -0
- package/internal/utils/values.d.ts.map +1 -0
- package/internal/utils/values.js +112 -0
- package/internal/utils/values.js.map +1 -0
- package/internal/utils/values.mjs +94 -0
- package/internal/utils/values.mjs.map +1 -0
- package/internal/utils.d.mts +8 -0
- package/internal/utils.d.mts.map +1 -0
- package/internal/utils.d.ts +8 -0
- package/internal/utils.d.ts.map +1 -0
- package/internal/utils.js +12 -0
- package/internal/utils.js.map +1 -0
- package/internal/utils.mjs +9 -0
- package/internal/utils.mjs.map +1 -0
- package/package.json +143 -0
- package/resource.d.mts +2 -0
- package/resource.d.mts.map +1 -0
- package/resource.d.ts +2 -0
- package/resource.d.ts.map +1 -0
- package/resource.js +6 -0
- package/resource.js.map +1 -0
- package/resource.mjs +2 -0
- package/resource.mjs.map +1 -0
- package/resources/files.d.mts +76 -0
- package/resources/files.d.mts.map +1 -0
- package/resources/files.d.ts +76 -0
- package/resources/files.d.ts.map +1 -0
- package/resources/files.js +44 -0
- package/resources/files.js.map +1 -0
- package/resources/files.mjs +40 -0
- package/resources/files.mjs.map +1 -0
- package/resources/health.d.mts +19 -0
- package/resources/health.d.mts.map +1 -0
- package/resources/health.d.ts +19 -0
- package/resources/health.d.ts.map +1 -0
- package/resources/health.js +20 -0
- package/resources/health.js.map +1 -0
- package/resources/health.mjs +16 -0
- package/resources/health.mjs.map +1 -0
- package/resources/index.d.mts +5 -0
- package/resources/index.d.mts.map +1 -0
- package/resources/index.d.ts +5 -0
- package/resources/index.d.ts.map +1 -0
- package/resources/index.js +13 -0
- package/resources/index.js.map +1 -0
- package/resources/index.mjs +6 -0
- package/resources/index.mjs.map +1 -0
- package/resources/webhooks.d.mts +59 -0
- package/resources/webhooks.d.mts.map +1 -0
- package/resources/webhooks.d.ts +59 -0
- package/resources/webhooks.d.ts.map +1 -0
- package/resources/webhooks.js +42 -0
- package/resources/webhooks.js.map +1 -0
- package/resources/webhooks.mjs +38 -0
- package/resources/webhooks.mjs.map +1 -0
- package/resources/workflows.d.mts +131 -0
- package/resources/workflows.d.mts.map +1 -0
- package/resources/workflows.d.ts +131 -0
- package/resources/workflows.d.ts.map +1 -0
- package/resources/workflows.js +66 -0
- package/resources/workflows.js.map +1 -0
- package/resources/workflows.mjs +62 -0
- package/resources/workflows.mjs.map +1 -0
- package/resources.d.mts +2 -0
- package/resources.d.mts.map +1 -0
- package/resources.d.ts +2 -0
- package/resources.d.ts.map +1 -0
- package/resources.js +5 -0
- package/resources.js.map +1 -0
- package/resources.mjs +2 -0
- package/resources.mjs.map +1 -0
- package/src/api-promise.ts +2 -0
- package/src/client.ts +813 -0
- package/src/core/README.md +3 -0
- package/src/core/api-promise.ts +92 -0
- package/src/core/error.ts +130 -0
- package/src/core/resource.ts +11 -0
- package/src/core/uploads.ts +2 -0
- package/src/error.ts +2 -0
- package/src/index.ts +22 -0
- package/src/internal/README.md +3 -0
- package/src/internal/builtin-types.ts +93 -0
- package/src/internal/detect-platform.ts +196 -0
- package/src/internal/errors.ts +33 -0
- package/src/internal/headers.ts +97 -0
- package/src/internal/parse.ts +56 -0
- package/src/internal/request-options.ts +91 -0
- package/src/internal/shim-types.ts +26 -0
- package/src/internal/shims.ts +107 -0
- package/src/internal/to-file.ts +154 -0
- package/src/internal/types.ts +95 -0
- package/src/internal/uploads.ts +187 -0
- package/src/internal/utils/base64.ts +40 -0
- package/src/internal/utils/bytes.ts +32 -0
- package/src/internal/utils/env.ts +18 -0
- package/src/internal/utils/log.ts +126 -0
- package/src/internal/utils/path.ts +88 -0
- package/src/internal/utils/query.ts +23 -0
- package/src/internal/utils/sleep.ts +3 -0
- package/src/internal/utils/uuid.ts +17 -0
- package/src/internal/utils/values.ts +105 -0
- package/src/internal/utils.ts +9 -0
- package/src/lib/.keep +4 -0
- package/src/resource.ts +2 -0
- package/src/resources/files.ts +126 -0
- package/src/resources/health.ts +25 -0
- package/src/resources/index.ts +31 -0
- package/src/resources/webhooks.ts +93 -0
- package/src/resources/workflows.ts +241 -0
- package/src/resources.ts +1 -0
- package/src/tsconfig.json +11 -0
- package/src/uploads.ts +2 -0
- package/src/version.ts +1 -0
- package/uploads.d.mts +2 -0
- package/uploads.d.mts.map +1 -0
- package/uploads.d.ts +2 -0
- package/uploads.d.ts.map +1 -0
- package/uploads.js +6 -0
- package/uploads.js.map +1 -0
- package/uploads.mjs +2 -0
- package/uploads.mjs.map +1 -0
- package/version.d.mts +2 -0
- package/version.d.mts.map +1 -0
- package/version.d.ts +2 -0
- package/version.d.ts.map +1 -0
- package/version.js +5 -0
- package/version.js.map +1 -0
- package/version.mjs +2 -0
- package/version.mjs.map +1 -0
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Files = void 0;
|
|
5
|
+
const resource_1 = require("../core/resource.js");
|
|
6
|
+
const headers_1 = require("../internal/headers.js");
|
|
7
|
+
const uploads_1 = require("../internal/uploads.js");
|
|
8
|
+
const path_1 = require("../internal/utils/path.js");
|
|
9
|
+
/**
|
|
10
|
+
* File collection management.
|
|
11
|
+
*/
|
|
12
|
+
class Files extends resource_1.APIResource {
|
|
13
|
+
/**
|
|
14
|
+
* Upload files to a workflow, creating a file collection.
|
|
15
|
+
*/
|
|
16
|
+
create(body, options) {
|
|
17
|
+
return this._client.post('/v2/files/', (0, uploads_1.multipartFormRequestOptions)({ body, ...options }, this._client));
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* List file collections for a workflow.
|
|
21
|
+
*/
|
|
22
|
+
list(query = {}, options) {
|
|
23
|
+
return this._client.get('/v2/files/', { query, ...options });
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Delete a file collection and all its files.
|
|
27
|
+
*/
|
|
28
|
+
delete(collectionID, options) {
|
|
29
|
+
return this._client.delete((0, path_1.path) `/v2/files/${collectionID}/`, {
|
|
30
|
+
...options,
|
|
31
|
+
headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Get extraction results for a file collection.
|
|
36
|
+
*
|
|
37
|
+
* Returns 412 if the extraction is not yet complete.
|
|
38
|
+
*/
|
|
39
|
+
getExtractionResults(collectionID, options) {
|
|
40
|
+
return this._client.get((0, path_1.path) `/v2/files/${collectionID}/extraction/`, options);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
exports.Files = Files;
|
|
44
|
+
//# sourceMappingURL=files.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"files.js","sourceRoot":"","sources":["../src/resources/files.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAE/C,oDAAmD;AAEnD,oDAAkE;AAClE,oDAA8C;AAE9C;;GAEG;AACH,MAAa,KAAM,SAAQ,sBAAW;IACpC;;OAEG;IACH,MAAM,CAAC,IAAsB,EAAE,OAAwB;QACrD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,YAAY,EAAE,IAAA,qCAA2B,EAAC,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;IAC1G,CAAC;IAED;;OAEG;IACH,IAAI,CACF,QAA2C,EAAE,EAC7C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,YAAY,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC/D,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,YAAoB,EAAE,OAAwB;QACnD,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,aAAa,YAAY,GAAG,EAAE;YAC3D,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;IAED;;;;OAIG;IACH,oBAAoB,CAAC,YAAoB,EAAE,OAAwB;QACjE,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,aAAa,YAAY,cAAc,EAAE,OAAO,CAAC,CAAC;IAChF,CAAC;CACF;AApCD,sBAoCC"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../core/resource.mjs";
|
|
3
|
+
import { buildHeaders } from "../internal/headers.mjs";
|
|
4
|
+
import { multipartFormRequestOptions } from "../internal/uploads.mjs";
|
|
5
|
+
import { path } from "../internal/utils/path.mjs";
|
|
6
|
+
/**
|
|
7
|
+
* File collection management.
|
|
8
|
+
*/
|
|
9
|
+
export class Files extends APIResource {
|
|
10
|
+
/**
|
|
11
|
+
* Upload files to a workflow, creating a file collection.
|
|
12
|
+
*/
|
|
13
|
+
create(body, options) {
|
|
14
|
+
return this._client.post('/v2/files/', multipartFormRequestOptions({ body, ...options }, this._client));
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* List file collections for a workflow.
|
|
18
|
+
*/
|
|
19
|
+
list(query = {}, options) {
|
|
20
|
+
return this._client.get('/v2/files/', { query, ...options });
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Delete a file collection and all its files.
|
|
24
|
+
*/
|
|
25
|
+
delete(collectionID, options) {
|
|
26
|
+
return this._client.delete(path `/v2/files/${collectionID}/`, {
|
|
27
|
+
...options,
|
|
28
|
+
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Get extraction results for a file collection.
|
|
33
|
+
*
|
|
34
|
+
* Returns 412 if the extraction is not yet complete.
|
|
35
|
+
*/
|
|
36
|
+
getExtractionResults(collectionID, options) {
|
|
37
|
+
return this._client.get(path `/v2/files/${collectionID}/extraction/`, options);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
//# sourceMappingURL=files.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"files.mjs","sourceRoot":"","sources":["../src/resources/files.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAEf,EAAE,YAAY,EAAE;OAEhB,EAAE,2BAA2B,EAAE;OAC/B,EAAE,IAAI,EAAE;AAEf;;GAEG;AACH,MAAM,OAAO,KAAM,SAAQ,WAAW;IACpC;;OAEG;IACH,MAAM,CAAC,IAAsB,EAAE,OAAwB;QACrD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,YAAY,EAAE,2BAA2B,CAAC,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;IAC1G,CAAC;IAED;;OAEG;IACH,IAAI,CACF,QAA2C,EAAE,EAC7C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,YAAY,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC/D,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,YAAoB,EAAE,OAAwB;QACnD,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,aAAa,YAAY,GAAG,EAAE;YAC3D,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;IAED;;;;OAIG;IACH,oBAAoB,CAAC,YAAoB,EAAE,OAAwB;QACjE,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,aAAa,YAAY,cAAc,EAAE,OAAO,CAAC,CAAC;IAChF,CAAC;CACF"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { APIResource } from "../core/resource.mjs";
|
|
2
|
+
import { APIPromise } from "../core/api-promise.mjs";
|
|
3
|
+
import { RequestOptions } from "../internal/request-options.mjs";
|
|
4
|
+
/**
|
|
5
|
+
* Health checks.
|
|
6
|
+
*/
|
|
7
|
+
export declare class Health extends APIResource {
|
|
8
|
+
/**
|
|
9
|
+
* Health check endpoint.
|
|
10
|
+
*
|
|
11
|
+
* Returns 200 OK if the service is running. No authentication required.
|
|
12
|
+
*/
|
|
13
|
+
check(options?: RequestOptions): APIPromise<unknown>;
|
|
14
|
+
}
|
|
15
|
+
export type HealthCheckResponse = unknown;
|
|
16
|
+
export declare namespace Health {
|
|
17
|
+
export { type HealthCheckResponse as HealthCheckResponse };
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=health.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"health.d.mts","sourceRoot":"","sources":["../src/resources/health.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB;;GAEG;AACH,qBAAa,MAAO,SAAQ,WAAW;IACrC;;;;OAIG;IACH,KAAK,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,OAAO,CAAC;CAGrD;AAED,MAAM,MAAM,mBAAmB,GAAG,OAAO,CAAC;AAE1C,MAAM,CAAC,OAAO,WAAW,MAAM,CAAC;IAC9B,OAAO,EAAE,KAAK,mBAAmB,IAAI,mBAAmB,EAAE,CAAC;CAC5D"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { APIResource } from "../core/resource.js";
|
|
2
|
+
import { APIPromise } from "../core/api-promise.js";
|
|
3
|
+
import { RequestOptions } from "../internal/request-options.js";
|
|
4
|
+
/**
|
|
5
|
+
* Health checks.
|
|
6
|
+
*/
|
|
7
|
+
export declare class Health extends APIResource {
|
|
8
|
+
/**
|
|
9
|
+
* Health check endpoint.
|
|
10
|
+
*
|
|
11
|
+
* Returns 200 OK if the service is running. No authentication required.
|
|
12
|
+
*/
|
|
13
|
+
check(options?: RequestOptions): APIPromise<unknown>;
|
|
14
|
+
}
|
|
15
|
+
export type HealthCheckResponse = unknown;
|
|
16
|
+
export declare namespace Health {
|
|
17
|
+
export { type HealthCheckResponse as HealthCheckResponse };
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=health.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"health.d.ts","sourceRoot":"","sources":["../src/resources/health.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB;;GAEG;AACH,qBAAa,MAAO,SAAQ,WAAW;IACrC;;;;OAIG;IACH,KAAK,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,OAAO,CAAC;CAGrD;AAED,MAAM,MAAM,mBAAmB,GAAG,OAAO,CAAC;AAE1C,MAAM,CAAC,OAAO,WAAW,MAAM,CAAC;IAC9B,OAAO,EAAE,KAAK,mBAAmB,IAAI,mBAAmB,EAAE,CAAC;CAC5D"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Health = void 0;
|
|
5
|
+
const resource_1 = require("../core/resource.js");
|
|
6
|
+
/**
|
|
7
|
+
* Health checks.
|
|
8
|
+
*/
|
|
9
|
+
class Health extends resource_1.APIResource {
|
|
10
|
+
/**
|
|
11
|
+
* Health check endpoint.
|
|
12
|
+
*
|
|
13
|
+
* Returns 200 OK if the service is running. No authentication required.
|
|
14
|
+
*/
|
|
15
|
+
check(options) {
|
|
16
|
+
return this._client.get('/health/', options);
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
exports.Health = Health;
|
|
20
|
+
//# sourceMappingURL=health.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"health.js","sourceRoot":"","sources":["../src/resources/health.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAI/C;;GAEG;AACH,MAAa,MAAO,SAAQ,sBAAW;IACrC;;;;OAIG;IACH,KAAK,CAAC,OAAwB;QAC5B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,UAAU,EAAE,OAAO,CAAC,CAAC;IAC/C,CAAC;CACF;AATD,wBASC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../core/resource.mjs";
|
|
3
|
+
/**
|
|
4
|
+
* Health checks.
|
|
5
|
+
*/
|
|
6
|
+
export class Health extends APIResource {
|
|
7
|
+
/**
|
|
8
|
+
* Health check endpoint.
|
|
9
|
+
*
|
|
10
|
+
* Returns 200 OK if the service is running. No authentication required.
|
|
11
|
+
*/
|
|
12
|
+
check(options) {
|
|
13
|
+
return this._client.get('/health/', options);
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=health.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"health.mjs","sourceRoot":"","sources":["../src/resources/health.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAItB;;GAEG;AACH,MAAM,OAAO,MAAO,SAAQ,WAAW;IACrC;;;;OAIG;IACH,KAAK,CAAC,OAAwB;QAC5B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,UAAU,EAAE,OAAO,CAAC,CAAC;IAC/C,CAAC;CACF"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { Files, type FileCreateResponse, type FileListResponse, type FileGetExtractionResultsResponse, type FileCreateParams, type FileListParams, } from "./files.mjs";
|
|
2
|
+
export { Health, type HealthCheckResponse } from "./health.mjs";
|
|
3
|
+
export { Webhooks, type WebhookCreateResponse, type WebhookListResponse, type WebhookCreateParams, } from "./webhooks.mjs";
|
|
4
|
+
export { Workflows, type Workflow, type WorkflowListResponse, type WorkflowListRunsResponse, type WorkflowResultsResponse, type WorkflowRunResponse, type WorkflowUploadResponse, type WorkflowListParams, type WorkflowListRunsParams, type WorkflowResultsParams, type WorkflowRunParams, type WorkflowUploadParams, } from "./workflows.mjs";
|
|
5
|
+
//# sourceMappingURL=index.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"OAEO,EACL,KAAK,EACL,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,gCAAgC,EACrC,KAAK,gBAAgB,EACrB,KAAK,cAAc,GACpB;OACM,EAAE,MAAM,EAAE,KAAK,mBAAmB,EAAE;OACpC,EACL,QAAQ,EACR,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,GACzB;OACM,EACL,SAAS,EACT,KAAK,QAAQ,EACb,KAAK,oBAAoB,EACzB,KAAK,wBAAwB,EAC7B,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,EACxB,KAAK,sBAAsB,EAC3B,KAAK,kBAAkB,EACvB,KAAK,sBAAsB,EAC3B,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACtB,KAAK,oBAAoB,GAC1B"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { Files, type FileCreateResponse, type FileListResponse, type FileGetExtractionResultsResponse, type FileCreateParams, type FileListParams, } from "./files.js";
|
|
2
|
+
export { Health, type HealthCheckResponse } from "./health.js";
|
|
3
|
+
export { Webhooks, type WebhookCreateResponse, type WebhookListResponse, type WebhookCreateParams, } from "./webhooks.js";
|
|
4
|
+
export { Workflows, type Workflow, type WorkflowListResponse, type WorkflowListRunsResponse, type WorkflowResultsResponse, type WorkflowRunResponse, type WorkflowUploadResponse, type WorkflowListParams, type WorkflowListRunsParams, type WorkflowResultsParams, type WorkflowRunParams, type WorkflowUploadParams, } from "./workflows.js";
|
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"OAEO,EACL,KAAK,EACL,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,gCAAgC,EACrC,KAAK,gBAAgB,EACrB,KAAK,cAAc,GACpB;OACM,EAAE,MAAM,EAAE,KAAK,mBAAmB,EAAE;OACpC,EACL,QAAQ,EACR,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,GACzB;OACM,EACL,SAAS,EACT,KAAK,QAAQ,EACb,KAAK,oBAAoB,EACzB,KAAK,wBAAwB,EAC7B,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,EACxB,KAAK,sBAAsB,EAC3B,KAAK,kBAAkB,EACvB,KAAK,sBAAsB,EAC3B,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACtB,KAAK,oBAAoB,GAC1B"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Workflows = exports.Webhooks = exports.Health = exports.Files = void 0;
|
|
5
|
+
var files_1 = require("./files.js");
|
|
6
|
+
Object.defineProperty(exports, "Files", { enumerable: true, get: function () { return files_1.Files; } });
|
|
7
|
+
var health_1 = require("./health.js");
|
|
8
|
+
Object.defineProperty(exports, "Health", { enumerable: true, get: function () { return health_1.Health; } });
|
|
9
|
+
var webhooks_1 = require("./webhooks.js");
|
|
10
|
+
Object.defineProperty(exports, "Webhooks", { enumerable: true, get: function () { return webhooks_1.Webhooks; } });
|
|
11
|
+
var workflows_1 = require("./workflows.js");
|
|
12
|
+
Object.defineProperty(exports, "Workflows", { enumerable: true, get: function () { return workflows_1.Workflows; } });
|
|
13
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,oCAOiB;AANf,8FAAA,KAAK,OAAA;AAOP,sCAA4D;AAAnD,gGAAA,MAAM,OAAA;AACf,0CAKoB;AAJlB,oGAAA,QAAQ,OAAA;AAKV,4CAaqB;AAZnB,sGAAA,SAAS,OAAA"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
export { Files, } from "./files.mjs";
|
|
3
|
+
export { Health } from "./health.mjs";
|
|
4
|
+
export { Webhooks, } from "./webhooks.mjs";
|
|
5
|
+
export { Workflows, } from "./workflows.mjs";
|
|
6
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,KAAK,GAMN;OACM,EAAE,MAAM,EAA4B;OACpC,EACL,QAAQ,GAIT;OACM,EACL,SAAS,GAYV"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { APIResource } from "../core/resource.mjs";
|
|
2
|
+
import { APIPromise } from "../core/api-promise.mjs";
|
|
3
|
+
import { RequestOptions } from "../internal/request-options.mjs";
|
|
4
|
+
/**
|
|
5
|
+
* Webhook subscriptions for async notifications.
|
|
6
|
+
*/
|
|
7
|
+
export declare class Webhooks extends APIResource {
|
|
8
|
+
/**
|
|
9
|
+
* Create a new webhook subscription.
|
|
10
|
+
*
|
|
11
|
+
* Validates URL (HTTPS only) and event types, then forwards to backend service.
|
|
12
|
+
* Returns the created webhook with generated secret.
|
|
13
|
+
*/
|
|
14
|
+
create(body: WebhookCreateParams, options?: RequestOptions): APIPromise<WebhookCreateResponse>;
|
|
15
|
+
/**
|
|
16
|
+
* List all webhook subscriptions for the authenticated organization.
|
|
17
|
+
*
|
|
18
|
+
* Returns a list of webhooks (secrets are excluded in list view).
|
|
19
|
+
*/
|
|
20
|
+
list(options?: RequestOptions): APIPromise<WebhookListResponse>;
|
|
21
|
+
/**
|
|
22
|
+
* Delete a webhook subscription by ID.
|
|
23
|
+
*
|
|
24
|
+
* Returns 204 on success, 404 if webhook not found, 403 if unauthorized.
|
|
25
|
+
*/
|
|
26
|
+
delete(webhookID: string, options?: RequestOptions): APIPromise<void>;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Response schema for webhook subscription (includes secret)
|
|
30
|
+
*/
|
|
31
|
+
export interface WebhookCreateResponse {
|
|
32
|
+
id: string;
|
|
33
|
+
created_at: string;
|
|
34
|
+
events: Array<string>;
|
|
35
|
+
is_active: boolean;
|
|
36
|
+
secret: string;
|
|
37
|
+
url: string;
|
|
38
|
+
}
|
|
39
|
+
export type WebhookListResponse = Array<WebhookListResponse.WebhookListResponseItem>;
|
|
40
|
+
export declare namespace WebhookListResponse {
|
|
41
|
+
/**
|
|
42
|
+
* Response schema for listing webhooks (excludes secret)
|
|
43
|
+
*/
|
|
44
|
+
interface WebhookListResponseItem {
|
|
45
|
+
id: string;
|
|
46
|
+
created_at: string;
|
|
47
|
+
events: Array<string>;
|
|
48
|
+
is_active: boolean;
|
|
49
|
+
url: string;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
export interface WebhookCreateParams {
|
|
53
|
+
url: string;
|
|
54
|
+
events?: Array<string>;
|
|
55
|
+
}
|
|
56
|
+
export declare namespace Webhooks {
|
|
57
|
+
export { type WebhookCreateResponse as WebhookCreateResponse, type WebhookListResponse as WebhookListResponse, type WebhookCreateParams as WebhookCreateParams, };
|
|
58
|
+
}
|
|
59
|
+
//# sourceMappingURL=webhooks.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"webhooks.d.mts","sourceRoot":"","sources":["../src/resources/webhooks.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAGzB;;GAEG;AACH,qBAAa,QAAS,SAAQ,WAAW;IACvC;;;;;OAKG;IACH,MAAM,CAAC,IAAI,EAAE,mBAAmB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,qBAAqB,CAAC;IAI9F;;;;OAIG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,mBAAmB,CAAC;IAI/D;;;;OAIG;IACH,MAAM,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;CAMtE;AAED;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC,EAAE,EAAE,MAAM,CAAC;IAEX,UAAU,EAAE,MAAM,CAAC;IAEnB,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAEtB,SAAS,EAAE,OAAO,CAAC;IAEnB,MAAM,EAAE,MAAM,CAAC;IAEf,GAAG,EAAE,MAAM,CAAC;CACb;AAED,MAAM,MAAM,mBAAmB,GAAG,KAAK,CAAC,mBAAmB,CAAC,uBAAuB,CAAC,CAAC;AAErF,yBAAiB,mBAAmB,CAAC;IACnC;;OAEG;IACH,UAAiB,uBAAuB;QACtC,EAAE,EAAE,MAAM,CAAC;QAEX,UAAU,EAAE,MAAM,CAAC;QAEnB,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;QAEtB,SAAS,EAAE,OAAO,CAAC;QAEnB,GAAG,EAAE,MAAM,CAAC;KACb;CACF;AAED,MAAM,WAAW,mBAAmB;IAClC,GAAG,EAAE,MAAM,CAAC;IAEZ,MAAM,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CACxB;AAED,MAAM,CAAC,OAAO,WAAW,QAAQ,CAAC;IAChC,OAAO,EACL,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;CACH"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { APIResource } from "../core/resource.js";
|
|
2
|
+
import { APIPromise } from "../core/api-promise.js";
|
|
3
|
+
import { RequestOptions } from "../internal/request-options.js";
|
|
4
|
+
/**
|
|
5
|
+
* Webhook subscriptions for async notifications.
|
|
6
|
+
*/
|
|
7
|
+
export declare class Webhooks extends APIResource {
|
|
8
|
+
/**
|
|
9
|
+
* Create a new webhook subscription.
|
|
10
|
+
*
|
|
11
|
+
* Validates URL (HTTPS only) and event types, then forwards to backend service.
|
|
12
|
+
* Returns the created webhook with generated secret.
|
|
13
|
+
*/
|
|
14
|
+
create(body: WebhookCreateParams, options?: RequestOptions): APIPromise<WebhookCreateResponse>;
|
|
15
|
+
/**
|
|
16
|
+
* List all webhook subscriptions for the authenticated organization.
|
|
17
|
+
*
|
|
18
|
+
* Returns a list of webhooks (secrets are excluded in list view).
|
|
19
|
+
*/
|
|
20
|
+
list(options?: RequestOptions): APIPromise<WebhookListResponse>;
|
|
21
|
+
/**
|
|
22
|
+
* Delete a webhook subscription by ID.
|
|
23
|
+
*
|
|
24
|
+
* Returns 204 on success, 404 if webhook not found, 403 if unauthorized.
|
|
25
|
+
*/
|
|
26
|
+
delete(webhookID: string, options?: RequestOptions): APIPromise<void>;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Response schema for webhook subscription (includes secret)
|
|
30
|
+
*/
|
|
31
|
+
export interface WebhookCreateResponse {
|
|
32
|
+
id: string;
|
|
33
|
+
created_at: string;
|
|
34
|
+
events: Array<string>;
|
|
35
|
+
is_active: boolean;
|
|
36
|
+
secret: string;
|
|
37
|
+
url: string;
|
|
38
|
+
}
|
|
39
|
+
export type WebhookListResponse = Array<WebhookListResponse.WebhookListResponseItem>;
|
|
40
|
+
export declare namespace WebhookListResponse {
|
|
41
|
+
/**
|
|
42
|
+
* Response schema for listing webhooks (excludes secret)
|
|
43
|
+
*/
|
|
44
|
+
interface WebhookListResponseItem {
|
|
45
|
+
id: string;
|
|
46
|
+
created_at: string;
|
|
47
|
+
events: Array<string>;
|
|
48
|
+
is_active: boolean;
|
|
49
|
+
url: string;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
export interface WebhookCreateParams {
|
|
53
|
+
url: string;
|
|
54
|
+
events?: Array<string>;
|
|
55
|
+
}
|
|
56
|
+
export declare namespace Webhooks {
|
|
57
|
+
export { type WebhookCreateResponse as WebhookCreateResponse, type WebhookListResponse as WebhookListResponse, type WebhookCreateParams as WebhookCreateParams, };
|
|
58
|
+
}
|
|
59
|
+
//# sourceMappingURL=webhooks.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"webhooks.d.ts","sourceRoot":"","sources":["../src/resources/webhooks.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,E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ACH"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Webhooks = void 0;
|
|
5
|
+
const resource_1 = require("../core/resource.js");
|
|
6
|
+
const headers_1 = require("../internal/headers.js");
|
|
7
|
+
const path_1 = require("../internal/utils/path.js");
|
|
8
|
+
/**
|
|
9
|
+
* Webhook subscriptions for async notifications.
|
|
10
|
+
*/
|
|
11
|
+
class Webhooks extends resource_1.APIResource {
|
|
12
|
+
/**
|
|
13
|
+
* Create a new webhook subscription.
|
|
14
|
+
*
|
|
15
|
+
* Validates URL (HTTPS only) and event types, then forwards to backend service.
|
|
16
|
+
* Returns the created webhook with generated secret.
|
|
17
|
+
*/
|
|
18
|
+
create(body, options) {
|
|
19
|
+
return this._client.post('/v2/webhooks/', { body, ...options });
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* List all webhook subscriptions for the authenticated organization.
|
|
23
|
+
*
|
|
24
|
+
* Returns a list of webhooks (secrets are excluded in list view).
|
|
25
|
+
*/
|
|
26
|
+
list(options) {
|
|
27
|
+
return this._client.get('/v2/webhooks/', options);
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Delete a webhook subscription by ID.
|
|
31
|
+
*
|
|
32
|
+
* Returns 204 on success, 404 if webhook not found, 403 if unauthorized.
|
|
33
|
+
*/
|
|
34
|
+
delete(webhookID, options) {
|
|
35
|
+
return this._client.delete((0, path_1.path) `/v2/webhooks/${webhookID}/`, {
|
|
36
|
+
...options,
|
|
37
|
+
headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
exports.Webhooks = Webhooks;
|
|
42
|
+
//# sourceMappingURL=webhooks.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"webhooks.js","sourceRoot":"","sources":["../src/resources/webhooks.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAE/C,oDAAmD;AAEnD,oDAA8C;AAE9C;;GAEG;AACH,MAAa,QAAS,SAAQ,sBAAW;IACvC;;;;;OAKG;IACH,MAAM,CAAC,IAAyB,EAAE,OAAwB;QACxD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,eAAe,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAClE,CAAC;IAED;;;;OAIG;IACH,IAAI,CAAC,OAAwB;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,eAAe,EAAE,OAAO,CAAC,CAAC;IACpD,CAAC;IAED;;;;OAIG;IACH,MAAM,CAAC,SAAiB,EAAE,OAAwB;QAChD,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,gBAAgB,SAAS,GAAG,EAAE;YAC3D,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;CACF;AA/BD,4BA+BC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../core/resource.mjs";
|
|
3
|
+
import { buildHeaders } from "../internal/headers.mjs";
|
|
4
|
+
import { path } from "../internal/utils/path.mjs";
|
|
5
|
+
/**
|
|
6
|
+
* Webhook subscriptions for async notifications.
|
|
7
|
+
*/
|
|
8
|
+
export class Webhooks extends APIResource {
|
|
9
|
+
/**
|
|
10
|
+
* Create a new webhook subscription.
|
|
11
|
+
*
|
|
12
|
+
* Validates URL (HTTPS only) and event types, then forwards to backend service.
|
|
13
|
+
* Returns the created webhook with generated secret.
|
|
14
|
+
*/
|
|
15
|
+
create(body, options) {
|
|
16
|
+
return this._client.post('/v2/webhooks/', { body, ...options });
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* List all webhook subscriptions for the authenticated organization.
|
|
20
|
+
*
|
|
21
|
+
* Returns a list of webhooks (secrets are excluded in list view).
|
|
22
|
+
*/
|
|
23
|
+
list(options) {
|
|
24
|
+
return this._client.get('/v2/webhooks/', options);
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Delete a webhook subscription by ID.
|
|
28
|
+
*
|
|
29
|
+
* Returns 204 on success, 404 if webhook not found, 403 if unauthorized.
|
|
30
|
+
*/
|
|
31
|
+
delete(webhookID, options) {
|
|
32
|
+
return this._client.delete(path `/v2/webhooks/${webhookID}/`, {
|
|
33
|
+
...options,
|
|
34
|
+
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
//# sourceMappingURL=webhooks.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"webhooks.mjs","sourceRoot":"","sources":["../src/resources/webhooks.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAEf,EAAE,YAAY,EAAE;OAEhB,EAAE,IAAI,EAAE;AAEf;;GAEG;AACH,MAAM,OAAO,QAAS,SAAQ,WAAW;IACvC;;;;;OAKG;IACH,MAAM,CAAC,IAAyB,EAAE,OAAwB;QACxD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,eAAe,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAClE,CAAC;IAED;;;;OAIG;IACH,IAAI,CAAC,OAAwB;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,eAAe,EAAE,OAAO,CAAC,CAAC;IACpD,CAAC;IAED;;;;OAIG;IACH,MAAM,CAAC,SAAiB,EAAE,OAAwB;QAChD,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,gBAAgB,SAAS,GAAG,EAAE;YAC3D,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;CACF"}
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
import { APIResource } from "../core/resource.mjs";
|
|
2
|
+
import { APIPromise } from "../core/api-promise.mjs";
|
|
3
|
+
import { RequestOptions } from "../internal/request-options.mjs";
|
|
4
|
+
/**
|
|
5
|
+
* Workflow CRUD, execution, runs, and results.
|
|
6
|
+
*/
|
|
7
|
+
export declare class Workflows extends APIResource {
|
|
8
|
+
/**
|
|
9
|
+
* Create a new workflow.
|
|
10
|
+
*/
|
|
11
|
+
create(options?: RequestOptions): APIPromise<Workflow>;
|
|
12
|
+
/**
|
|
13
|
+
* Get workflow by ID.
|
|
14
|
+
*/
|
|
15
|
+
retrieve(workflowID: string, options?: RequestOptions): APIPromise<Workflow>;
|
|
16
|
+
/**
|
|
17
|
+
* List workflows with pagination.
|
|
18
|
+
*/
|
|
19
|
+
list(query?: WorkflowListParams | null | undefined, options?: RequestOptions): APIPromise<WorkflowListResponse>;
|
|
20
|
+
/**
|
|
21
|
+
* Delete workflow by ID.
|
|
22
|
+
*/
|
|
23
|
+
delete(workflowID: string, options?: RequestOptions): APIPromise<void>;
|
|
24
|
+
/**
|
|
25
|
+
* List extraction runs for a workflow, identified by collection UUID.
|
|
26
|
+
*/
|
|
27
|
+
listRuns(workflowID: string, query?: WorkflowListRunsParams | null | undefined, options?: RequestOptions): APIPromise<WorkflowListRunsResponse>;
|
|
28
|
+
/**
|
|
29
|
+
* Get workflow results.
|
|
30
|
+
*/
|
|
31
|
+
results(workflowID: string, query?: WorkflowResultsParams | null | undefined, options?: RequestOptions): APIPromise<unknown>;
|
|
32
|
+
/**
|
|
33
|
+
* Execute workflow — returns collection UUID.
|
|
34
|
+
*/
|
|
35
|
+
run(workflowID: string, body?: WorkflowRunParams | null | undefined, options?: RequestOptions): APIPromise<WorkflowRunResponse>;
|
|
36
|
+
/**
|
|
37
|
+
* Upload file without executing workflow.
|
|
38
|
+
*/
|
|
39
|
+
upload(workflowID: string, body?: WorkflowUploadParams | null | undefined, options?: RequestOptions): APIPromise<WorkflowUploadResponse>;
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* Workflow detail — used for get, create, and list items.
|
|
43
|
+
*/
|
|
44
|
+
export interface Workflow {
|
|
45
|
+
id: string;
|
|
46
|
+
name: string;
|
|
47
|
+
created_at?: string | null;
|
|
48
|
+
description?: string | null;
|
|
49
|
+
fields?: Array<{
|
|
50
|
+
[key: string]: unknown;
|
|
51
|
+
}> | null;
|
|
52
|
+
updated_at?: string | null;
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* GET /workflows/ — paginated workflow list.
|
|
56
|
+
*/
|
|
57
|
+
export interface WorkflowListResponse {
|
|
58
|
+
count: number;
|
|
59
|
+
page: number;
|
|
60
|
+
page_size: number;
|
|
61
|
+
results: Array<Workflow>;
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* GET /workflows/{id}/runs/ — paginated run list.
|
|
65
|
+
*/
|
|
66
|
+
export interface WorkflowListRunsResponse {
|
|
67
|
+
count: number;
|
|
68
|
+
page: number;
|
|
69
|
+
page_size: number;
|
|
70
|
+
results: Array<WorkflowListRunsResponse.Result>;
|
|
71
|
+
}
|
|
72
|
+
export declare namespace WorkflowListRunsResponse {
|
|
73
|
+
/**
|
|
74
|
+
* Item in GET /workflows/{id}/runs/ paginated list.
|
|
75
|
+
*/
|
|
76
|
+
interface Result {
|
|
77
|
+
id: string;
|
|
78
|
+
status: string;
|
|
79
|
+
created_at?: string | null;
|
|
80
|
+
updated_at?: string | null;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
export type WorkflowResultsResponse = unknown;
|
|
84
|
+
/**
|
|
85
|
+
* Response for workflow run endpoint (v2) — collection UUID as identifier.
|
|
86
|
+
*/
|
|
87
|
+
export interface WorkflowRunResponse {
|
|
88
|
+
id: string;
|
|
89
|
+
status: string;
|
|
90
|
+
workflow_id: string;
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* POST /workflows/{id}/upload/ — upload confirmation.
|
|
94
|
+
*/
|
|
95
|
+
export interface WorkflowUploadResponse {
|
|
96
|
+
status: string;
|
|
97
|
+
filename?: string | null;
|
|
98
|
+
}
|
|
99
|
+
export interface WorkflowListParams {
|
|
100
|
+
order?: string | null;
|
|
101
|
+
page?: number;
|
|
102
|
+
page_size?: number;
|
|
103
|
+
sort_by?: string | null;
|
|
104
|
+
status?: string | null;
|
|
105
|
+
}
|
|
106
|
+
export interface WorkflowListRunsParams {
|
|
107
|
+
page?: number;
|
|
108
|
+
page_size?: number;
|
|
109
|
+
}
|
|
110
|
+
export interface WorkflowResultsParams {
|
|
111
|
+
as_lists?: string | null;
|
|
112
|
+
output_format?: string;
|
|
113
|
+
}
|
|
114
|
+
export interface WorkflowRunParams {
|
|
115
|
+
content_type?: string | null;
|
|
116
|
+
file?: string | null;
|
|
117
|
+
file_base64?: string | null;
|
|
118
|
+
filename?: string | null;
|
|
119
|
+
text?: string | null;
|
|
120
|
+
}
|
|
121
|
+
export interface WorkflowUploadParams {
|
|
122
|
+
content_type?: string | null;
|
|
123
|
+
file?: string | null;
|
|
124
|
+
file_base64?: string | null;
|
|
125
|
+
filename?: string | null;
|
|
126
|
+
text?: string | null;
|
|
127
|
+
}
|
|
128
|
+
export declare namespace Workflows {
|
|
129
|
+
export { type Workflow as Workflow, type WorkflowListResponse as WorkflowListResponse, type WorkflowListRunsResponse as WorkflowListRunsResponse, type WorkflowResultsResponse as WorkflowResultsResponse, type WorkflowRunResponse as WorkflowRunResponse, type WorkflowUploadResponse as WorkflowUploadResponse, type WorkflowListParams as WorkflowListParams, type WorkflowListRunsParams as WorkflowListRunsParams, type WorkflowResultsParams as WorkflowResultsParams, type WorkflowRunParams as WorkflowRunParams, type WorkflowUploadParams as WorkflowUploadParams, };
|
|
130
|
+
}
|
|
131
|
+
//# sourceMappingURL=workflows.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workflows.d.mts","sourceRoot":"","sources":["../src/resources/workflows.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAIzB;;GAEG;AACH,qBAAa,SAAU,SAAQ,WAAW;IACxC;;OAEG;IACH,MAAM,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,QAAQ,CAAC;IAItD;;OAEG;IACH,QAAQ,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,QAAQ,CAAC;IAI5E;;OAEG;IACH,IAAI,CACF,KAAK,GAAE,kBAAkB,GAAG,IAAI,GAAG,SAAc,EACjD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,oBAAoB,CAAC;IAInC;;OAEG;IACH,MAAM,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;IAOtE;;OAEG;IACH,QAAQ,CACN,UAAU,EAAE,MAAM,EAClB,KAAK,GAAE,sBAAsB,GAAG,IAAI,GAAG,SAAc,EACrD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,wBAAwB,CAAC;IAIvC;;OAEG;IACH,OAAO,CACL,UAAU,EAAE,MAAM,EAClB,KAAK,GAAE,qBAAqB,GAAG,IAAI,GAAG,SAAc,EACpD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,OAAO,CAAC;IAItB;;OAEG;IACH,GAAG,CACD,UAAU,EAAE,MAAM,EAClB,IAAI,GAAE,iBAAiB,GAAG,IA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