openai 3.1.0 → 3.2.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/.github/workflows/test.yml +25 -0
- package/.openapi-generator/VERSION +1 -1
- package/README.md +9 -4
- package/api.ts +567 -58
- package/base.ts +5 -4
- package/common.ts +6 -4
- package/configuration.ts +1 -1
- package/dist/api.d.ts +401 -52
- package/dist/api.js +298 -30
- package/dist/base.d.ts +2 -3
- package/dist/base.js +0 -2
- package/dist/common.d.ts +3 -3
- package/dist/common.js +2 -0
- package/index.ts +1 -1
- package/package.json +1 -1
package/dist/api.js
CHANGED
|
@@ -22,13 +22,23 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.OpenAIApi = exports.OpenAIApiFactory = exports.OpenAIApiFp = exports.OpenAIApiAxiosParamCreator = exports.CreateImageRequestResponseFormatEnum = exports.CreateImageRequestSizeEnum = void 0;
|
|
25
|
+
exports.OpenAIApi = exports.OpenAIApiFactory = exports.OpenAIApiFp = exports.OpenAIApiAxiosParamCreator = exports.CreateImageRequestResponseFormatEnum = exports.CreateImageRequestSizeEnum = exports.ChatCompletionResponseMessageRoleEnum = exports.ChatCompletionRequestMessageRoleEnum = void 0;
|
|
26
26
|
const axios_1 = require("axios");
|
|
27
27
|
// Some imports not used depending on template conditions
|
|
28
28
|
// @ts-ignore
|
|
29
29
|
const common_1 = require("./common");
|
|
30
30
|
// @ts-ignore
|
|
31
31
|
const base_1 = require("./base");
|
|
32
|
+
exports.ChatCompletionRequestMessageRoleEnum = {
|
|
33
|
+
System: 'system',
|
|
34
|
+
User: 'user',
|
|
35
|
+
Assistant: 'assistant'
|
|
36
|
+
};
|
|
37
|
+
exports.ChatCompletionResponseMessageRoleEnum = {
|
|
38
|
+
System: 'system',
|
|
39
|
+
User: 'user',
|
|
40
|
+
Assistant: 'assistant'
|
|
41
|
+
};
|
|
32
42
|
exports.CreateImageRequestSizeEnum = {
|
|
33
43
|
_256x256: '256x256',
|
|
34
44
|
_512x512: '512x512',
|
|
@@ -104,6 +114,36 @@ exports.OpenAIApiAxiosParamCreator = function (configuration) {
|
|
|
104
114
|
options: localVarRequestOptions,
|
|
105
115
|
};
|
|
106
116
|
}),
|
|
117
|
+
/**
|
|
118
|
+
*
|
|
119
|
+
* @summary Creates a completion for the chat message
|
|
120
|
+
* @param {CreateChatCompletionRequest} createChatCompletionRequest
|
|
121
|
+
* @param {*} [options] Override http request option.
|
|
122
|
+
* @throws {RequiredError}
|
|
123
|
+
*/
|
|
124
|
+
createChatCompletion: (createChatCompletionRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
125
|
+
// verify required parameter 'createChatCompletionRequest' is not null or undefined
|
|
126
|
+
common_1.assertParamExists('createChatCompletion', 'createChatCompletionRequest', createChatCompletionRequest);
|
|
127
|
+
const localVarPath = `/chat/completions`;
|
|
128
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
129
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
130
|
+
let baseOptions;
|
|
131
|
+
if (configuration) {
|
|
132
|
+
baseOptions = configuration.baseOptions;
|
|
133
|
+
}
|
|
134
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
135
|
+
const localVarHeaderParameter = {};
|
|
136
|
+
const localVarQueryParameter = {};
|
|
137
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
138
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
139
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
140
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
141
|
+
localVarRequestOptions.data = common_1.serializeDataIfNeeded(createChatCompletionRequest, localVarRequestOptions, configuration);
|
|
142
|
+
return {
|
|
143
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
144
|
+
options: localVarRequestOptions,
|
|
145
|
+
};
|
|
146
|
+
}),
|
|
107
147
|
/**
|
|
108
148
|
*
|
|
109
149
|
* @summary Classifies the specified `query` using provided examples. The endpoint first [searches](/docs/api-reference/searches) over the labeled examples to select the ones most relevant for the particular query. Then, the relevant examples are combined with the query to construct a prompt to produce the final label via the [completions](/docs/api-reference/completions) endpoint. Labeled examples can be provided via an uploaded `file`, or explicitly listed in the request using the `examples` parameter for quick tests and small scale use cases.
|
|
@@ -167,7 +207,7 @@ exports.OpenAIApiAxiosParamCreator = function (configuration) {
|
|
|
167
207
|
}),
|
|
168
208
|
/**
|
|
169
209
|
*
|
|
170
|
-
* @summary Creates a new edit for the provided input, instruction, and parameters
|
|
210
|
+
* @summary Creates a new edit for the provided input, instruction, and parameters.
|
|
171
211
|
* @param {CreateEditRequest} createEditRequest
|
|
172
212
|
* @param {*} [options] Override http request option.
|
|
173
213
|
* @throws {RequiredError}
|
|
@@ -328,21 +368,19 @@ exports.OpenAIApiAxiosParamCreator = function (configuration) {
|
|
|
328
368
|
/**
|
|
329
369
|
*
|
|
330
370
|
* @summary Creates an edited or extended image given an original image and a prompt.
|
|
331
|
-
* @param {File} image The image to edit. Must be a valid PNG file, less than 4MB, and square.
|
|
332
|
-
* @param {File} mask An additional image whose fully transparent areas (e.g. where alpha is zero) indicate where `image` should be edited. Must be a valid PNG file, less than 4MB, and have the same dimensions as `image`.
|
|
371
|
+
* @param {File} image The image to edit. Must be a valid PNG file, less than 4MB, and square. If mask is not provided, image must have transparency, which will be used as the mask.
|
|
333
372
|
* @param {string} prompt A text description of the desired image(s). The maximum length is 1000 characters.
|
|
373
|
+
* @param {File} [mask] An additional image whose fully transparent areas (e.g. where alpha is zero) indicate where `image` should be edited. Must be a valid PNG file, less than 4MB, and have the same dimensions as `image`.
|
|
334
374
|
* @param {number} [n] The number of images to generate. Must be between 1 and 10.
|
|
335
375
|
* @param {string} [size] The size of the generated images. Must be one of `256x256`, `512x512`, or `1024x1024`.
|
|
336
376
|
* @param {string} [responseFormat] The format in which the generated images are returned. Must be one of `url` or `b64_json`.
|
|
337
|
-
* @param {string} [user] A unique identifier representing your end-user, which
|
|
377
|
+
* @param {string} [user] A unique identifier representing your end-user, which can help OpenAI to monitor and detect abuse. [Learn more](/docs/guides/safety-best-practices/end-user-ids).
|
|
338
378
|
* @param {*} [options] Override http request option.
|
|
339
379
|
* @throws {RequiredError}
|
|
340
380
|
*/
|
|
341
|
-
createImageEdit: (image,
|
|
381
|
+
createImageEdit: (image, prompt, mask, n, size, responseFormat, user, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
342
382
|
// verify required parameter 'image' is not null or undefined
|
|
343
383
|
common_1.assertParamExists('createImageEdit', 'image', image);
|
|
344
|
-
// verify required parameter 'mask' is not null or undefined
|
|
345
|
-
common_1.assertParamExists('createImageEdit', 'mask', mask);
|
|
346
384
|
// verify required parameter 'prompt' is not null or undefined
|
|
347
385
|
common_1.assertParamExists('createImageEdit', 'prompt', prompt);
|
|
348
386
|
const localVarPath = `/images/edits`;
|
|
@@ -394,7 +432,7 @@ exports.OpenAIApiAxiosParamCreator = function (configuration) {
|
|
|
394
432
|
* @param {number} [n] The number of images to generate. Must be between 1 and 10.
|
|
395
433
|
* @param {string} [size] The size of the generated images. Must be one of `256x256`, `512x512`, or `1024x1024`.
|
|
396
434
|
* @param {string} [responseFormat] The format in which the generated images are returned. Must be one of `url` or `b64_json`.
|
|
397
|
-
* @param {string} [user] A unique identifier representing your end-user, which
|
|
435
|
+
* @param {string} [user] A unique identifier representing your end-user, which can help OpenAI to monitor and detect abuse. [Learn more](/docs/guides/safety-best-practices/end-user-ids).
|
|
398
436
|
* @param {*} [options] Override http request option.
|
|
399
437
|
* @throws {RequiredError}
|
|
400
438
|
*/
|
|
@@ -502,6 +540,110 @@ exports.OpenAIApiAxiosParamCreator = function (configuration) {
|
|
|
502
540
|
options: localVarRequestOptions,
|
|
503
541
|
};
|
|
504
542
|
}),
|
|
543
|
+
/**
|
|
544
|
+
*
|
|
545
|
+
* @summary Transcribes audio into the input language.
|
|
546
|
+
* @param {File} file The audio file to transcribe, in one of these formats: mp3, mp4, mpeg, mpga, m4a, wav, or webm.
|
|
547
|
+
* @param {string} model ID of the model to use. Only `whisper-1` is currently available.
|
|
548
|
+
* @param {string} [prompt] An optional text to guide the model\\\'s style or continue a previous audio segment. The [prompt](/docs/guides/speech-to-text/prompting) should match the audio language.
|
|
549
|
+
* @param {string} [responseFormat] The format of the transcript output, in one of these options: json, text, srt, verbose_json, or vtt.
|
|
550
|
+
* @param {number} [temperature] The sampling temperature, between 0 and 1. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic. If set to 0, the model will use [log probability](https://en.wikipedia.org/wiki/Log_probability) to automatically increase the temperature until certain thresholds are hit.
|
|
551
|
+
* @param {*} [options] Override http request option.
|
|
552
|
+
* @throws {RequiredError}
|
|
553
|
+
*/
|
|
554
|
+
createTranscription: (file, model, prompt, responseFormat, temperature, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
555
|
+
// verify required parameter 'file' is not null or undefined
|
|
556
|
+
common_1.assertParamExists('createTranscription', 'file', file);
|
|
557
|
+
// verify required parameter 'model' is not null or undefined
|
|
558
|
+
common_1.assertParamExists('createTranscription', 'model', model);
|
|
559
|
+
const localVarPath = `/audio/transcriptions`;
|
|
560
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
561
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
562
|
+
let baseOptions;
|
|
563
|
+
if (configuration) {
|
|
564
|
+
baseOptions = configuration.baseOptions;
|
|
565
|
+
}
|
|
566
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
567
|
+
const localVarHeaderParameter = {};
|
|
568
|
+
const localVarQueryParameter = {};
|
|
569
|
+
const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
|
|
570
|
+
if (file !== undefined) {
|
|
571
|
+
localVarFormParams.append('file', file);
|
|
572
|
+
}
|
|
573
|
+
if (model !== undefined) {
|
|
574
|
+
localVarFormParams.append('model', model);
|
|
575
|
+
}
|
|
576
|
+
if (prompt !== undefined) {
|
|
577
|
+
localVarFormParams.append('prompt', prompt);
|
|
578
|
+
}
|
|
579
|
+
if (responseFormat !== undefined) {
|
|
580
|
+
localVarFormParams.append('response_format', responseFormat);
|
|
581
|
+
}
|
|
582
|
+
if (temperature !== undefined) {
|
|
583
|
+
localVarFormParams.append('temperature', temperature);
|
|
584
|
+
}
|
|
585
|
+
localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
|
|
586
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
587
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
588
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), localVarFormParams.getHeaders()), headersFromBaseOptions), options.headers);
|
|
589
|
+
localVarRequestOptions.data = localVarFormParams;
|
|
590
|
+
return {
|
|
591
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
592
|
+
options: localVarRequestOptions,
|
|
593
|
+
};
|
|
594
|
+
}),
|
|
595
|
+
/**
|
|
596
|
+
*
|
|
597
|
+
* @summary Translates audio into into English.
|
|
598
|
+
* @param {File} file The audio file to translate, in one of these formats: mp3, mp4, mpeg, mpga, m4a, wav, or webm.
|
|
599
|
+
* @param {string} model ID of the model to use. Only `whisper-1` is currently available.
|
|
600
|
+
* @param {string} [prompt] An optional text to guide the model\\\'s style or continue a previous audio segment. The [prompt](/docs/guides/speech-to-text/prompting) should be in English.
|
|
601
|
+
* @param {string} [responseFormat] The format of the transcript output, in one of these options: json, text, srt, verbose_json, or vtt.
|
|
602
|
+
* @param {number} [temperature] The sampling temperature, between 0 and 1. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic. If set to 0, the model will use [log probability](https://en.wikipedia.org/wiki/Log_probability) to automatically increase the temperature until certain thresholds are hit.
|
|
603
|
+
* @param {*} [options] Override http request option.
|
|
604
|
+
* @throws {RequiredError}
|
|
605
|
+
*/
|
|
606
|
+
createTranslation: (file, model, prompt, responseFormat, temperature, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
607
|
+
// verify required parameter 'file' is not null or undefined
|
|
608
|
+
common_1.assertParamExists('createTranslation', 'file', file);
|
|
609
|
+
// verify required parameter 'model' is not null or undefined
|
|
610
|
+
common_1.assertParamExists('createTranslation', 'model', model);
|
|
611
|
+
const localVarPath = `/audio/translations`;
|
|
612
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
613
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
614
|
+
let baseOptions;
|
|
615
|
+
if (configuration) {
|
|
616
|
+
baseOptions = configuration.baseOptions;
|
|
617
|
+
}
|
|
618
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
619
|
+
const localVarHeaderParameter = {};
|
|
620
|
+
const localVarQueryParameter = {};
|
|
621
|
+
const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
|
|
622
|
+
if (file !== undefined) {
|
|
623
|
+
localVarFormParams.append('file', file);
|
|
624
|
+
}
|
|
625
|
+
if (model !== undefined) {
|
|
626
|
+
localVarFormParams.append('model', model);
|
|
627
|
+
}
|
|
628
|
+
if (prompt !== undefined) {
|
|
629
|
+
localVarFormParams.append('prompt', prompt);
|
|
630
|
+
}
|
|
631
|
+
if (responseFormat !== undefined) {
|
|
632
|
+
localVarFormParams.append('response_format', responseFormat);
|
|
633
|
+
}
|
|
634
|
+
if (temperature !== undefined) {
|
|
635
|
+
localVarFormParams.append('temperature', temperature);
|
|
636
|
+
}
|
|
637
|
+
localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
|
|
638
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
639
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
640
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), localVarFormParams.getHeaders()), headersFromBaseOptions), options.headers);
|
|
641
|
+
localVarRequestOptions.data = localVarFormParams;
|
|
642
|
+
return {
|
|
643
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
644
|
+
options: localVarRequestOptions,
|
|
645
|
+
};
|
|
646
|
+
}),
|
|
505
647
|
/**
|
|
506
648
|
*
|
|
507
649
|
* @summary Delete a file.
|
|
@@ -876,6 +1018,19 @@ exports.OpenAIApiFp = function (configuration) {
|
|
|
876
1018
|
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
877
1019
|
});
|
|
878
1020
|
},
|
|
1021
|
+
/**
|
|
1022
|
+
*
|
|
1023
|
+
* @summary Creates a completion for the chat message
|
|
1024
|
+
* @param {CreateChatCompletionRequest} createChatCompletionRequest
|
|
1025
|
+
* @param {*} [options] Override http request option.
|
|
1026
|
+
* @throws {RequiredError}
|
|
1027
|
+
*/
|
|
1028
|
+
createChatCompletion(createChatCompletionRequest, options) {
|
|
1029
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1030
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.createChatCompletion(createChatCompletionRequest, options);
|
|
1031
|
+
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1032
|
+
});
|
|
1033
|
+
},
|
|
879
1034
|
/**
|
|
880
1035
|
*
|
|
881
1036
|
* @summary Classifies the specified `query` using provided examples. The endpoint first [searches](/docs/api-reference/searches) over the labeled examples to select the ones most relevant for the particular query. Then, the relevant examples are combined with the query to construct a prompt to produce the final label via the [completions](/docs/api-reference/completions) endpoint. Labeled examples can be provided via an uploaded `file`, or explicitly listed in the request using the `examples` parameter for quick tests and small scale use cases.
|
|
@@ -905,7 +1060,7 @@ exports.OpenAIApiFp = function (configuration) {
|
|
|
905
1060
|
},
|
|
906
1061
|
/**
|
|
907
1062
|
*
|
|
908
|
-
* @summary Creates a new edit for the provided input, instruction, and parameters
|
|
1063
|
+
* @summary Creates a new edit for the provided input, instruction, and parameters.
|
|
909
1064
|
* @param {CreateEditRequest} createEditRequest
|
|
910
1065
|
* @param {*} [options] Override http request option.
|
|
911
1066
|
* @throws {RequiredError}
|
|
@@ -972,19 +1127,19 @@ exports.OpenAIApiFp = function (configuration) {
|
|
|
972
1127
|
/**
|
|
973
1128
|
*
|
|
974
1129
|
* @summary Creates an edited or extended image given an original image and a prompt.
|
|
975
|
-
* @param {File} image The image to edit. Must be a valid PNG file, less than 4MB, and square.
|
|
976
|
-
* @param {File} mask An additional image whose fully transparent areas (e.g. where alpha is zero) indicate where `image` should be edited. Must be a valid PNG file, less than 4MB, and have the same dimensions as `image`.
|
|
1130
|
+
* @param {File} image The image to edit. Must be a valid PNG file, less than 4MB, and square. If mask is not provided, image must have transparency, which will be used as the mask.
|
|
977
1131
|
* @param {string} prompt A text description of the desired image(s). The maximum length is 1000 characters.
|
|
1132
|
+
* @param {File} [mask] An additional image whose fully transparent areas (e.g. where alpha is zero) indicate where `image` should be edited. Must be a valid PNG file, less than 4MB, and have the same dimensions as `image`.
|
|
978
1133
|
* @param {number} [n] The number of images to generate. Must be between 1 and 10.
|
|
979
1134
|
* @param {string} [size] The size of the generated images. Must be one of `256x256`, `512x512`, or `1024x1024`.
|
|
980
1135
|
* @param {string} [responseFormat] The format in which the generated images are returned. Must be one of `url` or `b64_json`.
|
|
981
|
-
* @param {string} [user] A unique identifier representing your end-user, which
|
|
1136
|
+
* @param {string} [user] A unique identifier representing your end-user, which can help OpenAI to monitor and detect abuse. [Learn more](/docs/guides/safety-best-practices/end-user-ids).
|
|
982
1137
|
* @param {*} [options] Override http request option.
|
|
983
1138
|
* @throws {RequiredError}
|
|
984
1139
|
*/
|
|
985
|
-
createImageEdit(image,
|
|
1140
|
+
createImageEdit(image, prompt, mask, n, size, responseFormat, user, options) {
|
|
986
1141
|
return __awaiter(this, void 0, void 0, function* () {
|
|
987
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.createImageEdit(image,
|
|
1142
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.createImageEdit(image, prompt, mask, n, size, responseFormat, user, options);
|
|
988
1143
|
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
989
1144
|
});
|
|
990
1145
|
},
|
|
@@ -995,7 +1150,7 @@ exports.OpenAIApiFp = function (configuration) {
|
|
|
995
1150
|
* @param {number} [n] The number of images to generate. Must be between 1 and 10.
|
|
996
1151
|
* @param {string} [size] The size of the generated images. Must be one of `256x256`, `512x512`, or `1024x1024`.
|
|
997
1152
|
* @param {string} [responseFormat] The format in which the generated images are returned. Must be one of `url` or `b64_json`.
|
|
998
|
-
* @param {string} [user] A unique identifier representing your end-user, which
|
|
1153
|
+
* @param {string} [user] A unique identifier representing your end-user, which can help OpenAI to monitor and detect abuse. [Learn more](/docs/guides/safety-best-practices/end-user-ids).
|
|
999
1154
|
* @param {*} [options] Override http request option.
|
|
1000
1155
|
* @throws {RequiredError}
|
|
1001
1156
|
*/
|
|
@@ -1033,6 +1188,40 @@ exports.OpenAIApiFp = function (configuration) {
|
|
|
1033
1188
|
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1034
1189
|
});
|
|
1035
1190
|
},
|
|
1191
|
+
/**
|
|
1192
|
+
*
|
|
1193
|
+
* @summary Transcribes audio into the input language.
|
|
1194
|
+
* @param {File} file The audio file to transcribe, in one of these formats: mp3, mp4, mpeg, mpga, m4a, wav, or webm.
|
|
1195
|
+
* @param {string} model ID of the model to use. Only `whisper-1` is currently available.
|
|
1196
|
+
* @param {string} [prompt] An optional text to guide the model\\\'s style or continue a previous audio segment. The [prompt](/docs/guides/speech-to-text/prompting) should match the audio language.
|
|
1197
|
+
* @param {string} [responseFormat] The format of the transcript output, in one of these options: json, text, srt, verbose_json, or vtt.
|
|
1198
|
+
* @param {number} [temperature] The sampling temperature, between 0 and 1. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic. If set to 0, the model will use [log probability](https://en.wikipedia.org/wiki/Log_probability) to automatically increase the temperature until certain thresholds are hit.
|
|
1199
|
+
* @param {*} [options] Override http request option.
|
|
1200
|
+
* @throws {RequiredError}
|
|
1201
|
+
*/
|
|
1202
|
+
createTranscription(file, model, prompt, responseFormat, temperature, options) {
|
|
1203
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1204
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.createTranscription(file, model, prompt, responseFormat, temperature, options);
|
|
1205
|
+
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1206
|
+
});
|
|
1207
|
+
},
|
|
1208
|
+
/**
|
|
1209
|
+
*
|
|
1210
|
+
* @summary Translates audio into into English.
|
|
1211
|
+
* @param {File} file The audio file to translate, in one of these formats: mp3, mp4, mpeg, mpga, m4a, wav, or webm.
|
|
1212
|
+
* @param {string} model ID of the model to use. Only `whisper-1` is currently available.
|
|
1213
|
+
* @param {string} [prompt] An optional text to guide the model\\\'s style or continue a previous audio segment. The [prompt](/docs/guides/speech-to-text/prompting) should be in English.
|
|
1214
|
+
* @param {string} [responseFormat] The format of the transcript output, in one of these options: json, text, srt, verbose_json, or vtt.
|
|
1215
|
+
* @param {number} [temperature] The sampling temperature, between 0 and 1. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic. If set to 0, the model will use [log probability](https://en.wikipedia.org/wiki/Log_probability) to automatically increase the temperature until certain thresholds are hit.
|
|
1216
|
+
* @param {*} [options] Override http request option.
|
|
1217
|
+
* @throws {RequiredError}
|
|
1218
|
+
*/
|
|
1219
|
+
createTranslation(file, model, prompt, responseFormat, temperature, options) {
|
|
1220
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1221
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.createTranslation(file, model, prompt, responseFormat, temperature, options);
|
|
1222
|
+
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1223
|
+
});
|
|
1224
|
+
},
|
|
1036
1225
|
/**
|
|
1037
1226
|
*
|
|
1038
1227
|
* @summary Delete a file.
|
|
@@ -1218,6 +1407,16 @@ exports.OpenAIApiFactory = function (configuration, basePath, axios) {
|
|
|
1218
1407
|
createAnswer(createAnswerRequest, options) {
|
|
1219
1408
|
return localVarFp.createAnswer(createAnswerRequest, options).then((request) => request(axios, basePath));
|
|
1220
1409
|
},
|
|
1410
|
+
/**
|
|
1411
|
+
*
|
|
1412
|
+
* @summary Creates a completion for the chat message
|
|
1413
|
+
* @param {CreateChatCompletionRequest} createChatCompletionRequest
|
|
1414
|
+
* @param {*} [options] Override http request option.
|
|
1415
|
+
* @throws {RequiredError}
|
|
1416
|
+
*/
|
|
1417
|
+
createChatCompletion(createChatCompletionRequest, options) {
|
|
1418
|
+
return localVarFp.createChatCompletion(createChatCompletionRequest, options).then((request) => request(axios, basePath));
|
|
1419
|
+
},
|
|
1221
1420
|
/**
|
|
1222
1421
|
*
|
|
1223
1422
|
* @summary Classifies the specified `query` using provided examples. The endpoint first [searches](/docs/api-reference/searches) over the labeled examples to select the ones most relevant for the particular query. Then, the relevant examples are combined with the query to construct a prompt to produce the final label via the [completions](/docs/api-reference/completions) endpoint. Labeled examples can be provided via an uploaded `file`, or explicitly listed in the request using the `examples` parameter for quick tests and small scale use cases.
|
|
@@ -1241,7 +1440,7 @@ exports.OpenAIApiFactory = function (configuration, basePath, axios) {
|
|
|
1241
1440
|
},
|
|
1242
1441
|
/**
|
|
1243
1442
|
*
|
|
1244
|
-
* @summary Creates a new edit for the provided input, instruction, and parameters
|
|
1443
|
+
* @summary Creates a new edit for the provided input, instruction, and parameters.
|
|
1245
1444
|
* @param {CreateEditRequest} createEditRequest
|
|
1246
1445
|
* @param {*} [options] Override http request option.
|
|
1247
1446
|
* @throws {RequiredError}
|
|
@@ -1293,18 +1492,18 @@ exports.OpenAIApiFactory = function (configuration, basePath, axios) {
|
|
|
1293
1492
|
/**
|
|
1294
1493
|
*
|
|
1295
1494
|
* @summary Creates an edited or extended image given an original image and a prompt.
|
|
1296
|
-
* @param {File} image The image to edit. Must be a valid PNG file, less than 4MB, and square.
|
|
1297
|
-
* @param {File} mask An additional image whose fully transparent areas (e.g. where alpha is zero) indicate where `image` should be edited. Must be a valid PNG file, less than 4MB, and have the same dimensions as `image`.
|
|
1495
|
+
* @param {File} image The image to edit. Must be a valid PNG file, less than 4MB, and square. If mask is not provided, image must have transparency, which will be used as the mask.
|
|
1298
1496
|
* @param {string} prompt A text description of the desired image(s). The maximum length is 1000 characters.
|
|
1497
|
+
* @param {File} [mask] An additional image whose fully transparent areas (e.g. where alpha is zero) indicate where `image` should be edited. Must be a valid PNG file, less than 4MB, and have the same dimensions as `image`.
|
|
1299
1498
|
* @param {number} [n] The number of images to generate. Must be between 1 and 10.
|
|
1300
1499
|
* @param {string} [size] The size of the generated images. Must be one of `256x256`, `512x512`, or `1024x1024`.
|
|
1301
1500
|
* @param {string} [responseFormat] The format in which the generated images are returned. Must be one of `url` or `b64_json`.
|
|
1302
|
-
* @param {string} [user] A unique identifier representing your end-user, which
|
|
1501
|
+
* @param {string} [user] A unique identifier representing your end-user, which can help OpenAI to monitor and detect abuse. [Learn more](/docs/guides/safety-best-practices/end-user-ids).
|
|
1303
1502
|
* @param {*} [options] Override http request option.
|
|
1304
1503
|
* @throws {RequiredError}
|
|
1305
1504
|
*/
|
|
1306
|
-
createImageEdit(image,
|
|
1307
|
-
return localVarFp.createImageEdit(image,
|
|
1505
|
+
createImageEdit(image, prompt, mask, n, size, responseFormat, user, options) {
|
|
1506
|
+
return localVarFp.createImageEdit(image, prompt, mask, n, size, responseFormat, user, options).then((request) => request(axios, basePath));
|
|
1308
1507
|
},
|
|
1309
1508
|
/**
|
|
1310
1509
|
*
|
|
@@ -1313,7 +1512,7 @@ exports.OpenAIApiFactory = function (configuration, basePath, axios) {
|
|
|
1313
1512
|
* @param {number} [n] The number of images to generate. Must be between 1 and 10.
|
|
1314
1513
|
* @param {string} [size] The size of the generated images. Must be one of `256x256`, `512x512`, or `1024x1024`.
|
|
1315
1514
|
* @param {string} [responseFormat] The format in which the generated images are returned. Must be one of `url` or `b64_json`.
|
|
1316
|
-
* @param {string} [user] A unique identifier representing your end-user, which
|
|
1515
|
+
* @param {string} [user] A unique identifier representing your end-user, which can help OpenAI to monitor and detect abuse. [Learn more](/docs/guides/safety-best-practices/end-user-ids).
|
|
1317
1516
|
* @param {*} [options] Override http request option.
|
|
1318
1517
|
* @throws {RequiredError}
|
|
1319
1518
|
*/
|
|
@@ -1342,6 +1541,34 @@ exports.OpenAIApiFactory = function (configuration, basePath, axios) {
|
|
|
1342
1541
|
createSearch(engineId, createSearchRequest, options) {
|
|
1343
1542
|
return localVarFp.createSearch(engineId, createSearchRequest, options).then((request) => request(axios, basePath));
|
|
1344
1543
|
},
|
|
1544
|
+
/**
|
|
1545
|
+
*
|
|
1546
|
+
* @summary Transcribes audio into the input language.
|
|
1547
|
+
* @param {File} file The audio file to transcribe, in one of these formats: mp3, mp4, mpeg, mpga, m4a, wav, or webm.
|
|
1548
|
+
* @param {string} model ID of the model to use. Only `whisper-1` is currently available.
|
|
1549
|
+
* @param {string} [prompt] An optional text to guide the model\\\'s style or continue a previous audio segment. The [prompt](/docs/guides/speech-to-text/prompting) should match the audio language.
|
|
1550
|
+
* @param {string} [responseFormat] The format of the transcript output, in one of these options: json, text, srt, verbose_json, or vtt.
|
|
1551
|
+
* @param {number} [temperature] The sampling temperature, between 0 and 1. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic. If set to 0, the model will use [log probability](https://en.wikipedia.org/wiki/Log_probability) to automatically increase the temperature until certain thresholds are hit.
|
|
1552
|
+
* @param {*} [options] Override http request option.
|
|
1553
|
+
* @throws {RequiredError}
|
|
1554
|
+
*/
|
|
1555
|
+
createTranscription(file, model, prompt, responseFormat, temperature, options) {
|
|
1556
|
+
return localVarFp.createTranscription(file, model, prompt, responseFormat, temperature, options).then((request) => request(axios, basePath));
|
|
1557
|
+
},
|
|
1558
|
+
/**
|
|
1559
|
+
*
|
|
1560
|
+
* @summary Translates audio into into English.
|
|
1561
|
+
* @param {File} file The audio file to translate, in one of these formats: mp3, mp4, mpeg, mpga, m4a, wav, or webm.
|
|
1562
|
+
* @param {string} model ID of the model to use. Only `whisper-1` is currently available.
|
|
1563
|
+
* @param {string} [prompt] An optional text to guide the model\\\'s style or continue a previous audio segment. The [prompt](/docs/guides/speech-to-text/prompting) should be in English.
|
|
1564
|
+
* @param {string} [responseFormat] The format of the transcript output, in one of these options: json, text, srt, verbose_json, or vtt.
|
|
1565
|
+
* @param {number} [temperature] The sampling temperature, between 0 and 1. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic. If set to 0, the model will use [log probability](https://en.wikipedia.org/wiki/Log_probability) to automatically increase the temperature until certain thresholds are hit.
|
|
1566
|
+
* @param {*} [options] Override http request option.
|
|
1567
|
+
* @throws {RequiredError}
|
|
1568
|
+
*/
|
|
1569
|
+
createTranslation(file, model, prompt, responseFormat, temperature, options) {
|
|
1570
|
+
return localVarFp.createTranslation(file, model, prompt, responseFormat, temperature, options).then((request) => request(axios, basePath));
|
|
1571
|
+
},
|
|
1345
1572
|
/**
|
|
1346
1573
|
*
|
|
1347
1574
|
* @summary Delete a file.
|
|
@@ -1493,6 +1720,17 @@ class OpenAIApi extends base_1.BaseAPI {
|
|
|
1493
1720
|
createAnswer(createAnswerRequest, options) {
|
|
1494
1721
|
return exports.OpenAIApiFp(this.configuration).createAnswer(createAnswerRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1495
1722
|
}
|
|
1723
|
+
/**
|
|
1724
|
+
*
|
|
1725
|
+
* @summary Creates a completion for the chat message
|
|
1726
|
+
* @param {CreateChatCompletionRequest} createChatCompletionRequest
|
|
1727
|
+
* @param {*} [options] Override http request option.
|
|
1728
|
+
* @throws {RequiredError}
|
|
1729
|
+
* @memberof OpenAIApi
|
|
1730
|
+
*/
|
|
1731
|
+
createChatCompletion(createChatCompletionRequest, options) {
|
|
1732
|
+
return exports.OpenAIApiFp(this.configuration).createChatCompletion(createChatCompletionRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1733
|
+
}
|
|
1496
1734
|
/**
|
|
1497
1735
|
*
|
|
1498
1736
|
* @summary Classifies the specified `query` using provided examples. The endpoint first [searches](/docs/api-reference/searches) over the labeled examples to select the ones most relevant for the particular query. Then, the relevant examples are combined with the query to construct a prompt to produce the final label via the [completions](/docs/api-reference/completions) endpoint. Labeled examples can be provided via an uploaded `file`, or explicitly listed in the request using the `examples` parameter for quick tests and small scale use cases.
|
|
@@ -1518,7 +1756,7 @@ class OpenAIApi extends base_1.BaseAPI {
|
|
|
1518
1756
|
}
|
|
1519
1757
|
/**
|
|
1520
1758
|
*
|
|
1521
|
-
* @summary Creates a new edit for the provided input, instruction, and parameters
|
|
1759
|
+
* @summary Creates a new edit for the provided input, instruction, and parameters.
|
|
1522
1760
|
* @param {CreateEditRequest} createEditRequest
|
|
1523
1761
|
* @param {*} [options] Override http request option.
|
|
1524
1762
|
* @throws {RequiredError}
|
|
@@ -1575,19 +1813,19 @@ class OpenAIApi extends base_1.BaseAPI {
|
|
|
1575
1813
|
/**
|
|
1576
1814
|
*
|
|
1577
1815
|
* @summary Creates an edited or extended image given an original image and a prompt.
|
|
1578
|
-
* @param {File} image The image to edit. Must be a valid PNG file, less than 4MB, and square.
|
|
1579
|
-
* @param {File} mask An additional image whose fully transparent areas (e.g. where alpha is zero) indicate where `image` should be edited. Must be a valid PNG file, less than 4MB, and have the same dimensions as `image`.
|
|
1816
|
+
* @param {File} image The image to edit. Must be a valid PNG file, less than 4MB, and square. If mask is not provided, image must have transparency, which will be used as the mask.
|
|
1580
1817
|
* @param {string} prompt A text description of the desired image(s). The maximum length is 1000 characters.
|
|
1818
|
+
* @param {File} [mask] An additional image whose fully transparent areas (e.g. where alpha is zero) indicate where `image` should be edited. Must be a valid PNG file, less than 4MB, and have the same dimensions as `image`.
|
|
1581
1819
|
* @param {number} [n] The number of images to generate. Must be between 1 and 10.
|
|
1582
1820
|
* @param {string} [size] The size of the generated images. Must be one of `256x256`, `512x512`, or `1024x1024`.
|
|
1583
1821
|
* @param {string} [responseFormat] The format in which the generated images are returned. Must be one of `url` or `b64_json`.
|
|
1584
|
-
* @param {string} [user] A unique identifier representing your end-user, which
|
|
1822
|
+
* @param {string} [user] A unique identifier representing your end-user, which can help OpenAI to monitor and detect abuse. [Learn more](/docs/guides/safety-best-practices/end-user-ids).
|
|
1585
1823
|
* @param {*} [options] Override http request option.
|
|
1586
1824
|
* @throws {RequiredError}
|
|
1587
1825
|
* @memberof OpenAIApi
|
|
1588
1826
|
*/
|
|
1589
|
-
createImageEdit(image,
|
|
1590
|
-
return exports.OpenAIApiFp(this.configuration).createImageEdit(image,
|
|
1827
|
+
createImageEdit(image, prompt, mask, n, size, responseFormat, user, options) {
|
|
1828
|
+
return exports.OpenAIApiFp(this.configuration).createImageEdit(image, prompt, mask, n, size, responseFormat, user, options).then((request) => request(this.axios, this.basePath));
|
|
1591
1829
|
}
|
|
1592
1830
|
/**
|
|
1593
1831
|
*
|
|
@@ -1596,7 +1834,7 @@ class OpenAIApi extends base_1.BaseAPI {
|
|
|
1596
1834
|
* @param {number} [n] The number of images to generate. Must be between 1 and 10.
|
|
1597
1835
|
* @param {string} [size] The size of the generated images. Must be one of `256x256`, `512x512`, or `1024x1024`.
|
|
1598
1836
|
* @param {string} [responseFormat] The format in which the generated images are returned. Must be one of `url` or `b64_json`.
|
|
1599
|
-
* @param {string} [user] A unique identifier representing your end-user, which
|
|
1837
|
+
* @param {string} [user] A unique identifier representing your end-user, which can help OpenAI to monitor and detect abuse. [Learn more](/docs/guides/safety-best-practices/end-user-ids).
|
|
1600
1838
|
* @param {*} [options] Override http request option.
|
|
1601
1839
|
* @throws {RequiredError}
|
|
1602
1840
|
* @memberof OpenAIApi
|
|
@@ -1628,6 +1866,36 @@ class OpenAIApi extends base_1.BaseAPI {
|
|
|
1628
1866
|
createSearch(engineId, createSearchRequest, options) {
|
|
1629
1867
|
return exports.OpenAIApiFp(this.configuration).createSearch(engineId, createSearchRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1630
1868
|
}
|
|
1869
|
+
/**
|
|
1870
|
+
*
|
|
1871
|
+
* @summary Transcribes audio into the input language.
|
|
1872
|
+
* @param {File} file The audio file to transcribe, in one of these formats: mp3, mp4, mpeg, mpga, m4a, wav, or webm.
|
|
1873
|
+
* @param {string} model ID of the model to use. Only `whisper-1` is currently available.
|
|
1874
|
+
* @param {string} [prompt] An optional text to guide the model\\\'s style or continue a previous audio segment. The [prompt](/docs/guides/speech-to-text/prompting) should match the audio language.
|
|
1875
|
+
* @param {string} [responseFormat] The format of the transcript output, in one of these options: json, text, srt, verbose_json, or vtt.
|
|
1876
|
+
* @param {number} [temperature] The sampling temperature, between 0 and 1. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic. If set to 0, the model will use [log probability](https://en.wikipedia.org/wiki/Log_probability) to automatically increase the temperature until certain thresholds are hit.
|
|
1877
|
+
* @param {*} [options] Override http request option.
|
|
1878
|
+
* @throws {RequiredError}
|
|
1879
|
+
* @memberof OpenAIApi
|
|
1880
|
+
*/
|
|
1881
|
+
createTranscription(file, model, prompt, responseFormat, temperature, options) {
|
|
1882
|
+
return exports.OpenAIApiFp(this.configuration).createTranscription(file, model, prompt, responseFormat, temperature, options).then((request) => request(this.axios, this.basePath));
|
|
1883
|
+
}
|
|
1884
|
+
/**
|
|
1885
|
+
*
|
|
1886
|
+
* @summary Translates audio into into English.
|
|
1887
|
+
* @param {File} file The audio file to translate, in one of these formats: mp3, mp4, mpeg, mpga, m4a, wav, or webm.
|
|
1888
|
+
* @param {string} model ID of the model to use. Only `whisper-1` is currently available.
|
|
1889
|
+
* @param {string} [prompt] An optional text to guide the model\\\'s style or continue a previous audio segment. The [prompt](/docs/guides/speech-to-text/prompting) should be in English.
|
|
1890
|
+
* @param {string} [responseFormat] The format of the transcript output, in one of these options: json, text, srt, verbose_json, or vtt.
|
|
1891
|
+
* @param {number} [temperature] The sampling temperature, between 0 and 1. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic. If set to 0, the model will use [log probability](https://en.wikipedia.org/wiki/Log_probability) to automatically increase the temperature until certain thresholds are hit.
|
|
1892
|
+
* @param {*} [options] Override http request option.
|
|
1893
|
+
* @throws {RequiredError}
|
|
1894
|
+
* @memberof OpenAIApi
|
|
1895
|
+
*/
|
|
1896
|
+
createTranslation(file, model, prompt, responseFormat, temperature, options) {
|
|
1897
|
+
return exports.OpenAIApiFp(this.configuration).createTranslation(file, model, prompt, responseFormat, temperature, options).then((request) => request(this.axios, this.basePath));
|
|
1898
|
+
}
|
|
1631
1899
|
/**
|
|
1632
1900
|
*
|
|
1633
1901
|
* @summary Delete a file.
|
package/dist/base.d.ts
CHANGED
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { Configuration } from
|
|
13
|
-
import { AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
12
|
+
import type { Configuration } from './configuration';
|
|
13
|
+
import type { AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
14
14
|
export declare const BASE_PATH: string;
|
|
15
15
|
/**
|
|
16
16
|
*
|
|
@@ -50,6 +50,5 @@ export declare class BaseAPI {
|
|
|
50
50
|
*/
|
|
51
51
|
export declare class RequiredError extends Error {
|
|
52
52
|
field: string;
|
|
53
|
-
name: "RequiredError";
|
|
54
53
|
constructor(field: string, msg?: string);
|
|
55
54
|
}
|
package/dist/base.js
CHANGED
|
@@ -14,8 +14,6 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.RequiredError = exports.BaseAPI = exports.COLLECTION_FORMATS = exports.BASE_PATH = void 0;
|
|
17
|
-
// Some imports not used depending on template conditions
|
|
18
|
-
// @ts-ignore
|
|
19
17
|
const axios_1 = require("axios");
|
|
20
18
|
exports.BASE_PATH = "https://api.openai.com/v1".replace(/\/+$/, "");
|
|
21
19
|
/**
|
package/dist/common.d.ts
CHANGED
|
@@ -9,9 +9,9 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { Configuration } from "./configuration";
|
|
13
|
-
import { RequestArgs } from "./base";
|
|
14
|
-
import { AxiosInstance, AxiosResponse } from 'axios';
|
|
12
|
+
import type { Configuration } from "./configuration";
|
|
13
|
+
import type { RequestArgs } from "./base";
|
|
14
|
+
import type { AxiosInstance, AxiosResponse } from 'axios';
|
|
15
15
|
/**
|
|
16
16
|
*
|
|
17
17
|
* @export
|
package/dist/common.js
CHANGED
|
@@ -91,6 +91,8 @@ exports.setOAuthToObject = function (object, name, scopes, configuration) {
|
|
|
91
91
|
});
|
|
92
92
|
};
|
|
93
93
|
function setFlattenedQueryParams(urlSearchParams, parameter, key = "") {
|
|
94
|
+
if (parameter == null)
|
|
95
|
+
return;
|
|
94
96
|
if (typeof parameter === "object") {
|
|
95
97
|
if (Array.isArray(parameter)) {
|
|
96
98
|
parameter.forEach(item => setFlattenedQueryParams(urlSearchParams, item, key));
|
package/index.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* OpenAI API
|
|
5
5
|
* APIs for sampling from and fine-tuning language models
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.
|
|
7
|
+
* The version of the OpenAPI document: 1.2.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|