New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@commercetools/platform-sdk

Package Overview
Dependencies
Maintainers
16
Versions
93
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@commercetools/platform-sdk - npm Package Compare versions

Comparing version 1.4.0 to 1.4.1

5

dist/ctp/ctp-client.d.ts
import { ApiRoot } from './../generated/index'
export declare function createApiBuilderFromCtpClient(ctpClient: any): ApiRoot
export declare function createApiBuilderFromCtpClient(
ctpClient: any,
baseUri?: string
): ApiRoot

2

dist/generated/models/cart-discount.d.ts

@@ -152,4 +152,4 @@ /**

| MultiBuyLineItemsTarget
| CartDiscountLineItemsTarget
| CartDiscountShippingCostTarget
| CartDiscountLineItemsTarget
| CartDiscountCustomLineItemsTarget

@@ -156,0 +156,0 @@ export interface CartDiscountCustomLineItemsTarget {

@@ -663,4 +663,4 @@ /**

export declare type ShippingRateInput =
| ClassificationShippingRateInput
| ScoreShippingRateInput
| ClassificationShippingRateInput
export interface ClassificationShippingRateInput {

@@ -676,4 +676,4 @@ readonly type: 'Classification'

export declare type ShippingRateInputDraft =
| ClassificationShippingRateInputDraft
| ScoreShippingRateInputDraft
| ClassificationShippingRateInputDraft
export interface ClassificationShippingRateInputDraft {

@@ -680,0 +680,0 @@ readonly type: 'Classification'

@@ -270,6 +270,6 @@ /**

| ZoneReference
| ChannelReference
| CartReference
| CategoryReference
| CartDiscountReference
| CategoryReference
| ChannelReference
export declare type ReferenceTypeId =

@@ -318,6 +318,6 @@ | 'cart'

| ZoneResourceIdentifier
| ChannelResourceIdentifier
| CategoryResourceIdentifier
| CartDiscountResourceIdentifier
| CategoryResourceIdentifier
| CartResourceIdentifier
| ChannelResourceIdentifier
export interface ScopedPrice {

@@ -339,3 +339,3 @@ readonly id: string

}
export declare type TypedMoney = CentPrecisionMoney | HighPrecisionMoney
export declare type TypedMoney = HighPrecisionMoney | CentPrecisionMoney
export interface CentPrecisionMoney {

@@ -363,4 +363,4 @@ readonly type: 'centPrecision'

export declare type TypedMoneyDraft =
| CentPrecisionMoneyDraft
| HighPrecisionMoneyDraft
| CentPrecisionMoneyDraft
export interface CentPrecisionMoneyDraft {

@@ -367,0 +367,0 @@ readonly type: 'centPrecision'

@@ -13,4 +13,8 @@ /**

*/
import { ChannelReference } from './channel'
import {
ChannelReference,
ChannelResourceIdentifier,
ChannelRoleEnum,
} from './channel'
import {
LocalizedString,

@@ -23,2 +27,3 @@ Price,

import { CustomerGroupReference } from './customer-group'
import { OrderEditPreviewFailure } from './order-edit'
import { Attribute } from './product'

@@ -33,3 +38,7 @@ export interface ErrorByExtension {

| ExtensionUpdateActionsFailedError
| ExternalOAuthFailedError
| FeatureRemovedError
| GeneralError
| InsufficientScopeError
| InternalConstraintViolatedError
| InvalidCredentialsError

@@ -46,6 +55,15 @@ | InvalidCurrentPasswordError

| MatchingPriceNotFoundError
| MaxResourceLimitExceededError
| MissingRoleOnChannelError
| MissingTaxRateForCountryError
| NoMatchingProductDiscountFoundError
| NotEnabledError
| ObjectNotFoundError
| OutOfStockError
| OverCapacityError
| PendingOperationError
| PriceChangedError
| ProjectNotConfiguredForLanguagesError
| QueryComplexityLimitExceededError
| QueryTimedOutError
| ReferenceExistsError

@@ -55,13 +73,28 @@ | ReferencedResourceNotFoundError

| ResourceNotFoundError
| ResourceSizeLimitExceededError
| SearchExecutionFailureError
| SearchFacetPathNotFoundError
| SemanticErrorError
| ShippingMethodDoesNotMatchCartError
| SyntaxErrorError
| WeakPasswordError
| EditPreviewFailedError
| DiscountCodeNonApplicableError
| EnumKeyAlreadyExistsError
| EnumValueIsUsedError
| AttributeDefinitionTypeConflictError
| DuplicatePriceScopeError
| EnumKeyDoesNotExistError
| AttributeDefinitionAlreadyExistsError
| DuplicateAttributeValuesError
| DuplicateEnumValuesError
| ConcurrentModificationError
| AttributeNameDoesNotExistError
| DuplicateAttributeValueError
| DuplicateAttributeValuesError
| DuplicateFieldWithConflictingResourceError
| AccessDeniedError
| EnumValueIsUsedError
| DiscountCodeNonApplicableError
| DuplicateFieldError
| DuplicatePriceScopeError
| ConcurrentModificationError
| EnumValuesMustMatchError
| AnonymousIdAlreadyInUseError
| DuplicateVariantValuesError
| DuplicateFieldWithConflictingResourceError
export interface AccessDeniedError {

@@ -71,2 +104,25 @@ readonly code: 'access_denied'

}
export interface AnonymousIdAlreadyInUseError {
readonly code: 'AnonymousIdAlreadyInUse'
readonly message: string
}
export interface AttributeDefinitionAlreadyExistsError {
readonly code: 'AttributeDefinitionAlreadyExists'
readonly message: string
readonly conflictingProductTypeId: string
readonly conflictingProductTypeName: string
readonly conflictingAttributeName: string
}
export interface AttributeDefinitionTypeConflictError {
readonly code: 'AttributeDefinitionTypeConflict'
readonly message: string
readonly conflictingProductTypeId: string
readonly conflictingProductTypeName: string
readonly conflictingAttributeName: string
}
export interface AttributeNameDoesNotExistError {
readonly code: 'AttributeNameDoesNotExist'
readonly message: string
readonly invalidAttributeName: string
}
export interface ConcurrentModificationError {

@@ -97,2 +153,7 @@ readonly code: 'ConcurrentModification'

}
export interface DuplicateEnumValuesError {
readonly code: 'DuplicateEnumValues'
readonly message: string
readonly duplicates: string[]
}
export interface DuplicateFieldError {

@@ -122,2 +183,19 @@ readonly code: 'DuplicateField'

}
export interface EditPreviewFailedError {
readonly code: 'EditPreviewFailed'
readonly message: string
readonly result: OrderEditPreviewFailure
}
export interface EnumKeyAlreadyExistsError {
readonly code: 'EnumKeyAlreadyExists'
readonly message: string
readonly conflictingEnumKey: string
readonly conflictingAttributeName: string
}
export interface EnumKeyDoesNotExistError {
readonly code: 'EnumKeyDoesNotExist'
readonly message: string
readonly conflictingEnumKey: string
readonly conflictingAttributeName: string
}
export interface EnumValueIsUsedError {

@@ -127,2 +205,6 @@ readonly code: 'EnumValueIsUsed'

}
export interface EnumValuesMustMatchError {
readonly code: 'EnumValuesMustMatch'
readonly message: string
}
export interface ErrorResponse {

@@ -156,2 +238,14 @@ readonly statusCode: number

}
export interface ExternalOAuthFailedError {
readonly code: 'ExternalOAuthFailed'
readonly message: string
}
export interface FeatureRemovedError {
readonly code: 'FeatureRemoved'
readonly message: string
}
export interface GeneralError {
readonly code: 'General'
readonly message: string
}
export interface InsufficientScopeError {

@@ -161,2 +255,6 @@ readonly code: 'insufficient_scope'

}
export interface InternalConstraintViolatedError {
readonly code: 'InternalConstraintViolated'
readonly message: string
}
export interface InvalidCredentialsError {

@@ -217,2 +315,13 @@ readonly code: 'InvalidCredentials'

}
export interface MaxResourceLimitExceededError {
readonly code: 'MaxResourceLimitExceeded'
readonly message: string
readonly exceededResource: ReferenceTypeId
}
export interface MissingRoleOnChannelError {
readonly code: 'MissingRoleOnChannel'
readonly message: string
readonly channel?: ChannelResourceIdentifier
readonly missingRole: ChannelRoleEnum
}
export interface MissingTaxRateForCountryError {

@@ -229,2 +338,10 @@ readonly code: 'MissingTaxRateForCountry'

}
export interface NotEnabledError {
readonly code: 'NotEnabled'
readonly message: string
}
export interface ObjectNotFoundError {
readonly code: 'ObjectNotFound'
readonly message: string
}
export interface OutOfStockError {

@@ -236,2 +353,10 @@ readonly code: 'OutOfStock'

}
export interface OverCapacityError {
readonly code: 'OverCapacity'
readonly message: string
}
export interface PendingOperationError {
readonly code: 'PendingOperation'
readonly message: string
}
export interface PriceChangedError {

@@ -243,2 +368,15 @@ readonly code: 'PriceChanged'

}
export interface ProjectNotConfiguredForLanguagesError {
readonly code: 'ProjectNotConfiguredForLanguages'
readonly message: string
readonly languages?: string[]
}
export interface QueryComplexityLimitExceededError {
readonly code: 'QueryComplexityLimitExceeded'
readonly message: string
}
export interface QueryTimedOutError {
readonly code: 'QueryTimedOut'
readonly message: string
}
export interface ReferenceExistsError {

@@ -265,2 +403,18 @@ readonly code: 'ReferenceExists'

}
export interface ResourceSizeLimitExceededError {
readonly code: 'ResourceSizeLimitExceeded'
readonly message: string
}
export interface SearchExecutionFailureError {
readonly code: 'SearchExecutionFailure'
readonly message: string
}
export interface SearchFacetPathNotFoundError {
readonly code: 'SearchFacetPathNotFound'
readonly message: string
}
export interface SemanticErrorError {
readonly code: 'SemanticError'
readonly message: string
}
export interface ShippingMethodDoesNotMatchCartError {

@@ -270,2 +424,6 @@ readonly code: 'ShippingMethodDoesNotMatchCart'

}
export interface SyntaxErrorError {
readonly code: 'SyntaxError'
readonly message: string
}
export interface VariantValues {

@@ -276,1 +434,5 @@ readonly sku?: string

}
export interface WeakPasswordError {
readonly code: 'WeakPassword'
readonly message: string
}

@@ -73,4 +73,4 @@ /**

export declare type ExtensionHttpDestinationAuthentication =
| ExtensionAuthorizationHeaderAuthentication
| ExtensionAzureFunctionsAuthentication
| ExtensionAuthorizationHeaderAuthentication
export interface ExtensionAuthorizationHeaderAuthentication {

@@ -77,0 +77,0 @@ readonly type: 'AuthorizationHeader'

@@ -110,22 +110,22 @@ /**

| ReviewStateTransitionMessage
| CustomerCreatedMessage
| CustomerDateOfBirthSetMessage
| DeliveryAddressSetMessage
| CustomerAddressAddedMessage
| InventoryEntryCreatedMessage
| CategoryCreatedMessage
| DeliveryRemovedMessage
| CustomerEmailChangedMessage
| DeliveryAddedMessage
| CustomerAddressAddedMessage
| CustomerCreatedMessage
| CustomerGroupSetMessage
| InventoryEntryDeletedMessage
| CategorySlugChangedMessage
| CustomerGroupSetMessage
| LineItemStateTransitionMessage
| CustomerEmailChangedMessage
| DeliveryItemsUpdatedMessage
| InventoryEntryDeletedMessage
| CustomerAddressRemovedMessage
| CustomerDateOfBirthSetMessage
| CustomerCompanyNameSetMessage
| CustomLineItemStateTransitionMessage
| CustomerEmailVerifiedMessage
| DeliveryRemovedMessage
| CustomerAddressChangedMessage
| CategoryCreatedMessage
| InventoryEntryQuantitySetMessage
| DeliveryAddressSetMessage
| LineItemStateTransitionMessage
| CustomerCompanyNameSetMessage
| CustomerAddressRemovedMessage
| CustomerEmailVerifiedMessage
export interface CategoryCreatedMessage {

@@ -1279,22 +1279,22 @@ readonly type: 'CategoryCreated'

| ReviewStateTransitionMessagePayload
| CustomerAddressAddedMessagePayload
| CategorySlugChangedMessagePayload
| CustomerGroupSetMessagePayload
| CustomerEmailChangedMessagePayload
| LineItemStateTransitionMessagePayload
| DeliveryRemovedMessagePayload
| DeliveryItemsUpdatedMessagePayload
| InventoryEntryDeletedMessagePayload
| CustomerDateOfBirthSetMessagePayload
| CustomerCompanyNameSetMessagePayload
| InventoryEntryCreatedMessagePayload
| InventoryEntryQuantitySetMessagePayload
| CustomerAddressAddedMessagePayload
| CustomerAddressRemovedMessagePayload
| CategoryCreatedMessagePayload
| CustomerAddressChangedMessagePayload
| CustomerCreatedMessagePayload
| DeliveryAddressSetMessagePayload
| CustomerDateOfBirthSetMessagePayload
| CustomerEmailChangedMessagePayload
| InventoryEntryDeletedMessagePayload
| CustomerAddressRemovedMessagePayload
| InventoryEntryCreatedMessagePayload
| CustomLineItemStateTransitionMessagePayload
| CustomerAddressChangedMessagePayload
| DeliveryAddedMessagePayload
| CustomerCompanyNameSetMessagePayload
| LineItemStateTransitionMessagePayload
| CategorySlugChangedMessagePayload
| CustomerEmailVerifiedMessagePayload
| InventoryEntryQuantitySetMessagePayload
| DeliveryItemsUpdatedMessagePayload
| CustomLineItemStateTransitionMessagePayload
export interface CategoryCreatedMessagePayload {

@@ -1301,0 +1301,0 @@ readonly type: 'CategoryCreated'

@@ -160,6 +160,6 @@ /**

export declare type OrderEditResult =
| OrderEditPreviewSuccess
| OrderEditPreviewFailure
| OrderEditApplied
| OrderEditNotProcessed
| OrderEditPreviewSuccess
export interface OrderEditApplied {

@@ -166,0 +166,0 @@ readonly type: 'Applied'

@@ -118,15 +118,15 @@ /**

export declare type AttributeType =
| AttributeBooleanType
| AttributeLocalizedEnumType
| AttributeTimeType
| AttributeDateType
| AttributeEnumType
| AttributeSetType
| AttributeReferenceType
| AttributeMoneyType
| AttributeReferenceType
| AttributeDateTimeType
| AttributeDateType
| AttributeNestedType
| AttributeLocalizableTextType
| AttributeTextType
| AttributeLocalizedEnumType
| AttributeNumberType
| AttributeNestedType
| AttributeTimeType
| AttributeBooleanType
| AttributeDateTimeType
| AttributeEnumType
export interface AttributeBooleanType {

@@ -133,0 +133,0 @@ readonly name: 'boolean'

@@ -72,5 +72,5 @@ /**

export declare type ShippingRateInputType =
| CartValueType
| CartScoreType
| CartClassificationType
| CartValueType
export interface CartClassificationType {

@@ -77,0 +77,0 @@ readonly type: 'CartClassification'

@@ -33,4 +33,4 @@ /**

| SqsDestination
| AzureEventGridDestination
| AzureServiceBusDestination
| AzureEventGridDestination
export interface AzureEventGridDestination {

@@ -96,6 +96,6 @@ readonly type: 'EventGrid'

export declare type SubscriptionDelivery =
| MessageDelivery
| ResourceDeletedDelivery
| ResourceCreatedDelivery
| MessageDelivery
| ResourceUpdatedDelivery
| ResourceDeletedDelivery
export interface MessageDelivery {

@@ -102,0 +102,0 @@ readonly notificationType: 'Message'

@@ -76,13 +76,13 @@ /**

| CustomFieldSetType
| CustomFieldLocalizedEnumType
| CustomFieldDateType
| CustomFieldNumberType
| CustomFieldDateTimeType
| CustomFieldMoneyType
| CustomFieldBooleanType
| CustomFieldReferenceType
| CustomFieldStringType
| CustomFieldLocalizedStringType
| CustomFieldEnumType
| CustomFieldTimeType
| CustomFieldNumberType
| CustomFieldEnumType
| CustomFieldLocalizedStringType
| CustomFieldBooleanType
| CustomFieldDateTimeType
| CustomFieldMoneyType
| CustomFieldLocalizedEnumType
export interface CustomFieldBooleanType {

@@ -89,0 +89,0 @@ readonly name: 'Boolean'

@@ -7,3 +7,3 @@ {

"name": "@commercetools/platform-sdk",
"version": "1.4.0",
"version": "1.4.1",
"description": "Typescript definitions and sdk for commercetools platform",

@@ -63,3 +63,3 @@ "keywords": [

},
"gitHead": "904d79fe53c4092f69be8777debf5831a730175f"
"gitHead": "30cd439f09506b9214a5088ee63d7e2e0dc21e83"
}

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 not supported yet

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 not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc