@datocms/cma-client 4.0.0 → 4.0.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 (32) hide show
  1. package/dist/cjs/generated/Client.js +1 -1
  2. package/dist/cjs/generated/resources/Item.js +0 -96
  3. package/dist/cjs/generated/resources/Item.js.map +1 -1
  4. package/dist/cjs/generated/resources/Site.js +31 -0
  5. package/dist/cjs/generated/resources/Site.js.map +1 -1
  6. package/dist/cjs/generated/resources/Upload.js +0 -69
  7. package/dist/cjs/generated/resources/Upload.js.map +1 -1
  8. package/dist/esm/generated/Client.js +1 -1
  9. package/dist/esm/generated/SchemaTypes.d.ts +47 -176
  10. package/dist/esm/generated/SimpleSchemaTypes.d.ts +43 -127
  11. package/dist/esm/generated/resources/Item.d.ts +0 -66
  12. package/dist/esm/generated/resources/Item.js +0 -96
  13. package/dist/esm/generated/resources/Item.js.map +1 -1
  14. package/dist/esm/generated/resources/Site.d.ts +22 -0
  15. package/dist/esm/generated/resources/Site.js +31 -0
  16. package/dist/esm/generated/resources/Site.js.map +1 -1
  17. package/dist/esm/generated/resources/Upload.d.ts +0 -44
  18. package/dist/esm/generated/resources/Upload.js +0 -69
  19. package/dist/esm/generated/resources/Upload.js.map +1 -1
  20. package/dist/types/generated/SchemaTypes.d.ts +47 -176
  21. package/dist/types/generated/SimpleSchemaTypes.d.ts +43 -127
  22. package/dist/types/generated/resources/Item.d.ts +0 -66
  23. package/dist/types/generated/resources/Site.d.ts +22 -0
  24. package/dist/types/generated/resources/Upload.d.ts +0 -44
  25. package/package.json +4 -4
  26. package/resources.json +15 -86
  27. package/src/generated/Client.ts +1 -1
  28. package/src/generated/SchemaTypes.ts +48 -187
  29. package/src/generated/SimpleSchemaTypes.ts +43 -128
  30. package/src/generated/resources/Item.ts +0 -114
  31. package/src/generated/resources/Site.ts +37 -0
  32. package/src/generated/resources/Upload.ts +0 -88
@@ -315,75 +315,6 @@ var Upload = /** @class */ (function (_super) {
315
315
  body: body,
316
316
  });
317
317
  };
318
- /**
319
- * Batch add tags to uploads
320
- *
321
- * Read more: https://www.datocms.com/docs/content-management-api/resources/upload/batch_add_tags
322
- *
323
- * @throws {ApiError}
324
- * @throws {TimeoutError}
325
- *
326
- * @deprecated This API call is to be considered private and might change without notice
327
- */
328
- Upload.prototype.batchAddTags = function (body, queryParams) {
329
- return this.rawBatchAddTags(Utils.serializeRequestBody(body, {
330
- type: 'upload',
331
- attributes: ['tags'],
332
- relationships: [],
333
- }), queryParams).then(function (body) {
334
- return Utils.deserializeResponseBody(body);
335
- });
336
- };
337
- /**
338
- * Batch add tags to uploads
339
- *
340
- * Read more: https://www.datocms.com/docs/content-management-api/resources/upload/batch_add_tags
341
- *
342
- * @throws {ApiError}
343
- * @throws {TimeoutError}
344
- *
345
- * @deprecated This API call is to be considered private and might change without notice
346
- */
347
- Upload.prototype.rawBatchAddTags = function (body, queryParams) {
348
- return this.client.request({
349
- method: 'PUT',
350
- url: '/uploads/batch-add-tags',
351
- body: body,
352
- queryParams: queryParams,
353
- });
354
- };
355
- /**
356
- * Delete multiple uploads
357
- *
358
- * Read more: https://www.datocms.com/docs/content-management-api/resources/upload/batch_destroy
359
- *
360
- * @throws {ApiError}
361
- * @throws {TimeoutError}
362
- *
363
- * @deprecated This API call is to be considered private and might change without notice
364
- */
365
- Upload.prototype.batchDestroy = function (queryParams) {
366
- return this.rawBatchDestroy(queryParams).then(function (body) {
367
- return Utils.deserializeResponseBody(body);
368
- });
369
- };
370
- /**
371
- * Delete multiple uploads
372
- *
373
- * Read more: https://www.datocms.com/docs/content-management-api/resources/upload/batch_destroy
374
- *
375
- * @throws {ApiError}
376
- * @throws {TimeoutError}
377
- *
378
- * @deprecated This API call is to be considered private and might change without notice
379
- */
380
- Upload.prototype.rawBatchDestroy = function (queryParams) {
381
- return this.client.request({
382
- method: 'DELETE',
383
- url: '/uploads/batch-destroy',
384
- queryParams: queryParams,
385
- });
386
- };
387
318
  /**
388
319
  * Referenced records
389
320
  *
@@ -1 +1 @@
1
- {"version":3,"file":"Upload.js","sourceRoot":"","sources":["../../../../src/generated/resources/Upload.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,KAAK,KAAK,MAAM,4BAA4B,CAAC;AACpD,OAAO,YAAY,MAAM,oBAAoB,CAAC;AAI9C;IAAoC,0BAAY;IAAhD;;IA2fA,CAAC;IAxfC;;;;;;;OAOG;IACH,uBAAM,GAAN,UAAO,IAA0C;QAC/C,OAAO,IAAI,CAAC,SAAS,CACnB,KAAK,CAAC,oBAAoB,CAAiC,IAAI,EAAE;YAC/D,IAAI,EAAE,QAAQ;YACd,UAAU,EAAE;gBACV,MAAM;gBACN,WAAW;gBACX,QAAQ;gBACR,OAAO;gBACP,wBAAwB;gBACxB,MAAM;aACP;YACD,aAAa,EAAE,CAAC,mBAAmB,CAAC;SACrC,CAAC,CACH,CAAC,IAAI,CAAC,UAAC,IAAI;YACV,OAAA,KAAK,CAAC,uBAAuB,CAC3B,IAAI,CACL;QAFD,CAEC,CACF,CAAC;IACJ,CAAC;IAED;;;;;;;OAOG;IACH,0BAAS,GAAT,UACE,IAAoC;QAEpC,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,CAAoC;YAC5D,MAAM,EAAE,MAAM;YACd,GAAG,EAAE,UAAU;YACf,IAAI,MAAA;SACL,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;OAOG;IACH,qBAAI,GAAJ,UAAK,WAAyD;QAC5D,OAAO,IAAI,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,IAAI,CAAC,UAAC,IAAI;YACzC,OAAA,KAAK,CAAC,uBAAuB,CAC3B,IAAI,CACL;QAFD,CAEC,CACF,CAAC;IACJ,CAAC;IAED;;;;;;;OAOG;IACH,wBAAO,GAAP,UACE,WAAmD;QAEnD,OAAO,IAAI,CAAC,MAAM,CAAC,OAA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EAAE;YACd,aAAa,EAAE,CAAC,SAAS,CAAC;SAC3B,CAAC,CACH,CAAC,IAAI,CAAC,UAAC,IAAI;YACV,OAAA,KAAK,CAAC,uBAAuB,CAC3B,IAAI,CACL;QAFD,CAEC,CACF,CAAC;IACJ,CAAC;IAED;;;;;;;OAOG;IACH,+BAAc,GAAd,UACE,IAAyC;QAEzC,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,CAAyC;YACjE,MAAM,EAAE,MAAM;YACd,GAAG,EAAE,uBAAuB;YAC5B,IAAI,MAAA;SACL,CAAC,CAAC;IACL,CAAC;IAjae,WAAI,GAAG,QAAiB,CAAC;IAka3C,aAAC;CAAA,AAnaD,CAAoC,YAAY,GAma/C;eAnaoB,MAAM"}
@@ -764,36 +764,6 @@ export type ItemVersionInstancesHrefSchema = {
764
764
  };
765
765
  [k: string]: unknown;
766
766
  };
767
- /**
768
- * This interface was referenced by `Item`'s JSON-Schema
769
- * via the `batch_destroy.hrefSchema` link.
770
- */
771
- export type ItemBatchDestroyHrefSchema = {
772
- /**
773
- * IDs of records to delete, comma separated (a maximum of 200 IDs are allowed per request)
774
- */
775
- 'filter[ids]': string;
776
- };
777
- /**
778
- * This interface was referenced by `Item`'s JSON-Schema
779
- * via the `batch_publish.hrefSchema` link.
780
- */
781
- export type ItemBatchPublishHrefSchema = {
782
- /**
783
- * IDs of records to publish, comma separated (a maximum of 200 IDs are allowed per request)
784
- */
785
- 'filter[ids]': string;
786
- };
787
- /**
788
- * This interface was referenced by `Item`'s JSON-Schema
789
- * via the `batch_unpublish.hrefSchema` link.
790
- */
791
- export type ItemBatchUnpublishHrefSchema = {
792
- /**
793
- * IDs of records to unpublish, comma separated (a maximum of 200 IDs are allowed per request)
794
- */
795
- 'filter[ids]': string;
796
- };
797
767
  /**
798
768
  * This interface was referenced by `Item`'s JSON-Schema
799
769
  * via the `publish.schema` link.
@@ -916,28 +886,6 @@ export type UploadInstancesHrefSchema = {
916
886
  };
917
887
  [k: string]: unknown;
918
888
  };
919
- /**
920
- * This interface was referenced by `Upload`'s JSON-Schema
921
- * via the `batch_add_tags.hrefSchema` link.
922
- */
923
- export type UploadBatchAddTagsHrefSchema = {
924
- /**
925
- * IDs to tag, comma separated
926
- */
927
- 'filter[ids]'?: string;
928
- [k: string]: unknown;
929
- };
930
- /**
931
- * This interface was referenced by `Upload`'s JSON-Schema
932
- * via the `batch_destroy.hrefSchema` link.
933
- */
934
- export type UploadBatchDestroyHrefSchema = {
935
- /**
936
- * IDs to destroy, comma separated
937
- */
938
- 'filter[ids]'?: string;
939
- [k: string]: unknown;
940
- };
941
889
  /**
942
890
  * This interface was referenced by `Upload`'s JSON-Schema
943
891
  * via the `references.hrefSchema` link.
@@ -4968,7 +4916,7 @@ export type ItemTypeReorderFieldsAndFieldsetsJobSchema = {
4968
4916
  * | Code | `structured_text` |
4969
4917
  * | Built-in editors for the field | `structured_text` |
4970
4918
  * | Required validators | `structured_text_blocks`, `structured_text_links` |
4971
- * | Other validators available | `length` |
4919
+ * | Other validators available | `length`, `structured_text_inline_blocks` |
4972
4920
  *
4973
4921
  * </details>
4974
4922
  *
@@ -5304,6 +5252,17 @@ export type ItemTypeReorderFieldsAndFieldsetsJobSchema = {
5304
5252
  * </details>
5305
5253
  *
5306
5254
  * <details>
5255
+ * <summary><code>structured_text_inline_blocks</code></summary>
5256
+ *
5257
+ * Only accept references to block records of the specified block models.
5258
+ *
5259
+ * | Parameter | Type | Required | Description |
5260
+ * | ------------ | ----------------------- | -------- | ------------------------------ |
5261
+ * | `item_types` | `Array<Block Model ID>` | ✅ | Set of allowed Block Model IDs |
5262
+ *
5263
+ * </details>
5264
+ *
5265
+ * <details>
5307
5266
  * <summary><code>structured_text_links</code></summary>
5308
5267
  *
5309
5268
  * Only accept `itemLink` to `inlineItem` nodes for records of the specified models.
@@ -7104,6 +7063,8 @@ export type ItemCurrentVsPublishedStateAttributes = {
7104
7063
  added_locales: string[];
7105
7064
  removed_locales: string[];
7106
7065
  non_localized_fields_changed: boolean;
7066
+ current_version_invalid_locales: string[];
7067
+ current_version_non_localized_fields_invalid: boolean;
7107
7068
  };
7108
7069
  /**
7109
7070
  * JSON API links
@@ -7464,60 +7425,6 @@ export type ItemDestroyTargetSchema = {
7464
7425
  export type ItemDestroyJobSchema = {
7465
7426
  data: Item;
7466
7427
  };
7467
- /**
7468
- * This interface was referenced by `Item`'s JSON-Schema
7469
- * via the `batch_destroy.targetSchema` link.
7470
- */
7471
- export type ItemBatchDestroyTargetSchema = {
7472
- data: Job;
7473
- };
7474
- /**
7475
- * This interface was referenced by `Item`'s JSON-Schema
7476
- * via the `batch_destroy.jobSchema` link.
7477
- */
7478
- export type ItemBatchDestroyJobSchema = {
7479
- data: unknown[];
7480
- meta: {
7481
- successful: number;
7482
- failed: number;
7483
- };
7484
- };
7485
- /**
7486
- * This interface was referenced by `Item`'s JSON-Schema
7487
- * via the `batch_publish.targetSchema` link.
7488
- */
7489
- export type ItemBatchPublishTargetSchema = {
7490
- data: Job;
7491
- };
7492
- /**
7493
- * This interface was referenced by `Item`'s JSON-Schema
7494
- * via the `batch_publish.jobSchema` link.
7495
- */
7496
- export type ItemBatchPublishJobSchema = {
7497
- data: unknown[];
7498
- meta: {
7499
- successful: number;
7500
- failed: number;
7501
- };
7502
- };
7503
- /**
7504
- * This interface was referenced by `Item`'s JSON-Schema
7505
- * via the `batch_unpublish.targetSchema` link.
7506
- */
7507
- export type ItemBatchUnpublishTargetSchema = {
7508
- data: Job;
7509
- };
7510
- /**
7511
- * This interface was referenced by `Item`'s JSON-Schema
7512
- * via the `batch_unpublish.jobSchema` link.
7513
- */
7514
- export type ItemBatchUnpublishJobSchema = {
7515
- data: unknown[];
7516
- meta: {
7517
- successful: number;
7518
- failed: number;
7519
- };
7520
- };
7521
7428
  /**
7522
7429
  * This interface was referenced by `Item`'s JSON-Schema
7523
7430
  * via the `publish.targetSchema` link.
@@ -8115,57 +8022,6 @@ export type UploadUpdateTargetSchema = {
8115
8022
  export type UploadUpdateJobSchema = {
8116
8023
  data: Upload;
8117
8024
  };
8118
- /**
8119
- * This interface was referenced by `Upload`'s JSON-Schema
8120
- * via the `batch_add_tags.schema` link.
8121
- */
8122
- export type UploadBatchAddTagsSchema = {
8123
- data: {
8124
- type: UploadType;
8125
- attributes: {
8126
- /**
8127
- * Tags
8128
- */
8129
- tags: string[];
8130
- };
8131
- };
8132
- };
8133
- /**
8134
- * This interface was referenced by `Upload`'s JSON-Schema
8135
- * via the `batch_add_tags.targetSchema` link.
8136
- */
8137
- export type UploadBatchAddTagsTargetSchema = {
8138
- data: Job;
8139
- };
8140
- /**
8141
- * This interface was referenced by `Upload`'s JSON-Schema
8142
- * via the `batch_add_tags.jobSchema` link.
8143
- */
8144
- export type UploadBatchAddTagsJobSchema = {
8145
- data: unknown[];
8146
- meta: {
8147
- successful: number;
8148
- failed: number;
8149
- };
8150
- };
8151
- /**
8152
- * This interface was referenced by `Upload`'s JSON-Schema
8153
- * via the `batch_destroy.targetSchema` link.
8154
- */
8155
- export type UploadBatchDestroyTargetSchema = {
8156
- data: Job;
8157
- };
8158
- /**
8159
- * This interface was referenced by `Upload`'s JSON-Schema
8160
- * via the `batch_destroy.jobSchema` link.
8161
- */
8162
- export type UploadBatchDestroyJobSchema = {
8163
- data: unknown[];
8164
- meta: {
8165
- successful: number;
8166
- failed: number;
8167
- };
8168
- };
8169
8025
  /**
8170
8026
  * This interface was referenced by `Upload`'s JSON-Schema
8171
8027
  * via the `references.targetSchema` link.
@@ -10906,37 +10762,41 @@ export type SiteMeta = {
10906
10762
  */
10907
10763
  created_at: string;
10908
10764
  /**
10909
- * Whether the Improved API Timezone Management option is active or not
10765
+ * The default value for the draft mode option in all the environment's models
10766
+ */
10767
+ draft_mode_default: boolean;
10768
+ /**
10769
+ * Whether the site has custom upload storage settings
10770
+ */
10771
+ custom_upload_storage_settings?: boolean;
10772
+ /**
10773
+ * Whether the [Improved API Timezone Management](https://www.datocms.com/product-updates/improved-timezone-management) opt-in product update is active or not
10910
10774
  */
10911
10775
  improved_timezone_management: boolean;
10912
10776
  /**
10913
- * Whether the Improved API Hex Management option is active or not
10777
+ * Whether the [Improved API Hex Management](https://www.datocms.com/product-updates/improved-hex-management) opt-in product update is active or not
10914
10778
  */
10915
10779
  improved_hex_management: boolean;
10916
10780
  /**
10917
- * Whether the Improved GraphQL multi-locale fields option is active or not
10781
+ * Whether the [Improved GraphQL multi-locale fields](https://www.datocms.com/product-updates/improved-gql-multilocale-fields) opt-in product update is active or not
10918
10782
  */
10919
10783
  improved_gql_multilocale_fields: boolean;
10920
10784
  /**
10921
- * Whether the Improved GraphQL visibility control option is active or not
10785
+ * Whether the [Improved GraphQL visibility control](https://www.datocms.com/product-updates/improved-gql-visibility-control) opt-in product update is active or not
10922
10786
  */
10923
10787
  improved_gql_visibility_control: boolean;
10924
10788
  /**
10925
- * Whether the Improved boolean fields option is active or not
10789
+ * Whether the [Improved boolean fields](https://www.datocms.com/product-updates/improved-boolean-fields) opt-in product update is active or not
10926
10790
  */
10927
10791
  improved_boolean_fields: boolean;
10928
10792
  /**
10929
- * The default value for the draft mode option in all the environment's models
10930
- */
10931
- draft_mode_default: boolean;
10932
- /**
10933
- * Whether the Improved validation at publishing option is active or not
10793
+ * Whether the [Improved validation at publishing](https://www.datocms.com/product-updates/force-validations-on-records-when-publishing) opt-in product update is active or not
10934
10794
  */
10935
10795
  improved_validation_at_publishing: boolean;
10936
10796
  /**
10937
- * Whether the site has custom upload storage settings
10797
+ * Whether the [Improved exposure of inline blocks in the Content Delivery API](https://www.datocms.com/product-updates/improved-exposure-of-inline-blocks-in-cda) opt-in product update is active or not
10938
10798
  */
10939
- custom_upload_storage_settings?: boolean;
10799
+ improved_exposure_of_inline_blocks_in_cda: boolean;
10940
10800
  };
10941
10801
  /**
10942
10802
  * JSON API data
@@ -11084,23 +10944,23 @@ export type SiteUpdateSchema = {
11084
10944
  };
11085
10945
  meta?: {
11086
10946
  /**
11087
- * Whether the Improved API Timezone Management option is active or not
10947
+ * Whether the [Improved API Timezone Management](https://www.datocms.com/product-updates/improved-timezone-management) opt-in product update is active or not
11088
10948
  */
11089
10949
  improved_timezone_management?: boolean;
11090
10950
  /**
11091
- * Whether the Improved API Hex Management option is active or not
10951
+ * Whether the [Improved API Hex Management](https://www.datocms.com/product-updates/improved-hex-management) opt-in product update is active or not
11092
10952
  */
11093
10953
  improved_hex_management?: boolean;
11094
10954
  /**
11095
- * Whether the Improved GraphQL multi-locale fields option is active or not
10955
+ * Whether the [Improved GraphQL multi-locale fields](https://www.datocms.com/product-updates/improved-gql-multilocale-fields) opt-in product update is active or not
11096
10956
  */
11097
10957
  improved_gql_multilocale_fields?: boolean;
11098
10958
  /**
11099
- * Whether the Improved GraphQL visibility control option is active or not
10959
+ * Whether the [Improved GraphQL visibility control](https://www.datocms.com/product-updates/improved-gql-visibility-control) opt-in product update is active or not
11100
10960
  */
11101
10961
  improved_gql_visibility_control?: boolean;
11102
10962
  /**
11103
- * Whether the Improved boolean fields option is active or not
10963
+ * Whether the [Improved boolean fields](https://www.datocms.com/product-updates/improved-boolean-fields) opt-in product update is active or not
11104
10964
  */
11105
10965
  improved_boolean_fields?: boolean;
11106
10966
  /**
@@ -11108,13 +10968,17 @@ export type SiteUpdateSchema = {
11108
10968
  */
11109
10969
  draft_mode_default?: boolean;
11110
10970
  /**
11111
- * Whether the Improved validation at publishing option is active or not
10971
+ * Whether the [Improved validation at publishing](https://www.datocms.com/product-updates/force-validations-on-records-when-publishing) opt-in product update is active or not
11112
10972
  */
11113
10973
  improved_validation_at_publishing?: boolean;
11114
10974
  /**
11115
10975
  * Whether the site has custom upload storage settings
11116
10976
  */
11117
10977
  custom_upload_storage_settings?: boolean;
10978
+ /**
10979
+ * Whether the [Improved exposure of inline blocks in the Content Delivery API](https://www.datocms.com/product-updates/improved-exposure-of-inline-blocks-in-cda) opt-in product update is active or not
10980
+ */
10981
+ improved_exposure_of_inline_blocks_in_cda?: boolean;
11118
10982
  };
11119
10983
  relationships?: {
11120
10984
  sso_default_role?: {
@@ -11193,6 +11057,13 @@ export type SiteActivateDraftModeAsDefaultTargetSchema = {
11193
11057
  export type SiteActivateImprovedValidationAtPublishingTargetSchema = {
11194
11058
  data: Site;
11195
11059
  };
11060
+ /**
11061
+ * This interface was referenced by `Site`'s JSON-Schema
11062
+ * via the `activate_improved_exposure_of_inline_blocks_in_cda.targetSchema` link.
11063
+ */
11064
+ export type SiteActivateImprovedExposureOfInlineBlocksInCdaTargetSchema = {
11065
+ data: Site;
11066
+ };
11196
11067
  /**
11197
11068
  * This interface was referenced by `Site`'s JSON-Schema
11198
11069
  * via the `update_assets_cdn_default_settings.schema` link.