@wix/data 1.0.146 → 1.0.148

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.
@@ -2188,7 +2188,7 @@ interface InsertDataItemRequest$1 {
2188
2188
  /** Item to insert. */
2189
2189
  dataItem: DataItem$1;
2190
2190
  /**
2191
- * Additional parameters specific to the [Wix app collection](https://support.wix.com/en/article/cms-formerly-content-manager-working-with-wix-app-collections) you are querying:
2191
+ * Additional parameters specific to the [Wix app collection](https://support.wix.com/en/article/cms-formerly-content-manager-working-with-wix-app-collections) you are querying.
2192
2192
  *
2193
2193
  * When querying the Wix Stores [Products collection](https://dev.wix.com/docs/develop-websites/articles/wix-apps/wix-e-commerce-stores/wix-stores-products-collection-fields), pass the following optional parameters:
2194
2194
  * - `includeHiddenProducts`: Whether to include hidden products in the response. Default: `false`.
@@ -2204,8 +2204,6 @@ interface DataPublishPluginOptions$1 {
2204
2204
  /**
2205
2205
  * Whether to include draft items.
2206
2206
  * When `true`, the response includes both published and draft items. Default: `false`.
2207
- *
2208
- * **Note:** This option is only relevant for [data collections](https://dev.wix.com/docs/rest/business-solutions/cms/data-collections/data-collection-object) that use the Publish plugin.
2209
2207
  */
2210
2208
  includeDraftItems?: boolean;
2211
2209
  }
@@ -2254,7 +2252,7 @@ interface UpdateDataItemRequest$1 {
2254
2252
  /** Updated data item content. The existing data item's content is replaced entirely. */
2255
2253
  dataItem: DataItem$1;
2256
2254
  /**
2257
- * Additional parameters specific to the [Wix app collection](https://support.wix.com/en/article/cms-formerly-content-manager-working-with-wix-app-collections) you are querying:
2255
+ * Additional parameters specific to the [Wix app collection](https://support.wix.com/en/article/cms-formerly-content-manager-working-with-wix-app-collections) you are querying.
2258
2256
  *
2259
2257
  * When querying the Wix Stores [Products collection](https://dev.wix.com/docs/develop-websites/articles/wix-apps/wix-e-commerce-stores/wix-stores-products-collection-fields), pass the following optional parameters:
2260
2258
  * - `includeHiddenProducts`: Whether to include hidden products in the response. Default: `false`.
@@ -2277,7 +2275,7 @@ interface SaveDataItemRequest$1 {
2277
2275
  /** Data item to insert or update. */
2278
2276
  dataItem: DataItem$1;
2279
2277
  /**
2280
- * Additional parameters specific to the [Wix app collection](https://support.wix.com/en/article/cms-formerly-content-manager-working-with-wix-app-collections) you are querying:
2278
+ * Additional parameters specific to the [Wix app collection](https://support.wix.com/en/article/cms-formerly-content-manager-working-with-wix-app-collections) you are querying.
2281
2279
  *
2282
2280
  * When querying the Wix Stores [Products collection](https://dev.wix.com/docs/develop-websites/articles/wix-apps/wix-e-commerce-stores/wix-stores-products-collection-fields), pass the following optional parameters:
2283
2281
  * - `includeHiddenProducts`: Whether to include hidden products in the response. Default: `false`.
@@ -2333,7 +2331,7 @@ interface GetDataItemRequest$1 {
2333
2331
  */
2334
2332
  fields?: string[];
2335
2333
  /**
2336
- * Additional parameters specific to the [Wix app collection](https://support.wix.com/en/article/cms-formerly-content-manager-working-with-wix-app-collections) you are querying:
2334
+ * Additional parameters specific to the [Wix app collection](https://support.wix.com/en/article/cms-formerly-content-manager-working-with-wix-app-collections) you are querying.
2337
2335
  *
2338
2336
  * When querying the Wix Stores [Products collection](https://dev.wix.com/docs/develop-websites/articles/wix-apps/wix-e-commerce-stores/wix-stores-products-collection-fields), pass the following optional parameters:
2339
2337
  * - `includeHiddenProducts`: Whether to include hidden products in the response. Default: `false`.
@@ -2356,7 +2354,7 @@ interface RemoveDataItemRequest$1 {
2356
2354
  /** ID of the item to remove. */
2357
2355
  dataItemId: string;
2358
2356
  /**
2359
- * Additional parameters specific to the [Wix app collection](https://support.wix.com/en/article/cms-formerly-content-manager-working-with-wix-app-collections) you are querying:
2357
+ * Additional parameters specific to the [Wix app collection](https://support.wix.com/en/article/cms-formerly-content-manager-working-with-wix-app-collections) you are querying.
2360
2358
  *
2361
2359
  * When querying the Wix Stores [Products collection](https://dev.wix.com/docs/develop-websites/articles/wix-apps/wix-e-commerce-stores/wix-stores-products-collection-fields), pass the following optional parameters:
2362
2360
  * - `includeHiddenProducts`: Whether to include hidden products in the response. Default: `false`.
@@ -2416,7 +2414,7 @@ interface QueryDataItemsRequest$1 {
2416
2414
  */
2417
2415
  language?: string | null;
2418
2416
  /**
2419
- * Additional parameters specific to the [Wix app collection](https://support.wix.com/en/article/cms-formerly-content-manager-working-with-wix-app-collections) you are querying:
2417
+ * Additional parameters specific to the [Wix app collection](https://support.wix.com/en/article/cms-formerly-content-manager-working-with-wix-app-collections) you are querying.
2420
2418
  *
2421
2419
  * When querying the Wix Stores [Products collection](https://dev.wix.com/docs/develop-websites/articles/wix-apps/wix-e-commerce-stores/wix-stores-products-collection-fields), pass the following optional parameters:
2422
2420
  * - `includeHiddenProducts`: Whether to include hidden products in the response. Default: `false`.
@@ -2574,7 +2572,7 @@ interface AggregateDataItemsRequest$1 extends AggregateDataItemsRequestPagingMet
2574
2572
  */
2575
2573
  language?: string | null;
2576
2574
  /**
2577
- * Additional parameters specific to the [Wix app collection](https://support.wix.com/en/article/cms-formerly-content-manager-working-with-wix-app-collections) you are querying:
2575
+ * Additional parameters specific to the [Wix app collection](https://support.wix.com/en/article/cms-formerly-content-manager-working-with-wix-app-collections) you are querying.
2578
2576
  *
2579
2577
  * When querying the Wix Stores [Products collection](https://dev.wix.com/docs/develop-websites/articles/wix-apps/wix-e-commerce-stores/wix-stores-products-collection-fields), pass the following optional parameters:
2580
2578
  * - `includeHiddenProducts`: Whether to include hidden products in the response. Default: `false`.
@@ -2684,7 +2682,7 @@ interface CountDataItemsRequest$1 {
2684
2682
  */
2685
2683
  language?: string | null;
2686
2684
  /**
2687
- * Additional parameters specific to the [Wix app collection](https://support.wix.com/en/article/cms-formerly-content-manager-working-with-wix-app-collections) you are querying:
2685
+ * Additional parameters specific to the [Wix app collection](https://support.wix.com/en/article/cms-formerly-content-manager-working-with-wix-app-collections) you are querying.
2688
2686
  *
2689
2687
  * When querying the Wix Stores [Products collection](https://dev.wix.com/docs/develop-websites/articles/wix-apps/wix-e-commerce-stores/wix-stores-products-collection-fields), pass the following optional parameters:
2690
2688
  * - `includeHiddenProducts`: Whether to include hidden products in the response. Default: `false`.
@@ -2780,7 +2778,7 @@ interface BulkInsertDataItemsRequest$1 {
2780
2778
  */
2781
2779
  returnEntity?: boolean;
2782
2780
  /**
2783
- * Additional parameters specific to the [Wix app collection](https://support.wix.com/en/article/cms-formerly-content-manager-working-with-wix-app-collections) you are querying:
2781
+ * Additional parameters specific to the [Wix app collection](https://support.wix.com/en/article/cms-formerly-content-manager-working-with-wix-app-collections) you are querying.
2784
2782
  *
2785
2783
  * When querying the Wix Stores [Products collection](https://dev.wix.com/docs/develop-websites/articles/wix-apps/wix-e-commerce-stores/wix-stores-products-collection-fields), pass the following optional parameters:
2786
2784
  * - `includeHiddenProducts`: Whether to include hidden products in the response. Default: `false`.
@@ -2807,7 +2805,7 @@ interface BulkUpdateDataItemsRequest$1 {
2807
2805
  */
2808
2806
  returnEntity?: boolean;
2809
2807
  /**
2810
- * Additional parameters specific to the [Wix app collection](https://support.wix.com/en/article/cms-formerly-content-manager-working-with-wix-app-collections) you are querying:
2808
+ * Additional parameters specific to the [Wix app collection](https://support.wix.com/en/article/cms-formerly-content-manager-working-with-wix-app-collections) you are querying.
2811
2809
  *
2812
2810
  * When querying the Wix Stores [Products collection](https://dev.wix.com/docs/develop-websites/articles/wix-apps/wix-e-commerce-stores/wix-stores-products-collection-fields), pass the following optional parameters:
2813
2811
  * - `includeHiddenProducts`: Whether to include hidden products in the response. Default: `false`.
@@ -2839,7 +2837,7 @@ interface BulkSaveDataItemsRequest$1 {
2839
2837
  */
2840
2838
  returnEntity?: boolean;
2841
2839
  /**
2842
- * Additional parameters specific to the [Wix app collection](https://support.wix.com/en/article/cms-formerly-content-manager-working-with-wix-app-collections) you are querying:
2840
+ * Additional parameters specific to the [Wix app collection](https://support.wix.com/en/article/cms-formerly-content-manager-working-with-wix-app-collections) you are querying.
2843
2841
  *
2844
2842
  * When querying the Wix Stores [Products collection](https://dev.wix.com/docs/develop-websites/articles/wix-apps/wix-e-commerce-stores/wix-stores-products-collection-fields), pass the following optional parameters:
2845
2843
  * - `includeHiddenProducts`: Whether to include hidden products in the response. Default: `false`.
@@ -2864,7 +2862,7 @@ interface BulkRemoveDataItemsRequest$1 {
2864
2862
  /** IDs of data items to remove. */
2865
2863
  dataItemIds: string[];
2866
2864
  /**
2867
- * Additional parameters specific to the [Wix app collection](https://support.wix.com/en/article/cms-formerly-content-manager-working-with-wix-app-collections) you are querying:
2865
+ * Additional parameters specific to the [Wix app collection](https://support.wix.com/en/article/cms-formerly-content-manager-working-with-wix-app-collections) you are querying.
2868
2866
  *
2869
2867
  * When querying the Wix Stores [Products collection](https://dev.wix.com/docs/develop-websites/articles/wix-apps/wix-e-commerce-stores/wix-stores-products-collection-fields), pass the following optional parameters:
2870
2868
  * - `includeHiddenProducts`: Whether to include hidden products in the response. Default: `false`.
@@ -2952,16 +2950,28 @@ interface QueryReferencedDataItemsResponse$1 {
2952
2950
  pagingMetadata?: PagingMetadataV2$1;
2953
2951
  }
2954
2952
  interface UnresolvedReference$1 {
2955
- /** ID of the referring item. */
2953
+ /**
2954
+ * ID of the referring item.
2955
+ * @deprecated
2956
+ * @targetRemovalDate 2025-03-01
2957
+ */
2956
2958
  referringItemId?: string;
2957
- /** Field specified to query for references. */
2959
+ /**
2960
+ * Field specified to query for references.
2961
+ * @deprecated
2962
+ * @targetRemovalDate 2025-03-01
2963
+ */
2958
2964
  referringItemFieldName?: string;
2965
+ /** ID of unresolved referenced item */
2966
+ referencedItemId?: string;
2959
2967
  }
2960
2968
  interface ReferencedResult$1 extends ReferencedResultEntityOneOf$1 {
2961
2969
  /** Data item referenced. */
2962
2970
  dataItem?: DataItem$1;
2963
2971
  /** Unresolved reference. Appears instead of the data item when the reference doesn't resolve, for example, when an ID isn't found or if an item is in draft state. */
2964
2972
  unresolvedReference?: UnresolvedReference$1;
2973
+ /** ID of the referring item. */
2974
+ referringItemId?: string;
2965
2975
  }
2966
2976
  /** @oneof */
2967
2977
  interface ReferencedResultEntityOneOf$1 {
@@ -2998,7 +3008,7 @@ interface InsertDataItemReferenceRequest$1 {
2998
3008
  /** Reference to insert */
2999
3009
  dataItemReference?: DataItemReference$1;
3000
3010
  /**
3001
- * Additional parameters specific to the [Wix app collection](https://support.wix.com/en/article/cms-formerly-content-manager-working-with-wix-app-collections) you are querying:
3011
+ * Additional parameters specific to the [Wix app collection](https://support.wix.com/en/article/cms-formerly-content-manager-working-with-wix-app-collections) you are querying.
3002
3012
  *
3003
3013
  * When querying the Wix Stores [Products collection](https://dev.wix.com/docs/develop-websites/articles/wix-apps/wix-e-commerce-stores/wix-stores-products-collection-fields), pass the following optional parameters:
3004
3014
  * - `includeHiddenProducts`: Whether to include hidden products in the response. Default: `false`.
@@ -3148,10 +3158,12 @@ interface BulkRemoveDataItemsResponseNonNullableFields$1 {
3148
3158
  interface UnresolvedReferenceNonNullableFields$1 {
3149
3159
  referringItemId: string;
3150
3160
  referringItemFieldName: string;
3161
+ referencedItemId: string;
3151
3162
  }
3152
3163
  interface ReferencedResultNonNullableFields$1 {
3153
3164
  dataItem?: DataItemNonNullableFields$1;
3154
3165
  unresolvedReference?: UnresolvedReferenceNonNullableFields$1;
3166
+ referringItemId: string;
3155
3167
  }
3156
3168
  interface QueryReferencedDataItemsResponseNonNullableFields$1 {
3157
3169
  results: ReferencedResultNonNullableFields$1[];
@@ -3213,7 +3225,7 @@ interface InsertDataItemRequest {
3213
3225
  /** Item to insert. */
3214
3226
  dataItem: DataItem;
3215
3227
  /**
3216
- * Additional parameters specific to the [Wix app collection](https://support.wix.com/en/article/cms-formerly-content-manager-working-with-wix-app-collections) you are querying:
3228
+ * Additional parameters specific to the [Wix app collection](https://support.wix.com/en/article/cms-formerly-content-manager-working-with-wix-app-collections) you are querying.
3217
3229
  *
3218
3230
  * When querying the Wix Stores [Products collection](https://dev.wix.com/docs/develop-websites/articles/wix-apps/wix-e-commerce-stores/wix-stores-products-collection-fields), pass the following optional parameters:
3219
3231
  * - `includeHiddenProducts`: Whether to include hidden products in the response. Default: `false`.
@@ -3229,8 +3241,6 @@ interface DataPublishPluginOptions {
3229
3241
  /**
3230
3242
  * Whether to include draft items.
3231
3243
  * When `true`, the response includes both published and draft items. Default: `false`.
3232
- *
3233
- * **Note:** This option is only relevant for [data collections](https://dev.wix.com/docs/rest/business-solutions/cms/data-collections/data-collection-object) that use the Publish plugin.
3234
3244
  */
3235
3245
  includeDraftItems?: boolean;
3236
3246
  }
@@ -3283,7 +3293,7 @@ interface UpdateDataItemRequest {
3283
3293
  /** Updated data item content. The existing data item's content is replaced entirely. */
3284
3294
  dataItem: DataItem;
3285
3295
  /**
3286
- * Additional parameters specific to the [Wix app collection](https://support.wix.com/en/article/cms-formerly-content-manager-working-with-wix-app-collections) you are querying:
3296
+ * Additional parameters specific to the [Wix app collection](https://support.wix.com/en/article/cms-formerly-content-manager-working-with-wix-app-collections) you are querying.
3287
3297
  *
3288
3298
  * When querying the Wix Stores [Products collection](https://dev.wix.com/docs/develop-websites/articles/wix-apps/wix-e-commerce-stores/wix-stores-products-collection-fields), pass the following optional parameters:
3289
3299
  * - `includeHiddenProducts`: Whether to include hidden products in the response. Default: `false`.
@@ -3306,7 +3316,7 @@ interface SaveDataItemRequest {
3306
3316
  /** Data item to insert or update. */
3307
3317
  dataItem: DataItem;
3308
3318
  /**
3309
- * Additional parameters specific to the [Wix app collection](https://support.wix.com/en/article/cms-formerly-content-manager-working-with-wix-app-collections) you are querying:
3319
+ * Additional parameters specific to the [Wix app collection](https://support.wix.com/en/article/cms-formerly-content-manager-working-with-wix-app-collections) you are querying.
3310
3320
  *
3311
3321
  * When querying the Wix Stores [Products collection](https://dev.wix.com/docs/develop-websites/articles/wix-apps/wix-e-commerce-stores/wix-stores-products-collection-fields), pass the following optional parameters:
3312
3322
  * - `includeHiddenProducts`: Whether to include hidden products in the response. Default: `false`.
@@ -3361,7 +3371,7 @@ interface GetDataItemRequest {
3361
3371
  */
3362
3372
  fields?: string[];
3363
3373
  /**
3364
- * Additional parameters specific to the [Wix app collection](https://support.wix.com/en/article/cms-formerly-content-manager-working-with-wix-app-collections) you are querying:
3374
+ * Additional parameters specific to the [Wix app collection](https://support.wix.com/en/article/cms-formerly-content-manager-working-with-wix-app-collections) you are querying.
3365
3375
  *
3366
3376
  * When querying the Wix Stores [Products collection](https://dev.wix.com/docs/develop-websites/articles/wix-apps/wix-e-commerce-stores/wix-stores-products-collection-fields), pass the following optional parameters:
3367
3377
  * - `includeHiddenProducts`: Whether to include hidden products in the response. Default: `false`.
@@ -3384,7 +3394,7 @@ interface RemoveDataItemRequest {
3384
3394
  /** ID of the item to remove. */
3385
3395
  dataItemId: string;
3386
3396
  /**
3387
- * Additional parameters specific to the [Wix app collection](https://support.wix.com/en/article/cms-formerly-content-manager-working-with-wix-app-collections) you are querying:
3397
+ * Additional parameters specific to the [Wix app collection](https://support.wix.com/en/article/cms-formerly-content-manager-working-with-wix-app-collections) you are querying.
3388
3398
  *
3389
3399
  * When querying the Wix Stores [Products collection](https://dev.wix.com/docs/develop-websites/articles/wix-apps/wix-e-commerce-stores/wix-stores-products-collection-fields), pass the following optional parameters:
3390
3400
  * - `includeHiddenProducts`: Whether to include hidden products in the response. Default: `false`.
@@ -3443,7 +3453,7 @@ interface QueryDataItemsRequest {
3443
3453
  */
3444
3454
  language?: string | null;
3445
3455
  /**
3446
- * Additional parameters specific to the [Wix app collection](https://support.wix.com/en/article/cms-formerly-content-manager-working-with-wix-app-collections) you are querying:
3456
+ * Additional parameters specific to the [Wix app collection](https://support.wix.com/en/article/cms-formerly-content-manager-working-with-wix-app-collections) you are querying.
3447
3457
  *
3448
3458
  * When querying the Wix Stores [Products collection](https://dev.wix.com/docs/develop-websites/articles/wix-apps/wix-e-commerce-stores/wix-stores-products-collection-fields), pass the following optional parameters:
3449
3459
  * - `includeHiddenProducts`: Whether to include hidden products in the response. Default: `false`.
@@ -3604,7 +3614,7 @@ interface AggregateDataItemsRequest extends AggregateDataItemsRequestPagingMetho
3604
3614
  */
3605
3615
  language?: string | null;
3606
3616
  /**
3607
- * Additional parameters specific to the [Wix app collection](https://support.wix.com/en/article/cms-formerly-content-manager-working-with-wix-app-collections) you are querying:
3617
+ * Additional parameters specific to the [Wix app collection](https://support.wix.com/en/article/cms-formerly-content-manager-working-with-wix-app-collections) you are querying.
3608
3618
  *
3609
3619
  * When querying the Wix Stores [Products collection](https://dev.wix.com/docs/develop-websites/articles/wix-apps/wix-e-commerce-stores/wix-stores-products-collection-fields), pass the following optional parameters:
3610
3620
  * - `includeHiddenProducts`: Whether to include hidden products in the response. Default: `false`.
@@ -3713,7 +3723,7 @@ interface CountDataItemsRequest {
3713
3723
  */
3714
3724
  language?: string | null;
3715
3725
  /**
3716
- * Additional parameters specific to the [Wix app collection](https://support.wix.com/en/article/cms-formerly-content-manager-working-with-wix-app-collections) you are querying:
3726
+ * Additional parameters specific to the [Wix app collection](https://support.wix.com/en/article/cms-formerly-content-manager-working-with-wix-app-collections) you are querying.
3717
3727
  *
3718
3728
  * When querying the Wix Stores [Products collection](https://dev.wix.com/docs/develop-websites/articles/wix-apps/wix-e-commerce-stores/wix-stores-products-collection-fields), pass the following optional parameters:
3719
3729
  * - `includeHiddenProducts`: Whether to include hidden products in the response. Default: `false`.
@@ -3812,7 +3822,7 @@ interface BulkInsertDataItemsRequest {
3812
3822
  */
3813
3823
  returnEntity?: boolean;
3814
3824
  /**
3815
- * Additional parameters specific to the [Wix app collection](https://support.wix.com/en/article/cms-formerly-content-manager-working-with-wix-app-collections) you are querying:
3825
+ * Additional parameters specific to the [Wix app collection](https://support.wix.com/en/article/cms-formerly-content-manager-working-with-wix-app-collections) you are querying.
3816
3826
  *
3817
3827
  * When querying the Wix Stores [Products collection](https://dev.wix.com/docs/develop-websites/articles/wix-apps/wix-e-commerce-stores/wix-stores-products-collection-fields), pass the following optional parameters:
3818
3828
  * - `includeHiddenProducts`: Whether to include hidden products in the response. Default: `false`.
@@ -3839,7 +3849,7 @@ interface BulkUpdateDataItemsRequest {
3839
3849
  */
3840
3850
  returnEntity?: boolean;
3841
3851
  /**
3842
- * Additional parameters specific to the [Wix app collection](https://support.wix.com/en/article/cms-formerly-content-manager-working-with-wix-app-collections) you are querying:
3852
+ * Additional parameters specific to the [Wix app collection](https://support.wix.com/en/article/cms-formerly-content-manager-working-with-wix-app-collections) you are querying.
3843
3853
  *
3844
3854
  * When querying the Wix Stores [Products collection](https://dev.wix.com/docs/develop-websites/articles/wix-apps/wix-e-commerce-stores/wix-stores-products-collection-fields), pass the following optional parameters:
3845
3855
  * - `includeHiddenProducts`: Whether to include hidden products in the response. Default: `false`.
@@ -3871,7 +3881,7 @@ interface BulkSaveDataItemsRequest {
3871
3881
  */
3872
3882
  returnEntity?: boolean;
3873
3883
  /**
3874
- * Additional parameters specific to the [Wix app collection](https://support.wix.com/en/article/cms-formerly-content-manager-working-with-wix-app-collections) you are querying:
3884
+ * Additional parameters specific to the [Wix app collection](https://support.wix.com/en/article/cms-formerly-content-manager-working-with-wix-app-collections) you are querying.
3875
3885
  *
3876
3886
  * When querying the Wix Stores [Products collection](https://dev.wix.com/docs/develop-websites/articles/wix-apps/wix-e-commerce-stores/wix-stores-products-collection-fields), pass the following optional parameters:
3877
3887
  * - `includeHiddenProducts`: Whether to include hidden products in the response. Default: `false`.
@@ -3896,7 +3906,7 @@ interface BulkRemoveDataItemsRequest {
3896
3906
  /** IDs of data items to remove. */
3897
3907
  dataItemIds: string[];
3898
3908
  /**
3899
- * Additional parameters specific to the [Wix app collection](https://support.wix.com/en/article/cms-formerly-content-manager-working-with-wix-app-collections) you are querying:
3909
+ * Additional parameters specific to the [Wix app collection](https://support.wix.com/en/article/cms-formerly-content-manager-working-with-wix-app-collections) you are querying.
3900
3910
  *
3901
3911
  * When querying the Wix Stores [Products collection](https://dev.wix.com/docs/develop-websites/articles/wix-apps/wix-e-commerce-stores/wix-stores-products-collection-fields), pass the following optional parameters:
3902
3912
  * - `includeHiddenProducts`: Whether to include hidden products in the response. Default: `false`.
@@ -3983,16 +3993,28 @@ interface QueryReferencedDataItemsResponse {
3983
3993
  pagingMetadata?: PagingMetadataV2;
3984
3994
  }
3985
3995
  interface UnresolvedReference {
3986
- /** ID of the referring item. */
3996
+ /**
3997
+ * ID of the referring item.
3998
+ * @deprecated
3999
+ * @targetRemovalDate 2025-03-01
4000
+ */
3987
4001
  referringItemId?: string;
3988
- /** Field specified to query for references. */
4002
+ /**
4003
+ * Field specified to query for references.
4004
+ * @deprecated
4005
+ * @targetRemovalDate 2025-03-01
4006
+ */
3989
4007
  referringItemFieldName?: string;
4008
+ /** ID of unresolved referenced item */
4009
+ referencedItemId?: string;
3990
4010
  }
3991
4011
  interface ReferencedResult extends ReferencedResultEntityOneOf {
3992
4012
  /** Data item referenced. */
3993
4013
  dataItem?: DataItem;
3994
4014
  /** Unresolved reference. Appears instead of the data item when the reference doesn't resolve, for example, when an ID isn't found or if an item is in draft state. */
3995
4015
  unresolvedReference?: UnresolvedReference;
4016
+ /** ID of the referring item. */
4017
+ referringItemId?: string;
3996
4018
  }
3997
4019
  /** @oneof */
3998
4020
  interface ReferencedResultEntityOneOf {
@@ -4028,7 +4050,7 @@ interface InsertDataItemReferenceRequest {
4028
4050
  /** Reference to insert */
4029
4051
  dataItemReference?: DataItemReference;
4030
4052
  /**
4031
- * Additional parameters specific to the [Wix app collection](https://support.wix.com/en/article/cms-formerly-content-manager-working-with-wix-app-collections) you are querying:
4053
+ * Additional parameters specific to the [Wix app collection](https://support.wix.com/en/article/cms-formerly-content-manager-working-with-wix-app-collections) you are querying.
4032
4054
  *
4033
4055
  * When querying the Wix Stores [Products collection](https://dev.wix.com/docs/develop-websites/articles/wix-apps/wix-e-commerce-stores/wix-stores-products-collection-fields), pass the following optional parameters:
4034
4056
  * - `includeHiddenProducts`: Whether to include hidden products in the response. Default: `false`.
@@ -4182,10 +4204,12 @@ interface BulkRemoveDataItemsResponseNonNullableFields {
4182
4204
  interface UnresolvedReferenceNonNullableFields {
4183
4205
  referringItemId: string;
4184
4206
  referringItemFieldName: string;
4207
+ referencedItemId: string;
4185
4208
  }
4186
4209
  interface ReferencedResultNonNullableFields {
4187
4210
  dataItem?: DataItemNonNullableFields;
4188
4211
  unresolvedReference?: UnresolvedReferenceNonNullableFields;
4212
+ referringItemId: string;
4189
4213
  }
4190
4214
  interface QueryReferencedDataItemsResponseNonNullableFields {
4191
4215
  results: ReferencedResultNonNullableFields[];