@wix/data 1.0.120 → 1.0.121

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/data",
3
- "version": "1.0.120",
3
+ "version": "1.0.121",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -20,10 +20,10 @@
20
20
  ],
21
21
  "dependencies": {
22
22
  "@wix/data_collections": "1.0.25",
23
- "@wix/data_external-database": "1.0.2",
23
+ "@wix/data_external-database": "1.0.3",
24
24
  "@wix/data_external-database-connections": "1.0.23",
25
25
  "@wix/data_indexes": "1.0.20",
26
- "@wix/data_items": "1.0.29"
26
+ "@wix/data_items": "1.0.30"
27
27
  },
28
28
  "devDependencies": {
29
29
  "@wix/sdk": "https://cdn.dev.wixpress.com/@wix/sdk/02e8069ab2fd783e0e6a080fc7d590e76cb26ab93c8389574286305b.tar.gz",
@@ -48,5 +48,5 @@
48
48
  "fqdn": ""
49
49
  }
50
50
  },
51
- "falconPackageHash": "c65a8850215f5f1c646ec726971017e975e0a7cfcaf33d381990fbcb"
51
+ "falconPackageHash": "50fd624b40807257cb374ad78e52596192370cee66483fb78eb36cdb"
52
52
  }
@@ -2335,6 +2335,7 @@ interface AggregateDataItemsOptions extends AggregateDataItemsRequestPagingMetho
2335
2335
  dataCollectionId: string;
2336
2336
  /**
2337
2337
  * Filter applied to the collection's data prior to running the aggregation. See [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language#getting-started_api-query-language_the-filter-section) for information on how to structure a filter object.
2338
+ *
2338
2339
  * **Note:** The values you provide for each filter field must adhere to that field's type. For example, when filtering by a field whose type is Date and Time, use an object in the following format: `"someDateAndTimeFieldKey": { "$date": "YYYY-MM-DDTHH:mm:ss.sssZ"}`. Learn more about [data types in Wix Data](https://dev.wix.com/docs/rest/business-solutions/cms/data-items/data-types-in-wix-data).
2339
2340
  */
2340
2341
  initialFilter?: Record<string, any> | null;
@@ -2389,6 +2390,7 @@ interface CountDataItemsOptions {
2389
2390
  * }`.
2390
2391
  *
2391
2392
  * Examples of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`.
2393
+ *
2392
2394
  * **Note:** The values you provide for each field must adhere to that field's type. For example, when filtering by a field whose type is Date and Time, use an object in the following format: `"someDateAndTimeFieldKey": { "$date": "YYYY-MM-DDTHH:mm:ss.sssZ"}`. Learn more about [data types in Wix Data](https://dev.wix.com/docs/rest/business-solutions/cms/data-items/data-types-in-wix-data).
2393
2395
  */
2394
2396
  filter?: Record<string, any> | null;
@@ -2422,6 +2424,7 @@ interface QueryDistinctValuesOptions extends QueryDistinctValuesRequestPagingMet
2422
2424
  * }`.
2423
2425
  *
2424
2426
  * Examples of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`.
2427
+ *
2425
2428
  * **Note:** The values you provide for each field must adhere to that field's type. For example, when filtering by a field whose type is Date and Time, use an object in the following format: `"someDateAndTimeFieldKey": { "$date": "YYYY-MM-DDTHH:mm:ss.sssZ"}`. Learn more about [data types in Wix Data](https://dev.wix.com/docs/rest/business-solutions/cms/data-items/data-types-in-wix-data).
2426
2429
  */
2427
2430
  filter?: Record<string, any> | null;
@@ -2969,6 +2969,7 @@ interface AggregateDataItemsRequest extends AggregateDataItemsRequestPagingMetho
2969
2969
  dataCollectionId: string;
2970
2970
  /**
2971
2971
  * Filter applied to the collection's data prior to running the aggregation. See [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language#getting-started_api-query-language_the-filter-section) for information on how to structure a filter object.
2972
+ *
2972
2973
  * **Note:** The values you provide for each filter field must adhere to that field's type. For example, when filtering by a field whose type is Date and Time, use an object in the following format: `"someDateAndTimeFieldKey": { "$date": "YYYY-MM-DDTHH:mm:ss.sssZ"}`. Learn more about [data types in Wix Data](https://dev.wix.com/docs/rest/business-solutions/cms/data-items/data-types-in-wix-data).
2973
2974
  */
2974
2975
  initialFilter?: Record<string, any> | null;
@@ -3083,6 +3084,7 @@ interface CountDataItemsRequest {
3083
3084
  * }`.
3084
3085
  *
3085
3086
  * Examples of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`.
3087
+ *
3086
3088
  * **Note:** The values you provide for each field must adhere to that field's type. For example, when filtering by a field whose type is Date and Time, use an object in the following format: `"someDateAndTimeFieldKey": { "$date": "YYYY-MM-DDTHH:mm:ss.sssZ"}`. Learn more about [data types in Wix Data](https://dev.wix.com/docs/rest/business-solutions/cms/data-items/data-types-in-wix-data).
3087
3089
  */
3088
3090
  filter?: Record<string, any> | null;
@@ -3124,6 +3126,7 @@ interface QueryDistinctValuesRequest extends QueryDistinctValuesRequestPagingMet
3124
3126
  * }`.
3125
3127
  *
3126
3128
  * Examples of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`.
3129
+ *
3127
3130
  * **Note:** The values you provide for each field must adhere to that field's type. For example, when filtering by a field whose type is Date and Time, use an object in the following format: `"someDateAndTimeFieldKey": { "$date": "YYYY-MM-DDTHH:mm:ss.sssZ"}`. Learn more about [data types in Wix Data](https://dev.wix.com/docs/rest/business-solutions/cms/data-items/data-types-in-wix-data).
3128
3131
  */
3129
3132
  filter?: Record<string, any> | null;
@@ -3944,6 +3947,7 @@ interface AggregateDataItemsOptions extends AggregateDataItemsRequestPagingMetho
3944
3947
  dataCollectionId: string;
3945
3948
  /**
3946
3949
  * Filter applied to the collection's data prior to running the aggregation. See [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language#getting-started_api-query-language_the-filter-section) for information on how to structure a filter object.
3950
+ *
3947
3951
  * **Note:** The values you provide for each filter field must adhere to that field's type. For example, when filtering by a field whose type is Date and Time, use an object in the following format: `"someDateAndTimeFieldKey": { "$date": "YYYY-MM-DDTHH:mm:ss.sssZ"}`. Learn more about [data types in Wix Data](https://dev.wix.com/docs/rest/business-solutions/cms/data-items/data-types-in-wix-data).
3948
3952
  */
3949
3953
  initialFilter?: Record<string, any> | null;
@@ -3998,6 +4002,7 @@ interface CountDataItemsOptions {
3998
4002
  * }`.
3999
4003
  *
4000
4004
  * Examples of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`.
4005
+ *
4001
4006
  * **Note:** The values you provide for each field must adhere to that field's type. For example, when filtering by a field whose type is Date and Time, use an object in the following format: `"someDateAndTimeFieldKey": { "$date": "YYYY-MM-DDTHH:mm:ss.sssZ"}`. Learn more about [data types in Wix Data](https://dev.wix.com/docs/rest/business-solutions/cms/data-items/data-types-in-wix-data).
4002
4007
  */
4003
4008
  filter?: Record<string, any> | null;
@@ -4031,6 +4036,7 @@ interface QueryDistinctValuesOptions extends QueryDistinctValuesRequestPagingMet
4031
4036
  * }`.
4032
4037
  *
4033
4038
  * Examples of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`.
4039
+ *
4034
4040
  * **Note:** The values you provide for each field must adhere to that field's type. For example, when filtering by a field whose type is Date and Time, use an object in the following format: `"someDateAndTimeFieldKey": { "$date": "YYYY-MM-DDTHH:mm:ss.sssZ"}`. Learn more about [data types in Wix Data](https://dev.wix.com/docs/rest/business-solutions/cms/data-items/data-types-in-wix-data).
4035
4041
  */
4036
4042
  filter?: Record<string, any> | null;
@@ -3175,6 +3175,7 @@ interface AggregateDataItemsRequest$1 extends AggregateDataItemsRequestPagingMet
3175
3175
  dataCollectionId: string;
3176
3176
  /**
3177
3177
  * Filter applied to the collection's data prior to running the aggregation. See [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language#getting-started_api-query-language_the-filter-section) for information on how to structure a filter object.
3178
+ *
3178
3179
  * **Note:** The values you provide for each filter field must adhere to that field's type. For example, when filtering by a field whose type is Date and Time, use an object in the following format: `"someDateAndTimeFieldKey": { "$date": "YYYY-MM-DDTHH:mm:ss.sssZ"}`. Learn more about [data types in Wix Data](https://dev.wix.com/docs/rest/business-solutions/cms/data-items/data-types-in-wix-data).
3179
3180
  */
3180
3181
  initialFilter?: Record<string, any> | null;
@@ -3290,6 +3291,7 @@ interface CountDataItemsRequest$1 {
3290
3291
  * }`.
3291
3292
  *
3292
3293
  * Examples of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`.
3294
+ *
3293
3295
  * **Note:** The values you provide for each field must adhere to that field's type. For example, when filtering by a field whose type is Date and Time, use an object in the following format: `"someDateAndTimeFieldKey": { "$date": "YYYY-MM-DDTHH:mm:ss.sssZ"}`. Learn more about [data types in Wix Data](https://dev.wix.com/docs/rest/business-solutions/cms/data-items/data-types-in-wix-data).
3294
3296
  */
3295
3297
  filter?: Record<string, any> | null;
@@ -3332,6 +3334,7 @@ interface QueryDistinctValuesRequest$1 extends QueryDistinctValuesRequestPagingM
3332
3334
  * }`.
3333
3335
  *
3334
3336
  * Examples of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`.
3337
+ *
3335
3338
  * **Note:** The values you provide for each field must adhere to that field's type. For example, when filtering by a field whose type is Date and Time, use an object in the following format: `"someDateAndTimeFieldKey": { "$date": "YYYY-MM-DDTHH:mm:ss.sssZ"}`. Learn more about [data types in Wix Data](https://dev.wix.com/docs/rest/business-solutions/cms/data-items/data-types-in-wix-data).
3336
3339
  */
3337
3340
  filter?: Record<string, any> | null;
@@ -4113,6 +4116,7 @@ interface AggregateDataItemsRequest extends AggregateDataItemsRequestPagingMetho
4113
4116
  dataCollectionId: string;
4114
4117
  /**
4115
4118
  * Filter applied to the collection's data prior to running the aggregation. See [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language#getting-started_api-query-language_the-filter-section) for information on how to structure a filter object.
4119
+ *
4116
4120
  * **Note:** The values you provide for each filter field must adhere to that field's type. For example, when filtering by a field whose type is Date and Time, use an object in the following format: `"someDateAndTimeFieldKey": { "$date": "YYYY-MM-DDTHH:mm:ss.sssZ"}`. Learn more about [data types in Wix Data](https://dev.wix.com/docs/rest/business-solutions/cms/data-items/data-types-in-wix-data).
4117
4121
  */
4118
4122
  initialFilter?: Record<string, any> | null;
@@ -4227,6 +4231,7 @@ interface CountDataItemsRequest {
4227
4231
  * }`.
4228
4232
  *
4229
4233
  * Examples of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`.
4234
+ *
4230
4235
  * **Note:** The values you provide for each field must adhere to that field's type. For example, when filtering by a field whose type is Date and Time, use an object in the following format: `"someDateAndTimeFieldKey": { "$date": "YYYY-MM-DDTHH:mm:ss.sssZ"}`. Learn more about [data types in Wix Data](https://dev.wix.com/docs/rest/business-solutions/cms/data-items/data-types-in-wix-data).
4231
4236
  */
4232
4237
  filter?: Record<string, any> | null;
@@ -4268,6 +4273,7 @@ interface QueryDistinctValuesRequest extends QueryDistinctValuesRequestPagingMet
4268
4273
  * }`.
4269
4274
  *
4270
4275
  * Examples of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`.
4276
+ *
4271
4277
  * **Note:** The values you provide for each field must adhere to that field's type. For example, when filtering by a field whose type is Date and Time, use an object in the following format: `"someDateAndTimeFieldKey": { "$date": "YYYY-MM-DDTHH:mm:ss.sssZ"}`. Learn more about [data types in Wix Data](https://dev.wix.com/docs/rest/business-solutions/cms/data-items/data-types-in-wix-data).
4272
4278
  */
4273
4279
  filter?: Record<string, any> | null;
@@ -34,6 +34,7 @@ interface QueryV2 extends QueryV2PagingMethodOneOf {
34
34
  * "fieldName2":{"$operator":"value2"}
35
35
  * }`
36
36
  * Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`
37
+ *
37
38
  * **Note:** Your endpoint must properly handle requests with filtering preferences that adhere to Wix Data data types. For example, a query request that includes filtering by a field whose type is Date and Time would contain an object in the following format: `"someDateAndTimeFieldKey": { "$date": "YYYY-MM-DDTHH:mm:ss.sssZ"}`. Learn more about [data types in Wix Data](https://dev.wix.com/docs/rest/business-solutions/cms/data-items/data-types-in-wix-data).
38
39
  */
39
40
  filter?: Record<string, any> | null;
@@ -34,6 +34,7 @@ interface QueryV2 extends QueryV2PagingMethodOneOf {
34
34
  * "fieldName2":{"$operator":"value2"}
35
35
  * }`
36
36
  * Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`
37
+ *
37
38
  * **Note:** Your endpoint must properly handle requests with filtering preferences that adhere to Wix Data data types. For example, a query request that includes filtering by a field whose type is Date and Time would contain an object in the following format: `"someDateAndTimeFieldKey": { "$date": "YYYY-MM-DDTHH:mm:ss.sssZ"}`. Learn more about [data types in Wix Data](https://dev.wix.com/docs/rest/business-solutions/cms/data-items/data-types-in-wix-data).
38
39
  */
39
40
  filter?: Record<string, any> | null;