@executioncontrolprotocol/adobe-firefly-services 0.13.2 → 0.60.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/LICENSE +198 -13
- package/README.md +113 -83
- package/dist/auth/ims.d.ts +47 -14
- package/dist/auth/ims.d.ts.map +1 -1
- package/dist/auth/ims.js +127 -26
- package/dist/auth/ims.js.map +1 -1
- package/dist/config.d.ts +27 -0
- package/dist/config.d.ts.map +1 -0
- package/dist/config.js +51 -0
- package/dist/config.js.map +1 -0
- package/dist/errors.d.ts +42 -0
- package/dist/errors.d.ts.map +1 -0
- package/dist/errors.js +53 -0
- package/dist/errors.js.map +1 -0
- package/dist/generated/audio-video/capabilities.d.ts +21 -36
- package/dist/generated/audio-video/capabilities.d.ts.map +1 -1
- package/dist/generated/audio-video/capabilities.js +295 -259
- package/dist/generated/audio-video/capabilities.js.map +1 -1
- package/dist/generated/audio-video/operations.d.ts +13 -0
- package/dist/generated/audio-video/operations.d.ts.map +1 -0
- package/dist/generated/audio-video/operations.js +182 -0
- package/dist/generated/audio-video/operations.js.map +1 -0
- package/dist/generated/audio-video/schemas.d.ts +245 -82
- package/dist/generated/audio-video/schemas.d.ts.map +1 -1
- package/dist/generated/audio-video/schemas.js +552 -466
- package/dist/generated/audio-video/schemas.js.map +1 -1
- package/dist/generated/creative-production/capabilities.d.ts +10 -10
- package/dist/generated/creative-production/capabilities.d.ts.map +1 -1
- package/dist/generated/creative-production/capabilities.js +64 -77
- package/dist/generated/creative-production/capabilities.js.map +1 -1
- package/dist/generated/creative-production/operations.d.ts +13 -0
- package/dist/generated/creative-production/operations.d.ts.map +1 -0
- package/dist/generated/creative-production/operations.js +48 -0
- package/dist/generated/creative-production/operations.js.map +1 -0
- package/dist/generated/creative-production/schemas.d.ts +65 -21
- package/dist/generated/creative-production/schemas.d.ts.map +1 -1
- package/dist/generated/creative-production/schemas.js +149 -128
- package/dist/generated/creative-production/schemas.js.map +1 -1
- package/dist/generated/express/capabilities.d.ts +11 -10
- package/dist/generated/express/capabilities.d.ts.map +1 -1
- package/dist/generated/express/capabilities.js +65 -64
- package/dist/generated/express/capabilities.js.map +1 -1
- package/dist/generated/express/operations.d.ts +13 -0
- package/dist/generated/express/operations.d.ts.map +1 -0
- package/dist/generated/express/operations.js +58 -0
- package/dist/generated/express/operations.js.map +1 -0
- package/dist/generated/express/schemas.d.ts +100 -34
- package/dist/generated/express/schemas.d.ts.map +1 -1
- package/dist/generated/express/schemas.js +165 -134
- package/dist/generated/express/schemas.js.map +1 -1
- package/dist/generated/firefly/capabilities.d.ts +18 -28
- package/dist/generated/firefly/capabilities.d.ts.map +1 -1
- package/dist/generated/firefly/capabilities.js +289 -172
- package/dist/generated/firefly/capabilities.js.map +1 -1
- package/dist/generated/firefly/operations.d.ts +13 -0
- package/dist/generated/firefly/operations.d.ts.map +1 -0
- package/dist/generated/firefly/operations.js +145 -0
- package/dist/generated/firefly/operations.js.map +1 -0
- package/dist/generated/firefly/schemas.d.ts +250 -105
- package/dist/generated/firefly/schemas.d.ts.map +1 -1
- package/dist/generated/firefly/schemas.js +462 -451
- package/dist/generated/firefly/schemas.js.map +1 -1
- package/dist/generated/illustrator/capabilities.d.ts +11 -16
- package/dist/generated/illustrator/capabilities.d.ts.map +1 -1
- package/dist/generated/illustrator/capabilities.js +99 -100
- package/dist/generated/illustrator/capabilities.js.map +1 -1
- package/dist/generated/illustrator/operations.d.ts +13 -0
- package/dist/generated/illustrator/operations.d.ts.map +1 -0
- package/dist/generated/illustrator/operations.js +65 -0
- package/dist/generated/illustrator/operations.js.map +1 -0
- package/dist/generated/illustrator/schemas.d.ts +85 -54
- package/dist/generated/illustrator/schemas.d.ts.map +1 -1
- package/dist/generated/illustrator/schemas.js +187 -233
- package/dist/generated/illustrator/schemas.js.map +1 -1
- package/dist/generated/indesign/capabilities.d.ts +19 -32
- package/dist/generated/indesign/capabilities.d.ts.map +1 -1
- package/dist/generated/indesign/capabilities.js +394 -197
- package/dist/generated/indesign/capabilities.js.map +1 -1
- package/dist/generated/indesign/operations.d.ts +13 -0
- package/dist/generated/indesign/operations.d.ts.map +1 -0
- package/dist/generated/indesign/operations.js +133 -0
- package/dist/generated/indesign/operations.js.map +1 -0
- package/dist/generated/indesign/schemas.d.ts +75 -24
- package/dist/generated/indesign/schemas.d.ts.map +1 -1
- package/dist/generated/indesign/schemas.js +351 -240
- package/dist/generated/indesign/schemas.js.map +1 -1
- package/dist/generated/index.d.ts +74 -3
- package/dist/generated/index.d.ts.map +1 -1
- package/dist/generated/index.js +28 -97
- package/dist/generated/index.js.map +1 -1
- package/dist/generated/photoshop/capabilities.d.ts +13 -14
- package/dist/generated/photoshop/capabilities.d.ts.map +1 -1
- package/dist/generated/photoshop/capabilities.js +133 -90
- package/dist/generated/photoshop/capabilities.js.map +1 -1
- package/dist/generated/photoshop/operations.d.ts +13 -0
- package/dist/generated/photoshop/operations.d.ts.map +1 -0
- package/dist/generated/photoshop/operations.js +88 -0
- package/dist/generated/photoshop/operations.js.map +1 -0
- package/dist/generated/photoshop/schemas.d.ts +430 -152
- package/dist/generated/photoshop/schemas.d.ts.map +1 -1
- package/dist/generated/photoshop/schemas.js +809 -716
- package/dist/generated/photoshop/schemas.js.map +1 -1
- package/dist/generated/substance3d/capabilities.d.ts +16 -22
- package/dist/generated/substance3d/capabilities.d.ts.map +1 -1
- package/dist/generated/substance3d/capabilities.js +181 -136
- package/dist/generated/substance3d/capabilities.js.map +1 -1
- package/dist/generated/substance3d/operations.d.ts +13 -0
- package/dist/generated/substance3d/operations.d.ts.map +1 -0
- package/dist/generated/substance3d/operations.js +114 -0
- package/dist/generated/substance3d/operations.js.map +1 -0
- package/dist/generated/substance3d/schemas.d.ts +305 -76
- package/dist/generated/substance3d/schemas.d.ts.map +1 -1
- package/dist/generated/substance3d/schemas.js +634 -515
- package/dist/generated/substance3d/schemas.js.map +1 -1
- package/dist/http/async-job.d.ts +24 -14
- package/dist/http/async-job.d.ts.map +1 -1
- package/dist/http/async-job.js +135 -69
- package/dist/http/async-job.js.map +1 -1
- package/dist/http/client.d.ts +54 -26
- package/dist/http/client.d.ts.map +1 -1
- package/dist/http/client.js +136 -53
- package/dist/http/client.js.map +1 -1
- package/dist/http/request-limit.d.ts +42 -0
- package/dist/http/request-limit.d.ts.map +1 -0
- package/dist/http/request-limit.js +46 -0
- package/dist/http/request-limit.js.map +1 -0
- package/dist/index.d.ts +84 -30
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +20 -34
- package/dist/index.js.map +1 -1
- package/dist/runtime/abort.d.ts +17 -0
- package/dist/runtime/abort.d.ts.map +1 -0
- package/dist/runtime/abort.js +51 -0
- package/dist/runtime/abort.js.map +1 -0
- package/dist/runtime/assemble.d.ts +99 -0
- package/dist/runtime/assemble.d.ts.map +1 -0
- package/dist/runtime/assemble.js +159 -0
- package/dist/runtime/assemble.js.map +1 -0
- package/dist/runtime/invoke-capability.d.ts +46 -0
- package/dist/runtime/invoke-capability.d.ts.map +1 -0
- package/dist/runtime/invoke-capability.js +68 -0
- package/dist/runtime/invoke-capability.js.map +1 -0
- package/dist/runtime/product-shape.d.ts +49 -0
- package/dist/runtime/product-shape.d.ts.map +1 -0
- package/dist/runtime/product-shape.js +309 -0
- package/dist/runtime/product-shape.js.map +1 -0
- package/dist/schemas.d.ts +13 -0
- package/dist/schemas.d.ts.map +1 -0
- package/dist/schemas.js +7 -0
- package/dist/schemas.js.map +1 -0
- package/ecp.manifest.json +840 -0
- package/ecp.schema.json +23498 -0
- package/package.json +28 -19
- package/dist/generated/audio-video/capabilities.browser.d.ts +0 -37
- package/dist/generated/audio-video/capabilities.browser.d.ts.map +0 -1
- package/dist/generated/audio-video/capabilities.browser.js +0 -44
- package/dist/generated/audio-video/capabilities.browser.js.map +0 -1
- package/dist/generated/audio-video/index.d.ts +0 -3
- package/dist/generated/audio-video/index.d.ts.map +0 -1
- package/dist/generated/audio-video/index.js +0 -3
- package/dist/generated/audio-video/index.js.map +0 -1
- package/dist/generated/audio-video/shells.d.ts +0 -39
- package/dist/generated/audio-video/shells.d.ts.map +0 -1
- package/dist/generated/audio-video/shells.js +0 -290
- package/dist/generated/audio-video/shells.js.map +0 -1
- package/dist/generated/creative-production/capabilities.browser.d.ts +0 -11
- package/dist/generated/creative-production/capabilities.browser.d.ts.map +0 -1
- package/dist/generated/creative-production/capabilities.browser.js +0 -18
- package/dist/generated/creative-production/capabilities.browser.js.map +0 -1
- package/dist/generated/creative-production/index.d.ts +0 -3
- package/dist/generated/creative-production/index.d.ts.map +0 -1
- package/dist/generated/creative-production/index.js +0 -3
- package/dist/generated/creative-production/index.js.map +0 -1
- package/dist/generated/creative-production/shells.d.ts +0 -13
- package/dist/generated/creative-production/shells.d.ts.map +0 -1
- package/dist/generated/creative-production/shells.js +0 -108
- package/dist/generated/creative-production/shells.js.map +0 -1
- package/dist/generated/express/capabilities.browser.d.ts +0 -11
- package/dist/generated/express/capabilities.browser.d.ts.map +0 -1
- package/dist/generated/express/capabilities.browser.js +0 -18
- package/dist/generated/express/capabilities.browser.js.map +0 -1
- package/dist/generated/express/index.d.ts +0 -3
- package/dist/generated/express/index.d.ts.map +0 -1
- package/dist/generated/express/index.js +0 -3
- package/dist/generated/express/index.js.map +0 -1
- package/dist/generated/express/shells.d.ts +0 -13
- package/dist/generated/express/shells.d.ts.map +0 -1
- package/dist/generated/express/shells.js +0 -72
- package/dist/generated/express/shells.js.map +0 -1
- package/dist/generated/firefly/capabilities.browser.d.ts +0 -29
- package/dist/generated/firefly/capabilities.browser.d.ts.map +0 -1
- package/dist/generated/firefly/capabilities.browser.js +0 -36
- package/dist/generated/firefly/capabilities.browser.js.map +0 -1
- package/dist/generated/firefly/index.d.ts +0 -3
- package/dist/generated/firefly/index.d.ts.map +0 -1
- package/dist/generated/firefly/index.js +0 -3
- package/dist/generated/firefly/index.js.map +0 -1
- package/dist/generated/firefly/shells.d.ts +0 -31
- package/dist/generated/firefly/shells.d.ts.map +0 -1
- package/dist/generated/firefly/shells.js +0 -199
- package/dist/generated/firefly/shells.js.map +0 -1
- package/dist/generated/illustrator/capabilities.browser.d.ts +0 -17
- package/dist/generated/illustrator/capabilities.browser.d.ts.map +0 -1
- package/dist/generated/illustrator/capabilities.browser.js +0 -24
- package/dist/generated/illustrator/capabilities.browser.js.map +0 -1
- package/dist/generated/illustrator/index.d.ts +0 -3
- package/dist/generated/illustrator/index.d.ts.map +0 -1
- package/dist/generated/illustrator/index.js +0 -3
- package/dist/generated/illustrator/index.js.map +0 -1
- package/dist/generated/illustrator/shells.d.ts +0 -19
- package/dist/generated/illustrator/shells.d.ts.map +0 -1
- package/dist/generated/illustrator/shells.js +0 -106
- package/dist/generated/illustrator/shells.js.map +0 -1
- package/dist/generated/indesign/capabilities.browser.d.ts +0 -33
- package/dist/generated/indesign/capabilities.browser.d.ts.map +0 -1
- package/dist/generated/indesign/capabilities.browser.js +0 -40
- package/dist/generated/indesign/capabilities.browser.js.map +0 -1
- package/dist/generated/indesign/index.d.ts +0 -3
- package/dist/generated/indesign/index.d.ts.map +0 -1
- package/dist/generated/indesign/index.js +0 -3
- package/dist/generated/indesign/index.js.map +0 -1
- package/dist/generated/indesign/shells.d.ts +0 -35
- package/dist/generated/indesign/shells.d.ts.map +0 -1
- package/dist/generated/indesign/shells.js +0 -208
- package/dist/generated/indesign/shells.js.map +0 -1
- package/dist/generated/index.browser.d.ts +0 -4
- package/dist/generated/index.browser.d.ts.map +0 -1
- package/dist/generated/index.browser.js +0 -98
- package/dist/generated/index.browser.js.map +0 -1
- package/dist/generated/photoshop/capabilities.browser.d.ts +0 -15
- package/dist/generated/photoshop/capabilities.browser.d.ts.map +0 -1
- package/dist/generated/photoshop/capabilities.browser.js +0 -22
- package/dist/generated/photoshop/capabilities.browser.js.map +0 -1
- package/dist/generated/photoshop/index.d.ts +0 -3
- package/dist/generated/photoshop/index.d.ts.map +0 -1
- package/dist/generated/photoshop/index.js +0 -3
- package/dist/generated/photoshop/index.js.map +0 -1
- package/dist/generated/photoshop/shells.d.ts +0 -17
- package/dist/generated/photoshop/shells.d.ts.map +0 -1
- package/dist/generated/photoshop/shells.js +0 -92
- package/dist/generated/photoshop/shells.js.map +0 -1
- package/dist/generated/substance3d/capabilities.browser.d.ts +0 -23
- package/dist/generated/substance3d/capabilities.browser.d.ts.map +0 -1
- package/dist/generated/substance3d/capabilities.browser.js +0 -30
- package/dist/generated/substance3d/capabilities.browser.js.map +0 -1
- package/dist/generated/substance3d/index.d.ts +0 -3
- package/dist/generated/substance3d/index.d.ts.map +0 -1
- package/dist/generated/substance3d/index.js +0 -3
- package/dist/generated/substance3d/index.js.map +0 -1
- package/dist/generated/substance3d/shells.d.ts +0 -25
- package/dist/generated/substance3d/shells.d.ts.map +0 -1
- package/dist/generated/substance3d/shells.js +0 -146
- package/dist/generated/substance3d/shells.js.map +0 -1
- package/dist/index.browser.d.ts +0 -19
- package/dist/index.browser.d.ts.map +0 -1
- package/dist/index.browser.js +0 -27
- package/dist/index.browser.js.map +0 -1
- package/dist/runtime/invoke.d.ts +0 -67
- package/dist/runtime/invoke.d.ts.map +0 -1
- package/dist/runtime/invoke.js +0 -69
- package/dist/runtime/invoke.js.map +0 -1
- package/dist/runtime/photoshop-manifest.d.ts +0 -40
- package/dist/runtime/photoshop-manifest.d.ts.map +0 -1
- package/dist/runtime/photoshop-manifest.js +0 -115
- package/dist/runtime/photoshop-manifest.js.map +0 -1
- package/dist/shared.d.ts +0 -11
- package/dist/shared.d.ts.map +0 -1
- package/dist/shared.js +0 -39
- package/dist/shared.js.map +0 -1
- package/openapi/audio-video/audio-video-api.json +0 -8333
- package/openapi/audio-video/translate-lipsync-openapi.json +0 -1967
- package/openapi/content-tagging/SOURCE.md +0 -10
- package/openapi/creative-production/workflow-builder-api.yaml +0 -1002
- package/openapi/express/ffs-express-api.json +0 -2262
- package/openapi/firefly/firefly-api.json +0 -4964
- package/openapi/illustrator/illustrator-api-beta.json +0 -1329
- package/openapi/illustrator/illustrator-api.json +0 -2447
- package/openapi/indesign/indesignapi.json +0 -2907
- package/openapi/overlays/schema-fixes.json +0 -95
- package/openapi/photoshop/photoshopv2-api.json +0 -5395
- package/openapi/substance3d/openapi.yaml +0 -3583
|
@@ -1,250 +1,361 @@
|
|
|
1
|
-
/*
|
|
2
|
-
|
|
1
|
+
/* Generated by scripts/generate-capabilities.mjs. Do not edit; run `pnpm run generate`. */
|
|
2
|
+
/* Source: indesign/indesignapi.json */
|
|
3
3
|
import { z } from "zod";
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
/**
|
|
5
|
+
* OpenAPI component `AppVersionUpdateRequest`, request (closed).
|
|
6
|
+
* @category Generated
|
|
7
|
+
*/
|
|
8
|
+
export const In_AppVersionUpdateRequest = z.lazy(() => z.strictObject({
|
|
9
|
+
appVersionStrategy: z.enum(["latest_version", "fixed_major_version", "fixed_major_and_minor_version"]).describe("Strategy for determining the InDesign app version to use. latest_version uses the most recent version, fixed_major_version locks to a major version, fixed_major_and_minor_version locks to a specific version."),
|
|
10
|
+
majorAppVersion: z.string().optional().describe("Major version of the InDesign app. Required when appVersionStrategy is fixed_major_version or fixed_major_and_minor_version."),
|
|
11
|
+
minorAppVersion: z.string().optional().describe("Minor version of the InDesign app. Required when appVersionStrategy is fixed_major_and_minor_version.")
|
|
12
|
+
})).describe("Request body for updating app version configuration for a custom script");
|
|
13
|
+
/**
|
|
14
|
+
* OpenAPI component `BaseJobRequestWithOutput`, request (closed).
|
|
15
|
+
* @category Generated
|
|
16
|
+
*/
|
|
17
|
+
export const In_BaseJobRequestWithOutput = z.lazy(() => z.strictObject({
|
|
18
|
+
assets: z.array(In_InputAsset).describe("Information about the assets, which will be used to process the job."),
|
|
19
|
+
params: z.strictObject({
|
|
20
|
+
generalSettings: z.strictObject({
|
|
21
|
+
fonts: z.strictObject({
|
|
22
|
+
fontsDirectories: z.array(z.string()).optional().describe("This lists the font directories for the input InDesign documents. \"Document Fonts\" in parallel to the document will continue to work even without specifying them. If none are specified, a temporary base directory (working directory) will be considered as a font directory.")
|
|
23
|
+
}).optional().describe("Settings related to fonts. It is recommended to include fonts to avoid missing fonts warnings when processing the job."),
|
|
24
|
+
links: z.strictObject({
|
|
25
|
+
replaceLinks: z.array(z.strictObject({
|
|
26
|
+
targetDocument: z.string().describe("The document in which the relinking is to be done. Relinking of assets is required to ensure that there are no missing links in the output document."),
|
|
27
|
+
mapping: z.array(z.strictObject({
|
|
28
|
+
newAssetRelativePath: z.string().describe("This provides a path relative to a temporary base directory (working directory) where the asset to be linked to can be found. It cannot go up using '..' or '/'. Should be a valid file name."),
|
|
29
|
+
currentURI: z.string().optional().describe("The existing URI of the link that needs relinking. If multiple links with this URI are found, all will be relinked. If `linkID` is provided, this attribute will be ignored. Either `currentURI` or `linkID` should be present."),
|
|
30
|
+
linkID: z.number().int().optional().describe("The ID of the link which is to be relinked. If `currentURI` is also provided, it will be ignored. Either `currentURI` or `linkID` should be present.")
|
|
31
|
+
}))
|
|
32
|
+
})).optional()
|
|
33
|
+
}).optional().describe("Settings related to links."),
|
|
34
|
+
appLogs: z.strictObject({
|
|
35
|
+
logsRelativePath: z.string().optional().describe("This provides a path to a file, relative to the temporary base directory (working directory). This file is where the application's logs are to be dumped.")
|
|
36
|
+
}).optional().describe("Describes parameters regarding application logs.")
|
|
37
|
+
}).optional().describe("General settings.")
|
|
38
|
+
}).optional(),
|
|
39
|
+
outputs: z.array(In_OutputAsset).optional()
|
|
40
|
+
}));
|
|
41
|
+
/**
|
|
42
|
+
* OpenAPI component `ConvertToInDesignRequest`, request (closed).
|
|
43
|
+
* @category Generated
|
|
44
|
+
*/
|
|
45
|
+
export const In_ConvertToInDesignRequest = z.lazy(() => z.strictObject({
|
|
46
|
+
assets: z.array(In_InputAsset).describe("Information about the assets, which will be used to process the job."),
|
|
47
|
+
params: z.strictObject({
|
|
48
|
+
generalSettings: z.strictObject({
|
|
49
|
+
fonts: z.strictObject({
|
|
50
|
+
fontsDirectories: z.array(z.string()).optional().describe("This lists the font directories for the input InDesign documents. \"Document Fonts\" in parallel to the document will continue to work even without specifying them. If none are specified, a temporary base directory (working directory) will be considered as a font directory.")
|
|
51
|
+
}).optional().describe("Settings related to fonts. It is recommended to include fonts to avoid missing fonts warnings when processing the job."),
|
|
52
|
+
links: z.strictObject({
|
|
53
|
+
replaceLinks: z.array(z.strictObject({
|
|
54
|
+
targetDocument: z.string().describe("The document in which the relinking is to be done. Relinking of assets is required to ensure that there are no missing links in the output document."),
|
|
55
|
+
mapping: z.array(z.strictObject({
|
|
56
|
+
newAssetRelativePath: z.string().describe("This provides a path relative to a temporary base directory (working directory) where the asset to be linked to can be found. It cannot go up using '..' or '/'. Should be a valid file name."),
|
|
57
|
+
currentURI: z.string().optional().describe("The existing URI of the link that needs relinking. If multiple links with this URI are found, all will be relinked. If `linkID` is provided, this attribute will be ignored. Either `currentURI` or `linkID` should be present."),
|
|
58
|
+
linkID: z.number().int().optional().describe("The ID of the link which is to be relinked. If `currentURI` is also provided, it will be ignored. Either `currentURI` or `linkID` should be present.")
|
|
59
|
+
}))
|
|
60
|
+
})).optional()
|
|
61
|
+
}).optional().describe("Settings related to links."),
|
|
62
|
+
appLogs: z.strictObject({
|
|
63
|
+
logsRelativePath: z.string().optional().describe("This provides a path to a file, relative to the temporary base directory (working directory). This file is where the application's logs are to be dumped.")
|
|
64
|
+
}).optional().describe("Describes parameters regarding application logs.")
|
|
65
|
+
}).optional().describe("General settings."),
|
|
66
|
+
targetDocuments: z.array(z.string()).min(1).max(1).optional().describe("Array of PDF documents to convert. Each entry corresponds to the filename of the PDF document to convert. Currently supports one document at a time."),
|
|
67
|
+
outputMediaType: z.enum(["application/x-indesign", "application/vnd.adobe.indesign-idml-package"]).optional().describe("The MIME type of the output file."),
|
|
68
|
+
embedLinks: z.boolean().optional().describe("If true, all links (images and other assets) from the PDF are embedded directly in the resulting INDD/IDML file. If false (default), the INDD/IDML file is created with external links, and all assets are provided in a separate folder within the output ZIP."),
|
|
69
|
+
outputFilebaseString: z.string().optional().describe("The name of the output ZIP file. If not specified, defaults to 'output.zip'.")
|
|
8
70
|
}),
|
|
9
|
-
|
|
10
|
-
}))
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
71
|
+
outputs: z.array(In_OutputAsset).optional()
|
|
72
|
+
}));
|
|
73
|
+
/**
|
|
74
|
+
* OpenAPI component `CreateRenditionRequest`, request (closed).
|
|
75
|
+
* @category Generated
|
|
76
|
+
*/
|
|
77
|
+
export const In_CreateRenditionRequest = z.lazy(() => z.strictObject({
|
|
78
|
+
assets: z.array(In_InputAsset).describe("Information about the assets, which will be used to process the job."),
|
|
79
|
+
params: z.strictObject({
|
|
80
|
+
generalSettings: z.strictObject({
|
|
81
|
+
fonts: z.strictObject({
|
|
82
|
+
fontsDirectories: z.array(z.string()).optional().describe("This lists the font directories for the input InDesign documents. \"Document Fonts\" in parallel to the document will continue to work even without specifying them. If none are specified, a temporary base directory (working directory) will be considered as a font directory.")
|
|
83
|
+
}).optional().describe("Settings related to fonts. It is recommended to include fonts to avoid missing fonts warnings when processing the job."),
|
|
84
|
+
links: z.strictObject({
|
|
85
|
+
replaceLinks: z.array(z.strictObject({
|
|
86
|
+
targetDocument: z.string().describe("The document in which the relinking is to be done. Relinking of assets is required to ensure that there are no missing links in the output document."),
|
|
87
|
+
mapping: z.array(z.strictObject({
|
|
88
|
+
newAssetRelativePath: z.string().describe("This provides a path relative to a temporary base directory (working directory) where the asset to be linked to can be found. It cannot go up using '..' or '/'. Should be a valid file name."),
|
|
89
|
+
currentURI: z.string().optional().describe("The existing URI of the link that needs relinking. If multiple links with this URI are found, all will be relinked. If `linkID` is provided, this attribute will be ignored. Either `currentURI` or `linkID` should be present."),
|
|
90
|
+
linkID: z.number().int().optional().describe("The ID of the link which is to be relinked. If `currentURI` is also provided, it will be ignored. Either `currentURI` or `linkID` should be present.")
|
|
25
91
|
}))
|
|
26
92
|
})).optional()
|
|
27
|
-
}).optional(),
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
}).optional()
|
|
31
|
-
}).optional()
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
93
|
+
}).optional().describe("Settings related to links."),
|
|
94
|
+
appLogs: z.strictObject({
|
|
95
|
+
logsRelativePath: z.string().optional().describe("This provides a path to a file, relative to the temporary base directory (working directory). This file is where the application's logs are to be dumped.")
|
|
96
|
+
}).optional().describe("Describes parameters regarding application logs.")
|
|
97
|
+
}).optional().describe("General settings."),
|
|
98
|
+
targetDocuments: z.array(z.string()).min(1).max(1).optional().describe("The documents that will be processed and rendered. Currently, only one document at a time is supported."),
|
|
99
|
+
outputMediaType: z.enum(["image/jpeg", "image/png", "application/pdf"]).optional().describe("The MIME type output of the rendered file."),
|
|
100
|
+
exportingSpread: z.boolean().optional().describe("Specify `true` if you consider range as spread numbers. Use `false` if you treat range as pages."),
|
|
101
|
+
pageRange: z.string().optional().describe("The page ranges, based on the index of the page within the document. The value can be 'All', as well as numeral ranges. If `exportingSpread` is true, this range would represent spread indices in the document."),
|
|
102
|
+
quality: z.enum(["low", "medium", "high", "maximum"]).optional().describe("Defines the quality of the output."),
|
|
103
|
+
renderingStyle: z.enum(["baseline_encoding", "progressive_encoding"]).optional().describe("Specifies formatting options for the converted JPEG images."),
|
|
104
|
+
resolution: z.number().int().min(1).max(2400).optional().describe("Specifies the resolution of the final image."),
|
|
105
|
+
colorSpace: z.enum(["rgb", "cmyk", "gray"]).optional().describe("Specifies formatting options for converted JPEG images."),
|
|
106
|
+
embedColorProfile: z.boolean().optional().describe("Specify `true` to embed the color profile. Otherwise, use `false`."),
|
|
107
|
+
antiAlias: z.boolean().optional().describe("If `true`, anti-aliasing is used for text and vectors during export."),
|
|
108
|
+
simulateOverprint: z.boolean().optional().describe("If `true`, this simulates the effects of overprinting spot and processes colors in the same way they would occur with a print."),
|
|
109
|
+
useDocumentBleeds: z.boolean().optional().describe("If `true`, the document's bleed settings are used in the exported JPEG."),
|
|
110
|
+
colorSettingsFile: z.string().optional().describe("This is the color settings file to be used for generating a rendition."),
|
|
111
|
+
transparentBackground: z.boolean().optional().describe("If `true`, this uses a transparent background for the exported PNG. This is valid only for PNG renditions."),
|
|
112
|
+
createSeparateFiles: z.boolean().optional().describe("Specify `true` to create separate PDF files for all the specified pages/spreads. This is applicable only in case of PDF rendition."),
|
|
113
|
+
optimizeForFastWebView: z.boolean().optional().describe("Specify `true` to optimize the PDF for faster web viewing. This is applicable only in case of PDF rendition."),
|
|
114
|
+
embedPageThumbnails: z.boolean().optional().describe("Specify `true` for embedding page thumbnails. This is applicable only in case of PDF rendition."),
|
|
115
|
+
includeBookmarks: z.boolean().optional().describe("If `true`, this displays bookmarks and table-of-contents entries as links in the bookmarks pane of the PDF document. If `false`, bookmarks are not exported. This is applicable only in case of PDF rendition."),
|
|
116
|
+
includeHyperlinks: z.boolean().optional().describe("If `true`, this includes the hyperlinks when exporting the document. This is applicable only in case of PDF rendition."),
|
|
117
|
+
exportNonprintingObjects: z.boolean().optional().describe("If `true`, this makes non-printing objects visible in the PDF document. This is applicable only in case of PDF rendition."),
|
|
118
|
+
exportGuidesAndGrids: z.boolean().optional().describe("If `true`, this includes visible guides and baseline grids in the PDF. This is applicable only in case of PDF rendition. document."),
|
|
119
|
+
createTaggedPDF: z.boolean().optional().describe("If `true`, this creates a tagged PDF file. This is applicable only in case of PDF rendition."),
|
|
120
|
+
includeInteractiveElements: z.enum(["do_not_include", "appearance_only"]).optional().describe("Specifies the option to draw interactive elements. This is applicable only in case of PDF rendition."),
|
|
121
|
+
exportWhichLayers: z.enum(["export_all_layers", "export_visible_layers", "export_visible_printable_layers"]).optional().describe("This indicates the image layers to be exported. This is applicable only in case of PDF rendition."),
|
|
122
|
+
jobOptionsFile: z.string().optional().describe("File path reference to a `.joboptions` file (Adobe PDF preset file) containing custom PDF export settings. This file must be included as part of the input assets. It defines detailed PDF output configurations such as compression, color management, and security settings."),
|
|
123
|
+
pdfPreset: z.enum(["High Quality Print", "PDF/X-1a:2001", "PDF/X-3:2002", "PDF/X-4:2008", "Press Quality", "Smallest File Size"]).optional().describe("The export style to be used. This is applicable only in case of PDF rendition."),
|
|
124
|
+
outputFileBaseString: z.string().optional().describe("The name of the output file."),
|
|
125
|
+
outputFolderPath: z.string().optional().describe("The path of the output folder.")
|
|
38
126
|
}),
|
|
39
|
-
|
|
40
|
-
}))
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
}).optional(),
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
"wordList": z.array(z.string())
|
|
83
|
-
})).optional()
|
|
84
|
-
}).optional(),
|
|
85
|
-
"pagesPerDocument": z.number().int().optional(),
|
|
86
|
-
"removeBlankLines": z.boolean().optional(),
|
|
87
|
-
"convertUrlToHyperlink": z.boolean().optional(),
|
|
88
|
-
"outputFileBaseString": z.string().optional(),
|
|
89
|
-
"outputFolderPath": z.string().optional()
|
|
90
|
-
})
|
|
91
|
-
}))));
|
|
92
|
-
export const Schema_Error = z.lazy(() => (z.object({
|
|
93
|
-
"message": z.string(),
|
|
94
|
-
"error_code": z.string()
|
|
95
|
-
})));
|
|
96
|
-
export const Schema_MergeDataTagsRequest = z.lazy(() => (z.intersection(Schema_BaseJobRequest, z.object({
|
|
97
|
-
"params": z.object({
|
|
98
|
-
"targetDocument": z.string(),
|
|
99
|
-
"dataSource": z.string().optional(),
|
|
100
|
-
"filter": z.array(z.enum(["all", "text", "image", "qr"])).optional(),
|
|
101
|
-
"includePageItemIdentifiers": z.boolean().optional()
|
|
127
|
+
outputs: z.array(In_OutputAsset).optional()
|
|
128
|
+
}));
|
|
129
|
+
/**
|
|
130
|
+
* OpenAPI component `DocumentInfoRequest`, request (closed).
|
|
131
|
+
* @category Generated
|
|
132
|
+
*/
|
|
133
|
+
export const In_DocumentInfoRequest = z.lazy(() => z.strictObject({
|
|
134
|
+
assets: z.array(In_InputAsset).describe("Information about the assets, which will be used to process the job."),
|
|
135
|
+
params: z.strictObject({
|
|
136
|
+
generalSettings: z.strictObject({
|
|
137
|
+
fonts: z.strictObject({
|
|
138
|
+
fontsDirectories: z.array(z.string()).optional().describe("This lists the font directories for the input InDesign documents. \"Document Fonts\" in parallel to the document will continue to work even without specifying them. If none are specified, a temporary base directory (working directory) will be considered as a font directory.")
|
|
139
|
+
}).optional().describe("Settings related to fonts. It is recommended to include fonts to avoid missing fonts warnings when processing the job."),
|
|
140
|
+
links: z.strictObject({
|
|
141
|
+
replaceLinks: z.array(z.strictObject({
|
|
142
|
+
targetDocument: z.string().describe("The document in which the relinking is to be done. Relinking of assets is required to ensure that there are no missing links in the output document."),
|
|
143
|
+
mapping: z.array(z.strictObject({
|
|
144
|
+
newAssetRelativePath: z.string().describe("This provides a path relative to a temporary base directory (working directory) where the asset to be linked to can be found. It cannot go up using '..' or '/'. Should be a valid file name."),
|
|
145
|
+
currentURI: z.string().optional().describe("The existing URI of the link that needs relinking. If multiple links with this URI are found, all will be relinked. If `linkID` is provided, this attribute will be ignored. Either `currentURI` or `linkID` should be present."),
|
|
146
|
+
linkID: z.number().int().optional().describe("The ID of the link which is to be relinked. If `currentURI` is also provided, it will be ignored. Either `currentURI` or `linkID` should be present.")
|
|
147
|
+
}))
|
|
148
|
+
})).optional()
|
|
149
|
+
}).optional().describe("Settings related to links."),
|
|
150
|
+
appLogs: z.strictObject({
|
|
151
|
+
logsRelativePath: z.string().optional().describe("This provides a path to a file, relative to the temporary base directory (working directory). This file is where the application's logs are to be dumped.")
|
|
152
|
+
}).optional().describe("Describes parameters regarding application logs.")
|
|
153
|
+
}).optional().describe("General settings."),
|
|
154
|
+
targetDocument: z.string().optional().describe("The document to be used for data extraction."),
|
|
155
|
+
pageInfo: z.strictObject({
|
|
156
|
+
enabled: z.boolean().optional().describe("If true, return pages information.")
|
|
157
|
+
}).optional().describe("Settings for extracting page information."),
|
|
158
|
+
linkInfo: z.strictObject({
|
|
159
|
+
enabled: z.boolean().optional().describe("If true, return links information.")
|
|
160
|
+
}).optional().describe("Settings for extracting link information."),
|
|
161
|
+
fontInfo: z.strictObject({
|
|
162
|
+
enabled: z.boolean().optional().describe("If true, return fonts information.")
|
|
163
|
+
}).optional().describe("Settings for extracting font information."),
|
|
164
|
+
pageItemInfo: z.strictObject({
|
|
165
|
+
enabled: z.boolean().optional().describe("If true, return page items details.")
|
|
166
|
+
}).optional().describe("Settings for extracting page item information."),
|
|
167
|
+
textStoryInfo: z.strictObject({
|
|
168
|
+
enabled: z.boolean().optional().describe("If true, return text stories information.")
|
|
169
|
+
}).optional().describe("Settings for extracting text story information.")
|
|
102
170
|
})
|
|
103
|
-
}))
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
171
|
+
}));
|
|
172
|
+
/**
|
|
173
|
+
* OpenAPI component `HyphenationLanguage`, request (closed).
|
|
174
|
+
* @category Generated
|
|
175
|
+
*/
|
|
176
|
+
export const In_HyphenationLanguage = z.lazy(() => z.enum(["Arabic", "Bengali (India)", "Bulgarian", "Burmese (Myanmar [Burma])", "Catalan", "Croatian", "Czech", "Danish", "Dutch: 2005 Reform", "Dutch: Old Rules", "English: Canadian", "English: UK", "English: USA", "English: USA Legal", "English: USA Medical", "Estonian", "Finnish", "French", "French: Canadian", "German: 1996 Reform", "German: 2006 Reform", "German: Austria 2006 Reform", "German: Old Rules", "German: Swiss", "German: Swiss 2006 Reform", "Greek", "Gujarati (India)", "Hebrew", "Hindi (India)", "Hungarian", "Indonesian (Indonesia)", "Italian", "Kannada (India)", "Khmer (Cambodia)", "Lao (Laos)", "Latvian", "Lithuanian", "Malayalam (India)", "Marathi (India)", "Norwegian: Bokmål", "Norwegian: Nynorsk", "Oriya (India)", "Polish", "Portuguese", "Portuguese: Brazilian", "Portuguese: Orthographic Agreement", "Punjabi (India)", "Romanian", "Russian", "Sinhala (Sri Lanka)", "Slovak", "Slovenian", "Spanish", "Swedish", "Tamil (India)", "Telugu (India)", "Thai", "Turkish", "Ukrainian", "Vietnamese"])).describe("Supported hyphenation dictionary languages.");
|
|
177
|
+
/**
|
|
178
|
+
* OpenAPI component `InputAsset`, request (closed).
|
|
179
|
+
* @category Generated
|
|
180
|
+
*/
|
|
181
|
+
export const In_InputAsset = z.lazy(() => z.strictObject({
|
|
182
|
+
source: z.strictObject({
|
|
183
|
+
url: z.string().describe("The pre-signed URL of the input asset. This is the URL of the asset that will be downloaded and acted upon during the job.")
|
|
112
184
|
}),
|
|
113
|
-
|
|
114
|
-
})));
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
})))
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
185
|
+
destination: z.string().optional().describe("This provides a path relative to a temporary base directory (working directory) where the resource would be downloaded. This would be used to identify the assets within the parameters. It cannot go up using '..' or '/'. Should be a valid file name.")
|
|
186
|
+
})).describe("The URL where the asset will be fetched.");
|
|
187
|
+
/**
|
|
188
|
+
* OpenAPI component `MergeDataRequest`, request (closed).
|
|
189
|
+
* @category Generated
|
|
190
|
+
*/
|
|
191
|
+
export const In_MergeDataRequest = z.lazy(() => z.strictObject({
|
|
192
|
+
assets: z.array(In_InputAsset).describe("Information about the assets, which will be used to process the job."),
|
|
193
|
+
params: z.strictObject({
|
|
194
|
+
generalSettings: z.strictObject({
|
|
195
|
+
fonts: z.strictObject({
|
|
196
|
+
fontsDirectories: z.array(z.string()).optional().describe("This lists the font directories for the input InDesign documents. \"Document Fonts\" in parallel to the document will continue to work even without specifying them. If none are specified, a temporary base directory (working directory) will be considered as a font directory.")
|
|
197
|
+
}).optional().describe("Settings related to fonts. It is recommended to include fonts to avoid missing fonts warnings when processing the job."),
|
|
198
|
+
links: z.strictObject({
|
|
199
|
+
replaceLinks: z.array(z.strictObject({
|
|
200
|
+
targetDocument: z.string().describe("The document in which the relinking is to be done. Relinking of assets is required to ensure that there are no missing links in the output document."),
|
|
201
|
+
mapping: z.array(z.strictObject({
|
|
202
|
+
newAssetRelativePath: z.string().describe("This provides a path relative to a temporary base directory (working directory) where the asset to be linked to can be found. It cannot go up using '..' or '/'. Should be a valid file name."),
|
|
203
|
+
currentURI: z.string().optional().describe("The existing URI of the link that needs relinking. If multiple links with this URI are found, all will be relinked. If `linkID` is provided, this attribute will be ignored. Either `currentURI` or `linkID` should be present."),
|
|
204
|
+
linkID: z.number().int().optional().describe("The ID of the link which is to be relinked. If `currentURI` is also provided, it will be ignored. Either `currentURI` or `linkID` should be present.")
|
|
205
|
+
}))
|
|
206
|
+
})).optional()
|
|
207
|
+
}).optional().describe("Settings related to links."),
|
|
208
|
+
appLogs: z.strictObject({
|
|
209
|
+
logsRelativePath: z.string().optional().describe("This provides a path to a file, relative to the temporary base directory (working directory). This file is where the application's logs are to be dumped.")
|
|
210
|
+
}).optional().describe("Describes parameters regarding application logs.")
|
|
211
|
+
}).optional().describe("General settings."),
|
|
212
|
+
targetDocument: z.string().optional().describe("The tagged document to be used as the template for merging."),
|
|
213
|
+
dataSource: z.string().optional().describe("The data source files to be used."),
|
|
214
|
+
outputMediaType: z.enum(["image/jpeg", "image/png", "application/pdf", "application/x-indesign"]).optional().describe("The type of output."),
|
|
215
|
+
exportSettings: z.strictObject({
|
|
216
|
+
jobOptionsFile: z.string().optional().describe("File path reference to a `.joboptions` file (Adobe PDF preset file) containing custom PDF export settings. This file must be included as part of the input assets. It defines detailed PDF output configurations such as compression, color management, and security settings."),
|
|
217
|
+
pdfPreset: z.enum(["High Quality Print", "PDF/X-1a:2001", "PDF/X-3:2002", "PDF/X-4:2008", "Press Quality", "Smallest File Size"]).optional().describe("The PDF export style to be used. This is relevant if `outputMediaType` is `application/pdf`."),
|
|
218
|
+
quality: z.enum(["low", "medium", "high", "maximum"]).optional().describe("Defines the quality of the output for JPEG and PNG formats."),
|
|
219
|
+
linkImages: z.boolean().optional().describe("If `true`, links images to the target document. If `false`, embeds linked images already referred in the target document. Only relevant if `outputMediaType` is `application/x-indesign`.")
|
|
220
|
+
}).optional().describe("The settings corresponding to the output format."),
|
|
221
|
+
recordRange: z.string().optional().describe("The ranges of records to process for this job. Value can be `All`, along with numeral ranges. For example, '1-2, 5'."),
|
|
222
|
+
allowMultipleRecordsPerPage: z.boolean().optional().describe("If `true`, will show as many records as will fit on a page."),
|
|
223
|
+
multipleRecordLayoutOptions: z.strictObject({
|
|
224
|
+
arrangeBy: z.enum(["rows_first", "columns_first"]).optional().describe("The order that records will be arranged in the target document. * `rows_first` - Arranges records by row. * `columns_first` - Arranges records by column."),
|
|
225
|
+
bottomMargin: z.string().optional().describe("The offset value of the bottom margin in the target document. The values can be specified like `1 pt`, `1 pica`, `1`, etc. If a number is mentioned in the string, it will be used as a value in pica."),
|
|
226
|
+
topMargin: z.string().optional().describe("The offset value of the top margin in the target document. The values can be specified like `1 pt`, `1 pica`, `1`, etc. If a number is mentioned in the string, it will be used as a value in pica."),
|
|
227
|
+
leftMargin: z.string().optional().describe("The offset value of the left margin in the target document. The values can be specified like `1 pt`, `1 pica`, `1`, etc. If a number is mentioned in the string, it will be used as a value in pica."),
|
|
228
|
+
rightMargin: z.string().optional().describe("The offset value of the right margin in the target document. The values can be specified like `1 pt`, `1 pica`, `1`, etc. If a number is mentioned in the string, it will be used as a value in pica."),
|
|
229
|
+
columnSpacing: z.string().optional().describe("The amount of spacing between columns of records in the target document. The values can be specified like `1 pt`, `1 pica`, `1`, etc. If a number is mentioned in the string, it will be used as a value in pica."),
|
|
230
|
+
rowSpacing: z.string().optional().describe("The amount of spacing between rows of records in the target document. The values can be specified like `1 pt`, `1 pica`, `1`, etc. If a number is mentioned in the string, it will be used as a value in pica.")
|
|
231
|
+
}).optional().describe("The options to be used when `allowMultipleRecordsPerPage` is set to `true`."),
|
|
232
|
+
imagePlacementOptions: z.strictObject({
|
|
233
|
+
centerImage: z.boolean().optional().describe("If true, this centers the image in the frame while preserving the frame size as content size and proportions. If the content is larger than the frame, content around the edges is obscured by the bounding box of the frame. This won't work when `fittingOption` is `Content_Aware_Fit`."),
|
|
234
|
+
fittingOption: z.enum(["content_aware_fit", "fill_proportional", "fit_content_to_frame", "fit_frame_to_content", "honor_existing_style", "preserve_sizes", "proportional"]).optional().describe("The method of fitting content in a frame. * `content_aware_fit` - Selects best crop region of the content for the frame based on Adobe Sensei. This preserves frame size but it might scale the content size. If this fitting is set, the `centerImage` property is turned-off."),
|
|
235
|
+
linkImages: z.boolean().optional().describe("This applies to the images being brought in the document while merging. If true, this links images to the target document. If false, it embeds images in the target document.")
|
|
236
|
+
}).optional().describe("These are the options for image placement which will be used while merging images in the document."),
|
|
237
|
+
hyphenationSettings: z.strictObject({
|
|
238
|
+
afterFirst: z.number().int().optional().describe("Minimum number of characters at the start of a word before a hyphen may be inserted."),
|
|
239
|
+
beforeLast: z.number().int().optional().describe("Minimum number of characters at the end of a word after a hyphen."),
|
|
240
|
+
wordsLongerThan: z.number().int().optional().describe("Minimum word length for hyphenation to apply."),
|
|
241
|
+
ladderLimit: z.number().int().optional().describe("Maximum allowed consecutive hyphenated lines."),
|
|
242
|
+
zone: z.number().optional().describe("Whitespace ratio allowed at the end of a line before hyphenation begins (0–1)."),
|
|
243
|
+
capitalizedWords: z.boolean().optional().describe("If true, allows hyphenation of capitalized words."),
|
|
244
|
+
lastWord: z.boolean().optional().describe("If true, allows hyphenation of the last word in a paragraph."),
|
|
245
|
+
acrossColumns: z.boolean().optional().describe("If true, allows hyphenation across columns."),
|
|
246
|
+
dictionarySettings: z.array(z.strictObject({
|
|
247
|
+
language: In_HyphenationLanguage,
|
|
248
|
+
wordList: z.array(z.string()).describe("List of special hyphenation definitions (use `~` to mark break points, e.g., `Know~how`, `check~in`. Put `~` at the beginning of the word to exclude it from hyphenation, e.g., `~Wallstreet`, `~Starbucks`).")
|
|
249
|
+
})).optional().describe("Special hyphenation definitions by language.")
|
|
250
|
+
}).optional().describe("Hyphenation settings to control word breaking and hyphenation behavior during merge."),
|
|
251
|
+
pagesPerDocument: z.number().int().optional().describe("The maximum number of pages per document."),
|
|
252
|
+
removeBlankLines: z.boolean().optional().describe("If true, removes blank lines caused by empty fields."),
|
|
253
|
+
convertUrlToHyperlink: z.boolean().optional().describe("If true, all URLs in the merged document are converted into hyperlinks."),
|
|
254
|
+
outputFileBaseString: z.string().optional().describe("The name of the output file."),
|
|
255
|
+
outputFolderPath: z.string().optional().describe("The path of the output folder.")
|
|
256
|
+
}),
|
|
257
|
+
outputs: z.array(In_OutputAsset).optional()
|
|
258
|
+
}));
|
|
259
|
+
/**
|
|
260
|
+
* OpenAPI component `MergeDataTagsRequest`, request (closed).
|
|
261
|
+
* @category Generated
|
|
262
|
+
*/
|
|
263
|
+
export const In_MergeDataTagsRequest = z.lazy(() => z.strictObject({
|
|
264
|
+
assets: z.array(In_InputAsset).describe("Information about the assets, which will be used to process the job."),
|
|
265
|
+
params: z.strictObject({
|
|
266
|
+
generalSettings: z.strictObject({
|
|
267
|
+
fonts: z.strictObject({
|
|
268
|
+
fontsDirectories: z.array(z.string()).optional().describe("This lists the font directories for the input InDesign documents. \"Document Fonts\" in parallel to the document will continue to work even without specifying them. If none are specified, a temporary base directory (working directory) will be considered as a font directory.")
|
|
269
|
+
}).optional().describe("Settings related to fonts. It is recommended to include fonts to avoid missing fonts warnings when processing the job."),
|
|
270
|
+
links: z.strictObject({
|
|
271
|
+
replaceLinks: z.array(z.strictObject({
|
|
272
|
+
targetDocument: z.string().describe("The document in which the relinking is to be done. Relinking of assets is required to ensure that there are no missing links in the output document."),
|
|
273
|
+
mapping: z.array(z.strictObject({
|
|
274
|
+
newAssetRelativePath: z.string().describe("This provides a path relative to a temporary base directory (working directory) where the asset to be linked to can be found. It cannot go up using '..' or '/'. Should be a valid file name."),
|
|
275
|
+
currentURI: z.string().optional().describe("The existing URI of the link that needs relinking. If multiple links with this URI are found, all will be relinked. If `linkID` is provided, this attribute will be ignored. Either `currentURI` or `linkID` should be present."),
|
|
276
|
+
linkID: z.number().int().optional().describe("The ID of the link which is to be relinked. If `currentURI` is also provided, it will be ignored. Either `currentURI` or `linkID` should be present.")
|
|
277
|
+
}))
|
|
278
|
+
})).optional()
|
|
279
|
+
}).optional().describe("Settings related to links."),
|
|
280
|
+
appLogs: z.strictObject({
|
|
281
|
+
logsRelativePath: z.string().optional().describe("This provides a path to a file, relative to the temporary base directory (working directory). This file is where the application's logs are to be dumped.")
|
|
282
|
+
}).optional().describe("Describes parameters regarding application logs.")
|
|
283
|
+
}).optional().describe("General settings."),
|
|
284
|
+
targetDocument: z.string().optional().describe("The target document that will have its tags extracted."),
|
|
285
|
+
dataSource: z.string().optional().describe("The data source file to be used for extracting and matching the tags."),
|
|
286
|
+
filter: z.array(z.enum(["all", "text", "image", "qr"])).optional().describe("The filter applied for tags. Accepts multiple values."),
|
|
287
|
+
includePageItemIdentifiers: z.boolean().optional().describe("If true, the information for associated page items is added to the tags extracted from the document.")
|
|
184
288
|
})
|
|
185
|
-
}))
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
289
|
+
}));
|
|
290
|
+
/**
|
|
291
|
+
* OpenAPI component `OutputAsset`, request (closed).
|
|
292
|
+
* @category Generated
|
|
293
|
+
*/
|
|
294
|
+
export const In_OutputAsset = z.lazy(() => z.strictObject({
|
|
295
|
+
destination: z.strictObject({
|
|
296
|
+
url: z.string().describe("The URL of the asset."),
|
|
297
|
+
storageType: z.enum(["Azure", "Dropbox", "AWS"]).optional().describe("This is an optional parameter, however IT IS RECOMMENDED to provide this information.")
|
|
298
|
+
}),
|
|
299
|
+
source: z.string().describe("This provides a path relative of the output where the resource would be generated. It cannot go up using '..' or '/'. Should be a valid file name.")
|
|
300
|
+
})).describe("The URL where the output assets are to be posted after the job is processed.");
|
|
301
|
+
/**
|
|
302
|
+
* OpenAPI component `RemapLinksRequest`, request (closed).
|
|
303
|
+
* @category Generated
|
|
304
|
+
*/
|
|
305
|
+
export const In_RemapLinksRequest = z.lazy(() => z.strictObject({
|
|
306
|
+
assets: z.array(In_InputAsset),
|
|
307
|
+
params: z.strictObject({
|
|
308
|
+
targetDocument: z.array(z.string()).min(1).describe("The InDesign documents in which links need to be remapped."),
|
|
309
|
+
dataSource: z.array(z.strictObject({
|
|
310
|
+
sourceURI: z.string().describe("File path/resource URI for the existing link that needs to be remapped."),
|
|
311
|
+
destinationURI: z.string().describe("AEM URI that will replace the existing link.")
|
|
312
|
+
})).min(1).describe("Array of link mappings containing source and destination URIs.")
|
|
313
|
+
}),
|
|
314
|
+
outputs: z.array(In_OutputAsset).optional()
|
|
315
|
+
})).describe("Inputs for the link remapping request.");
|
|
316
|
+
/**
|
|
317
|
+
* OpenAPI component `AppVersionInfo`, response (open).
|
|
318
|
+
* @category Generated
|
|
319
|
+
*/
|
|
320
|
+
export const Out_AppVersionInfo = z.lazy(() => z.looseObject({
|
|
321
|
+
product: z.string().optional().describe("The product name"),
|
|
322
|
+
majorAppVersion: z.string().optional().describe("Major version of the InDesign app"),
|
|
323
|
+
minorAppVersion: z.string().optional().describe("Minor version of the InDesign app"),
|
|
324
|
+
status: z.enum(["active", "preview"]).optional().describe("Status of this app version")
|
|
325
|
+
})).describe("Information about a registered InDesign app version");
|
|
326
|
+
/**
|
|
327
|
+
* OpenAPI component `CustomScriptDetails`, response (open).
|
|
328
|
+
* @category Generated
|
|
329
|
+
*/
|
|
330
|
+
export const Out_CustomScriptDetails = z.lazy(() => z.looseObject({
|
|
331
|
+
version: z.string().optional().describe("Version of the custom script"),
|
|
332
|
+
url: z.string().optional().describe("URL that was generated during registration"),
|
|
333
|
+
downloadurl: z.string().optional().describe("Pre-signed URL for downloading the script (valid for 30 minutes)"),
|
|
334
|
+
createdDate: z.string().optional().describe("Registration date of the script"),
|
|
335
|
+
scriptName: z.string().optional().describe("Name of the custom script"),
|
|
336
|
+
appVersionStrategy: z.enum(["latest_version", "fixed_major_version", "fixed_major_and_minor_version"]).optional().describe("Strategy used to determine the InDesign app version for this script"),
|
|
337
|
+
majorAppVersion: z.string().optional().describe("Major version of the InDesign app required for this script"),
|
|
338
|
+
minorAppVersion: z.string().optional().describe("Minor version of the InDesign app required for this script")
|
|
339
|
+
})).describe("Details of a custom script");
|
|
340
|
+
/**
|
|
341
|
+
* OpenAPI component `CustomScriptsListResponse`, response (open).
|
|
342
|
+
* @category Generated
|
|
343
|
+
*/
|
|
344
|
+
export const Out_CustomScriptsListResponse = z.lazy(() => z.looseObject({
|
|
345
|
+
capabilities: z.array(Out_CustomScriptDetails).optional(),
|
|
346
|
+
paging: z.looseObject({
|
|
347
|
+
nextUrl: z.string().optional().describe("URL for the next page of results")
|
|
190
348
|
}).optional()
|
|
191
|
-
})));
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
})))
|
|
202
|
-
|
|
203
|
-
"appVersionStrategy": z.enum(["latest_version", "fixed_major_version", "fixed_major_and_minor_version"]),
|
|
204
|
-
"majorAppVersion": z.string().optional(),
|
|
205
|
-
"minorAppVersion": z.string().optional()
|
|
206
|
-
})));
|
|
207
|
-
export const Schema_AppVersionInfo = z.lazy(() => (z.object({
|
|
208
|
-
"product": z.string().optional(),
|
|
209
|
-
"majorAppVersion": z.string().optional(),
|
|
210
|
-
"minorAppVersion": z.string().optional(),
|
|
211
|
-
"status": z.enum(["active", "preview"]).optional()
|
|
212
|
-
})));
|
|
213
|
-
export const Schema_BaseEvent = z.lazy(() => (z.object({
|
|
214
|
-
"jobId": z.string().optional()
|
|
215
|
-
})));
|
|
216
|
-
export const Schema_notstartedEvent = z.lazy(() => (z.intersection(Schema_BaseEvent, z.object({
|
|
217
|
-
"status": z.enum(["not_started"]).optional()
|
|
218
|
-
}))));
|
|
219
|
-
export const Schema_runningEvent = z.lazy(() => (z.intersection(Schema_BaseEvent, z.object({
|
|
220
|
-
"status": z.enum(["running"]).optional(),
|
|
221
|
-
"message": z.string().optional()
|
|
222
|
-
}))));
|
|
223
|
-
export const Schema_succeededEvent = z.lazy(() => (z.intersection(Schema_BaseEvent, z.object({
|
|
224
|
-
"status": z.enum(["succeeded"]).optional(),
|
|
225
|
-
"data": z.object({}).optional(),
|
|
226
|
-
"dataURL": z.string().optional(),
|
|
227
|
-
"outputs": z.object({}).optional()
|
|
228
|
-
}))));
|
|
229
|
-
export const Schema_failedEvent = z.lazy(() => (z.intersection(Schema_BaseEvent, z.object({
|
|
230
|
-
"status": z.enum(["failed"]).optional(),
|
|
231
|
-
"errors": z.array(z.object({
|
|
232
|
-
"error_code": z.string().optional(),
|
|
233
|
-
"message": z.string().optional(),
|
|
234
|
-
"source": z.string().optional(),
|
|
235
|
-
"url": z.string().optional()
|
|
236
|
-
})).optional()
|
|
237
|
-
}))));
|
|
238
|
-
export const Schema_partialSuccessEvent = z.lazy(() => (z.intersection(Schema_BaseEvent, z.object({
|
|
239
|
-
"status": z.enum(["partial_success"]).optional(),
|
|
240
|
-
"data": z.object({}).optional(),
|
|
241
|
-
"dataURL": z.string().optional(),
|
|
242
|
-
"outputs": z.object({}).optional(),
|
|
243
|
-
"errors": z.array(z.object({
|
|
244
|
-
"error_code": z.string().optional(),
|
|
245
|
-
"message": z.string().optional(),
|
|
246
|
-
"source": z.string().optional(),
|
|
247
|
-
"url": z.string().optional()
|
|
248
|
-
})).optional()
|
|
249
|
-
}))));
|
|
349
|
+
})).describe("Response containing list of registered custom scripts");
|
|
350
|
+
/**
|
|
351
|
+
* OpenAPI component `succeededEvent`, response (open).
|
|
352
|
+
* @category Generated
|
|
353
|
+
*/
|
|
354
|
+
export const Out_succeededEvent = z.lazy(() => z.looseObject({
|
|
355
|
+
jobId: z.string().optional().describe("The GUID for the job."),
|
|
356
|
+
status: z.enum(["succeeded"]).optional().describe("The current state of the job."),
|
|
357
|
+
data: z.looseObject({}).optional().describe("The output response from the current state of the job."),
|
|
358
|
+
dataURL: z.string().optional().describe("The data returned from the execution of the job. If the data size is between 250 KB and 20 MB, it will be provided as a pre-signed URL. If it is larger than 20 MB, the job will fail."),
|
|
359
|
+
outputs: z.looseObject({}).optional().describe("A list of URLs for all the generated assets.")
|
|
360
|
+
}));
|
|
250
361
|
//# sourceMappingURL=schemas.js.map
|