phenoml 17.4.0 → 17.7.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/dist/cjs/BaseClient.js +2 -2
- package/dist/cjs/Client.d.ts +3 -0
- package/dist/cjs/Client.js +7 -2
- package/dist/cjs/api/resources/agent/errors/ConflictError.d.ts +5 -0
- package/dist/cjs/api/resources/agent/errors/ConflictError.js +54 -0
- package/dist/cjs/api/resources/agent/errors/index.d.ts +1 -0
- package/dist/cjs/api/resources/agent/errors/index.js +1 -0
- package/dist/cjs/api/resources/agent/resources/chat/client/Client.d.ts +1 -0
- package/dist/cjs/api/resources/agent/resources/chat/client/Client.js +5 -0
- package/dist/cjs/api/resources/agent/resources/chat/client/requests/AgentChatRequest.d.ts +1 -1
- package/dist/cjs/api/resources/agent/resources/chat/client/requests/AgentStreamChatRequest.d.ts +1 -1
- package/dist/cjs/api/resources/fhir2Omop/client/Client.d.ts +26 -0
- package/dist/cjs/api/resources/fhir2Omop/client/Client.js +26 -0
- package/dist/cjs/api/resources/fhir2Omop/client/requests/CreateOmopRequest.d.ts +6 -3
- package/dist/cjs/api/resources/fhir2Omop/types/CreateOmopResponse.d.ts +6 -1
- package/dist/cjs/api/resources/fhirProvider/types/Provider.d.ts +1 -0
- package/dist/cjs/api/resources/fhirProvider/types/Provider.js +1 -0
- package/dist/cjs/api/resources/index.d.ts +1 -0
- package/dist/cjs/api/resources/index.js +2 -1
- package/dist/cjs/api/resources/voice/client/Client.d.ts +12 -0
- package/dist/cjs/api/resources/voice/client/Client.js +16 -0
- package/dist/cjs/api/resources/voice/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/voice/client/index.js +2 -0
- package/dist/cjs/api/resources/voice/errors/BadGatewayError.d.ts +5 -0
- package/dist/cjs/api/resources/voice/errors/BadGatewayError.js +54 -0
- package/dist/cjs/api/resources/voice/errors/BadRequestError.d.ts +5 -0
- package/dist/cjs/api/resources/voice/errors/BadRequestError.js +54 -0
- package/dist/cjs/api/resources/voice/errors/ContentTooLargeError.d.ts +5 -0
- package/dist/cjs/api/resources/voice/errors/ContentTooLargeError.js +54 -0
- package/dist/cjs/api/resources/voice/errors/GatewayTimeoutError.d.ts +5 -0
- package/dist/cjs/api/resources/voice/errors/GatewayTimeoutError.js +54 -0
- package/dist/cjs/api/resources/voice/errors/PaymentRequiredError.d.ts +5 -0
- package/dist/cjs/api/resources/voice/errors/PaymentRequiredError.js +54 -0
- package/dist/cjs/api/resources/voice/errors/ServiceUnavailableError.d.ts +5 -0
- package/dist/cjs/api/resources/voice/errors/ServiceUnavailableError.js +54 -0
- package/dist/cjs/api/resources/voice/errors/UnauthorizedError.d.ts +5 -0
- package/dist/cjs/api/resources/voice/errors/UnauthorizedError.js +54 -0
- package/dist/cjs/api/resources/voice/errors/index.d.ts +7 -0
- package/dist/cjs/api/resources/voice/errors/index.js +23 -0
- package/dist/cjs/api/resources/voice/exports.d.ts +3 -0
- package/dist/cjs/api/resources/voice/exports.js +22 -0
- package/dist/cjs/api/resources/voice/index.d.ts +4 -0
- package/dist/cjs/api/resources/voice/index.js +20 -0
- package/dist/cjs/api/resources/voice/resources/index.d.ts +2 -0
- package/dist/cjs/api/resources/voice/resources/index.js +41 -0
- package/dist/cjs/api/resources/voice/resources/voice/client/Client.d.ts +41 -0
- package/dist/cjs/api/resources/voice/resources/voice/client/Client.js +146 -0
- package/dist/cjs/api/resources/voice/resources/voice/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/voice/resources/voice/client/index.js +17 -0
- package/dist/cjs/api/resources/voice/resources/voice/client/requests/TranscribeRequest.d.ts +4 -0
- package/dist/cjs/api/resources/voice/resources/voice/client/requests/TranscribeRequest.js +3 -0
- package/dist/cjs/api/resources/voice/resources/voice/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/voice/resources/voice/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/voice/resources/voice/exports.d.ts +2 -0
- package/dist/cjs/api/resources/voice/resources/voice/exports.js +21 -0
- package/dist/cjs/api/resources/voice/resources/voice/index.d.ts +1 -0
- package/dist/cjs/api/resources/voice/resources/voice/index.js +17 -0
- package/dist/cjs/api/resources/voice/types/TranscribeResponse.d.ts +4 -0
- package/dist/cjs/api/resources/voice/types/TranscribeResponse.js +3 -0
- package/dist/cjs/api/resources/voice/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/voice/types/index.js +17 -0
- package/dist/cjs/core/exports.d.ts +1 -0
- package/dist/cjs/core/exports.js +1 -0
- package/dist/cjs/core/file/exports.d.ts +1 -0
- package/dist/cjs/core/file/exports.js +2 -0
- package/dist/cjs/core/file/file.d.ts +10 -0
- package/dist/cjs/core/file/file.js +222 -0
- package/dist/cjs/core/file/index.d.ts +2 -0
- package/dist/cjs/core/file/index.js +18 -0
- package/dist/cjs/core/file/types.d.ts +66 -0
- package/dist/cjs/core/file/types.js +2 -0
- package/dist/cjs/core/index.d.ts +1 -0
- package/dist/cjs/core/index.js +2 -1
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/BaseClient.mjs +2 -2
- package/dist/esm/Client.d.mts +3 -0
- package/dist/esm/Client.mjs +5 -0
- package/dist/esm/api/resources/agent/errors/ConflictError.d.mts +5 -0
- package/dist/esm/api/resources/agent/errors/ConflictError.mjs +17 -0
- package/dist/esm/api/resources/agent/errors/index.d.mts +1 -0
- package/dist/esm/api/resources/agent/errors/index.mjs +1 -0
- package/dist/esm/api/resources/agent/resources/chat/client/Client.d.mts +1 -0
- package/dist/esm/api/resources/agent/resources/chat/client/Client.mjs +5 -0
- package/dist/esm/api/resources/agent/resources/chat/client/requests/AgentChatRequest.d.mts +1 -1
- package/dist/esm/api/resources/agent/resources/chat/client/requests/AgentStreamChatRequest.d.mts +1 -1
- package/dist/esm/api/resources/fhir2Omop/client/Client.d.mts +26 -0
- package/dist/esm/api/resources/fhir2Omop/client/Client.mjs +26 -0
- package/dist/esm/api/resources/fhir2Omop/client/requests/CreateOmopRequest.d.mts +6 -3
- package/dist/esm/api/resources/fhir2Omop/types/CreateOmopResponse.d.mts +6 -1
- package/dist/esm/api/resources/fhirProvider/types/Provider.d.mts +1 -0
- package/dist/esm/api/resources/fhirProvider/types/Provider.mjs +1 -0
- package/dist/esm/api/resources/index.d.mts +1 -0
- package/dist/esm/api/resources/index.mjs +1 -0
- package/dist/esm/api/resources/voice/client/Client.d.mts +12 -0
- package/dist/esm/api/resources/voice/client/Client.mjs +12 -0
- package/dist/esm/api/resources/voice/client/index.d.mts +1 -0
- package/dist/esm/api/resources/voice/client/index.mjs +1 -0
- package/dist/esm/api/resources/voice/errors/BadGatewayError.d.mts +5 -0
- package/dist/esm/api/resources/voice/errors/BadGatewayError.mjs +17 -0
- package/dist/esm/api/resources/voice/errors/BadRequestError.d.mts +5 -0
- package/dist/esm/api/resources/voice/errors/BadRequestError.mjs +17 -0
- package/dist/esm/api/resources/voice/errors/ContentTooLargeError.d.mts +5 -0
- package/dist/esm/api/resources/voice/errors/ContentTooLargeError.mjs +17 -0
- package/dist/esm/api/resources/voice/errors/GatewayTimeoutError.d.mts +5 -0
- package/dist/esm/api/resources/voice/errors/GatewayTimeoutError.mjs +17 -0
- package/dist/esm/api/resources/voice/errors/PaymentRequiredError.d.mts +5 -0
- package/dist/esm/api/resources/voice/errors/PaymentRequiredError.mjs +17 -0
- package/dist/esm/api/resources/voice/errors/ServiceUnavailableError.d.mts +5 -0
- package/dist/esm/api/resources/voice/errors/ServiceUnavailableError.mjs +17 -0
- package/dist/esm/api/resources/voice/errors/UnauthorizedError.d.mts +5 -0
- package/dist/esm/api/resources/voice/errors/UnauthorizedError.mjs +17 -0
- package/dist/esm/api/resources/voice/errors/index.d.mts +7 -0
- package/dist/esm/api/resources/voice/errors/index.mjs +7 -0
- package/dist/esm/api/resources/voice/exports.d.mts +3 -0
- package/dist/esm/api/resources/voice/exports.mjs +4 -0
- package/dist/esm/api/resources/voice/index.d.mts +4 -0
- package/dist/esm/api/resources/voice/index.mjs +4 -0
- package/dist/esm/api/resources/voice/resources/index.d.mts +2 -0
- package/dist/esm/api/resources/voice/resources/index.mjs +2 -0
- package/dist/esm/api/resources/voice/resources/voice/client/Client.d.mts +41 -0
- package/dist/esm/api/resources/voice/resources/voice/client/Client.mjs +109 -0
- package/dist/esm/api/resources/voice/resources/voice/client/index.d.mts +1 -0
- package/dist/esm/api/resources/voice/resources/voice/client/index.mjs +1 -0
- package/dist/esm/api/resources/voice/resources/voice/client/requests/TranscribeRequest.d.mts +4 -0
- package/dist/esm/api/resources/voice/resources/voice/client/requests/TranscribeRequest.mjs +2 -0
- package/dist/esm/api/resources/voice/resources/voice/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/voice/resources/voice/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/voice/resources/voice/exports.d.mts +2 -0
- package/dist/esm/api/resources/voice/resources/voice/exports.mjs +3 -0
- package/dist/esm/api/resources/voice/resources/voice/index.d.mts +1 -0
- package/dist/esm/api/resources/voice/resources/voice/index.mjs +1 -0
- package/dist/esm/api/resources/voice/types/TranscribeResponse.d.mts +4 -0
- package/dist/esm/api/resources/voice/types/TranscribeResponse.mjs +2 -0
- package/dist/esm/api/resources/voice/types/index.d.mts +1 -0
- package/dist/esm/api/resources/voice/types/index.mjs +1 -0
- package/dist/esm/core/exports.d.mts +1 -0
- package/dist/esm/core/exports.mjs +1 -0
- package/dist/esm/core/file/exports.d.mts +1 -0
- package/dist/esm/core/file/exports.mjs +1 -0
- package/dist/esm/core/file/file.d.mts +10 -0
- package/dist/esm/core/file/file.mjs +185 -0
- package/dist/esm/core/file/index.d.mts +2 -0
- package/dist/esm/core/file/index.mjs +2 -0
- package/dist/esm/core/file/types.d.mts +66 -0
- package/dist/esm/core/file/types.mjs +1 -0
- package/dist/esm/core/index.d.mts +1 -0
- package/dist/esm/core/index.mjs +1 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/openapi/openapi.json +110 -6
- package/package.json +12 -1
- package/reference.md +27 -0
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.PaymentRequiredError = void 0;
|
|
38
|
+
const errors = __importStar(require("../../../../errors/index.js"));
|
|
39
|
+
class PaymentRequiredError extends errors.phenomlError {
|
|
40
|
+
constructor(body, rawResponse) {
|
|
41
|
+
super({
|
|
42
|
+
message: "PaymentRequiredError",
|
|
43
|
+
statusCode: 402,
|
|
44
|
+
body: body,
|
|
45
|
+
rawResponse: rawResponse,
|
|
46
|
+
});
|
|
47
|
+
Object.setPrototypeOf(this, new.target.prototype);
|
|
48
|
+
if (Error.captureStackTrace) {
|
|
49
|
+
Error.captureStackTrace(this, this.constructor);
|
|
50
|
+
}
|
|
51
|
+
this.name = this.constructor.name;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
exports.PaymentRequiredError = PaymentRequiredError;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.ServiceUnavailableError = void 0;
|
|
38
|
+
const errors = __importStar(require("../../../../errors/index.js"));
|
|
39
|
+
class ServiceUnavailableError extends errors.phenomlError {
|
|
40
|
+
constructor(body, rawResponse) {
|
|
41
|
+
super({
|
|
42
|
+
message: "ServiceUnavailableError",
|
|
43
|
+
statusCode: 503,
|
|
44
|
+
body: body,
|
|
45
|
+
rawResponse: rawResponse,
|
|
46
|
+
});
|
|
47
|
+
Object.setPrototypeOf(this, new.target.prototype);
|
|
48
|
+
if (Error.captureStackTrace) {
|
|
49
|
+
Error.captureStackTrace(this, this.constructor);
|
|
50
|
+
}
|
|
51
|
+
this.name = this.constructor.name;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
exports.ServiceUnavailableError = ServiceUnavailableError;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.UnauthorizedError = void 0;
|
|
38
|
+
const errors = __importStar(require("../../../../errors/index.js"));
|
|
39
|
+
class UnauthorizedError extends errors.phenomlError {
|
|
40
|
+
constructor(body, rawResponse) {
|
|
41
|
+
super({
|
|
42
|
+
message: "UnauthorizedError",
|
|
43
|
+
statusCode: 401,
|
|
44
|
+
body: body,
|
|
45
|
+
rawResponse: rawResponse,
|
|
46
|
+
});
|
|
47
|
+
Object.setPrototypeOf(this, new.target.prototype);
|
|
48
|
+
if (Error.captureStackTrace) {
|
|
49
|
+
Error.captureStackTrace(this, this.constructor);
|
|
50
|
+
}
|
|
51
|
+
this.name = this.constructor.name;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
exports.UnauthorizedError = UnauthorizedError;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export * from "./BadGatewayError.js";
|
|
2
|
+
export * from "./BadRequestError.js";
|
|
3
|
+
export * from "./ContentTooLargeError.js";
|
|
4
|
+
export * from "./GatewayTimeoutError.js";
|
|
5
|
+
export * from "./PaymentRequiredError.js";
|
|
6
|
+
export * from "./ServiceUnavailableError.js";
|
|
7
|
+
export * from "./UnauthorizedError.js";
|
|
@@ -0,0 +1,23 @@
|
|
|
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 __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./BadGatewayError.js"), exports);
|
|
18
|
+
__exportStar(require("./BadRequestError.js"), exports);
|
|
19
|
+
__exportStar(require("./ContentTooLargeError.js"), exports);
|
|
20
|
+
__exportStar(require("./GatewayTimeoutError.js"), exports);
|
|
21
|
+
__exportStar(require("./PaymentRequiredError.js"), exports);
|
|
22
|
+
__exportStar(require("./ServiceUnavailableError.js"), exports);
|
|
23
|
+
__exportStar(require("./UnauthorizedError.js"), exports);
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
15
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
16
|
+
};
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.VoiceClient = void 0;
|
|
19
|
+
var Client_js_1 = require("./client/Client.js");
|
|
20
|
+
Object.defineProperty(exports, "VoiceClient", { enumerable: true, get: function () { return Client_js_1.VoiceClient; } });
|
|
21
|
+
__exportStar(require("./client/index.js"), exports);
|
|
22
|
+
__exportStar(require("./resources/index.js"), exports);
|
|
@@ -0,0 +1,20 @@
|
|
|
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 __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./client/index.js"), exports);
|
|
18
|
+
__exportStar(require("./errors/index.js"), exports);
|
|
19
|
+
__exportStar(require("./resources/index.js"), exports);
|
|
20
|
+
__exportStar(require("./types/index.js"), exports);
|
|
@@ -0,0 +1,41 @@
|
|
|
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 () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.voice = void 0;
|
|
40
|
+
__exportStar(require("./voice/client/requests/index.js"), exports);
|
|
41
|
+
exports.voice = __importStar(require("./voice/index.js"));
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import type { BaseClientOptions, BaseRequestOptions } from "../../../../../../BaseClient.js";
|
|
2
|
+
import { type NormalizedClientOptionsWithAuth } from "../../../../../../BaseClient.js";
|
|
3
|
+
import * as core from "../../../../../../core/index.js";
|
|
4
|
+
import * as phenoml from "../../../../../index.js";
|
|
5
|
+
export declare namespace VoiceClient {
|
|
6
|
+
type Options = BaseClientOptions;
|
|
7
|
+
interface RequestOptions extends BaseRequestOptions {
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Speech-to-text transcription of audio recordings.
|
|
12
|
+
*/
|
|
13
|
+
export declare class VoiceClient {
|
|
14
|
+
protected readonly _options: NormalizedClientOptionsWithAuth<VoiceClient.Options>;
|
|
15
|
+
constructor(options?: VoiceClient.Options);
|
|
16
|
+
/**
|
|
17
|
+
* Transcribes an uploaded audio recording and returns the transcript.
|
|
18
|
+
* Send the raw audio bytes as the request body; the audio format is
|
|
19
|
+
* detected automatically (WAV, FLAC, MP3, OGG/WebM Opus).
|
|
20
|
+
*
|
|
21
|
+
* Supports up to ~5 minutes of audio per request. This limit is on audio
|
|
22
|
+
* duration regardless of file size or format, so a compressed recording
|
|
23
|
+
* within the size limit can still be rejected for being too long. Pair the
|
|
24
|
+
* transcript with a downstream text step (e.g. `POST /lang2fhir/create`)
|
|
25
|
+
* to turn it into a FHIR resource.
|
|
26
|
+
*
|
|
27
|
+
* @param {core.file.Uploadable} uploadable
|
|
28
|
+
* @param {phenoml.voice.TranscribeRequest} request
|
|
29
|
+
* @param {VoiceClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
30
|
+
*
|
|
31
|
+
* @throws {@link phenoml.voice.BadRequestError}
|
|
32
|
+
* @throws {@link phenoml.voice.UnauthorizedError}
|
|
33
|
+
* @throws {@link phenoml.voice.PaymentRequiredError}
|
|
34
|
+
* @throws {@link phenoml.voice.ContentTooLargeError}
|
|
35
|
+
* @throws {@link phenoml.voice.BadGatewayError}
|
|
36
|
+
* @throws {@link phenoml.voice.ServiceUnavailableError}
|
|
37
|
+
* @throws {@link phenoml.voice.GatewayTimeoutError}
|
|
38
|
+
*/
|
|
39
|
+
transcribe(uploadable: core.file.Uploadable, request: phenoml.voice.TranscribeRequest, requestOptions?: VoiceClient.RequestOptions): core.HttpResponsePromise<phenoml.voice.TranscribeResponse>;
|
|
40
|
+
private __transcribe;
|
|
41
|
+
}
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
37
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
38
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
39
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
40
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
41
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
42
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
43
|
+
});
|
|
44
|
+
};
|
|
45
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
46
|
+
exports.VoiceClient = void 0;
|
|
47
|
+
const BaseClient_js_1 = require("../../../../../../BaseClient.js");
|
|
48
|
+
const headers_js_1 = require("../../../../../../core/headers.js");
|
|
49
|
+
const core = __importStar(require("../../../../../../core/index.js"));
|
|
50
|
+
const environments = __importStar(require("../../../../../../environments.js"));
|
|
51
|
+
const handleNonStatusCodeError_js_1 = require("../../../../../../errors/handleNonStatusCodeError.js");
|
|
52
|
+
const errors = __importStar(require("../../../../../../errors/index.js"));
|
|
53
|
+
const phenoml = __importStar(require("../../../../../index.js"));
|
|
54
|
+
/**
|
|
55
|
+
* Speech-to-text transcription of audio recordings.
|
|
56
|
+
*/
|
|
57
|
+
class VoiceClient {
|
|
58
|
+
constructor(options = {}) {
|
|
59
|
+
this._options = (0, BaseClient_js_1.normalizeClientOptionsWithAuth)(options);
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Transcribes an uploaded audio recording and returns the transcript.
|
|
63
|
+
* Send the raw audio bytes as the request body; the audio format is
|
|
64
|
+
* detected automatically (WAV, FLAC, MP3, OGG/WebM Opus).
|
|
65
|
+
*
|
|
66
|
+
* Supports up to ~5 minutes of audio per request. This limit is on audio
|
|
67
|
+
* duration regardless of file size or format, so a compressed recording
|
|
68
|
+
* within the size limit can still be rejected for being too long. Pair the
|
|
69
|
+
* transcript with a downstream text step (e.g. `POST /lang2fhir/create`)
|
|
70
|
+
* to turn it into a FHIR resource.
|
|
71
|
+
*
|
|
72
|
+
* @param {core.file.Uploadable} uploadable
|
|
73
|
+
* @param {phenoml.voice.TranscribeRequest} request
|
|
74
|
+
* @param {VoiceClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link phenoml.voice.BadRequestError}
|
|
77
|
+
* @throws {@link phenoml.voice.UnauthorizedError}
|
|
78
|
+
* @throws {@link phenoml.voice.PaymentRequiredError}
|
|
79
|
+
* @throws {@link phenoml.voice.ContentTooLargeError}
|
|
80
|
+
* @throws {@link phenoml.voice.BadGatewayError}
|
|
81
|
+
* @throws {@link phenoml.voice.ServiceUnavailableError}
|
|
82
|
+
* @throws {@link phenoml.voice.GatewayTimeoutError}
|
|
83
|
+
*/
|
|
84
|
+
transcribe(uploadable, request, requestOptions) {
|
|
85
|
+
return core.HttpResponsePromise.fromPromise(this.__transcribe(uploadable, request, requestOptions));
|
|
86
|
+
}
|
|
87
|
+
__transcribe(uploadable, request, requestOptions) {
|
|
88
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
89
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
90
|
+
const _queryParams = {
|
|
91
|
+
language: request.language,
|
|
92
|
+
};
|
|
93
|
+
const _binaryUploadRequest = yield core.file.toBinaryUploadRequest(uploadable);
|
|
94
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
95
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, _binaryUploadRequest.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
96
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
97
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.phenomlEnvironment.Default, "transcribe"),
|
|
98
|
+
method: "POST",
|
|
99
|
+
headers: _headers,
|
|
100
|
+
contentType: "application/octet-stream",
|
|
101
|
+
queryString: core.url
|
|
102
|
+
.queryBuilder()
|
|
103
|
+
.addMany(_queryParams)
|
|
104
|
+
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
105
|
+
.build(),
|
|
106
|
+
requestType: "bytes",
|
|
107
|
+
duplex: "half",
|
|
108
|
+
body: _binaryUploadRequest.body,
|
|
109
|
+
timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
|
|
110
|
+
maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
|
|
111
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
112
|
+
fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
|
|
113
|
+
logging: this._options.logging,
|
|
114
|
+
});
|
|
115
|
+
if (_response.ok) {
|
|
116
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
117
|
+
}
|
|
118
|
+
if (_response.error.reason === "status-code") {
|
|
119
|
+
switch (_response.error.statusCode) {
|
|
120
|
+
case 400:
|
|
121
|
+
throw new phenoml.voice.BadRequestError(_response.error.body, _response.rawResponse);
|
|
122
|
+
case 401:
|
|
123
|
+
throw new phenoml.voice.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
124
|
+
case 402:
|
|
125
|
+
throw new phenoml.voice.PaymentRequiredError(_response.error.body, _response.rawResponse);
|
|
126
|
+
case 413:
|
|
127
|
+
throw new phenoml.voice.ContentTooLargeError(_response.error.body, _response.rawResponse);
|
|
128
|
+
case 502:
|
|
129
|
+
throw new phenoml.voice.BadGatewayError(_response.error.body, _response.rawResponse);
|
|
130
|
+
case 503:
|
|
131
|
+
throw new phenoml.voice.ServiceUnavailableError(_response.error.body, _response.rawResponse);
|
|
132
|
+
case 504:
|
|
133
|
+
throw new phenoml.voice.GatewayTimeoutError(_response.error.body, _response.rawResponse);
|
|
134
|
+
default:
|
|
135
|
+
throw new errors.phenomlError({
|
|
136
|
+
statusCode: _response.error.statusCode,
|
|
137
|
+
body: _response.error.body,
|
|
138
|
+
rawResponse: _response.rawResponse,
|
|
139
|
+
});
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/transcribe");
|
|
143
|
+
});
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
exports.VoiceClient = VoiceClient;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./requests/index.js";
|
|
@@ -0,0 +1,17 @@
|
|
|
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 __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./requests/index.js"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { TranscribeRequest } from "./TranscribeRequest.js";
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
15
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
16
|
+
};
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.VoiceClient = void 0;
|
|
19
|
+
var Client_js_1 = require("./client/Client.js");
|
|
20
|
+
Object.defineProperty(exports, "VoiceClient", { enumerable: true, get: function () { return Client_js_1.VoiceClient; } });
|
|
21
|
+
__exportStar(require("./client/index.js"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./client/index.js";
|
|
@@ -0,0 +1,17 @@
|
|
|
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 __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./client/index.js"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./TranscribeResponse.js";
|
|
@@ -0,0 +1,17 @@
|
|
|
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 __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./TranscribeResponse.js"), exports);
|
package/dist/cjs/core/exports.js
CHANGED
|
@@ -14,4 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./file/exports.js"), exports);
|
|
17
18
|
__exportStar(require("./logging/exports.js"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { Uploadable } from "./types.js";
|