@deepgram/sdk 1.3.0 → 1.3.1-beta
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/.devcontainer/Dockerfile +16 -0
- package/.devcontainer/devcontainer.json +29 -0
- package/CHANGELOG.md +196 -190
- package/CODE_OF_CONDUCT.md +127 -127
- package/CONTRIBUTING.md +50 -50
- package/LICENSE +21 -21
- package/README.md +151 -151
- package/dist/billing.d.ts +18 -18
- package/dist/billing.js +72 -72
- package/dist/billing.js.map +1 -1
- package/dist/constants/defaultOptions.d.ts +6 -6
- package/dist/constants/defaultOptions.js +9 -9
- package/dist/constants/defaultOptions.js.map +0 -0
- package/dist/constants/index.d.ts +1 -1
- package/dist/constants/index.js +17 -13
- package/dist/constants/index.js.map +1 -1
- package/dist/enums/alternatives.d.ts +4 -4
- package/dist/enums/alternatives.js +2 -2
- package/dist/enums/alternatives.js.map +0 -0
- package/dist/enums/connectionState.d.ts +6 -6
- package/dist/enums/connectionState.js +10 -10
- package/dist/enums/connectionState.js.map +0 -0
- package/dist/enums/diarization.d.ts +4 -4
- package/dist/enums/diarization.js +2 -2
- package/dist/enums/diarization.js.map +0 -0
- package/dist/enums/index.d.ts +7 -7
- package/dist/enums/index.js +23 -19
- package/dist/enums/index.js.map +1 -1
- package/dist/enums/liveTranscriptionEvents.d.ts +6 -6
- package/dist/enums/liveTranscriptionEvents.js +2 -2
- package/dist/enums/liveTranscriptionEvents.js.map +0 -0
- package/dist/enums/models.d.ts +5 -5
- package/dist/enums/models.js +2 -2
- package/dist/enums/models.js.map +0 -0
- package/dist/enums/punctuation.d.ts +4 -4
- package/dist/enums/punctuation.js +2 -2
- package/dist/enums/punctuation.js.map +0 -0
- package/dist/enums/searchKind.d.ts +4 -4
- package/dist/enums/searchKind.js +2 -2
- package/dist/enums/searchKind.js.map +0 -0
- package/dist/helpers/index.d.ts +1 -1
- package/dist/helpers/index.js +17 -13
- package/dist/helpers/index.js.map +1 -1
- package/dist/helpers/secondsToTimestamp.d.ts +1 -1
- package/dist/helpers/secondsToTimestamp.js +7 -7
- package/dist/helpers/secondsToTimestamp.js.map +0 -0
- package/dist/httpRequest.d.ts +3 -3
- package/dist/httpRequest.js +90 -90
- package/dist/httpRequest.js.map +1 -1
- package/dist/index.d.ts +25 -25
- package/dist/index.js +40 -40
- package/dist/index.js.map +0 -0
- package/dist/invitation.d.ts +29 -29
- package/dist/invitation.js +98 -98
- package/dist/invitation.js.map +1 -1
- package/dist/keys.d.ts +32 -32
- package/dist/keys.js +131 -131
- package/dist/keys.js.map +1 -1
- package/dist/members.d.ts +18 -18
- package/dist/members.js +72 -72
- package/dist/members.js.map +1 -1
- package/dist/projects.d.ts +21 -21
- package/dist/projects.js +81 -81
- package/dist/projects.js.map +1 -1
- package/dist/scopes.d.ts +20 -20
- package/dist/scopes.js +76 -76
- package/dist/scopes.js.map +1 -1
- package/dist/transcription/index.d.ts +18 -18
- package/dist/transcription/index.js +71 -71
- package/dist/transcription/index.js.map +0 -0
- package/dist/transcription/liveTranscription.d.ts +23 -23
- package/dist/transcription/liveTranscription.js +82 -82
- package/dist/transcription/liveTranscription.js.map +1 -1
- package/dist/transcription/preRecordedTranscription.d.ts +8 -8
- package/dist/transcription/preRecordedTranscription.js +113 -113
- package/dist/transcription/preRecordedTranscription.js.map +1 -1
- package/dist/types/balance.d.ts +6 -6
- package/dist/types/balance.js +2 -2
- package/dist/types/balance.js.map +0 -0
- package/dist/types/balanceList.d.ts +4 -4
- package/dist/types/balanceList.js +2 -2
- package/dist/types/balanceList.js.map +0 -0
- package/dist/types/channel.d.ts +25 -25
- package/dist/types/channel.js +2 -2
- package/dist/types/channel.js.map +0 -0
- package/dist/types/createKeyOptions.d.ts +13 -13
- package/dist/types/createKeyOptions.js +2 -2
- package/dist/types/createKeyOptions.js.map +0 -0
- package/dist/types/hit.d.ts +21 -21
- package/dist/types/hit.js +2 -2
- package/dist/types/hit.js.map +0 -0
- package/dist/types/index.d.ts +35 -35
- package/dist/types/index.js +51 -47
- package/dist/types/index.js.map +1 -1
- package/dist/types/invitationList.d.ts +4 -4
- package/dist/types/invitationList.js +2 -2
- package/dist/types/invitationList.js.map +0 -0
- package/dist/types/invitationOptions.d.ts +4 -4
- package/dist/types/invitationOptions.js +2 -2
- package/dist/types/invitationOptions.js.map +0 -0
- package/dist/types/key.d.ts +25 -25
- package/dist/types/key.js +2 -2
- package/dist/types/key.js.map +0 -0
- package/dist/types/keyResponse.d.ts +50 -50
- package/dist/types/keyResponse.js +2 -2
- package/dist/types/keyResponse.js.map +0 -0
- package/dist/types/keyword.d.ts +4 -4
- package/dist/types/keyword.js +2 -2
- package/dist/types/keyword.js.map +0 -0
- package/dist/types/liveTranscriptionOptions.d.ts +148 -148
- package/dist/types/liveTranscriptionOptions.js +2 -2
- package/dist/types/liveTranscriptionOptions.js.map +0 -0
- package/dist/types/liveTranscriptionResponse.d.ts +9 -9
- package/dist/types/liveTranscriptionResponse.js +2 -2
- package/dist/types/liveTranscriptionResponse.js.map +0 -0
- package/dist/types/member.d.ts +7 -7
- package/dist/types/member.js +2 -2
- package/dist/types/member.js.map +0 -0
- package/dist/types/memberList.d.ts +4 -4
- package/dist/types/memberList.js +2 -2
- package/dist/types/memberList.js.map +0 -0
- package/dist/types/message.d.ts +3 -3
- package/dist/types/message.js +2 -2
- package/dist/types/message.js.map +0 -0
- package/dist/types/metadata.d.ts +8 -8
- package/dist/types/metadata.js +2 -2
- package/dist/types/metadata.js.map +0 -0
- package/dist/types/prerecordedTranscriptionOptions.d.ts +126 -126
- package/dist/types/prerecordedTranscriptionOptions.js +2 -2
- package/dist/types/prerecordedTranscriptionOptions.js.map +0 -0
- package/dist/types/prerecordedTranscriptionResponse.d.ts +25 -25
- package/dist/types/prerecordedTranscriptionResponse.js +50 -50
- package/dist/types/prerecordedTranscriptionResponse.js.map +1 -1
- package/dist/types/project.d.ts +17 -17
- package/dist/types/project.js +2 -2
- package/dist/types/project.js.map +0 -0
- package/dist/types/projectPatchResponse.d.ts +6 -6
- package/dist/types/projectPatchResponse.js +2 -2
- package/dist/types/projectPatchResponse.js.map +0 -0
- package/dist/types/projectResponse.d.ts +4 -4
- package/dist/types/projectResponse.js +2 -2
- package/dist/types/projectResponse.js.map +0 -0
- package/dist/types/scopeList.d.ts +3 -3
- package/dist/types/scopeList.js +2 -2
- package/dist/types/scopeList.js.map +0 -0
- package/dist/types/search.d.ts +14 -14
- package/dist/types/search.js +2 -2
- package/dist/types/search.js.map +0 -0
- package/dist/types/transcriptionSource.d.ts +14 -14
- package/dist/types/transcriptionSource.js +2 -2
- package/dist/types/transcriptionSource.js.map +0 -0
- package/dist/types/usageCallback.d.ts +4 -4
- package/dist/types/usageCallback.js +2 -2
- package/dist/types/usageCallback.js.map +0 -0
- package/dist/types/usageField.d.ts +7 -7
- package/dist/types/usageField.js +2 -2
- package/dist/types/usageField.js.map +0 -0
- package/dist/types/usageFieldOptions.d.ts +4 -4
- package/dist/types/usageFieldOptions.js +2 -2
- package/dist/types/usageFieldOptions.js.map +0 -0
- package/dist/types/usageOptions.d.ts +23 -23
- package/dist/types/usageOptions.js +2 -2
- package/dist/types/usageOptions.js.map +0 -0
- package/dist/types/usageRequest.d.ts +11 -11
- package/dist/types/usageRequest.js +2 -2
- package/dist/types/usageRequest.js.map +0 -0
- package/dist/types/usageRequestDetail.d.ts +30 -30
- package/dist/types/usageRequestDetail.js +2 -2
- package/dist/types/usageRequestDetail.js.map +0 -0
- package/dist/types/usageRequestList.d.ts +6 -6
- package/dist/types/usageRequestList.js +2 -2
- package/dist/types/usageRequestList.js.map +0 -0
- package/dist/types/usageRequestListOptions.d.ts +7 -7
- package/dist/types/usageRequestListOptions.js +2 -2
- package/dist/types/usageRequestListOptions.js.map +0 -0
- package/dist/types/usageRequestMessage.d.ts +3 -3
- package/dist/types/usageRequestMessage.js +2 -2
- package/dist/types/usageRequestMessage.js.map +0 -0
- package/dist/types/usageResponse.d.ts +10 -10
- package/dist/types/usageResponse.js +2 -2
- package/dist/types/usageResponse.js.map +0 -0
- package/dist/types/usageResponseDetail.d.ts +6 -6
- package/dist/types/usageResponseDetail.js +2 -2
- package/dist/types/usageResponseDetail.js.map +0 -0
- package/dist/types/utterance.d.ts +39 -39
- package/dist/types/utterance.js +2 -2
- package/dist/types/utterance.js.map +0 -0
- package/dist/types/wordBase.d.ts +8 -8
- package/dist/types/wordBase.js +2 -2
- package/dist/types/wordBase.js.map +0 -0
- package/dist/usage.d.ts +34 -34
- package/dist/usage.js +121 -121
- package/dist/usage.js.map +1 -1
- package/dist/userAgent.d.ts +1 -1
- package/dist/userAgent.js +19 -20
- package/dist/userAgent.js.map +1 -1
- package/package.json +59 -57
package/dist/types/balance.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
//# sourceMappingURL=balance.js.map
|
|
File without changes
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Balance } from "./balance";
|
|
2
|
-
export declare type BalanceList = {
|
|
3
|
-
balances?: Array<Balance>;
|
|
4
|
-
};
|
|
1
|
+
import { Balance } from "./balance";
|
|
2
|
+
export declare type BalanceList = {
|
|
3
|
+
balances?: Array<Balance>;
|
|
4
|
+
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
//# sourceMappingURL=balanceList.js.map
|
|
File without changes
|
package/dist/types/channel.d.ts
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { Search } from "./search";
|
|
2
|
-
import { WordBase } from "./wordBase";
|
|
3
|
-
/**
|
|
4
|
-
* Channel of speech identified by Deepgram
|
|
5
|
-
*/
|
|
6
|
-
export declare type Channel = {
|
|
7
|
-
/**
|
|
8
|
-
* Searched terms & results
|
|
9
|
-
*/
|
|
10
|
-
search?: Array<Search>;
|
|
11
|
-
alternatives: Array<{
|
|
12
|
-
/**
|
|
13
|
-
* Text of speech identified by API
|
|
14
|
-
*/
|
|
15
|
-
transcript: string;
|
|
16
|
-
/**
|
|
17
|
-
* Confidence in transcript generated
|
|
18
|
-
*/
|
|
19
|
-
confidence: number;
|
|
20
|
-
/**
|
|
21
|
-
* Array of words included in the transcript
|
|
22
|
-
*/
|
|
23
|
-
words: Array<WordBase>;
|
|
24
|
-
}>;
|
|
25
|
-
};
|
|
1
|
+
import { Search } from "./search";
|
|
2
|
+
import { WordBase } from "./wordBase";
|
|
3
|
+
/**
|
|
4
|
+
* Channel of speech identified by Deepgram
|
|
5
|
+
*/
|
|
6
|
+
export declare type Channel = {
|
|
7
|
+
/**
|
|
8
|
+
* Searched terms & results
|
|
9
|
+
*/
|
|
10
|
+
search?: Array<Search>;
|
|
11
|
+
alternatives: Array<{
|
|
12
|
+
/**
|
|
13
|
+
* Text of speech identified by API
|
|
14
|
+
*/
|
|
15
|
+
transcript: string;
|
|
16
|
+
/**
|
|
17
|
+
* Confidence in transcript generated
|
|
18
|
+
*/
|
|
19
|
+
confidence: number;
|
|
20
|
+
/**
|
|
21
|
+
* Array of words included in the transcript
|
|
22
|
+
*/
|
|
23
|
+
words: Array<WordBase>;
|
|
24
|
+
}>;
|
|
25
|
+
};
|
package/dist/types/channel.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
//# sourceMappingURL=channel.js.map
|
|
File without changes
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Optional options used when creating an API key
|
|
3
|
-
*/
|
|
4
|
-
export declare type CreateKeyOptions = {
|
|
5
|
-
/**
|
|
6
|
-
* Date on which the key you would like to create should expire.
|
|
7
|
-
*/
|
|
8
|
-
expirationDate?: Date;
|
|
9
|
-
/**
|
|
10
|
-
* Length of time (in seconds) during which the key you would like to create will remain valid.
|
|
11
|
-
*/
|
|
12
|
-
timeToLive?: number;
|
|
13
|
-
};
|
|
1
|
+
/**
|
|
2
|
+
* Optional options used when creating an API key
|
|
3
|
+
*/
|
|
4
|
+
export declare type CreateKeyOptions = {
|
|
5
|
+
/**
|
|
6
|
+
* Date on which the key you would like to create should expire.
|
|
7
|
+
*/
|
|
8
|
+
expirationDate?: Date;
|
|
9
|
+
/**
|
|
10
|
+
* Length of time (in seconds) during which the key you would like to create will remain valid.
|
|
11
|
+
*/
|
|
12
|
+
timeToLive?: number;
|
|
13
|
+
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
//# sourceMappingURL=createKeyOptions.js.map
|
|
File without changes
|
package/dist/types/hit.d.ts
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Represents an identified search term in the transcript
|
|
3
|
-
*/
|
|
4
|
-
export declare type Hit = {
|
|
5
|
-
/**
|
|
6
|
-
* Value between 0 and 1 that indicates the model's relative confidence in this hit.
|
|
7
|
-
*/
|
|
8
|
-
confidence: number;
|
|
9
|
-
/**
|
|
10
|
-
* Offset in seconds from the start of the audio to where the hit occurs.
|
|
11
|
-
*/
|
|
12
|
-
start: number;
|
|
13
|
-
/**
|
|
14
|
-
* Offset in seconds from the start of the audio to where the hit ends.
|
|
15
|
-
*/
|
|
16
|
-
end: number;
|
|
17
|
-
/**
|
|
18
|
-
* Transcript that corresponds to the time between start and end.
|
|
19
|
-
*/
|
|
20
|
-
snippet: string;
|
|
21
|
-
};
|
|
1
|
+
/**
|
|
2
|
+
* Represents an identified search term in the transcript
|
|
3
|
+
*/
|
|
4
|
+
export declare type Hit = {
|
|
5
|
+
/**
|
|
6
|
+
* Value between 0 and 1 that indicates the model's relative confidence in this hit.
|
|
7
|
+
*/
|
|
8
|
+
confidence: number;
|
|
9
|
+
/**
|
|
10
|
+
* Offset in seconds from the start of the audio to where the hit occurs.
|
|
11
|
+
*/
|
|
12
|
+
start: number;
|
|
13
|
+
/**
|
|
14
|
+
* Offset in seconds from the start of the audio to where the hit ends.
|
|
15
|
+
*/
|
|
16
|
+
end: number;
|
|
17
|
+
/**
|
|
18
|
+
* Transcript that corresponds to the time between start and end.
|
|
19
|
+
*/
|
|
20
|
+
snippet: string;
|
|
21
|
+
};
|
package/dist/types/hit.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
//# sourceMappingURL=hit.js.map
|
package/dist/types/hit.js.map
CHANGED
|
File without changes
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
export * from "./
|
|
2
|
-
export * from "./
|
|
3
|
-
export * from "./
|
|
4
|
-
export * from "./
|
|
5
|
-
export * from "./
|
|
6
|
-
export * from "./
|
|
7
|
-
export * from "./
|
|
8
|
-
export * from "./
|
|
9
|
-
export * from "./
|
|
10
|
-
export * from "./
|
|
11
|
-
export * from "./
|
|
12
|
-
export * from "./
|
|
13
|
-
export * from "./
|
|
14
|
-
export * from "./
|
|
15
|
-
export * from "./
|
|
16
|
-
export * from "./
|
|
17
|
-
export * from "./
|
|
18
|
-
export * from "./
|
|
19
|
-
export * from "./
|
|
20
|
-
export * from "./
|
|
21
|
-
export * from "./
|
|
22
|
-
export * from "./
|
|
23
|
-
export * from "./
|
|
24
|
-
export * from "./
|
|
25
|
-
export * from "./
|
|
26
|
-
export * from "./
|
|
27
|
-
export * from "./
|
|
28
|
-
export * from "./
|
|
29
|
-
export * from "./
|
|
30
|
-
export * from "./
|
|
31
|
-
export * from "./
|
|
32
|
-
export * from "./
|
|
33
|
-
export * from "./
|
|
34
|
-
export * from "./
|
|
35
|
-
export * from "./
|
|
1
|
+
export * from "./balance";
|
|
2
|
+
export * from "./balanceList";
|
|
3
|
+
export * from "./channel";
|
|
4
|
+
export * from "./createKeyOptions";
|
|
5
|
+
export * from "./hit";
|
|
6
|
+
export * from "./invitationList";
|
|
7
|
+
export * from "./invitationOptions";
|
|
8
|
+
export * from "./key";
|
|
9
|
+
export * from "./keyResponse";
|
|
10
|
+
export * from "./liveTranscriptionOptions";
|
|
11
|
+
export * from "./liveTranscriptionResponse";
|
|
12
|
+
export * from "./member";
|
|
13
|
+
export * from "./memberList";
|
|
14
|
+
export * from "./message";
|
|
15
|
+
export * from "./metadata";
|
|
16
|
+
export * from "./prerecordedTranscriptionOptions";
|
|
17
|
+
export * from "./prerecordedTranscriptionResponse";
|
|
18
|
+
export * from "./project";
|
|
19
|
+
export * from "./projectPatchResponse";
|
|
20
|
+
export * from "./projectResponse";
|
|
21
|
+
export * from "./scopeList";
|
|
22
|
+
export * from "./search";
|
|
23
|
+
export * from "./transcriptionSource";
|
|
24
|
+
export * from "./usageCallback";
|
|
25
|
+
export * from "./usageField";
|
|
26
|
+
export * from "./usageFieldOptions";
|
|
27
|
+
export * from "./usageOptions";
|
|
28
|
+
export * from "./usageRequest";
|
|
29
|
+
export * from "./usageRequestDetail";
|
|
30
|
+
export * from "./usageRequestList";
|
|
31
|
+
export * from "./usageRequestListOptions";
|
|
32
|
+
export * from "./usageResponse";
|
|
33
|
+
export * from "./usageResponseDetail";
|
|
34
|
+
export * from "./utterance";
|
|
35
|
+
export * from "./wordBase";
|
package/dist/types/index.js
CHANGED
|
@@ -1,48 +1,52 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
__exportStar(
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
__exportStar(require("./
|
|
18
|
-
__exportStar(require("./
|
|
19
|
-
__exportStar(require("./
|
|
20
|
-
__exportStar(require("./
|
|
21
|
-
__exportStar(require("./
|
|
22
|
-
__exportStar(require("./
|
|
23
|
-
__exportStar(require("./
|
|
24
|
-
__exportStar(require("./
|
|
25
|
-
__exportStar(require("./
|
|
26
|
-
__exportStar(require("./
|
|
27
|
-
__exportStar(require("./
|
|
28
|
-
__exportStar(require("./
|
|
29
|
-
__exportStar(require("./
|
|
30
|
-
__exportStar(require("./
|
|
31
|
-
__exportStar(require("./
|
|
32
|
-
__exportStar(require("./
|
|
33
|
-
__exportStar(require("./
|
|
34
|
-
__exportStar(require("./
|
|
35
|
-
__exportStar(require("./
|
|
36
|
-
__exportStar(require("./
|
|
37
|
-
__exportStar(require("./
|
|
38
|
-
__exportStar(require("./
|
|
39
|
-
__exportStar(require("./
|
|
40
|
-
__exportStar(require("./
|
|
41
|
-
__exportStar(require("./
|
|
42
|
-
__exportStar(require("./
|
|
43
|
-
__exportStar(require("./
|
|
44
|
-
__exportStar(require("./
|
|
45
|
-
__exportStar(require("./
|
|
46
|
-
__exportStar(require("./
|
|
47
|
-
__exportStar(require("./
|
|
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("./balance"), exports);
|
|
18
|
+
__exportStar(require("./balanceList"), exports);
|
|
19
|
+
__exportStar(require("./channel"), exports);
|
|
20
|
+
__exportStar(require("./createKeyOptions"), exports);
|
|
21
|
+
__exportStar(require("./hit"), exports);
|
|
22
|
+
__exportStar(require("./invitationList"), exports);
|
|
23
|
+
__exportStar(require("./invitationOptions"), exports);
|
|
24
|
+
__exportStar(require("./key"), exports);
|
|
25
|
+
__exportStar(require("./keyResponse"), exports);
|
|
26
|
+
__exportStar(require("./liveTranscriptionOptions"), exports);
|
|
27
|
+
__exportStar(require("./liveTranscriptionResponse"), exports);
|
|
28
|
+
__exportStar(require("./member"), exports);
|
|
29
|
+
__exportStar(require("./memberList"), exports);
|
|
30
|
+
__exportStar(require("./message"), exports);
|
|
31
|
+
__exportStar(require("./metadata"), exports);
|
|
32
|
+
__exportStar(require("./prerecordedTranscriptionOptions"), exports);
|
|
33
|
+
__exportStar(require("./prerecordedTranscriptionResponse"), exports);
|
|
34
|
+
__exportStar(require("./project"), exports);
|
|
35
|
+
__exportStar(require("./projectPatchResponse"), exports);
|
|
36
|
+
__exportStar(require("./projectResponse"), exports);
|
|
37
|
+
__exportStar(require("./scopeList"), exports);
|
|
38
|
+
__exportStar(require("./search"), exports);
|
|
39
|
+
__exportStar(require("./transcriptionSource"), exports);
|
|
40
|
+
__exportStar(require("./usageCallback"), exports);
|
|
41
|
+
__exportStar(require("./usageField"), exports);
|
|
42
|
+
__exportStar(require("./usageFieldOptions"), exports);
|
|
43
|
+
__exportStar(require("./usageOptions"), exports);
|
|
44
|
+
__exportStar(require("./usageRequest"), exports);
|
|
45
|
+
__exportStar(require("./usageRequestDetail"), exports);
|
|
46
|
+
__exportStar(require("./usageRequestList"), exports);
|
|
47
|
+
__exportStar(require("./usageRequestListOptions"), exports);
|
|
48
|
+
__exportStar(require("./usageResponse"), exports);
|
|
49
|
+
__exportStar(require("./usageResponseDetail"), exports);
|
|
50
|
+
__exportStar(require("./utterance"), exports);
|
|
51
|
+
__exportStar(require("./wordBase"), exports);
|
|
48
52
|
//# sourceMappingURL=index.js.map
|
package/dist/types/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAA0B;AAC1B,gDAA8B;AAC9B,4CAA0B;AAC1B,qDAAmC;AACnC,wCAAsB;AACtB,mDAAiC;AACjC,sDAAoC;AACpC,wCAAsB;AACtB,gDAA8B;AAC9B,6DAA2C;AAC3C,8DAA4C;AAC5C,2CAAyB;AACzB,+CAA6B;AAC7B,4CAA0B;AAC1B,6CAA2B;AAC3B,oEAAkD;AAClD,qEAAmD;AACnD,4CAA0B;AAC1B,yDAAuC;AACvC,oDAAkC;AAClC,8CAA4B;AAC5B,2CAAyB;AACzB,wDAAsC;AACtC,kDAAgC;AAChC,+CAA6B;AAC7B,sDAAoC;AACpC,iDAA+B;AAC/B,iDAA+B;AAC/B,uDAAqC;AACrC,qDAAmC;AACnC,4DAA0C;AAC1C,kDAAgC;AAChC,wDAAsC;AACtC,8CAA4B;AAC5B,6CAA2B"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { InvitationOptions } from "./invitationOptions";
|
|
2
|
-
export declare type InvitationList = {
|
|
3
|
-
invites?: Array<InvitationOptions>;
|
|
4
|
-
};
|
|
1
|
+
import { InvitationOptions } from "./invitationOptions";
|
|
2
|
+
export declare type InvitationList = {
|
|
3
|
+
invites?: Array<InvitationOptions>;
|
|
4
|
+
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
//# sourceMappingURL=invitationList.js.map
|
|
File without changes
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare type InvitationOptions = {
|
|
2
|
-
email?: string;
|
|
3
|
-
scope?: string;
|
|
4
|
-
};
|
|
1
|
+
export declare type InvitationOptions = {
|
|
2
|
+
email?: string;
|
|
3
|
+
scope?: string;
|
|
4
|
+
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
//# sourceMappingURL=invitationOptions.js.map
|
|
File without changes
|
package/dist/types/key.d.ts
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* API key used for authenticating with the Deepgram API
|
|
3
|
-
*/
|
|
4
|
-
export declare type Key = {
|
|
5
|
-
/**
|
|
6
|
-
* Unique identifier of the key to use in API requests
|
|
7
|
-
*/
|
|
8
|
-
api_key_id: string;
|
|
9
|
-
/**
|
|
10
|
-
* API key to send in API requests (Only displayed when first created)
|
|
11
|
-
*/
|
|
12
|
-
key?: string;
|
|
13
|
-
/**
|
|
14
|
-
* Comment for user reference
|
|
15
|
-
*/
|
|
16
|
-
comment: string;
|
|
17
|
-
/**
|
|
18
|
-
* Timestamp of the date/time the key was created
|
|
19
|
-
*/
|
|
20
|
-
created: string;
|
|
21
|
-
/**
|
|
22
|
-
* Array of scopes assigned to the key
|
|
23
|
-
*/
|
|
24
|
-
scopes: Array<string>;
|
|
25
|
-
};
|
|
1
|
+
/**
|
|
2
|
+
* API key used for authenticating with the Deepgram API
|
|
3
|
+
*/
|
|
4
|
+
export declare type Key = {
|
|
5
|
+
/**
|
|
6
|
+
* Unique identifier of the key to use in API requests
|
|
7
|
+
*/
|
|
8
|
+
api_key_id: string;
|
|
9
|
+
/**
|
|
10
|
+
* API key to send in API requests (Only displayed when first created)
|
|
11
|
+
*/
|
|
12
|
+
key?: string;
|
|
13
|
+
/**
|
|
14
|
+
* Comment for user reference
|
|
15
|
+
*/
|
|
16
|
+
comment: string;
|
|
17
|
+
/**
|
|
18
|
+
* Timestamp of the date/time the key was created
|
|
19
|
+
*/
|
|
20
|
+
created: string;
|
|
21
|
+
/**
|
|
22
|
+
* Array of scopes assigned to the key
|
|
23
|
+
*/
|
|
24
|
+
scopes: Array<string>;
|
|
25
|
+
};
|
package/dist/types/key.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
//# sourceMappingURL=key.js.map
|
package/dist/types/key.js.map
CHANGED
|
File without changes
|
|
@@ -1,50 +1,50 @@
|
|
|
1
|
-
import { Key } from "./key";
|
|
2
|
-
import { Member } from "./member";
|
|
3
|
-
/**
|
|
4
|
-
* Response from the Deepgram API to list keys
|
|
5
|
-
*/
|
|
6
|
-
export declare type KeyResponse = {
|
|
7
|
-
/**
|
|
8
|
-
* Array of API keys associated with the project
|
|
9
|
-
*/
|
|
10
|
-
api_keys: Array<{
|
|
11
|
-
/**
|
|
12
|
-
* Optional member associated with the API key
|
|
13
|
-
*/
|
|
14
|
-
member?: Member;
|
|
15
|
-
/**
|
|
16
|
-
* API key
|
|
17
|
-
*/
|
|
18
|
-
api_key: Key;
|
|
19
|
-
/**
|
|
20
|
-
* Unique identifier of the key to use in API requests
|
|
21
|
-
* @deprecated This property has moved to api_key.api_key_id and will
|
|
22
|
-
* be removed in future versions.
|
|
23
|
-
*/
|
|
24
|
-
api_key_id: string;
|
|
25
|
-
/**
|
|
26
|
-
* API key to send in API requests (Only displayed when first created)
|
|
27
|
-
* @deprecated This property has moved to api_key.key and will
|
|
28
|
-
* be removed in future versions.
|
|
29
|
-
*/
|
|
30
|
-
key?: string;
|
|
31
|
-
/**
|
|
32
|
-
* Comment for user reference
|
|
33
|
-
* @deprecated This property has moved to api_key.comment and will
|
|
34
|
-
* be removed in future versions.
|
|
35
|
-
*/
|
|
36
|
-
comment: string;
|
|
37
|
-
/**
|
|
38
|
-
* Timestamp of the date/time the key was created
|
|
39
|
-
* @deprecated This property has moved to api_key.created and will
|
|
40
|
-
* be removed in future versions.
|
|
41
|
-
*/
|
|
42
|
-
created: string;
|
|
43
|
-
/**
|
|
44
|
-
* Array of scopes assigned to the key
|
|
45
|
-
* @deprecated This property has moved to api_key.scopes and will
|
|
46
|
-
* be removed in future versions.
|
|
47
|
-
*/
|
|
48
|
-
scopes: Array<string>;
|
|
49
|
-
}>;
|
|
50
|
-
};
|
|
1
|
+
import { Key } from "./key";
|
|
2
|
+
import { Member } from "./member";
|
|
3
|
+
/**
|
|
4
|
+
* Response from the Deepgram API to list keys
|
|
5
|
+
*/
|
|
6
|
+
export declare type KeyResponse = {
|
|
7
|
+
/**
|
|
8
|
+
* Array of API keys associated with the project
|
|
9
|
+
*/
|
|
10
|
+
api_keys: Array<{
|
|
11
|
+
/**
|
|
12
|
+
* Optional member associated with the API key
|
|
13
|
+
*/
|
|
14
|
+
member?: Member;
|
|
15
|
+
/**
|
|
16
|
+
* API key
|
|
17
|
+
*/
|
|
18
|
+
api_key: Key;
|
|
19
|
+
/**
|
|
20
|
+
* Unique identifier of the key to use in API requests
|
|
21
|
+
* @deprecated This property has moved to api_key.api_key_id and will
|
|
22
|
+
* be removed in future versions.
|
|
23
|
+
*/
|
|
24
|
+
api_key_id: string;
|
|
25
|
+
/**
|
|
26
|
+
* API key to send in API requests (Only displayed when first created)
|
|
27
|
+
* @deprecated This property has moved to api_key.key and will
|
|
28
|
+
* be removed in future versions.
|
|
29
|
+
*/
|
|
30
|
+
key?: string;
|
|
31
|
+
/**
|
|
32
|
+
* Comment for user reference
|
|
33
|
+
* @deprecated This property has moved to api_key.comment and will
|
|
34
|
+
* be removed in future versions.
|
|
35
|
+
*/
|
|
36
|
+
comment: string;
|
|
37
|
+
/**
|
|
38
|
+
* Timestamp of the date/time the key was created
|
|
39
|
+
* @deprecated This property has moved to api_key.created and will
|
|
40
|
+
* be removed in future versions.
|
|
41
|
+
*/
|
|
42
|
+
created: string;
|
|
43
|
+
/**
|
|
44
|
+
* Array of scopes assigned to the key
|
|
45
|
+
* @deprecated This property has moved to api_key.scopes and will
|
|
46
|
+
* be removed in future versions.
|
|
47
|
+
*/
|
|
48
|
+
scopes: Array<string>;
|
|
49
|
+
}>;
|
|
50
|
+
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
//# sourceMappingURL=keyResponse.js.map
|
|
File without changes
|
package/dist/types/keyword.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare type Keyword = {
|
|
2
|
-
keyword: string;
|
|
3
|
-
boost?: number;
|
|
4
|
-
};
|
|
1
|
+
export declare type Keyword = {
|
|
2
|
+
keyword: string;
|
|
3
|
+
boost?: number;
|
|
4
|
+
};
|
package/dist/types/keyword.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
//# sourceMappingURL=keyword.js.map
|
|
File without changes
|