@uniformdev/canvas 20.63.0 → 20.63.1-alpha.17

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.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { ApiClient, ExceptProject, ClientOptions, ApiClientError } from '@uniformdev/context/api';
1
+ import { ApiClient, ClientOptions, ExceptProject, ApiClientError } from '@uniformdev/context/api';
2
2
  export { ApiClientError } from '@uniformdev/context/api';
3
3
  import { AssetGetResponseSingle, AssetDefinitionType, AssetParamValue, AssetParamValueItem } from '@uniformdev/assets';
4
4
  export { AssetParamValue, AssetParamValueItem } from '@uniformdev/assets';
@@ -6,7 +6,7 @@ import { EndpointOut, EndpointHeadersOut, EndpointTransformationOut } from 'svix
6
6
  import { Quirks, StorageCommands, PersonalizedVariant, VariationMatchMetadata, TestVariant } from '@uniformdev/context';
7
7
  import { Options as Options$1 } from 'p-retry';
8
8
  import { Options } from 'p-throttle';
9
- import { RichTextBuiltInFormat as RichTextBuiltInFormat$1, RichTextBuiltInElement as RichTextBuiltInElement$1, RichTextParamConfiguration as RichTextParamConfiguration$1, ParameterRichTextValue } from '@uniformdev/richtext';
9
+ import { RichTextBuiltInElement as RichTextBuiltInElement$1, RichTextBuiltInFormat as RichTextBuiltInFormat$1, RichTextParamConfiguration as RichTextParamConfiguration$1, ParameterRichTextValue } from '@uniformdev/richtext';
10
10
 
11
11
  interface paths$n {
12
12
  "/api/v1/canvas-definitions": {
@@ -1582,6 +1582,76 @@ interface components$q {
1582
1582
  pathItems: never;
1583
1583
  }
1584
1584
 
1585
+ /**
1586
+ * Data projection wire grammar (`select.*` query parameters) and shared spec
1587
+ * type used by every consumer of projections: API serializers (SDK clients),
1588
+ * the origin pruner (lib/canvas-sdk applyProjection), and localize (for the
1589
+ * representation-modifier operator `fields[locales]`).
1590
+ *
1591
+ * Wire grammar (mirrors `filters.*`):
1592
+ *
1593
+ * select.fields[only]=name,seo_*
1594
+ * select.fields[except]=internalNote
1595
+ * select.fields[only]= // strip every field
1596
+ * select.fields[except]=* // strip every field (wildcard form)
1597
+ * select.fields[locales]=slug,seo_*
1598
+ * select.fieldTypes[only]=text,number
1599
+ * select.fieldTypes[except]=richText
1600
+ * select.slots[only]=hero
1601
+ * select.slots[except]=footer
1602
+ * select.slots[depth]=2
1603
+ * select.slots.<name>[depth]=1
1604
+ */
1605
+ /**
1606
+ * Prefix used by every `select.*` query parameter on the wire. Exported so
1607
+ * downstream prefix scans (lambda validator, edge search-param reader,
1608
+ * origin handler short-circuits) and key builders don't hand-roll the
1609
+ * literal at every call site.
1610
+ */
1611
+ declare const SELECT_QUERY_PREFIX = "select.";
1612
+ type FieldsProjection = {
1613
+ /** Include only fields whose name matches one of these patterns. */
1614
+ only?: string[];
1615
+ /** Exclude fields whose name matches one of these patterns. */
1616
+ except?: string[];
1617
+ /**
1618
+ * Field-name patterns whose value should retain its full per-locale map
1619
+ * (`locales` / `localesConditions`) after `localize` runs. Representation
1620
+ * modifier; the pruner ignores this — see lib/canvas-sdk applyProjection.
1621
+ */
1622
+ locales?: string[];
1623
+ };
1624
+ type FieldTypesProjection = {
1625
+ /** Include only fields whose `type` matches one of these patterns. */
1626
+ only?: string[];
1627
+ /** Exclude fields whose `type` matches one of these patterns. */
1628
+ except?: string[];
1629
+ };
1630
+ type SlotsProjection = {
1631
+ /** Include only slots whose name matches one of these patterns. */
1632
+ only?: string[];
1633
+ /** Exclude slots whose name matches one of these patterns. */
1634
+ except?: string[];
1635
+ /**
1636
+ * Container-wide recursion-depth cap counted in slot levels from the root.
1637
+ * 0 means "no slots at all on the root"; 1 means "root's own slots but no
1638
+ * grandchildren slots". Per-name depth (see `named`) overrides this for
1639
+ * its specific slot.
1640
+ */
1641
+ depth?: number;
1642
+ /** Per-slot depth caps. Keyed by slot name. */
1643
+ named?: {
1644
+ [slotName: string]: {
1645
+ depth?: number;
1646
+ };
1647
+ };
1648
+ };
1649
+ type ProjectionSpec = {
1650
+ fields?: FieldsProjection;
1651
+ fieldTypes?: FieldTypesProjection;
1652
+ slots?: SlotsProjection;
1653
+ };
1654
+
1585
1655
  interface paths$m {
1586
1656
  "/api/v1/categories": {
1587
1657
  parameters: {
@@ -1907,6 +1977,8 @@ declare const ASSET_PARAMETER_TYPE = "asset";
1907
1977
  declare const ASSETS_SOURCE_UNIFORM = "uniform-assets";
1908
1978
  /** The _source for any assets which have manually set fields */
1909
1979
  declare const ASSETS_SOURCE_CUSTOM_URL = "custom-url";
1980
+ /** The data type ID for internal content references (entry-to-entry relationships) */
1981
+ declare const REFERENCE_DATA_TYPE_ID = "uniformContentInternalReference";
1910
1982
 
1911
1983
  interface components$o {
1912
1984
  schemas: {
@@ -2560,9 +2632,10 @@ interface components$o {
2560
2632
  skipParameterResolution: boolean;
2561
2633
  /** @description Matches entries based on whether they are pattern entries or regular entries.
2562
2634
  * If true, only pattern entries will be returned.
2563
- * If false (default), only regular entries will be returned
2635
+ * If false (default), only regular entries will be returned.
2636
+ * If 'any', both pattern and regular entries will be returned (useful for ID lookups).
2564
2637
  * */
2565
- pattern: boolean;
2638
+ pattern: boolean | "any";
2566
2639
  /** @description One or more locales to filter and localize by.
2567
2640
  * Only entries that enable one of the specified locales _or enable no locales_ will be returned.
2568
2641
  * The response will be localized to include only the first matching locale's data.
@@ -2584,10 +2657,21 @@ interface components$o {
2584
2657
  * */
2585
2658
  releaseId: string;
2586
2659
  /** @description Search on textual fields of an entry.
2587
- * Note: for long text fields the tail of the text is not guaranteed to be searchable.
2660
+ * Matches against fully rendered content including resolved pattern content.
2661
+ * Use this for "where does this content appear" queries.
2662
+ * Note: For long text fields, the tail of the text is not guaranteed to be searchable.
2588
2663
  * Example: ?search=hello
2589
2664
  * */
2590
2665
  search: string;
2666
+ /**
2667
+ * @deprecated
2668
+ * @description BETA: Semantic search using vector similarity to find content by meaning.
2669
+ * Matches against source content only - pattern base content matches the pattern itself, not consumers.
2670
+ * Use this for "where is this content defined" queries.
2671
+ * Requires AI credits.
2672
+ *
2673
+ */
2674
+ searchSemantic: string;
2591
2675
  /** @description Controls the edition resolution behavior.
2592
2676
  *
2593
2677
  * auto: (default) Editions are evaluated automatically and the best matching edition is returned.
@@ -2955,6 +3039,13 @@ interface paths$k {
2955
3039
  path?: never;
2956
3040
  cookie?: never;
2957
3041
  };
3042
+ /** @description In addition to the named parameters below, this endpoint accepts the
3043
+ * following query parameter conventions which are pattern-validated and
3044
+ * therefore not declared as named parameters:
3045
+ *
3046
+ * * `filters.<field>[<op>]` — content filtering. See product docs for the supported field / operator combinations.
3047
+ * * `select.<bucket>[<op>]` — data projection. See product docs for available syntax.
3048
+ * */
2958
3049
  get: {
2959
3050
  parameters: {
2960
3051
  query: {
@@ -2987,7 +3078,8 @@ interface paths$k {
2987
3078
  facetBy?: components$m["parameters"]["facetBy"];
2988
3079
  /** @description Matches entries based on whether they are pattern entries or regular entries.
2989
3080
  * If true, only pattern entries will be returned.
2990
- * If false (default), only regular entries will be returned
3081
+ * If false (default), only regular entries will be returned.
3082
+ * If 'any', both pattern and regular entries will be returned (useful for ID lookups).
2991
3083
  * */
2992
3084
  pattern?: components$m["parameters"]["pattern"];
2993
3085
  /** @description The project the entry/entries are on */
@@ -3063,10 +3155,21 @@ interface paths$k {
3063
3155
  * */
3064
3156
  releaseId?: components$m["parameters"]["releaseId"];
3065
3157
  /** @description Search on textual fields of an entry.
3066
- * Note: for long text fields the tail of the text is not guaranteed to be searchable.
3158
+ * Matches against fully rendered content including resolved pattern content.
3159
+ * Use this for "where does this content appear" queries.
3160
+ * Note: For long text fields, the tail of the text is not guaranteed to be searchable.
3067
3161
  * Example: ?search=hello
3068
3162
  * */
3069
3163
  search?: components$m["parameters"]["search"];
3164
+ /**
3165
+ * @deprecated
3166
+ * @description BETA: Semantic search using vector similarity to find content by meaning.
3167
+ * Matches against source content only - pattern base content matches the pattern itself, not consumers.
3168
+ * Use this for "where is this content defined" queries.
3169
+ * Requires AI credits.
3170
+ *
3171
+ */
3172
+ searchSemantic?: components$m["parameters"]["searchSemantic"];
3070
3173
  /** @description Controls the edition resolution behavior.
3071
3174
  *
3072
3175
  * auto: (default) Editions are evaluated automatically and the best matching edition is returned.
@@ -3932,9 +4035,10 @@ interface components$m {
3932
4035
  facetBy: string;
3933
4036
  /** @description Matches entries based on whether they are pattern entries or regular entries.
3934
4037
  * If true, only pattern entries will be returned.
3935
- * If false (default), only regular entries will be returned
4038
+ * If false (default), only regular entries will be returned.
4039
+ * If 'any', both pattern and regular entries will be returned (useful for ID lookups).
3936
4040
  * */
3937
- pattern: boolean;
4041
+ pattern: boolean | "any";
3938
4042
  /** @description The project the entry/entries are on */
3939
4043
  projectId: string;
3940
4044
  /** @description Publishing state to fetch. 0 = draft, 64 = published */
@@ -4008,10 +4112,21 @@ interface components$m {
4008
4112
  * */
4009
4113
  releaseId: string;
4010
4114
  /** @description Search on textual fields of an entry.
4011
- * Note: for long text fields the tail of the text is not guaranteed to be searchable.
4115
+ * Matches against fully rendered content including resolved pattern content.
4116
+ * Use this for "where does this content appear" queries.
4117
+ * Note: For long text fields, the tail of the text is not guaranteed to be searchable.
4012
4118
  * Example: ?search=hello
4013
4119
  * */
4014
4120
  search: string;
4121
+ /**
4122
+ * @deprecated
4123
+ * @description BETA: Semantic search using vector similarity to find content by meaning.
4124
+ * Matches against source content only - pattern base content matches the pattern itself, not consumers.
4125
+ * Use this for "where is this content defined" queries.
4126
+ * Requires AI credits.
4127
+ *
4128
+ */
4129
+ searchSemantic: string;
4015
4130
  /** @description Controls the edition resolution behavior.
4016
4131
  *
4017
4132
  * auto: (default) Editions are evaluated automatically and the best matching edition is returned.
@@ -5133,13 +5248,21 @@ interface paths$e {
5133
5248
  get: {
5134
5249
  parameters: {
5135
5250
  query: {
5251
+ /** @description The project ID to get labels for */
5136
5252
  projectId: string;
5253
+ /** @description Number of records to skip */
5137
5254
  offset?: number | null;
5255
+ /** @description Maximum number of records to return */
5138
5256
  limit?: number;
5257
+ /** @description Comma-separated list of label public IDs */
5139
5258
  labelIds?: string;
5259
+ /** @description Public ID of the parent group label */
5140
5260
  groupId?: string;
5261
+ /** @description Filter to only group labels */
5141
5262
  isGroup?: boolean | null;
5263
+ /** @description Filter labels with public ID prefix */
5142
5264
  idPrefix?: string;
5265
+ /** @description Filter labels with display name prefix (case insensitive) */
5143
5266
  namePrefix?: string;
5144
5267
  };
5145
5268
  header?: never;
@@ -5156,7 +5279,6 @@ interface paths$e {
5156
5279
  content: {
5157
5280
  "application/json": {
5158
5281
  labels: {
5159
- /** Format: uuid */
5160
5282
  projectId: string;
5161
5283
  label: {
5162
5284
  /** @description Public ID of the label (cannot be changed after creation) */
@@ -5206,7 +5328,6 @@ interface paths$e {
5206
5328
  requestBody: {
5207
5329
  content: {
5208
5330
  "application/json": {
5209
- /** Format: uuid */
5210
5331
  projectId: string;
5211
5332
  label: {
5212
5333
  /** @description Public ID of the label */
@@ -5255,10 +5376,7 @@ interface paths$e {
5255
5376
  requestBody: {
5256
5377
  content: {
5257
5378
  "application/json": {
5258
- /**
5259
- * Format: uuid
5260
- * @description The project ID
5261
- */
5379
+ /** @description The project ID */
5262
5380
  projectId: string;
5263
5381
  /** @description Public ID of the label to delete */
5264
5382
  labelId: string;
@@ -6325,6 +6443,14 @@ interface paths$c {
6325
6443
  path?: never;
6326
6444
  cookie?: never;
6327
6445
  };
6446
+ /** @description In addition to the named parameters below, this endpoint accepts the
6447
+ * following query parameter conventions which are pattern-validated and
6448
+ * therefore not declared as named parameters:
6449
+ *
6450
+ * * `filters.<field>[<op>]` — content filtering. See product docs for
6451
+ * the supported field / operator combinations.
6452
+ * * `select.<bucket>[<op>]` — data projection. See product docs for available syntax.
6453
+ * */
6328
6454
  get: {
6329
6455
  parameters: {
6330
6456
  query: {
@@ -6377,7 +6503,7 @@ interface paths$c {
6377
6503
  /** @description Matches compositions based on whether they are a pattern composition or a regular composition.
6378
6504
  * If true, only pattern compositions will be returned.
6379
6505
  * If false, only regular compositions will be returned.
6380
- * If omitted, both pattern and regular compositions will be returned.
6506
+ * If omitted or 'any', both pattern and regular compositions will be returned.
6381
6507
  * This is a list query parameter and cannot be used with any primary query parameters
6382
6508
  * */
6383
6509
  pattern?: components$d["parameters"]["pattern"];
@@ -6509,10 +6635,21 @@ interface paths$c {
6509
6635
  * */
6510
6636
  releaseId?: components$d["parameters"]["releaseId"];
6511
6637
  /** @description Search on textual fields of a composition.
6512
- * Note: For long text fields, the tail of the text is not guaranteed to be searchable
6638
+ * Matches against fully rendered content including resolved pattern content.
6639
+ * Use this for "where does this content appear" queries.
6640
+ * Note: For long text fields, the tail of the text is not guaranteed to be searchable.
6513
6641
  * Example: ?search=hello
6514
6642
  * */
6515
6643
  search?: components$d["parameters"]["search"];
6644
+ /**
6645
+ * @deprecated
6646
+ * @description BETA: Semantic search using vector similarity to find content by meaning.
6647
+ * Matches against source content only - pattern base content matches the pattern itself, not consumers.
6648
+ * Use this for "where is this content defined" queries.
6649
+ * Requires AI credits.
6650
+ *
6651
+ */
6652
+ searchSemantic?: components$d["parameters"]["searchSemantic"];
6516
6653
  /** @description Controls the edition resolution behavior.
6517
6654
  *
6518
6655
  * auto: (default) Editions are evaluated automatically and the best matching edition is returned.
@@ -7467,10 +7604,10 @@ interface components$d {
7467
7604
  /** @description Matches compositions based on whether they are a pattern composition or a regular composition.
7468
7605
  * If true, only pattern compositions will be returned.
7469
7606
  * If false, only regular compositions will be returned.
7470
- * If omitted, both pattern and regular compositions will be returned.
7607
+ * If omitted or 'any', both pattern and regular compositions will be returned.
7471
7608
  * This is a list query parameter and cannot be used with any primary query parameters
7472
7609
  * */
7473
- pattern: boolean;
7610
+ pattern: boolean | "any";
7474
7611
  /** @description This specifies which type of patterns to return. This query parameter has no effect when `pattern` is false.
7475
7612
  * * `all` - Returns all pattern instances
7476
7613
  * * `component` - Returns only component patterns
@@ -7557,10 +7694,21 @@ interface components$d {
7557
7694
  * */
7558
7695
  releaseId: string;
7559
7696
  /** @description Search on textual fields of a composition.
7560
- * Note: For long text fields, the tail of the text is not guaranteed to be searchable
7697
+ * Matches against fully rendered content including resolved pattern content.
7698
+ * Use this for "where does this content appear" queries.
7699
+ * Note: For long text fields, the tail of the text is not guaranteed to be searchable.
7561
7700
  * Example: ?search=hello
7562
7701
  * */
7563
7702
  search: string;
7703
+ /**
7704
+ * @deprecated
7705
+ * @description BETA: Semantic search using vector similarity to find content by meaning.
7706
+ * Matches against source content only - pattern base content matches the pattern itself, not consumers.
7707
+ * Use this for "where is this content defined" queries.
7708
+ * Requires AI credits.
7709
+ *
7710
+ */
7711
+ searchSemantic: string;
7564
7712
  /** @description Controls the edition resolution behavior.
7565
7713
  *
7566
7714
  * auto: (default) Editions are evaluated automatically and the best matching edition is returned.
@@ -7594,11 +7742,8 @@ interface paths$b {
7594
7742
  query: {
7595
7743
  /** @description Specify the composition ID to get history for */
7596
7744
  compositionId: string;
7597
- /**
7598
- * @deprecated
7599
- * @description The edition ID. When set, gets history for a child edition of the compositionId.
7600
- *
7601
- */
7745
+ /** @description The edition ID. When set, gets history for a child edition of the compositionId.
7746
+ * */
7602
7747
  editionId?: string;
7603
7748
  /** @description The project the composition(s) are on */
7604
7749
  projectId: string;
@@ -7808,6 +7953,8 @@ interface components$b {
7808
7953
  /** @description Array of status codes for corresponding retries; will be empty for cache hits, Uniform Content data resources and static JSON data resources */
7809
7954
  statusCodes: number[];
7810
7955
  };
7956
+ /** @description Projection descriptor for this data resource fetch. Recorded by the Uniform Content resolver as the serialized `select.*` query string applied to the upstream fetch (empty when no projection was applied) */
7957
+ projection?: string;
7811
7958
  data: unknown;
7812
7959
  };
7813
7960
  /** @description Diagnostic information about request processing, including origin/config/data
@@ -8770,10 +8917,10 @@ interface components$b {
8770
8917
  /** @description Matches compositions based on whether they are a pattern composition or a regular composition.
8771
8918
  * If true, only pattern compositions will be returned.
8772
8919
  * If false, only regular compositions will be returned.
8773
- * If omitted, both pattern and regular compositions will be returned.
8920
+ * If omitted or 'any', both pattern and regular compositions will be returned.
8774
8921
  * This is a list query parameter and cannot be used with any primary query parameters
8775
8922
  * */
8776
- pattern: boolean;
8923
+ pattern: boolean | "any";
8777
8924
  /** @description The project the composition(s) belong to */
8778
8925
  projectId: string;
8779
8926
  /** @description Specify a project map ID to fetch by path or node ID from.
@@ -8868,7 +9015,9 @@ interface components$b {
8868
9015
  * */
8869
9016
  releaseId: string;
8870
9017
  /** @description Search on textual fields of an entry.
8871
- * Note: for long text fields the tail of the text is not guaranteed to be searchable.
9018
+ * Matches against fully rendered content including resolved pattern content.
9019
+ * Use this for "where does this content appear" queries.
9020
+ * Note: For long text fields, the tail of the text is not guaranteed to be searchable.
8872
9021
  * Example: ?search=hello
8873
9022
  * */
8874
9023
  search: string;
@@ -8998,7 +9147,12 @@ interface paths$a {
8998
9147
  path?: never;
8999
9148
  cookie?: never;
9000
9149
  };
9001
- /** @description Fetches the correct response action for a given route (redirection, composition, not found) */
9150
+ /** @description Fetches the correct response action for a given route (redirection, composition, not found).
9151
+ *
9152
+ * In addition to the named parameters below, this endpoint accepts data projection syntax:
9153
+ * `select.<bucket>[<op>]` — See product docs for available syntax.
9154
+ * Projection does not apply to redirect / notFound responses.
9155
+ * */
9002
9156
  get: {
9003
9157
  parameters: {
9004
9158
  query: {
@@ -10401,6 +10555,7 @@ interface paths$9 {
10401
10555
  get: {
10402
10556
  parameters: {
10403
10557
  query: {
10558
+ /** @description The team ID */
10404
10559
  teamId: string;
10405
10560
  };
10406
10561
  header?: never;
@@ -10419,17 +10574,24 @@ interface paths$9 {
10419
10574
  /** @description A map of property types to a map of hook names to integration details */
10420
10575
  propertyEditors: {
10421
10576
  [key: string]: {
10422
- [key: string]: {
10577
+ createAIEdit?: {
10423
10578
  /** @description Internal unique identifier for the editor */
10424
10579
  id: string;
10425
10580
  /** @description The integration type */
10426
10581
  integrationType: string;
10427
10582
  /** @description Whether this is a public integration */
10428
10583
  isPublic: boolean;
10429
- /**
10430
- * Format: uuid
10431
- * @description The team ID for public integrations. Omitted for private integrations.
10432
- */
10584
+ /** @description The team ID for public integrations. Omitted for private integrations. */
10585
+ teamId?: string;
10586
+ };
10587
+ afterAIEdit?: {
10588
+ /** @description Internal unique identifier for the editor */
10589
+ id: string;
10590
+ /** @description The integration type */
10591
+ integrationType: string;
10592
+ /** @description Whether this is a public integration */
10593
+ isPublic: boolean;
10594
+ /** @description The team ID for public integrations. Omitted for private integrations. */
10433
10595
  teamId?: string;
10434
10596
  };
10435
10597
  };
@@ -10462,10 +10624,7 @@ interface paths$9 {
10462
10624
  requestBody: {
10463
10625
  content: {
10464
10626
  "application/json": {
10465
- /**
10466
- * Format: uuid
10467
- * @description The team ID
10468
- */
10627
+ /** @description The team ID */
10469
10628
  teamId: string;
10470
10629
  /** @description The property type to attach the editor to */
10471
10630
  propertyType: string;
@@ -10522,10 +10681,7 @@ interface paths$9 {
10522
10681
  requestBody: {
10523
10682
  content: {
10524
10683
  "application/json": {
10525
- /**
10526
- * Format: uuid
10527
- * @description The team ID
10528
- */
10684
+ /** @description The team ID */
10529
10685
  teamId: string;
10530
10686
  /** @description The property type to remove the editor from */
10531
10687
  propertyType: string;
@@ -10797,7 +10953,6 @@ interface paths$8 {
10797
10953
  content: {
10798
10954
  "application/json": {
10799
10955
  previewUrls: {
10800
- /** Format: uuid */
10801
10956
  id: string;
10802
10957
  name: string;
10803
10958
  url: string;
@@ -10832,9 +10987,7 @@ interface paths$8 {
10832
10987
  requestBody: {
10833
10988
  content: {
10834
10989
  "application/json": {
10835
- /** Format: uuid */
10836
10990
  id?: string;
10837
- /** Format: uuid */
10838
10991
  projectId: string;
10839
10992
  name: string;
10840
10993
  url: string;
@@ -10851,7 +11004,6 @@ interface paths$8 {
10851
11004
  };
10852
11005
  content: {
10853
11006
  "application/json": {
10854
- /** Format: uuid */
10855
11007
  id: string;
10856
11008
  };
10857
11009
  };
@@ -10863,7 +11015,6 @@ interface paths$8 {
10863
11015
  };
10864
11016
  content: {
10865
11017
  "application/json": {
10866
- /** Format: uuid */
10867
11018
  id: string;
10868
11019
  };
10869
11020
  };
@@ -10894,9 +11045,7 @@ interface paths$8 {
10894
11045
  requestBody: {
10895
11046
  content: {
10896
11047
  "application/json": {
10897
- /** Format: uuid */
10898
11048
  id: string;
10899
- /** Format: uuid */
10900
11049
  projectId: string;
10901
11050
  };
10902
11051
  };
@@ -10909,7 +11058,6 @@ interface paths$8 {
10909
11058
  };
10910
11059
  content: {
10911
11060
  "application/json": {
10912
- /** Format: uuid */
10913
11061
  id: string;
10914
11062
  };
10915
11063
  };
@@ -10998,10 +11146,7 @@ interface paths$7 {
10998
11146
  path?: never;
10999
11147
  cookie?: never;
11000
11148
  };
11001
- /**
11002
- * @deprecated
11003
- * @description Gets all preview viewports
11004
- */
11149
+ /** @description Gets all preview viewports */
11005
11150
  get: {
11006
11151
  parameters: {
11007
11152
  query: {
@@ -11022,7 +11167,6 @@ interface paths$7 {
11022
11167
  content: {
11023
11168
  "application/json": {
11024
11169
  previewViewports: {
11025
- /** Format: uuid */
11026
11170
  id: string;
11027
11171
  name: string;
11028
11172
  icon: string;
@@ -11046,10 +11190,7 @@ interface paths$7 {
11046
11190
  500: components$7["responses"]["InternalServerError"];
11047
11191
  };
11048
11192
  };
11049
- /**
11050
- * @deprecated
11051
- * @description Upserts a preview viewport
11052
- */
11193
+ /** @description Upserts a preview viewport */
11053
11194
  put: {
11054
11195
  parameters: {
11055
11196
  query?: never;
@@ -11060,9 +11201,7 @@ interface paths$7 {
11060
11201
  requestBody: {
11061
11202
  content: {
11062
11203
  "application/json": {
11063
- /** Format: uuid */
11064
11204
  id?: string;
11065
- /** Format: uuid */
11066
11205
  projectId: string;
11067
11206
  name: string;
11068
11207
  icon: string;
@@ -11079,7 +11218,6 @@ interface paths$7 {
11079
11218
  };
11080
11219
  content: {
11081
11220
  "application/json": {
11082
- /** Format: uuid */
11083
11221
  id: string;
11084
11222
  };
11085
11223
  };
@@ -11091,7 +11229,6 @@ interface paths$7 {
11091
11229
  };
11092
11230
  content: {
11093
11231
  "application/json": {
11094
- /** Format: uuid */
11095
11232
  id: string;
11096
11233
  };
11097
11234
  };
@@ -11111,10 +11248,7 @@ interface paths$7 {
11111
11248
  };
11112
11249
  };
11113
11250
  post?: never;
11114
- /**
11115
- * @deprecated
11116
- * @description Deletes a preview viewport
11117
- */
11251
+ /** @description Deletes a preview viewport */
11118
11252
  delete: {
11119
11253
  parameters: {
11120
11254
  query?: never;
@@ -11125,9 +11259,7 @@ interface paths$7 {
11125
11259
  requestBody: {
11126
11260
  content: {
11127
11261
  "application/json": {
11128
- /** Format: uuid */
11129
11262
  id: string;
11130
- /** Format: uuid */
11131
11263
  projectId: string;
11132
11264
  };
11133
11265
  };
@@ -11140,7 +11272,6 @@ interface paths$7 {
11140
11272
  };
11141
11273
  content: {
11142
11274
  "application/json": {
11143
- /** Format: uuid */
11144
11275
  id: string;
11145
11276
  };
11146
11277
  };
@@ -11931,7 +12062,6 @@ interface paths$3 {
11931
12062
  path?: never;
11932
12063
  cookie?: never;
11933
12064
  };
11934
- /** @deprecated */
11935
12065
  get: {
11936
12066
  parameters: {
11937
12067
  query: {
@@ -11972,7 +12102,6 @@ interface paths$3 {
11972
12102
  500: components$3["responses"]["InternalServerError"];
11973
12103
  };
11974
12104
  };
11975
- /** @deprecated */
11976
12105
  put: {
11977
12106
  parameters: {
11978
12107
  query?: never;
@@ -12005,7 +12134,6 @@ interface paths$3 {
12005
12134
  };
12006
12135
  };
12007
12136
  post?: never;
12008
- /** @deprecated */
12009
12137
  delete: {
12010
12138
  parameters: {
12011
12139
  query?: never;
@@ -12229,6 +12357,13 @@ declare class CanvasClient extends ApiClient<CanvasClientOptions> {
12229
12357
  /** Fetches lists of Canvas compositions, optionally by type */
12230
12358
  getCompositionList(params?: Omit<CompositionGetParameters, 'projectId' | 'componentId' | 'compositionId' | 'slug'> & {
12231
12359
  filters?: CompositionFilters;
12360
+ /**
12361
+ * Optional data projection. Serialized as `select.*` querystring
12362
+ * parameters mirroring `filters.*`. The API prunes the response tree
12363
+ * before applying any downstream processing (dynamic params, localize,
12364
+ * edge-side data fetches). See `ProjectionSpec`.
12365
+ */
12366
+ select?: ProjectionSpec;
12232
12367
  } & ({
12233
12368
  resolveData: true;
12234
12369
  diagnostics: DataResolutionParameters['diagnostics'];
@@ -12310,6 +12445,11 @@ declare class ContentClient extends ApiClient<ContentClientOptions> {
12310
12445
  getContentTypes(options?: ExceptProject<GetContentTypesOptions>): Promise<GetContentTypesResponse>;
12311
12446
  getEntries(options: ExceptProject<GetEntriesOptions> & DataResolutionParameters & DataResolutionOption & {
12312
12447
  filters?: EntryFilters;
12448
+ /**
12449
+ * Optional data projection. Serialized as `select.*` querystring
12450
+ * parameters mirroring `filters.*`. See `ProjectionSpec`.
12451
+ */
12452
+ select?: ProjectionSpec;
12313
12453
  }): Promise<GetEntriesResponse>;
12314
12454
  /** Fetches historical versions of an entry */
12315
12455
  getEntryHistory(options: ExceptProject<EntriesHistoryGetParameters>): Promise<{
@@ -12574,6 +12714,11 @@ type WalkNodeTreeOptions<TContext> = {
12574
12714
  * When false/unspecified, invalid block values will be ignored and traversal continues through valid data.
12575
12715
  */
12576
12716
  throwForInvalidBlockValues?: boolean;
12717
+ /**
12718
+ * Traversal order: 'dfs' (depth-first, default) or 'bfs' (breadth-first).
12719
+ * DFS visits children before siblings; BFS visits siblings before children.
12720
+ */
12721
+ order?: 'dfs' | 'bfs';
12577
12722
  };
12578
12723
  /** Walks a composition's content tree, visiting each component in a slot or block parameter/field depth-first, in order. */
12579
12724
  declare function walkNodeTree<TContext = unknown>(node: ComponentInstance | EntryData | Array<NodeLocationReference>, visitor: (info: TreeNodeInfoTypes<TContext>) => void, options?: WalkNodeTreeOptions<TContext>): void;
@@ -12615,8 +12760,8 @@ declare function findParameterInNodeTree(data: ComponentInstance | EntryData | A
12615
12760
 
12616
12761
  /** Returns the JSON pointer of a component based on its location */
12617
12762
  declare function getComponentJsonPointer(ancestorsAndSelf: Array<NodeLocationReference>): string;
12618
- declare function getNounForLocation(parentLocation: NodeLocationReference | undefined): "parameters" | "fields";
12619
- declare function getNounForNode(node: ComponentInstance | EntryData | Array<NodeLocationReference>): "parameters" | "fields";
12763
+ declare function getNounForLocation(parentLocation: NodeLocationReference | undefined): "fields" | "parameters";
12764
+ declare function getNounForNode(node: ComponentInstance | EntryData | Array<NodeLocationReference>): "fields" | "parameters";
12620
12765
 
12621
12766
  declare function getComponentPath(ancestorsAndSelf: Array<NodeLocationReference>): string;
12622
12767
 
@@ -12649,6 +12794,14 @@ declare function extractLocales({ component }: {
12649
12794
  type LocalizeOptions = {
12650
12795
  nodes: RootComponentInstance | EntryData;
12651
12796
  locale: string | undefined;
12797
+ /**
12798
+ * Optional predicate. When provided and returns true for a given property
12799
+ * ID, `localize` still sets the per-property `value` to the picked locale
12800
+ * (so default reads keep working) but skips the deletion of the
12801
+ * per-locale maps (`locales` / `localesConditions`), preserving them in
12802
+ * the response.
12803
+ */
12804
+ keepLocalesFor?: (propertyId: string) => boolean;
12652
12805
  };
12653
12806
  /**
12654
12807
  * Localizes a composition or entry that may contain:
@@ -13550,7 +13703,9 @@ interface paths$1 {
13550
13703
  get: {
13551
13704
  parameters: {
13552
13705
  query?: {
13706
+ /** @description If provided, only return the specified team and its projects. If omitted, return all accessible teams. */
13553
13707
  teamId?: string;
13708
+ /** @description Sort order for projects within each team. Defaults to name_ASC. */
13554
13709
  orderBy?: "name_ASC" | "name_DESC" | "createdAt_ASC" | "createdAt_DESC";
13555
13710
  };
13556
13711
  header?: never;
@@ -13567,17 +13722,14 @@ interface paths$1 {
13567
13722
  content: {
13568
13723
  "application/json": {
13569
13724
  teams: {
13570
- /** Format: uuid */
13571
13725
  id: string;
13572
13726
  name: string;
13573
13727
  isPaid: boolean;
13574
13728
  /** @description The caller's role in this team (e.g. "Admin" or "User") */
13575
13729
  teamRole: string;
13576
13730
  projects: {
13577
- /** Format: uuid */
13578
13731
  id: string;
13579
13732
  name: string;
13580
- /** Format: uuid */
13581
13733
  projectTypeId: string;
13582
13734
  previewUrl: string;
13583
13735
  createdAt: string;
@@ -13698,6 +13850,70 @@ declare class ProjectClient extends ApiClient {
13698
13850
  delete(body: ExceptProject<ProjectDeleteParameters>): Promise<void>;
13699
13851
  }
13700
13852
 
13853
+ /**
13854
+ * Single-`*` glob matcher used by every consumer of `ProjectionSpec`
13855
+ * pattern fields (`fields.only`, `fields.except`, `fields.locales`,
13856
+ * `fieldTypes.only`, `fieldTypes.except`, `slots.only`, `slots.except`).
13857
+ *
13858
+ * Wire grammar: `*` is the only wildcard (zero-or-more characters). Bare
13859
+ * `*` is a legitimate pattern (matches anything); `[except]=*` is the
13860
+ * wildcard spelling of "strip everything" and `[only]=*` is the
13861
+ * matching no-op. The canonical "strip everything" spelling is the
13862
+ * empty CSV (`[only]=`); see the file-level doc on `ProjectionSpec`.
13863
+ *
13864
+ * Character set: anything except the wire-grammar separators is allowed in
13865
+ * pattern values. That covers internal `$` prefixes (`$block`, `$tstVrnt`,
13866
+ * `$internal_*`), dotted ids, and anything else a field public id can be.
13867
+ * The translator escapes every regex metacharacter except `*`, so the
13868
+ * compiled regex remains bounded (no ReDoS).
13869
+ */
13870
+ /**
13871
+ * Tests whether `value` matches the projection `pattern`, where `*` is the
13872
+ * only wildcard (zero or more of any character). The matcher is bounded:
13873
+ * regex metacharacters in the pattern are escaped during translation so
13874
+ * the compiled regex remains linear-time on its input. Compiled regexes
13875
+ * are cached per process to keep the hot path (pruner walks every field
13876
+ * on every node) cheap. Throws if `pattern` is invalid.
13877
+ */
13878
+ declare function matchesProjectionPattern(pattern: string, value: string): boolean;
13879
+
13880
+ /**
13881
+ * Serializes a ProjectionSpec into a flat record of `select.*` querystring
13882
+ * keys. The output is intended to be spread into the same param bag that
13883
+ * SDK clients pass to `createUrl` alongside `rewriteFiltersForApi`. CSV
13884
+ * values use comma as the separator (matching the form-style serialization
13885
+ * used by the API for array query params).
13886
+ *
13887
+ * Output is deterministic for a given spec: top-level operator keys appear
13888
+ * in fixed order, and the `slots.<name>[depth]` entries are sorted by slot
13889
+ * name. Downstream cache keys and DataLoader loaderKeys depend on this.
13890
+ *
13891
+ * Empty arrays vs `undefined` matters: `{ only: undefined }` omits the
13892
+ * key entirely; `{ only: [] }` serializes as `select.<bucket>[only]=`
13893
+ * (the canonical "strip everything" spelling — `[only]=` means "include
13894
+ * nothing"). Callers that want to suppress an operator should set it to
13895
+ * `undefined`, not `[]`.
13896
+ */
13897
+ declare function projectionToQuery(spec: ProjectionSpec | undefined): Record<string, string>;
13898
+
13899
+ /**
13900
+ * Parses `select.*` keys from a request query into a `ProjectionSpec`.
13901
+ * Accepts either a `URLSearchParams` instance (edge handlers) or a flat
13902
+ * record produced by the OAS3 validator (origin handlers); both are
13903
+ * normalised internally.
13904
+ *
13905
+ * Returns `undefined` when the source contains no `select.*` keys, so
13906
+ * callers can skip allocating localize predicates or walking the tree
13907
+ * altogether on the cached / un-projected hot path.
13908
+ *
13909
+ * Strict on operator keys: unknown operator shapes throw
13910
+ * (e.g. `select.fields[foo]`, `select.unknown[only]`). Lenient on value
13911
+ * names: unknown field / slot / type names inside CSV lists are kept as-is
13912
+ * and silently no-op at projection time if they don't match anything in the
13913
+ * tree.
13914
+ */
13915
+ declare function queryToProjection(source: URLSearchParams | Record<string, unknown> | null | undefined): ProjectionSpec | undefined;
13916
+
13701
13917
  /** API client to make comms with the Next Gen Mesh Data Source API simpler */
13702
13918
  declare class PromptClient extends ApiClient {
13703
13919
  constructor(options: ClientOptions);
@@ -13745,9 +13961,13 @@ interface paths {
13745
13961
  query: {
13746
13962
  projectId: string;
13747
13963
  type: "component" | "contentType" | "blockType" | "asset" | "componentPattern" | "entryPattern" | "compositionPattern" | "entry" | "dataType" | "dataSource" | "test";
13964
+ /** @description Entity IDs */
13748
13965
  ids: string[];
13966
+ /** @description Whether to include a list of related instances in the response. Only supported when a single entity ID is provided */
13749
13967
  withInstances?: boolean | null;
13968
+ /** @description Use this to paginate over the instances when "whenInstances" is true */
13750
13969
  limit?: number;
13970
+ /** @description Use this to paginate over the instances when "whenInstances" is true */
13751
13971
  offset?: number | null;
13752
13972
  };
13753
13973
  header?: never;
@@ -13770,14 +13990,12 @@ interface paths {
13770
13990
  publishedOnly: boolean;
13771
13991
  icon?: string;
13772
13992
  instance: {
13773
- /** Format: uuid */
13774
13993
  _id: string;
13775
13994
  _name: string;
13776
13995
  _pattern?: string;
13777
13996
  };
13778
13997
  /** @description When set, this is a child edition of the instance in _id */
13779
13998
  edition?: {
13780
- /** Format: uuid */
13781
13999
  id: string;
13782
14000
  name: string;
13783
14001
  };
@@ -13789,7 +14007,6 @@ interface paths {
13789
14007
  name: string;
13790
14008
  };
13791
14009
  release?: {
13792
- /** Format: uuid */
13793
14010
  id: string;
13794
14011
  name: string;
13795
14012
  };
@@ -13925,7 +14142,14 @@ declare class RouteClient extends ApiClient<RouteClientOptions> {
13925
14142
  private edgeApiHost;
13926
14143
  constructor(options: RouteClientOptions);
13927
14144
  /** Fetches lists of Canvas compositions, optionally by type */
13928
- getRoute(options?: Omit<RouteGetParameters, 'projectId'>): Promise<ResolvedRouteGetResponse>;
14145
+ getRoute(options?: Omit<RouteGetParameters, 'projectId'> & {
14146
+ /**
14147
+ * Optional data projection. Applies to the resolved composition when
14148
+ * the route matches one. Redirect / notFound responses pass through
14149
+ * untouched. Serialized as `select.*` querystring parameters.
14150
+ */
14151
+ select?: ProjectionSpec;
14152
+ }): Promise<ResolvedRouteGetResponse>;
13929
14153
  }
13930
14154
 
13931
14155
  declare const mergeAssetConfigWithDefaults: (config: AssetParamConfig) => AssetParamConfig;
@@ -14201,7 +14425,7 @@ declare function hasReferencedVariables(value: string | undefined): number;
14201
14425
  */
14202
14426
  declare function parseVariableExpression(serialized: string, onToken?: (token: string, type: 'text' | 'variable') => void | false): number;
14203
14427
 
14204
- declare const version = "20.63.0";
14428
+ declare const version = "20.66.0";
14205
14429
 
14206
14430
  /** API client to enable managing workflow definitions */
14207
14431
  declare class WorkflowClient extends ApiClient {
@@ -14218,4 +14442,4 @@ declare class WorkflowClient extends ApiClient {
14218
14442
 
14219
14443
  declare const CanvasClientError: typeof ApiClientError;
14220
14444
 
14221
- export { ASSETS_SOURCE_CUSTOM_URL, ASSETS_SOURCE_UNIFORM, ASSET_PARAMETER_TYPE, ATTRIBUTE_COMPONENT_ID, ATTRIBUTE_MULTILINE, ATTRIBUTE_PARAMETER_ID, ATTRIBUTE_PARAMETER_TYPE, ATTRIBUTE_PARAMETER_VALUE, ATTRIBUTE_PLACEHOLDER, type AddComponentMessage, type AiAction, type AssetParamConfig, type AwaitingReadyMessage, type BatchEnhancer, BatchEntry, type BatchInvalidationPayload, type BindVariablesOptions, type BindVariablesResult, type BindVariablesToObjectOptions, BlockFormatError, type BlockLocationReference, type BlockValue, CANVAS_BLOCK_PARAM_TYPE, CANVAS_COMPONENT_DISPLAY_NAME_PARAM, CANVAS_CONTEXTUAL_EDITING_PARAM, CANVAS_DRAFT_STATE, CANVAS_EDITOR_STATE, CANVAS_ENRICHMENT_TAG_PARAM, CANVAS_HYPOTHESIS_PARAM, CANVAS_INTENT_TAG_PARAM, CANVAS_INTERNAL_PARAM_PREFIX, CANVAS_LOCALE_TAG_PARAM, CANVAS_LOCALIZATION_SLOT, CANVAS_LOCALIZATION_TYPE, CANVAS_PERSONALIZATION_ALGORITHM_PARAM, CANVAS_PERSONALIZATION_ALGORITHM_TYPE, CANVAS_PERSONALIZATION_EVENT_NAME_PARAM, CANVAS_PERSONALIZATION_PARAM, CANVAS_PERSONALIZATION_TAKE_PARAM, CANVAS_PERSONALIZE_SLOT, CANVAS_PERSONALIZE_TYPE, CANVAS_PUBLISHED_STATE, CANVAS_SLOT_SECTION_GROUP_TYPE_PARAM, CANVAS_SLOT_SECTION_MAX_PARAM, CANVAS_SLOT_SECTION_MIN_PARAM, CANVAS_SLOT_SECTION_NAME_PARAM, CANVAS_SLOT_SECTION_SLOT, CANVAS_SLOT_SECTION_SPECIFIC_PARAM, CANVAS_SLOT_SECTION_TYPE, CANVAS_TEST_SLOT, CANVAS_TEST_TYPE, CANVAS_TEST_VARIANT_PARAM, CANVAS_VIZ_CONTROL_PARAM, CANVAS_VIZ_DI_RULE, CANVAS_VIZ_DYNAMIC_TOKEN_RULE, CANVAS_VIZ_LOCALE_RULE, CANVAS_VIZ_QUIRKS_RULE, CanvasClient, CanvasClientError, type CanvasDefinitions, type CategoriesDeleteParameters, type CategoriesGetParameters, type CategoriesGetResponse, type CategoriesPutParameters, type Category, CategoryClient, type Channel, type ChannelMessage, ChildEnhancerBuilder, type ComponentDefinition, type ComponentDefinitionDeleteParameters, type ComponentDefinitionGetParameters, type ComponentDefinitionGetResponse, type ComponentDefinitionParameter, type ComponentDefinitionPermission, type ComponentDefinitionPutParameters, type ComponentDefinitionSlot, type ComponentDefinitionSlugSettings, type ComponentDefinitionVariant, type ComponentEnhancer, type ComponentEnhancerFunction, type ComponentEnhancerOptions, type ComponentInstance, type ComponentInstanceContextualEditing, type ComponentInstanceHistoryEntry, type ComponentInstanceHistoryGetParameters, type ComponentInstanceHistoryGetResponse, type ComponentLocationReference, type ComponentOverridability, type ComponentOverride, type ComponentOverrides, type ComponentParameter, type ComponentParameterBlock, type ComponentParameterConditionalValue, type ComponentParameterContextualEditing, type ComponentParameterEnhancer, type ComponentParameterEnhancerFunction, type ComponentParameterEnhancerOptions, type CompositionDeleteParameters, type CompositionFilters, type CompositionGetByComponentIdParameters, type CompositionGetByIdParameters, type CompositionGetByNodeIdParameters, type CompositionGetByNodePathParameters, type CompositionGetBySlugParameters, type CompositionGetListResponse, type CompositionGetParameters, type CompositionGetResponse, type CompositionGetValidResponses, type CompositionPutParameters, type CompositionResolvedGetResponse, type CompositionResolvedListResponse, type CompositionUIStatus, ContentClient, type ContentType, type ContentTypeField, type ContentTypePreviewConfiguration, type ContextStorageUpdatedMessage, type ContextualEditingComponentReference, type ContextualEditingValue, type CopiedComponentSubtree, type DataDiagnostic, type DataElementBindingIssue, type DataElementConnectionDefinition, type DataElementConnectionFailureAction, type DataElementConnectionFailureLogLevel, type DataResolutionConfigIssue, type DataResolutionIssue, type DataResolutionOption, type DataResolutionOptionNegative, type DataResolutionOptionPositive, type DataResolutionParameters, type DataResourceDefinition, type DataResourceDefinitions, type DataResourceIssue, type DataResourceVariables, type DataSource, DataSourceClient, type DataSourceDeleteParameters, type DataSourceGetParameters, type DataSourceGetResponse, type DataSourcePutParameters, type DataSourceVariantData, type DataSourceVariantsKeys, type DataSourcesGetParameters, type DataSourcesGetResponse, type DataType, DataTypeClient, type DataTypeDeleteParameters, type DataTypeGetParameters, type DataTypeGetResponse, type DataTypePutParameters, type DataVariableDefinition, type DataWithProperties, type DateParamConfig, type DateParamValue, type DatetimeParamConfig, type DeleteContentTypeOptions, type DeleteEntryOptions, type DismissPlaceholderMessage, type DynamicInputIssue, EDGE_CACHE_DISABLED, EDGE_DEFAULT_CACHE_TTL, EDGE_MAX_CACHE_TTL, EDGE_MIN_CACHE_TTL, EMPTY_COMPOSITION, type EdgehancersDiagnostics, type EdgehancersWholeResponseCacheDiagnostics, type EditorStateUpdatedMessage, EnhancerBuilder, type EnhancerContext, type EnhancerError, EntityReleasesClient, type EntityReleasesGetParameters, type EntityReleasesGetResponse, type EntriesGetParameters, type EntriesGetResponse, type EntriesHistoryGetParameters, type EntriesHistoryGetResponse, type EntriesResolvedListResponse, type Entry, type EntryData, type EntryFilters, type EntryList, type EvaluateCriteriaGroupOptions, type EvaluateNodeTreeVisibilityOptions, type EvaluateNodeVisibilityParameterOptions, type EvaluatePropertyCriteriaOptions, type EvaluateWalkTreePropertyCriteriaOptions, type Filters, type FindInNodeTreeReference, type FlattenProperty, type FlattenValues, type FlattenValuesOptions, type GetContentTypesOptions, type GetContentTypesResponse, type GetEffectivePropertyValueOptions, type GetEntriesOptions, type GetEntriesResponse, type GetParameterAttributesProps, IN_CONTEXT_EDITOR_COMPONENT_END_ROLE, IN_CONTEXT_EDITOR_COMPONENT_START_ROLE, IN_CONTEXT_EDITOR_CONFIG_CHECK_QUERY_STRING_PARAM, IN_CONTEXT_EDITOR_EMBED_SCRIPT_ID, IN_CONTEXT_EDITOR_FORCED_SETTINGS_QUERY_STRING_PARAM, IN_CONTEXT_EDITOR_PLAYGROUND_QUERY_STRING_PARAM, IN_CONTEXT_EDITOR_QUERY_STRING_PARAM, IS_RENDERED_BY_UNIFORM_ATTRIBUTE, IntegrationPropertyEditorsClient, type IntegrationPropertyEditorsDeleteParameters, type IntegrationPropertyEditorsGetParameters, type IntegrationPropertyEditorsGetResponse, type paths$9 as IntegrationPropertyEditorsPaths, type IntegrationPropertyEditorsPutParameters, type InvalidationPayload, LOCALE_DYNAMIC_INPUT_NAME, type Label, LabelClient, type LabelDelete, type LabelPut, type LabelsQuery, type LabelsResponse, type LimitPolicy, type LinkParamConfiguration, type LinkParamValue, type LinkParameterType, type LinkTypeConfiguration, type Locale, LocaleClient, type LocaleDeleteParameters, type LocalePutParameters, type LocalesGetParameters, type LocalesGetResponse, type LocalizeOptions, type MaxDepthExceededIssue, type MessageHandler, type MoveComponentMessage, type MultiSelectParamConfiguration, type MultiSelectParamEditorType, type MultiSelectParamValue, type NodeLocationReference, type NonProjectMapLinkParamValue, type NumberParamConfig, type NumberParamEditorType, type NumberParamValue, type OpenParameterEditorMessage, type OverrideOptions, PLACEHOLDER_ID, type ParamTypeConfigConventions, type PatternIssue, PreviewClient, type PreviewPanelSettings, type PreviewUrl, type PreviewUrlDeleteParameters, type PreviewUrlDeleteResponse, type PreviewUrlPutParameters, type PreviewUrlPutResponse, type PreviewUrlsGetParameters, type PreviewUrlsGetResponse, type PreviewViewport, type PreviewViewportDeleteParameters, type PreviewViewportDeleteResponse, type PreviewViewportPutParameters, type PreviewViewportPutResponse, type PreviewViewportsGetParameters, type PreviewViewportsGetResponse, type Project, ProjectClient, type ProjectDeleteParameters, type ProjectGetParameters, type ProjectGetResponse, type ProjectMapLinkParamValue, type ProjectPutParameters, type ProjectPutResponse, type ProjectsGetParameters, type ProjectsGetProject, type ProjectsGetResponse, type ProjectsGetTeam, type Prompt, PromptClient, type PromptsDeleteParameters, type PromptsGetParameters, type PromptsGetResponse, type PromptsPutParameters, type PropertyCriteriaMatch, type PropertyValue, type PutContentTypeBody, type PutEntryBody, type ReadyMessage, RelationshipClient, type RelationshipResultInstance, type Release, ReleaseClient, type ReleaseContent, ReleaseContentsClient, type ReleaseContentsDeleteBody, type ReleaseContentsGetParameters, type ReleaseContentsGetResponse, type ReleaseDeleteParameters, type ReleasePatchParameters, type ReleasePutParameters, type ReleaseState, type ReleasesGetParameters, type ReleasesGetResponse, type ReportRenderedCompositionsMessage, type RequestComponentSuggestionMessage, type RequestPageHtmlMessage, type ResolvedRouteGetResponse, type RichTextBuiltInElement, type RichTextBuiltInFormat, type RichTextParamConfiguration, type RichTextParamValue, type RootComponentInstance, type RootEntryReference, type RootLocationReference, RouteClient, type RouteDynamicInputs, type RouteGetParameters, type RouteGetResponse, type RouteGetResponseComposition, type RouteGetResponseEdgehancedComposition, type RouteGetResponseEdgehancedNotFound, type RouteGetResponseNotFound, type RouteGetResponseRedirect, SECRET_QUERY_STRING_PARAM, type SelectComponentMessage, type SelectParamConfiguration, type SelectParamEditorType, type SelectParamOption, type SelectParamValue, type SelectParameterMessage, type SendPageHtmlMessage, type SessionPendingMessage, type SpecificProjectMap, type StringOperators, type SuggestComponentMessage, type TextParamConfig, type TextParamValue, type TreeNodeInfoTypes, type TriggerComponentActionMessage, type TriggerCompositionActionMessage, UncachedCanvasClient, UncachedCategoryClient, UncachedContentClient, UncachedLabelClient, UniqueBatchEntries, type UpdateAiActionsMessage, type UpdateComponentParameterMessage, type UpdateComponentReferencesMessage, type UpdateCompositionInternalMessage, type UpdateCompositionMessage, type UpdateCompositionOptions, type UpdateContextualEditingStateInternalMessage, type UpdateFeatureFlagsMessage, type UpdatePreviewSettingsMessage, type UpsertEntryOptions, type VisibilityCriteria, type VisibilityCriteriaEvaluationResult, type VisibilityCriteriaGroup, type VisibilityParameterValue, type VisibilityRule, type VisibilityRules, type WalkNodeTreeActions, type WalkNodeTreeOptions, type WebhookDefinition, WorkflowClient, type WorkflowDefinition, type WorkflowStage, type WorkflowStagePermission, type WorkflowStageTransition, type WorkflowStageTransitionPermission, type WorkflowsDeleteParameters, type WorkflowsGetParameters, type WorkflowsGetResponse, type WorkflowsPutParameters, autoFixParameterGroups, bindExpressionEscapeChars, bindExpressionPrefix, bindVariables, bindVariablesToObject, compose, convertEntryToPutEntry, convertToBindExpression, createBatchEnhancer, createCanvasChannel, createDynamicInputVisibilityRule, createDynamicTokenVisibilityRule, createLimitPolicy, createLocaleVisibilityRule, createQuirksVisibilityRule, createUniformApiEnhancer, createVariableReference, enhance, escapeBindExpressionDefaultValue, evaluateNodeVisibilityParameter, evaluatePropertyCriteria, evaluateVisibilityCriteriaGroup, evaluateWalkTreeNodeVisibility, evaluateWalkTreePropertyCriteria, extractLocales, findParameterInNodeTree, flattenValues, generateComponentPlaceholderId, generateHash, getBlockValue, getComponentJsonPointer, getComponentPath, getDataSourceVariantFromRouteGetParams, getEffectivePropertyValue, getLocalizedPropertyValues, getNounForLocation, getNounForNode, getParameterAttributes, getPropertiesValue, hasReferencedVariables, isAddComponentMessage, isAllowedReferrer, isAssetParamValue, isAssetParamValueItem, isAwaitingReadyMessage, isComponentActionMessage, isComponentPlaceholderId, isContextStorageUpdatedMessage, isDismissPlaceholderMessage, isEntryData, isLinkParamValue, isMovingComponentMessage, isNestedNodeType, isOpenParameterEditorMessage, isReadyMessage, isReportRenderedCompositionsMessage, isRequestComponentSuggestionMessage, isRootEntryReference, isSelectComponentMessage, isSelectParameterMessage, isSessionPendingMessage, isSuggestComponentMessage, isSystemComponentDefinition, isTriggerCompositionActionMessage, isUpdateAiActionsMessage, isUpdateComponentParameterMessage, isUpdateComponentReferencesMessage, isUpdateCompositionInternalMessage, isUpdateCompositionMessage, isUpdateContextualEditingStateInternalMessage, isUpdateFeatureFlagsMessage, isUpdatePreviewSettingsMessage, localize, mapSlotToPersonalizedVariations, mapSlotToTestVariations, mergeAssetConfigWithDefaults, nullLimitPolicy, parseComponentPlaceholderId, parseVariableExpression, version, walkNodeTree, walkPropertyValues };
14445
+ export { ASSETS_SOURCE_CUSTOM_URL, ASSETS_SOURCE_UNIFORM, ASSET_PARAMETER_TYPE, ATTRIBUTE_COMPONENT_ID, ATTRIBUTE_MULTILINE, ATTRIBUTE_PARAMETER_ID, ATTRIBUTE_PARAMETER_TYPE, ATTRIBUTE_PARAMETER_VALUE, ATTRIBUTE_PLACEHOLDER, type AddComponentMessage, type AiAction, type AssetParamConfig, type AwaitingReadyMessage, type BatchEnhancer, BatchEntry, type BatchInvalidationPayload, type BindVariablesOptions, type BindVariablesResult, type BindVariablesToObjectOptions, BlockFormatError, type BlockLocationReference, type BlockValue, CANVAS_BLOCK_PARAM_TYPE, CANVAS_COMPONENT_DISPLAY_NAME_PARAM, CANVAS_CONTEXTUAL_EDITING_PARAM, CANVAS_DRAFT_STATE, CANVAS_EDITOR_STATE, CANVAS_ENRICHMENT_TAG_PARAM, CANVAS_HYPOTHESIS_PARAM, CANVAS_INTENT_TAG_PARAM, CANVAS_INTERNAL_PARAM_PREFIX, CANVAS_LOCALE_TAG_PARAM, CANVAS_LOCALIZATION_SLOT, CANVAS_LOCALIZATION_TYPE, CANVAS_PERSONALIZATION_ALGORITHM_PARAM, CANVAS_PERSONALIZATION_ALGORITHM_TYPE, CANVAS_PERSONALIZATION_EVENT_NAME_PARAM, CANVAS_PERSONALIZATION_PARAM, CANVAS_PERSONALIZATION_TAKE_PARAM, CANVAS_PERSONALIZE_SLOT, CANVAS_PERSONALIZE_TYPE, CANVAS_PUBLISHED_STATE, CANVAS_SLOT_SECTION_GROUP_TYPE_PARAM, CANVAS_SLOT_SECTION_MAX_PARAM, CANVAS_SLOT_SECTION_MIN_PARAM, CANVAS_SLOT_SECTION_NAME_PARAM, CANVAS_SLOT_SECTION_SLOT, CANVAS_SLOT_SECTION_SPECIFIC_PARAM, CANVAS_SLOT_SECTION_TYPE, CANVAS_TEST_SLOT, CANVAS_TEST_TYPE, CANVAS_TEST_VARIANT_PARAM, CANVAS_VIZ_CONTROL_PARAM, CANVAS_VIZ_DI_RULE, CANVAS_VIZ_DYNAMIC_TOKEN_RULE, CANVAS_VIZ_LOCALE_RULE, CANVAS_VIZ_QUIRKS_RULE, CanvasClient, CanvasClientError, type CanvasDefinitions, type CategoriesDeleteParameters, type CategoriesGetParameters, type CategoriesGetResponse, type CategoriesPutParameters, type Category, CategoryClient, type Channel, type ChannelMessage, ChildEnhancerBuilder, type ComponentDefinition, type ComponentDefinitionDeleteParameters, type ComponentDefinitionGetParameters, type ComponentDefinitionGetResponse, type ComponentDefinitionParameter, type ComponentDefinitionPermission, type ComponentDefinitionPutParameters, type ComponentDefinitionSlot, type ComponentDefinitionSlugSettings, type ComponentDefinitionVariant, type ComponentEnhancer, type ComponentEnhancerFunction, type ComponentEnhancerOptions, type ComponentInstance, type ComponentInstanceContextualEditing, type ComponentInstanceHistoryEntry, type ComponentInstanceHistoryGetParameters, type ComponentInstanceHistoryGetResponse, type ComponentLocationReference, type ComponentOverridability, type ComponentOverride, type ComponentOverrides, type ComponentParameter, type ComponentParameterBlock, type ComponentParameterConditionalValue, type ComponentParameterContextualEditing, type ComponentParameterEnhancer, type ComponentParameterEnhancerFunction, type ComponentParameterEnhancerOptions, type CompositionDeleteParameters, type CompositionFilters, type CompositionGetByComponentIdParameters, type CompositionGetByIdParameters, type CompositionGetByNodeIdParameters, type CompositionGetByNodePathParameters, type CompositionGetBySlugParameters, type CompositionGetListResponse, type CompositionGetParameters, type CompositionGetResponse, type CompositionGetValidResponses, type CompositionPutParameters, type CompositionResolvedGetResponse, type CompositionResolvedListResponse, type CompositionUIStatus, ContentClient, type ContentType, type ContentTypeField, type ContentTypePreviewConfiguration, type ContextStorageUpdatedMessage, type ContextualEditingComponentReference, type ContextualEditingValue, type CopiedComponentSubtree, type DataDiagnostic, type DataElementBindingIssue, type DataElementConnectionDefinition, type DataElementConnectionFailureAction, type DataElementConnectionFailureLogLevel, type DataResolutionConfigIssue, type DataResolutionIssue, type DataResolutionOption, type DataResolutionOptionNegative, type DataResolutionOptionPositive, type DataResolutionParameters, type DataResourceDefinition, type DataResourceDefinitions, type DataResourceIssue, type DataResourceVariables, type DataSource, DataSourceClient, type DataSourceDeleteParameters, type DataSourceGetParameters, type DataSourceGetResponse, type DataSourcePutParameters, type DataSourceVariantData, type DataSourceVariantsKeys, type DataSourcesGetParameters, type DataSourcesGetResponse, type DataType, DataTypeClient, type DataTypeDeleteParameters, type DataTypeGetParameters, type DataTypeGetResponse, type DataTypePutParameters, type DataVariableDefinition, type DataWithProperties, type DateParamConfig, type DateParamValue, type DatetimeParamConfig, type DeleteContentTypeOptions, type DeleteEntryOptions, type DismissPlaceholderMessage, type DynamicInputIssue, EDGE_CACHE_DISABLED, EDGE_DEFAULT_CACHE_TTL, EDGE_MAX_CACHE_TTL, EDGE_MIN_CACHE_TTL, EMPTY_COMPOSITION, type EdgehancersDiagnostics, type EdgehancersWholeResponseCacheDiagnostics, type EditorStateUpdatedMessage, EnhancerBuilder, type EnhancerContext, type EnhancerError, EntityReleasesClient, type EntityReleasesGetParameters, type EntityReleasesGetResponse, type EntriesGetParameters, type EntriesGetResponse, type EntriesHistoryGetParameters, type EntriesHistoryGetResponse, type EntriesResolvedListResponse, type Entry, type EntryData, type EntryFilters, type EntryList, type EvaluateCriteriaGroupOptions, type EvaluateNodeTreeVisibilityOptions, type EvaluateNodeVisibilityParameterOptions, type EvaluatePropertyCriteriaOptions, type EvaluateWalkTreePropertyCriteriaOptions, type FieldTypesProjection, type FieldsProjection, type Filters, type FindInNodeTreeReference, type FlattenProperty, type FlattenValues, type FlattenValuesOptions, type GetContentTypesOptions, type GetContentTypesResponse, type GetEffectivePropertyValueOptions, type GetEntriesOptions, type GetEntriesResponse, type GetParameterAttributesProps, IN_CONTEXT_EDITOR_COMPONENT_END_ROLE, IN_CONTEXT_EDITOR_COMPONENT_START_ROLE, IN_CONTEXT_EDITOR_CONFIG_CHECK_QUERY_STRING_PARAM, IN_CONTEXT_EDITOR_EMBED_SCRIPT_ID, IN_CONTEXT_EDITOR_FORCED_SETTINGS_QUERY_STRING_PARAM, IN_CONTEXT_EDITOR_PLAYGROUND_QUERY_STRING_PARAM, IN_CONTEXT_EDITOR_QUERY_STRING_PARAM, IS_RENDERED_BY_UNIFORM_ATTRIBUTE, IntegrationPropertyEditorsClient, type IntegrationPropertyEditorsDeleteParameters, type IntegrationPropertyEditorsGetParameters, type IntegrationPropertyEditorsGetResponse, type paths$9 as IntegrationPropertyEditorsPaths, type IntegrationPropertyEditorsPutParameters, type InvalidationPayload, LOCALE_DYNAMIC_INPUT_NAME, type Label, LabelClient, type LabelDelete, type LabelPut, type LabelsQuery, type LabelsResponse, type LimitPolicy, type LinkParamConfiguration, type LinkParamValue, type LinkParameterType, type LinkTypeConfiguration, type Locale, LocaleClient, type LocaleDeleteParameters, type LocalePutParameters, type LocalesGetParameters, type LocalesGetResponse, type LocalizeOptions, type MaxDepthExceededIssue, type MessageHandler, type MoveComponentMessage, type MultiSelectParamConfiguration, type MultiSelectParamEditorType, type MultiSelectParamValue, type NodeLocationReference, type NonProjectMapLinkParamValue, type NumberParamConfig, type NumberParamEditorType, type NumberParamValue, type OpenParameterEditorMessage, type OverrideOptions, PLACEHOLDER_ID, type ParamTypeConfigConventions, type PatternIssue, PreviewClient, type PreviewPanelSettings, type PreviewUrl, type PreviewUrlDeleteParameters, type PreviewUrlDeleteResponse, type PreviewUrlPutParameters, type PreviewUrlPutResponse, type PreviewUrlsGetParameters, type PreviewUrlsGetResponse, type PreviewViewport, type PreviewViewportDeleteParameters, type PreviewViewportDeleteResponse, type PreviewViewportPutParameters, type PreviewViewportPutResponse, type PreviewViewportsGetParameters, type PreviewViewportsGetResponse, type Project, ProjectClient, type ProjectDeleteParameters, type ProjectGetParameters, type ProjectGetResponse, type ProjectMapLinkParamValue, type ProjectPutParameters, type ProjectPutResponse, type ProjectionSpec, type ProjectsGetParameters, type ProjectsGetProject, type ProjectsGetResponse, type ProjectsGetTeam, type Prompt, PromptClient, type PromptsDeleteParameters, type PromptsGetParameters, type PromptsGetResponse, type PromptsPutParameters, type PropertyCriteriaMatch, type PropertyValue, type PutContentTypeBody, type PutEntryBody, REFERENCE_DATA_TYPE_ID, type ReadyMessage, RelationshipClient, type RelationshipResultInstance, type Release, ReleaseClient, type ReleaseContent, ReleaseContentsClient, type ReleaseContentsDeleteBody, type ReleaseContentsGetParameters, type ReleaseContentsGetResponse, type ReleaseDeleteParameters, type ReleasePatchParameters, type ReleasePutParameters, type ReleaseState, type ReleasesGetParameters, type ReleasesGetResponse, type ReportRenderedCompositionsMessage, type RequestComponentSuggestionMessage, type RequestPageHtmlMessage, type ResolvedRouteGetResponse, type RichTextBuiltInElement, type RichTextBuiltInFormat, type RichTextParamConfiguration, type RichTextParamValue, type RootComponentInstance, type RootEntryReference, type RootLocationReference, RouteClient, type RouteDynamicInputs, type RouteGetParameters, type RouteGetResponse, type RouteGetResponseComposition, type RouteGetResponseEdgehancedComposition, type RouteGetResponseEdgehancedNotFound, type RouteGetResponseNotFound, type RouteGetResponseRedirect, SECRET_QUERY_STRING_PARAM, SELECT_QUERY_PREFIX, type SelectComponentMessage, type SelectParamConfiguration, type SelectParamEditorType, type SelectParamOption, type SelectParamValue, type SelectParameterMessage, type SendPageHtmlMessage, type SessionPendingMessage, type SlotsProjection, type SpecificProjectMap, type StringOperators, type SuggestComponentMessage, type TextParamConfig, type TextParamValue, type TreeNodeInfoTypes, type TriggerComponentActionMessage, type TriggerCompositionActionMessage, UncachedCanvasClient, UncachedCategoryClient, UncachedContentClient, UncachedLabelClient, UniqueBatchEntries, type UpdateAiActionsMessage, type UpdateComponentParameterMessage, type UpdateComponentReferencesMessage, type UpdateCompositionInternalMessage, type UpdateCompositionMessage, type UpdateCompositionOptions, type UpdateContextualEditingStateInternalMessage, type UpdateFeatureFlagsMessage, type UpdatePreviewSettingsMessage, type UpsertEntryOptions, type VisibilityCriteria, type VisibilityCriteriaEvaluationResult, type VisibilityCriteriaGroup, type VisibilityParameterValue, type VisibilityRule, type VisibilityRules, type WalkNodeTreeActions, type WalkNodeTreeOptions, type WebhookDefinition, WorkflowClient, type WorkflowDefinition, type WorkflowStage, type WorkflowStagePermission, type WorkflowStageTransition, type WorkflowStageTransitionPermission, type WorkflowsDeleteParameters, type WorkflowsGetParameters, type WorkflowsGetResponse, type WorkflowsPutParameters, autoFixParameterGroups, bindExpressionEscapeChars, bindExpressionPrefix, bindVariables, bindVariablesToObject, compose, convertEntryToPutEntry, convertToBindExpression, createBatchEnhancer, createCanvasChannel, createDynamicInputVisibilityRule, createDynamicTokenVisibilityRule, createLimitPolicy, createLocaleVisibilityRule, createQuirksVisibilityRule, createUniformApiEnhancer, createVariableReference, enhance, escapeBindExpressionDefaultValue, evaluateNodeVisibilityParameter, evaluatePropertyCriteria, evaluateVisibilityCriteriaGroup, evaluateWalkTreeNodeVisibility, evaluateWalkTreePropertyCriteria, extractLocales, findParameterInNodeTree, flattenValues, generateComponentPlaceholderId, generateHash, getBlockValue, getComponentJsonPointer, getComponentPath, getDataSourceVariantFromRouteGetParams, getEffectivePropertyValue, getLocalizedPropertyValues, getNounForLocation, getNounForNode, getParameterAttributes, getPropertiesValue, hasReferencedVariables, isAddComponentMessage, isAllowedReferrer, isAssetParamValue, isAssetParamValueItem, isAwaitingReadyMessage, isComponentActionMessage, isComponentPlaceholderId, isContextStorageUpdatedMessage, isDismissPlaceholderMessage, isEntryData, isLinkParamValue, isMovingComponentMessage, isNestedNodeType, isOpenParameterEditorMessage, isReadyMessage, isReportRenderedCompositionsMessage, isRequestComponentSuggestionMessage, isRootEntryReference, isSelectComponentMessage, isSelectParameterMessage, isSessionPendingMessage, isSuggestComponentMessage, isSystemComponentDefinition, isTriggerCompositionActionMessage, isUpdateAiActionsMessage, isUpdateComponentParameterMessage, isUpdateComponentReferencesMessage, isUpdateCompositionInternalMessage, isUpdateCompositionMessage, isUpdateContextualEditingStateInternalMessage, isUpdateFeatureFlagsMessage, isUpdatePreviewSettingsMessage, localize, mapSlotToPersonalizedVariations, mapSlotToTestVariations, matchesProjectionPattern, mergeAssetConfigWithDefaults, nullLimitPolicy, parseComponentPlaceholderId, parseVariableExpression, projectionToQuery, queryToProjection, version, walkNodeTree, walkPropertyValues };