@wix/multilingual 1.0.51 → 1.0.52

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/multilingual",
3
- "version": "1.0.51",
3
+ "version": "1.0.52",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -21,9 +21,9 @@
21
21
  "@wix/multilingual_entity-mapper": "1.0.16",
22
22
  "@wix/multilingual_machine-translation": "1.0.30",
23
23
  "@wix/multilingual_site-translator": "1.0.15",
24
- "@wix/multilingual_translation-contents": "1.0.23",
25
- "@wix/multilingual_translation-published-contents": "1.0.9",
26
- "@wix/multilingual_translation-schemas": "1.0.22"
24
+ "@wix/multilingual_translation-contents": "1.0.24",
25
+ "@wix/multilingual_translation-published-contents": "1.0.10",
26
+ "@wix/multilingual_translation-schemas": "1.0.23"
27
27
  },
28
28
  "devDependencies": {
29
29
  "glob": "^10.4.1",
@@ -48,5 +48,5 @@
48
48
  "fqdn": ""
49
49
  }
50
50
  },
51
- "falconPackageHash": "bff9b502eb391e84378784dac9a6f2756deabad8a71499f6395aaa7c"
51
+ "falconPackageHash": "7e620dee6becfaa438ff15b454bea6504792d230a512bbb7d9187775"
52
52
  }
@@ -1312,10 +1312,9 @@ type MaybeContext$4<T extends Descriptors$4> = globalThis.ContextualClient exten
1312
1312
  host: Host$4;
1313
1313
  } ? BuildDescriptors$4<T, globalThis.ContextualClient['host']> : T;
1314
1314
 
1315
- /** Represents a content of an entity with its published translations */
1316
1315
  interface PublishedContent {
1317
1316
  /**
1318
- * Pubished content ID.
1317
+ * Published content ID.
1319
1318
  * @readonly
1320
1319
  */
1321
1320
  _id?: string | null;
@@ -1333,14 +1332,14 @@ interface PublishedContent {
1333
1332
  locale?: string;
1334
1333
  /** List of fields that have been translated and published for the given locale. */
1335
1334
  fields?: PublishedContentField[];
1336
- /** A reference to the parent content defined by the app developer. For example, if the content is a menu item, this property would link to the content of the menu it belongs to. */
1335
+ /** A reference to the parent content. For example, if the content is a menu item, this property would contain the `entityId` of the menu it belongs to. */
1337
1336
  parentEntityId?: string | null;
1338
1337
  /** Custom field data for the published content object. */
1339
1338
  extendedFields?: ExtendedFields;
1340
1339
  }
1341
1340
  interface SchemaKey$1 {
1342
1341
  /**
1343
- * ID of app that created the schema.
1342
+ * ID of the app that created the schema.
1344
1343
  * @readonly
1345
1344
  */
1346
1345
  appId?: string;
@@ -6903,20 +6902,20 @@ interface Content {
6903
6902
  locale?: string;
6904
6903
  /** List of fields for the translation content. This property uses a string to map to a `ContentField` (`Map<string, ContentField>`). The string serves as a key, which you'll need to access each field in the content and when referencing a translation schema. */
6905
6904
  fields?: Record<string, ContentField>;
6906
- /** A reference to the parent content defined by the app developer. For example, if the content is a menu item, this property would link to the content with the `entityId` of the menu it belongs to. */
6905
+ /** A reference to the parent content. For example, if the content is a menu item, this property would contain the `entityId` of the menu it belongs to. */
6907
6906
  parentEntityId?: string | null;
6908
6907
  /**
6909
6908
  * The aggregated published status across all content fields.
6910
6909
  *
6911
6910
  * Supported values:
6912
- * + `UNPUBLISHED`: None of the fields have been published to the live site.
6913
- * + `PUBLISHED`: All of the fields have been published to the live site and are visible to site visitors.
6914
- * + `PARTIALLY_PUBLISHED`: Some of the fields have been published to the live site and are visible to site visitors.
6911
+ * + `UNPUBLISHED`: None of the fields have been sent for publication.
6912
+ * + `PUBLISHED`: All of the fields have been sent for publication.
6913
+ * + `PARTIALLY_PUBLISHED`: Some of the fields have been sent for publication.
6915
6914
  * @readonly
6916
6915
  */
6917
6916
  publishStatus?: PublishStatus;
6918
6917
  /**
6919
- * Contains the value of the preview field according to the schema if exists.
6918
+ * Contains the value of the preview field if the schema defines one.
6920
6919
  * @readonly
6921
6920
  */
6922
6921
  previewField?: string | null;
@@ -6943,18 +6942,22 @@ interface ContentField extends ContentFieldValueOneOf {
6943
6942
  /** Wix Media Manager document. */
6944
6943
  document?: string;
6945
6944
  /**
6946
- * Field unique identifier. Validated according to Regex `^[A-Za-z0-9-_)(]+$`. Field IDs may contain parenthesis to reference repeated items, such as images. These parenthesis can't be nested and each open one must have a closed one. For example, `title()()` is valid, while `title)(` and `title(())` aren't valid. The value inside the parenthesis is validated according to Regex `^[^)(\\]\\[\\.]+$`.
6945
+ * Field unique identifier. Validated according to Regex `^[A-Za-z0-9-_)(]+$`. Field IDs may contain parentheses to reference repeated items, such as images. These parentheses can't be nested and each opening parenthesis must be followed by a closing one. For example, `title()()` is valid, while `title)(` and `title(())` aren't valid. The value inside the parenthesis is validated according to Regex `^[^)(\\]\\[\\.]+$`.
6947
6946
  * @readonly
6948
6947
  */
6949
6948
  _id?: string;
6950
- /** Whether to publish the translation content to the live site, making it visible to site visitors. */
6949
+ /**
6950
+ * Whether to publish the translation content to the live site, making it visible to site visitors.
6951
+ *
6952
+ * Default: `false`
6953
+ */
6951
6954
  published?: boolean;
6952
6955
  /**
6953
- * The source that updated the translation content.
6956
+ * *Required.** The source that updated the translation content.
6954
6957
  * Supported values:
6955
- * + `USER`: The site owner.
6956
- * + `EXTERNAL_APP`: An external translation app. For example, Smartling.
6957
- * + `Machine`: Auto translaton service. For example, Google Translate.
6958
+ * + `USER`: The Wix user.
6959
+ * + `EXTERNAL_APP`: An external translation app.
6960
+ * + `MACHINE`: Machine translaton service.
6958
6961
  */
6959
6962
  updatedBy?: UpdaterIdentity;
6960
6963
  /**
@@ -8265,7 +8268,7 @@ interface UpdateContentResponse {
8265
8268
  content?: Content;
8266
8269
  }
8267
8270
  interface UpdateContentByKeyRequest {
8268
- /** Content to be updated, may be partial. */
8271
+ /** Content to update. */
8269
8272
  content: Content;
8270
8273
  }
8271
8274
  interface UpdateContentByKeyResponse {
@@ -8415,7 +8418,7 @@ interface PagingMetadataV2 {
8415
8418
  cursors?: Cursors$1;
8416
8419
  }
8417
8420
  interface SearchContentsRequest {
8418
- /** WQL expression, Aggregation and Search */
8421
+ /** Search query and aggregation information. */
8419
8422
  search?: CursorSearch;
8420
8423
  }
8421
8424
  interface CursorSearch extends CursorSearchPagingMethodOneOf {
@@ -8873,7 +8876,7 @@ interface ApplicationError {
8873
8876
  interface BulkContentResult {
8874
8877
  /** Item metadata. */
8875
8878
  itemMetadata?: ItemMetadata;
8876
- /** Translation Content. This field is only returned if the operation was successful and `returnEntity` was set to true in the request. */
8879
+ /** Translation content. This field is only returned if the operation was successful and `returnEntity` was set to true in the request. */
8877
8880
  item?: Content;
8878
8881
  }
8879
8882
  interface BulkActionMetadata {
@@ -8885,7 +8888,7 @@ interface BulkActionMetadata {
8885
8888
  undetailedFailures?: number;
8886
8889
  }
8887
8890
  interface BulkUpdateContentRequest {
8888
- /** Contents to be updated. TODO: think again if we want to increase maxSize */
8891
+ /** Translation content items to update. */
8889
8892
  contents: BulkUpdateContentRequestMaskedContent[];
8890
8893
  /** Whether to include the updated translation content items in the response. Set to `true` to receive the translation content items in the response. */
8891
8894
  returnEntity?: boolean;
@@ -8903,29 +8906,29 @@ interface BulkUpdateContentResponse {
8903
8906
  interface BulkUpdateContentResponseBulkContentResult {
8904
8907
  /** Item metadata. */
8905
8908
  itemMetadata?: ItemMetadata;
8906
- /** Translation Content. This field is only returned if the operation was successful and `returnEntity` was set to true in the request. */
8909
+ /** Translation content. This field is only returned if the operation was successful and `returnEntity` was set to true in the request. */
8907
8910
  item?: Content;
8908
8911
  }
8909
8912
  interface BulkUpdateContentByKeyRequest {
8910
- /** Contents to be updated. TODO: think again if we want to increase maxSize */
8913
+ /** Translation content items to update. */
8911
8914
  contents: MaskedContent[];
8912
- /** set to `true` if you wish to receive back the created contents in the response */
8915
+ /** Whether to include the created translation content items in the response. Set to `true` to receive the translation content items in the response. */
8913
8916
  returnEntity?: boolean;
8914
8917
  }
8915
8918
  interface MaskedContent {
8916
- /** Content to be updated, may be partial */
8919
+ /** Translation content to update. */
8917
8920
  content?: Content;
8918
8921
  }
8919
8922
  interface BulkUpdateContentByKeyResponse {
8920
- /** List of results */
8923
+ /** Items created by bulk action. */
8921
8924
  results?: BulkUpdateContentByKeyResponseBulkContentResult[];
8922
- /** metadata */
8925
+ /** Bulk action metadata. */
8923
8926
  bulkActionMetadata?: BulkActionMetadata;
8924
8927
  }
8925
8928
  interface BulkUpdateContentByKeyResponseBulkContentResult {
8926
- /** metadata */
8929
+ /** Item metadata. */
8927
8930
  itemMetadata?: ItemMetadata;
8928
- /** Only exists if `returnEntity` was set to true in the request */
8931
+ /** Translation content. This field is only returned if the operation was successful and `returnEntity` was set to true in the request. */
8929
8932
  item?: Content;
8930
8933
  }
8931
8934
  interface PermissiveBulkUpdateContentRequest {
@@ -8945,13 +8948,13 @@ interface PermissiveBulkUpdateContentResponse {
8945
8948
  bulkActionMetadata?: BulkActionMetadata;
8946
8949
  }
8947
8950
  interface PermissiveBulkUpdateContentResponseBulkContentResult {
8948
- /** metadata */
8951
+ /** Item metadata. */
8949
8952
  itemMetadata?: ItemMetadata;
8950
- /** Only exists if `returnEntity` was set to true in the request */
8953
+ /** Translation content. This field is only returned if the operation was successful and `returnEntity` was set to true in the request. */
8951
8954
  item?: Content;
8952
8955
  }
8953
8956
  interface BulkDeleteContentRequest {
8954
- /** Content ids to be deleted. TODO: think again if we want to increase maxSize */
8957
+ /** IDs of the translation content items to delete. */
8955
8958
  contentIds: string[];
8956
8959
  }
8957
8960
  interface BulkDeleteContentResponse {
@@ -9564,20 +9567,20 @@ interface UpdateContent {
9564
9567
  locale?: string;
9565
9568
  /** List of fields for the translation content. This property uses a string to map to a `ContentField` (`Map<string, ContentField>`). The string serves as a key, which you'll need to access each field in the content and when referencing a translation schema. */
9566
9569
  fields?: Record<string, ContentField>;
9567
- /** A reference to the parent content defined by the app developer. For example, if the content is a menu item, this property would link to the content with the `entityId` of the menu it belongs to. */
9570
+ /** A reference to the parent content. For example, if the content is a menu item, this property would contain the `entityId` of the menu it belongs to. */
9568
9571
  parentEntityId?: string | null;
9569
9572
  /**
9570
9573
  * The aggregated published status across all content fields.
9571
9574
  *
9572
9575
  * Supported values:
9573
- * + `UNPUBLISHED`: None of the fields have been published to the live site.
9574
- * + `PUBLISHED`: All of the fields have been published to the live site and are visible to site visitors.
9575
- * + `PARTIALLY_PUBLISHED`: Some of the fields have been published to the live site and are visible to site visitors.
9576
+ * + `UNPUBLISHED`: None of the fields have been sent for publication.
9577
+ * + `PUBLISHED`: All of the fields have been sent for publication.
9578
+ * + `PARTIALLY_PUBLISHED`: Some of the fields have been sent for publication.
9576
9579
  * @readonly
9577
9580
  */
9578
9581
  publishStatus?: PublishStatus;
9579
9582
  /**
9580
- * Contains the value of the preview field according to the schema if exists.
9583
+ * Contains the value of the preview field if the schema defines one.
9581
9584
  * @readonly
9582
9585
  */
9583
9586
  previewField?: string | null;
@@ -9652,7 +9655,7 @@ interface ContentsQueryBuilder {
9652
9655
  find: () => Promise<ContentsQueryResult>;
9653
9656
  }
9654
9657
  interface SearchContentsOptions {
9655
- /** WQL expression, Aggregation and Search */
9658
+ /** Search query and aggregation information. */
9656
9659
  search?: CursorSearch;
9657
9660
  }
9658
9661
  interface BulkCreateContentOptions {
@@ -9664,7 +9667,7 @@ interface BulkUpdateContentOptions {
9664
9667
  returnEntity?: boolean;
9665
9668
  }
9666
9669
  interface BulkUpdateContentByKeyOptions {
9667
- /** set to `true` if you wish to receive back the created contents in the response */
9670
+ /** Whether to include the created translation content items in the response. Set to `true` to receive the translation content items in the response. */
9668
9671
  returnEntity?: boolean;
9669
9672
  }
9670
9673
 
@@ -9691,7 +9694,7 @@ interface GetContentSignature {
9691
9694
  declare function updateContent$1(httpClient: HttpClient$1): UpdateContentSignature;
9692
9695
  interface UpdateContentSignature {
9693
9696
  /**
9694
- * Updates a translation content item.
9697
+ * Updates a translation content item by ID.
9695
9698
  *
9696
9699
  * To remove a field, pass the field key with an empty object as the value. For example:
9697
9700
  *
@@ -9708,7 +9711,7 @@ interface UpdateContentSignature {
9708
9711
  declare function updateContentByKey$1(httpClient: HttpClient$1): UpdateContentByKeySignature;
9709
9712
  interface UpdateContentByKeySignature {
9710
9713
  /**
9711
- * Updates a translation content item by key.
9714
+ * Updates a translation content item using a unique key, which is a combination of `content.schemaId`, `content.entityId`, and `content.locale`.
9712
9715
  *
9713
9716
  * To remove a field, pass the field key with an empty object as the value. For example:
9714
9717
  *
@@ -9717,7 +9720,7 @@ interface UpdateContentByKeySignature {
9717
9720
  * "title": {}
9718
9721
  * }
9719
9722
  * ```
9720
- * @param - Content to be updated, may be partial.
9723
+ * @param - Content to update.
9721
9724
  */
9722
9725
  (content: Content): Promise<UpdateContentByKeyResponse & UpdateContentByKeyResponseNonNullableFields>;
9723
9726
  }
@@ -9732,7 +9735,7 @@ interface DeleteContentSignature {
9732
9735
  declare function queryContents$1(httpClient: HttpClient$1): QueryContentsSignature;
9733
9736
  interface QueryContentsSignature {
9734
9737
  /**
9735
- * Retrieves a list of translation content given the provided paging, filtering, and sorting. Up to 100 translation content items can be returned per request.
9738
+ * Retrieves a list of translation content items given the provided paging, filtering, and sorting. Up to 100 translation content items can be returned per request.
9736
9739
  *
9737
9740
  * The default `sort` is `id` in `ASC`.
9738
9741
  *
@@ -9747,7 +9750,7 @@ interface SearchContentsSignature {
9747
9750
  /**
9748
9751
  * Retrieves a list of all translation content associated with a site that matches the search query, with optional data aggregation.
9749
9752
  *
9750
- * Note that this method retrieves translation content created by you or others.
9753
+ * Note that this method allows you to retrieve all translation content for a site, regardless of which app created it.
9751
9754
  *
9752
9755
  * Use this method to search translation content fields on a site for a given expression, and/or to perform data aggregations on a site's translation content fields.
9753
9756
  *
@@ -9770,16 +9773,32 @@ interface BulkCreateContentSignature {
9770
9773
  declare function bulkUpdateContent$1(httpClient: HttpClient$1): BulkUpdateContentSignature;
9771
9774
  interface BulkUpdateContentSignature {
9772
9775
  /**
9773
- * Updates multiple translation content items.
9774
- * @param - Contents to be updated. TODO: think again if we want to increase maxSize
9776
+ * Updates multiple translation content items by ID.
9777
+ *
9778
+ * To remove a field, pass the field key with an empty object as the value. For example:
9779
+ *
9780
+ * ```json
9781
+ * "fields": {
9782
+ * "title": {}
9783
+ * }
9784
+ * ```
9785
+ * @param - Translation content items to update.
9775
9786
  */
9776
9787
  (contents: BulkUpdateContentRequestMaskedContent[], options?: BulkUpdateContentOptions | undefined): Promise<BulkUpdateContentResponse & BulkUpdateContentResponseNonNullableFields>;
9777
9788
  }
9778
9789
  declare function bulkUpdateContentByKey$1(httpClient: HttpClient$1): BulkUpdateContentByKeySignature;
9779
9790
  interface BulkUpdateContentByKeySignature {
9780
9791
  /**
9781
- * update multiple Contents in a single request. Works synchronously. Each content is identified by a unique key, a combination of (schemaId, entityId, locale)
9782
- * @param - Contents to be updated. TODO: think again if we want to increase maxSize
9792
+ * Updates multiple translation content items using a unique key, which is a combination of `contents.content.schemaId`, `contents.content.entityId`, and `contents.content.locale`.
9793
+ *
9794
+ * To remove a field, pass the field key with an empty object as the value. For example:
9795
+ *
9796
+ * ```json
9797
+ * "fields": {
9798
+ * "title": {}
9799
+ * }
9800
+ * ```
9801
+ * @param - Translation content items to update.
9783
9802
  */
9784
9803
  (contents: MaskedContent[], options?: BulkUpdateContentByKeyOptions | undefined): Promise<BulkUpdateContentByKeyResponse & BulkUpdateContentByKeyResponseNonNullableFields>;
9785
9804
  }
@@ -9787,7 +9806,7 @@ declare function bulkDeleteContent$1(httpClient: HttpClient$1): BulkDeleteConten
9787
9806
  interface BulkDeleteContentSignature {
9788
9807
  /**
9789
9808
  * Deletes multiple translation content items.
9790
- * @param - Content ids to be deleted. TODO: think again if we want to increase maxSize
9809
+ * @param - IDs of the translation content items to delete.
9791
9810
  */
9792
9811
  (contentIds: string[]): Promise<BulkDeleteContentResponse & BulkDeleteContentResponseNonNullableFields>;
9793
9812
  }
@@ -9828,15 +9847,21 @@ declare const bulkUpdateContentByKey: MaybeContext$1<BuildRESTFunction$1<typeof
9828
9847
  declare const bulkDeleteContent: MaybeContext$1<BuildRESTFunction$1<typeof bulkDeleteContent$1> & typeof bulkDeleteContent$1>;
9829
9848
 
9830
9849
  type _publicOnContentCreatedType = typeof onContentCreated$1;
9831
- /** */
9850
+ /**
9851
+ * Triggered when translation content is created.
9852
+ */
9832
9853
  declare const onContentCreated: ReturnType<typeof createEventModule$1<_publicOnContentCreatedType>>;
9833
9854
 
9834
9855
  type _publicOnContentUpdatedType = typeof onContentUpdated$1;
9835
- /** */
9856
+ /**
9857
+ * Triggered when translation content is updated.
9858
+ */
9836
9859
  declare const onContentUpdated: ReturnType<typeof createEventModule$1<_publicOnContentUpdatedType>>;
9837
9860
 
9838
9861
  type _publicOnContentDeletedType = typeof onContentDeleted$1;
9839
- /** */
9862
+ /**
9863
+ * Triggered when translation content is deleted.
9864
+ */
9840
9865
  declare const onContentDeleted: ReturnType<typeof createEventModule$1<_publicOnContentDeletedType>>;
9841
9866
 
9842
9867
  type context$1_Aggregation = Aggregation;
@@ -10555,13 +10580,20 @@ interface Schema {
10555
10580
  fields?: Record<string, SchemaField>;
10556
10581
  /** Fields displayed in content previews. For example, a product name for a product translation schema. */
10557
10582
  previewFields?: PreviewFields;
10558
- /** Whether the translation schema is hidden from the site. */
10583
+ /**
10584
+ * Whether the translation schema is hidden from the site.
10585
+ *
10586
+ * Default: `false`
10587
+ */
10559
10588
  hidden?: boolean | null;
10560
- /** Translation schema name. */
10589
+ /** Translation schema name displayed in the https://support.wix.com/en/article/wix-multilingual-using-the-translation-manager. */
10561
10590
  displayName?: string | null;
10562
- /** A reference to the parent schema defined by the app developer. For example, if the schema is for a menu item, this property would link to the schema of the menu it belongs to. */
10591
+ /** A reference to the parent schema. For example, if the schema is for a menu item, this property would contain the schema ID of the menu it belongs to. */
10563
10592
  parentId?: string | null;
10564
- /** @readonly */
10593
+ /**
10594
+ * Revision number, which increments by 1 each time the schema is updated. To prevent conflicting changes, the existing `revision` must be used when updating a schema.
10595
+ * @readonly
10596
+ */
10565
10597
  revision?: string | null;
10566
10598
  /**
10567
10599
  * Date and time the translation schema was created.
@@ -10573,12 +10605,16 @@ interface Schema {
10573
10605
  * @readonly
10574
10606
  */
10575
10607
  _updatedDate?: Date;
10576
- /** Whether to duplicate the translated content in the schema when a site containing the translation schema and content is duplicated. */
10608
+ /**
10609
+ * Whether to duplicate the translated content when a site containing the translation schema and content is duplicated.
10610
+ *
10611
+ * Default: `false`
10612
+ */
10577
10613
  duplicateContent?: boolean | null;
10578
10614
  }
10579
10615
  interface SchemaKey {
10580
10616
  /**
10581
- * ID of app that created the schema.
10617
+ * ID of the app that created the schema.
10582
10618
  * @readonly
10583
10619
  */
10584
10620
  appId?: string;
@@ -10601,24 +10637,24 @@ declare enum SchemaScope {
10601
10637
  }
10602
10638
  interface SchemaField {
10603
10639
  /**
10604
- * Field ID. Validated according to Regex `^[A-Za-z0-9-_)(]+$`. Field IDs may contain parenthesis to reference repeated items, such as images. These parenthesis can't be nested and each open one must have a closed one. For example, `title()()` is valid, while `title)(` and `title(())` aren't valid. The value inside the parenthesis is validated according to Regex `^[^)(\\]\\[\\.]+$`.
10640
+ * Field ID. Validated according to Regex `^[A-Za-z0-9-_)(]+$`. Field IDs may contain parentheses to reference repeated items, such as images. These parentheses can't be nested and each opening parenthesis must be followed by a closing one. For example, `title()()` is valid, while `title)(` and `title(())` aren't valid. The value inside the parenthesis is validated according to Regex `^[^)(\\]\\[\\.]+$`.
10605
10641
  * @readonly
10606
10642
  */
10607
10643
  _id?: string;
10608
10644
  /**
10609
- * Field type.
10645
+ * *Required.** Field type.
10610
10646
  * Supported values:
10611
- * + `SHORT_TEXT`: Short plain text.
10612
- * + `LONG_TEXT`: Long plain text.
10647
+ * + `SHORT_TEXT`: Short plain text displayed as a single line in the UI.
10648
+ * + `LONG_TEXT`: Long plain text displayed as multiple lines in the UI.
10613
10649
  * + `HTML`: Long text including styles, images, and links.
10614
- * + `RICH_CONTENT`: Rich-Content using the [Wix Ricos.js](https://dev.wix.com/docs/go-headless/tutorials-templates/other-tutorials/working-with-rich-content) format.
10650
+ * + `RICH_CONTENT`: Rich-Content using the [Wix Ricos](https://dev.wix.com/docs/go-headless/tutorials-templates/other-tutorials/working-with-rich-content) format.
10615
10651
  * + `IMAGE`: Wix Media Manager image.
10616
10652
  * + `IMAGE_LINK`: Image URL without metadata.
10617
10653
  * + `VIDEO`: Wix Media Manager video.
10618
10654
  * + `DOCUMENT`: Wix Media Manager document.
10619
10655
  */
10620
10656
  type?: FieldType;
10621
- /** Field name. */
10657
+ /** Field name displayed in the https://support.wix.com/en/article/wix-multilingual-using-the-translation-manager. */
10622
10658
  displayName?: string | null;
10623
10659
  /** Field group name. */
10624
10660
  groupName?: string | null;
@@ -10626,11 +10662,11 @@ interface SchemaField {
10626
10662
  minLength?: number | null;
10627
10663
  /** Field maximum text length. */
10628
10664
  maxLength?: number | null;
10629
- /** Field format. The content will be validated based on the format set here in the field schema. For example, if the format is `EMAIL`, then the content for this field must be a valid email address. */
10665
+ /** Field format. Content is validated based on the format set here in the field schema. For example, if the format is `EMAIL`, then the content for this field must be a valid email address. */
10630
10666
  format?: string | null;
10631
10667
  /** Whether the field is hidden from the site. Hidden fields are still validated. */
10632
10668
  hidden?: boolean;
10633
- /** Whether the field is read-only, and is not meant to be translated. For example, an image. Use this field as a way to provide more context for the field in the Multilingual Dashboard. */
10669
+ /** Whether the field is read-only, and not intended to be translated. For example, an image. Use this field when you want an image to remain in the [Translation Manager](https://support.wix.com/en/article/wix-multilingual-using-the-translation-manager) for context, but without being translated. */
10634
10670
  displayOnly?: boolean;
10635
10671
  /** Field index. Use for cases where the order of the fields are relevant. */
10636
10672
  index?: number | null;
@@ -10658,9 +10694,9 @@ declare enum FieldType {
10658
10694
  DOCUMENT = "DOCUMENT"
10659
10695
  }
10660
10696
  interface PreviewFields {
10661
- /** ID of field representing the schema's title. */
10697
+ /** ID of the field representing the schema's title. */
10662
10698
  titleFieldId?: string | null;
10663
- /** ID of field representing the schema's image. */
10699
+ /** ID of the field representing the schema's image. */
10664
10700
  imageFieldId?: string | null;
10665
10701
  }
10666
10702
  interface CreateSchemaRequest {
@@ -11274,7 +11310,7 @@ interface GetSchemaByKey {
11274
11310
  }
11275
11311
  interface GetSchemaByKeyIdentifiers {
11276
11312
  /**
11277
- * ID of app that created the schema.
11313
+ * ID of the app that created the schema.
11278
11314
  * @readonly
11279
11315
  */
11280
11316
  keyAppId?: string;
@@ -11366,7 +11402,7 @@ interface ListSiteSchemasOptions {
11366
11402
  declare function getSchema$1(httpClient: HttpClient): GetSchemaSignature;
11367
11403
  interface GetSchemaSignature {
11368
11404
  /**
11369
- * Retrieves a translation schema.
11405
+ * Retrieves a translation schema by ID.
11370
11406
  * @param - ID of the translation schema to retrieve.
11371
11407
  * @returns The requested translation schema.
11372
11408
  */
@@ -11386,7 +11422,7 @@ interface QuerySchemasSignature {
11386
11422
  *
11387
11423
  * > **Note:**
11388
11424
  * >
11389
- * > This method can retrieve all schemas with a `GLOBAL` scope and `SITE` scope schemas for the site you are authorized for in the current API request.
11425
+ * > This method can retrieve all schemas with a `GLOBAL` scope and schemas with a `SITE` scope for the site the API request is authorized to access.
11390
11426
  *
11391
11427
  * The default `sort` is `id` in `ASC`.
11392
11428
  *
@@ -11398,7 +11434,7 @@ interface QuerySchemasSignature {
11398
11434
  declare function listSiteSchemas$1(httpClient: HttpClient): ListSiteSchemasSignature;
11399
11435
  interface ListSiteSchemasSignature {
11400
11436
  /**
11401
- * Retrieves a list of all translation schemas associated with a site, including those created by you or other developers.
11437
+ * Retrieves a list of all translation schemas associated with a site, regardless of which app created them.
11402
11438
  */
11403
11439
  (options?: ListSiteSchemasOptions | undefined): Promise<ListSiteSchemasResponse & ListSiteSchemasResponseNonNullableFields>;
11404
11440
  }