You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/cma-client/src/generated/ApiTypes.ts
+21-5Lines changed: 21 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -872,19 +872,19 @@ export type ItemInstancesHrefSchema<
872
872
*/
873
873
filter?: {
874
874
/**
875
-
* Record (or block record) IDs to fetch, comma separated. If you use this filter, you _must not_ use `filter[type]` or `filter[fields]`
875
+
* Record (or block record) IDs to fetch, comma separated. If you use this filter, you _must not_ use `filter[type]`. You can combine it with meta fields (like `_published_at`, `_status`), but _must not_ use model-specific fields
876
876
*/
877
877
ids?: string;
878
878
/**
879
-
* ModelID or `api_key` to filter. If you use this filter, you _must not_ use `filter[ids]`. Comma separated values are accepted, but you _must not_ use `filter[fields]` in this case
879
+
* Model/Block model ID or `api_key` to filter. If you use this filter, you _must not_ use `filter[ids]`. When passing a single element, you can use both meta fields and model-specific fields (note: model-specific fields only work with models, not block models). When passing multiple comma-separated values, you can use meta fields but _must not_ use model-specific fields
880
880
*/
881
881
type?: string;
882
882
/**
883
-
* Textual query to match. You _must not_ use `filter[ids]`. If `locale` is defined, search within that locale. Otherwise environment's main locale will be used.
883
+
* Textual query to match. Can be combined with other filters. When used, only records (not blocks) are returned. If `locale` is defined, search within that locale. Otherwise environment's main locale will be used.
884
884
*/
885
885
query?: string;
886
886
/**
887
-
* Same as [GraphQL API records filters](/docs/content-delivery-api/filtering-records): you must use square brackets to indicate nesting levels. E.g. if you wanna [filter by parent record](/docs/content-delivery-api/filtering-records#parent) in a tree of records, you must use `filter[fields][parent][eq]=<ID_VALUE>`. Use snake_case for fields names. If `locale` is defined, search within that locale. Otherwise environment's main locale will be used.
887
+
* Filter by record fields. Meta fields (like `_published_at`, `_status`) can be used in most cases. Model-specific fields (like `title`, `name`) require `filter[type]` to specify a single model, and only work with models (not block models). Same syntax as [GraphQL API records filters](/docs/content-delivery-api/filtering-records): use square brackets to indicate nesting levels. E.g. `filter[fields][parent][eq]=<ID_VALUE>`. Use snake_case for field names. If `locale` is defined, search within that locale. Otherwise environment's main locale will be used.
888
888
*/
889
889
fields?: ToItemHrefSchemaField<D>;
890
890
/**
@@ -953,7 +953,7 @@ export type ItemSelfHrefSchema = {
953
953
*/
954
954
nested?: boolean;
955
955
/**
956
-
* Whether you want the currently published versions (`published`, default) of your records, or the latest available (`current`)
956
+
* Whether you want the currently published versions (`published`) of your records, or the latest available (`current`, default)
957
957
*/
958
958
version?: string;
959
959
[k: string]: unknown;
@@ -3856,6 +3856,10 @@ export type SitePlan = {
3856
3856
* The number of available encoding seconds to Mux.com
3857
3857
*/
3858
3858
mux_encoding_seconds: null|number;
3859
+
/**
3860
+
* The number of images you can analyze for smart tags detections
3861
+
*/
3862
+
smart_tags_detections: null|number;
3859
3863
/**
3860
3864
* The number of different API tokens you can generate, each which different permissions
3861
3865
*/
@@ -4092,6 +4096,10 @@ export type SitePlanAttributes = {
4092
4096
* The number of available encoding seconds to Mux.com
4093
4097
*/
4094
4098
mux_encoding_seconds: null|number;
4099
+
/**
4100
+
* The number of images you can analyze for smart tags detections
4101
+
*/
4102
+
smart_tags_detections: null|number;
4095
4103
/**
4096
4104
* The number of different API tokens you can generate, each which different permissions
4097
4105
*/
@@ -10643,6 +10651,10 @@ export type DailyUsage = {
10643
10651
* Video encoding seconds
10644
10652
*/
10645
10653
mux_encoded_seconds: number;
10654
+
/**
10655
+
* Number of images analyzed for smart tags
10656
+
*/
10657
+
smart_tags_detections: number;
10646
10658
};
10647
10659
/**
10648
10660
* JSON API data
@@ -10697,6 +10709,10 @@ export type DailyUsageAttributes = {
10697
10709
* Video encoding seconds
10698
10710
*/
10699
10711
mux_encoded_seconds: number;
10712
+
/**
10713
+
* Number of images analyzed for smart tags
10714
+
*/
10715
+
smart_tags_detections: number;
10700
10716
};
10701
10717
/**
10702
10718
* You can use counters to analyze your project's data consumption over a period of time. Counters are especially useful if your project is exceeding its API calls/traffic quota limits, to better understand where and how requests are originating. Counters are updated every minute, so you can debug in real-time the results of your changes.
Copy file name to clipboardExpand all lines: packages/cma-client/src/generated/RawApiTypes.ts
+13-5Lines changed: 13 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -679,19 +679,19 @@ export type ItemInstancesHrefSchema<
679
679
*/
680
680
filter?: {
681
681
/**
682
-
* Record (or block record) IDs to fetch, comma separated. If you use this filter, you _must not_ use `filter[type]` or `filter[fields]`
682
+
* Record (or block record) IDs to fetch, comma separated. If you use this filter, you _must not_ use `filter[type]`. You can combine it with meta fields (like `_published_at`, `_status`), but _must not_ use model-specific fields
683
683
*/
684
684
ids?: string;
685
685
/**
686
-
* ModelID or `api_key` to filter. If you use this filter, you _must not_ use `filter[ids]`. Comma separated values are accepted, but you _must not_ use `filter[fields]` in this case
686
+
* Model/Block model ID or `api_key` to filter. If you use this filter, you _must not_ use `filter[ids]`. When passing a single element, you can use both meta fields and model-specific fields (note: model-specific fields only work with models, not block models). When passing multiple comma-separated values, you can use meta fields but _must not_ use model-specific fields
687
687
*/
688
688
type?: string;
689
689
/**
690
-
* Textual query to match. You _must not_ use `filter[ids]`. If `locale` is defined, search within that locale. Otherwise environment's main locale will be used.
690
+
* Textual query to match. Can be combined with other filters. When used, only records (not blocks) are returned. If `locale` is defined, search within that locale. Otherwise environment's main locale will be used.
691
691
*/
692
692
query?: string;
693
693
/**
694
-
* Same as [GraphQL API records filters](/docs/content-delivery-api/filtering-records): you must use square brackets to indicate nesting levels. E.g. if you wanna [filter by parent record](/docs/content-delivery-api/filtering-records#parent) in a tree of records, you must use `filter[fields][parent][eq]=<ID_VALUE>`. Use snake_case for fields names. If `locale` is defined, search within that locale. Otherwise environment's main locale will be used.
694
+
* Filter by record fields. Meta fields (like `_published_at`, `_status`) can be used in most cases. Model-specific fields (like `title`, `name`) require `filter[type]` to specify a single model, and only work with models (not block models). Same syntax as [GraphQL API records filters](/docs/content-delivery-api/filtering-records): use square brackets to indicate nesting levels. E.g. `filter[fields][parent][eq]=<ID_VALUE>`. Use snake_case for field names. If `locale` is defined, search within that locale. Otherwise environment's main locale will be used.
695
695
*/
696
696
fields?: ToItemHrefSchemaField<D>;
697
697
/**
@@ -752,7 +752,7 @@ export type ItemSelfHrefSchema = {
752
752
*/
753
753
nested?: boolean;
754
754
/**
755
-
* Whether you want the currently published versions (`published`, default) of your records, or the latest available (`current`)
755
+
* Whether you want the currently published versions (`published`) of your records, or the latest available (`current`, default)
756
756
*/
757
757
version?: string;
758
758
[k: string]: unknown;
@@ -3350,6 +3350,10 @@ export type SitePlanAttributes = {
3350
3350
* The number of available encoding seconds to Mux.com
3351
3351
*/
3352
3352
mux_encoding_seconds: null|number;
3353
+
/**
3354
+
* The number of images you can analyze for smart tags detections
3355
+
*/
3356
+
smart_tags_detections: null|number;
3353
3357
/**
3354
3358
* The number of different API tokens you can generate, each which different permissions
3355
3359
*/
@@ -11005,6 +11009,10 @@ export type DailyUsageAttributes = {
0 commit comments