contentful-management 12.0.0-new-beta.4 → 12.0.0-new-beta.5

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.
@@ -1,6 +1,6 @@
1
1
  import type { RawAxiosRequestConfig, RawAxiosRequestHeaders } from 'axios';
2
2
  import type { OpPatch } from 'json-patch';
3
- import type Stream from 'stream';
3
+ import type { Stream } from 'stream';
4
4
  import type { AccessTokenProps, CreatePersonalAccessTokenProps as CreatePATProps } from './entities/access-token';
5
5
  import type { ApiKeyProps, CreateApiKeyProps } from './entities/api-key';
6
6
  import type { AppActionProps, CreateAppActionProps } from './entities/app-action';
@@ -1,3 +1,4 @@
1
+ import type { Stream } from 'stream';
1
2
  import type { AcceptsQueryOptions, BasicCursorPaginationOptions, CreatedAtIntervalParams, CursorBasedParams, QueryOptions } from './common-types';
2
3
  import type { BasicQueryOptions, MakeRequest } from './common-types';
3
4
  import type { CreateAppInstallationProps } from './entities/app-installation';
@@ -16,7 +17,6 @@ import type { TagVisibility } from './entities/tag';
16
17
  import type { CreateAppAccessTokenProps } from './entities/app-access-token';
17
18
  import type { ResourceQueryOptions } from './entities/resource';
18
19
  import type { AiActionInvocationType } from './entities/ai-action-invocation';
19
- import type Stream from 'stream';
20
20
  /**
21
21
  * @private
22
22
  */
@@ -1,4 +1,4 @@
1
- import type Stream from 'stream';
1
+ import type { Stream } from 'stream';
2
2
  import type { CreateTeamMembershipProps } from './entities/team-membership';
3
3
  import type { CreateTeamProps } from './entities/team';
4
4
  import type { CreateOrganizationInvitationProps } from './entities/organization-invitation';
@@ -1,4 +1,4 @@
1
- import type Stream from 'stream';
1
+ import type { Stream } from 'stream';
2
2
  import type { MetaSysProps, DefaultElements, EntityMetaSysProps, MetadataProps, MakeRequest } from '../common-types';
3
3
  export type AssetProps<S = {}> = {
4
4
  sys: EntityMetaSysProps & S;
@@ -5,8 +5,7 @@ export type { AppAccessToken, AppAccessTokenProps, CreateAppAccessTokenProps, }
5
5
  export type { AiAction, AiActionProps, CreateAiActionProps } from './entities/ai-action';
6
6
  export type { AiActionInvocation, AiActionInvocationProps } from './entities/ai-action-invocation';
7
7
  export type { AppAction, AppActionCategoryProps, AppActionCategoryType, AppActionParameterDefinition, AppActionProps, AppActionType, CreateAppActionProps, } from './entities/app-action';
8
- export type { AppActionCall, AppActionCallProps, AppActionCallErrorProps, AppActionCallResponse, // was previously deep imported in user_interface
9
- AppActionCallRawResponseProps, AppActionCallStatus, CreateAppActionCallProps, } from './entities/app-action-call';
8
+ export type { AppActionCall, AppActionCallProps, AppActionCallErrorProps, AppActionCallResponse, AppActionCallRawResponseProps, AppActionCallStatus, CreateAppActionCallProps, } from './entities/app-action-call';
10
9
  export type { AppBundle, AppBundleFile, AppBundleProps, CreateAppBundleProps, } from './entities/app-bundle';
11
10
  export type { AppDefinition, AppDefinitionProps, AppLocation, CreateAppDefinitionProps, EntryFieldLocation, NavigationItem, PageLocation, SimpleLocation, } from './entities/app-definition';
12
11
  export type { AppDetails, AppDetailsProps, AppIcon, CreateAppDetailsProps, IconType, } from './entities/app-details';
@@ -19,13 +18,11 @@ export type { AppUpload, AppUploadProps } from './entities/app-upload';
19
18
  export type { Asset, AssetFileProp, AssetProps, CreateAssetProps } from './entities/asset';
20
19
  export type { AssetKey, AssetKeyProps, CreateAssetKeyProps } from './entities/asset-key';
21
20
  export type { BulkAction, BulkActionPayload, BulkActionProps, BulkActionPublishPayload, BulkActionStatus, BulkActionType, BulkActionUnpublishPayload, BulkActionValidatePayload, BulkActionV2Payload, PublishBulkActionV2Payload, UnpublishBulkActionV2Payload, ValidateBulkActionV2Payload, } from './entities/bulk-action';
22
- export type { Comment, CommentProps, CommentStatus, // was previously deep imported in user_interface
23
- CreateCommentProps, DeleteCommentParams, GetCommentParentEntityParams, GetManyCommentsParams, RichTextCommentDocument, RichTextCommentProps, UpdateCommentProps, } from './entities/comment';
21
+ export type { Comment, CommentProps, CommentStatus, CreateCommentProps, DeleteCommentParams, GetCommentParentEntityParams, GetManyCommentsParams, RichTextCommentDocument, RichTextCommentProps, UpdateCommentProps, } from './entities/comment';
24
22
  export type { AnnotationAssignment, ContentType, ContentTypeMetadata, ContentTypeProps, CreateContentTypeProps, } from './entities/content-type';
25
23
  export type { ContentFields, ContentTypeFieldValidation, ContentfulEntryResource, ExternalResource, } from './entities/content-type-fields';
26
24
  export type { Control, Editor, EditorInterface, EditorInterfaceProps, EditorLayoutItem, FieldGroupItem, FieldItem, GroupControl, SidebarItem, } from './entities/editor-interface';
27
- export type { CreateEntryProps, Entry, EntryProps, EntryReferenceProps, // was previously deep imported in user_interface
28
- WithResourceName, } from './entities/entry';
25
+ export type { CreateEntryProps, Entry, EntryProps, EntryReferenceProps, WithResourceName, } from './entities/entry';
29
26
  export type { CreateEnvironmentProps, Environment, EnvironmentProps } from './entities/environment';
30
27
  export type { CreateEnvironmentAliasProps, EnvironmentAlias, EnvironmentAliasProps, } from './entities/environment-alias';
31
28
  export type { ContentTypeTemplateProps, CreateEnvironmentTemplateProps, EditorInterfaceTemplateProps, EnvironmentTemplate, EnvironmentTemplateProps, Hint, } from './entities/environment-template';
@@ -42,9 +39,7 @@ export type { CreatePersonalAccessTokenProps, PersonalAccessToken, PersonalAcces
42
39
  export type { PreviewApiKey, PreviewApiKeyProps } from './entities/preview-api-key';
43
40
  export type { Release, ReleaseMetadata, ReleasePayload, ReleasePayloadV2, ReleaseProps, ReleaseQueryOptions, ReleaseReferenceFilters, ReleaseSysProps, ReleaseValidateOptions, } from './entities/release';
44
41
  export type { ReleaseAction, ReleaseActionProps, ReleaseActionQueryOptions, ReleaseActionSysProps, ReleaseActionTypes, } from './entities/release-action';
45
- export type { ActionType, // was previously deep imported in user_interface
46
- ConstraintType, // was previously deep imported in user_interface
47
- CreateRoleProps, Role, RoleProps, } from './entities/role';
42
+ export type { ActionType, ConstraintType, CreateRoleProps, Role, RoleProps } from './entities/role';
48
43
  export type { ScheduledAction, ScheduledActionProps, ScheduledActionSysProps, } from './entities/scheduled-action';
49
44
  export type { Snapshot, SnapshotProps } from './entities/snapshot';
50
45
  export type { Space, SpaceProps } from './entities/space';
@@ -61,10 +56,7 @@ export type { UploadCredential, UploadCredentialProps } from './entities/upload-
61
56
  export type { Usage, UsageProps } from './entities/usage';
62
57
  export type { User, UserProps } from './entities/user';
63
58
  export type { UserUIConfig, UserUIConfigProps } from './entities/user-ui-config';
64
- export type { CreateWebhooksProps, UpdateWebhookProps, UpsertWebhookSigningSecretPayload, WebHooks, WebhookCallDetailsProps, // was previously deep imported in user_interface
65
- WebhookCallRequest, WebhookCallOverviewProps, // was previously deep imported in user_interface
66
- WebhookFilter, WebhookHealthProps, // was previously deep imported in user_interface
67
- WebhookProps, WebhookSigningSecretProps, WebhookTransformation, } from './entities/webhook';
59
+ export type { CreateWebhooksProps, UpdateWebhookProps, UpsertWebhookSigningSecretPayload, WebHooks, WebhookCallDetailsProps, WebhookCallRequest, WebhookCallOverviewProps, WebhookFilter, WebhookHealthProps, WebhookProps, WebhookSigningSecretProps, WebhookTransformation, } from './entities/webhook';
68
60
  export type { CreateWorkflowDefinitionParams, CreateWorkflowDefinitionProps, CreateWorkflowStepProps, DeleteWorkflowDefinitionParams, UpdateWorkflowDefinitionParams, UpdateWorkflowDefinitionProps, UpdateWorkflowStepProps, WorkflowDefinition, WorkflowDefinitionProps, WorkflowDefinitionQueryOptions, WorkflowDefinitionSysProps, WorkflowDefinitionValidationLink, WorkflowStepAction, WorkflowStepActionType, WorkflowStepAppAction, WorkflowStepEmailAction, WorkflowStepEmailActionRecipient, WorkflowStepPermission, WorkflowStepPermissionActors, WorkflowStepProps, WorkflowStepTaskAction, } from './entities/workflow-definition';
69
61
  export * from './plain/common-types';
70
62
  export { WorkflowStepPermissionAction, WorkflowStepPermissionEffect, WorkflowStepPermissionType, } from './entities/workflow-definition';
@@ -182,7 +182,7 @@ export type PlainClientAPI = {
182
182
  }>, rawData: EntryProps<T>, headers?: RawAxiosRequestHeaders): Promise<EntryProps<T>>;
183
183
  patch<T extends KeyValueMap = KeyValueMap>(params: OptionalDefaults<GetSpaceEnvironmentParams & {
184
184
  entryId: string;
185
- version?: number;
185
+ version: number;
186
186
  releaseId?: string;
187
187
  }>, rawData: OpPatch[], headers?: RawAxiosRequestHeaders): Promise<EntryProps<T>>;
188
188
  delete(params: OptionalDefaults<GetSpaceEnvironmentParams & {
@@ -1,7 +1,7 @@
1
+ import type { Stream } from 'stream';
1
2
  import type { GetAppUploadParams, GetOrganizationParams } from '../../common-types';
2
3
  import type { AppUploadProps } from '../../entities/app-upload';
3
4
  import type { OptionalDefaults } from '../wrappers/wrap';
4
- import type Stream from 'stream';
5
5
  export type AppUploadPlainClientAPI = {
6
6
  /**
7
7
  * Fetches the App Upload
@@ -1,4 +1,4 @@
1
- import type Stream from 'stream';
1
+ import type { Stream } from 'stream';
2
2
  import type { OptionalDefaults } from '../wrappers/wrap';
3
3
  import type { GetSpaceEnvironmentParams, GetSpaceEnvironmentUploadParams } from '../../common-types';
4
4
  export type UploadPlainClientAPI = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "contentful-management",
3
- "version": "12.0.0-new-beta.4",
3
+ "version": "12.0.0-new-beta.5",
4
4
  "description": "Client for Contentful's Content Management API",
5
5
  "homepage": "https://www.contentful.com/developers/documentation/content-management-api/",
6
6
  "exports": {