@remkoj/optimizely-cms-api 4.2.0 → 4.3.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.
@@ -14,6 +14,7 @@ export type { ComponentListItem } from './models/ComponentListItem';
14
14
  export type { ComponentProperty } from './models/ComponentProperty';
15
15
  export { CompositionBehavior } from './models/CompositionBehavior';
16
16
  export { ContentBaseType } from './models/ContentBaseType';
17
+ export type { ContentComponent } from './models/ContentComponent';
17
18
  export type { ContentItem } from './models/ContentItem';
18
19
  export type { ContentItemListWithContentTypes } from './models/ContentItemListWithContentTypes';
19
20
  export type { ContentItemPage } from './models/ContentItemPage';
@@ -0,0 +1,30 @@
1
+ /**
2
+ * Represents a content component.
3
+ */
4
+ export type ContentComponent = {
5
+ /**
6
+ * The name of the content component. If Reference is set, the name is automatically set to the name of the referenced content.
7
+ */
8
+ name?: string;
9
+ /**
10
+ * An optional display option for the content component.
11
+ */
12
+ displayOption?: string;
13
+ /**
14
+ * An optional group for the personalizable component.
15
+ */
16
+ segmentationGroup?: string;
17
+ /**
18
+ * Specifies the settings for the content component.
19
+ */
20
+ segments?: Array<string>;
21
+ reference?: string;
22
+ /**
23
+ * The key of the content type that this is an embedded instance of.
24
+ */
25
+ contentType?: string;
26
+ /**
27
+ * Dictionary with all custom properties as specified by associated ContentType
28
+ */
29
+ content?: any;
30
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/dist/version.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "api": "preview2-1.0.0",
3
- "service": "2024.12.20.1349",
4
- "cms": "2024.12.20.1349"
3
+ "service": "2025.01.24.0828",
4
+ "cms": "2025.01.24.0828"
5
5
  }
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@remkoj/optimizely-cms-api",
3
3
  "displayName": "Optimizely CMS - Integration API Client",
4
4
  "description": "A Javascript client for the Integration API provided by the Optimizely CMS.",
5
- "version": "4.2.0",
5
+ "version": "4.3.0",
6
6
  "type": "commonjs",
7
7
  "license": "Apache-2.0",
8
8
  "main": "./dist/index.js",
@@ -11,7 +11,7 @@
11
11
  "./dist"
12
12
  ],
13
13
  "devDependencies": {
14
- "@types/node": "^22.10.7",
14
+ "@types/node": "^22.13.5",
15
15
  "dotenv": "^16.4.7",
16
16
  "glob": "^11.0.1",
17
17
  "openapi-typescript-codegen": "^0.29.0",