@wix/multilingual 1.0.39 → 1.0.41

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.39",
3
+ "version": "1.0.41",
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.11",
22
22
  "@wix/multilingual_machine-translation": "1.0.26",
23
23
  "@wix/multilingual_site-translator": "1.0.12",
24
- "@wix/multilingual_translation-contents": "1.0.15",
24
+ "@wix/multilingual_translation-contents": "1.0.17",
25
25
  "@wix/multilingual_translation-published-contents": "1.0.4",
26
- "@wix/multilingual_translation-schemas": "1.0.14"
26
+ "@wix/multilingual_translation-schemas": "1.0.15"
27
27
  },
28
28
  "devDependencies": {
29
29
  "glob": "^10.4.1",
@@ -48,5 +48,5 @@
48
48
  "fqdn": ""
49
49
  }
50
50
  },
51
- "falconPackageHash": "37a235f0ee89098d7ac7c94dccd0ba00860896c0b2cefd9c3c2aae0a"
51
+ "falconPackageHash": "907a92e64b2fa19798b04b5d088ea20a9964248db010be8a03e710c9"
52
52
  }
@@ -4831,22 +4831,27 @@ declare namespace context$2 {
4831
4831
 
4832
4832
  interface Content {
4833
4833
  /**
4834
- * Content ID.
4834
+ * Translation content ID.
4835
4835
  * @readonly
4836
4836
  */
4837
4837
  _id?: string | null;
4838
- /** Schema unique identifier */
4838
+ /** Translation schema ID. */
4839
4839
  schemaId?: string;
4840
- /** Unique identifier that represents a specific entity in the app */
4840
+ /** A unique identifier defined by the app developer to differentiate translation content for various entities within the site. For example, if an app developer is creating translation content for blog posts, the `entityId` can be `'blog-posts-1'`. */
4841
4841
  entityId?: string;
4842
- /** Indicates the locale of this content */
4842
+ /** Translation content locale. */
4843
4843
  locale?: string;
4844
- /** List of fields localized in the given language */
4844
+ /** 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. */
4845
4845
  fields?: Record<string, ContentField>;
4846
- /** Optional field that will group in the UI contents with the same group name */
4846
+ /** 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. */
4847
4847
  parentEntityId?: string | null;
4848
4848
  /**
4849
- * The aggregated published status across all content fields
4849
+ * The aggregated published status across all content fields.
4850
+ *
4851
+ * Supported values:
4852
+ * + `UNPUBLISHED`: None of the fields have been published to the live site.
4853
+ * + `PUBLISHED`: All of the fields have been published to the live site and are visible to site visitors.
4854
+ * + `PARTIALLY_PUBLISHED`: Some of the fields have been published to the live site and are visible to site visitors.
4850
4855
  * @readonly
4851
4856
  */
4852
4857
  publishStatus?: PublishStatus;
@@ -4855,53 +4860,65 @@ interface Content {
4855
4860
  * @readonly
4856
4861
  */
4857
4862
  previewField?: string | null;
4858
- /** @readonly */
4863
+ /**
4864
+ * Date and time the translation content was created.
4865
+ * @readonly
4866
+ */
4859
4867
  _createdDate?: Date;
4860
- /** @readonly */
4868
+ /**
4869
+ * Date and time the translation content was updated.
4870
+ * @readonly
4871
+ */
4861
4872
  _updatedDate?: Date;
4862
4873
  }
4863
4874
  interface ContentField extends ContentFieldValueOneOf {
4864
- /** Field actual localized content as simple text type */
4875
+ /** Translated plain text. Use this field if the corresponding schema `fields.type` is `SHORT_TEXT`, `LONG_TEXT`, `HTML`, or `IMAGE_LINK`. */
4865
4876
  textValue?: string;
4866
- /** Use this field to send rich content. */
4877
+ /** Translated rich content. */
4867
4878
  richContent?: RichContent;
4868
- /** Image media item */
4879
+ /** Wix Media Manager image. */
4869
4880
  image?: string;
4870
- /** Video media item */
4881
+ /** Wix Media Manager video. */
4871
4882
  video?: string;
4872
- /** Document media item */
4883
+ /** Wix Media Manager document. */
4873
4884
  document?: string;
4874
4885
  /**
4875
- * Field unique identifier.
4886
+ * 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 `^[^)(\\]\\[\\.]+$`.
4876
4887
  * @readonly
4877
4888
  */
4878
4889
  _id?: string;
4879
- /** Is content published to live site or not */
4890
+ /** Whether to publish the translation content to the live site, making it visible to site visitors. */
4880
4891
  published?: boolean;
4881
- /** Describes the updater identity (site owner / app / auto translator) */
4892
+ /**
4893
+ * The source that updated the translation content.
4894
+ * Supported values:
4895
+ * + `USER`: The site owner.
4896
+ * + `EXTERNAL_APP`: An external translation app. For example, Smartling.
4897
+ * + `Machine`: Auto translaton service. For example, Google Translate.
4898
+ */
4882
4899
  updatedBy?: UpdaterIdentity;
4883
4900
  /**
4884
- * The corresponding field key in the schema in a clean format (nothing between the parenthesis), must have a matching schema field key.
4901
+ * Unique string identifier that links a specific content field to its corresponding field in the schema.
4885
4902
  * @readonly
4886
4903
  */
4887
4904
  schemaFieldKey?: string;
4888
4905
  /**
4889
- * Index is populated according to index of schema field (if exists), and grouping repeated fields.
4906
+ * Field index. Used for cases where the order of the fields are relevant.
4890
4907
  * @readonly
4891
4908
  */
4892
4909
  index?: number;
4893
4910
  }
4894
4911
  /** @oneof */
4895
4912
  interface ContentFieldValueOneOf {
4896
- /** Field actual localized content as simple text type */
4913
+ /** Translated plain text. Use this field if the corresponding schema `fields.type` is `SHORT_TEXT`, `LONG_TEXT`, `HTML`, or `IMAGE_LINK`. */
4897
4914
  textValue?: string;
4898
- /** Use this field to send rich content. */
4915
+ /** Translated rich content. */
4899
4916
  richContent?: RichContent;
4900
- /** Image media item */
4917
+ /** Wix Media Manager image. */
4901
4918
  image?: string;
4902
- /** Video media item */
4919
+ /** Wix Media Manager video. */
4903
4920
  video?: string;
4904
- /** Document media item */
4921
+ /** Wix Media Manager document. */
4905
4922
  document?: string;
4906
4923
  }
4907
4924
  interface RichContent {
@@ -6162,27 +6179,27 @@ declare enum PublishStatus {
6162
6179
  PUBLISHED = "PUBLISHED"
6163
6180
  }
6164
6181
  interface CreateContentRequest {
6165
- /** Content to be created. */
6182
+ /** Translation content to create. */
6166
6183
  content: Content;
6167
6184
  }
6168
6185
  interface CreateContentResponse {
6169
- /** The created Content. */
6186
+ /** Newly created translation content. */
6170
6187
  content?: Content;
6171
6188
  }
6172
6189
  interface GetContentRequest {
6173
- /** ID of the Content to retrieve. */
6190
+ /** ID of the translation content to retrieve. */
6174
6191
  contentId: string;
6175
6192
  }
6176
6193
  interface GetContentResponse {
6177
- /** The requested Content. */
6194
+ /** The requested translation content. */
6178
6195
  content?: Content;
6179
6196
  }
6180
6197
  interface UpdateContentRequest {
6181
- /** Content to be updated, may be partial. */
6198
+ /** Translation content to update. */
6182
6199
  content: Content;
6183
6200
  }
6184
6201
  interface UpdateContentResponse {
6185
- /** Updated Content. */
6202
+ /** Updated translation content. */
6186
6203
  content?: Content;
6187
6204
  }
6188
6205
  interface UpdateContentByKeyRequest {
@@ -6194,13 +6211,13 @@ interface UpdateContentByKeyResponse {
6194
6211
  content?: Content;
6195
6212
  }
6196
6213
  interface DeleteContentRequest {
6197
- /** Id of the Content to delete. */
6214
+ /** ID of the translation content to delete. */
6198
6215
  contentId: string;
6199
6216
  }
6200
6217
  interface DeleteContentResponse {
6201
6218
  }
6202
6219
  interface QueryContentsRequest {
6203
- /** WQL expression. */
6220
+ /** Query options. */
6204
6221
  query?: CursorQuery$1;
6205
6222
  }
6206
6223
  interface CursorQuery$1 extends CursorQueryPagingMethodOneOf$1 {
@@ -6254,9 +6271,9 @@ interface CursorPaging$1 {
6254
6271
  cursor?: string | null;
6255
6272
  }
6256
6273
  interface QueryContentsResponse {
6257
- /** List of Contents. */
6274
+ /** List of translation content. */
6258
6275
  contents?: Content[];
6259
- /** Paging metadata */
6276
+ /** Details on the paged set of results returned. */
6260
6277
  pagingMetadata?: CursorPagingMetadata$1;
6261
6278
  }
6262
6279
  interface CursorPagingMetadata$1 {
@@ -6318,9 +6335,9 @@ interface Paging {
6318
6335
  offset?: number | null;
6319
6336
  }
6320
6337
  interface QueryContentsLegacyResponse {
6321
- /** List of Contents. */
6338
+ /** List of translation content. */
6322
6339
  contents?: Content[];
6323
- /** Paging metadata */
6340
+ /** Paging metadata. */
6324
6341
  pagingMetadata?: PagingMetadataV2;
6325
6342
  }
6326
6343
  interface PagingMetadataV2 {
@@ -6593,11 +6610,11 @@ declare enum Mode {
6593
6610
  AND = "AND"
6594
6611
  }
6595
6612
  interface SearchContentsResponse {
6596
- /** List of Contents. */
6613
+ /** List of translation content. */
6597
6614
  contents?: Content[];
6598
- /** Paging metadata */
6615
+ /** Details on the paged set of results returned. */
6599
6616
  pagingMetadata?: CursorPagingMetadata$1;
6600
- /** Aggregation data */
6617
+ /** Aggregation data. */
6601
6618
  aggregationData?: AggregationData;
6602
6619
  }
6603
6620
  interface AggregationData {
@@ -6762,15 +6779,15 @@ interface AggregationResultsResultOneOf {
6762
6779
  nested?: NestedResults;
6763
6780
  }
6764
6781
  interface BulkCreateContentRequest {
6765
- /** List of Contents to be created TODO: think again if we want to increase maxSize */
6782
+ /** List of translation content. */
6766
6783
  contents: Content[];
6767
- /** set to `true` if you wish to receive back the created contents in the response */
6784
+ /** Whether to include the created translation content in the response. Set to `true` to receive the translation content in the response. */
6768
6785
  returnEntity?: boolean;
6769
6786
  }
6770
6787
  interface BulkCreateContentResponse {
6771
- /** List of results */
6788
+ /** Items created by bulk action. */
6772
6789
  results?: BulkContentResult[];
6773
- /** metadata */
6790
+ /** Bulk action metadata. */
6774
6791
  bulkActionMetadata?: BulkActionMetadata;
6775
6792
  }
6776
6793
  interface ItemMetadata {
@@ -6792,9 +6809,9 @@ interface ApplicationError {
6792
6809
  data?: Record<string, any> | null;
6793
6810
  }
6794
6811
  interface BulkContentResult {
6795
- /** Defined in wix.commons */
6812
+ /** Item metadata. */
6796
6813
  itemMetadata?: ItemMetadata;
6797
- /** Only exists if `returnEntity` was set to true in the request */
6814
+ /** Translation Content. This field is only returned if the operation was successful and `returnEntity` was set to true in the request. */
6798
6815
  item?: Content;
6799
6816
  }
6800
6817
  interface BulkActionMetadata {
@@ -6808,23 +6825,23 @@ interface BulkActionMetadata {
6808
6825
  interface BulkUpdateContentRequest {
6809
6826
  /** Contents to be updated. TODO: think again if we want to increase maxSize */
6810
6827
  contents: BulkUpdateContentRequestMaskedContent[];
6811
- /** set to `true` if you wish to receive back the created contents in the response */
6828
+ /** Whether to include the updated translation content in the response. Set to `true` to receive the translation content in the response. */
6812
6829
  returnEntity?: boolean;
6813
6830
  }
6814
6831
  interface BulkUpdateContentRequestMaskedContent {
6815
- /** Content to be updated, may be partial */
6832
+ /** Translation content to update. */
6816
6833
  content?: Content;
6817
6834
  }
6818
6835
  interface BulkUpdateContentResponse {
6819
- /** List of results */
6836
+ /** Items created by bulk action. */
6820
6837
  results?: BulkUpdateContentResponseBulkContentResult[];
6821
- /** metadata */
6838
+ /** Bulk action metadata. */
6822
6839
  bulkActionMetadata?: BulkActionMetadata;
6823
6840
  }
6824
6841
  interface BulkUpdateContentResponseBulkContentResult {
6825
- /** metadata */
6842
+ /** Item metadata. */
6826
6843
  itemMetadata?: ItemMetadata;
6827
- /** Only exists if `returnEntity` was set to true in the request */
6844
+ /** Translation Content. This field is only returned if the operation was successful and `returnEntity` was set to true in the request. */
6828
6845
  item?: Content;
6829
6846
  }
6830
6847
  interface BulkUpdateContentByKeyRequest {
@@ -6876,13 +6893,13 @@ interface BulkDeleteContentRequest {
6876
6893
  contentIds: string[];
6877
6894
  }
6878
6895
  interface BulkDeleteContentResponse {
6879
- /** List of results */
6896
+ /** Items created by bulk action. */
6880
6897
  results?: BulkDeleteContentResponseBulkContentResult[];
6881
- /** metadata */
6898
+ /** Bulk action metadata. */
6882
6899
  bulkActionMetadata?: BulkActionMetadata;
6883
6900
  }
6884
6901
  interface BulkDeleteContentResponseBulkContentResult {
6885
- /** metadata */
6902
+ /** Item metadata. */
6886
6903
  itemMetadata?: ItemMetadata;
6887
6904
  }
6888
6905
  interface MetaSiteSpecialEvent$1 extends MetaSiteSpecialEventPayloadOneOf$1 {
@@ -7066,7 +7083,12 @@ declare enum Namespace$1 {
7066
7083
  */
7067
7084
  BRANDED_FIRST = "BRANDED_FIRST",
7068
7085
  /** Nownia.com Siteless account management for Ai Scheduling Assistant. */
7069
- NOWNIA = "NOWNIA"
7086
+ NOWNIA = "NOWNIA",
7087
+ /**
7088
+ * UGC Templates are templates that are created by users for personal use and to sale to other users.
7089
+ * The Partners company owns this namespace.
7090
+ */
7091
+ UGC_TEMPLATE = "UGC_TEMPLATE"
7070
7092
  }
7071
7093
  /** Site transferred to another user. */
7072
7094
  interface SiteTransferred$1 {
@@ -7464,22 +7486,27 @@ interface ContentDeletedEnvelope {
7464
7486
  }
7465
7487
  interface UpdateContent {
7466
7488
  /**
7467
- * Content ID.
7489
+ * Translation content ID.
7468
7490
  * @readonly
7469
7491
  */
7470
7492
  _id?: string | null;
7471
- /** Schema unique identifier */
7493
+ /** Translation schema ID. */
7472
7494
  schemaId?: string;
7473
- /** Unique identifier that represents a specific entity in the app */
7495
+ /** A unique identifier defined by the app developer to differentiate translation content for various entities within the site. For example, if an app developer is creating translation content for blog posts, the `entityId` can be `'blog-posts-1'`. */
7474
7496
  entityId?: string;
7475
- /** Indicates the locale of this content */
7497
+ /** Translation content locale. */
7476
7498
  locale?: string;
7477
- /** List of fields localized in the given language */
7499
+ /** 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. */
7478
7500
  fields?: Record<string, ContentField>;
7479
- /** Optional field that will group in the UI contents with the same group name */
7501
+ /** 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. */
7480
7502
  parentEntityId?: string | null;
7481
7503
  /**
7482
- * The aggregated published status across all content fields
7504
+ * The aggregated published status across all content fields.
7505
+ *
7506
+ * Supported values:
7507
+ * + `UNPUBLISHED`: None of the fields have been published to the live site.
7508
+ * + `PUBLISHED`: All of the fields have been published to the live site and are visible to site visitors.
7509
+ * + `PARTIALLY_PUBLISHED`: Some of the fields have been published to the live site and are visible to site visitors.
7483
7510
  * @readonly
7484
7511
  */
7485
7512
  publishStatus?: PublishStatus;
@@ -7488,9 +7515,15 @@ interface UpdateContent {
7488
7515
  * @readonly
7489
7516
  */
7490
7517
  previewField?: string | null;
7491
- /** @readonly */
7518
+ /**
7519
+ * Date and time the translation content was created.
7520
+ * @readonly
7521
+ */
7492
7522
  _createdDate?: Date;
7493
- /** @readonly */
7523
+ /**
7524
+ * Date and time the translation content was updated.
7525
+ * @readonly
7526
+ */
7494
7527
  _updatedDate?: Date;
7495
7528
  }
7496
7529
  interface QueryContentsOptions {
@@ -7557,11 +7590,11 @@ interface SearchContentsOptions {
7557
7590
  search?: CursorSearch;
7558
7591
  }
7559
7592
  interface BulkCreateContentOptions {
7560
- /** set to `true` if you wish to receive back the created contents in the response */
7593
+ /** Whether to include the created translation content in the response. Set to `true` to receive the translation content in the response. */
7561
7594
  returnEntity?: boolean;
7562
7595
  }
7563
7596
  interface BulkUpdateContentOptions {
7564
- /** set to `true` if you wish to receive back the created contents in the response */
7597
+ /** Whether to include the updated translation content in the response. Set to `true` to receive the translation content in the response. */
7565
7598
  returnEntity?: boolean;
7566
7599
  }
7567
7600
  interface BulkUpdateContentByKeyOptions {
@@ -7572,36 +7605,52 @@ interface BulkUpdateContentByKeyOptions {
7572
7605
  declare function createContent$1(httpClient: HttpClient): CreateContentSignature;
7573
7606
  interface CreateContentSignature {
7574
7607
  /**
7575
- * Creates a Content.
7608
+ * Creates a translation content item.
7576
7609
  *
7577
- * The request body must include schema-id, entity-id and locale.
7578
- * @param - Content to be created.
7579
- * @returns The created Content.
7610
+ * The content is validated based on the constraints defined in the corresponding schema.
7611
+ * @param - Translation content to create.
7612
+ * @returns Newly created translation content.
7580
7613
  */
7581
7614
  (content: Content): Promise<Content & ContentNonNullableFields>;
7582
7615
  }
7583
7616
  declare function getContent$1(httpClient: HttpClient): GetContentSignature;
7584
7617
  interface GetContentSignature {
7585
7618
  /**
7586
- * Retrieves a Content.
7587
- * @param - ID of the Content to retrieve.
7588
- * @returns The requested Content.
7619
+ * Retrieves a translation content item.
7620
+ * @param - ID of the translation content to retrieve.
7621
+ * @returns The requested translation content.
7589
7622
  */
7590
7623
  (contentId: string): Promise<Content & ContentNonNullableFields>;
7591
7624
  }
7592
7625
  declare function updateContent$1(httpClient: HttpClient): UpdateContentSignature;
7593
7626
  interface UpdateContentSignature {
7594
7627
  /**
7595
- * Updates a Content.
7596
- * @param - Content ID.
7597
- * @returns Updated Content.
7628
+ * Updates a translation content item.
7629
+ *
7630
+ * To remove a field, pass the field key with an empty object as the value. For example:
7631
+ *
7632
+ * ```json
7633
+ * "fields": {
7634
+ * "title": {}
7635
+ * }
7636
+ * ```
7637
+ * @param - Translation content ID.
7638
+ * @returns Updated translation content.
7598
7639
  */
7599
7640
  (_id: string | null, content: UpdateContent): Promise<Content & ContentNonNullableFields>;
7600
7641
  }
7601
7642
  declare function updateContentByKey$1(httpClient: HttpClient): UpdateContentByKeySignature;
7602
7643
  interface UpdateContentByKeySignature {
7603
7644
  /**
7604
- * Updates a Content. A content is identified by a unique key, a combination of (schemaId, entityId, locale)
7645
+ * Updates a translation content item by key.
7646
+ *
7647
+ * To remove a field, pass the field key with an empty object as the value. For example:
7648
+ *
7649
+ * ```js
7650
+ * "fields": {
7651
+ * "title": {}
7652
+ * }
7653
+ * ```
7605
7654
  * @param - Content to be updated, may be partial.
7606
7655
  */
7607
7656
  (content: Content): Promise<UpdateContentByKeyResponse & UpdateContentByKeyResponseNonNullableFields>;
@@ -7609,37 +7658,53 @@ interface UpdateContentByKeySignature {
7609
7658
  declare function deleteContent$1(httpClient: HttpClient): DeleteContentSignature;
7610
7659
  interface DeleteContentSignature {
7611
7660
  /**
7612
- * Deletes a Content.
7613
- * @param - Id of the Content to delete.
7661
+ * Deletes a translation content item.
7662
+ * @param - ID of the translation content to delete.
7614
7663
  */
7615
7664
  (contentId: string): Promise<void>;
7616
7665
  }
7617
7666
  declare function queryContents$1(httpClient: HttpClient): QueryContentsSignature;
7618
7667
  interface QueryContentsSignature {
7619
7668
  /**
7620
- * Retrieves a list of Contents, given the provided [paging, filtering, and sorting][1].
7669
+ * Retrieves a list of translation content given the provided paging, filtering, and sorting. Up to 100 translation content items can be returned per request.
7670
+ *
7671
+ * The default `sort` is `id` in `ASC`.
7672
+ *
7673
+ * For field support for filters and sorting, see [Translation Content: Supported Filters, Sorting, and Search](https://dev.wix.com/docs/rest/business-management/multilingual/translation/translation-content/translation-content-supported-filters-sorting-and-search).
7674
+ *
7675
+ * To learn how to query translation consent items, see [API Query Language](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language).
7621
7676
  */
7622
7677
  (options?: QueryContentsOptions | undefined): ContentsQueryBuilder;
7623
7678
  }
7624
7679
  declare function searchContents$1(httpClient: HttpClient): SearchContentsSignature;
7625
7680
  interface SearchContentsSignature {
7626
7681
  /**
7627
- * Retrieves a list of Contents, given the provided CursorSearch.
7682
+ * Retrieves a list of all translation content associated with a site that matches the search query, with optional data aggregation.
7683
+ *
7684
+ * Note that this method retrieves translation content created by you or others.
7685
+ *
7686
+ * 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.
7687
+ *
7688
+ * For field support for filters, sorting, and free-text searching see [Translation Content: Supported Filters, Sorting, and Search](https://dev.wix.com/docs/rest/business-management/multilingual/translation/translation-content/translation-content-supported-filters-sorting-and-search).
7689
+ *
7690
+ * To learn more about working with the search query, see [API Query Language](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language) and [Sorting and Paging](https://dev.wix.com/docs/rest/articles/getting-started/sorting-and-paging).
7628
7691
  */
7629
7692
  (options?: SearchContentsOptions | undefined): Promise<SearchContentsResponse & SearchContentsResponseNonNullableFields>;
7630
7693
  }
7631
7694
  declare function bulkCreateContent$1(httpClient: HttpClient): BulkCreateContentSignature;
7632
7695
  interface BulkCreateContentSignature {
7633
7696
  /**
7634
- * create multiple Contents in a single request. Works synchronously.
7635
- * @param - List of Contents to be created TODO: think again if we want to increase maxSize
7697
+ * Creates multiple translation content items.
7698
+ *
7699
+ * The content items are validated based on the constraints defined in the corresponding schema.
7700
+ * @param - List of translation content.
7636
7701
  */
7637
7702
  (contents: Content[], options?: BulkCreateContentOptions | undefined): Promise<BulkCreateContentResponse & BulkCreateContentResponseNonNullableFields>;
7638
7703
  }
7639
7704
  declare function bulkUpdateContent$1(httpClient: HttpClient): BulkUpdateContentSignature;
7640
7705
  interface BulkUpdateContentSignature {
7641
7706
  /**
7642
- * update multiple Contents in a single request. Works synchronously.
7707
+ * Updates multiple translation content items.
7643
7708
  * @param - Contents to be updated. TODO: think again if we want to increase maxSize
7644
7709
  */
7645
7710
  (contents: BulkUpdateContentRequestMaskedContent[], options?: BulkUpdateContentOptions | undefined): Promise<BulkUpdateContentResponse & BulkUpdateContentResponseNonNullableFields>;
@@ -7655,7 +7720,7 @@ interface BulkUpdateContentByKeySignature {
7655
7720
  declare function bulkDeleteContent$1(httpClient: HttpClient): BulkDeleteContentSignature;
7656
7721
  interface BulkDeleteContentSignature {
7657
7722
  /**
7658
- * deletes multiple Contents in a single request. Works synchronously.
7723
+ * Deletes multiple translation content items.
7659
7724
  * @param - Content ids to be deleted. TODO: think again if we want to increase maxSize
7660
7725
  */
7661
7726
  (contentIds: string[]): Promise<BulkDeleteContentResponse & BulkDeleteContentResponseNonNullableFields>;
@@ -8412,7 +8477,12 @@ declare enum Namespace {
8412
8477
  */
8413
8478
  BRANDED_FIRST = "BRANDED_FIRST",
8414
8479
  /** Nownia.com Siteless account management for Ai Scheduling Assistant. */
8415
- NOWNIA = "NOWNIA"
8480
+ NOWNIA = "NOWNIA",
8481
+ /**
8482
+ * UGC Templates are templates that are created by users for personal use and to sale to other users.
8483
+ * The Partners company owns this namespace.
8484
+ */
8485
+ UGC_TEMPLATE = "UGC_TEMPLATE"
8416
8486
  }
8417
8487
  /** Site transferred to another user. */
8418
8488
  interface SiteTransferred {