keplar-api 0.0.5 → 0.0.6
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/README.md +2 -2
- package/dist/apis/DefaultApi.d.ts +5 -2
- package/dist/apis/DefaultApi.js +8 -4
- package/dist/models/CallMetadata.d.ts +3 -3
- package/dist/models/CallMetadata.js +3 -3
- package/dist/models/TranscriptQuality.d.ts +3 -3
- package/dist/models/TranscriptQuality.js +3 -3
- package/package.json +1 -1
- package/src/apis/DefaultApi.ts +11 -3
- package/src/models/CallMetadata.ts +3 -3
- package/src/models/TranscriptQuality.ts +3 -3
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## keplar-api@0.0.
|
|
1
|
+
## keplar-api@0.0.6
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install keplar-api@0.0.
|
|
39
|
+
npm install keplar-api@0.0.6 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -157,6 +157,9 @@ export interface ApiInvitesIdResponsesResponseIdPutOperationRequest {
|
|
|
157
157
|
export interface ApiInvitesPostOperationRequest {
|
|
158
158
|
apiInvitesPostRequest: ApiInvitesPostRequest;
|
|
159
159
|
}
|
|
160
|
+
export interface ApiProjectsDraftGetRequest {
|
|
161
|
+
create?: boolean;
|
|
162
|
+
}
|
|
160
163
|
export interface ApiProjectsGetRequest {
|
|
161
164
|
search?: string;
|
|
162
165
|
page?: number;
|
|
@@ -608,11 +611,11 @@ export declare class DefaultApi extends runtime.BaseAPI {
|
|
|
608
611
|
/**
|
|
609
612
|
* Get draft project
|
|
610
613
|
*/
|
|
611
|
-
apiProjectsDraftGetRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Project>>;
|
|
614
|
+
apiProjectsDraftGetRaw(requestParameters: ApiProjectsDraftGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Project>>;
|
|
612
615
|
/**
|
|
613
616
|
* Get draft project
|
|
614
617
|
*/
|
|
615
|
-
apiProjectsDraftGet(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Project>;
|
|
618
|
+
apiProjectsDraftGet(requestParameters?: ApiProjectsDraftGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Project>;
|
|
616
619
|
/**
|
|
617
620
|
* Get projects
|
|
618
621
|
*/
|
package/dist/apis/DefaultApi.js
CHANGED
|
@@ -2478,13 +2478,16 @@ var DefaultApi = /** @class */ (function (_super) {
|
|
|
2478
2478
|
/**
|
|
2479
2479
|
* Get draft project
|
|
2480
2480
|
*/
|
|
2481
|
-
DefaultApi.prototype.apiProjectsDraftGetRaw = function (initOverrides) {
|
|
2481
|
+
DefaultApi.prototype.apiProjectsDraftGetRaw = function (requestParameters, initOverrides) {
|
|
2482
2482
|
return __awaiter(this, void 0, void 0, function () {
|
|
2483
2483
|
var queryParameters, headerParameters, token, tokenString, urlPath, response;
|
|
2484
2484
|
return __generator(this, function (_a) {
|
|
2485
2485
|
switch (_a.label) {
|
|
2486
2486
|
case 0:
|
|
2487
2487
|
queryParameters = {};
|
|
2488
|
+
if (requestParameters['create'] != null) {
|
|
2489
|
+
queryParameters['create'] = requestParameters['create'];
|
|
2490
|
+
}
|
|
2488
2491
|
headerParameters = {};
|
|
2489
2492
|
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
|
|
2490
2493
|
token = this.configuration.accessToken;
|
|
@@ -2513,12 +2516,13 @@ var DefaultApi = /** @class */ (function (_super) {
|
|
|
2513
2516
|
/**
|
|
2514
2517
|
* Get draft project
|
|
2515
2518
|
*/
|
|
2516
|
-
DefaultApi.prototype.apiProjectsDraftGet = function (
|
|
2517
|
-
return __awaiter(this,
|
|
2519
|
+
DefaultApi.prototype.apiProjectsDraftGet = function () {
|
|
2520
|
+
return __awaiter(this, arguments, void 0, function (requestParameters, initOverrides) {
|
|
2518
2521
|
var response;
|
|
2522
|
+
if (requestParameters === void 0) { requestParameters = {}; }
|
|
2519
2523
|
return __generator(this, function (_a) {
|
|
2520
2524
|
switch (_a.label) {
|
|
2521
|
-
case 0: return [4 /*yield*/, this.apiProjectsDraftGetRaw(initOverrides)];
|
|
2525
|
+
case 0: return [4 /*yield*/, this.apiProjectsDraftGetRaw(requestParameters, initOverrides)];
|
|
2522
2526
|
case 1:
|
|
2523
2527
|
response = _a.sent();
|
|
2524
2528
|
return [4 /*yield*/, response.value()];
|
|
@@ -50,9 +50,9 @@ export interface CallMetadata {
|
|
|
50
50
|
* @export
|
|
51
51
|
*/
|
|
52
52
|
export declare const CallMetadataTranscriptQualityEnum: {
|
|
53
|
-
readonly High: "
|
|
54
|
-
readonly Medium: "
|
|
55
|
-
readonly Low: "
|
|
53
|
+
readonly High: "HIGH";
|
|
54
|
+
readonly Medium: "MEDIUM";
|
|
55
|
+
readonly Low: "LOW";
|
|
56
56
|
};
|
|
57
57
|
export type CallMetadataTranscriptQualityEnum = typeof CallMetadataTranscriptQualityEnum[keyof typeof CallMetadataTranscriptQualityEnum];
|
|
58
58
|
/**
|
|
@@ -23,9 +23,9 @@ exports.CallMetadataToJSONTyped = CallMetadataToJSONTyped;
|
|
|
23
23
|
* @export
|
|
24
24
|
*/
|
|
25
25
|
exports.CallMetadataTranscriptQualityEnum = {
|
|
26
|
-
High: '
|
|
27
|
-
Medium: '
|
|
28
|
-
Low: '
|
|
26
|
+
High: 'HIGH',
|
|
27
|
+
Medium: 'MEDIUM',
|
|
28
|
+
Low: 'LOW'
|
|
29
29
|
};
|
|
30
30
|
/**
|
|
31
31
|
* Check if a given object implements the CallMetadata interface.
|
|
@@ -14,9 +14,9 @@
|
|
|
14
14
|
* @export
|
|
15
15
|
*/
|
|
16
16
|
export declare const TranscriptQuality: {
|
|
17
|
-
readonly High: "
|
|
18
|
-
readonly Medium: "
|
|
19
|
-
readonly Low: "
|
|
17
|
+
readonly High: "HIGH";
|
|
18
|
+
readonly Medium: "MEDIUM";
|
|
19
|
+
readonly Low: "LOW";
|
|
20
20
|
};
|
|
21
21
|
export type TranscriptQuality = typeof TranscriptQuality[keyof typeof TranscriptQuality];
|
|
22
22
|
export declare function instanceOfTranscriptQuality(value: any): boolean;
|
|
@@ -24,9 +24,9 @@ exports.TranscriptQualityToJSONTyped = TranscriptQualityToJSONTyped;
|
|
|
24
24
|
* @export
|
|
25
25
|
*/
|
|
26
26
|
exports.TranscriptQuality = {
|
|
27
|
-
High: '
|
|
28
|
-
Medium: '
|
|
29
|
-
Low: '
|
|
27
|
+
High: 'HIGH',
|
|
28
|
+
Medium: 'MEDIUM',
|
|
29
|
+
Low: 'LOW'
|
|
30
30
|
};
|
|
31
31
|
function instanceOfTranscriptQuality(value) {
|
|
32
32
|
for (var key in exports.TranscriptQuality) {
|
package/package.json
CHANGED
package/src/apis/DefaultApi.ts
CHANGED
|
@@ -361,6 +361,10 @@ export interface ApiInvitesPostOperationRequest {
|
|
|
361
361
|
apiInvitesPostRequest: ApiInvitesPostRequest;
|
|
362
362
|
}
|
|
363
363
|
|
|
364
|
+
export interface ApiProjectsDraftGetRequest {
|
|
365
|
+
create?: boolean;
|
|
366
|
+
}
|
|
367
|
+
|
|
364
368
|
export interface ApiProjectsGetRequest {
|
|
365
369
|
search?: string;
|
|
366
370
|
page?: number;
|
|
@@ -2536,9 +2540,13 @@ export class DefaultApi extends runtime.BaseAPI {
|
|
|
2536
2540
|
/**
|
|
2537
2541
|
* Get draft project
|
|
2538
2542
|
*/
|
|
2539
|
-
async apiProjectsDraftGetRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Project>> {
|
|
2543
|
+
async apiProjectsDraftGetRaw(requestParameters: ApiProjectsDraftGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Project>> {
|
|
2540
2544
|
const queryParameters: any = {};
|
|
2541
2545
|
|
|
2546
|
+
if (requestParameters['create'] != null) {
|
|
2547
|
+
queryParameters['create'] = requestParameters['create'];
|
|
2548
|
+
}
|
|
2549
|
+
|
|
2542
2550
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
2543
2551
|
|
|
2544
2552
|
if (this.configuration && this.configuration.accessToken) {
|
|
@@ -2565,8 +2573,8 @@ export class DefaultApi extends runtime.BaseAPI {
|
|
|
2565
2573
|
/**
|
|
2566
2574
|
* Get draft project
|
|
2567
2575
|
*/
|
|
2568
|
-
async apiProjectsDraftGet(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Project> {
|
|
2569
|
-
const response = await this.apiProjectsDraftGetRaw(initOverrides);
|
|
2576
|
+
async apiProjectsDraftGet(requestParameters: ApiProjectsDraftGetRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Project> {
|
|
2577
|
+
const response = await this.apiProjectsDraftGetRaw(requestParameters, initOverrides);
|
|
2570
2578
|
return await response.value();
|
|
2571
2579
|
}
|
|
2572
2580
|
|
|
@@ -56,9 +56,9 @@ export interface CallMetadata {
|
|
|
56
56
|
* @export
|
|
57
57
|
*/
|
|
58
58
|
export const CallMetadataTranscriptQualityEnum = {
|
|
59
|
-
High: '
|
|
60
|
-
Medium: '
|
|
61
|
-
Low: '
|
|
59
|
+
High: 'HIGH',
|
|
60
|
+
Medium: 'MEDIUM',
|
|
61
|
+
Low: 'LOW'
|
|
62
62
|
} as const;
|
|
63
63
|
export type CallMetadataTranscriptQualityEnum = typeof CallMetadataTranscriptQualityEnum[keyof typeof CallMetadataTranscriptQualityEnum];
|
|
64
64
|
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
* @export
|
|
19
19
|
*/
|
|
20
20
|
export const TranscriptQuality = {
|
|
21
|
-
High: '
|
|
22
|
-
Medium: '
|
|
23
|
-
Low: '
|
|
21
|
+
High: 'HIGH',
|
|
22
|
+
Medium: 'MEDIUM',
|
|
23
|
+
Low: 'LOW'
|
|
24
24
|
} as const;
|
|
25
25
|
export type TranscriptQuality = typeof TranscriptQuality[keyof typeof TranscriptQuality];
|
|
26
26
|
|