@datocms/cma-client 5.5.4 → 5.6.0
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/dist/cjs/generated/Client.js +1 -1
- package/dist/cjs/generated/resources/Field.js +2 -0
- package/dist/cjs/generated/resources/Field.js.map +1 -1
- package/dist/cjs/generated/resources/Site.js +1 -1
- package/dist/cjs/generated/resources/Site.js.map +1 -1
- package/dist/cjs/generated/resources/UploadTrack.js +1 -1
- package/dist/cjs/generated/resources/UploadTrack.js.map +1 -1
- package/dist/esm/generated/ApiTypes.d.ts +35 -4
- package/dist/esm/generated/Client.js +1 -1
- package/dist/esm/generated/RawApiTypes.d.ts +23 -8
- package/dist/esm/generated/resources/Field.js +2 -0
- package/dist/esm/generated/resources/Field.js.map +1 -1
- package/dist/esm/generated/resources/Site.js +1 -1
- package/dist/esm/generated/resources/Site.js.map +1 -1
- package/dist/esm/generated/resources/UploadTrack.js +1 -1
- package/dist/esm/generated/resources/UploadTrack.js.map +1 -1
- package/dist/types/generated/ApiTypes.d.ts +35 -4
- package/dist/types/generated/RawApiTypes.d.ts +23 -8
- package/package.json +3 -3
- package/resources.json +6 -4
- package/src/generated/ApiTypes.ts +35 -4
- package/src/generated/Client.ts +1 -1
- package/src/generated/RawApiTypes.ts +23 -8
- package/src/generated/resources/Field.ts +2 -0
- package/src/generated/resources/Site.ts +1 -1
- package/src/generated/resources/UploadTrack.ts +1 -1
|
@@ -90,7 +90,7 @@ class Client {
|
|
|
90
90
|
return this.config.baseUrl || Client.defaultBaseUrl;
|
|
91
91
|
}
|
|
92
92
|
request(options) {
|
|
93
|
-
return (0, rest_client_utils_1.request)(Object.assign(Object.assign(Object.assign({}, this.config), options), { logFn: this.config.logFn || console.log, userAgent: '@datocms/cma-client v5.
|
|
93
|
+
return (0, rest_client_utils_1.request)(Object.assign(Object.assign(Object.assign({}, this.config), options), { logFn: this.config.logFn || console.log, userAgent: '@datocms/cma-client v5.6.0', baseUrl: this.baseUrl, preCallStack: new Error().stack, extraHeaders: Object.assign(Object.assign(Object.assign({}, (this.config.extraHeaders || {})), (this.config.environment
|
|
94
94
|
? { 'X-Environment': this.config.environment }
|
|
95
95
|
: {})), { 'X-API-Version': '3' }), fetchJobResult: (jobId) => {
|
|
96
96
|
return this.jobResultsFetcher
|
|
@@ -52,6 +52,7 @@ class Field extends BaseResource_js_1.default {
|
|
|
52
52
|
'hint',
|
|
53
53
|
'default_value',
|
|
54
54
|
'deep_filtering_enabled',
|
|
55
|
+
'content_link_enabled',
|
|
55
56
|
],
|
|
56
57
|
relationships: ['fieldset'],
|
|
57
58
|
})).then((body) => Utils.deserializeResponseBody(body));
|
|
@@ -95,6 +96,7 @@ class Field extends BaseResource_js_1.default {
|
|
|
95
96
|
'field_type',
|
|
96
97
|
'hint',
|
|
97
98
|
'deep_filtering_enabled',
|
|
99
|
+
'content_link_enabled',
|
|
98
100
|
],
|
|
99
101
|
relationships: ['fieldset'],
|
|
100
102
|
})).then((body) => Utils.deserializeResponseBody(body));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Field.js","sourceRoot":"","sources":["../../../../src/generated/resources/Field.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kEAAoD;AACpD,4EAAiD;AAIjD,MAAqB,KAAM,SAAQ,yBAAY;IAG7C;;;;;;;OAOG;IACH,MAAM,CACJ,UAA0C,EAC1C,IAAgC;QAEhC,OAAO,IAAI,CAAC,SAAS,CACnB,KAAK,CAAC,IAAI,CAAC,UAAU,CAAC,EACtB,KAAK,CAAC,oBAAoB,CAAgC,IAAI,EAAE;YAC9D,IAAI,EAAE,OAAO;YACb,UAAU,EAAE;gBACV,OAAO;gBACP,YAAY;gBACZ,SAAS;gBACT,WAAW;gBACX,YAAY;gBACZ,aAAa;gBACb,YAAY;gBACZ,UAAU;gBACV,MAAM;gBACN,eAAe;gBACf,wBAAwB;
|
|
1
|
+
{"version":3,"file":"Field.js","s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I,EAAE;YAC7D,IAAI,EAAE,MAAM;YACZ,UAAU,EAAE;gBACV,UAAU;gBACV,SAAS;gBACT,YAAY;gBACZ,MAAM;gBACN,OAAO;gBACP,SAAS;gBACT,UAAU;gBACV,aAAa;gBACb,qBAAqB;gBACrB,mCAAmC;aACpC;YACD,aAAa,EAAE,
|
|
1
|
+
{"version":3,"file":"Site.js","sourceRoot":"","sources":["../../../../src/generated/resources/Site.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kEAAoD;AACpD,4EAAiD;AAIjD,MAAqB,IAAK,SAAQ,yBAAY;IAG5C;;;;;;;OAOG;IACH,IAAI,CAAC,WAAyC;QAC5C,OAAO,IAAI,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,EAAE,CAC7C,KAAK,CAAC,uBAAuB,CAAgC,IAAI,CAAC,CACnE,CAAC;IACJ,CAAC;IAED;;;;;;;OAOG;IACH,OAAO,CACL,WAA4C;QAE5C,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,CAAmC;YAC3D,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,OAAO;YACZ,WAAW;SACZ,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;OAOG;IACH,MAAM,CAAC,IAA+B;QACpC,OAAO,IAAI,CAAC,SAAS,CACnB,KAAK,CAAC,oBAAoB,CAA+B,IAAI,EAAE;YAC7D,IAAI,EAAE,MAAM;YACZ,UAAU,EAAE;gBACV,UAAU;gBACV,SAAS;gBACT,YAAY;gBACZ,MAAM;gBACN,OAAO;gBACP,SAAS;gBACT,UAAU;gBACV,aAAa;gBACb,qBAAqB;gBACrB,mCAAmC;aACpC;YACD,aAAa,EAAE,EAAE;SAClB,CAAC,CACH,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,EAAE,CACd,KAAK,CAAC,uBAAuB,CAA+B,IAAI,CAAC,CAClE,CAAC;IACJ,CAAC;IAED;;;;;;;OAOG;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,uBAAuB,CAC3B,IAAI,CACL,CACF,CAAC;IACJ,CAAC;IAED;;;;;;;;;OASG;IACH,kCAAkC;QAChC,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,CACxB;YACE,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,2CAA2C;SACjD,CACF,CAAC;IACJ,CAAC;IAED;;;;;;;;;OASG;IACH,8BAA8B,CAC5B,IAAuD;QAEvD,OAAO,IAAI,CAAC,iCAAiC,CAC3C,KAAK,CAAC,oBAAoB,CACxB,IAAI,EACJ;YACE,IAAI,EAAE,6BAA6B;YACnC,UAAU,EAAE,CAAC,6BAA6B,CAAC;YAC3C,aAAa,EAAE,EAAE;SAClB,CACF,CACF,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,EAAE,CACd,KAAK,CAAC,uBAAuB,CAC3B,IAAI,CACL,CACF,CAAC;IACJ,CAAC;IAED;;;;;;;;;OASG;IACH,iCAAiC,CAC/B,IAA0D;QAE1D,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,CACxB;YACE,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,mCAAmC;YACxC,IAAI;SACL,CACF,CAAC;IACJ,CAAC;;AA5hBH,uBA6hBC;AA5hBiB,SAAI,GAAG,MAAe,CAAC"}
|
|
@@ -127,7 +127,7 @@ class UploadTrack extends BaseResource_js_1.default {
|
|
|
127
127
|
*/
|
|
128
128
|
generateSubtitles(uploadId, body) {
|
|
129
129
|
return this.rawGenerateSubtitles(Utils.toId(uploadId), Utils.serializeRequestBody(body, {
|
|
130
|
-
type: '
|
|
130
|
+
type: 'subtitles_generation',
|
|
131
131
|
attributes: ['name', 'language_code'],
|
|
132
132
|
relationships: [],
|
|
133
133
|
})).then((body) => Utils.deserializeResponseBody(body));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UploadTrack.js","sourceRoot":"","sources":["../../../../src/generated/resources/UploadTrack.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;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AAI,CAAC,QAAQ,CAAC,EACpB,KAAK,CAAC,IAAI,CAAC,aAAa,CAAC,CAC1B,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,EAAE,CACd,KAAK,CAAC,uBAAuB,CAAuC,IAAI,CAAC,CAC1E,CAAC;IACJ,CAAC;IAED;;;;;;;OAOG;IACH,UAAU,CACR,QAAgB,EAChB,aAAqB;QAErB,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,CAA0C;YAClE,MAAM,EAAE,QAAQ;YAChB,GAAG,EAAE,YAAY,QAAQ,WAAW,aAAa,EAAE;SACpD,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;OASG;IACH,iBAAiB,CACf,QAAsC,EACtC,IAAiD;QAEjD,OAAO,IAAI,CAAC,oBAAoB,CAC9B,KAAK,CAAC,IAAI,CAAC,QAAQ,CAAC,EACpB,KAAK,CAAC,oBAAoB,CACxB,IAAI,EACJ;YACE,IAAI,EAAE,
|
|
1
|
+
{"version":3,"file":"UploadTrack.js","sourceRoot":"","sources":["../../../../src/generated/resources/UploadTrack.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kEAAoD;AACpD,4EAAiD;AAIjD,MAAqB,WAAY,SAAQ,yBAAY;IAGnD;;;;;;;OAOG;IACH,MAAM,CACJ,QAAsC,EACtC,IAAsC;QAEtC,OAAO,IAAI,CAAC,SAAS,CACnB,KAAK,CAAC,IAAI,CAAC,QAAQ,CAAC,EACpB,KAAK,CAAC,oBAAoB,CAAsC,IAAI,EAAE;YACpE,IAAI,EAAE,cAAc;YACpB,UAAU,EAAE;gBACV,0BAA0B;gBAC1B,MAAM;gBACN,MAAM;gBACN,eAAe;gBACf,iBAAiB;aAClB;YACD,aAAa,EAAE,EAAE;SAClB,CAAC,CACH,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,EAAE,CACd,KAAK,CAAC,uBAAuB,CAAsC,IAAI,CAAC,CACzE,CAAC;IACJ,CAAC;IAED;;;;;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,CAAC,EACpB,KAAK,CAAC,oBAAoB,CACxB,IAAI,EACJ;YACE,IAAI,EAAE,sBAAsB;YAC5B,UAAU,EAAE,CAAC,MAAM,EAAE,eAAe,CAAC;YACrC,aAAa,EAAE,EAAE;SAClB,CACF,CACF,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,EAAE,CACd,KAAK,CAAC,uBAAuB,CAC3B,IAAI,CACL,CACF,CAAC;IACJ,CAAC;IAED;;;;;;;;;OASG;IACH,oBAAoB,CAClB,QAAgB,EAChB,IAAoD;QAEpD,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,CACxB;YACE,MAAM,EAAE,MAAM;YACd,GAAG,EAAE,YAAY,QAAQ,4BAA4B;YACrD,IAAI;SACL,CACF,CAAC;IACJ,CAAC;;AA/KH,8BAgLC;AA/KiB,gBAAI,GAAG,cAAuB,CAAC"}
|
|
@@ -898,7 +898,7 @@ export type ItemInstancesHrefSchema<D extends ItemTypeDefinition = ItemTypeDefin
|
|
|
898
898
|
*/
|
|
899
899
|
filter?: {
|
|
900
900
|
/**
|
|
901
|
-
* 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
|
|
901
|
+
* 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`, `_creator`), but _must not_ use model-specific fields
|
|
902
902
|
*/
|
|
903
903
|
ids?: string;
|
|
904
904
|
/**
|
|
@@ -910,7 +910,7 @@ export type ItemInstancesHrefSchema<D extends ItemTypeDefinition = ItemTypeDefin
|
|
|
910
910
|
*/
|
|
911
911
|
query?: string;
|
|
912
912
|
/**
|
|
913
|
-
* 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.
|
|
913
|
+
* Filter by record fields. Meta fields (like `_published_at`, `_status`, `_creator`) 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. The `_creator` meta filter is CMA-only (not available via the GraphQL API) and accepts polymorphic creator references in the form `{ "type": "user" | "account" | "organization" | "sso_user" | "access_token", "id": "<ID>" }`. If `locale` is defined, search within that locale. Otherwise environment's main locale will be used.
|
|
914
914
|
*/
|
|
915
915
|
fields?: ToItemHrefSchemaField<D>;
|
|
916
916
|
/**
|
|
@@ -3881,6 +3881,14 @@ export type SitePlan = {
|
|
|
3881
3881
|
* The number of images you can analyze for smart tags detections
|
|
3882
3882
|
*/
|
|
3883
3883
|
smart_tags_detections: null | number;
|
|
3884
|
+
/**
|
|
3885
|
+
* Monthly cumulative execution-time budget (in seconds) for scripts run in the remote MCP sandbox
|
|
3886
|
+
*/
|
|
3887
|
+
mcp_sandbox_execution_seconds: number;
|
|
3888
|
+
/**
|
|
3889
|
+
* Per-execution timeout ceiling (in seconds) for scripts run in the remote MCP sandbox
|
|
3890
|
+
*/
|
|
3891
|
+
mcp_sandbox_timeout_seconds: number;
|
|
3884
3892
|
/**
|
|
3885
3893
|
* The number of different API tokens you can generate, each which different permissions
|
|
3886
3894
|
*/
|
|
@@ -4145,6 +4153,14 @@ export type SitePlanAttributes = {
|
|
|
4145
4153
|
* The number of images you can analyze for smart tags detections
|
|
4146
4154
|
*/
|
|
4147
4155
|
smart_tags_detections: null | number;
|
|
4156
|
+
/**
|
|
4157
|
+
* Monthly cumulative execution-time budget (in seconds) for scripts run in the remote MCP sandbox
|
|
4158
|
+
*/
|
|
4159
|
+
mcp_sandbox_execution_seconds: number;
|
|
4160
|
+
/**
|
|
4161
|
+
* Per-execution timeout ceiling (in seconds) for scripts run in the remote MCP sandbox
|
|
4162
|
+
*/
|
|
4163
|
+
mcp_sandbox_timeout_seconds: number;
|
|
4148
4164
|
/**
|
|
4149
4165
|
* The number of different API tokens you can generate, each which different permissions
|
|
4150
4166
|
*/
|
|
@@ -6246,6 +6262,10 @@ export type FieldStableShell = {
|
|
|
6246
6262
|
* Whether deep filtering for block models is enabled in GraphQL or not
|
|
6247
6263
|
*/
|
|
6248
6264
|
deep_filtering_enabled: boolean;
|
|
6265
|
+
/**
|
|
6266
|
+
* Whether Content Link (visual editing) encoding is emitted for this field's value in the Content Delivery API. Defaults to `true`; can only be set to `false` on `string`, `text` and `structured_text` fields
|
|
6267
|
+
*/
|
|
6268
|
+
content_link_enabled: boolean;
|
|
6249
6269
|
item_type: ItemTypeData;
|
|
6250
6270
|
fieldset: null | FieldsetData;
|
|
6251
6271
|
};
|
|
@@ -6347,6 +6367,10 @@ export type FieldAttributesStableShell = {
|
|
|
6347
6367
|
* Whether deep filtering for block models is enabled in GraphQL or not
|
|
6348
6368
|
*/
|
|
6349
6369
|
deep_filtering_enabled: boolean;
|
|
6370
|
+
/**
|
|
6371
|
+
* Whether Content Link (visual editing) encoding is emitted for this field's value in the Content Delivery API. Defaults to `true`; can only be set to `false` on `string`, `text` and `structured_text` fields
|
|
6372
|
+
*/
|
|
6373
|
+
content_link_enabled: boolean;
|
|
6350
6374
|
};
|
|
6351
6375
|
/**
|
|
6352
6376
|
* JSON API links
|
|
@@ -6451,6 +6475,10 @@ export type FieldCreateSchemaStableShell = {
|
|
|
6451
6475
|
* Whether deep filtering for block models is enabled in GraphQL or not
|
|
6452
6476
|
*/
|
|
6453
6477
|
deep_filtering_enabled?: boolean;
|
|
6478
|
+
/**
|
|
6479
|
+
* Whether Content Link (visual editing) encoding is emitted for this field's value in the Content Delivery API. Defaults to `true`; can only be set to `false` on `string`, `text` and `structured_text` fields
|
|
6480
|
+
*/
|
|
6481
|
+
content_link_enabled?: boolean;
|
|
6454
6482
|
fieldset?: null | FieldsetData;
|
|
6455
6483
|
};
|
|
6456
6484
|
/**
|
|
@@ -6546,6 +6574,10 @@ export type FieldUpdateSchemaStableShell = {
|
|
|
6546
6574
|
* Whether deep filtering for block models is enabled in GraphQL or not
|
|
6547
6575
|
*/
|
|
6548
6576
|
deep_filtering_enabled?: boolean;
|
|
6577
|
+
/**
|
|
6578
|
+
* Whether Content Link (visual editing) encoding is emitted for this field's value in the Content Delivery API. Defaults to `true`; can only be set to `false` on `string`, `text` and `structured_text` fields
|
|
6579
|
+
*/
|
|
6580
|
+
content_link_enabled?: boolean;
|
|
6549
6581
|
fieldset?: null | FieldsetData;
|
|
6550
6582
|
};
|
|
6551
6583
|
/**
|
|
@@ -8393,7 +8425,7 @@ export type UploadTrackCreateSchema = {
|
|
|
8393
8425
|
* via the `generate_subtitles.schema` link.
|
|
8394
8426
|
*/
|
|
8395
8427
|
export type UploadTrackGenerateSubtitlesSchema = {
|
|
8396
|
-
type?:
|
|
8428
|
+
type?: 'subtitles_generation';
|
|
8397
8429
|
/**
|
|
8398
8430
|
* The human-readable name of the track
|
|
8399
8431
|
*/
|
|
@@ -11667,7 +11699,6 @@ export type SiteUpdateSchema = {
|
|
|
11667
11699
|
* If enabled, blocks schema changes of primary environment
|
|
11668
11700
|
*/
|
|
11669
11701
|
force_use_of_sandbox_environments?: boolean;
|
|
11670
|
-
sso_default_role?: RoleData;
|
|
11671
11702
|
meta?: {
|
|
11672
11703
|
/**
|
|
11673
11704
|
* Whether the [Improved API Timezone Management](https://www.datocms.com/product-updates/improved-timezone-management) opt-in product update is active or not
|
|
@@ -64,7 +64,7 @@ export class Client {
|
|
|
64
64
|
return this.config.baseUrl || Client.defaultBaseUrl;
|
|
65
65
|
}
|
|
66
66
|
request(options) {
|
|
67
|
-
return request(Object.assign(Object.assign(Object.assign({}, this.config), options), { logFn: this.config.logFn || console.log, userAgent: '@datocms/cma-client v5.
|
|
67
|
+
return request(Object.assign(Object.assign(Object.assign({}, this.config), options), { logFn: this.config.logFn || console.log, userAgent: '@datocms/cma-client v5.6.0', baseUrl: this.baseUrl, preCallStack: new Error().stack, extraHeaders: Object.assign(Object.assign(Object.assign({}, (this.config.extraHeaders || {})), (this.config.environment
|
|
68
68
|
? { 'X-Environment': this.config.environment }
|
|
69
69
|
: {})), { 'X-API-Version': '3' }), fetchJobResult: (jobId) => {
|
|
70
70
|
return this.jobResultsFetcher
|
|
@@ -712,7 +712,7 @@ export type ItemInstancesHrefSchema<D extends ItemTypeDefinition = ItemTypeDefin
|
|
|
712
712
|
*/
|
|
713
713
|
filter?: {
|
|
714
714
|
/**
|
|
715
|
-
* 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
|
|
715
|
+
* 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`, `_creator`), but _must not_ use model-specific fields
|
|
716
716
|
*/
|
|
717
717
|
ids?: string;
|
|
718
718
|
/**
|
|
@@ -724,7 +724,7 @@ export type ItemInstancesHrefSchema<D extends ItemTypeDefinition = ItemTypeDefin
|
|
|
724
724
|
*/
|
|
725
725
|
query?: string;
|
|
726
726
|
/**
|
|
727
|
-
* 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.
|
|
727
|
+
* Filter by record fields. Meta fields (like `_published_at`, `_status`, `_creator`) 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. The `_creator` meta filter is CMA-only (not available via the GraphQL API) and accepts polymorphic creator references in the form `{ "type": "user" | "account" | "organization" | "sso_user" | "access_token", "id": "<ID>" }`. If `locale` is defined, search within that locale. Otherwise environment's main locale will be used.
|
|
728
728
|
*/
|
|
729
729
|
fields?: ToItemHrefSchemaField<D>;
|
|
730
730
|
/**
|
|
@@ -3467,6 +3467,14 @@ export type SitePlanAttributes = {
|
|
|
3467
3467
|
* The number of images you can analyze for smart tags detections
|
|
3468
3468
|
*/
|
|
3469
3469
|
smart_tags_detections: null | number;
|
|
3470
|
+
/**
|
|
3471
|
+
* Monthly cumulative execution-time budget (in seconds) for scripts run in the remote MCP sandbox
|
|
3472
|
+
*/
|
|
3473
|
+
mcp_sandbox_execution_seconds: number;
|
|
3474
|
+
/**
|
|
3475
|
+
* Per-execution timeout ceiling (in seconds) for scripts run in the remote MCP sandbox
|
|
3476
|
+
*/
|
|
3477
|
+
mcp_sandbox_timeout_seconds: number;
|
|
3470
3478
|
/**
|
|
3471
3479
|
* The number of different API tokens you can generate, each which different permissions
|
|
3472
3480
|
*/
|
|
@@ -6004,6 +6012,10 @@ export type FieldAttributesStableShell = {
|
|
|
6004
6012
|
* Whether deep filtering for block models is enabled in GraphQL or not
|
|
6005
6013
|
*/
|
|
6006
6014
|
deep_filtering_enabled: boolean;
|
|
6015
|
+
/**
|
|
6016
|
+
* Whether Content Link (visual editing) encoding is emitted for this field's value in the Content Delivery API. Defaults to `true`; can only be set to `false` on `string`, `text` and `structured_text` fields
|
|
6017
|
+
*/
|
|
6018
|
+
content_link_enabled: boolean;
|
|
6007
6019
|
};
|
|
6008
6020
|
/**
|
|
6009
6021
|
* JSON API links
|
|
@@ -6123,6 +6135,10 @@ export type FieldCreateSchemaStableShell = {
|
|
|
6123
6135
|
* Whether deep filtering for block models is enabled in GraphQL or not
|
|
6124
6136
|
*/
|
|
6125
6137
|
deep_filtering_enabled?: boolean;
|
|
6138
|
+
/**
|
|
6139
|
+
* Whether Content Link (visual editing) encoding is emitted for this field's value in the Content Delivery API. Defaults to `true`; can only be set to `false` on `string`, `text` and `structured_text` fields
|
|
6140
|
+
*/
|
|
6141
|
+
content_link_enabled?: boolean;
|
|
6126
6142
|
};
|
|
6127
6143
|
/**
|
|
6128
6144
|
* JSON API links
|
|
@@ -6247,6 +6263,10 @@ export type FieldUpdateSchemaStableShell = {
|
|
|
6247
6263
|
* Whether deep filtering for block models is enabled in GraphQL or not
|
|
6248
6264
|
*/
|
|
6249
6265
|
deep_filtering_enabled?: boolean;
|
|
6266
|
+
/**
|
|
6267
|
+
* Whether Content Link (visual editing) encoding is emitted for this field's value in the Content Delivery API. Defaults to `true`; can only be set to `false` on `string`, `text` and `structured_text` fields
|
|
6268
|
+
*/
|
|
6269
|
+
content_link_enabled?: boolean;
|
|
6250
6270
|
};
|
|
6251
6271
|
/**
|
|
6252
6272
|
* JSON API links
|
|
@@ -8838,7 +8858,7 @@ export type UploadTrackDestroyJobSchema = {
|
|
|
8838
8858
|
*/
|
|
8839
8859
|
export type UploadTrackGenerateSubtitlesSchema = {
|
|
8840
8860
|
data: {
|
|
8841
|
-
type:
|
|
8861
|
+
type: 'subtitles_generation';
|
|
8842
8862
|
attributes: {
|
|
8843
8863
|
/**
|
|
8844
8864
|
* The human-readable name of the track
|
|
@@ -11930,11 +11950,6 @@ export type SiteUpdateSchema = {
|
|
|
11930
11950
|
*/
|
|
11931
11951
|
non_localized_focal_points?: boolean;
|
|
11932
11952
|
};
|
|
11933
|
-
relationships?: {
|
|
11934
|
-
sso_default_role?: {
|
|
11935
|
-
data: RoleData;
|
|
11936
|
-
};
|
|
11937
|
-
};
|
|
11938
11953
|
};
|
|
11939
11954
|
};
|
|
11940
11955
|
/**
|
|
@@ -24,6 +24,7 @@ export default class Field extends BaseResource {
|
|
|
24
24
|
'hint',
|
|
25
25
|
'default_value',
|
|
26
26
|
'deep_filtering_enabled',
|
|
27
|
+
'content_link_enabled',
|
|
27
28
|
],
|
|
28
29
|
relationships: ['fieldset'],
|
|
29
30
|
})).then((body) => Utils.deserializeResponseBody(body));
|
|
@@ -67,6 +68,7 @@ export default class Field extends BaseResource {
|
|
|
67
68
|
'field_type',
|
|
68
69
|
'hint',
|
|
69
70
|
'deep_filtering_enabled',
|
|
71
|
+
'content_link_enabled',
|
|
70
72
|
],
|
|
71
73
|
relationships: ['fieldset'],
|
|
72
74
|
})).then((body) => Utils.deserializeResponseBody(body));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Field.js","sourceRoot":"","sources":["../../../../src/generated/resources/Field.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,4BAA4B,CAAC;AACpD,OAAO,YAAY,MAAM,uBAAuB,CAAC;AAIjD,MAAM,CAAC,OAAO,OAAO,KAAM,SAAQ,YAAY;IAG7C;;;;;;;OAOG;IACH,MAAM,CACJ,UAA0C,EAC1C,IAAgC;QAEhC,OAAO,IAAI,CAAC,SAAS,CACnB,KAAK,CAAC,IAAI,CAAC,UAAU,CAAC,EACtB,KAAK,CAAC,oBAAoB,CAAgC,IAAI,EAAE;YAC9D,IAAI,EAAE,OAAO;YACb,UAAU,EAAE;gBACV,OAAO;gBACP,YAAY;gBACZ,SAAS;gBACT,WAAW;gBACX,YAAY;gBACZ,aAAa;gBACb,YAAY;gBACZ,UAAU;gBACV,MAAM;gBACN,eAAe;gBACf,wBAAwB;
|
|
1
|
+
{"version":3,"file":"Field.js","sourceRoot":"","sources":["../../../../src/generated/resources/Field.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,4BAA4B,CAAC;AACpD,OAAO,YAAY,MAAM,uBAAuB,CAAC;AAIjD,MAAM,CAAC,OAAO,OAAO,KAAM,SAAQ,YAAY;IAG7C;;;;;;;OAOG;IACH,MAAM,CACJ,UAA0C,EAC1C,IAAgC;QAEhC,OAAO,IAAI,CAAC,SAAS,CACnB,KAAK,C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uBAAuB,CAAmC,IAAI,CAAC,CACtE,CAAC;IACJ,CAAC;IAED;;;;;;;OAOG;IACH,YAAY,CAAC,OAAe;QAC1B,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,CAAsC;YAC9D,MAAM,EAAE,MAAM;YACd,GAAG,EAAE,WAAW,OAAO,YAAY;SACpC,CAAC,CAAC;IACL,CAAC;;AAzSe,UAAI,GAAG,OAAgB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Site.js","sourceRoot":"","sources":["../../../../src/generated/resources/Site.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,4BAA4B,CAAC;AACpD,OAAO,YAAY,MAAM,uBAAuB,CAAC;AAIjD,MAAM,CAAC,OAAO,OAAO,IAAK,SAAQ,YAAY;IAG5C;;;;;;;OAOG;IACH,IAAI,CAAC,WAAyC;QAC5C,OAAO,IAAI,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,EAAE,CAC7C,KAAK,CAAC,uBAAuB,CAAgC,IAAI,CAAC,CACnE,CAAC;IACJ,CAAC;IAED;;;;;;;OAOG;IACH,OAAO,CACL,WAA4C;QAE5C,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,CAAmC;YAC3D,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,OAAO;YACZ,WAAW;SACZ,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;OAOG;IACH,MAAM,CAAC,IAA+B;QACpC,OAAO,IAAI,CAAC,SAAS,CACnB,KAAK,CAAC,oBAAoB,CAA+B,IAAI,EAAE;YAC7D,IAAI,EAAE,MAAM;YACZ,UAAU,EAAE;gBACV,UAAU;gBACV,SAAS;gBACT,YAAY;gBACZ,MAAM;gBACN,OAAO;gBACP,SAAS;gBACT,UAAU;gBACV,aAAa;gBACb,qBAAqB;gBACrB,mCAAmC;aACpC;YACD,aAAa,EAAE,
|
|
1
|
+
{"version":3,"file":"Site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AC;IACJ,CAAC;IAED;;;;;;;;;OASG;IACH,8BAA8B,CAC5B,IAAuD;QAEvD,OAAO,IAAI,CAAC,iCAAiC,CAC3C,KAAK,CAAC,oBAAoB,CACxB,IAAI,EACJ;YACE,IAAI,EAAE,6BAA6B;YACnC,UAAU,EAAE,CAAC,6BAA6B,CAAC;YAC3C,aAAa,EAAE,EAAE;SAClB,CACF,CACF,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,EAAE,CACd,KAAK,CAAC,uBAAuB,CAC3B,IAAI,CACL,CACF,CAAC;IACJ,CAAC;IAED;;;;;;;;;OASG;IACH,iCAAiC,CAC/B,IAA0D;QAE1D,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,CACxB;YACE,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,mCAAmC;YACxC,IAAI;SACL,CACF,CAAC;IACJ,CAAC;;AA3hBe,SAAI,GAAG,MAAe,CAAC"}
|
|
@@ -99,7 +99,7 @@ export default class UploadTrack extends BaseResource {
|
|
|
99
99
|
*/
|
|
100
100
|
generateSubtitles(uploadId, body) {
|
|
101
101
|
return this.rawGenerateSubtitles(Utils.toId(uploadId), Utils.serializeRequestBody(body, {
|
|
102
|
-
type: '
|
|
102
|
+
type: 'subtitles_generation',
|
|
103
103
|
attributes: ['name', 'language_code'],
|
|
104
104
|
relationships: [],
|
|
105
105
|
})).then((body) => Utils.deserializeResponseBody(body));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UploadTrack.js","sourceRoot":"","sources":["../../../../src/generated/resources/UploadTrack.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,4BAA4B,CAAC;AACpD,OAAO,YAAY,MAAM,uBAAuB,CAAC;AAIjD,MAAM,CAAC,OAAO,OAAO,WAAY,SAAQ,YAAY;IAGnD;;;;;;;OAOG;IACH,MAAM,CACJ,QAAsC,EACtC,IAAsC;QAEtC,OAAO,IAAI,CAAC,SAAS,CACnB,KAAK,CAAC,IAAI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CAAC;IAED;;;;;;;OAOG;IACH,UAAU,CACR,QAAgB,EAChB,aAAqB;QAErB,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,CAA0C;YAClE,MAAM,EAAE,QAAQ;YAChB,GAAG,EAAE,YAAY,QAAQ,WAAW,aAAa,EAAE;SACpD,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;OASG;IACH,iBAAiB,CACf,QAAsC,EACtC,IAAiD;QAEjD,OAAO,IAAI,CAAC,oBAAoB,CAC9B,KAAK,CAAC,IAAI,CAAC,QAAQ,CAAC,EACpB,KAAK,CAAC,oBAAoB,CACxB,IAAI,EACJ;YACE,IAAI,EAAE,
|
|
1
|
+
{"version":3,"file":"UploadTrack.js","sourceRoot":"","sources":["../../../../src/generated/resources/UploadTrack.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,4BAA4B,CAAC;AACpD,OAAO,YAAY,MAAM,uBAAuB,CAAC;AAIjD,MAAM,CAAC,OAAO,OAAO,WAAY,SAAQ,YAAY;IAGnD;;;;;;;OAOG;IACH,MAAM,CACJ,QAAsC,EACtC,IAAsC;QAEtC,OAAO,IAAI,CAAC,SAAS,CACnB,KAAK,CAAC,IAAI,CAAC,QAAQ,CAAC,EACpB,KAAK,CAAC,oBAAoB,CAAsC,IAAI,EAAE;YACpE,IAAI,EAAE,cAAc;YACpB,UAAU,EAAE;gBACV,0BAA0B;gBAC1B,MAAM;gBACN,MAAM;gBACN,eAAe;gBACf,iBAAiB;aAClB;YACD,aAAa,EAAE,EAAE;SAClB,CAAC,CACH,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,EAAE,CACd,KAAK,CAAC,uBAAuB,CAAsC,IAAI,CAAC,CACzE,CAAC;IACJ,CAAC;IAED;;;;;;;OAOG;IACH,SAAS,CACP,QAAgB,EAChB,IAAyC;QAEzC,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,CAAyC;YACjE,MAAM,EAAE,MAAM;YACd,GAAG,EAAE,YAAY,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E,EAAE;SAClB,CACF,CACF,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,EAAE,CACd,KAAK,CAAC,uBAAuB,CAC3B,IAAI,CACL,CACF,CAAC;IACJ,CAAC;IAED;;;;;;;;;OASG;IACH,oBAAoB,CAClB,QAAgB,EAChB,IAAoD;QAEpD,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,CACxB;YACE,MAAM,EAAE,MAAM;YACd,GAAG,EAAE,YAAY,QAAQ,4BAA4B;YACrD,IAAI;SACL,CACF,CAAC;IACJ,CAAC;;AA9Ke,gBAAI,GAAG,cAAuB,CAAC"}
|
|
@@ -898,7 +898,7 @@ export type ItemInstancesHrefSchema<D extends ItemTypeDefinition = ItemTypeDefin
|
|
|
898
898
|
*/
|
|
899
899
|
filter?: {
|
|
900
900
|
/**
|
|
901
|
-
* 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
|
|
901
|
+
* 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`, `_creator`), but _must not_ use model-specific fields
|
|
902
902
|
*/
|
|
903
903
|
ids?: string;
|
|
904
904
|
/**
|
|
@@ -910,7 +910,7 @@ export type ItemInstancesHrefSchema<D extends ItemTypeDefinition = ItemTypeDefin
|
|
|
910
910
|
*/
|
|
911
911
|
query?: string;
|
|
912
912
|
/**
|
|
913
|
-
* 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.
|
|
913
|
+
* Filter by record fields. Meta fields (like `_published_at`, `_status`, `_creator`) 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. The `_creator` meta filter is CMA-only (not available via the GraphQL API) and accepts polymorphic creator references in the form `{ "type": "user" | "account" | "organization" | "sso_user" | "access_token", "id": "<ID>" }`. If `locale` is defined, search within that locale. Otherwise environment's main locale will be used.
|
|
914
914
|
*/
|
|
915
915
|
fields?: ToItemHrefSchemaField<D>;
|
|
916
916
|
/**
|
|
@@ -3881,6 +3881,14 @@ export type SitePlan = {
|
|
|
3881
3881
|
* The number of images you can analyze for smart tags detections
|
|
3882
3882
|
*/
|
|
3883
3883
|
smart_tags_detections: null | number;
|
|
3884
|
+
/**
|
|
3885
|
+
* Monthly cumulative execution-time budget (in seconds) for scripts run in the remote MCP sandbox
|
|
3886
|
+
*/
|
|
3887
|
+
mcp_sandbox_execution_seconds: number;
|
|
3888
|
+
/**
|
|
3889
|
+
* Per-execution timeout ceiling (in seconds) for scripts run in the remote MCP sandbox
|
|
3890
|
+
*/
|
|
3891
|
+
mcp_sandbox_timeout_seconds: number;
|
|
3884
3892
|
/**
|
|
3885
3893
|
* The number of different API tokens you can generate, each which different permissions
|
|
3886
3894
|
*/
|
|
@@ -4145,6 +4153,14 @@ export type SitePlanAttributes = {
|
|
|
4145
4153
|
* The number of images you can analyze for smart tags detections
|
|
4146
4154
|
*/
|
|
4147
4155
|
smart_tags_detections: null | number;
|
|
4156
|
+
/**
|
|
4157
|
+
* Monthly cumulative execution-time budget (in seconds) for scripts run in the remote MCP sandbox
|
|
4158
|
+
*/
|
|
4159
|
+
mcp_sandbox_execution_seconds: number;
|
|
4160
|
+
/**
|
|
4161
|
+
* Per-execution timeout ceiling (in seconds) for scripts run in the remote MCP sandbox
|
|
4162
|
+
*/
|
|
4163
|
+
mcp_sandbox_timeout_seconds: number;
|
|
4148
4164
|
/**
|
|
4149
4165
|
* The number of different API tokens you can generate, each which different permissions
|
|
4150
4166
|
*/
|
|
@@ -6246,6 +6262,10 @@ export type FieldStableShell = {
|
|
|
6246
6262
|
* Whether deep filtering for block models is enabled in GraphQL or not
|
|
6247
6263
|
*/
|
|
6248
6264
|
deep_filtering_enabled: boolean;
|
|
6265
|
+
/**
|
|
6266
|
+
* Whether Content Link (visual editing) encoding is emitted for this field's value in the Content Delivery API. Defaults to `true`; can only be set to `false` on `string`, `text` and `structured_text` fields
|
|
6267
|
+
*/
|
|
6268
|
+
content_link_enabled: boolean;
|
|
6249
6269
|
item_type: ItemTypeData;
|
|
6250
6270
|
fieldset: null | FieldsetData;
|
|
6251
6271
|
};
|
|
@@ -6347,6 +6367,10 @@ export type FieldAttributesStableShell = {
|
|
|
6347
6367
|
* Whether deep filtering for block models is enabled in GraphQL or not
|
|
6348
6368
|
*/
|
|
6349
6369
|
deep_filtering_enabled: boolean;
|
|
6370
|
+
/**
|
|
6371
|
+
* Whether Content Link (visual editing) encoding is emitted for this field's value in the Content Delivery API. Defaults to `true`; can only be set to `false` on `string`, `text` and `structured_text` fields
|
|
6372
|
+
*/
|
|
6373
|
+
content_link_enabled: boolean;
|
|
6350
6374
|
};
|
|
6351
6375
|
/**
|
|
6352
6376
|
* JSON API links
|
|
@@ -6451,6 +6475,10 @@ export type FieldCreateSchemaStableShell = {
|
|
|
6451
6475
|
* Whether deep filtering for block models is enabled in GraphQL or not
|
|
6452
6476
|
*/
|
|
6453
6477
|
deep_filtering_enabled?: boolean;
|
|
6478
|
+
/**
|
|
6479
|
+
* Whether Content Link (visual editing) encoding is emitted for this field's value in the Content Delivery API. Defaults to `true`; can only be set to `false` on `string`, `text` and `structured_text` fields
|
|
6480
|
+
*/
|
|
6481
|
+
content_link_enabled?: boolean;
|
|
6454
6482
|
fieldset?: null | FieldsetData;
|
|
6455
6483
|
};
|
|
6456
6484
|
/**
|
|
@@ -6546,6 +6574,10 @@ export type FieldUpdateSchemaStableShell = {
|
|
|
6546
6574
|
* Whether deep filtering for block models is enabled in GraphQL or not
|
|
6547
6575
|
*/
|
|
6548
6576
|
deep_filtering_enabled?: boolean;
|
|
6577
|
+
/**
|
|
6578
|
+
* Whether Content Link (visual editing) encoding is emitted for this field's value in the Content Delivery API. Defaults to `true`; can only be set to `false` on `string`, `text` and `structured_text` fields
|
|
6579
|
+
*/
|
|
6580
|
+
content_link_enabled?: boolean;
|
|
6549
6581
|
fieldset?: null | FieldsetData;
|
|
6550
6582
|
};
|
|
6551
6583
|
/**
|
|
@@ -8393,7 +8425,7 @@ export type UploadTrackCreateSchema = {
|
|
|
8393
8425
|
* via the `generate_subtitles.schema` link.
|
|
8394
8426
|
*/
|
|
8395
8427
|
export type UploadTrackGenerateSubtitlesSchema = {
|
|
8396
|
-
type?:
|
|
8428
|
+
type?: 'subtitles_generation';
|
|
8397
8429
|
/**
|
|
8398
8430
|
* The human-readable name of the track
|
|
8399
8431
|
*/
|
|
@@ -11667,7 +11699,6 @@ export type SiteUpdateSchema = {
|
|
|
11667
11699
|
* If enabled, blocks schema changes of primary environment
|
|
11668
11700
|
*/
|
|
11669
11701
|
force_use_of_sandbox_environments?: boolean;
|
|
11670
|
-
sso_default_role?: RoleData;
|
|
11671
11702
|
meta?: {
|
|
11672
11703
|
/**
|
|
11673
11704
|
* Whether the [Improved API Timezone Management](https://www.datocms.com/product-updates/improved-timezone-management) opt-in product update is active or not
|
|
@@ -712,7 +712,7 @@ export type ItemInstancesHrefSchema<D extends ItemTypeDefinition = ItemTypeDefin
|
|
|
712
712
|
*/
|
|
713
713
|
filter?: {
|
|
714
714
|
/**
|
|
715
|
-
* 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
|
|
715
|
+
* 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`, `_creator`), but _must not_ use model-specific fields
|
|
716
716
|
*/
|
|
717
717
|
ids?: string;
|
|
718
718
|
/**
|
|
@@ -724,7 +724,7 @@ export type ItemInstancesHrefSchema<D extends ItemTypeDefinition = ItemTypeDefin
|
|
|
724
724
|
*/
|
|
725
725
|
query?: string;
|
|
726
726
|
/**
|
|
727
|
-
* 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.
|
|
727
|
+
* Filter by record fields. Meta fields (like `_published_at`, `_status`, `_creator`) 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. The `_creator` meta filter is CMA-only (not available via the GraphQL API) and accepts polymorphic creator references in the form `{ "type": "user" | "account" | "organization" | "sso_user" | "access_token", "id": "<ID>" }`. If `locale` is defined, search within that locale. Otherwise environment's main locale will be used.
|
|
728
728
|
*/
|
|
729
729
|
fields?: ToItemHrefSchemaField<D>;
|
|
730
730
|
/**
|
|
@@ -3467,6 +3467,14 @@ export type SitePlanAttributes = {
|
|
|
3467
3467
|
* The number of images you can analyze for smart tags detections
|
|
3468
3468
|
*/
|
|
3469
3469
|
smart_tags_detections: null | number;
|
|
3470
|
+
/**
|
|
3471
|
+
* Monthly cumulative execution-time budget (in seconds) for scripts run in the remote MCP sandbox
|
|
3472
|
+
*/
|
|
3473
|
+
mcp_sandbox_execution_seconds: number;
|
|
3474
|
+
/**
|
|
3475
|
+
* Per-execution timeout ceiling (in seconds) for scripts run in the remote MCP sandbox
|
|
3476
|
+
*/
|
|
3477
|
+
mcp_sandbox_timeout_seconds: number;
|
|
3470
3478
|
/**
|
|
3471
3479
|
* The number of different API tokens you can generate, each which different permissions
|
|
3472
3480
|
*/
|
|
@@ -6004,6 +6012,10 @@ export type FieldAttributesStableShell = {
|
|
|
6004
6012
|
* Whether deep filtering for block models is enabled in GraphQL or not
|
|
6005
6013
|
*/
|
|
6006
6014
|
deep_filtering_enabled: boolean;
|
|
6015
|
+
/**
|
|
6016
|
+
* Whether Content Link (visual editing) encoding is emitted for this field's value in the Content Delivery API. Defaults to `true`; can only be set to `false` on `string`, `text` and `structured_text` fields
|
|
6017
|
+
*/
|
|
6018
|
+
content_link_enabled: boolean;
|
|
6007
6019
|
};
|
|
6008
6020
|
/**
|
|
6009
6021
|
* JSON API links
|
|
@@ -6123,6 +6135,10 @@ export type FieldCreateSchemaStableShell = {
|
|
|
6123
6135
|
* Whether deep filtering for block models is enabled in GraphQL or not
|
|
6124
6136
|
*/
|
|
6125
6137
|
deep_filtering_enabled?: boolean;
|
|
6138
|
+
/**
|
|
6139
|
+
* Whether Content Link (visual editing) encoding is emitted for this field's value in the Content Delivery API. Defaults to `true`; can only be set to `false` on `string`, `text` and `structured_text` fields
|
|
6140
|
+
*/
|
|
6141
|
+
content_link_enabled?: boolean;
|
|
6126
6142
|
};
|
|
6127
6143
|
/**
|
|
6128
6144
|
* JSON API links
|
|
@@ -6247,6 +6263,10 @@ export type FieldUpdateSchemaStableShell = {
|
|
|
6247
6263
|
* Whether deep filtering for block models is enabled in GraphQL or not
|
|
6248
6264
|
*/
|
|
6249
6265
|
deep_filtering_enabled?: boolean;
|
|
6266
|
+
/**
|
|
6267
|
+
* Whether Content Link (visual editing) encoding is emitted for this field's value in the Content Delivery API. Defaults to `true`; can only be set to `false` on `string`, `text` and `structured_text` fields
|
|
6268
|
+
*/
|
|
6269
|
+
content_link_enabled?: boolean;
|
|
6250
6270
|
};
|
|
6251
6271
|
/**
|
|
6252
6272
|
* JSON API links
|
|
@@ -8838,7 +8858,7 @@ export type UploadTrackDestroyJobSchema = {
|
|
|
8838
8858
|
*/
|
|
8839
8859
|
export type UploadTrackGenerateSubtitlesSchema = {
|
|
8840
8860
|
data: {
|
|
8841
|
-
type:
|
|
8861
|
+
type: 'subtitles_generation';
|
|
8842
8862
|
attributes: {
|
|
8843
8863
|
/**
|
|
8844
8864
|
* The human-readable name of the track
|
|
@@ -11930,11 +11950,6 @@ export type SiteUpdateSchema = {
|
|
|
11930
11950
|
*/
|
|
11931
11951
|
non_localized_focal_points?: boolean;
|
|
11932
11952
|
};
|
|
11933
|
-
relationships?: {
|
|
11934
|
-
sso_default_role?: {
|
|
11935
|
-
data: RoleData;
|
|
11936
|
-
};
|
|
11937
|
-
};
|
|
11938
11953
|
};
|
|
11939
11954
|
};
|
|
11940
11955
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@datocms/cma-client",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.6.0",
|
|
4
4
|
"description": "JS client for DatoCMS REST Content Management API",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"datocms",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"uuid": "^11.1.1"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@datocms/dashboard-client": "^5.
|
|
45
|
+
"@datocms/dashboard-client": "^5.6.0"
|
|
46
46
|
},
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "b63cc97785405032c2514c374099d55073d0e896"
|
|
48
48
|
}
|
package/resources.json
CHANGED
|
@@ -1260,7 +1260,8 @@
|
|
|
1260
1260
|
"position",
|
|
1261
1261
|
"hint",
|
|
1262
1262
|
"default_value",
|
|
1263
|
-
"deep_filtering_enabled"
|
|
1263
|
+
"deep_filtering_enabled",
|
|
1264
|
+
"content_link_enabled"
|
|
1264
1265
|
],
|
|
1265
1266
|
"relationships": ["fieldset"]
|
|
1266
1267
|
},
|
|
@@ -1306,7 +1307,8 @@
|
|
|
1306
1307
|
"position",
|
|
1307
1308
|
"field_type",
|
|
1308
1309
|
"hint",
|
|
1309
|
-
"deep_filtering_enabled"
|
|
1310
|
+
"deep_filtering_enabled",
|
|
1311
|
+
"content_link_enabled"
|
|
1310
1312
|
],
|
|
1311
1313
|
"relationships": ["fieldset"]
|
|
1312
1314
|
},
|
|
@@ -3145,7 +3147,7 @@
|
|
|
3145
3147
|
"requestBodyType": "UploadTrackGenerateSubtitlesSchema",
|
|
3146
3148
|
"optionalRequestBody": false,
|
|
3147
3149
|
"requestStructure": {
|
|
3148
|
-
"type": "
|
|
3150
|
+
"type": "subtitles_generation",
|
|
3149
3151
|
"attributes": ["name", "language_code"],
|
|
3150
3152
|
"relationships": []
|
|
3151
3153
|
},
|
|
@@ -5175,7 +5177,7 @@
|
|
|
5175
5177
|
"ip_tracking_enabled",
|
|
5176
5178
|
"force_use_of_sandbox_environments"
|
|
5177
5179
|
],
|
|
5178
|
-
"relationships": [
|
|
5180
|
+
"relationships": []
|
|
5179
5181
|
},
|
|
5180
5182
|
"queryParamsRequired": false,
|
|
5181
5183
|
"responseType": "SiteUpdateJobSchema",
|
|
@@ -977,7 +977,7 @@ export type ItemInstancesHrefSchema<
|
|
|
977
977
|
*/
|
|
978
978
|
filter?: {
|
|
979
979
|
/**
|
|
980
|
-
* 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
|
|
980
|
+
* 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`, `_creator`), but _must not_ use model-specific fields
|
|
981
981
|
*/
|
|
982
982
|
ids?: string;
|
|
983
983
|
/**
|
|
@@ -989,7 +989,7 @@ export type ItemInstancesHrefSchema<
|
|
|
989
989
|
*/
|
|
990
990
|
query?: string;
|
|
991
991
|
/**
|
|
992
|
-
* 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.
|
|
992
|
+
* Filter by record fields. Meta fields (like `_published_at`, `_status`, `_creator`) 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. The `_creator` meta filter is CMA-only (not available via the GraphQL API) and accepts polymorphic creator references in the form `{ "type": "user" | "account" | "organization" | "sso_user" | "access_token", "id": "<ID>" }`. If `locale` is defined, search within that locale. Otherwise environment's main locale will be used.
|
|
993
993
|
*/
|
|
994
994
|
fields?: ToItemHrefSchemaField<D>;
|
|
995
995
|
/**
|
|
@@ -4191,6 +4191,14 @@ export type SitePlan = {
|
|
|
4191
4191
|
* The number of images you can analyze for smart tags detections
|
|
4192
4192
|
*/
|
|
4193
4193
|
smart_tags_detections: null | number;
|
|
4194
|
+
/**
|
|
4195
|
+
* Monthly cumulative execution-time budget (in seconds) for scripts run in the remote MCP sandbox
|
|
4196
|
+
*/
|
|
4197
|
+
mcp_sandbox_execution_seconds: number;
|
|
4198
|
+
/**
|
|
4199
|
+
* Per-execution timeout ceiling (in seconds) for scripts run in the remote MCP sandbox
|
|
4200
|
+
*/
|
|
4201
|
+
mcp_sandbox_timeout_seconds: number;
|
|
4194
4202
|
/**
|
|
4195
4203
|
* The number of different API tokens you can generate, each which different permissions
|
|
4196
4204
|
*/
|
|
@@ -4455,6 +4463,14 @@ export type SitePlanAttributes = {
|
|
|
4455
4463
|
* The number of images you can analyze for smart tags detections
|
|
4456
4464
|
*/
|
|
4457
4465
|
smart_tags_detections: null | number;
|
|
4466
|
+
/**
|
|
4467
|
+
* Monthly cumulative execution-time budget (in seconds) for scripts run in the remote MCP sandbox
|
|
4468
|
+
*/
|
|
4469
|
+
mcp_sandbox_execution_seconds: number;
|
|
4470
|
+
/**
|
|
4471
|
+
* Per-execution timeout ceiling (in seconds) for scripts run in the remote MCP sandbox
|
|
4472
|
+
*/
|
|
4473
|
+
mcp_sandbox_timeout_seconds: number;
|
|
4458
4474
|
/**
|
|
4459
4475
|
* The number of different API tokens you can generate, each which different permissions
|
|
4460
4476
|
*/
|
|
@@ -6601,6 +6617,10 @@ export type FieldStableShell = {
|
|
|
6601
6617
|
* Whether deep filtering for block models is enabled in GraphQL or not
|
|
6602
6618
|
*/
|
|
6603
6619
|
deep_filtering_enabled: boolean;
|
|
6620
|
+
/**
|
|
6621
|
+
* Whether Content Link (visual editing) encoding is emitted for this field's value in the Content Delivery API. Defaults to `true`; can only be set to `false` on `string`, `text` and `structured_text` fields
|
|
6622
|
+
*/
|
|
6623
|
+
content_link_enabled: boolean;
|
|
6604
6624
|
item_type: ItemTypeData;
|
|
6605
6625
|
fieldset: null | FieldsetData;
|
|
6606
6626
|
};
|
|
@@ -6727,6 +6747,10 @@ export type FieldAttributesStableShell = {
|
|
|
6727
6747
|
* Whether deep filtering for block models is enabled in GraphQL or not
|
|
6728
6748
|
*/
|
|
6729
6749
|
deep_filtering_enabled: boolean;
|
|
6750
|
+
/**
|
|
6751
|
+
* Whether Content Link (visual editing) encoding is emitted for this field's value in the Content Delivery API. Defaults to `true`; can only be set to `false` on `string`, `text` and `structured_text` fields
|
|
6752
|
+
*/
|
|
6753
|
+
content_link_enabled: boolean;
|
|
6730
6754
|
};
|
|
6731
6755
|
/**
|
|
6732
6756
|
* JSON API links
|
|
@@ -6856,6 +6880,10 @@ export type FieldCreateSchemaStableShell = {
|
|
|
6856
6880
|
* Whether deep filtering for block models is enabled in GraphQL or not
|
|
6857
6881
|
*/
|
|
6858
6882
|
deep_filtering_enabled?: boolean;
|
|
6883
|
+
/**
|
|
6884
|
+
* Whether Content Link (visual editing) encoding is emitted for this field's value in the Content Delivery API. Defaults to `true`; can only be set to `false` on `string`, `text` and `structured_text` fields
|
|
6885
|
+
*/
|
|
6886
|
+
content_link_enabled?: boolean;
|
|
6859
6887
|
fieldset?: null | FieldsetData;
|
|
6860
6888
|
};
|
|
6861
6889
|
/**
|
|
@@ -6976,6 +7004,10 @@ export type FieldUpdateSchemaStableShell = {
|
|
|
6976
7004
|
* Whether deep filtering for block models is enabled in GraphQL or not
|
|
6977
7005
|
*/
|
|
6978
7006
|
deep_filtering_enabled?: boolean;
|
|
7007
|
+
/**
|
|
7008
|
+
* Whether Content Link (visual editing) encoding is emitted for this field's value in the Content Delivery API. Defaults to `true`; can only be set to `false` on `string`, `text` and `structured_text` fields
|
|
7009
|
+
*/
|
|
7010
|
+
content_link_enabled?: boolean;
|
|
6979
7011
|
fieldset?: null | FieldsetData;
|
|
6980
7012
|
};
|
|
6981
7013
|
/**
|
|
@@ -9002,7 +9034,7 @@ export type UploadTrackCreateSchema = {
|
|
|
9002
9034
|
* via the `generate_subtitles.schema` link.
|
|
9003
9035
|
*/
|
|
9004
9036
|
export type UploadTrackGenerateSubtitlesSchema = {
|
|
9005
|
-
type?:
|
|
9037
|
+
type?: 'subtitles_generation';
|
|
9006
9038
|
/**
|
|
9007
9039
|
* The human-readable name of the track
|
|
9008
9040
|
*/
|
|
@@ -12442,7 +12474,6 @@ export type SiteUpdateSchema = {
|
|
|
12442
12474
|
* If enabled, blocks schema changes of primary environment
|
|
12443
12475
|
*/
|
|
12444
12476
|
force_use_of_sandbox_environments?: boolean;
|
|
12445
|
-
sso_default_role?: RoleData;
|
|
12446
12477
|
meta?: {
|
|
12447
12478
|
/**
|
|
12448
12479
|
* Whether the [Improved API Timezone Management](https://www.datocms.com/product-updates/improved-timezone-management) opt-in product update is active or not
|
package/src/generated/Client.ts
CHANGED
|
@@ -151,7 +151,7 @@ export class Client {
|
|
|
151
151
|
...this.config,
|
|
152
152
|
...options,
|
|
153
153
|
logFn: this.config.logFn || console.log,
|
|
154
|
-
userAgent: '@datocms/cma-client v5.
|
|
154
|
+
userAgent: '@datocms/cma-client v5.6.0',
|
|
155
155
|
baseUrl: this.baseUrl,
|
|
156
156
|
preCallStack: new Error().stack,
|
|
157
157
|
extraHeaders: {
|
|
@@ -774,7 +774,7 @@ export type ItemInstancesHrefSchema<
|
|
|
774
774
|
*/
|
|
775
775
|
filter?: {
|
|
776
776
|
/**
|
|
777
|
-
* 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
|
|
777
|
+
* 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`, `_creator`), but _must not_ use model-specific fields
|
|
778
778
|
*/
|
|
779
779
|
ids?: string;
|
|
780
780
|
/**
|
|
@@ -786,7 +786,7 @@ export type ItemInstancesHrefSchema<
|
|
|
786
786
|
*/
|
|
787
787
|
query?: string;
|
|
788
788
|
/**
|
|
789
|
-
* 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.
|
|
789
|
+
* Filter by record fields. Meta fields (like `_published_at`, `_status`, `_creator`) 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. The `_creator` meta filter is CMA-only (not available via the GraphQL API) and accepts polymorphic creator references in the form `{ "type": "user" | "account" | "organization" | "sso_user" | "access_token", "id": "<ID>" }`. If `locale` is defined, search within that locale. Otherwise environment's main locale will be used.
|
|
790
790
|
*/
|
|
791
791
|
fields?: ToItemHrefSchemaField<D>;
|
|
792
792
|
/**
|
|
@@ -3701,6 +3701,14 @@ export type SitePlanAttributes = {
|
|
|
3701
3701
|
* The number of images you can analyze for smart tags detections
|
|
3702
3702
|
*/
|
|
3703
3703
|
smart_tags_detections: null | number;
|
|
3704
|
+
/**
|
|
3705
|
+
* Monthly cumulative execution-time budget (in seconds) for scripts run in the remote MCP sandbox
|
|
3706
|
+
*/
|
|
3707
|
+
mcp_sandbox_execution_seconds: number;
|
|
3708
|
+
/**
|
|
3709
|
+
* Per-execution timeout ceiling (in seconds) for scripts run in the remote MCP sandbox
|
|
3710
|
+
*/
|
|
3711
|
+
mcp_sandbox_timeout_seconds: number;
|
|
3704
3712
|
/**
|
|
3705
3713
|
* The number of different API tokens you can generate, each which different permissions
|
|
3706
3714
|
*/
|
|
@@ -6281,6 +6289,10 @@ export type FieldAttributesStableShell = {
|
|
|
6281
6289
|
* Whether deep filtering for block models is enabled in GraphQL or not
|
|
6282
6290
|
*/
|
|
6283
6291
|
deep_filtering_enabled: boolean;
|
|
6292
|
+
/**
|
|
6293
|
+
* Whether Content Link (visual editing) encoding is emitted for this field's value in the Content Delivery API. Defaults to `true`; can only be set to `false` on `string`, `text` and `structured_text` fields
|
|
6294
|
+
*/
|
|
6295
|
+
content_link_enabled: boolean;
|
|
6284
6296
|
};
|
|
6285
6297
|
/**
|
|
6286
6298
|
* JSON API links
|
|
@@ -6425,6 +6437,10 @@ export type FieldCreateSchemaStableShell = {
|
|
|
6425
6437
|
* Whether deep filtering for block models is enabled in GraphQL or not
|
|
6426
6438
|
*/
|
|
6427
6439
|
deep_filtering_enabled?: boolean;
|
|
6440
|
+
/**
|
|
6441
|
+
* Whether Content Link (visual editing) encoding is emitted for this field's value in the Content Delivery API. Defaults to `true`; can only be set to `false` on `string`, `text` and `structured_text` fields
|
|
6442
|
+
*/
|
|
6443
|
+
content_link_enabled?: boolean;
|
|
6428
6444
|
};
|
|
6429
6445
|
/**
|
|
6430
6446
|
* JSON API links
|
|
@@ -6574,6 +6590,10 @@ export type FieldUpdateSchemaStableShell = {
|
|
|
6574
6590
|
* Whether deep filtering for block models is enabled in GraphQL or not
|
|
6575
6591
|
*/
|
|
6576
6592
|
deep_filtering_enabled?: boolean;
|
|
6593
|
+
/**
|
|
6594
|
+
* Whether Content Link (visual editing) encoding is emitted for this field's value in the Content Delivery API. Defaults to `true`; can only be set to `false` on `string`, `text` and `structured_text` fields
|
|
6595
|
+
*/
|
|
6596
|
+
content_link_enabled?: boolean;
|
|
6577
6597
|
};
|
|
6578
6598
|
/**
|
|
6579
6599
|
* JSON API links
|
|
@@ -9335,7 +9355,7 @@ export type UploadTrackDestroyJobSchema = {
|
|
|
9335
9355
|
*/
|
|
9336
9356
|
export type UploadTrackGenerateSubtitlesSchema = {
|
|
9337
9357
|
data: {
|
|
9338
|
-
type:
|
|
9358
|
+
type: 'subtitles_generation';
|
|
9339
9359
|
attributes: {
|
|
9340
9360
|
/**
|
|
9341
9361
|
* The human-readable name of the track
|
|
@@ -12544,11 +12564,6 @@ export type SiteUpdateSchema = {
|
|
|
12544
12564
|
*/
|
|
12545
12565
|
non_localized_focal_points?: boolean;
|
|
12546
12566
|
};
|
|
12547
|
-
relationships?: {
|
|
12548
|
-
sso_default_role?: {
|
|
12549
|
-
data: RoleData;
|
|
12550
|
-
};
|
|
12551
|
-
};
|
|
12552
12567
|
};
|
|
12553
12568
|
};
|
|
12554
12569
|
/**
|
|
@@ -34,6 +34,7 @@ export default class Field extends BaseResource {
|
|
|
34
34
|
'hint',
|
|
35
35
|
'default_value',
|
|
36
36
|
'deep_filtering_enabled',
|
|
37
|
+
'content_link_enabled',
|
|
37
38
|
],
|
|
38
39
|
relationships: ['fieldset'],
|
|
39
40
|
}),
|
|
@@ -90,6 +91,7 @@ export default class Field extends BaseResource {
|
|
|
90
91
|
'field_type',
|
|
91
92
|
'hint',
|
|
92
93
|
'deep_filtering_enabled',
|
|
94
|
+
'content_link_enabled',
|
|
93
95
|
],
|
|
94
96
|
relationships: ['fieldset'],
|
|
95
97
|
}),
|
|
@@ -62,7 +62,7 @@ export default class Site extends BaseResource {
|
|
|
62
62
|
'ip_tracking_enabled',
|
|
63
63
|
'force_use_of_sandbox_environments',
|
|
64
64
|
],
|
|
65
|
-
relationships: [
|
|
65
|
+
relationships: [],
|
|
66
66
|
}),
|
|
67
67
|
).then((body) =>
|
|
68
68
|
Utils.deserializeResponseBody<ApiTypes.SiteUpdateJobSchema>(body),
|
|
@@ -145,7 +145,7 @@ export default class UploadTrack extends BaseResource {
|
|
|
145
145
|
Utils.serializeRequestBody<RawApiTypes.UploadTrackGenerateSubtitlesSchema>(
|
|
146
146
|
body,
|
|
147
147
|
{
|
|
148
|
-
type: '
|
|
148
|
+
type: 'subtitles_generation',
|
|
149
149
|
attributes: ['name', 'language_code'],
|
|
150
150
|
relationships: [],
|
|
151
151
|
},
|