@remkoj/optimizely-cms-api 2.0.0-pre4 → 2.0.0-pre5
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/api-client.d.ts +35 -0
- package/dist/api-client.js +67 -0
- package/dist/client/CmsIntegrationApiClient.d.ts +24 -24
- package/dist/client/CmsIntegrationApiClient.js +36 -36
- package/dist/client/core/ApiError.d.ts +10 -10
- package/dist/client/core/ApiError.js +15 -15
- package/dist/client/core/ApiRequestOptions.d.ts +13 -13
- package/dist/client/core/ApiRequestOptions.js +2 -2
- package/dist/client/core/ApiResult.d.ts +7 -7
- package/dist/client/core/ApiResult.js +2 -2
- package/dist/client/core/BaseHttpRequest.d.ts +8 -8
- package/dist/client/core/BaseHttpRequest.js +9 -9
- package/dist/client/core/CancelablePromise.d.ts +20 -20
- package/dist/client/core/CancelablePromise.js +116 -116
- package/dist/client/core/FetchHttpRequest.d.ts +14 -14
- package/dist/client/core/FetchHttpRequest.js +20 -20
- package/dist/client/core/OpenAPI.d.ts +16 -16
- package/dist/client/core/OpenAPI.js +14 -14
- package/dist/client/core/request.d.ts +30 -30
- package/dist/client/core/request.js +294 -294
- package/dist/client/index.d.ts +81 -81
- package/dist/client/index.js +48 -48
- package/dist/client/models/BinaryProperty.d.ts +8 -8
- package/dist/client/models/BinaryProperty.js +2 -2
- package/dist/client/models/BooleanProperty.d.ts +5 -5
- package/dist/client/models/BooleanProperty.js +2 -2
- package/dist/client/models/Changeset.d.ts +26 -26
- package/dist/client/models/Changeset.js +2 -2
- package/dist/client/models/ChangesetItem.d.ts +11 -11
- package/dist/client/models/ChangesetItem.js +2 -2
- package/dist/client/models/ChangesetItemPage.d.ts +19 -19
- package/dist/client/models/ChangesetItemPage.js +2 -2
- package/dist/client/models/ChangesetPage.d.ts +19 -19
- package/dist/client/models/ChangesetPage.js +2 -2
- package/dist/client/models/ComponentListItem.d.ts +7 -10
- package/dist/client/models/ComponentListItem.js +2 -2
- package/dist/client/models/ComponentProperty.d.ts +7 -10
- package/dist/client/models/ComponentProperty.js +2 -2
- package/dist/client/models/ContentBaseType.d.ts +11 -11
- package/dist/client/models/ContentBaseType.js +19 -19
- package/dist/client/models/ContentComponent.d.ts +34 -34
- package/dist/client/models/ContentComponent.js +2 -2
- package/dist/client/models/ContentItem.d.ts +60 -60
- package/dist/client/models/ContentItem.js +2 -2
- package/dist/client/models/ContentItemListWithContentTypes.d.ts +27 -27
- package/dist/client/models/ContentItemListWithContentTypes.js +2 -2
- package/dist/client/models/ContentItemPage.d.ts +19 -19
- package/dist/client/models/ContentItemPage.js +2 -2
- package/dist/client/models/ContentItemWithContentTypes.d.ts +12 -12
- package/dist/client/models/ContentItemWithContentTypes.js +2 -2
- package/dist/client/models/ContentListItem.d.ts +8 -14
- package/dist/client/models/ContentListItem.js +2 -2
- package/dist/client/models/ContentLocaleInfo.d.ts +19 -11
- package/dist/client/models/ContentLocaleInfo.js +2 -2
- package/dist/client/models/ContentMetadata.d.ts +38 -46
- package/dist/client/models/ContentMetadata.js +2 -2
- package/dist/client/models/ContentMetadataPage.d.ts +19 -19
- package/dist/client/models/ContentMetadataPage.js +2 -2
- package/dist/client/models/ContentProperty.d.ts +8 -14
- package/dist/client/models/ContentProperty.js +2 -2
- package/dist/client/models/ContentReference.d.ts +17 -17
- package/dist/client/models/ContentReference.js +2 -2
- package/dist/client/models/ContentReferenceListItem.d.ts +8 -14
- package/dist/client/models/ContentReferenceListItem.js +2 -2
- package/dist/client/models/ContentReferenceProperty.d.ts +8 -14
- package/dist/client/models/ContentReferenceProperty.js +2 -2
- package/dist/client/models/ContentType.d.ts +79 -79
- package/dist/client/models/ContentType.js +2 -2
- package/dist/client/models/ContentTypeFeature.d.ts +10 -10
- package/dist/client/models/ContentTypeFeature.js +18 -18
- package/dist/client/models/ContentTypePage.d.ts +19 -19
- package/dist/client/models/ContentTypePage.js +2 -2
- package/dist/client/models/ContentTypeProperty.d.ts +47 -47
- package/dist/client/models/ContentTypeProperty.js +2 -2
- package/dist/client/models/ContentTypeUsage.d.ts +7 -7
- package/dist/client/models/ContentTypeUsage.js +15 -15
- package/dist/client/models/CopyContentOptions.d.ts +21 -21
- package/dist/client/models/CopyContentOptions.js +2 -2
- package/dist/client/models/DateTimeListItem.d.ts +8 -14
- package/dist/client/models/DateTimeListItem.js +2 -2
- package/dist/client/models/DateTimeProperty.d.ts +8 -14
- package/dist/client/models/DateTimeProperty.js +2 -2
- package/dist/client/models/DisplaySetting.d.ts +22 -22
- package/dist/client/models/DisplaySetting.js +2 -2
- package/dist/client/models/DisplaySettingChoice.d.ts +13 -13
- package/dist/client/models/DisplaySettingChoice.js +2 -2
- package/dist/client/models/DisplayTemplate.d.ts +49 -49
- package/dist/client/models/DisplayTemplate.js +2 -2
- package/dist/client/models/DisplayTemplatePage.d.ts +19 -19
- package/dist/client/models/DisplayTemplatePage.js +2 -2
- package/dist/client/models/DoubleEnumerationSettings.d.ts +9 -9
- package/dist/client/models/DoubleEnumerationSettings.js +2 -2
- package/dist/client/models/FloatListItem.d.ts +10 -16
- package/dist/client/models/FloatListItem.js +2 -2
- package/dist/client/models/FloatProperty.d.ts +10 -16
- package/dist/client/models/FloatProperty.js +2 -2
- package/dist/client/models/ImageDescriptor.d.ts +17 -17
- package/dist/client/models/ImageDescriptor.js +2 -2
- package/dist/client/models/ImportPackageMessage.d.ts +17 -17
- package/dist/client/models/ImportPackageMessage.js +2 -2
- package/dist/client/models/ImportPackageResult.d.ts +22 -22
- package/dist/client/models/ImportPackageResult.js +2 -2
- package/dist/client/models/IndexingType.d.ts +8 -8
- package/dist/client/models/IndexingType.js +16 -16
- package/dist/client/models/Int32EnumerationSettings.d.ts +9 -9
- package/dist/client/models/Int32EnumerationSettings.js +2 -2
- package/dist/client/models/IntegerListItem.d.ts +10 -16
- package/dist/client/models/IntegerListItem.js +2 -2
- package/dist/client/models/IntegerProperty.d.ts +10 -16
- package/dist/client/models/IntegerProperty.js +2 -2
- package/dist/client/models/JsonStringProperty.d.ts +5 -5
- package/dist/client/models/JsonStringProperty.js +2 -2
- package/dist/client/models/ListProperty.d.ts +26 -26
- package/dist/client/models/ListProperty.js +2 -2
- package/dist/client/models/ListPropertyItem.d.ts +11 -11
- package/dist/client/models/ListPropertyItem.js +2 -2
- package/dist/client/models/LocaleStatus.d.ts +7 -7
- package/dist/client/models/LocaleStatus.js +15 -15
- package/dist/client/models/Manifest.d.ts +24 -24
- package/dist/client/models/Manifest.js +2 -2
- package/dist/client/models/OauthToken.d.ts +18 -18
- package/dist/client/models/OauthToken.js +2 -2
- package/dist/client/models/OauthTokenError.d.ts +13 -13
- package/dist/client/models/OauthTokenError.js +2 -2
- package/dist/client/models/OauthTokenRequest.d.ts +21 -21
- package/dist/client/models/OauthTokenRequest.js +2 -2
- package/dist/client/models/PackageJob.d.ts +28 -28
- package/dist/client/models/PackageJob.js +2 -2
- package/dist/client/models/PackageJobMessage.d.ts +17 -17
- package/dist/client/models/PackageJobMessage.js +2 -2
- package/dist/client/models/PackageJobStatus.d.ts +4 -4
- package/dist/client/models/PackageJobStatus.js +2 -2
- package/dist/client/models/ProblemDetails.d.ts +1 -1
- package/dist/client/models/ProblemDetails.js +2 -2
- package/dist/client/models/PropertyDataType.d.ts +18 -18
- package/dist/client/models/PropertyDataType.js +26 -26
- package/dist/client/models/PropertyFormat.d.ts +34 -34
- package/dist/client/models/PropertyFormat.js +2 -2
- package/dist/client/models/PropertyFormatPage.d.ts +19 -19
- package/dist/client/models/PropertyFormatPage.js +2 -2
- package/dist/client/models/PropertyGroup.d.ts +21 -21
- package/dist/client/models/PropertyGroup.js +2 -2
- package/dist/client/models/PropertyGroupPage.d.ts +19 -19
- package/dist/client/models/PropertyGroupPage.js +2 -2
- package/dist/client/models/StringEnumerationSettings.d.ts +9 -9
- package/dist/client/models/StringEnumerationSettings.js +2 -2
- package/dist/client/models/StringListItem.d.ts +11 -14
- package/dist/client/models/StringListItem.js +2 -2
- package/dist/client/models/StringProperty.d.ts +11 -14
- package/dist/client/models/StringProperty.js +2 -2
- package/dist/client/models/UrlListItem.d.ts +5 -5
- package/dist/client/models/UrlListItem.js +2 -2
- package/dist/client/models/UrlProperty.d.ts +5 -5
- package/dist/client/models/UrlProperty.js +2 -2
- package/dist/client/models/VersionStatus.d.ts +12 -12
- package/dist/client/models/VersionStatus.js +20 -20
- package/dist/client/services/ChangesetsService.d.ts +105 -105
- package/dist/client/services/ChangesetsService.js +239 -239
- package/dist/client/services/ContentService.d.ts +172 -172
- package/dist/client/services/ContentService.js +409 -409
- package/dist/client/services/ContentTypesService.d.ts +66 -66
- package/dist/client/services/ContentTypesService.js +149 -149
- package/dist/client/services/DisplayTemplatesService.d.ts +60 -60
- package/dist/client/services/DisplayTemplatesService.js +135 -135
- package/dist/client/services/OauthService.d.ts +17 -17
- package/dist/client/services/OauthService.js +28 -28
- package/dist/client/services/PackagesService.d.ts +41 -41
- package/dist/client/services/PackagesService.js +80 -80
- package/dist/client/services/PropertyFormatsService.d.ts +26 -26
- package/dist/client/services/PropertyFormatsService.js +53 -53
- package/dist/client/services/PropertyGroupsService.d.ts +61 -61
- package/dist/client/services/PropertyGroupsService.js +135 -135
- package/dist/config.d.ts +8 -8
- package/dist/config.js +40 -40
- package/dist/getaccesstoken.d.ts +3 -0
- package/dist/getaccesstoken.js +43 -0
- package/dist/index.d.ts +16 -15
- package/dist/index.js +52 -95
- package/dist/types.d.ts +8 -0
- package/dist/types.js +2 -0
- package/dist/version.json +5 -0
- package/package.json +11 -7
|
@@ -1,49 +1,49 @@
|
|
|
1
|
-
import type { ContentBaseType } from './ContentBaseType';
|
|
2
|
-
import type { DisplaySetting } from './DisplaySetting';
|
|
3
|
-
/**
|
|
4
|
-
* Describes a display template that can be assigned to content.
|
|
5
|
-
*/
|
|
6
|
-
export type DisplayTemplate = {
|
|
7
|
-
/**
|
|
8
|
-
* The key that identifies this display template.
|
|
9
|
-
*/
|
|
10
|
-
readonly key: string;
|
|
11
|
-
/**
|
|
12
|
-
* The display name of this display template.
|
|
13
|
-
*/
|
|
14
|
-
displayName: string;
|
|
15
|
-
/**
|
|
16
|
-
* The optional node type this display template is valid for.
|
|
17
|
-
*/
|
|
18
|
-
nodeType?: string | null;
|
|
19
|
-
baseType?: ContentBaseType;
|
|
20
|
-
/**
|
|
21
|
-
* The optional key of the content type this display template is valid for.
|
|
22
|
-
*/
|
|
23
|
-
contentType?: string | null;
|
|
24
|
-
/**
|
|
25
|
-
* If this is the default display template for the associated base type,
|
|
26
|
-
* node type or content type.
|
|
27
|
-
*/
|
|
28
|
-
isDefault?: boolean;
|
|
29
|
-
/**
|
|
30
|
-
* A timestamp indicating when this display template was first created.
|
|
31
|
-
*/
|
|
32
|
-
readonly created?: string;
|
|
33
|
-
/**
|
|
34
|
-
* The username of the user that created this display template.
|
|
35
|
-
*/
|
|
36
|
-
readonly createdBy?: string;
|
|
37
|
-
/**
|
|
38
|
-
* A timestamp indicating when this display template was last modified.
|
|
39
|
-
*/
|
|
40
|
-
readonly lastModified?: string;
|
|
41
|
-
/**
|
|
42
|
-
* The username of the user that last modified this display template.
|
|
43
|
-
*/
|
|
44
|
-
readonly lastModifiedBy?: string;
|
|
45
|
-
/**
|
|
46
|
-
* The available settings for this display template.
|
|
47
|
-
*/
|
|
48
|
-
settings?: Record<string, DisplaySetting>;
|
|
49
|
-
};
|
|
1
|
+
import type { ContentBaseType } from './ContentBaseType';
|
|
2
|
+
import type { DisplaySetting } from './DisplaySetting';
|
|
3
|
+
/**
|
|
4
|
+
* Describes a display template that can be assigned to content.
|
|
5
|
+
*/
|
|
6
|
+
export type DisplayTemplate = {
|
|
7
|
+
/**
|
|
8
|
+
* The key that identifies this display template.
|
|
9
|
+
*/
|
|
10
|
+
readonly key: string;
|
|
11
|
+
/**
|
|
12
|
+
* The display name of this display template.
|
|
13
|
+
*/
|
|
14
|
+
displayName: string;
|
|
15
|
+
/**
|
|
16
|
+
* The optional node type this display template is valid for.
|
|
17
|
+
*/
|
|
18
|
+
nodeType?: string | null;
|
|
19
|
+
baseType?: ContentBaseType;
|
|
20
|
+
/**
|
|
21
|
+
* The optional key of the content type this display template is valid for.
|
|
22
|
+
*/
|
|
23
|
+
contentType?: string | null;
|
|
24
|
+
/**
|
|
25
|
+
* If this is the default display template for the associated base type,
|
|
26
|
+
* node type or content type.
|
|
27
|
+
*/
|
|
28
|
+
isDefault?: boolean;
|
|
29
|
+
/**
|
|
30
|
+
* A timestamp indicating when this display template was first created.
|
|
31
|
+
*/
|
|
32
|
+
readonly created?: string;
|
|
33
|
+
/**
|
|
34
|
+
* The username of the user that created this display template.
|
|
35
|
+
*/
|
|
36
|
+
readonly createdBy?: string;
|
|
37
|
+
/**
|
|
38
|
+
* A timestamp indicating when this display template was last modified.
|
|
39
|
+
*/
|
|
40
|
+
readonly lastModified?: string;
|
|
41
|
+
/**
|
|
42
|
+
* The username of the user that last modified this display template.
|
|
43
|
+
*/
|
|
44
|
+
readonly lastModifiedBy?: string;
|
|
45
|
+
/**
|
|
46
|
+
* The available settings for this display template.
|
|
47
|
+
*/
|
|
48
|
+
settings?: Record<string, DisplaySetting>;
|
|
49
|
+
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import type { DisplayTemplate } from './DisplayTemplate';
|
|
2
|
-
export type DisplayTemplatePage = {
|
|
3
|
-
/**
|
|
4
|
-
* The items in this paged collection.
|
|
5
|
-
*/
|
|
6
|
-
readonly items?: Array<DisplayTemplate>;
|
|
7
|
-
/**
|
|
8
|
-
* The zero-based index of the current page.
|
|
9
|
-
*/
|
|
10
|
-
readonly pageIndex?: number;
|
|
11
|
-
/**
|
|
12
|
-
* The number of item in each page. Not necessarily the same as the number of items in this page.
|
|
13
|
-
*/
|
|
14
|
-
readonly pageSize?: number;
|
|
15
|
-
/**
|
|
16
|
-
* The estimated total number of items in the collection. May be omitted if the total item count is unknown.
|
|
17
|
-
*/
|
|
18
|
-
readonly totalItemCount?: number;
|
|
19
|
-
};
|
|
1
|
+
import type { DisplayTemplate } from './DisplayTemplate';
|
|
2
|
+
export type DisplayTemplatePage = {
|
|
3
|
+
/**
|
|
4
|
+
* The items in this paged collection.
|
|
5
|
+
*/
|
|
6
|
+
readonly items?: Array<DisplayTemplate>;
|
|
7
|
+
/**
|
|
8
|
+
* The zero-based index of the current page.
|
|
9
|
+
*/
|
|
10
|
+
readonly pageIndex?: number;
|
|
11
|
+
/**
|
|
12
|
+
* The number of item in each page. Not necessarily the same as the number of items in this page.
|
|
13
|
+
*/
|
|
14
|
+
readonly pageSize?: number;
|
|
15
|
+
/**
|
|
16
|
+
* The estimated total number of items in the collection. May be omitted if the total item count is unknown.
|
|
17
|
+
*/
|
|
18
|
+
readonly totalItemCount?: number;
|
|
19
|
+
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* A writable implementation of an EnumerationSettings`1.
|
|
3
|
-
*/
|
|
4
|
-
export type DoubleEnumerationSettings = {
|
|
5
|
-
/**
|
|
6
|
-
* Enumeration values for this property or format.
|
|
7
|
-
*/
|
|
8
|
-
values?: Record<string, string>;
|
|
9
|
-
};
|
|
1
|
+
/**
|
|
2
|
+
* A writable implementation of an EnumerationSettings`1.
|
|
3
|
+
*/
|
|
4
|
+
export type DoubleEnumerationSettings = {
|
|
5
|
+
/**
|
|
6
|
+
* Enumeration values for this property or format.
|
|
7
|
+
*/
|
|
8
|
+
values?: Record<string, string>;
|
|
9
|
+
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,16 +1,10 @@
|
|
|
1
|
-
import type { DoubleEnumerationSettings } from './DoubleEnumerationSettings';
|
|
2
|
-
import type { ListPropertyItem } from './ListPropertyItem';
|
|
3
|
-
/**
|
|
4
|
-
* Describes a property list item that can contain a float number.
|
|
5
|
-
*/
|
|
6
|
-
export type FloatListItem = (ListPropertyItem & {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
* The maximum value that list items of this type should be able to contain.
|
|
13
|
-
*/
|
|
14
|
-
maximum?: number | null;
|
|
15
|
-
enum?: DoubleEnumerationSettings;
|
|
16
|
-
});
|
|
1
|
+
import type { DoubleEnumerationSettings } from './DoubleEnumerationSettings';
|
|
2
|
+
import type { ListPropertyItem } from './ListPropertyItem';
|
|
3
|
+
/**
|
|
4
|
+
* Describes a property list item that can contain a float number.
|
|
5
|
+
*/
|
|
6
|
+
export type FloatListItem = (ListPropertyItem & {
|
|
7
|
+
minimum?: number | null;
|
|
8
|
+
maximum?: number | null;
|
|
9
|
+
enum?: DoubleEnumerationSettings;
|
|
10
|
+
});
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,16 +1,10 @@
|
|
|
1
|
-
import type { ContentTypeProperty } from './ContentTypeProperty';
|
|
2
|
-
import type { DoubleEnumerationSettings } from './DoubleEnumerationSettings';
|
|
3
|
-
/**
|
|
4
|
-
* Describes a property that can contain a float number.
|
|
5
|
-
*/
|
|
6
|
-
export type FloatProperty = (ContentTypeProperty & {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
* The maximum value that properties of this type should be able to contain.
|
|
13
|
-
*/
|
|
14
|
-
maximum?: number | null;
|
|
15
|
-
enum?: DoubleEnumerationSettings;
|
|
16
|
-
});
|
|
1
|
+
import type { ContentTypeProperty } from './ContentTypeProperty';
|
|
2
|
+
import type { DoubleEnumerationSettings } from './DoubleEnumerationSettings';
|
|
3
|
+
/**
|
|
4
|
+
* Describes a property that can contain a float number.
|
|
5
|
+
*/
|
|
6
|
+
export type FloatProperty = (ContentTypeProperty & {
|
|
7
|
+
minimum?: number | null;
|
|
8
|
+
maximum?: number | null;
|
|
9
|
+
enum?: DoubleEnumerationSettings;
|
|
10
|
+
});
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Instruction for generating an alternative image from the main binary of an image content item.
|
|
3
|
-
*/
|
|
4
|
-
export type ImageDescriptor = {
|
|
5
|
-
/**
|
|
6
|
-
* The image width in pixels.
|
|
7
|
-
*/
|
|
8
|
-
width?: number;
|
|
9
|
-
/**
|
|
10
|
-
* The image height in pixels.
|
|
11
|
-
*/
|
|
12
|
-
height?: number;
|
|
13
|
-
/**
|
|
14
|
-
* Indicates if the image should be pregenerated when a new image is uploaded rather than when first requested.
|
|
15
|
-
*/
|
|
16
|
-
pregenerated?: boolean;
|
|
17
|
-
};
|
|
1
|
+
/**
|
|
2
|
+
* Instruction for generating an alternative image from the main binary of an image content item.
|
|
3
|
+
*/
|
|
4
|
+
export type ImageDescriptor = {
|
|
5
|
+
/**
|
|
6
|
+
* The image width in pixels.
|
|
7
|
+
*/
|
|
8
|
+
width?: number;
|
|
9
|
+
/**
|
|
10
|
+
* The image height in pixels.
|
|
11
|
+
*/
|
|
12
|
+
height?: number;
|
|
13
|
+
/**
|
|
14
|
+
* Indicates if the image should be pregenerated when a new image is uploaded rather than when first requested.
|
|
15
|
+
*/
|
|
16
|
+
pregenerated?: boolean;
|
|
17
|
+
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Describes a message from a package importing operation.
|
|
3
|
-
*/
|
|
4
|
-
export type ImportPackageMessage = {
|
|
5
|
-
/**
|
|
6
|
-
* The section where the message originated from.
|
|
7
|
-
*/
|
|
8
|
-
readonly section?: string | null;
|
|
9
|
-
/**
|
|
10
|
-
* The message describing an outcome.
|
|
11
|
-
*/
|
|
12
|
-
readonly message?: string;
|
|
13
|
-
/**
|
|
14
|
-
* The identifier of the resource that was the reason for this message to be created.
|
|
15
|
-
*/
|
|
16
|
-
readonly identifier?: string | null;
|
|
17
|
-
};
|
|
1
|
+
/**
|
|
2
|
+
* Describes a message from a package importing operation.
|
|
3
|
+
*/
|
|
4
|
+
export type ImportPackageMessage = {
|
|
5
|
+
/**
|
|
6
|
+
* The section where the message originated from.
|
|
7
|
+
*/
|
|
8
|
+
readonly section?: string | null;
|
|
9
|
+
/**
|
|
10
|
+
* The message describing an outcome.
|
|
11
|
+
*/
|
|
12
|
+
readonly message?: string;
|
|
13
|
+
/**
|
|
14
|
+
* The identifier of the resource that was the reason for this message to be created.
|
|
15
|
+
*/
|
|
16
|
+
readonly identifier?: string | null;
|
|
17
|
+
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import type { ImportPackageMessage } from './ImportPackageMessage';
|
|
2
|
-
/**
|
|
3
|
-
* Describes the result of a data package import.
|
|
4
|
-
*/
|
|
5
|
-
export type ImportPackageResult = {
|
|
6
|
-
/**
|
|
7
|
-
* Indication if the import succeeded.
|
|
8
|
-
*/
|
|
9
|
-
readonly success?: boolean;
|
|
10
|
-
/**
|
|
11
|
-
* List of messages describing the outcome from the package import.
|
|
12
|
-
*/
|
|
13
|
-
outcomes?: Array<ImportPackageMessage>;
|
|
14
|
-
/**
|
|
15
|
-
* List of error messages from the package import.
|
|
16
|
-
*/
|
|
17
|
-
errors?: Array<ImportPackageMessage>;
|
|
18
|
-
/**
|
|
19
|
-
* List of warning messages from the package import.
|
|
20
|
-
*/
|
|
21
|
-
warnings?: Array<ImportPackageMessage>;
|
|
22
|
-
};
|
|
1
|
+
import type { ImportPackageMessage } from './ImportPackageMessage';
|
|
2
|
+
/**
|
|
3
|
+
* Describes the result of a data package import.
|
|
4
|
+
*/
|
|
5
|
+
export type ImportPackageResult = {
|
|
6
|
+
/**
|
|
7
|
+
* Indication if the import succeeded.
|
|
8
|
+
*/
|
|
9
|
+
readonly success?: boolean;
|
|
10
|
+
/**
|
|
11
|
+
* List of messages describing the outcome from the package import.
|
|
12
|
+
*/
|
|
13
|
+
outcomes?: Array<ImportPackageMessage>;
|
|
14
|
+
/**
|
|
15
|
+
* List of error messages from the package import.
|
|
16
|
+
*/
|
|
17
|
+
errors?: Array<ImportPackageMessage>;
|
|
18
|
+
/**
|
|
19
|
+
* List of warning messages from the package import.
|
|
20
|
+
*/
|
|
21
|
+
warnings?: Array<ImportPackageMessage>;
|
|
22
|
+
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Represent the indexing type of a ContentTypeProperty.
|
|
3
|
-
*/
|
|
4
|
-
export declare enum IndexingType {
|
|
5
|
-
DISABLED = "disabled",
|
|
6
|
-
QUERYABLE = "queryable",
|
|
7
|
-
SEARCHABLE = "searchable"
|
|
8
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* Represent the indexing type of a ContentTypeProperty.
|
|
3
|
+
*/
|
|
4
|
+
export declare enum IndexingType {
|
|
5
|
+
DISABLED = "disabled",
|
|
6
|
+
QUERYABLE = "queryable",
|
|
7
|
+
SEARCHABLE = "searchable"
|
|
8
|
+
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.IndexingType = void 0;
|
|
4
|
-
/* generated using openapi-typescript-codegen -- do not edit */
|
|
5
|
-
/* istanbul ignore file */
|
|
6
|
-
/* tslint:disable */
|
|
7
|
-
/* eslint-disable */
|
|
8
|
-
/**
|
|
9
|
-
* Represent the indexing type of a ContentTypeProperty.
|
|
10
|
-
*/
|
|
11
|
-
var IndexingType;
|
|
12
|
-
(function (IndexingType) {
|
|
13
|
-
IndexingType["DISABLED"] = "disabled";
|
|
14
|
-
IndexingType["QUERYABLE"] = "queryable";
|
|
15
|
-
IndexingType["SEARCHABLE"] = "searchable";
|
|
16
|
-
})(IndexingType || (exports.IndexingType = IndexingType = {}));
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.IndexingType = void 0;
|
|
4
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
5
|
+
/* istanbul ignore file */
|
|
6
|
+
/* tslint:disable */
|
|
7
|
+
/* eslint-disable */
|
|
8
|
+
/**
|
|
9
|
+
* Represent the indexing type of a ContentTypeProperty.
|
|
10
|
+
*/
|
|
11
|
+
var IndexingType;
|
|
12
|
+
(function (IndexingType) {
|
|
13
|
+
IndexingType["DISABLED"] = "disabled";
|
|
14
|
+
IndexingType["QUERYABLE"] = "queryable";
|
|
15
|
+
IndexingType["SEARCHABLE"] = "searchable";
|
|
16
|
+
})(IndexingType || (exports.IndexingType = IndexingType = {}));
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* A writable implementation of an EnumerationSettings`1.
|
|
3
|
-
*/
|
|
4
|
-
export type Int32EnumerationSettings = {
|
|
5
|
-
/**
|
|
6
|
-
* Enumeration values for this property or format.
|
|
7
|
-
*/
|
|
8
|
-
values?: Record<string, string>;
|
|
9
|
-
};
|
|
1
|
+
/**
|
|
2
|
+
* A writable implementation of an EnumerationSettings`1.
|
|
3
|
+
*/
|
|
4
|
+
export type Int32EnumerationSettings = {
|
|
5
|
+
/**
|
|
6
|
+
* Enumeration values for this property or format.
|
|
7
|
+
*/
|
|
8
|
+
values?: Record<string, string>;
|
|
9
|
+
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,16 +1,10 @@
|
|
|
1
|
-
import type { Int32EnumerationSettings } from './Int32EnumerationSettings';
|
|
2
|
-
import type { ListPropertyItem } from './ListPropertyItem';
|
|
3
|
-
/**
|
|
4
|
-
* Describes a property list item that can contain integers.
|
|
5
|
-
*/
|
|
6
|
-
export type IntegerListItem = (ListPropertyItem & {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
* The maximum value that list items of this type should be able to contain.
|
|
13
|
-
*/
|
|
14
|
-
maximum?: number | null;
|
|
15
|
-
enum?: Int32EnumerationSettings;
|
|
16
|
-
});
|
|
1
|
+
import type { Int32EnumerationSettings } from './Int32EnumerationSettings';
|
|
2
|
+
import type { ListPropertyItem } from './ListPropertyItem';
|
|
3
|
+
/**
|
|
4
|
+
* Describes a property list item that can contain integers.
|
|
5
|
+
*/
|
|
6
|
+
export type IntegerListItem = (ListPropertyItem & {
|
|
7
|
+
minimum?: number | null;
|
|
8
|
+
maximum?: number | null;
|
|
9
|
+
enum?: Int32EnumerationSettings;
|
|
10
|
+
});
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,16 +1,10 @@
|
|
|
1
|
-
import type { ContentTypeProperty } from './ContentTypeProperty';
|
|
2
|
-
import type { Int32EnumerationSettings } from './Int32EnumerationSettings';
|
|
3
|
-
/**
|
|
4
|
-
* Describes a property that can contain an integer.
|
|
5
|
-
*/
|
|
6
|
-
export type IntegerProperty = (ContentTypeProperty & {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
* The maximum value that properties of this type should be able to contain.
|
|
13
|
-
*/
|
|
14
|
-
maximum?: number | null;
|
|
15
|
-
enum?: Int32EnumerationSettings;
|
|
16
|
-
});
|
|
1
|
+
import type { ContentTypeProperty } from './ContentTypeProperty';
|
|
2
|
+
import type { Int32EnumerationSettings } from './Int32EnumerationSettings';
|
|
3
|
+
/**
|
|
4
|
+
* Describes a property that can contain an integer.
|
|
5
|
+
*/
|
|
6
|
+
export type IntegerProperty = (ContentTypeProperty & {
|
|
7
|
+
minimum?: number | null;
|
|
8
|
+
maximum?: number | null;
|
|
9
|
+
enum?: Int32EnumerationSettings;
|
|
10
|
+
});
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { ContentTypeProperty } from './ContentTypeProperty';
|
|
2
|
-
/**
|
|
3
|
-
* Describes a property that can contain a JSON value in the form of a string.
|
|
4
|
-
*/
|
|
5
|
-
export type JsonStringProperty = ContentTypeProperty;
|
|
1
|
+
import type { ContentTypeProperty } from './ContentTypeProperty';
|
|
2
|
+
/**
|
|
3
|
+
* Describes a property that can contain a JSON value in the form of a string.
|
|
4
|
+
*/
|
|
5
|
+
export type JsonStringProperty = (ContentTypeProperty & Record<string, any>);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import type { ComponentListItem } from './ComponentListItem';
|
|
2
|
-
import type { ContentListItem } from './ContentListItem';
|
|
3
|
-
import type { ContentReferenceListItem } from './ContentReferenceListItem';
|
|
4
|
-
import type { ContentTypeProperty } from './ContentTypeProperty';
|
|
5
|
-
import type { DateTimeListItem } from './DateTimeListItem';
|
|
6
|
-
import type { FloatListItem } from './FloatListItem';
|
|
7
|
-
import type { IntegerListItem } from './IntegerListItem';
|
|
8
|
-
import type { StringListItem } from './StringListItem';
|
|
9
|
-
import type { UrlListItem } from './UrlListItem';
|
|
10
|
-
/**
|
|
11
|
-
* A property in the CMS that may hold a list of items.
|
|
12
|
-
*/
|
|
13
|
-
export type ListProperty = (ContentTypeProperty & {
|
|
14
|
-
/**
|
|
15
|
-
* Specifies the minimum number of items in this array property.
|
|
16
|
-
*/
|
|
17
|
-
minItems?: number | null;
|
|
18
|
-
/**
|
|
19
|
-
* Specifies the maximum number of items in this array property.
|
|
20
|
-
*/
|
|
21
|
-
maxItems?: number | null;
|
|
22
|
-
/**
|
|
23
|
-
* Describes the list item of a ListProperty in the CMS.
|
|
24
|
-
*/
|
|
25
|
-
items: (ComponentListItem | ContentListItem | ContentReferenceListItem | DateTimeListItem | FloatListItem | IntegerListItem | StringListItem | UrlListItem);
|
|
26
|
-
});
|
|
1
|
+
import type { ComponentListItem } from './ComponentListItem';
|
|
2
|
+
import type { ContentListItem } from './ContentListItem';
|
|
3
|
+
import type { ContentReferenceListItem } from './ContentReferenceListItem';
|
|
4
|
+
import type { ContentTypeProperty } from './ContentTypeProperty';
|
|
5
|
+
import type { DateTimeListItem } from './DateTimeListItem';
|
|
6
|
+
import type { FloatListItem } from './FloatListItem';
|
|
7
|
+
import type { IntegerListItem } from './IntegerListItem';
|
|
8
|
+
import type { StringListItem } from './StringListItem';
|
|
9
|
+
import type { UrlListItem } from './UrlListItem';
|
|
10
|
+
/**
|
|
11
|
+
* A property in the CMS that may hold a list of items.
|
|
12
|
+
*/
|
|
13
|
+
export type ListProperty = (ContentTypeProperty & {
|
|
14
|
+
/**
|
|
15
|
+
* Specifies the minimum number of items in this array property.
|
|
16
|
+
*/
|
|
17
|
+
minItems?: number | null;
|
|
18
|
+
/**
|
|
19
|
+
* Specifies the maximum number of items in this array property.
|
|
20
|
+
*/
|
|
21
|
+
maxItems?: number | null;
|
|
22
|
+
/**
|
|
23
|
+
* Describes the list item of a ListProperty in the CMS.
|
|
24
|
+
*/
|
|
25
|
+
items: (ComponentListItem | ContentListItem | ContentReferenceListItem | DateTimeListItem | FloatListItem | IntegerListItem | StringListItem | UrlListItem);
|
|
26
|
+
});
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import type { PropertyDataType } from './PropertyDataType';
|
|
2
|
-
/**
|
|
3
|
-
* Describes the list item of a ListProperty in the CMS.
|
|
4
|
-
*/
|
|
5
|
-
export type ListPropertyItem = {
|
|
6
|
-
type: PropertyDataType;
|
|
7
|
-
/**
|
|
8
|
-
* The key of the PropertyFormat that this property item is an instance of.
|
|
9
|
-
*/
|
|
10
|
-
format?: string | null;
|
|
11
|
-
};
|
|
1
|
+
import type { PropertyDataType } from './PropertyDataType';
|
|
2
|
+
/**
|
|
3
|
+
* Describes the list item of a ListProperty in the CMS.
|
|
4
|
+
*/
|
|
5
|
+
export type ListPropertyItem = {
|
|
6
|
+
type: PropertyDataType;
|
|
7
|
+
/**
|
|
8
|
+
* The key of the PropertyFormat that this property item is an instance of.
|
|
9
|
+
*/
|
|
10
|
+
format?: string | null;
|
|
11
|
+
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|