@contentchef/contentchef-types 2.5.8 → 2.5.10

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.
@@ -204,6 +204,10 @@ export declare type CreateContentRequest = {
204
204
  * Controls if translations should be ignored when publishing
205
205
  */
206
206
  contentLocalizationSettings?: LocalizationSettings;
207
+ /**
208
+ * will bypass content definition mnemonicId validation for every linked-content field
209
+ */
210
+ bypassMnemonicValidation?: boolean;
207
211
  };
208
212
  /**
209
213
  * This type represent the data needed to make a update content API request
@@ -253,6 +257,10 @@ export declare type UpdateContentRequest = {
253
257
  * Controls if translations should be ignored when publishing
254
258
  */
255
259
  contentLocalizationSettings?: LocalizationSettings;
260
+ /**
261
+ * will bypass content definition mnemonicId validation for every linked-content field
262
+ */
263
+ bypassMnemonicValidation?: boolean;
256
264
  };
257
265
  /**
258
266
  * This type represent the data that can be used to filter a list of contents
@@ -101,6 +101,10 @@ export declare type CreateContentDefinitionRequest = {
101
101
  * The content definition fields schema
102
102
  */
103
103
  schema: ContentDefinitionSchema;
104
+ /**
105
+ * will bypass content definition mnemonicId validation for every linked-content field
106
+ */
107
+ bypassMnemonicValidation?: boolean;
104
108
  };
105
109
  /**
106
110
  * This type represent the data needed to make an update content definition API request
@@ -122,6 +126,10 @@ export declare type UpdateContentDefinitionRequest = {
122
126
  * The content definition fields schema
123
127
  */
124
128
  schema: ContentDefinitionSchema;
129
+ /**
130
+ * will bypass content definition mnemonicId validation for every linked-content field
131
+ */
132
+ bypassMnemonicValidation?: boolean;
125
133
  };
126
134
  /**
127
135
  * This type represent the model of a content definition
@@ -2,7 +2,8 @@
2
2
  * This enum represent all possible webhook lifecycle events
3
3
  */
4
4
  export declare enum WebhookLifecycleEvents {
5
- PublishToLIve = "publish_to_live"
5
+ PublishToLive = "publish_to_live",
6
+ PublishToStage = "publish_to_stage"
6
7
  }
7
8
  /**
8
9
  * This type represent the model of a webhook
@@ -6,5 +6,6 @@ exports.WebhookLifecycleEvents = void 0;
6
6
  */
7
7
  var WebhookLifecycleEvents;
8
8
  (function (WebhookLifecycleEvents) {
9
- WebhookLifecycleEvents["PublishToLIve"] = "publish_to_live";
9
+ WebhookLifecycleEvents["PublishToLive"] = "publish_to_live";
10
+ WebhookLifecycleEvents["PublishToStage"] = "publish_to_stage";
10
11
  })(WebhookLifecycleEvents = exports.WebhookLifecycleEvents || (exports.WebhookLifecycleEvents = {}));
@@ -218,6 +218,11 @@ export type CreateContentRequest = {
218
218
  * Controls if translations should be ignored when publishing
219
219
  */
220
220
  contentLocalizationSettings?: LocalizationSettings;
221
+
222
+ /**
223
+ * will bypass content definition mnemonicId validation for every linked-content field
224
+ */
225
+ bypassMnemonicValidation?: boolean;
221
226
  };
222
227
 
223
228
  /**
@@ -269,6 +274,11 @@ export type UpdateContentRequest = {
269
274
  * Controls if translations should be ignored when publishing
270
275
  */
271
276
  contentLocalizationSettings?: LocalizationSettings;
277
+
278
+ /**
279
+ * will bypass content definition mnemonicId validation for every linked-content field
280
+ */
281
+ bypassMnemonicValidation?: boolean;
272
282
  };
273
283
 
274
284
  /**
@@ -109,6 +109,11 @@ export type CreateContentDefinitionRequest = {
109
109
  * The content definition fields schema
110
110
  */
111
111
  schema: ContentDefinitionSchema;
112
+
113
+ /**
114
+ * will bypass content definition mnemonicId validation for every linked-content field
115
+ */
116
+ bypassMnemonicValidation?: boolean;
112
117
  };
113
118
 
114
119
  /**
@@ -131,6 +136,11 @@ export type UpdateContentDefinitionRequest = {
131
136
  * The content definition fields schema
132
137
  */
133
138
  schema: ContentDefinitionSchema;
139
+
140
+ /**
141
+ * will bypass content definition mnemonicId validation for every linked-content field
142
+ */
143
+ bypassMnemonicValidation?: boolean;
134
144
  };
135
145
 
136
146
  /**
@@ -2,7 +2,8 @@
2
2
  * This enum represent all possible webhook lifecycle events
3
3
  */
4
4
  export enum WebhookLifecycleEvents {
5
- PublishToLIve = 'publish_to_live',
5
+ PublishToLive = 'publish_to_live',
6
+ PublishToStage = 'publish_to_stage'
6
7
  }
7
8
 
8
9
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contentchef/contentchef-types",
3
- "version": "2.5.8",
3
+ "version": "2.5.10",
4
4
  "description": "ContentChef types",
5
5
  "author": "PierpaoloIannone <piannone@byte-code.com>",
6
6
  "homepage": "https://github.com/ContentChef/contentchef-management-js-client#readme",
@@ -34,5 +34,5 @@
34
34
  "devDependencies": {
35
35
  "typescript": "^4.0.5"
36
36
  },
37
- "gitHead": "4a94501008faed8c2f9bb4568f6e502ff1e5d54a"
37
+ "gitHead": "e2725495a67482b7ddfe965c4c4b8d5bda6c612d"
38
38
  }