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.7.0 to 1.8.0

7

dist/generated/client/custom-objects/by-project-key-custom-objects-by-container-request-builder.d.ts

@@ -13,3 +13,3 @@ /**

*/
import { CustomObject } from '../../models/custom-object'
import { CustomObjectPagedQueryResponse } from '../../models/custom-object'
import { executeRequest, QueryParam } from '../../shared/utils/common-types'

@@ -35,6 +35,7 @@ import { ApiRequest } from '../../shared/utils/requests-utils'

/**
* Get CustomObject by container
* Get CustomObjectPagedQueryResponse by container
*/
get(methodArgs?: {
queryArgs?: {
where?: string | string[]
expand?: string | string[]

@@ -46,3 +47,3 @@ [key: string]: QueryParam

}
}): ApiRequest<CustomObject>
}): ApiRequest<CustomObjectPagedQueryResponse>
}

@@ -152,5 +152,5 @@ /**

| MultiBuyLineItemsTarget
| CartDiscountLineItemsTarget
| CartDiscountShippingCostTarget
| CartDiscountCustomLineItemsTarget
| CartDiscountShippingCostTarget
| CartDiscountLineItemsTarget
export interface CartDiscountCustomLineItemsTarget {

@@ -157,0 +157,0 @@ readonly type: 'customLineItems'

@@ -677,4 +677,4 @@ /**

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

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

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

import { PaymentReference, PaymentResourceIdentifier } from './payment'
import { ProductReference, ProductResourceIdentifier } from './product'
import {
FacetResults,
ProductReference,
ProductResourceIdentifier,
} from './product'
import {
ProductDiscountReference,

@@ -83,3 +79,2 @@ ProductDiscountResourceIdentifier,

readonly results: BaseResource[]
readonly facets?: FacetResults
readonly meta?: any

@@ -273,5 +268,5 @@ }

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

@@ -324,4 +319,4 @@ | 'cart'

| ZoneResourceIdentifier
| CategoryResourceIdentifier
| CartResourceIdentifier
| CategoryResourceIdentifier
| ChannelResourceIdentifier

@@ -368,4 +363,4 @@ | CartDiscountResourceIdentifier

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

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

@@ -13,3 +13,3 @@ /**

*/
import { CartResourceIdentifier } from './cart'
import { Cart, CartResourceIdentifier } from './cart'
import { Address, BaseResource, CreatedBy, LastModifiedBy } from './common'

@@ -238,3 +238,3 @@ import {

*/
readonly cart?: any
readonly cart?: Cart
}

@@ -241,0 +241,0 @@ export interface CustomerSignin {

@@ -76,21 +76,21 @@ /**

| WeakPasswordError
| DuplicateVariantValuesError
| DiscountCodeNonApplicableError
| DuplicateEnumValuesError
| DuplicateAttributeValuesError
| DuplicateFieldError
| EditPreviewFailedError
| DuplicateAttributeValueError
| AttributeDefinitionAlreadyExistsError
| AttributeDefinitionTypeConflictError
| DuplicateFieldWithConflictingResourceError
| EnumValueIsUsedError
| EnumValuesMustMatchError
| DuplicateFieldWithConflictingResourceError
| EditPreviewFailedError
| DuplicateVariantValuesError
| EnumKeyDoesNotExistError
| ConcurrentModificationError
| AnonymousIdAlreadyInUseError
| AttributeNameDoesNotExistError
| DuplicatePriceScopeError
| EnumKeyAlreadyExistsError
| AccessDeniedError
| DuplicatePriceScopeError
| AttributeNameDoesNotExistError
| DuplicateAttributeValueError
| DuplicateAttributeValuesError
| EnumKeyDoesNotExistError
| DuplicateFieldError
| DiscountCodeNonApplicableError
| AnonymousIdAlreadyInUseError
| DuplicateEnumValuesError
| EnumValueIsUsedError
| ConcurrentModificationError
export interface AccessDeniedError {

@@ -97,0 +97,0 @@ readonly code: 'access_denied'

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

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

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

@@ -111,23 +111,23 @@ /**

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

@@ -1316,23 +1316,23 @@ readonly type: 'CategoryCreated'

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

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

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

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

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

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

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

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

@@ -345,6 +345,3 @@ /**

readonly text: string
readonly suggestTokenizer?:
| SuggestTokenizer
| WhitespaceTokenizer
| CustomTokenizer
readonly suggestTokenizer?: SuggestTokenizer
}

@@ -351,0 +348,0 @@ export interface SearchKeywords {

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

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

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

@@ -25,2 +25,8 @@ /**

} from './tax-category'
import {
CustomFields,
CustomFieldsDraft,
FieldContainer,
TypeResourceIdentifier,
} from './type'
import { ZoneReference, ZoneResourceIdentifier } from './zone'

@@ -65,2 +71,3 @@ export interface PriceFunction {

readonly predicate?: string
readonly custom?: CustomFields
}

@@ -82,2 +89,3 @@ export interface ShippingMethodDraft {

readonly predicate?: string
readonly custom?: CustomFieldsDraft
}

@@ -113,2 +121,4 @@ export interface ShippingMethodPagedQueryResponse {

| ShippingMethodRemoveZoneAction
| ShippingMethodSetCustomFieldAction
| ShippingMethodSetCustomTypeAction
| ShippingMethodSetDescriptionAction

@@ -149,5 +159,5 @@ | ShippingMethodSetKeyAction

export declare type ShippingRatePriceTier =
| CartValueTier
| CartScoreTier
| CartClassificationTier
| CartScoreTier
| CartValueTier
export interface CartClassificationTier {

@@ -223,2 +233,12 @@ readonly type: 'CartClassification'

}
export interface ShippingMethodSetCustomFieldAction {
readonly action: 'setCustomField'
readonly name: string
readonly value?: any
}
export interface ShippingMethodSetCustomTypeAction {
readonly action: 'setCustomType'
readonly type?: TypeResourceIdentifier
readonly fields?: FieldContainer
}
export interface ShippingMethodSetDescriptionAction {

@@ -225,0 +245,0 @@ readonly action: 'setDescription'

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

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

@@ -37,0 +37,0 @@ readonly type: 'EventGrid'

@@ -75,14 +75,14 @@ /**

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

@@ -142,2 +142,3 @@ readonly name: 'Boolean'

| 'review'
| 'shipping-method'
| 'shopping-list'

@@ -144,0 +145,0 @@ | 'shopping-list-text-line-item'

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

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

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

},
"gitHead": "8f6b10fcfaa54409afa5c12a8dde1b0e23803c4d"
"gitHead": "8ee6502e3d3e7e4ff6a7dbbf07c699d7bf67f926"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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