@datocms/cma-client 5.5.0-alpha.1 → 5.5.0-alpha.2

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.
Files changed (42) hide show
  1. package/dist/cjs/generated/Client.js +1 -1
  2. package/dist/cjs/generated/resources/Site.js +29 -0
  3. package/dist/cjs/generated/resources/Site.js.map +1 -1
  4. package/dist/cjs/generated/resources/index.js +1 -1
  5. package/dist/cjs/generated/resources/index.js.map +1 -1
  6. package/dist/cjs/index.js.map +1 -1
  7. package/dist/cjs/resources/Upload.js +10 -0
  8. package/dist/cjs/resources/Upload.js.map +1 -0
  9. package/dist/cjs/utilities/id.js +1 -1
  10. package/dist/cjs/utilities/id.js.map +1 -1
  11. package/dist/esm/generated/ApiTypes.d.ts +527 -140
  12. package/dist/esm/generated/Client.js +1 -1
  13. package/dist/esm/generated/RawApiTypes.d.ts +334 -102
  14. package/dist/esm/generated/resources/Site.d.ts +22 -0
  15. package/dist/esm/generated/resources/Site.js +29 -0
  16. package/dist/esm/generated/resources/Site.js.map +1 -1
  17. package/dist/esm/generated/resources/index.d.ts +1 -1
  18. package/dist/esm/generated/resources/index.js +1 -1
  19. package/dist/esm/generated/resources/index.js.map +1 -1
  20. package/dist/esm/index.d.ts +1 -0
  21. package/dist/esm/index.js.map +1 -1
  22. package/dist/esm/resources/Upload.d.ts +44 -0
  23. package/dist/esm/resources/Upload.js +4 -0
  24. package/dist/esm/resources/Upload.js.map +1 -0
  25. package/dist/esm/utilities/id.js +1 -1
  26. package/dist/esm/utilities/id.js.map +1 -1
  27. package/dist/types/generated/ApiTypes.d.ts +527 -140
  28. package/dist/types/generated/RawApiTypes.d.ts +334 -102
  29. package/dist/types/generated/resources/Site.d.ts +22 -0
  30. package/dist/types/generated/resources/index.d.ts +1 -1
  31. package/dist/types/index.d.ts +1 -0
  32. package/dist/types/resources/Upload.d.ts +44 -0
  33. package/package.json +4 -5
  34. package/resources.json +17 -0
  35. package/src/generated/ApiTypes.ts +527 -140
  36. package/src/generated/Client.ts +1 -1
  37. package/src/generated/RawApiTypes.ts +334 -102
  38. package/src/generated/resources/Site.ts +37 -0
  39. package/src/generated/resources/index.ts +1 -1
  40. package/src/index.ts +4 -0
  41. package/src/resources/Upload.ts +36 -0
  42. package/src/utilities/id.ts +1 -1
@@ -7815,14 +7815,6 @@ export type ItemVersionMeta = {
7815
7815
  * Whether the record version is the published version or not
7816
7816
  */
7817
7817
  is_published: boolean;
7818
- /**
7819
- * Date this version became the published version of the record, or `null` if it has never been published. May also be `null` for versions that were published before publication-history tracking was introduced; in that case, fall back to `is_published` to determine the live status.
7820
- */
7821
- published_from: string | null;
7822
- /**
7823
- * Date this version stopped being the published version of the record (either replaced by a newer published version, or explicitly unpublished). `null` when the version is currently published or has never been published.
7824
- */
7825
- published_until: string | null;
7826
7818
  /**
7827
7819
  * Whether the record version is the most recent version or not
7828
7820
  */
@@ -8142,42 +8134,25 @@ export type UploadAttributes = {
8142
8134
  */
8143
8135
  mux_mp4_highest_res: null | 'high' | 'medium' | 'low';
8144
8136
  /**
8145
- * For each of the project's locales, the default metadata to apply if nothing is specified at record's level.
8137
+ * Per-asset default metadata applied when no record-level overrides are present. `alt`, `title`, and `custom_data` are objects keyed by locale; `focal_point` is a single value per asset (only meaningful for image assets). See [non-localized focal points](https://www.datocms.com/product-updates/non-localized-focal-points) for more info.
8146
8138
  */
8147
8139
  default_field_metadata: {
8140
+ alt: LocalizedAlt;
8141
+ title: LocalizedTitle;
8142
+ custom_data: LocalizedCustomData;
8148
8143
  /**
8149
- * This interface was referenced by `undefined`'s JSON-Schema definition
8150
- * via the `patternProperty` "^(?<languagecode>[a-z]{0,3}(-[A-Za-z]+)?(-[A-Z]{0,3})?)$".
8144
+ * Focal point (only for image assets)
8151
8145
  */
8152
- [k: string]: {
8153
- /**
8154
- * Alternate text for the asset
8155
- */
8156
- alt: string | null;
8157
- /**
8158
- * Title for the asset
8159
- */
8160
- title: string | null;
8146
+ focal_point: {
8161
8147
  /**
8162
- * Object with arbitrary metadata
8148
+ * Horizontal position expressed as float between 0 and 1
8163
8149
  */
8164
- custom_data: {
8165
- [k: string]: unknown;
8166
- };
8150
+ x: number;
8167
8151
  /**
8168
- * Focal point (only for image assets)
8152
+ * Vertical position expressed as float between 0 and 1
8169
8153
  */
8170
- focal_point: {
8171
- /**
8172
- * Horizontal position expressed as float between 0 and 1
8173
- */
8174
- x: number;
8175
- /**
8176
- * Vertical position expressed as float between 0 and 1
8177
- */
8178
- y: number;
8179
- } | null;
8180
- };
8154
+ y: number;
8155
+ } | null;
8181
8156
  };
8182
8157
  /**
8183
8158
  * Is this upload an image?
@@ -8231,6 +8206,44 @@ export type UploadAttributes = {
8231
8206
  alpha: number;
8232
8207
  }[];
8233
8208
  };
8209
+ /**
8210
+ * Alternate text per locale
8211
+ */
8212
+ export type LocalizedAlt = {
8213
+ /**
8214
+ * Alternate text for the asset in this locale
8215
+ *
8216
+ * This interface was referenced by `LocalizedAlt`'s JSON-Schema definition
8217
+ * via the `patternProperty` "^(?<languagecode>[a-z]{0,3}(-[A-Za-z]+)?(-[A-Z]{0,3})?)$".
8218
+ */
8219
+ [k: string]: string | null;
8220
+ };
8221
+ /**
8222
+ * Title per locale
8223
+ */
8224
+ export type LocalizedTitle = {
8225
+ /**
8226
+ * Title for the asset in this locale
8227
+ *
8228
+ * This interface was referenced by `LocalizedTitle`'s JSON-Schema definition
8229
+ * via the `patternProperty` "^(?<languagecode>[a-z]{0,3}(-[A-Za-z]+)?(-[A-Z]{0,3})?)$".
8230
+ */
8231
+ [k: string]: string | null;
8232
+ };
8233
+ /**
8234
+ * Object with arbitrary metadata, per locale
8235
+ */
8236
+ export type LocalizedCustomData = {
8237
+ /**
8238
+ * Arbitrary metadata for the asset in this locale
8239
+ *
8240
+ * This interface was referenced by `LocalizedCustomData`'s JSON-Schema definition
8241
+ * via the `patternProperty` "^(?<languagecode>[a-z]{0,3}(-[A-Za-z]+)?(-[A-Z]{0,3})?)$".
8242
+ */
8243
+ [k: string]: {
8244
+ [k: string]: unknown;
8245
+ };
8246
+ };
8234
8247
  /**
8235
8248
  * JSON API links
8236
8249
  *
@@ -8312,42 +8325,25 @@ export type UploadCreateSchema = {
8312
8325
  */
8313
8326
  notes?: string | null;
8314
8327
  /**
8315
- * For each of the project's locales, the default metadata to apply if nothing is specified at record's level.
8328
+ * Patch the asset's default metadata. Send any subset of `alt`/`title`/`custom_data`/`focal_point` — missing keys preserve their stored values. See the response shape for the full structure and per-key semantics.
8316
8329
  */
8317
8330
  default_field_metadata?: {
8331
+ alt?: LocalizedAlt;
8332
+ title?: LocalizedTitle;
8333
+ custom_data?: LocalizedCustomData;
8318
8334
  /**
8319
- * This interface was referenced by `undefined`'s JSON-Schema definition
8320
- * via the `patternProperty` "^(?<languagecode>[a-z]{0,3}(-[A-Za-z]+)?(-[A-Z]{0,3})?)$".
8335
+ * Focal point (only for image assets)
8321
8336
  */
8322
- [k: string]: {
8323
- /**
8324
- * Alternate text for the asset
8325
- */
8326
- alt?: string | null;
8337
+ focal_point?: {
8327
8338
  /**
8328
- * Title for the asset
8339
+ * Horizontal position expressed as float between 0 and 1
8329
8340
  */
8330
- title?: string | null;
8331
- /**
8332
- * Object with arbitrary metadata
8333
- */
8334
- custom_data?: {
8335
- [k: string]: unknown;
8336
- };
8341
+ x: number;
8337
8342
  /**
8338
- * Focal point (only for image assets)
8343
+ * Vertical position expressed as float between 0 and 1
8339
8344
  */
8340
- focal_point?: {
8341
- /**
8342
- * Horizontal position expressed as float between 0 and 1
8343
- */
8344
- x: number;
8345
- /**
8346
- * Vertical position expressed as float between 0 and 1
8347
- */
8348
- y: number;
8349
- } | null;
8350
- };
8345
+ y: number;
8346
+ } | null;
8351
8347
  };
8352
8348
  /**
8353
8349
  * Tags
@@ -8437,42 +8433,25 @@ export type UploadUpdateSchema = {
8437
8433
  */
8438
8434
  tags?: string[];
8439
8435
  /**
8440
- * For each of the project's locales, the default metadata to apply if nothing is specified at record's level.
8436
+ * Patch the asset's default metadata. Send any subset of `alt`/`title`/`custom_data`/`focal_point` — missing keys preserve their stored values. See the response shape for the full structure and per-key semantics.
8441
8437
  */
8442
8438
  default_field_metadata?: {
8439
+ alt?: LocalizedAlt;
8440
+ title?: LocalizedTitle;
8441
+ custom_data?: LocalizedCustomData;
8443
8442
  /**
8444
- * This interface was referenced by `undefined`'s JSON-Schema definition
8445
- * via the `patternProperty` "^(?<languagecode>[a-z]{0,3}(-[A-Za-z]+)?(-[A-Z]{0,3})?)$".
8443
+ * Focal point (only for image assets)
8446
8444
  */
8447
- [k: string]: {
8448
- /**
8449
- * Alternate text for the asset
8450
- */
8451
- alt?: string | null;
8445
+ focal_point?: {
8452
8446
  /**
8453
- * Title for the asset
8447
+ * Horizontal position expressed as float between 0 and 1
8454
8448
  */
8455
- title?: string | null;
8456
- /**
8457
- * Object with arbitrary metadata
8458
- */
8459
- custom_data?: {
8460
- [k: string]: unknown;
8461
- };
8449
+ x: number;
8462
8450
  /**
8463
- * Focal point (only for image assets)
8451
+ * Vertical position expressed as float between 0 and 1
8464
8452
  */
8465
- focal_point?: {
8466
- /**
8467
- * Horizontal position expressed as float between 0 and 1
8468
- */
8469
- x: number;
8470
- /**
8471
- * Vertical position expressed as float between 0 and 1
8472
- */
8473
- y: number;
8474
- } | null;
8475
- };
8453
+ y: number;
8454
+ } | null;
8476
8455
  };
8477
8456
  [k: string]: unknown;
8478
8457
  };
@@ -10953,32 +10932,125 @@ export type PublicInfoAttributes = {
10953
10932
  */
10954
10933
  custom_i18n_messages_template_url: null | string;
10955
10934
  /**
10956
- * Specifies the color-scheme for the project
10935
+ * Specifies the color-scheme for the project. For monochromatic themes the response only includes type and hue — frontends must derive the palette from the hue. For custom themes the primary_color, light_color, accent_color, and dark_color fields are returned.
10957
10936
  */
10958
10937
  theme: {
10959
- primary_color: {
10938
+ /**
10939
+ * Whether the project is using a custom color palette or a monochromatic one derived from a hue.
10940
+ */
10941
+ type: 'custom' | 'monochromatic';
10942
+ /**
10943
+ * If the type is monochromatic, the value will fall between 0 and 359. If it's not, the value will be null.
10944
+ */
10945
+ hue: number | null;
10946
+ /**
10947
+ * An integer color channel value (0-255)
10948
+ */
10949
+ color_channel?: number;
10950
+ /**
10951
+ * An RGBA color value
10952
+ */
10953
+ color?: {
10954
+ /**
10955
+ * An integer color channel value (0-255)
10956
+ */
10960
10957
  red: number;
10958
+ /**
10959
+ * An integer color channel value (0-255)
10960
+ */
10961
10961
  green: number;
10962
+ /**
10963
+ * An integer color channel value (0-255)
10964
+ */
10962
10965
  blue: number;
10966
+ /**
10967
+ * An integer color channel value (0-255)
10968
+ */
10963
10969
  alpha: number;
10964
10970
  [k: string]: unknown;
10965
10971
  };
10966
- light_color: {
10972
+ /**
10973
+ * An RGBA color value
10974
+ */
10975
+ primary_color?: {
10976
+ /**
10977
+ * An integer color channel value (0-255)
10978
+ */
10967
10979
  red: number;
10980
+ /**
10981
+ * An integer color channel value (0-255)
10982
+ */
10968
10983
  green: number;
10984
+ /**
10985
+ * An integer color channel value (0-255)
10986
+ */
10969
10987
  blue: number;
10988
+ /**
10989
+ * An integer color channel value (0-255)
10990
+ */
10970
10991
  alpha: number;
10971
10992
  };
10972
- accent_color: {
10993
+ /**
10994
+ * An RGBA color value
10995
+ */
10996
+ light_color?: {
10997
+ /**
10998
+ * An integer color channel value (0-255)
10999
+ */
10973
11000
  red: number;
11001
+ /**
11002
+ * An integer color channel value (0-255)
11003
+ */
10974
11004
  green: number;
11005
+ /**
11006
+ * An integer color channel value (0-255)
11007
+ */
10975
11008
  blue: number;
11009
+ /**
11010
+ * An integer color channel value (0-255)
11011
+ */
10976
11012
  alpha: number;
10977
11013
  };
10978
- dark_color: {
11014
+ /**
11015
+ * An RGBA color value
11016
+ */
11017
+ accent_color?: {
11018
+ /**
11019
+ * An integer color channel value (0-255)
11020
+ */
10979
11021
  red: number;
11022
+ /**
11023
+ * An integer color channel value (0-255)
11024
+ */
11025
+ green: number;
11026
+ /**
11027
+ * An integer color channel value (0-255)
11028
+ */
11029
+ blue: number;
11030
+ /**
11031
+ * An integer color channel value (0-255)
11032
+ */
11033
+ alpha: number;
11034
+ };
11035
+ /**
11036
+ * An RGBA color value
11037
+ */
11038
+ dark_color?: {
11039
+ /**
11040
+ * An integer color channel value (0-255)
11041
+ */
11042
+ red: number;
11043
+ /**
11044
+ * An integer color channel value (0-255)
11045
+ */
10980
11046
  green: number;
11047
+ /**
11048
+ * An integer color channel value (0-255)
11049
+ */
10981
11050
  blue: number;
11051
+ /**
11052
+ * An integer color channel value (0-255)
11053
+ */
10982
11054
  alpha: number;
10983
11055
  };
10984
11056
  };
@@ -11343,7 +11415,7 @@ export type SiteAttributes = {
11343
11415
  };
11344
11416
  };
11345
11417
  /**
11346
- * Specifies the theme to use in administrative area
11418
+ * Specifies the theme to use in administrative area. For monochromatic themes the response only includes type, hue, and logo — frontends must derive the palette from the hue. For custom themes the primary_color, light_color, accent_color, and dark_color fields are returned.
11347
11419
  */
11348
11420
  theme: {
11349
11421
  /**
@@ -11354,28 +11426,113 @@ export type SiteAttributes = {
11354
11426
  * If the type is monochromatic, the value will fall between 0 and 359. If it's not, the value will be null.
11355
11427
  */
11356
11428
  hue: number | null;
11357
- primary_color: {
11429
+ /**
11430
+ * An integer color channel value (0-255)
11431
+ */
11432
+ color_channel?: number;
11433
+ /**
11434
+ * An RGBA color value
11435
+ */
11436
+ color?: {
11437
+ /**
11438
+ * An integer color channel value (0-255)
11439
+ */
11358
11440
  red: number;
11441
+ /**
11442
+ * An integer color channel value (0-255)
11443
+ */
11359
11444
  green: number;
11445
+ /**
11446
+ * An integer color channel value (0-255)
11447
+ */
11360
11448
  blue: number;
11449
+ /**
11450
+ * An integer color channel value (0-255)
11451
+ */
11361
11452
  alpha: number;
11362
11453
  };
11363
- light_color: {
11454
+ /**
11455
+ * An RGBA color value
11456
+ */
11457
+ primary_color?: {
11458
+ /**
11459
+ * An integer color channel value (0-255)
11460
+ */
11364
11461
  red: number;
11462
+ /**
11463
+ * An integer color channel value (0-255)
11464
+ */
11365
11465
  green: number;
11466
+ /**
11467
+ * An integer color channel value (0-255)
11468
+ */
11366
11469
  blue: number;
11470
+ /**
11471
+ * An integer color channel value (0-255)
11472
+ */
11367
11473
  alpha: number;
11368
11474
  };
11369
- accent_color: {
11475
+ /**
11476
+ * An RGBA color value
11477
+ */
11478
+ light_color?: {
11479
+ /**
11480
+ * An integer color channel value (0-255)
11481
+ */
11370
11482
  red: number;
11483
+ /**
11484
+ * An integer color channel value (0-255)
11485
+ */
11371
11486
  green: number;
11487
+ /**
11488
+ * An integer color channel value (0-255)
11489
+ */
11372
11490
  blue: number;
11491
+ /**
11492
+ * An integer color channel value (0-255)
11493
+ */
11373
11494
  alpha: number;
11374
11495
  };
11375
- dark_color: {
11496
+ /**
11497
+ * An RGBA color value
11498
+ */
11499
+ accent_color?: {
11500
+ /**
11501
+ * An integer color channel value (0-255)
11502
+ */
11503
+ red: number;
11504
+ /**
11505
+ * An integer color channel value (0-255)
11506
+ */
11507
+ green: number;
11508
+ /**
11509
+ * An integer color channel value (0-255)
11510
+ */
11511
+ blue: number;
11512
+ /**
11513
+ * An integer color channel value (0-255)
11514
+ */
11515
+ alpha: number;
11516
+ };
11517
+ /**
11518
+ * An RGBA color value
11519
+ */
11520
+ dark_color?: {
11521
+ /**
11522
+ * An integer color channel value (0-255)
11523
+ */
11376
11524
  red: number;
11525
+ /**
11526
+ * An integer color channel value (0-255)
11527
+ */
11377
11528
  green: number;
11529
+ /**
11530
+ * An integer color channel value (0-255)
11531
+ */
11378
11532
  blue: number;
11533
+ /**
11534
+ * An integer color channel value (0-255)
11535
+ */
11379
11536
  alpha: number;
11380
11537
  };
11381
11538
  /**
@@ -11494,6 +11651,10 @@ export type SiteMeta = {
11494
11651
  * Whether the [Milliseconds in datetime](https://www.datocms.com/product-updates/milliseconds-in-datetime) opt-in product update is active or not
11495
11652
  */
11496
11653
  milliseconds_in_datetime: boolean;
11654
+ /**
11655
+ * Whether the [Non-localized focal points](https://www.datocms.com/product-updates/non-localized-focal-points) opt-in product update is active or not
11656
+ */
11657
+ non_localized_focal_points: boolean;
11497
11658
  };
11498
11659
  /**
11499
11660
  * JSON API data
@@ -11592,28 +11753,88 @@ export type SiteUpdateSchema = {
11592
11753
  * The upload ID that is used as the logo for the project
11593
11754
  */
11594
11755
  logo: string | null;
11756
+ /**
11757
+ * An RGBA color value
11758
+ */
11595
11759
  primary_color: {
11760
+ /**
11761
+ * An integer color channel value (0-255)
11762
+ */
11596
11763
  red: number;
11764
+ /**
11765
+ * An integer color channel value (0-255)
11766
+ */
11597
11767
  green: number;
11768
+ /**
11769
+ * An integer color channel value (0-255)
11770
+ */
11598
11771
  blue: number;
11772
+ /**
11773
+ * An integer color channel value (0-255)
11774
+ */
11599
11775
  alpha: number;
11600
11776
  };
11777
+ /**
11778
+ * An RGBA color value
11779
+ */
11601
11780
  light_color: {
11781
+ /**
11782
+ * An integer color channel value (0-255)
11783
+ */
11602
11784
  red: number;
11785
+ /**
11786
+ * An integer color channel value (0-255)
11787
+ */
11603
11788
  green: number;
11789
+ /**
11790
+ * An integer color channel value (0-255)
11791
+ */
11604
11792
  blue: number;
11793
+ /**
11794
+ * An integer color channel value (0-255)
11795
+ */
11605
11796
  alpha: number;
11606
11797
  };
11798
+ /**
11799
+ * An RGBA color value
11800
+ */
11607
11801
  accent_color: {
11802
+ /**
11803
+ * An integer color channel value (0-255)
11804
+ */
11608
11805
  red: number;
11806
+ /**
11807
+ * An integer color channel value (0-255)
11808
+ */
11609
11809
  green: number;
11810
+ /**
11811
+ * An integer color channel value (0-255)
11812
+ */
11610
11813
  blue: number;
11814
+ /**
11815
+ * An integer color channel value (0-255)
11816
+ */
11611
11817
  alpha: number;
11612
11818
  };
11819
+ /**
11820
+ * An RGBA color value
11821
+ */
11613
11822
  dark_color?: {
11823
+ /**
11824
+ * An integer color channel value (0-255)
11825
+ */
11614
11826
  red: number;
11827
+ /**
11828
+ * An integer color channel value (0-255)
11829
+ */
11615
11830
  green: number;
11831
+ /**
11832
+ * An integer color channel value (0-255)
11833
+ */
11616
11834
  blue: number;
11835
+ /**
11836
+ * An integer color channel value (0-255)
11837
+ */
11617
11838
  alpha: number;
11618
11839
  };
11619
11840
  [k: string]: unknown;
@@ -11684,6 +11905,10 @@ export type SiteUpdateSchema = {
11684
11905
  * Whether the [Milliseconds in datetime](https://www.datocms.com/product-updates/milliseconds-in-datetime) opt-in product update is active or not
11685
11906
  */
11686
11907
  milliseconds_in_datetime?: boolean;
11908
+ /**
11909
+ * Whether the [Non-localized focal points](https://www.datocms.com/product-updates/non-localized-focal-points) opt-in product update is active or not
11910
+ */
11911
+ non_localized_focal_points?: boolean;
11687
11912
  };
11688
11913
  relationships?: {
11689
11914
  sso_default_role?: {
@@ -11783,6 +12008,13 @@ export type SiteActivateImprovedItemsListingTargetSchema = {
11783
12008
  export type SiteActivateMillisecondsInDatetimeTargetSchema = {
11784
12009
  data: Site;
11785
12010
  };
12011
+ /**
12012
+ * This interface was referenced by `Site`'s JSON-Schema
12013
+ * via the `activate_non_localized_focal_points.targetSchema` link.
12014
+ */
12015
+ export type SiteActivateNonLocalizedFocalPointsTargetSchema = {
12016
+ data: Site;
12017
+ };
11786
12018
  /**
11787
12019
  * This interface was referenced by `Site`'s JSON-Schema
11788
12020
  * via the `update_assets_cdn_default_settings.schema` link.
@@ -259,6 +259,28 @@ export default class Site extends BaseResource {
259
259
  * @deprecated This API call is to be considered private and might change without notice
260
260
  */
261
261
  rawActivateMillisecondsInDatetime(): Promise<RawApiTypes.SiteActivateMillisecondsInDatetimeTargetSchema>;
262
+ /**
263
+ * Activate non-localized focal points
264
+ *
265
+ * Read more: https://www.datocms.com/docs/content-management-api/resources/site/activate_non_localized_focal_points
266
+ *
267
+ * @throws {ApiError}
268
+ * @throws {TimeoutError}
269
+ *
270
+ * @deprecated This API call is to be considered private and might change without notice
271
+ */
272
+ activateNonLocalizedFocalPoints(): Promise<ApiTypes.Site>;
273
+ /**
274
+ * Activate non-localized focal points
275
+ *
276
+ * Read more: https://www.datocms.com/docs/content-management-api/resources/site/activate_non_localized_focal_points
277
+ *
278
+ * @throws {ApiError}
279
+ * @throws {TimeoutError}
280
+ *
281
+ * @deprecated This API call is to be considered private and might change without notice
282
+ */
283
+ rawActivateNonLocalizedFocalPoints(): Promise<RawApiTypes.SiteActivateNonLocalizedFocalPointsTargetSchema>;
262
284
  /**
263
285
  * Update CDN settings default assets
264
286
  *
@@ -18,7 +18,7 @@ export { default as BuildEvent } from './BuildEvent.js';
18
18
  export { default as SearchIndexEvent } from './SearchIndexEvent.js';
19
19
  export { default as Item } from './Item.js';
20
20
  export { default as ItemVersion } from './ItemVersion.js';
21
- export { default as Upload } from './Upload.js';
21
+ export { default as Upload } from '../../resources/Upload.js';
22
22
  export { default as UploadRequest } from './UploadRequest.js';
23
23
  export { default as UploadTrack } from './UploadTrack.js';
24
24
  export { default as ScheduledPublication } from './ScheduledPublication.js';
@@ -4,6 +4,7 @@ export * from './fieldTypes/index.js';
4
4
  export { Client } from './generated/Client.js';
5
5
  export type { ClientConfigOptions } from './generated/Client.js';
6
6
  export * as Resources from './generated/resources/index.js';
7
+ export type { UploadLocaleKeyedDefaultFieldMetadata, UploadLocaleKeyedDefaultFieldMetadataInRequest, } from './resources/Upload.js';
7
8
  export * from './utilities/buildBlockRecord.js';
8
9
  export * from './utilities/duplicateBlockRecord.js';
9
10
  export * from './utilities/fieldsContainingReferences.js';