@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
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
/* Generated by scripts/generate-capabilities.mjs. Do not edit; run `pnpm run generate`. */
|
|
2
|
+
/* Source: express/ffs-express-api.json */
|
|
3
|
+
import { createAdobeHandler } from "../../runtime/invoke-capability.js";
|
|
4
|
+
import * as schemas from "./schemas.js";
|
|
5
|
+
/**
|
|
6
|
+
* HTTP operation behind each Adobe Express capability.
|
|
7
|
+
* @category Generated
|
|
8
|
+
*/
|
|
9
|
+
export const operations = {
|
|
10
|
+
"express-export-rendition": {
|
|
11
|
+
method: "POST",
|
|
12
|
+
path: "/beta/export-rendition",
|
|
13
|
+
serverUrl: "https://express-api.adobe.io",
|
|
14
|
+
asyncMode: "submit",
|
|
15
|
+
parameters: { "body": ["id", "pages", "options"] },
|
|
16
|
+
bodySchema: schemas.In_ExportRenditionRequest,
|
|
17
|
+
bodyRequired: true,
|
|
18
|
+
productShape: { "kind": "url-blob" },
|
|
19
|
+
},
|
|
20
|
+
"express-generate-variation": {
|
|
21
|
+
method: "POST",
|
|
22
|
+
path: "/beta/generate-variation",
|
|
23
|
+
serverUrl: "https://express-api.adobe.io",
|
|
24
|
+
asyncMode: "submit",
|
|
25
|
+
parameters: { "body": ["id", "variationDetails"] },
|
|
26
|
+
bodySchema: schemas.In_GenerateVariationRequest,
|
|
27
|
+
bodyRequired: true,
|
|
28
|
+
productShape: { "kind": "passthrough" },
|
|
29
|
+
},
|
|
30
|
+
"express-tagged-document-details": {
|
|
31
|
+
method: "GET",
|
|
32
|
+
path: "/beta/tagged-documents/{documentId}",
|
|
33
|
+
serverUrl: "https://express-api.adobe.io",
|
|
34
|
+
asyncMode: "none",
|
|
35
|
+
parameters: { "path": ["documentId"], "query": ["start"] },
|
|
36
|
+
productShape: { "kind": "passthrough" },
|
|
37
|
+
},
|
|
38
|
+
"express-tagged-documents": {
|
|
39
|
+
method: "GET",
|
|
40
|
+
path: "/beta/tagged-documents",
|
|
41
|
+
serverUrl: "https://express-api.adobe.io",
|
|
42
|
+
asyncMode: "none",
|
|
43
|
+
parameters: { "query": ["start", "limit", "sortBy"] },
|
|
44
|
+
productShape: { "kind": "passthrough" },
|
|
45
|
+
},
|
|
46
|
+
};
|
|
47
|
+
/**
|
|
48
|
+
* Handler module for one Adobe Express capability. Called by the lazy
|
|
49
|
+
* `handler` thunk in capabilities.ts.
|
|
50
|
+
* @category Generated
|
|
51
|
+
*/
|
|
52
|
+
export function load(name) {
|
|
53
|
+
const operation = operations[name];
|
|
54
|
+
if (!operation)
|
|
55
|
+
throw new Error(`Unknown Adobe express operation ${name}.`);
|
|
56
|
+
return { default: createAdobeHandler(name, operation) };
|
|
57
|
+
}
|
|
58
|
+
//# sourceMappingURL=operations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../src/generated/express/operations.ts"],"names":[],"mappings":"AAAA,2FAA2F;AAC3F,0CAA0C;AAC1C,OAAO,EAAE,kBAAkB,EAAgD,MAAM,oCAAoC,CAAA;AACrH,OAAO,KAAK,OAAO,MAAM,cAAc,CAAA;AAEvC;;;GAGG;AACH,MAAM,CAAC,MAAM,UAAU,GAAmC;IACxD,0BAA0B,EAAE;QAC1B,MAAM,EAAE,MAAM;QACd,IAAI,EAAE,wBAAwB;QAC9B,SAAS,EAAE,8BAA8B;QACzC,SAAS,EAAE,QAAQ;QACnB,UAAU,EAAE,EAAC,MAAM,EAAC,CAAC,IAAI,EAAC,OAAO,EAAC,SAAS,CAAC,EAAC;QAC7C,UAAU,EAAE,OAAO,CAAC,yBAAyB;QAC7C,YAAY,EAAE,IAAI;QAClB,YAAY,EAAE,EAAC,MAAM,EAAC,UAAU,EAAC;KAClC;IACD,4BAA4B,EAAE;QAC5B,MAAM,EAAE,MAAM;QACd,IAAI,EAAE,0BAA0B;Q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
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
export declare const
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
export declare const
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
export declare const
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
export declare const
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
export declare const
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
2
|
+
/**
|
|
3
|
+
* OpenAPI component `ExportRenditionRequest`, request (closed).
|
|
4
|
+
* @category Generated
|
|
5
|
+
*/
|
|
6
|
+
export declare const In_ExportRenditionRequest: z.ZodType;
|
|
7
|
+
/**
|
|
8
|
+
* OpenAPI component `GenerateVariationRequest`, request (closed).
|
|
9
|
+
* @category Generated
|
|
10
|
+
*/
|
|
11
|
+
export declare const In_GenerateVariationRequest: z.ZodType;
|
|
12
|
+
/**
|
|
13
|
+
* OpenAPI component `ImageRenditionFormat`, request (closed).
|
|
14
|
+
* @category Generated
|
|
15
|
+
*/
|
|
16
|
+
export declare const In_ImageRenditionFormat: z.ZodType;
|
|
17
|
+
/**
|
|
18
|
+
* Union of OpenAPI components `ImageRenditionOptions`, `PdfRenditionOptions`, `VideoRenditionOptions`, request (closed).
|
|
19
|
+
* @category Generated
|
|
20
|
+
*/
|
|
21
|
+
export declare const In_OneOf_ImageRenditionOptions_or_PdfRenditionOptions_or_VideoRenditionOptions: z.ZodType;
|
|
22
|
+
/**
|
|
23
|
+
* Union of OpenAPI components `PrintConfig`, `StandardConfig`, request (closed).
|
|
24
|
+
* @category Generated
|
|
25
|
+
*/
|
|
26
|
+
export declare const In_OneOf_PrintConfig_or_StandardConfig: z.ZodType;
|
|
27
|
+
/**
|
|
28
|
+
* OpenAPI component `PdfMarginUnit`, request (closed).
|
|
29
|
+
* @category Generated
|
|
30
|
+
*/
|
|
31
|
+
export declare const In_PdfMarginUnit: z.ZodType;
|
|
32
|
+
/**
|
|
33
|
+
* OpenAPI component `TaggedDocumentsSortBy`, request (closed).
|
|
34
|
+
* @category Generated
|
|
35
|
+
*/
|
|
36
|
+
export declare const In_TaggedDocumentsSortBy: z.ZodType;
|
|
37
|
+
/**
|
|
38
|
+
* OpenAPI component `ValueWithUnit`, request (closed).
|
|
39
|
+
* @category Generated
|
|
40
|
+
*/
|
|
41
|
+
export declare const In_ValueWithUnit: z.ZodType;
|
|
42
|
+
/**
|
|
43
|
+
* OpenAPI component `VariationDetails`, request (closed).
|
|
44
|
+
* @category Generated
|
|
45
|
+
*/
|
|
46
|
+
export declare const In_VariationDetails: z.ZodType;
|
|
47
|
+
/**
|
|
48
|
+
* OpenAPI component `DocumentPageDetails`, response (open).
|
|
49
|
+
* @category Generated
|
|
50
|
+
*/
|
|
51
|
+
export declare const Out_DocumentPageDetails: z.ZodType;
|
|
52
|
+
/**
|
|
53
|
+
* OpenAPI component `ExpressDocument`, response (open).
|
|
54
|
+
* @category Generated
|
|
55
|
+
*/
|
|
56
|
+
export declare const Out_ExpressDocument: z.ZodType;
|
|
57
|
+
/**
|
|
58
|
+
* OpenAPI component `GenerateVariationResponse`, response (open).
|
|
59
|
+
* @category Generated
|
|
60
|
+
*/
|
|
61
|
+
export declare const Out_GenerateVariationResponse: z.ZodType;
|
|
62
|
+
/**
|
|
63
|
+
* OpenAPI component `JobStatus`, response (open).
|
|
64
|
+
* @category Generated
|
|
65
|
+
*/
|
|
66
|
+
export declare const Out_JobStatus: z.ZodType;
|
|
67
|
+
/**
|
|
68
|
+
* OpenAPI component `Pagination`, response (open).
|
|
69
|
+
* @category Generated
|
|
70
|
+
*/
|
|
71
|
+
export declare const Out_Pagination: z.ZodType;
|
|
72
|
+
/**
|
|
73
|
+
* OpenAPI component `Point`, response (open).
|
|
74
|
+
* @category Generated
|
|
75
|
+
*/
|
|
76
|
+
export declare const Out_Point: z.ZodType;
|
|
77
|
+
/**
|
|
78
|
+
* OpenAPI component `Size`, response (open).
|
|
79
|
+
* @category Generated
|
|
80
|
+
*/
|
|
81
|
+
export declare const Out_Size: z.ZodType;
|
|
82
|
+
/**
|
|
83
|
+
* OpenAPI component `TaggedDocumentDetailsResponse`, response (open).
|
|
84
|
+
* @category Generated
|
|
85
|
+
*/
|
|
86
|
+
export declare const Out_TaggedDocumentDetailsResponse: z.ZodType;
|
|
87
|
+
/**
|
|
88
|
+
* OpenAPI component `TaggedDocumentsResponse`, response (open).
|
|
89
|
+
* @category Generated
|
|
90
|
+
*/
|
|
91
|
+
export declare const Out_TaggedDocumentsResponse: z.ZodType;
|
|
92
|
+
/**
|
|
93
|
+
* OpenAPI component `TaggedElement`, response (open).
|
|
94
|
+
* @category Generated
|
|
95
|
+
*/
|
|
96
|
+
export declare const Out_TaggedElement: z.ZodType;
|
|
97
|
+
/**
|
|
98
|
+
* OpenAPI component `TaggedElementType`, response (open).
|
|
99
|
+
* @category Generated
|
|
100
|
+
*/
|
|
101
|
+
export declare const Out_TaggedElementType: z.ZodType;
|
|
36
102
|
//# sourceMappingURL=schemas.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../../src/generated/express/schemas.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../../src/generated/express/schemas.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB;;;GAGG;AACH,eAAO,MAAM,yBAAyB,EAAE,CAAC,CAAC,OAIqB,CAAA;AAE/D;;;GAGG;AACH,eAAO,MAAM,2BAA2B,EAAE,CAAC,CAAC,OAG6D,CAAA;AAEzG;;;GAGG;AACH,eAAO,MAAM,uBAAuB,EAAE,CAAC,CAAC,OAA2G,CAAA;AAEnJ;;;GAGG;AACH,eAAO,MAAM,8EAA8E,EAAE,CAAC,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ated by scripts/generate-capabilities.mjs. Do not edit; run `pnpm run generate`. */
|
|
2
|
+
/* Source: express/ffs-express-api.json */
|
|
3
3
|
import { z } from "zod";
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
})));
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
"
|
|
32
|
-
|
|
33
|
-
"
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
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
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
export const
|
|
71
|
-
"
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
export const
|
|
92
|
-
|
|
93
|
-
"
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
"
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
"
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
"
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
4
|
+
/**
|
|
5
|
+
* OpenAPI component `ExportRenditionRequest`, request (closed).
|
|
6
|
+
* @category Generated
|
|
7
|
+
*/
|
|
8
|
+
export const In_ExportRenditionRequest = z.lazy(() => z.strictObject({
|
|
9
|
+
id: z.string().describe("The identifier of the document that needs to be rendered."),
|
|
10
|
+
pages: z.string().optional().describe("A comma-separated string of page numbers for which the rendition request is made. For example, \"1,2,3\". Page ranges can also be specified. For example, \"1-3\" includes pages 1, 2, and 3. Another example is \"1,3-5\", which includes pages 1, 3, 4, and 5."),
|
|
11
|
+
options: In_OneOf_ImageRenditionOptions_or_PdfRenditionOptions_or_VideoRenditionOptions.describe("Options for the requested rendition.")
|
|
12
|
+
})).describe("Payload for requesting rendition of a document.");
|
|
13
|
+
/**
|
|
14
|
+
* OpenAPI component `GenerateVariationRequest`, request (closed).
|
|
15
|
+
* @category Generated
|
|
16
|
+
*/
|
|
17
|
+
export const In_GenerateVariationRequest = z.lazy(() => z.strictObject({
|
|
18
|
+
id: z.string().describe("The identifier of the tagged document."),
|
|
19
|
+
variationDetails: In_VariationDetails.describe("Specify the details required to generate the requested variation.")
|
|
20
|
+
})).describe("Generate variation of a tagged document. One single variation can be generated at a time.");
|
|
21
|
+
/**
|
|
22
|
+
* OpenAPI component `ImageRenditionFormat`, request (closed).
|
|
23
|
+
* @category Generated
|
|
24
|
+
*/
|
|
25
|
+
export const In_ImageRenditionFormat = z.lazy(() => z.enum(["image/jpeg", "image/png"])).describe("The format of the bitmap rendition.");
|
|
26
|
+
/**
|
|
27
|
+
* Union of OpenAPI components `ImageRenditionOptions`, `PdfRenditionOptions`, `VideoRenditionOptions`, request (closed).
|
|
28
|
+
* @category Generated
|
|
29
|
+
*/
|
|
30
|
+
export const In_OneOf_ImageRenditionOptions_or_PdfRenditionOptions_or_VideoRenditionOptions = z.lazy(() => z.strictObject({
|
|
31
|
+
format: z.union([In_ImageRenditionFormat, z.enum(["video/mp4"]), z.enum(["application/pdf"])]),
|
|
32
|
+
size: z.number().optional(),
|
|
33
|
+
pdfType: z.enum(["print", "standard"]).optional().describe("The type of PDF rendition. Default is \"standard\"."),
|
|
34
|
+
downloadIndividualPdfFiles: z.boolean().optional().describe("Controls whether pages are downloaded as separate PDF files. When true, each page is downloaded as its own PDF file. When false, all pages are combined into a single PDF file. Defaults to false."),
|
|
35
|
+
config: In_OneOf_PrintConfig_or_StandardConfig.optional().describe("Configuration for the provided PDF type.")
|
|
36
|
+
}));
|
|
37
|
+
/**
|
|
38
|
+
* Union of OpenAPI components `PrintConfig`, `StandardConfig`, request (closed).
|
|
39
|
+
* @category Generated
|
|
40
|
+
*/
|
|
41
|
+
export const In_OneOf_PrintConfig_or_StandardConfig = z.lazy(() => z.strictObject({
|
|
42
|
+
bleed: z.boolean().optional().describe("Controls whether to include bleed settings in the PDF. Defaults to false."),
|
|
43
|
+
bleedSettings: In_ValueWithUnit.optional().describe("Configuration settings for bleed margins. Only applies when bleed is true. Default value is 0.125 ."),
|
|
44
|
+
cropMargins: z.boolean().optional().describe("Controls whether to include crop margins in the PDF. Defaults to false."),
|
|
45
|
+
cropMarginsSettings: In_ValueWithUnit.optional().describe("Configuration settings for crop margins. Only applies when cropMargins is true. Default value is 0.125 ."),
|
|
46
|
+
accessibilityTags: z.boolean().optional().describe("Controls whether accessibility tags are included in the PDF. When true, accessibility tags will be embedded in the PDF. When false, accessibility tags will be omitted. Defaults to false.")
|
|
47
|
+
}));
|
|
48
|
+
/**
|
|
49
|
+
* OpenAPI component `PdfMarginUnit`, request (closed).
|
|
50
|
+
* @category Generated
|
|
51
|
+
*/
|
|
52
|
+
export const In_PdfMarginUnit = z.lazy(() => z.enum(["in", "mm"])).describe("The unit of measurement for the bleed or crop margin.");
|
|
53
|
+
/**
|
|
54
|
+
* OpenAPI component `TaggedDocumentsSortBy`, request (closed).
|
|
55
|
+
* @category Generated
|
|
56
|
+
*/
|
|
57
|
+
export const In_TaggedDocumentsSortBy = z.lazy(() => z.enum(["+modifiedDate", "+name", "-modifiedDate", "-name", "-relevance", "modifiedDate", "name", "relevance"])).describe("Represents the sortBy field enum for tagged documents.");
|
|
58
|
+
/**
|
|
59
|
+
* OpenAPI component `ValueWithUnit`, request (closed).
|
|
60
|
+
* @category Generated
|
|
61
|
+
*/
|
|
62
|
+
export const In_ValueWithUnit = z.lazy(() => z.strictObject({
|
|
63
|
+
amount: z.number().describe("The amount of bleed or crop margin. It can be a positive or negative value."),
|
|
64
|
+
unit: In_PdfMarginUnit.describe("The unit of measurement for the bleed or crop margin.")
|
|
65
|
+
})).describe("Configuration settings for the \"print\" PDF rendition. It includes values to adjust the amount and unit of measurement.");
|
|
66
|
+
/**
|
|
67
|
+
* OpenAPI component `VariationDetails`, request (closed).
|
|
68
|
+
* @category Generated
|
|
69
|
+
*/
|
|
70
|
+
export const In_VariationDetails = z.lazy(() => z.strictObject({
|
|
71
|
+
tagMappings: z.record(z.string(), z.string()).describe("A key-value pair where each key represents the unique identifier of a tag element, and the value represents the corresponding element's content. The value type varies by element type: for text elements, it is a plain string; for image or video elements, it is a pre-signed URL pointing to the imag..."),
|
|
72
|
+
pages: z.string().optional().describe("A comma-separated string of page numbers for which the variation request is made. For example, \"1,2,3\". Page ranges can also be specified. For example, \"1-3\" includes pages 1, 2, and 3. Another example is \"1,3-5\", which includes pages 1, 3, 4, and 5."),
|
|
73
|
+
preferredDocumentName: z.string().optional().describe("The preferred name for the generated document. If you do not provide a name or the name is already in use, the system automatically generates a unique name."),
|
|
74
|
+
projectId: z.string().optional().describe("The identifier of the project where the variation is to be stored.")
|
|
75
|
+
})).describe("Details of how the variation should be generated.");
|
|
76
|
+
/**
|
|
77
|
+
* OpenAPI component `DocumentPageDetails`, response (open).
|
|
78
|
+
* @category Generated
|
|
79
|
+
*/
|
|
80
|
+
export const Out_DocumentPageDetails = z.lazy(() => z.looseObject({
|
|
81
|
+
pageNumber: z.number().describe("The number of the page starting from 1."),
|
|
82
|
+
pageTitle: z.string().describe("The title of the page."),
|
|
83
|
+
thumbnailUrl: z.string().describe("Pre-signed URL for the page's thumbnail rendition valid for 4 hours. The size of the rendition will be 640 pixels along the longest side. The format of the rendition will be a PNG image."),
|
|
84
|
+
size: Out_Size.describe("The original width and height of the page."),
|
|
85
|
+
taggedElements: z.array(Out_TaggedElement).optional().describe("List of all the tagged elements on this page. If this page do not have any tagged element, this field will be undefined.")
|
|
86
|
+
})).describe("The details of a single page in the Express Document.");
|
|
87
|
+
/**
|
|
88
|
+
* OpenAPI component `ExpressDocument`, response (open).
|
|
89
|
+
* @category Generated
|
|
90
|
+
*/
|
|
91
|
+
export const Out_ExpressDocument = z.lazy(() => z.looseObject({
|
|
92
|
+
id: z.string().describe("The unique identifier of the document."),
|
|
93
|
+
name: z.string().describe("The name or title of the document."),
|
|
94
|
+
thumbnailUrl: z.string().describe("Pre-signed URL for the Document's thumbnail rendition. The size of the rendition will be `640 pixels` along the longest side. The format of the rendition will be a `PNG` image.")
|
|
95
|
+
})).describe("Details of the Express document.");
|
|
96
|
+
/**
|
|
97
|
+
* OpenAPI component `GenerateVariationResponse`, response (open).
|
|
98
|
+
* @category Generated
|
|
99
|
+
*/
|
|
100
|
+
export const Out_GenerateVariationResponse = z.lazy(() => z.looseObject({
|
|
101
|
+
document: Out_ExpressDocument.describe("Specifies the details of the generated variation."),
|
|
102
|
+
jobId: z.string().describe("The identifier of the job."),
|
|
103
|
+
status: Out_JobStatus.describe("The status of the job.")
|
|
104
|
+
})).describe("Response payload for the \"generate-variation\" API.");
|
|
105
|
+
/**
|
|
106
|
+
* OpenAPI component `JobStatus`, response (open).
|
|
107
|
+
* @category Generated
|
|
108
|
+
*/
|
|
109
|
+
export const Out_JobStatus = z.lazy(() => z.enum(["cancel_requested", "cancelled", "failed", "partially_succeeded", "pending", "running", "succeeded"])).describe("Various statuses of a job.");
|
|
110
|
+
/**
|
|
111
|
+
* OpenAPI component `Pagination`, response (open).
|
|
112
|
+
* @category Generated
|
|
113
|
+
*/
|
|
114
|
+
export const Out_Pagination = z.lazy(() => z.looseObject({
|
|
115
|
+
nextUrl: z.string().describe("A URL using which the next page of the response can be fetched."),
|
|
116
|
+
totalRecords: z.number().describe("Total number of items available that match the query.")
|
|
117
|
+
})).describe("Pagination details of the response.");
|
|
118
|
+
/**
|
|
119
|
+
* OpenAPI component `Point`, response (open).
|
|
120
|
+
* @category Generated
|
|
121
|
+
*/
|
|
122
|
+
export const Out_Point = z.lazy(() => z.looseObject({
|
|
123
|
+
x: z.number().describe("The left co-ordinate position in px."),
|
|
124
|
+
y: z.number().describe("The top co-ordinate position in px.")
|
|
125
|
+
})).describe("Represents position within a page. 0,0 represents the top-left corner of a page.");
|
|
126
|
+
/**
|
|
127
|
+
* OpenAPI component `Size`, response (open).
|
|
128
|
+
* @category Generated
|
|
129
|
+
*/
|
|
130
|
+
export const Out_Size = z.lazy(() => z.looseObject({
|
|
131
|
+
width: z.number().describe("The width in pixels ( px )."),
|
|
132
|
+
height: z.number().describe("The height in pixels ( px ).")
|
|
133
|
+
})).describe("Represents a dimension within a Page.");
|
|
134
|
+
/**
|
|
135
|
+
* OpenAPI component `TaggedDocumentDetailsResponse`, response (open).
|
|
136
|
+
* @category Generated
|
|
137
|
+
*/
|
|
138
|
+
export const Out_TaggedDocumentDetailsResponse = z.lazy(() => z.looseObject({
|
|
139
|
+
name: z.string().describe("The name of the document."),
|
|
140
|
+
id: z.string().describe("The unique identifier of the document."),
|
|
141
|
+
paging: Out_Pagination.optional().describe("Pagination details of the response."),
|
|
142
|
+
documentPages: z.array(Out_DocumentPageDetails).describe("List of the pages from Express Document.")
|
|
143
|
+
})).describe("Response payload for GET \"/tagged-documents/\\{documentId\\}\" API.");
|
|
144
|
+
/**
|
|
145
|
+
* OpenAPI component `TaggedDocumentsResponse`, response (open).
|
|
146
|
+
* @category Generated
|
|
147
|
+
*/
|
|
148
|
+
export const Out_TaggedDocumentsResponse = z.lazy(() => z.looseObject({
|
|
149
|
+
paging: Out_Pagination.optional().describe("Pagination details of the response."),
|
|
150
|
+
documents: z.array(Out_ExpressDocument).optional().describe("A list of documents accessible (both owned and shared with) to the user.")
|
|
151
|
+
})).describe("Response payload for GET \"/tagged-documents\" API.");
|
|
152
|
+
/**
|
|
153
|
+
* OpenAPI component `TaggedElement`, response (open).
|
|
154
|
+
* @category Generated
|
|
155
|
+
*/
|
|
156
|
+
export const Out_TaggedElement = z.lazy(() => z.looseObject({
|
|
157
|
+
name: z.string().describe("The name of the tag. Following rules apply to the tag name: 1. In the same page, tag names should be unique. 2. Across different pages, tags of same element type can have same name. 3. The tag name is case-sensitive."),
|
|
158
|
+
type: Out_TaggedElementType.describe("The type of the tagged element."),
|
|
159
|
+
position: Out_Point.describe("The x and y coordinates of the tagged element on the document's page, relative to the original page size."),
|
|
160
|
+
size: Out_Size.describe("The width and height of the tagged element in the document's page relative to the original page size.")
|
|
161
|
+
})).describe("The details of a tag element inside the page.");
|
|
162
|
+
/**
|
|
163
|
+
* OpenAPI component `TaggedElementType`, response (open).
|
|
164
|
+
* @category Generated
|
|
165
|
+
*/
|
|
166
|
+
export const Out_TaggedElementType = z.lazy(() => z.enum(["image", "text", "video"])).describe("The supported tag types in a document.");
|
|
136
167
|
//# sourceMappingURL=schemas.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schemas.js","sourceRoot":"","sources":["../../../src/generated/express/schemas.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"schemas.js","sourceRoot":"","sources":["../../../src/generated/express/schemas.ts"],"names":[],"mappings":"AAAA,2FAA2F;AAC3F,0CAA0C;AAC1C,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB;;;GAGG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAc,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC,YAAY,CAAC;IAC9E,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,2DAA2D,CAAC;IACpF,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,kQAAkQ,CAAC;IACzS,OAAO,EAAE,8EAA8E,CAAC,QAAQ,CAAC,sCAAsC,CAAC;CACzI,CAAC,CAAC,CAAC,QAAQ,CAAC,iDAAiD,CAAC,CAAA;AAE/D;;;GAGG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAc,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC,YAAY,CAAC;IAChF,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,wCAAwC,CAAC;IACjE,gBAAgB,EAAE,mBAAmB,CAAC,QAAQ,CAAC,mEAAmE,CAAC;CACpH,CAAC,CAAC,CAAC,QAAQ,CAAC,2FAA2F,CAAC,CAAA;AAEzG;;;GAGG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAc,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,YAAY,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,qCAAqC,CAAC,CAAA;AAEnJ;;;GAGG;AACH,MAAM,CAAC,MAAM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