contentful-management
Advanced tools
Comparing version 11.17.0 to 11.18.0
@@ -48,3 +48,3 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; } | ||
// @ts-expect-error | ||
`${sdkMain}/${"11.17.0"}`, params.application, params.integration, params.feature); | ||
`${sdkMain}/${"11.18.0"}`, params.application, params.integration, params.feature); | ||
const adapter = createAdapter(_objectSpread(_objectSpread({}, params), {}, { | ||
@@ -51,0 +51,0 @@ userAgent |
@@ -1,6 +0,4 @@ | ||
/// <reference types="node" /> | ||
import { RawAxiosRequestHeaders, RawAxiosRequestConfig } from 'axios'; | ||
import { OpPatch } from 'json-patch'; | ||
import { Stream } from 'stream'; | ||
import { CollectionProp, GetAppDefinitionParams, GetCommentParams, GetContentTypeParams, GetOrganizationMembershipParams, GetOrganizationParams, GetSnapshotForContentTypeParams, GetSnapshotForEntryParams, GetSpaceEnvAliasParams, GetSpaceEnvironmentParams, GetSpaceMembershipProps, GetSpaceParams, GetTagParams, GetTeamMembershipParams, GetTeamParams, GetTeamSpaceMembershipParams, KeyValueMap, PaginationQueryParams, QueryParams, GetBulkActionParams, GetReleaseParams, GetTaskParams, GetEntryParams, CursorPaginatedCollectionProp, GetWorkflowDefinitionParams, GetEnvironmentTemplateParams, BasicCursorPaginationOptions, EnvironmentTemplateParams, GetSpaceEnvironmentUploadParams } from '../common-types'; | ||
import { CollectionProp, GetAppDefinitionParams, GetCommentParams, GetContentTypeParams, GetOrganizationMembershipParams, GetOrganizationParams, GetSnapshotForContentTypeParams, GetSnapshotForEntryParams, GetSpaceEnvAliasParams, GetSpaceEnvironmentParams, GetSpaceMembershipProps, GetSpaceParams, GetTagParams, GetTeamMembershipParams, GetTeamParams, GetTeamSpaceMembershipParams, KeyValueMap, PaginationQueryParams, QueryParams, GetBulkActionParams, GetReleaseParams, GetTaskParams, GetEntryParams, CursorPaginatedCollectionProp, GetWorkflowDefinitionParams, GetEnvironmentTemplateParams, BasicCursorPaginationOptions, EnvironmentTemplateParams } from '../common-types'; | ||
import { ApiKeyProps, CreateApiKeyProps } from '../entities/api-key'; | ||
@@ -14,3 +12,2 @@ import { AssetFileProp, AssetProcessingForLocale, AssetProps, CreateAssetProps } from '../entities/asset'; | ||
import { CreateLocaleProps, LocaleProps } from '../entities/locale'; | ||
import { OrganizationProp } from '../entities/organization'; | ||
import { CreateOrganizationInvitationProps, OrganizationInvitationProps } from '../entities/organization-invitation'; | ||
@@ -32,3 +29,2 @@ import { OrganizationMembershipProps } from '../entities/organization-membership'; | ||
import { UsageProps } from '../entities/usage'; | ||
import { UserProps } from '../entities/user'; | ||
import { DefaultParams, OptionalDefaults } from './wrappers/wrap'; | ||
@@ -62,2 +58,5 @@ import { AssetKeyProps, CreateAssetKeyProps } from '../entities/asset-key'; | ||
import { AppKeyPlainClientAPI } from './entities/app-key'; | ||
import { UserPlainClientAPI } from './entities/user'; | ||
import { UploadPlainClientAPI } from './entities/upload'; | ||
import { OrganizationPlainClientAPI } from './entities/organization'; | ||
export type PlainClientAPI = { | ||
@@ -185,13 +184,3 @@ raw: { | ||
}; | ||
user: { | ||
getManyForSpace(params: OptionalDefaults<GetSpaceParams & QueryParams>): Promise<CollectionProp<UserProps>>; | ||
getForSpace(params: OptionalDefaults<GetSpaceParams & { | ||
userId: string; | ||
}>): Promise<UserProps>; | ||
getCurrent<T = UserProps>(params?: QueryParams): Promise<T>; | ||
getForOrganization(params: OptionalDefaults<GetOrganizationParams & { | ||
userId: string; | ||
}>): Promise<UserProps>; | ||
getManyForOrganization(params: OptionalDefaults<GetOrganizationParams & QueryParams>): Promise<CollectionProp<UserProps>>; | ||
}; | ||
user: UserPlainClientAPI; | ||
entry: { | ||
@@ -272,9 +261,3 @@ getPublished<T extends KeyValueMap = KeyValueMap>(params: OptionalDefaults<GetSpaceEnvironmentParams & QueryParams>, rawData?: unknown, headers?: RawAxiosRequestHeaders): Promise<CollectionProp<EntryProps<T>>>; | ||
}; | ||
upload: { | ||
get(params: OptionalDefaults<GetSpaceEnvironmentUploadParams>): Promise<any>; | ||
create(params: OptionalDefaults<GetSpaceEnvironmentParams>, data: { | ||
file: string | ArrayBuffer | Stream; | ||
}): Promise<any>; | ||
delete(params: OptionalDefaults<GetSpaceEnvironmentUploadParams>): Promise<any>; | ||
}; | ||
upload: UploadPlainClientAPI; | ||
locale: { | ||
@@ -432,6 +415,3 @@ get(params: OptionalDefaults<GetSpaceEnvironmentParams & { | ||
}; | ||
organization: { | ||
getAll(params?: OptionalDefaults<PaginationQueryParams>): Promise<CollectionProp<OrganizationProp>>; | ||
get(params: OptionalDefaults<GetOrganizationParams>): Promise<OrganizationProp>; | ||
}; | ||
organization: OrganizationPlainClientAPI; | ||
organizationInvitation: { | ||
@@ -438,0 +418,0 @@ get(params: OptionalDefaults<{ |
{ | ||
"name": "contentful-management", | ||
"version": "11.17.0", | ||
"version": "11.18.0", | ||
"description": "Client for Contentful's Content Management API", | ||
@@ -5,0 +5,0 @@ "homepage": "https://www.contentful.com/developers/documentation/content-management-api/", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7493274
346
77643