@leonardo-ai/sdk 4.16.0 → 4.17.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/README.md +16 -5
- package/docs/sdks/dataset/README.md +25 -29
- package/docs/sdks/elements/README.md +5 -5
- package/docs/sdks/image/README.md +20 -23
- package/docs/sdks/initimages/README.md +20 -23
- package/docs/sdks/models/README.md +20 -23
- package/docs/sdks/motion/README.md +5 -5
- package/docs/sdks/pricingcalculator/README.md +5 -5
- package/docs/sdks/prompt/README.md +10 -11
- package/docs/sdks/realtimecanvas/README.md +20 -23
- package/docs/sdks/texture/README.md +10 -11
- package/docs/sdks/threedmodelassets/README.md +10 -11
- package/docs/sdks/user/README.md +5 -5
- package/docs/sdks/variation/README.md +25 -29
- package/funcs/datasetCreateDataset.d.ts +1 -1
- package/funcs/datasetCreateDataset.d.ts.map +1 -1
- package/funcs/datasetCreateDataset.js +30 -30
- package/funcs/datasetCreateDataset.js.map +1 -1
- package/funcs/datasetDeleteDatasetById.d.ts +1 -1
- package/funcs/datasetDeleteDatasetById.d.ts.map +1 -1
- package/funcs/datasetDeleteDatasetById.js +32 -32
- package/funcs/datasetDeleteDatasetById.js.map +1 -1
- package/funcs/datasetGetDatasetById.d.ts +1 -1
- package/funcs/datasetGetDatasetById.d.ts.map +1 -1
- package/funcs/datasetGetDatasetById.js +32 -32
- package/funcs/datasetGetDatasetById.js.map +1 -1
- package/funcs/datasetUploadDatasetImage.d.ts +1 -1
- package/funcs/datasetUploadDatasetImage.d.ts.map +1 -1
- package/funcs/datasetUploadDatasetImage.js +32 -32
- package/funcs/datasetUploadDatasetImage.js.map +1 -1
- package/funcs/datasetUploadDatasetImageFromGen.d.ts +1 -1
- package/funcs/datasetUploadDatasetImageFromGen.d.ts.map +1 -1
- package/funcs/datasetUploadDatasetImageFromGen.js +32 -32
- package/funcs/datasetUploadDatasetImageFromGen.js.map +1 -1
- package/funcs/elementsListElements.d.ts +1 -1
- package/funcs/elementsListElements.d.ts.map +1 -1
- package/funcs/elementsListElements.js +22 -22
- package/funcs/elementsListElements.js.map +1 -1
- package/funcs/imageCreateGeneration.d.ts +1 -1
- package/funcs/imageCreateGeneration.d.ts.map +1 -1
- package/funcs/imageCreateGeneration.js +30 -30
- package/funcs/imageCreateGeneration.js.map +1 -1
- package/funcs/imageDeleteGenerationById.d.ts +1 -1
- package/funcs/imageDeleteGenerationById.d.ts.map +1 -1
- package/funcs/imageDeleteGenerationById.js +32 -32
- package/funcs/imageDeleteGenerationById.js.map +1 -1
- package/funcs/imageGetGenerationById.d.ts +1 -1
- package/funcs/imageGetGenerationById.d.ts.map +1 -1
- package/funcs/imageGetGenerationById.js +32 -32
- package/funcs/imageGetGenerationById.js.map +1 -1
- package/funcs/imageGetGenerationsByUserId.d.ts +1 -1
- package/funcs/imageGetGenerationsByUserId.d.ts.map +1 -1
- package/funcs/imageGetGenerationsByUserId.js +36 -36
- package/funcs/imageGetGenerationsByUserId.js.map +1 -1
- package/funcs/initImagesDeleteInitImageById.d.ts +1 -1
- package/funcs/initImagesDeleteInitImageById.d.ts.map +1 -1
- package/funcs/initImagesDeleteInitImageById.js +32 -32
- package/funcs/initImagesDeleteInitImageById.js.map +1 -1
- package/funcs/initImagesGetInitImageById.d.ts +1 -1
- package/funcs/initImagesGetInitImageById.d.ts.map +1 -1
- package/funcs/initImagesGetInitImageById.js +32 -32
- package/funcs/initImagesGetInitImageById.js.map +1 -1
- package/funcs/initImagesUploadCanvasInitImage.d.ts +1 -1
- package/funcs/initImagesUploadCanvasInitImage.d.ts.map +1 -1
- package/funcs/initImagesUploadCanvasInitImage.js +30 -30
- package/funcs/initImagesUploadCanvasInitImage.js.map +1 -1
- package/funcs/initImagesUploadInitImage.d.ts +1 -1
- package/funcs/initImagesUploadInitImage.d.ts.map +1 -1
- package/funcs/initImagesUploadInitImage.js +30 -30
- package/funcs/initImagesUploadInitImage.js.map +1 -1
- package/funcs/modelsCreateModel.d.ts +1 -1
- package/funcs/modelsCreateModel.d.ts.map +1 -1
- package/funcs/modelsCreateModel.js +30 -30
- package/funcs/modelsCreateModel.js.map +1 -1
- package/funcs/modelsDeleteModelById.d.ts +1 -1
- package/funcs/modelsDeleteModelById.d.ts.map +1 -1
- package/funcs/modelsDeleteModelById.js +32 -32
- package/funcs/modelsDeleteModelById.js.map +1 -1
- package/funcs/modelsGetModelById.d.ts +1 -1
- package/funcs/modelsGetModelById.d.ts.map +1 -1
- package/funcs/modelsGetModelById.js +32 -32
- package/funcs/modelsGetModelById.js.map +1 -1
- package/funcs/modelsListPlatformModels.d.ts +1 -1
- package/funcs/modelsListPlatformModels.d.ts.map +1 -1
- package/funcs/modelsListPlatformModels.js +22 -22
- package/funcs/modelsListPlatformModels.js.map +1 -1
- package/funcs/motionCreateSVDMotionGeneration.d.ts +1 -1
- package/funcs/motionCreateSVDMotionGeneration.d.ts.map +1 -1
- package/funcs/motionCreateSVDMotionGeneration.js +32 -32
- package/funcs/motionCreateSVDMotionGeneration.js.map +1 -1
- package/funcs/pricingCalculatorPricingCalculator.d.ts +1 -1
- package/funcs/pricingCalculatorPricingCalculator.d.ts.map +1 -1
- package/funcs/pricingCalculatorPricingCalculator.js +31 -31
- package/funcs/pricingCalculatorPricingCalculator.js.map +1 -1
- package/funcs/promptPromptImprove.d.ts +1 -1
- package/funcs/promptPromptImprove.d.ts.map +1 -1
- package/funcs/promptPromptImprove.js +30 -30
- package/funcs/promptPromptImprove.js.map +1 -1
- package/funcs/promptPromptRandom.d.ts +1 -1
- package/funcs/promptPromptRandom.d.ts.map +1 -1
- package/funcs/promptPromptRandom.js +22 -22
- package/funcs/promptPromptRandom.js.map +1 -1
- package/funcs/realtimeCanvasCreateLCMGeneration.d.ts +1 -1
- package/funcs/realtimeCanvasCreateLCMGeneration.d.ts.map +1 -1
- package/funcs/realtimeCanvasCreateLCMGeneration.js +31 -31
- package/funcs/realtimeCanvasCreateLCMGeneration.js.map +1 -1
- package/funcs/realtimeCanvasPerformAlchemyUpscaleLCM.d.ts +1 -1
- package/funcs/realtimeCanvasPerformAlchemyUpscaleLCM.d.ts.map +1 -1
- package/funcs/realtimeCanvasPerformAlchemyUpscaleLCM.js +32 -32
- package/funcs/realtimeCanvasPerformAlchemyUpscaleLCM.js.map +1 -1
- package/funcs/realtimeCanvasPerformInpaintingLCM.d.ts +1 -1
- package/funcs/realtimeCanvasPerformInpaintingLCM.d.ts.map +1 -1
- package/funcs/realtimeCanvasPerformInpaintingLCM.js +32 -32
- package/funcs/realtimeCanvasPerformInpaintingLCM.js.map +1 -1
- package/funcs/realtimeCanvasPerformInstantRefine.d.ts +1 -1
- package/funcs/realtimeCanvasPerformInstantRefine.d.ts.map +1 -1
- package/funcs/realtimeCanvasPerformInstantRefine.js +32 -32
- package/funcs/realtimeCanvasPerformInstantRefine.js.map +1 -1
- package/funcs/textureCreateTextureGeneration.d.ts +1 -1
- package/funcs/textureCreateTextureGeneration.d.ts.map +1 -1
- package/funcs/textureCreateTextureGeneration.js +32 -32
- package/funcs/textureCreateTextureGeneration.js.map +1 -1
- package/funcs/textureDeleteTextureGenerationById.d.ts +1 -1
- package/funcs/textureDeleteTextureGenerationById.d.ts.map +1 -1
- package/funcs/textureDeleteTextureGenerationById.js +32 -32
- package/funcs/textureDeleteTextureGenerationById.js.map +1 -1
- package/funcs/threeDModelAssetsDelete3DModelById.d.ts +1 -1
- package/funcs/threeDModelAssetsDelete3DModelById.d.ts.map +1 -1
- package/funcs/threeDModelAssetsDelete3DModelById.js +32 -32
- package/funcs/threeDModelAssetsDelete3DModelById.js.map +1 -1
- package/funcs/threeDModelAssetsUploadModelAsset.d.ts +1 -1
- package/funcs/threeDModelAssetsUploadModelAsset.d.ts.map +1 -1
- package/funcs/threeDModelAssetsUploadModelAsset.js +31 -31
- package/funcs/threeDModelAssetsUploadModelAsset.js.map +1 -1
- package/funcs/userGetUserSelf.d.ts +1 -1
- package/funcs/userGetUserSelf.d.ts.map +1 -1
- package/funcs/userGetUserSelf.js +22 -22
- package/funcs/userGetUserSelf.js.map +1 -1
- package/funcs/variationCreateUniversalUpscalerJob.d.ts +1 -1
- package/funcs/variationCreateUniversalUpscalerJob.d.ts.map +1 -1
- package/funcs/variationCreateUniversalUpscalerJob.js +30 -30
- package/funcs/variationCreateUniversalUpscalerJob.js.map +1 -1
- package/funcs/variationCreateVariationNoBG.d.ts +1 -1
- package/funcs/variationCreateVariationNoBG.d.ts.map +1 -1
- package/funcs/variationCreateVariationNoBG.js +30 -30
- package/funcs/variationCreateVariationNoBG.js.map +1 -1
- package/funcs/variationCreateVariationUnzoom.d.ts +1 -1
- package/funcs/variationCreateVariationUnzoom.d.ts.map +1 -1
- package/funcs/variationCreateVariationUnzoom.js +32 -32
- package/funcs/variationCreateVariationUnzoom.js.map +1 -1
- package/funcs/variationCreateVariationUpscale.d.ts +1 -1
- package/funcs/variationCreateVariationUpscale.d.ts.map +1 -1
- package/funcs/variationCreateVariationUpscale.js +32 -32
- package/funcs/variationCreateVariationUpscale.js.map +1 -1
- package/funcs/variationGetVariationById.d.ts +1 -1
- package/funcs/variationGetVariationById.d.ts.map +1 -1
- package/funcs/variationGetVariationById.js +32 -32
- package/funcs/variationGetVariationById.js.map +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/sdks.d.ts +5 -8
- package/lib/sdks.d.ts.map +1 -1
- package/lib/sdks.js +34 -18
- package/lib/sdks.js.map +1 -1
- package/package.json +1 -1
- package/sdk/models/operations/creategeneration.d.ts +2 -2
- package/sdk/sdk.js +13 -13
- package/src/funcs/datasetCreateDataset.ts +34 -35
- package/src/funcs/datasetDeleteDatasetById.ts +36 -37
- package/src/funcs/datasetGetDatasetById.ts +36 -36
- package/src/funcs/datasetUploadDatasetImage.ts +36 -40
- package/src/funcs/datasetUploadDatasetImageFromGen.ts +37 -40
- package/src/funcs/elementsListElements.ts +23 -23
- package/src/funcs/imageCreateGeneration.ts +35 -35
- package/src/funcs/imageDeleteGenerationById.ts +37 -37
- package/src/funcs/imageGetGenerationById.ts +36 -37
- package/src/funcs/imageGetGenerationsByUserId.ts +41 -44
- package/src/funcs/initImagesDeleteInitImageById.ts +37 -37
- package/src/funcs/initImagesGetInitImageById.ts +36 -36
- package/src/funcs/initImagesUploadCanvasInitImage.ts +35 -35
- package/src/funcs/initImagesUploadInitImage.ts +35 -35
- package/src/funcs/modelsCreateModel.ts +34 -34
- package/src/funcs/modelsDeleteModelById.ts +36 -36
- package/src/funcs/modelsGetModelById.ts +36 -36
- package/src/funcs/modelsListPlatformModels.ts +23 -23
- package/src/funcs/motionCreateSVDMotionGeneration.ts +36 -36
- package/src/funcs/pricingCalculatorPricingCalculator.ts +36 -36
- package/src/funcs/promptPromptImprove.ts +34 -35
- package/src/funcs/promptPromptRandom.ts +23 -23
- package/src/funcs/realtimeCanvasCreateLCMGeneration.ts +36 -36
- package/src/funcs/realtimeCanvasPerformAlchemyUpscaleLCM.ts +36 -36
- package/src/funcs/realtimeCanvasPerformInpaintingLCM.ts +36 -36
- package/src/funcs/realtimeCanvasPerformInstantRefine.ts +36 -36
- package/src/funcs/textureCreateTextureGeneration.ts +36 -36
- package/src/funcs/textureDeleteTextureGenerationById.ts +37 -42
- package/src/funcs/threeDModelAssetsDelete3DModelById.ts +36 -40
- package/src/funcs/threeDModelAssetsUploadModelAsset.ts +36 -36
- package/src/funcs/userGetUserSelf.ts +23 -23
- package/src/funcs/variationCreateUniversalUpscalerJob.ts +35 -35
- package/src/funcs/variationCreateVariationNoBG.ts +35 -35
- package/src/funcs/variationCreateVariationUnzoom.ts +36 -36
- package/src/funcs/variationCreateVariationUpscale.ts +36 -36
- package/src/funcs/variationGetVariationById.ts +36 -36
- package/src/lib/config.ts +3 -3
- package/src/lib/sdks.ts +24 -24
- package/src/sdk/models/operations/creategeneration.ts +2 -2
- package/src/sdk/sdk.ts +13 -13
|
@@ -27,7 +27,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.modelsListPlatformModels = void 0;
|
|
30
|
-
const
|
|
30
|
+
const M = __importStar(require("../lib/matchers.js"));
|
|
31
31
|
const security_js_1 = require("../lib/security.js");
|
|
32
32
|
const url_js_1 = require("../lib/url.js");
|
|
33
33
|
const operations = __importStar(require("../sdk/models/operations/index.js"));
|
|
@@ -37,55 +37,55 @@ const operations = __importStar(require("../sdk/models/operations/index.js"));
|
|
|
37
37
|
* @remarks
|
|
38
38
|
* Get a list of public Platform Models available for use with generations.
|
|
39
39
|
*/
|
|
40
|
-
async function modelsListPlatformModels(client
|
|
40
|
+
async function modelsListPlatformModels(client, options) {
|
|
41
41
|
var _a;
|
|
42
|
-
const path
|
|
43
|
-
const headers
|
|
42
|
+
const path = (0, url_js_1.pathToFunc)("/platformModels")();
|
|
43
|
+
const headers = new Headers({
|
|
44
44
|
Accept: "application/json",
|
|
45
45
|
});
|
|
46
|
-
const
|
|
47
|
-
const
|
|
46
|
+
const secConfig = await (0, security_js_1.extractSecurity)(client._options.bearerAuth);
|
|
47
|
+
const securityInput = secConfig == null ? {} : { bearerAuth: secConfig };
|
|
48
48
|
const context = {
|
|
49
49
|
operationID: "listPlatformModels",
|
|
50
50
|
oAuth2Scopes: [],
|
|
51
|
-
securitySource: client
|
|
51
|
+
securitySource: client._options.bearerAuth,
|
|
52
52
|
};
|
|
53
|
-
const
|
|
54
|
-
const requestRes = client
|
|
55
|
-
security:
|
|
53
|
+
const requestSecurity = (0, security_js_1.resolveGlobalSecurity)(securityInput);
|
|
54
|
+
const requestRes = client._createRequest(context, {
|
|
55
|
+
security: requestSecurity,
|
|
56
56
|
method: "GET",
|
|
57
|
-
path: path
|
|
58
|
-
headers: headers
|
|
59
|
-
timeoutMs: (options === null || options === void 0 ? void 0 : options.timeoutMs) || client
|
|
57
|
+
path: path,
|
|
58
|
+
headers: headers,
|
|
59
|
+
timeoutMs: (options === null || options === void 0 ? void 0 : options.timeoutMs) || client._options.timeoutMs || -1,
|
|
60
60
|
}, options);
|
|
61
61
|
if (!requestRes.ok) {
|
|
62
62
|
return requestRes;
|
|
63
63
|
}
|
|
64
|
-
const
|
|
65
|
-
const doResult = await client
|
|
64
|
+
const req = requestRes.value;
|
|
65
|
+
const doResult = await client._do(req, {
|
|
66
66
|
context,
|
|
67
67
|
errorCodes: [],
|
|
68
68
|
retryConfig: (options === null || options === void 0 ? void 0 : options.retries)
|
|
69
|
-
|| client
|
|
69
|
+
|| client._options.retryConfig,
|
|
70
70
|
retryCodes: (options === null || options === void 0 ? void 0 : options.retryCodes) || ["429", "500", "502", "503", "504"],
|
|
71
71
|
});
|
|
72
72
|
if (!doResult.ok) {
|
|
73
73
|
return doResult;
|
|
74
74
|
}
|
|
75
75
|
const response = doResult.value;
|
|
76
|
-
const responseFields
|
|
76
|
+
const responseFields = {
|
|
77
77
|
ContentType: (_a = response.headers.get("content-type")) !== null && _a !== void 0 ? _a : "application/octet-stream",
|
|
78
78
|
StatusCode: response.status,
|
|
79
79
|
RawResponse: response,
|
|
80
80
|
Headers: {},
|
|
81
81
|
};
|
|
82
|
-
const [result
|
|
82
|
+
const [result] = await M.match(M.json(200, operations.ListPlatformModelsResponse$inboundSchema, {
|
|
83
83
|
key: "object",
|
|
84
|
-
}))(response, { extraFields: responseFields
|
|
85
|
-
if (!result
|
|
86
|
-
return result
|
|
84
|
+
}))(response, { extraFields: responseFields });
|
|
85
|
+
if (!result.ok) {
|
|
86
|
+
return result;
|
|
87
87
|
}
|
|
88
|
-
return result
|
|
88
|
+
return result;
|
|
89
89
|
}
|
|
90
90
|
exports.modelsListPlatformModels = modelsListPlatformModels;
|
|
91
91
|
//# sourceMappingURL=modelsListPlatformModels.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"modelsListPlatformModels.js","sourceRoot":"","sources":["../src/funcs/modelsListPlatformModels.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAGH,
|
|
1
|
+
{"version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
13
|
*/
|
|
14
|
-
export declare function motionCreateSVDMotionGeneration(client
|
|
14
|
+
export declare function motionCreateSVDMotionGeneration(client: LeonardoCore, request?: operations.CreateSVDMotionGenerationRequestBody | undefined, options?: RequestOptions): Promise<Result<operations.CreateSVDMotionGenerationResponse, SDKError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
|
|
15
15
|
//# sourceMappingURL=motionCreateSVDMotionGeneration.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"motionCreateSVDMotionGeneration.d.ts","sourceRoot":"","sources":["../src/funcs/motionCreateSVDMotionGeneration.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAI1C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,0CAA0C,CAAC;AAClD,OAAO,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAC;AAC5D,OAAO,EAAE,kBAAkB,EAAE,MAAM,4CAA4C,CAAC;AAChF,OAAO,KAAK,UAAU,MAAM,mCAAmC,CAAC;AAChE,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAE5C;;;;;GAKG;AACH,wBAAsB,+BAA+B,CACnD,
|
|
1
|
+
{"version":3,"file":"motionCreateSVDMotionGeneration.d.ts","sourceRoot":"","sources":["../src/funcs/motionCreateSVDMotionGeneration.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAI1C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,0CAA0C,CAAC;AAClD,OAAO,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAC;AAC5D,OAAO,EAAE,kBAAkB,EAAE,MAAM,4CAA4C,CAAC;AAChF,OAAO,KAAK,UAAU,MAAM,mCAAmC,CAAC;AAChE,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAE5C;;;;;GAKG;AACH,wBAAsB,+BAA+B,CACnD,MAAM,EAAE,YAAY,EACpB,OAAO,CAAC,EAAE,UAAU,CAAC,oCAAoC,GAAG,SAAS,EACrE,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CACR,MAAM,CACJ,UAAU,CAAC,iCAAiC,EAC1C,QAAQ,GACR,kBAAkB,GAClB,qBAAqB,GACrB,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,eAAe,CAClB,CACF,CAsFA"}
|
|
@@ -28,8 +28,8 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.motionCreateSVDMotionGeneration = void 0;
|
|
30
30
|
const encodings_js_1 = require("../lib/encodings.js");
|
|
31
|
-
const
|
|
32
|
-
const
|
|
31
|
+
const M = __importStar(require("../lib/matchers.js"));
|
|
32
|
+
const schemas_js_1 = require("../lib/schemas.js");
|
|
33
33
|
const security_js_1 = require("../lib/security.js");
|
|
34
34
|
const url_js_1 = require("../lib/url.js");
|
|
35
35
|
const operations = __importStar(require("../sdk/models/operations/index.js"));
|
|
@@ -39,67 +39,67 @@ const operations = __importStar(require("../sdk/models/operations/index.js"));
|
|
|
39
39
|
* @remarks
|
|
40
40
|
* This endpoint will generate a SVD motion generation.
|
|
41
41
|
*/
|
|
42
|
-
async function motionCreateSVDMotionGeneration(client
|
|
42
|
+
async function motionCreateSVDMotionGeneration(client, request, options) {
|
|
43
43
|
var _a;
|
|
44
|
-
const input
|
|
45
|
-
const parsed
|
|
46
|
-
.parse(value
|
|
47
|
-
if (!parsed
|
|
48
|
-
return parsed
|
|
44
|
+
const input = request;
|
|
45
|
+
const parsed = (0, schemas_js_1.safeParse)(input, (value) => operations.CreateSVDMotionGenerationRequestBody$outboundSchema.optional()
|
|
46
|
+
.parse(value), "Input validation failed");
|
|
47
|
+
if (!parsed.ok) {
|
|
48
|
+
return parsed;
|
|
49
49
|
}
|
|
50
|
-
const payload
|
|
51
|
-
const body
|
|
50
|
+
const payload = parsed.value;
|
|
51
|
+
const body = payload === undefined
|
|
52
52
|
? null
|
|
53
|
-
: (0, encodings_js_1.encodeJSON)("body", payload
|
|
54
|
-
const path
|
|
55
|
-
const headers
|
|
53
|
+
: (0, encodings_js_1.encodeJSON)("body", payload, { explode: true });
|
|
54
|
+
const path = (0, url_js_1.pathToFunc)("/generations-motion-svd")();
|
|
55
|
+
const headers = new Headers({
|
|
56
56
|
"Content-Type": "application/json",
|
|
57
57
|
Accept: "application/json",
|
|
58
58
|
});
|
|
59
|
-
const
|
|
60
|
-
const
|
|
59
|
+
const secConfig = await (0, security_js_1.extractSecurity)(client._options.bearerAuth);
|
|
60
|
+
const securityInput = secConfig == null ? {} : { bearerAuth: secConfig };
|
|
61
61
|
const context = {
|
|
62
62
|
operationID: "createSVDMotionGeneration",
|
|
63
63
|
oAuth2Scopes: [],
|
|
64
|
-
securitySource: client
|
|
64
|
+
securitySource: client._options.bearerAuth,
|
|
65
65
|
};
|
|
66
|
-
const
|
|
67
|
-
const requestRes = client
|
|
68
|
-
security:
|
|
66
|
+
const requestSecurity = (0, security_js_1.resolveGlobalSecurity)(securityInput);
|
|
67
|
+
const requestRes = client._createRequest(context, {
|
|
68
|
+
security: requestSecurity,
|
|
69
69
|
method: "POST",
|
|
70
|
-
path: path
|
|
71
|
-
headers: headers
|
|
72
|
-
body: body
|
|
73
|
-
timeoutMs: (options === null || options === void 0 ? void 0 : options.timeoutMs) || client
|
|
70
|
+
path: path,
|
|
71
|
+
headers: headers,
|
|
72
|
+
body: body,
|
|
73
|
+
timeoutMs: (options === null || options === void 0 ? void 0 : options.timeoutMs) || client._options.timeoutMs || -1,
|
|
74
74
|
}, options);
|
|
75
75
|
if (!requestRes.ok) {
|
|
76
76
|
return requestRes;
|
|
77
77
|
}
|
|
78
|
-
const
|
|
79
|
-
const doResult = await client
|
|
78
|
+
const req = requestRes.value;
|
|
79
|
+
const doResult = await client._do(req, {
|
|
80
80
|
context,
|
|
81
81
|
errorCodes: [],
|
|
82
82
|
retryConfig: (options === null || options === void 0 ? void 0 : options.retries)
|
|
83
|
-
|| client
|
|
83
|
+
|| client._options.retryConfig,
|
|
84
84
|
retryCodes: (options === null || options === void 0 ? void 0 : options.retryCodes) || ["429", "500", "502", "503", "504"],
|
|
85
85
|
});
|
|
86
86
|
if (!doResult.ok) {
|
|
87
87
|
return doResult;
|
|
88
88
|
}
|
|
89
89
|
const response = doResult.value;
|
|
90
|
-
const responseFields
|
|
90
|
+
const responseFields = {
|
|
91
91
|
ContentType: (_a = response.headers.get("content-type")) !== null && _a !== void 0 ? _a : "application/octet-stream",
|
|
92
92
|
StatusCode: response.status,
|
|
93
93
|
RawResponse: response,
|
|
94
94
|
Headers: {},
|
|
95
95
|
};
|
|
96
|
-
const [result
|
|
96
|
+
const [result] = await M.match(M.json(200, operations.CreateSVDMotionGenerationResponse$inboundSchema, {
|
|
97
97
|
key: "object",
|
|
98
|
-
}))(response, { extraFields: responseFields
|
|
99
|
-
if (!result
|
|
100
|
-
return result
|
|
98
|
+
}))(response, { extraFields: responseFields });
|
|
99
|
+
if (!result.ok) {
|
|
100
|
+
return result;
|
|
101
101
|
}
|
|
102
|
-
return result
|
|
102
|
+
return result;
|
|
103
103
|
}
|
|
104
104
|
exports.motionCreateSVDMotionGeneration = motionCreateSVDMotionGeneration;
|
|
105
105
|
//# sourceMappingURL=motionCreateSVDMotionGeneration.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"motionCreateSVDMotionGeneration.js","sourceRoot":"","sources":["../src/funcs/motionCreateSVDMotionGeneration.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;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W,EAAE,MAAA,QAAQ,CAAC,OAAO,CAAC,GAAG,CAAC,cAAc,CAAC,mCAC5C,0BAA0B;QAC/B,UAAU,EAAE,QAAQ,CAAC,MAAM;QAC3B,WAAW,EAAE,QAAQ;QACrB,OAAO,EAAE,EAAE;KACZ,CAAC;IAEF,MAAM,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC,CAAC,KAAK,CAU5B,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,UAAU,CAAC,+CAA+C,EAAE;QACtE,GAAG,EAAE,QAAQ;KACd,CAAC,CACH,CAAC,QAAQ,EAAE,EAAE,WAAW,EAAE,cAAc,EAAE,CAAC,CAAC;IAC7C,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;QACf,OAAO,MAAM,CAAC;IAChB,CAAC;IAED,OAAO,MAAM,CAAC;AAChB,CAAC;AArGD,0EAqGC"}
|
|
@@ -11,5 +11,5 @@ import { Result } from "../sdk/types/fp.js";
|
|
|
11
11
|
* @remarks
|
|
12
12
|
* This endpoint returns the cost used for generating images using a particular service type.
|
|
13
13
|
*/
|
|
14
|
-
export declare function pricingCalculatorPricingCalculator(client
|
|
14
|
+
export declare function pricingCalculatorPricingCalculator(client: LeonardoCore, request?: operations.PricingCalculatorRequestBody | undefined, options?: RequestOptions): Promise<Result<operations.PricingCalculatorResponse, SDKError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
|
|
15
15
|
//# sourceMappingURL=pricingCalculatorPricingCalculator.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pricingCalculatorPricingCalculator.d.ts","sourceRoot":"","sources":["../src/funcs/pricingCalculatorPricingCalculator.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAI1C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,0CAA0C,CAAC;AAClD,OAAO,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAC;AAC5D,OAAO,EAAE,kBAAkB,EAAE,MAAM,4CAA4C,CAAC;AAChF,OAAO,KAAK,UAAU,MAAM,mCAAmC,CAAC;AAChE,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAE5C;;;;;GAKG;AACH,wBAAsB,kCAAkC,CACtD,
|
|
1
|
+
{"version":3,"file":"pricingCalculatorPricingCalculator.d.ts","sourceRoot":"","sources":["../src/funcs/pricingCalculatorPricingCalculator.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAI1C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,0CAA0C,CAAC;AAClD,OAAO,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAC;AAC5D,OAAO,EAAE,kBAAkB,EAAE,MAAM,4CAA4C,CAAC;AAChF,OAAO,KAAK,UAAU,MAAM,mCAAmC,CAAC;AAChE,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAE5C;;;;;GAKG;AACH,wBAAsB,kCAAkC,CACtD,MAAM,EAAE,YAAY,EACpB,OAAO,CAAC,EAAE,UAAU,CAAC,4BAA4B,GAAG,SAAS,EAC7D,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CACR,MAAM,CACJ,UAAU,CAAC,yBAAyB,EAClC,QAAQ,GACR,kBAAkB,GAClB,qBAAqB,GACrB,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,eAAe,CAClB,CACF,CAuFA"}
|
|
@@ -28,8 +28,8 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.pricingCalculatorPricingCalculator = void 0;
|
|
30
30
|
const encodings_js_1 = require("../lib/encodings.js");
|
|
31
|
-
const
|
|
32
|
-
const
|
|
31
|
+
const M = __importStar(require("../lib/matchers.js"));
|
|
32
|
+
const schemas_js_1 = require("../lib/schemas.js");
|
|
33
33
|
const security_js_1 = require("../lib/security.js");
|
|
34
34
|
const url_js_1 = require("../lib/url.js");
|
|
35
35
|
const operations = __importStar(require("../sdk/models/operations/index.js"));
|
|
@@ -39,66 +39,66 @@ const operations = __importStar(require("../sdk/models/operations/index.js"));
|
|
|
39
39
|
* @remarks
|
|
40
40
|
* This endpoint returns the cost used for generating images using a particular service type.
|
|
41
41
|
*/
|
|
42
|
-
async function pricingCalculatorPricingCalculator(client
|
|
42
|
+
async function pricingCalculatorPricingCalculator(client, request, options) {
|
|
43
43
|
var _a;
|
|
44
|
-
const input
|
|
45
|
-
const parsed
|
|
46
|
-
if (!parsed
|
|
47
|
-
return parsed
|
|
44
|
+
const input = request;
|
|
45
|
+
const parsed = (0, schemas_js_1.safeParse)(input, (value) => operations.PricingCalculatorRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
46
|
+
if (!parsed.ok) {
|
|
47
|
+
return parsed;
|
|
48
48
|
}
|
|
49
|
-
const payload
|
|
50
|
-
const body
|
|
49
|
+
const payload = parsed.value;
|
|
50
|
+
const body = payload === undefined
|
|
51
51
|
? null
|
|
52
|
-
: (0, encodings_js_1.encodeJSON)("body", payload
|
|
53
|
-
const path
|
|
54
|
-
const headers
|
|
52
|
+
: (0, encodings_js_1.encodeJSON)("body", payload, { explode: true });
|
|
53
|
+
const path = (0, url_js_1.pathToFunc)("/pricing-calculator")();
|
|
54
|
+
const headers = new Headers({
|
|
55
55
|
"Content-Type": "application/json",
|
|
56
56
|
Accept: "application/json",
|
|
57
57
|
});
|
|
58
|
-
const
|
|
59
|
-
const
|
|
58
|
+
const secConfig = await (0, security_js_1.extractSecurity)(client._options.bearerAuth);
|
|
59
|
+
const securityInput = secConfig == null ? {} : { bearerAuth: secConfig };
|
|
60
60
|
const context = {
|
|
61
61
|
operationID: "pricingCalculator",
|
|
62
62
|
oAuth2Scopes: [],
|
|
63
|
-
securitySource: client
|
|
63
|
+
securitySource: client._options.bearerAuth,
|
|
64
64
|
};
|
|
65
|
-
const
|
|
66
|
-
const requestRes = client
|
|
67
|
-
security:
|
|
65
|
+
const requestSecurity = (0, security_js_1.resolveGlobalSecurity)(securityInput);
|
|
66
|
+
const requestRes = client._createRequest(context, {
|
|
67
|
+
security: requestSecurity,
|
|
68
68
|
method: "POST",
|
|
69
|
-
path: path
|
|
70
|
-
headers: headers
|
|
71
|
-
body: body
|
|
72
|
-
timeoutMs: (options === null || options === void 0 ? void 0 : options.timeoutMs) || client
|
|
69
|
+
path: path,
|
|
70
|
+
headers: headers,
|
|
71
|
+
body: body,
|
|
72
|
+
timeoutMs: (options === null || options === void 0 ? void 0 : options.timeoutMs) || client._options.timeoutMs || -1,
|
|
73
73
|
}, options);
|
|
74
74
|
if (!requestRes.ok) {
|
|
75
75
|
return requestRes;
|
|
76
76
|
}
|
|
77
|
-
const
|
|
78
|
-
const doResult = await client
|
|
77
|
+
const req = requestRes.value;
|
|
78
|
+
const doResult = await client._do(req, {
|
|
79
79
|
context,
|
|
80
80
|
errorCodes: [],
|
|
81
81
|
retryConfig: (options === null || options === void 0 ? void 0 : options.retries)
|
|
82
|
-
|| client
|
|
82
|
+
|| client._options.retryConfig,
|
|
83
83
|
retryCodes: (options === null || options === void 0 ? void 0 : options.retryCodes) || ["429", "500", "502", "503", "504"],
|
|
84
84
|
});
|
|
85
85
|
if (!doResult.ok) {
|
|
86
86
|
return doResult;
|
|
87
87
|
}
|
|
88
88
|
const response = doResult.value;
|
|
89
|
-
const responseFields
|
|
89
|
+
const responseFields = {
|
|
90
90
|
ContentType: (_a = response.headers.get("content-type")) !== null && _a !== void 0 ? _a : "application/octet-stream",
|
|
91
91
|
StatusCode: response.status,
|
|
92
92
|
RawResponse: response,
|
|
93
93
|
Headers: {},
|
|
94
94
|
};
|
|
95
|
-
const [result
|
|
95
|
+
const [result] = await M.match(M.json(200, operations.PricingCalculatorResponse$inboundSchema, {
|
|
96
96
|
key: "object",
|
|
97
|
-
}))(response, { extraFields: responseFields
|
|
98
|
-
if (!result
|
|
99
|
-
return result
|
|
97
|
+
}))(response, { extraFields: responseFields });
|
|
98
|
+
if (!result.ok) {
|
|
99
|
+
return result;
|
|
100
100
|
}
|
|
101
|
-
return result
|
|
101
|
+
return result;
|
|
102
102
|
}
|
|
103
103
|
exports.pricingCalculatorPricingCalculator = pricingCalculatorPricingCalculator;
|
|
104
104
|
//# sourceMappingURL=pricingCalculatorPricingCalculator.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pricingCalculatorPricingCalculator.js","sourceRoot":"","sources":["../src/funcs/pricingCalculatorPricingCalculator.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAGH,
|
|
1
|
+
{"version":3,"file":"pricingCalculatorPricingCalculator.js","sourceRoot":"","sources":["../src/funcs/pricingCalculatorPricingCalculator.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAGH,sDAAiD;AACjD,sDAAwC;AACxC,kDAA8C;AAE9C,oDAA4E;AAC5E,0CAA2C;AAU3C,8EAAgE;AAGhE;;;;;GAKG;AACI,KAAK,UAAU,kCAAkC,CACtD,MAAoB,EACpB,OAA6D,EAC7D,OAAwB;;IAaxB,MAAM,KAAK,GAAG,OAAO,CAAC;IAEtB,MAAM,MAAM,GAAG,IAAA,sBAAS,EACtB,KAAK,EACL,CAAC,KAAK,EAAE,EAAE,CACR,UAAU,CAAC,2CAA2C,CAAC,QAAQ,EAAE,CAAC,KAAK,CACrE,KAAK,CACN,EACH,yBAAyB,CAC1B,CAAC;IACF,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;QACf,O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
|
12
12
|
* This endpoint returns a improved prompt
|
|
13
13
|
*/
|
|
14
|
-
export declare function promptPromptImprove(client
|
|
14
|
+
export declare function promptPromptImprove(client: LeonardoCore, request: operations.PromptImproveRequestBody, options?: RequestOptions): Promise<Result<operations.PromptImproveResponse, SDKError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
|
|
15
15
|
//# sourceMappingURL=promptPromptImprove.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"promptPromptImprove.d.ts","sourceRoot":"","sources":["../src/funcs/promptPromptImprove.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAI1C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,0CAA0C,CAAC;AAClD,OAAO,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAC;AAC5D,OAAO,EAAE,kBAAkB,EAAE,MAAM,4CAA4C,CAAC;AAChF,OAAO,KAAK,UAAU,MAAM,mCAAmC,CAAC;AAChE,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAE5C;;;;;GAKG;AACH,wBAAsB,mBAAmB,CACvC,
|
|
1
|
+
{"version":3,"file":"promptPromptImprove.d.ts","sourceRoot":"","sources":["../src/funcs/promptPromptImprove.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAI1C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,0CAA0C,CAAC;AAClD,OAAO,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAC;AAC5D,OAAO,EAAE,kBAAkB,EAAE,MAAM,4CAA4C,CAAC;AAChF,OAAO,KAAK,UAAU,MAAM,mCAAmC,CAAC;AAChE,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAE5C;;;;;GAKG;AACH,wBAAsB,mBAAmB,CACvC,MAAM,EAAE,YAAY,EACpB,OAAO,EAAE,UAAU,CAAC,wBAAwB,EAC5C,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CACR,MAAM,CACJ,UAAU,CAAC,qBAAqB,EAC9B,QAAQ,GACR,kBAAkB,GAClB,qBAAqB,GACrB,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,eAAe,CAClB,CACF,CAkFA"}
|
|
@@ -28,8 +28,8 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.promptPromptImprove = void 0;
|
|
30
30
|
const encodings_js_1 = require("../lib/encodings.js");
|
|
31
|
-
const
|
|
32
|
-
const
|
|
31
|
+
const M = __importStar(require("../lib/matchers.js"));
|
|
32
|
+
const schemas_js_1 = require("../lib/schemas.js");
|
|
33
33
|
const security_js_1 = require("../lib/security.js");
|
|
34
34
|
const url_js_1 = require("../lib/url.js");
|
|
35
35
|
const operations = __importStar(require("../sdk/models/operations/index.js"));
|
|
@@ -39,64 +39,64 @@ const operations = __importStar(require("../sdk/models/operations/index.js"));
|
|
|
39
39
|
* @remarks
|
|
40
40
|
* This endpoint returns a improved prompt
|
|
41
41
|
*/
|
|
42
|
-
async function promptPromptImprove(client
|
|
42
|
+
async function promptPromptImprove(client, request, options) {
|
|
43
43
|
var _a;
|
|
44
|
-
const input
|
|
45
|
-
const parsed
|
|
46
|
-
if (!parsed
|
|
47
|
-
return parsed
|
|
44
|
+
const input = request;
|
|
45
|
+
const parsed = (0, schemas_js_1.safeParse)(input, (value) => operations.PromptImproveRequestBody$outboundSchema.parse(value), "Input validation failed");
|
|
46
|
+
if (!parsed.ok) {
|
|
47
|
+
return parsed;
|
|
48
48
|
}
|
|
49
|
-
const payload
|
|
50
|
-
const body
|
|
51
|
-
const path
|
|
52
|
-
const headers
|
|
49
|
+
const payload = parsed.value;
|
|
50
|
+
const body = (0, encodings_js_1.encodeJSON)("body", payload, { explode: true });
|
|
51
|
+
const path = (0, url_js_1.pathToFunc)("/prompt/improve")();
|
|
52
|
+
const headers = new Headers({
|
|
53
53
|
"Content-Type": "application/json",
|
|
54
54
|
Accept: "application/json",
|
|
55
55
|
});
|
|
56
|
-
const
|
|
57
|
-
const
|
|
56
|
+
const secConfig = await (0, security_js_1.extractSecurity)(client._options.bearerAuth);
|
|
57
|
+
const securityInput = secConfig == null ? {} : { bearerAuth: secConfig };
|
|
58
58
|
const context = {
|
|
59
59
|
operationID: "promptImprove",
|
|
60
60
|
oAuth2Scopes: [],
|
|
61
|
-
securitySource: client
|
|
61
|
+
securitySource: client._options.bearerAuth,
|
|
62
62
|
};
|
|
63
|
-
const
|
|
64
|
-
const requestRes = client
|
|
65
|
-
security:
|
|
63
|
+
const requestSecurity = (0, security_js_1.resolveGlobalSecurity)(securityInput);
|
|
64
|
+
const requestRes = client._createRequest(context, {
|
|
65
|
+
security: requestSecurity,
|
|
66
66
|
method: "POST",
|
|
67
|
-
path: path
|
|
68
|
-
headers: headers
|
|
69
|
-
body: body
|
|
70
|
-
timeoutMs: (options === null || options === void 0 ? void 0 : options.timeoutMs) || client
|
|
67
|
+
path: path,
|
|
68
|
+
headers: headers,
|
|
69
|
+
body: body,
|
|
70
|
+
timeoutMs: (options === null || options === void 0 ? void 0 : options.timeoutMs) || client._options.timeoutMs || -1,
|
|
71
71
|
}, options);
|
|
72
72
|
if (!requestRes.ok) {
|
|
73
73
|
return requestRes;
|
|
74
74
|
}
|
|
75
|
-
const
|
|
76
|
-
const doResult = await client
|
|
75
|
+
const req = requestRes.value;
|
|
76
|
+
const doResult = await client._do(req, {
|
|
77
77
|
context,
|
|
78
78
|
errorCodes: [],
|
|
79
79
|
retryConfig: (options === null || options === void 0 ? void 0 : options.retries)
|
|
80
|
-
|| client
|
|
80
|
+
|| client._options.retryConfig,
|
|
81
81
|
retryCodes: (options === null || options === void 0 ? void 0 : options.retryCodes) || ["429", "500", "502", "503", "504"],
|
|
82
82
|
});
|
|
83
83
|
if (!doResult.ok) {
|
|
84
84
|
return doResult;
|
|
85
85
|
}
|
|
86
86
|
const response = doResult.value;
|
|
87
|
-
const responseFields
|
|
87
|
+
const responseFields = {
|
|
88
88
|
ContentType: (_a = response.headers.get("content-type")) !== null && _a !== void 0 ? _a : "application/octet-stream",
|
|
89
89
|
StatusCode: response.status,
|
|
90
90
|
RawResponse: response,
|
|
91
91
|
Headers: {},
|
|
92
92
|
};
|
|
93
|
-
const [result
|
|
93
|
+
const [result] = await M.match(M.json(200, operations.PromptImproveResponse$inboundSchema, {
|
|
94
94
|
key: "object",
|
|
95
|
-
}))(response, { extraFields: responseFields
|
|
96
|
-
if (!result
|
|
97
|
-
return result
|
|
95
|
+
}))(response, { extraFields: responseFields });
|
|
96
|
+
if (!result.ok) {
|
|
97
|
+
return result;
|
|
98
98
|
}
|
|
99
|
-
return result
|
|
99
|
+
return result;
|
|
100
100
|
}
|
|
101
101
|
exports.promptPromptImprove = promptPromptImprove;
|
|
102
102
|
//# sourceMappingURL=promptPromptImprove.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"promptPromptImprove.js","sourceRoot":"","sources":["../src/funcs/promptPromptImprove.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAGH,
|
|
1
|
+
{"version":3,"file":"promptPromptImprove.js","sourceRoot":"","sources":["../src/funcs/promptPromptImprove.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAGH,sDAAiD;AACjD,sDAAwC;AACxC,kDAA8C;AAE9C,oDAA4E;AAC5E,0CAA2C;AAU3C,8EAAgE;AAGhE;;;;;GAKG;AACI,KAAK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E,EAAE,WAAW,EAAE,cAAc,EAAE,CAAC,CAAC;IAC7C,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;QACf,OAAO,MAAM,CAAC;IAChB,CAAC;IAED,OAAO,MAAM,CAAC;AAChB,CAAC;AAjGD,kDAiGC"}
|
|
@@ -11,5 +11,5 @@ import { Result } from "../sdk/types/fp.js";
|
|
|
11
11
|
* @remarks
|
|
12
12
|
* This endpoint returns a random prompt
|
|
13
13
|
*/
|
|
14
|
-
export declare function promptPromptRandom(client
|
|
14
|
+
export declare function promptPromptRandom(client: LeonardoCore, options?: RequestOptions): Promise<Result<operations.PromptRandomResponse, SDKError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
|
|
15
15
|
//# sourceMappingURL=promptPromptRandom.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"promptPromptRandom.d.ts","sourceRoot":"","sources":["../src/funcs/promptPromptRandom.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAE1C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,0CAA0C,CAAC;AAClD,OAAO,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAC;AAC5D,OAAO,EAAE,kBAAkB,EAAE,MAAM,4CAA4C,CAAC;AAChF,OAAO,KAAK,UAAU,MAAM,mCAAmC,CAAC;AAChE,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAE5C;;;;;GAKG;AACH,wBAAsB,kBAAkB,CACtC,
|
|
1
|
+
{"version":3,"file":"promptPromptRandom.d.ts","sourceRoot":"","sources":["../src/funcs/promptPromptRandom.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAE1C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,0CAA0C,CAAC;AAClD,OAAO,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAC;AAC5D,OAAO,EAAE,kBAAkB,EAAE,MAAM,4CAA4C,CAAC;AAChF,OAAO,KAAK,UAAU,MAAM,mCAAmC,CAAC;AAChE,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAE5C;;;;;GAKG;AACH,wBAAsB,kBAAkB,CACtC,MAAM,EAAE,YAAY,EACpB,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CACR,MAAM,CACJ,UAAU,CAAC,oBAAoB,EAC7B,QAAQ,GACR,kBAAkB,GAClB,qBAAqB,GACrB,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,eAAe,CAClB,CACF,CAmEA"}
|