@supernova-studio/client 0.47.49 → 0.47.50

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/dist/index.js CHANGED
@@ -116,6 +116,7 @@ var _zod = require('zod');
116
116
 
117
117
 
118
118
 
119
+
119
120
 
120
121
 
121
122
  var _ipcidr = require('ip-cidr'); var _ipcidr2 = _interopRequireDefault(_ipcidr);
@@ -536,6 +537,17 @@ var Asset = _zod.z.object({
536
537
  var ResolvedAsset = Asset.extend({
537
538
  url: _zod.z.string()
538
539
  });
540
+ var FigmaFileDownloadScope = _zod.z.object({
541
+ styles: _zod.z.boolean(),
542
+ components: _zod.z.boolean(),
543
+ currentVersion: _zod.z.literal("__latest__").nullable(),
544
+ publishedVersion: _zod.z.string().nullable(),
545
+ downloadChunkSize: _zod.z.number().optional(),
546
+ maxFileDepth: _zod.z.number().optional()
547
+ });
548
+ var FigmaFileAccessData = _zod.z.object({
549
+ accessToken: _zod.z.string()
550
+ });
539
551
  var ImportWarningType = _zod.z.enum([
540
552
  "NoVersionFound",
541
553
  "UnsupportedFill",
@@ -1922,6 +1934,223 @@ var ImportJob = Entity.extend({
1922
1934
  sourceType: DataSourceRemoteType,
1923
1935
  importContextCleanedUp: _zod.z.boolean()
1924
1936
  });
1937
+ var ImportFunctionInput = _zod.z.object({
1938
+ importJobId: _zod.z.string(),
1939
+ importContextId: _zod.z.string(),
1940
+ designSystemId: _zod.z.string().optional()
1941
+ });
1942
+ var ImportedFigmaSourceData = _zod.z.object({
1943
+ sourceId: _zod.z.string(),
1944
+ figmaRemote: DataSourceFigmaRemote
1945
+ });
1946
+ var FigmaImportBaseContext = _zod.z.object({
1947
+ designSystemId: _zod.z.string(),
1948
+ /**
1949
+ * Data required for accessing Figma files. This should contain access data for all file ids
1950
+ * mentioned in the `importedSourceDataBySourceId`
1951
+ *
1952
+ * fileId: file data
1953
+ */
1954
+ fileAccessByFileId: _zod.z.record(FigmaFileAccessData),
1955
+ /**
1956
+ * Figma source data for which import was requested
1957
+ *
1958
+ * sourceId: source data
1959
+ */
1960
+ importedSourceDataBySourceId: _zod.z.record(ImportedFigmaSourceData),
1961
+ /**
1962
+ * Array of warnings that will be written into the import result summary at the end
1963
+ * of import job execution and displayed by the client.
1964
+ */
1965
+ importWarnings: _zod.z.record(ImportWarning.array()).default({})
1966
+ });
1967
+ var FigmaImportContextWithSourcesState = FigmaImportBaseContext.extend({
1968
+ sourcesWithMissingAccess: _zod.z.array(_zod.z.string()).default([]),
1969
+ shadowOpacityOptional: _zod.z.boolean().default(false)
1970
+ });
1971
+ var ChangedImportedFigmaSourceData = ImportedFigmaSourceData.extend({
1972
+ importMetadata: DataSourceFigmaImportMetadata
1973
+ });
1974
+ var FigmaImportContextWithDownloadScopes = FigmaImportContextWithSourcesState.extend({
1975
+ /**
1976
+ * Describes what to download from each file, this should contain all file id mentioned in
1977
+ * importMetadataBySourceId.
1978
+ *
1979
+ * File id -> file download scope
1980
+ */
1981
+ fileDownloadScopesByFileId: _zod.z.record(FigmaFileDownloadScope),
1982
+ /**
1983
+ * Sources filtered down to the ones that have changed since last import and therefore need to be
1984
+ * imported again.
1985
+ *
1986
+ * Source id -> import metadata
1987
+ */
1988
+ changedImportedSourceDataBySourceId: _zod.z.record(ChangedImportedFigmaSourceData)
1989
+ });
1990
+ var ImageImportModelType = _zod.z.enum(["Url", "FigmaRender"]);
1991
+ var ImageImportModelBase = _zod.z.object({
1992
+ scope: AssetScope
1993
+ });
1994
+ var UrlImageImportModel = ImageImportModelBase.extend({
1995
+ type: _zod.z.literal(ImageImportModelType.enum.Url),
1996
+ url: _zod.z.string(),
1997
+ originKey: _zod.z.string(),
1998
+ extension: _zod.z.string()
1999
+ });
2000
+ var FigmaRenderFormat = _zod.z.enum(["Svg", "Png", "Pdf"]);
2001
+ var FigmaRenderBase = ImageImportModelBase.extend({
2002
+ type: _zod.z.literal(ImageImportModelType.enum.FigmaRender),
2003
+ fileId: _zod.z.string(),
2004
+ fileVersionId: _zod.z.string().optional(),
2005
+ nodeId: _zod.z.string(),
2006
+ originKey: _zod.z.string()
2007
+ });
2008
+ var FigmaPngRenderImportModel = FigmaRenderBase.extend({
2009
+ format: _zod.z.literal(FigmaRenderFormat.enum.Png),
2010
+ scale: _zod.z.number()
2011
+ });
2012
+ var FigmaSvgRenderImportModel = FigmaRenderBase.extend({
2013
+ format: _zod.z.literal(FigmaRenderFormat.enum.Svg)
2014
+ });
2015
+ var FigmaRenderImportModel = _zod.z.discriminatedUnion("format", [
2016
+ FigmaPngRenderImportModel,
2017
+ FigmaSvgRenderImportModel
2018
+ ]);
2019
+ var ImageImportModel = _zod.z.union([UrlImageImportModel, FigmaRenderImportModel]);
2020
+ var ImportModelBase = _zod.z.object({
2021
+ id: _zod.z.string(),
2022
+ meta: ObjectMeta,
2023
+ origin: DesignElementOrigin,
2024
+ brandPersistentId: _zod.z.string(),
2025
+ sortOrder: _zod.z.number()
2026
+ });
2027
+ var ImportModelInputBase = ImportModelBase.omit({
2028
+ brandPersistentId: true,
2029
+ origin: true,
2030
+ sortOrder: true
2031
+ }).extend({
2032
+ originId: _zod.z.string(),
2033
+ originMetadata: _zod.z.record(_zod.z.any())
2034
+ });
2035
+ var ComponentImportModelPart = _zod.z.object({
2036
+ thumbnail: ImageImportModel
2037
+ });
2038
+ var ComponentImportModel = ImportModelBase.extend(ComponentImportModelPart.shape).extend({
2039
+ isAsset: _zod.z.boolean(),
2040
+ svg: FigmaSvgRenderImportModel.optional(),
2041
+ origin: ComponentOrigin
2042
+ });
2043
+ var ComponentImportModelInput = ImportModelInputBase.extend(ComponentImportModelPart.shape).extend({
2044
+ originMetadata: ComponentOriginPart
2045
+ });
2046
+ var AssetImportModelInput = ImportModelInputBase.extend(ComponentImportModelPart.shape).extend({
2047
+ svg: FigmaSvgRenderImportModel,
2048
+ originMetadata: ComponentOriginPart
2049
+ });
2050
+ var ThemeOverrideImportModelBase = DesignTokenTypedData.and(
2051
+ _zod.z.object({
2052
+ id: _zod.z.string(),
2053
+ meta: ObjectMeta
2054
+ })
2055
+ );
2056
+ var ThemeOverrideImportModel = ThemeOverrideImportModelBase.and(
2057
+ _zod.z.object({
2058
+ origin: ThemeOverrideOrigin
2059
+ })
2060
+ );
2061
+ var ThemeOverrideImportModelInput = ThemeOverrideImportModelBase.and(
2062
+ _zod.z.object({
2063
+ originId: _zod.z.string(),
2064
+ originMetadata: ThemeOverrideOriginPart
2065
+ })
2066
+ );
2067
+ var ThemeImportModel = _zod.z.object({
2068
+ meta: ObjectMeta,
2069
+ brandPersistentId: _zod.z.string(),
2070
+ originSource: ThemeOriginSource,
2071
+ overrides: _zod.z.array(ThemeOverrideImportModel),
2072
+ sortOrder: _zod.z.number()
2073
+ });
2074
+ var ThemeImportModelInput = _zod.z.object({
2075
+ meta: ObjectMeta,
2076
+ originObjects: _zod.z.array(ThemeOriginObject),
2077
+ overrides: _zod.z.array(ThemeOverrideImportModelInput)
2078
+ });
2079
+ var ThemeUpdateImportModel = _zod.z.object({
2080
+ themePersistentId: _zod.z.string(),
2081
+ overrides: _zod.z.array(ThemeOverrideImportModel)
2082
+ });
2083
+ var ThemeUpdateImportModelInput = _zod.z.object({
2084
+ themePersistentId: _zod.z.string(),
2085
+ overrides: _zod.z.array(ThemeOverrideImportModelInput)
2086
+ });
2087
+ var DesignTokenImportModelPart = _zod.z.object({
2088
+ collection: _zod.z.string().optional(),
2089
+ codeSyntax: _zod.z.record(_zod.z.coerce.string()).optional()
2090
+ });
2091
+ var DesignTokenImportModelBase = ImportModelBase.extend(DesignTokenImportModelPart.shape).extend({
2092
+ origin: DesignTokenOrigin
2093
+ });
2094
+ var DesignTokenImportModelInputBase = ImportModelInputBase.extend(DesignTokenImportModelPart.shape).extend({
2095
+ originMetadata: DesignTokenOriginPart
2096
+ });
2097
+ var DesignTokenImportModel = DesignTokenTypedData.and(DesignTokenImportModelBase);
2098
+ var DesignTokenImportModelInput = DesignTokenTypedData.and(DesignTokenImportModelInputBase);
2099
+ var FigmaFileStructureNodeImportModelBase = FigmaFileStructureNodeBase.extend({
2100
+ image: FigmaPngRenderImportModel
2101
+ });
2102
+ var FigmaFileStructureNodeImportModel = FigmaFileStructureNodeImportModelBase.extend({
2103
+ children: _zod.z.lazy(() => FigmaFileStructureNodeImportModel.array())
2104
+ });
2105
+ var FigmaFileStructureImportModelPart = _zod.z.object({
2106
+ data: _zod.z.object({
2107
+ rootNode: FigmaFileStructureNodeImportModel,
2108
+ assetsInFile: FigmaFileStructureStatistics
2109
+ })
2110
+ });
2111
+ var FigmaFileStructureImportModel = ImportModelBase.extend(FigmaFileStructureImportModelPart.shape).extend({
2112
+ origin: FigmaFileStructureOrigin
2113
+ });
2114
+ var FigmaFileStructureImportModelInput = ImportModelInputBase.extend(
2115
+ FigmaFileStructureImportModelPart.shape
2116
+ ).extend({
2117
+ fileVersionId: _zod.z.string()
2118
+ });
2119
+ var DataSourceImportModel = _zod.z.object({
2120
+ id: _zod.z.string(),
2121
+ fileName: _zod.z.string().optional(),
2122
+ thumbnailUrl: _zod.z.string().optional()
2123
+ });
2124
+ var ImportModelInputCollection = _zod.z.object({
2125
+ source: DataSourceImportModel,
2126
+ tokens: _zod.z.array(DesignTokenImportModelInput).default([]),
2127
+ components: _zod.z.array(ComponentImportModelInput).default([]),
2128
+ assets: _zod.z.array(AssetImportModelInput).default([]),
2129
+ themeUpdates: _zod.z.array(ThemeUpdateImportModelInput).default([]),
2130
+ themes: _zod.z.array(ThemeImportModelInput).default([]),
2131
+ figmaFileStructure: FigmaFileStructureImportModelInput.optional()
2132
+ });
2133
+ var ImportModelCollection = _zod.z.object({
2134
+ sources: _zod.z.array(DataSourceImportModel),
2135
+ tokens: _zod.z.array(DesignTokenImportModel).default([]),
2136
+ components: _zod.z.array(ComponentImportModel).default([]),
2137
+ themeUpdates: _zod.z.array(ThemeUpdateImportModel).default([]),
2138
+ themes: _zod.z.array(ThemeImportModel).default([]),
2139
+ figmaFileStructures: _zod.z.array(FigmaFileStructureImportModel)
2140
+ });
2141
+ var AssetRenderConfiguration = _zod.z.object({
2142
+ prefix: _zod.z.string().optional(),
2143
+ suffix: _zod.z.string().optional(),
2144
+ scale: _zod.z.number(),
2145
+ format: FigmaRenderFormat
2146
+ });
2147
+ var RenderedAssetFile = _zod.z.object({
2148
+ assetPersistentId: _zod.z.string(),
2149
+ assetName: _zod.z.string(),
2150
+ renderedImageFileName: _zod.z.string(),
2151
+ renderedImageUrl: _zod.z.string(),
2152
+ settings: AssetRenderConfiguration
2153
+ });
1925
2154
  var PageBlockDefinitionAppearance = _zod.z.object({
1926
2155
  isBordered: _zod.z.boolean().optional(),
1927
2156
  hasBackground: _zod.z.boolean().optional(),
@@ -2244,221 +2473,6 @@ var DocumentationPageSnapshot = DesignElementSnapshotBase.extend({
2244
2473
  var ElementGroupSnapshot = DesignElementSnapshotBase.extend({
2245
2474
  group: ElementGroup
2246
2475
  });
2247
- var FigmaFileDownloadScope = _zod.z.object({
2248
- styles: _zod.z.boolean(),
2249
- components: _zod.z.boolean(),
2250
- currentVersion: _zod.z.literal("__latest__").nullable(),
2251
- publishedVersion: _zod.z.string().nullable(),
2252
- downloadChunkSize: _zod.z.number().optional(),
2253
- maxFileDepth: _zod.z.number().optional()
2254
- });
2255
- var FigmaFileAccessData = _zod.z.object({
2256
- accessToken: _zod.z.string()
2257
- });
2258
- var ImportFunctionInput = _zod.z.object({
2259
- importJobId: _zod.z.string(),
2260
- importContextId: _zod.z.string(),
2261
- designSystemId: _zod.z.string().optional()
2262
- });
2263
- var ImportedFigmaSourceData = _zod.z.object({
2264
- sourceId: _zod.z.string(),
2265
- figmaRemote: DataSourceFigmaRemote
2266
- });
2267
- var FigmaImportBaseContext = _zod.z.object({
2268
- designSystemId: _zod.z.string(),
2269
- /**
2270
- * Data required for accessing Figma files. This should contain access data for all file ids
2271
- * mentioned in the `importedSourceDataBySourceId`
2272
- *
2273
- * fileId: file data
2274
- */
2275
- fileAccessByFileId: _zod.z.record(FigmaFileAccessData),
2276
- /**
2277
- * Figma source data for which import was requested
2278
- *
2279
- * sourceId: source data
2280
- */
2281
- importedSourceDataBySourceId: _zod.z.record(ImportedFigmaSourceData),
2282
- /**
2283
- * Array of warnings that will be written into the import result summary at the end
2284
- * of import job execution and displayed by the client.
2285
- */
2286
- importWarnings: _zod.z.record(ImportWarning.array()).default({})
2287
- });
2288
- var FigmaImportContextWithSourcesState = FigmaImportBaseContext.extend({
2289
- sourcesWithMissingAccess: _zod.z.array(_zod.z.string()).default([]),
2290
- shadowOpacityOptional: _zod.z.boolean().default(false)
2291
- });
2292
- var ChangedImportedFigmaSourceData = ImportedFigmaSourceData.extend({
2293
- importMetadata: DataSourceFigmaImportMetadata
2294
- });
2295
- var FigmaImportContextWithDownloadScopes = FigmaImportContextWithSourcesState.extend({
2296
- /**
2297
- * Describes what to download from each file, this should contain all file id mentioned in
2298
- * importMetadataBySourceId.
2299
- *
2300
- * File id -> file download scope
2301
- */
2302
- fileDownloadScopesByFileId: _zod.z.record(FigmaFileDownloadScope),
2303
- /**
2304
- * Sources filtered down to the ones that have changed since last import and therefore need to be
2305
- * imported again.
2306
- *
2307
- * Source id -> import metadata
2308
- */
2309
- changedImportedSourceDataBySourceId: _zod.z.record(ChangedImportedFigmaSourceData)
2310
- });
2311
- var ImageImportModelType = _zod.z.enum(["Url", "FigmaRender"]);
2312
- var ImageImportModelBase = _zod.z.object({
2313
- scope: AssetScope
2314
- });
2315
- var UrlImageImportModel = ImageImportModelBase.extend({
2316
- type: _zod.z.literal(ImageImportModelType.enum.Url),
2317
- url: _zod.z.string(),
2318
- originKey: _zod.z.string(),
2319
- extension: _zod.z.string()
2320
- });
2321
- var FigmaRenderFormat = _zod.z.enum(["Svg", "Png"]);
2322
- var FigmaRenderBase = ImageImportModelBase.extend({
2323
- type: _zod.z.literal(ImageImportModelType.enum.FigmaRender),
2324
- fileId: _zod.z.string(),
2325
- fileVersionId: _zod.z.string().optional(),
2326
- nodeId: _zod.z.string(),
2327
- originKey: _zod.z.string()
2328
- });
2329
- var FigmaPngRenderImportModel = FigmaRenderBase.extend({
2330
- format: _zod.z.literal(FigmaRenderFormat.enum.Png),
2331
- scale: _zod.z.number()
2332
- });
2333
- var FigmaSvgRenderImportModel = FigmaRenderBase.extend({
2334
- format: _zod.z.literal(FigmaRenderFormat.enum.Svg)
2335
- });
2336
- var FigmaRenderImportModel = _zod.z.discriminatedUnion("format", [
2337
- FigmaPngRenderImportModel,
2338
- FigmaSvgRenderImportModel
2339
- ]);
2340
- var ImageImportModel = _zod.z.union([UrlImageImportModel, FigmaRenderImportModel]);
2341
- var ImportModelBase = _zod.z.object({
2342
- id: _zod.z.string(),
2343
- meta: ObjectMeta,
2344
- origin: DesignElementOrigin,
2345
- brandPersistentId: _zod.z.string(),
2346
- sortOrder: _zod.z.number()
2347
- });
2348
- var ImportModelInputBase = ImportModelBase.omit({
2349
- brandPersistentId: true,
2350
- origin: true,
2351
- sortOrder: true
2352
- }).extend({
2353
- originId: _zod.z.string(),
2354
- originMetadata: _zod.z.record(_zod.z.any())
2355
- });
2356
- var ComponentImportModelPart = _zod.z.object({
2357
- thumbnail: ImageImportModel
2358
- });
2359
- var ComponentImportModel = ImportModelBase.extend(ComponentImportModelPart.shape).extend({
2360
- isAsset: _zod.z.boolean(),
2361
- svg: FigmaSvgRenderImportModel.optional(),
2362
- origin: ComponentOrigin
2363
- });
2364
- var ComponentImportModelInput = ImportModelInputBase.extend(ComponentImportModelPart.shape).extend({
2365
- originMetadata: ComponentOriginPart
2366
- });
2367
- var AssetImportModelInput = ImportModelInputBase.extend(ComponentImportModelPart.shape).extend({
2368
- svg: FigmaSvgRenderImportModel,
2369
- originMetadata: ComponentOriginPart
2370
- });
2371
- var ThemeOverrideImportModelBase = DesignTokenTypedData.and(
2372
- _zod.z.object({
2373
- id: _zod.z.string(),
2374
- meta: ObjectMeta
2375
- })
2376
- );
2377
- var ThemeOverrideImportModel = ThemeOverrideImportModelBase.and(
2378
- _zod.z.object({
2379
- origin: ThemeOverrideOrigin
2380
- })
2381
- );
2382
- var ThemeOverrideImportModelInput = ThemeOverrideImportModelBase.and(
2383
- _zod.z.object({
2384
- originId: _zod.z.string(),
2385
- originMetadata: ThemeOverrideOriginPart
2386
- })
2387
- );
2388
- var ThemeImportModel = _zod.z.object({
2389
- meta: ObjectMeta,
2390
- brandPersistentId: _zod.z.string(),
2391
- originSource: ThemeOriginSource,
2392
- overrides: _zod.z.array(ThemeOverrideImportModel),
2393
- sortOrder: _zod.z.number()
2394
- });
2395
- var ThemeImportModelInput = _zod.z.object({
2396
- meta: ObjectMeta,
2397
- originObjects: _zod.z.array(ThemeOriginObject),
2398
- overrides: _zod.z.array(ThemeOverrideImportModelInput)
2399
- });
2400
- var ThemeUpdateImportModel = _zod.z.object({
2401
- themePersistentId: _zod.z.string(),
2402
- overrides: _zod.z.array(ThemeOverrideImportModel)
2403
- });
2404
- var ThemeUpdateImportModelInput = _zod.z.object({
2405
- themePersistentId: _zod.z.string(),
2406
- overrides: _zod.z.array(ThemeOverrideImportModelInput)
2407
- });
2408
- var DesignTokenImportModelPart = _zod.z.object({
2409
- collection: _zod.z.string().optional(),
2410
- codeSyntax: _zod.z.record(_zod.z.coerce.string()).optional()
2411
- });
2412
- var DesignTokenImportModelBase = ImportModelBase.extend(DesignTokenImportModelPart.shape).extend({
2413
- origin: DesignTokenOrigin
2414
- });
2415
- var DesignTokenImportModelInputBase = ImportModelInputBase.extend(DesignTokenImportModelPart.shape).extend({
2416
- originMetadata: DesignTokenOriginPart
2417
- });
2418
- var DesignTokenImportModel = DesignTokenTypedData.and(DesignTokenImportModelBase);
2419
- var DesignTokenImportModelInput = DesignTokenTypedData.and(DesignTokenImportModelInputBase);
2420
- var FigmaFileStructureNodeImportModelBase = FigmaFileStructureNodeBase.extend({
2421
- image: FigmaPngRenderImportModel
2422
- });
2423
- var FigmaFileStructureNodeImportModel = FigmaFileStructureNodeImportModelBase.extend({
2424
- children: _zod.z.lazy(() => FigmaFileStructureNodeImportModel.array())
2425
- });
2426
- var FigmaFileStructureImportModelPart = _zod.z.object({
2427
- data: _zod.z.object({
2428
- rootNode: FigmaFileStructureNodeImportModel,
2429
- assetsInFile: FigmaFileStructureStatistics
2430
- })
2431
- });
2432
- var FigmaFileStructureImportModel = ImportModelBase.extend(FigmaFileStructureImportModelPart.shape).extend({
2433
- origin: FigmaFileStructureOrigin
2434
- });
2435
- var FigmaFileStructureImportModelInput = ImportModelInputBase.extend(
2436
- FigmaFileStructureImportModelPart.shape
2437
- ).extend({
2438
- fileVersionId: _zod.z.string()
2439
- });
2440
- var DataSourceImportModel = _zod.z.object({
2441
- id: _zod.z.string(),
2442
- fileName: _zod.z.string().optional(),
2443
- thumbnailUrl: _zod.z.string().optional()
2444
- });
2445
- var ImportModelInputCollection = _zod.z.object({
2446
- source: DataSourceImportModel,
2447
- tokens: _zod.z.array(DesignTokenImportModelInput).default([]),
2448
- components: _zod.z.array(ComponentImportModelInput).default([]),
2449
- assets: _zod.z.array(AssetImportModelInput).default([]),
2450
- themeUpdates: _zod.z.array(ThemeUpdateImportModelInput).default([]),
2451
- themes: _zod.z.array(ThemeImportModelInput).default([]),
2452
- figmaFileStructure: FigmaFileStructureImportModelInput.optional()
2453
- });
2454
- var ImportModelCollection = _zod.z.object({
2455
- sources: _zod.z.array(DataSourceImportModel),
2456
- tokens: _zod.z.array(DesignTokenImportModel).default([]),
2457
- components: _zod.z.array(ComponentImportModel).default([]),
2458
- themeUpdates: _zod.z.array(ThemeUpdateImportModel).default([]),
2459
- themes: _zod.z.array(ThemeImportModel).default([]),
2460
- figmaFileStructures: _zod.z.array(FigmaFileStructureImportModel)
2461
- });
2462
2476
  var ElementViewBaseColumnType = _zod.z.enum(["Name", "Description", "Value", "UpdatedAt"]);
2463
2477
  var ElementViewColumnType = _zod.z.union([
2464
2478
  _zod.z.literal("BaseProperty"),
@@ -5625,6 +5639,29 @@ var DTOPipeline = _zod.z.object({
5625
5639
  latestJobs: DTOExportJob.array()
5626
5640
  });
5627
5641
 
5642
+ // src/api/dto/figma-components/assets/download.ts
5643
+
5644
+ var DTOAssetRenderConfiguration = _zod.z.object({
5645
+ prefix: _zod.z.string().optional(),
5646
+ suffix: _zod.z.string().optional(),
5647
+ scale: _zod.z.enum(["x1", "x2", "x3", "x4"]),
5648
+ format: _zod.z.enum(["png", "pdf", "svg"])
5649
+ });
5650
+ var DTORenderedAssetFile = _zod.z.object({
5651
+ assetId: _zod.z.string(),
5652
+ fileName: _zod.z.string(),
5653
+ sourceUrl: _zod.z.string(),
5654
+ settings: DTOAssetRenderConfiguration,
5655
+ originalName: _zod.z.string()
5656
+ });
5657
+ var DTODownloadAssetsRequest = _zod.z.object({
5658
+ persistentIds: _zod.z.array(_zod.z.string().uuid()).optional(),
5659
+ settings: DTOAssetRenderConfiguration.array()
5660
+ });
5661
+ var DTODownloadAssetsResponse = _zod.z.object({
5662
+ items: DTORenderedAssetFile.array()
5663
+ });
5664
+
5628
5665
  // src/api/dto/liveblocks/auth-response.ts
5629
5666
 
5630
5667
  var DTOLiveblocksAuthResponse = _zod.z.object({
@@ -10034,5 +10071,9 @@ function generatePageContentHash(content) {
10034
10071
 
10035
10072
 
10036
10073
 
10037
- exports.BackendVersionRoomYDoc = BackendVersionRoomYDoc; exports.BlockDefinitionUtils = BlockDefinitionUtils; exports.BlockParsingUtils = BlockParsingUtils; exports.DTOBrand = DTOBrand; exports.DTOBrandCreateResponse = DTOBrandCreateResponse; exports.DTOBrandGetResponse = DTOBrandGetResponse; exports.DTOBrandsListResponse = DTOBrandsListResponse; exports.DTOCreateBrandInput = DTOCreateBrandInput; exports.DTOCreateDocumentationGroupInput = DTOCreateDocumentationGroupInput; exports.DTOCreateDocumentationPageInputV2 = DTOCreateDocumentationPageInputV2; exports.DTOCreateDocumentationTabInput = DTOCreateDocumentationTabInput; exports.DTOCreateElementPropertyDefinitionInputV2 = DTOCreateElementPropertyDefinitionInputV2; exports.DTOCreateVersionInput = DTOCreateVersionInput; exports.DTODataSource = DTODataSource; exports.DTODataSourceCreationResponse = DTODataSourceCreationResponse; exports.DTODataSourceFigma = DTODataSourceFigma; exports.DTODataSourceFigmaCloud = DTODataSourceFigmaCloud; exports.DTODataSourceFigmaVariablesPlugin = DTODataSourceFigmaVariablesPlugin; exports.DTODataSourceTokenStudio = DTODataSourceTokenStudio; exports.DTODataSourcesListResponse = DTODataSourcesListResponse; exports.DTODeleteDocumentationGroupInput = DTODeleteDocumentationGroupInput; exports.DTODeleteDocumentationPageInputV2 = DTODeleteDocumentationPageInputV2; exports.DTODeleteDocumentationTabGroupInput = DTODeleteDocumentationTabGroupInput; exports.DTODeleteElementPropertyDefinitionInputV2 = DTODeleteElementPropertyDefinitionInputV2; exports.DTODesignSystem = DTODesignSystem; exports.DTODesignSystemVersion = DTODesignSystemVersion; exports.DTODesignSystemVersionCreationResponse = DTODesignSystemVersionCreationResponse; exports.DTODesignSystemVersionGetResponse = DTODesignSystemVersionGetResponse; exports.DTODesignSystemVersionJobStatusResponse = DTODesignSystemVersionJobStatusResponse; exports.DTODesignSystemVersionJobsResponse = DTODesignSystemVersionJobsResponse; exports.DTODesignSystemVersionsListResponse = DTODesignSystemVersionsListResponse; exports.DTODocumentationDraftChangeType = DTODocumentationDraftChangeType; exports.DTODocumentationDraftState = DTODocumentationDraftState; exports.DTODocumentationDraftStateCreated = DTODocumentationDraftStateCreated; exports.DTODocumentationDraftStateDeleted = DTODocumentationDraftStateDeleted; exports.DTODocumentationDraftStateUpdated = DTODocumentationDraftStateUpdated; exports.DTODocumentationGroupCreateActionInputV2 = DTODocumentationGroupCreateActionInputV2; exports.DTODocumentationGroupCreateActionOutputV2 = DTODocumentationGroupCreateActionOutputV2; exports.DTODocumentationGroupDeleteActionInputV2 = DTODocumentationGroupDeleteActionInputV2; exports.DTODocumentationGroupDeleteActionOutputV2 = DTODocumentationGroupDeleteActionOutputV2; exports.DTODocumentationGroupDuplicateActionInputV2 = DTODocumentationGroupDuplicateActionInputV2; exports.DTODocumentationGroupDuplicateActionOutputV2 = DTODocumentationGroupDuplicateActionOutputV2; exports.DTODocumentationGroupMoveActionInputV2 = DTODocumentationGroupMoveActionInputV2; exports.DTODocumentationGroupMoveActionOutputV2 = DTODocumentationGroupMoveActionOutputV2; exports.DTODocumentationGroupStructureV1 = DTODocumentationGroupStructureV1; exports.DTODocumentationGroupUpdateActionInputV2 = DTODocumentationGroupUpdateActionInputV2; exports.DTODocumentationGroupUpdateActionOutputV2 = DTODocumentationGroupUpdateActionOutputV2; exports.DTODocumentationGroupV1 = DTODocumentationGroupV1; exports.DTODocumentationGroupV2 = DTODocumentationGroupV2; exports.DTODocumentationHierarchyV2 = DTODocumentationHierarchyV2; exports.DTODocumentationItemConfigurationV1 = DTODocumentationItemConfigurationV1; exports.DTODocumentationItemConfigurationV2 = DTODocumentationItemConfigurationV2; exports.DTODocumentationItemHeaderV2 = DTODocumentationItemHeaderV2; exports.DTODocumentationLinkPreviewRequest = DTODocumentationLinkPreviewRequest; exports.DTODocumentationLinkPreviewResponse = DTODocumentationLinkPreviewResponse; exports.DTODocumentationPageAnchor = DTODocumentationPageAnchor; exports.DTODocumentationPageContent = DTODocumentationPageContent; exports.DTODocumentationPageContentGetResponse = DTODocumentationPageContentGetResponse; exports.DTODocumentationPageCreateActionInputV2 = DTODocumentationPageCreateActionInputV2; exports.DTODocumentationPageCreateActionOutputV2 = DTODocumentationPageCreateActionOutputV2; exports.DTODocumentationPageDeleteActionInputV2 = DTODocumentationPageDeleteActionInputV2; exports.DTODocumentationPageDeleteActionOutputV2 = DTODocumentationPageDeleteActionOutputV2; exports.DTODocumentationPageDuplicateActionInputV2 = DTODocumentationPageDuplicateActionInputV2; exports.DTODocumentationPageDuplicateActionOutputV2 = DTODocumentationPageDuplicateActionOutputV2; exports.DTODocumentationPageMoveActionInputV2 = DTODocumentationPageMoveActionInputV2; exports.DTODocumentationPageMoveActionOutputV2 = DTODocumentationPageMoveActionOutputV2; exports.DTODocumentationPageRoomHeaderData = DTODocumentationPageRoomHeaderData; exports.DTODocumentationPageRoomHeaderDataUpdate = DTODocumentationPageRoomHeaderDataUpdate; exports.DTODocumentationPageSnapshot = DTODocumentationPageSnapshot; exports.DTODocumentationPageUpdateActionInputV2 = DTODocumentationPageUpdateActionInputV2; exports.DTODocumentationPageUpdateActionOutputV2 = DTODocumentationPageUpdateActionOutputV2; exports.DTODocumentationPageV2 = DTODocumentationPageV2; exports.DTODocumentationTabCreateActionInputV2 = DTODocumentationTabCreateActionInputV2; exports.DTODocumentationTabCreateActionOutputV2 = DTODocumentationTabCreateActionOutputV2; exports.DTODocumentationTabGroupDeleteActionInputV2 = DTODocumentationTabGroupDeleteActionInputV2; exports.DTODocumentationTabGroupDeleteActionOutputV2 = DTODocumentationTabGroupDeleteActionOutputV2; exports.DTODuplicateDocumentationGroupInput = DTODuplicateDocumentationGroupInput; exports.DTODuplicateDocumentationPageInputV2 = DTODuplicateDocumentationPageInputV2; exports.DTOElementActionInput = DTOElementActionInput; exports.DTOElementActionOutput = DTOElementActionOutput; exports.DTOElementPropertyDefinition = DTOElementPropertyDefinition; exports.DTOElementPropertyDefinitionsGetResponse = DTOElementPropertyDefinitionsGetResponse; exports.DTOElementPropertyValue = DTOElementPropertyValue; exports.DTOElementPropertyValuesGetResponse = DTOElementPropertyValuesGetResponse; exports.DTOElementView = DTOElementView; exports.DTOElementViewBasePropertyColumn = DTOElementViewBasePropertyColumn; exports.DTOElementViewColumn = DTOElementViewColumn; exports.DTOElementViewColumnSharedAttributes = DTOElementViewColumnSharedAttributes; exports.DTOElementViewPropertyDefinitionColumn = DTOElementViewPropertyDefinitionColumn; exports.DTOElementViewThemeColumn = DTOElementViewThemeColumn; exports.DTOElementViewsListResponse = DTOElementViewsListResponse; exports.DTOElementsGetOutput = DTOElementsGetOutput; exports.DTOElementsGetQuerySchema = DTOElementsGetQuerySchema; exports.DTOElementsGetTypeFilter = DTOElementsGetTypeFilter; exports.DTOExportJob = DTOExportJob; exports.DTOExportJobCreatedBy = DTOExportJobCreatedBy; exports.DTOExportJobDesignSystemPreview = DTOExportJobDesignSystemPreview; exports.DTOExportJobDesignSystemVersionPreview = DTOExportJobDesignSystemVersionPreview; exports.DTOExportJobDestinations = DTOExportJobDestinations; exports.DTOExportJobResponse = DTOExportJobResponse; exports.DTOExporter = DTOExporter; exports.DTOExporterCreateInput = DTOExporterCreateInput; exports.DTOExporterCreateOutput = DTOExporterCreateOutput; exports.DTOExporterGitProviderEnum = DTOExporterGitProviderEnum; exports.DTOExporterMembership = DTOExporterMembership; exports.DTOExporterMembershipRole = DTOExporterMembershipRole; exports.DTOExporterProperty = DTOExporterProperty; exports.DTOExporterPropertyListResponse = DTOExporterPropertyListResponse; exports.DTOExporterSource = DTOExporterSource; exports.DTOExporterType = DTOExporterType; exports.DTOExporterUpdateInput = DTOExporterUpdateInput; exports.DTOFigmaNode = DTOFigmaNode; exports.DTOFigmaNodeData = DTOFigmaNodeData; exports.DTOFigmaNodeOrigin = DTOFigmaNodeOrigin; exports.DTOFigmaNodeRenderActionInput = DTOFigmaNodeRenderActionInput; exports.DTOFigmaNodeRenderActionOutput = DTOFigmaNodeRenderActionOutput; exports.DTOFigmaNodeRenderInput = DTOFigmaNodeRenderInput; exports.DTOGetBlockDefinitionsOutput = DTOGetBlockDefinitionsOutput; exports.DTOGetDocumentationPageAnchorsResponse = DTOGetDocumentationPageAnchorsResponse; exports.DTOGitBranch = DTOGitBranch; exports.DTOGitOrganization = DTOGitOrganization; exports.DTOGitProject = DTOGitProject; exports.DTOGitRepository = DTOGitRepository; exports.DTOIntegration = DTOIntegration; exports.DTOIntegrationCredentials = DTOIntegrationCredentials; exports.DTOIntegrationOAuthGetResponse = DTOIntegrationOAuthGetResponse; exports.DTOIntegrationPostResponse = DTOIntegrationPostResponse; exports.DTOIntegrationsGetListResponse = DTOIntegrationsGetListResponse; exports.DTOLiveblocksAuthRequest = DTOLiveblocksAuthRequest; exports.DTOLiveblocksAuthResponse = DTOLiveblocksAuthResponse; exports.DTOMoveDocumentationGroupInput = DTOMoveDocumentationGroupInput; exports.DTOMoveDocumentationPageInputV2 = DTOMoveDocumentationPageInputV2; exports.DTONpmRegistryConfig = DTONpmRegistryConfig; exports.DTONpmRegistryConfigConstants = DTONpmRegistryConfigConstants; exports.DTOPipeline = DTOPipeline; exports.DTOPipelineCreateBody = DTOPipelineCreateBody; exports.DTOPipelineTriggerBody = DTOPipelineTriggerBody; exports.DTOPipelineUpdateBody = DTOPipelineUpdateBody; exports.DTOPropertyDefinitionCreateActionInputV2 = DTOPropertyDefinitionCreateActionInputV2; exports.DTOPropertyDefinitionCreateActionOutputV2 = DTOPropertyDefinitionCreateActionOutputV2; exports.DTOPropertyDefinitionDeleteActionInputV2 = DTOPropertyDefinitionDeleteActionInputV2; exports.DTOPropertyDefinitionDeleteActionOutputV2 = DTOPropertyDefinitionDeleteActionOutputV2; exports.DTOPropertyDefinitionUpdateActionInputV2 = DTOPropertyDefinitionUpdateActionInputV2; exports.DTOPropertyDefinitionUpdateActionOutputV2 = DTOPropertyDefinitionUpdateActionOutputV2; exports.DTOUpdateDocumentationGroupInput = DTOUpdateDocumentationGroupInput; exports.DTOUpdateDocumentationPageInputV2 = DTOUpdateDocumentationPageInputV2; exports.DTOUpdateElementPropertyDefinitionInputV2 = DTOUpdateElementPropertyDefinitionInputV2; exports.DTOUpdateUserNotificationSettingsPayload = DTOUpdateUserNotificationSettingsPayload; exports.DTOUpdateVersionInput = DTOUpdateVersionInput; exports.DTOUserNotificationSettingsResponse = DTOUserNotificationSettingsResponse; exports.DTOUserProfileUpdatePayload = DTOUserProfileUpdatePayload; exports.DTOUserProfileUpdateResponse = DTOUserProfileUpdateResponse; exports.DTOUserWorkspaceMembership = DTOUserWorkspaceMembership; exports.DTOUserWorkspaceMembershipsResponse = DTOUserWorkspaceMembershipsResponse; exports.DTOWorkspace = DTOWorkspace; exports.DTOWorkspaceIntegrationGetGitObjectsInput = DTOWorkspaceIntegrationGetGitObjectsInput; exports.DTOWorkspaceIntegrationOauthInput = DTOWorkspaceIntegrationOauthInput; exports.DTOWorkspaceIntegrationPATInput = DTOWorkspaceIntegrationPATInput; exports.DTOWorkspaceRole = DTOWorkspaceRole; exports.DocumentationHierarchySettings = DocumentationHierarchySettings; exports.DocumentationPageEditorModel = DocumentationPageEditorModel; exports.DocumentationPageV1DTO = DocumentationPageV1DTO; exports.FrontendVersionRoomYDoc = FrontendVersionRoomYDoc; exports.ListTreeBuilder = ListTreeBuilder; exports.NpmRegistryInput = NpmRegistryInput; exports.ObjectMeta = ObjectMeta2; exports.PageBlockEditorModel = PageBlockEditorModel; exports.PageSectionEditorModel = PageSectionEditorModel; exports.VersionRoomBaseYDoc = VersionRoomBaseYDoc; exports.VersionSQSPayload = VersionSQSPayload; exports.WorkspaceConfigurationPayload = WorkspaceConfigurationPayload; exports.applyPrivacyConfigurationToNestedItems = applyPrivacyConfigurationToNestedItems; exports.blockToProsemirrorNode = blockToProsemirrorNode; exports.buildDocPagePublishPaths = buildDocPagePublishPaths; exports.calculateElementParentChain = calculateElementParentChain; exports.documentationItemConfigurationToDTOV1 = documentationItemConfigurationToDTOV1; exports.documentationItemConfigurationToDTOV2 = documentationItemConfigurationToDTOV2; exports.documentationPageToDTOV2 = documentationPageToDTOV2; exports.documentationPagesFixedConfigurationToDTOV1 = documentationPagesFixedConfigurationToDTOV1; exports.documentationPagesFixedConfigurationToDTOV2 = documentationPagesFixedConfigurationToDTOV2; exports.documentationPagesToDTOV1 = documentationPagesToDTOV1; exports.documentationPagesToDTOV2 = documentationPagesToDTOV2; exports.elementGroupsToDocumentationGroupDTOV1 = elementGroupsToDocumentationGroupDTOV1; exports.elementGroupsToDocumentationGroupDTOV2 = elementGroupsToDocumentationGroupDTOV2; exports.elementGroupsToDocumentationGroupFixedConfigurationDTOV1 = elementGroupsToDocumentationGroupFixedConfigurationDTOV1; exports.elementGroupsToDocumentationGroupFixedConfigurationDTOV2 = elementGroupsToDocumentationGroupFixedConfigurationDTOV2; exports.elementGroupsToDocumentationGroupStructureDTOV1 = elementGroupsToDocumentationGroupStructureDTOV1; exports.generateHash = generateHash; exports.generatePageContentHash = generatePageContentHash; exports.getDtoDefaultItemConfigurationV1 = getDtoDefaultItemConfigurationV1; exports.getDtoDefaultItemConfigurationV2 = getDtoDefaultItemConfigurationV2; exports.getMockPageBlockDefinitions = getMockPageBlockDefinitions; exports.gitBranchToDto = gitBranchToDto; exports.gitOrganizationToDto = gitOrganizationToDto; exports.gitProjectToDto = gitProjectToDto; exports.gitRepositoryToDto = gitRepositoryToDto; exports.integrationCredentialToDto = integrationCredentialToDto; exports.integrationToDto = integrationToDto; exports.itemConfigurationToYjs = itemConfigurationToYjs; exports.pageToProsemirrorDoc = pageToProsemirrorDoc; exports.pageToYXmlFragment = pageToYXmlFragment; exports.pipelineToDto = pipelineToDto; exports.pmSchema = pmSchema; exports.prosemirrorDocToPage = prosemirrorDocToPage; exports.prosemirrorNodeToSection = prosemirrorNodeToSection; exports.prosemirrorNodesToBlocks = prosemirrorNodesToBlocks; exports.serializeAsCustomBlock = serializeAsCustomBlock; exports.shallowProsemirrorNodeToBlock = shallowProsemirrorNodeToBlock; exports.validateDesignSystemVersion = validateDesignSystemVersion; exports.validateSsoPayload = validateSsoPayload; exports.yDocToPage = yDocToPage; exports.yXmlFragmentToPage = yXmlFragmentToPage; exports.yjsToDocumentationHierarchy = yjsToDocumentationHierarchy; exports.yjsToItemConfiguration = yjsToItemConfiguration;
10074
+
10075
+
10076
+
10077
+
10078
+ exports.BackendVersionRoomYDoc = BackendVersionRoomYDoc; exports.BlockDefinitionUtils = BlockDefinitionUtils; exports.BlockParsingUtils = BlockParsingUtils; exports.DTOAssetRenderConfiguration = DTOAssetRenderConfiguration; exports.DTOBrand = DTOBrand; exports.DTOBrandCreateResponse = DTOBrandCreateResponse; exports.DTOBrandGetResponse = DTOBrandGetResponse; exports.DTOBrandsListResponse = DTOBrandsListResponse; exports.DTOCreateBrandInput = DTOCreateBrandInput; exports.DTOCreateDocumentationGroupInput = DTOCreateDocumentationGroupInput; exports.DTOCreateDocumentationPageInputV2 = DTOCreateDocumentationPageInputV2; exports.DTOCreateDocumentationTabInput = DTOCreateDocumentationTabInput; exports.DTOCreateElementPropertyDefinitionInputV2 = DTOCreateElementPropertyDefinitionInputV2; exports.DTOCreateVersionInput = DTOCreateVersionInput; exports.DTODataSource = DTODataSource; exports.DTODataSourceCreationResponse = DTODataSourceCreationResponse; exports.DTODataSourceFigma = DTODataSourceFigma; exports.DTODataSourceFigmaCloud = DTODataSourceFigmaCloud; exports.DTODataSourceFigmaVariablesPlugin = DTODataSourceFigmaVariablesPlugin; exports.DTODataSourceTokenStudio = DTODataSourceTokenStudio; exports.DTODataSourcesListResponse = DTODataSourcesListResponse; exports.DTODeleteDocumentationGroupInput = DTODeleteDocumentationGroupInput; exports.DTODeleteDocumentationPageInputV2 = DTODeleteDocumentationPageInputV2; exports.DTODeleteDocumentationTabGroupInput = DTODeleteDocumentationTabGroupInput; exports.DTODeleteElementPropertyDefinitionInputV2 = DTODeleteElementPropertyDefinitionInputV2; exports.DTODesignSystem = DTODesignSystem; exports.DTODesignSystemVersion = DTODesignSystemVersion; exports.DTODesignSystemVersionCreationResponse = DTODesignSystemVersionCreationResponse; exports.DTODesignSystemVersionGetResponse = DTODesignSystemVersionGetResponse; exports.DTODesignSystemVersionJobStatusResponse = DTODesignSystemVersionJobStatusResponse; exports.DTODesignSystemVersionJobsResponse = DTODesignSystemVersionJobsResponse; exports.DTODesignSystemVersionsListResponse = DTODesignSystemVersionsListResponse; exports.DTODocumentationDraftChangeType = DTODocumentationDraftChangeType; exports.DTODocumentationDraftState = DTODocumentationDraftState; exports.DTODocumentationDraftStateCreated = DTODocumentationDraftStateCreated; exports.DTODocumentationDraftStateDeleted = DTODocumentationDraftStateDeleted; exports.DTODocumentationDraftStateUpdated = DTODocumentationDraftStateUpdated; exports.DTODocumentationGroupCreateActionInputV2 = DTODocumentationGroupCreateActionInputV2; exports.DTODocumentationGroupCreateActionOutputV2 = DTODocumentationGroupCreateActionOutputV2; exports.DTODocumentationGroupDeleteActionInputV2 = DTODocumentationGroupDeleteActionInputV2; exports.DTODocumentationGroupDeleteActionOutputV2 = DTODocumentationGroupDeleteActionOutputV2; exports.DTODocumentationGroupDuplicateActionInputV2 = DTODocumentationGroupDuplicateActionInputV2; exports.DTODocumentationGroupDuplicateActionOutputV2 = DTODocumentationGroupDuplicateActionOutputV2; exports.DTODocumentationGroupMoveActionInputV2 = DTODocumentationGroupMoveActionInputV2; exports.DTODocumentationGroupMoveActionOutputV2 = DTODocumentationGroupMoveActionOutputV2; exports.DTODocumentationGroupStructureV1 = DTODocumentationGroupStructureV1; exports.DTODocumentationGroupUpdateActionInputV2 = DTODocumentationGroupUpdateActionInputV2; exports.DTODocumentationGroupUpdateActionOutputV2 = DTODocumentationGroupUpdateActionOutputV2; exports.DTODocumentationGroupV1 = DTODocumentationGroupV1; exports.DTODocumentationGroupV2 = DTODocumentationGroupV2; exports.DTODocumentationHierarchyV2 = DTODocumentationHierarchyV2; exports.DTODocumentationItemConfigurationV1 = DTODocumentationItemConfigurationV1; exports.DTODocumentationItemConfigurationV2 = DTODocumentationItemConfigurationV2; exports.DTODocumentationItemHeaderV2 = DTODocumentationItemHeaderV2; exports.DTODocumentationLinkPreviewRequest = DTODocumentationLinkPreviewRequest; exports.DTODocumentationLinkPreviewResponse = DTODocumentationLinkPreviewResponse; exports.DTODocumentationPageAnchor = DTODocumentationPageAnchor; exports.DTODocumentationPageContent = DTODocumentationPageContent; exports.DTODocumentationPageContentGetResponse = DTODocumentationPageContentGetResponse; exports.DTODocumentationPageCreateActionInputV2 = DTODocumentationPageCreateActionInputV2; exports.DTODocumentationPageCreateActionOutputV2 = DTODocumentationPageCreateActionOutputV2; exports.DTODocumentationPageDeleteActionInputV2 = DTODocumentationPageDeleteActionInputV2; exports.DTODocumentationPageDeleteActionOutputV2 = DTODocumentationPageDeleteActionOutputV2; exports.DTODocumentationPageDuplicateActionInputV2 = DTODocumentationPageDuplicateActionInputV2; exports.DTODocumentationPageDuplicateActionOutputV2 = DTODocumentationPageDuplicateActionOutputV2; exports.DTODocumentationPageMoveActionInputV2 = DTODocumentationPageMoveActionInputV2; exports.DTODocumentationPageMoveActionOutputV2 = DTODocumentationPageMoveActionOutputV2; exports.DTODocumentationPageRoomHeaderData = DTODocumentationPageRoomHeaderData; exports.DTODocumentationPageRoomHeaderDataUpdate = DTODocumentationPageRoomHeaderDataUpdate; exports.DTODocumentationPageSnapshot = DTODocumentationPageSnapshot; exports.DTODocumentationPageUpdateActionInputV2 = DTODocumentationPageUpdateActionInputV2; exports.DTODocumentationPageUpdateActionOutputV2 = DTODocumentationPageUpdateActionOutputV2; exports.DTODocumentationPageV2 = DTODocumentationPageV2; exports.DTODocumentationTabCreateActionInputV2 = DTODocumentationTabCreateActionInputV2; exports.DTODocumentationTabCreateActionOutputV2 = DTODocumentationTabCreateActionOutputV2; exports.DTODocumentationTabGroupDeleteActionInputV2 = DTODocumentationTabGroupDeleteActionInputV2; exports.DTODocumentationTabGroupDeleteActionOutputV2 = DTODocumentationTabGroupDeleteActionOutputV2; exports.DTODownloadAssetsRequest = DTODownloadAssetsRequest; exports.DTODownloadAssetsResponse = DTODownloadAssetsResponse; exports.DTODuplicateDocumentationGroupInput = DTODuplicateDocumentationGroupInput; exports.DTODuplicateDocumentationPageInputV2 = DTODuplicateDocumentationPageInputV2; exports.DTOElementActionInput = DTOElementActionInput; exports.DTOElementActionOutput = DTOElementActionOutput; exports.DTOElementPropertyDefinition = DTOElementPropertyDefinition; exports.DTOElementPropertyDefinitionsGetResponse = DTOElementPropertyDefinitionsGetResponse; exports.DTOElementPropertyValue = DTOElementPropertyValue; exports.DTOElementPropertyValuesGetResponse = DTOElementPropertyValuesGetResponse; exports.DTOElementView = DTOElementView; exports.DTOElementViewBasePropertyColumn = DTOElementViewBasePropertyColumn; exports.DTOElementViewColumn = DTOElementViewColumn; exports.DTOElementViewColumnSharedAttributes = DTOElementViewColumnSharedAttributes; exports.DTOElementViewPropertyDefinitionColumn = DTOElementViewPropertyDefinitionColumn; exports.DTOElementViewThemeColumn = DTOElementViewThemeColumn; exports.DTOElementViewsListResponse = DTOElementViewsListResponse; exports.DTOElementsGetOutput = DTOElementsGetOutput; exports.DTOElementsGetQuerySchema = DTOElementsGetQuerySchema; exports.DTOElementsGetTypeFilter = DTOElementsGetTypeFilter; exports.DTOExportJob = DTOExportJob; exports.DTOExportJobCreatedBy = DTOExportJobCreatedBy; exports.DTOExportJobDesignSystemPreview = DTOExportJobDesignSystemPreview; exports.DTOExportJobDesignSystemVersionPreview = DTOExportJobDesignSystemVersionPreview; exports.DTOExportJobDestinations = DTOExportJobDestinations; exports.DTOExportJobResponse = DTOExportJobResponse; exports.DTOExporter = DTOExporter; exports.DTOExporterCreateInput = DTOExporterCreateInput; exports.DTOExporterCreateOutput = DTOExporterCreateOutput; exports.DTOExporterGitProviderEnum = DTOExporterGitProviderEnum; exports.DTOExporterMembership = DTOExporterMembership; exports.DTOExporterMembershipRole = DTOExporterMembershipRole; exports.DTOExporterProperty = DTOExporterProperty; exports.DTOExporterPropertyListResponse = DTOExporterPropertyListResponse; exports.DTOExporterSource = DTOExporterSource; exports.DTOExporterType = DTOExporterType; exports.DTOExporterUpdateInput = DTOExporterUpdateInput; exports.DTOFigmaNode = DTOFigmaNode; exports.DTOFigmaNodeData = DTOFigmaNodeData; exports.DTOFigmaNodeOrigin = DTOFigmaNodeOrigin; exports.DTOFigmaNodeRenderActionInput = DTOFigmaNodeRenderActionInput; exports.DTOFigmaNodeRenderActionOutput = DTOFigmaNodeRenderActionOutput; exports.DTOFigmaNodeRenderInput = DTOFigmaNodeRenderInput; exports.DTOGetBlockDefinitionsOutput = DTOGetBlockDefinitionsOutput; exports.DTOGetDocumentationPageAnchorsResponse = DTOGetDocumentationPageAnchorsResponse; exports.DTOGitBranch = DTOGitBranch; exports.DTOGitOrganization = DTOGitOrganization; exports.DTOGitProject = DTOGitProject; exports.DTOGitRepository = DTOGitRepository; exports.DTOIntegration = DTOIntegration; exports.DTOIntegrationCredentials = DTOIntegrationCredentials; exports.DTOIntegrationOAuthGetResponse = DTOIntegrationOAuthGetResponse; exports.DTOIntegrationPostResponse = DTOIntegrationPostResponse; exports.DTOIntegrationsGetListResponse = DTOIntegrationsGetListResponse; exports.DTOLiveblocksAuthRequest = DTOLiveblocksAuthRequest; exports.DTOLiveblocksAuthResponse = DTOLiveblocksAuthResponse; exports.DTOMoveDocumentationGroupInput = DTOMoveDocumentationGroupInput; exports.DTOMoveDocumentationPageInputV2 = DTOMoveDocumentationPageInputV2; exports.DTONpmRegistryConfig = DTONpmRegistryConfig; exports.DTONpmRegistryConfigConstants = DTONpmRegistryConfigConstants; exports.DTOPipeline = DTOPipeline; exports.DTOPipelineCreateBody = DTOPipelineCreateBody; exports.DTOPipelineTriggerBody = DTOPipelineTriggerBody; exports.DTOPipelineUpdateBody = DTOPipelineUpdateBody; exports.DTOPropertyDefinitionCreateActionInputV2 = DTOPropertyDefinitionCreateActionInputV2; exports.DTOPropertyDefinitionCreateActionOutputV2 = DTOPropertyDefinitionCreateActionOutputV2; exports.DTOPropertyDefinitionDeleteActionInputV2 = DTOPropertyDefinitionDeleteActionInputV2; exports.DTOPropertyDefinitionDeleteActionOutputV2 = DTOPropertyDefinitionDeleteActionOutputV2; exports.DTOPropertyDefinitionUpdateActionInputV2 = DTOPropertyDefinitionUpdateActionInputV2; exports.DTOPropertyDefinitionUpdateActionOutputV2 = DTOPropertyDefinitionUpdateActionOutputV2; exports.DTORenderedAssetFile = DTORenderedAssetFile; exports.DTOUpdateDocumentationGroupInput = DTOUpdateDocumentationGroupInput; exports.DTOUpdateDocumentationPageInputV2 = DTOUpdateDocumentationPageInputV2; exports.DTOUpdateElementPropertyDefinitionInputV2 = DTOUpdateElementPropertyDefinitionInputV2; exports.DTOUpdateUserNotificationSettingsPayload = DTOUpdateUserNotificationSettingsPayload; exports.DTOUpdateVersionInput = DTOUpdateVersionInput; exports.DTOUserNotificationSettingsResponse = DTOUserNotificationSettingsResponse; exports.DTOUserProfileUpdatePayload = DTOUserProfileUpdatePayload; exports.DTOUserProfileUpdateResponse = DTOUserProfileUpdateResponse; exports.DTOUserWorkspaceMembership = DTOUserWorkspaceMembership; exports.DTOUserWorkspaceMembershipsResponse = DTOUserWorkspaceMembershipsResponse; exports.DTOWorkspace = DTOWorkspace; exports.DTOWorkspaceIntegrationGetGitObjectsInput = DTOWorkspaceIntegrationGetGitObjectsInput; exports.DTOWorkspaceIntegrationOauthInput = DTOWorkspaceIntegrationOauthInput; exports.DTOWorkspaceIntegrationPATInput = DTOWorkspaceIntegrationPATInput; exports.DTOWorkspaceRole = DTOWorkspaceRole; exports.DocumentationHierarchySettings = DocumentationHierarchySettings; exports.DocumentationPageEditorModel = DocumentationPageEditorModel; exports.DocumentationPageV1DTO = DocumentationPageV1DTO; exports.FrontendVersionRoomYDoc = FrontendVersionRoomYDoc; exports.ListTreeBuilder = ListTreeBuilder; exports.NpmRegistryInput = NpmRegistryInput; exports.ObjectMeta = ObjectMeta2; exports.PageBlockEditorModel = PageBlockEditorModel; exports.PageSectionEditorModel = PageSectionEditorModel; exports.VersionRoomBaseYDoc = VersionRoomBaseYDoc; exports.VersionSQSPayload = VersionSQSPayload; exports.WorkspaceConfigurationPayload = WorkspaceConfigurationPayload; exports.applyPrivacyConfigurationToNestedItems = applyPrivacyConfigurationToNestedItems; exports.blockToProsemirrorNode = blockToProsemirrorNode; exports.buildDocPagePublishPaths = buildDocPagePublishPaths; exports.calculateElementParentChain = calculateElementParentChain; exports.documentationItemConfigurationToDTOV1 = documentationItemConfigurationToDTOV1; exports.documentationItemConfigurationToDTOV2 = documentationItemConfigurationToDTOV2; exports.documentationPageToDTOV2 = documentationPageToDTOV2; exports.documentationPagesFixedConfigurationToDTOV1 = documentationPagesFixedConfigurationToDTOV1; exports.documentationPagesFixedConfigurationToDTOV2 = documentationPagesFixedConfigurationToDTOV2; exports.documentationPagesToDTOV1 = documentationPagesToDTOV1; exports.documentationPagesToDTOV2 = documentationPagesToDTOV2; exports.elementGroupsToDocumentationGroupDTOV1 = elementGroupsToDocumentationGroupDTOV1; exports.elementGroupsToDocumentationGroupDTOV2 = elementGroupsToDocumentationGroupDTOV2; exports.elementGroupsToDocumentationGroupFixedConfigurationDTOV1 = elementGroupsToDocumentationGroupFixedConfigurationDTOV1; exports.elementGroupsToDocumentationGroupFixedConfigurationDTOV2 = elementGroupsToDocumentationGroupFixedConfigurationDTOV2; exports.elementGroupsToDocumentationGroupStructureDTOV1 = elementGroupsToDocumentationGroupStructureDTOV1; exports.generateHash = generateHash; exports.generatePageContentHash = generatePageContentHash; exports.getDtoDefaultItemConfigurationV1 = getDtoDefaultItemConfigurationV1; exports.getDtoDefaultItemConfigurationV2 = getDtoDefaultItemConfigurationV2; exports.getMockPageBlockDefinitions = getMockPageBlockDefinitions; exports.gitBranchToDto = gitBranchToDto; exports.gitOrganizationToDto = gitOrganizationToDto; exports.gitProjectToDto = gitProjectToDto; exports.gitRepositoryToDto = gitRepositoryToDto; exports.integrationCredentialToDto = integrationCredentialToDto; exports.integrationToDto = integrationToDto; exports.itemConfigurationToYjs = itemConfigurationToYjs; exports.pageToProsemirrorDoc = pageToProsemirrorDoc; exports.pageToYXmlFragment = pageToYXmlFragment; exports.pipelineToDto = pipelineToDto; exports.pmSchema = pmSchema; exports.prosemirrorDocToPage = prosemirrorDocToPage; exports.prosemirrorNodeToSection = prosemirrorNodeToSection; exports.prosemirrorNodesToBlocks = prosemirrorNodesToBlocks; exports.serializeAsCustomBlock = serializeAsCustomBlock; exports.shallowProsemirrorNodeToBlock = shallowProsemirrorNodeToBlock; exports.validateDesignSystemVersion = validateDesignSystemVersion; exports.validateSsoPayload = validateSsoPayload; exports.yDocToPage = yDocToPage; exports.yXmlFragmentToPage = yXmlFragmentToPage; exports.yjsToDocumentationHierarchy = yjsToDocumentationHierarchy; exports.yjsToItemConfiguration = yjsToItemConfiguration;
10038
10079
  //# sourceMappingURL=index.js.map