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.9.1 to 1.10.0

5

dist/generated/client/carts/by-project-key-in-store-key-by-store-key-me-carts-by-id-request-builder.d.ts

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

*/
import { Cart } from '../../models/cart'
import { Update } from '../../models/common'
import { Cart, CartUpdate } from '../../models/cart'
import { executeRequest, QueryParam } from '../../shared/utils/common-types'

@@ -57,3 +56,3 @@ import { ApiRequest } from '../../shared/utils/requests-utils'

}
body: Update
body: CartUpdate
headers?: {

@@ -60,0 +59,0 @@ [key: string]: string | string[]

38

dist/generated/client/carts/by-project-key-me-carts-key-by-key-request-builder.d.ts

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

*/
import { MyCartUpdate } from '../../models/me'
import { executeRequest } from '../../shared/utils/common-types'
import { MyCart, MyCartUpdate } from '../../models/me'
import { executeRequest, QueryParam } from '../../shared/utils/common-types'
import { ApiRequest } from '../../shared/utils/requests-utils'

@@ -34,3 +34,22 @@ export declare class ByProjectKeyMeCartsKeyByKeyRequestBuilder {

})
/**
* Get MyCart by key
*/
get(methodArgs?: {
queryArgs?: {
expand?: string | string[]
[key: string]: QueryParam
}
headers?: {
[key: string]: string | string[]
}
}): ApiRequest<MyCart>
/**
* Update MyCart by key
*/
post(methodArgs: {
queryArgs?: {
expand?: string | string[]
[key: string]: QueryParam
}
body: MyCartUpdate

@@ -40,3 +59,16 @@ headers?: {

}
}): ApiRequest<void>
}): ApiRequest<MyCart>
/**
* Delete MyCart by key
*/
delete(methodArgs: {
queryArgs: {
version: number
expand?: string | string[]
[key: string]: QueryParam
}
headers?: {
[key: string]: string | string[]
}
}): ApiRequest<MyCart>
}

@@ -34,6 +34,6 @@ /**

})
withId(childPathArgs: { ID: string }): ByProjectKeyMeCartsByIDRequestBuilder
keyWithKeyValue(childPathArgs: {
withKey(childPathArgs: {
key: string
}): ByProjectKeyMeCartsKeyByKeyRequestBuilder
withId(childPathArgs: { ID: string }): ByProjectKeyMeCartsByIDRequestBuilder
/**

@@ -40,0 +40,0 @@ * Query carts

@@ -34,3 +34,4 @@ /**

*/
post(methodArgs?: {
post(methodArgs: {
body: string
headers?: {

@@ -37,0 +38,0 @@ [key: string]: string | string[]

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

*/
import { Update } from '../../models/common'
import { ShoppingList } from '../../models/shopping-list'
import { ShoppingList, ShoppingListUpdate } from '../../models/shopping-list'
import { executeRequest, QueryParam } from '../../shared/utils/common-types'

@@ -57,3 +56,3 @@ import { ApiRequest } from '../../shared/utils/requests-utils'

}
body: Update
body: ShoppingListUpdate
headers?: {

@@ -60,0 +59,0 @@ [key: string]: string | string[]

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

*/
import { Update } from '../../models/common'
import { ShoppingList } from '../../models/shopping-list'
import { ShoppingList, ShoppingListUpdate } from '../../models/shopping-list'
import { executeRequest, QueryParam } from '../../shared/utils/common-types'

@@ -57,3 +56,3 @@ import { ApiRequest } from '../../shared/utils/requests-utils'

}
body: Update
body: ShoppingListUpdate
headers?: {

@@ -60,0 +59,0 @@ [key: string]: string | string[]

@@ -34,3 +34,3 @@ /**

/**
* Get State by Key
* Get State by key
*/

@@ -47,3 +47,3 @@ get(methodArgs?: {

/**
* Update State by Key
* Update State by key
*/

@@ -61,3 +61,3 @@ post(methodArgs: {

/**
* Delete State by Key
* Delete State by key
*/

@@ -64,0 +64,0 @@ delete(methodArgs: {

@@ -95,4 +95,6 @@ /**

| ResourceSizeLimitExceededError
| SearchDeactivatedError
| SearchExecutionFailureError
| SearchFacetPathNotFoundError
| SearchIndexingInProgressError
| SemanticErrorError

@@ -776,2 +778,9 @@ | ShippingMethodDoesNotMatchCartError

}
export interface SearchDeactivatedError {
readonly code: 'SearchDeactivated'
/**
*
*/
readonly message: string
}
export interface SearchExecutionFailureError {

@@ -791,2 +800,9 @@ readonly code: 'SearchExecutionFailure'

}
export interface SearchIndexingInProgressError {
readonly code: 'SearchIndexingInProgress'
/**
*
*/
readonly message: string
}
export interface SemanticErrorError {

@@ -793,0 +809,0 @@ readonly code: 'SemanticError'

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

*/
import { LastModifiedBy } from './common'
import { MessageConfiguration, MessageConfigurationDraft } from './message'

@@ -22,2 +23,7 @@ import { CustomFieldLocalizedEnumValue } from './type'

readonly countryTaxRateFallbackEnabled?: boolean
/**
* The default value for the deleteDaysAfterLastModification parameter of the CartDraft. Initially set to 90 for projects created after December 2019.
*
*/
readonly deleteDaysAfterLastModification?: number
}

@@ -89,2 +95,6 @@ export interface ExternalOAuth {

readonly carts: CartsConfiguration
/**
*
*/
readonly searchIndexing?: SearchIndexingConfiguration
}

@@ -102,2 +112,3 @@ export interface ProjectUpdate {

export declare type ProjectUpdateAction =
| ProjectChangeCartsConfiguration
| ProjectChangeCountriesAction

@@ -110,4 +121,33 @@ | ProjectChangeCountryTaxRateFallbackEnabledAction

| ProjectChangeNameAction
| ProjectChangeProductSearchIndexingEnabledAction
| ProjectSetExternalOAuthAction
| ProjectSetShippingRateInputTypeAction
export interface SearchIndexingConfiguration {
/**
*
*/
readonly products?: SearchIndexingConfigurationValues
}
/**
* Can be one of the following or absent. "Activated" or absent means that the search and suggest endpoints for the specified resource type are active. "Deactivated" means that the search and suggest endpoints for the specified resource type cannot be used. "Indexing" indicates that the search and suggest endpoints can _temporally_ not be used because the search index is being re-built.
*/
export declare type SearchIndexingConfigurationStatus =
| 'Activated'
| 'Deactivated'
| 'Indexing'
export interface SearchIndexingConfigurationValues {
/**
* Can be one of the following or absent. "Activated" or absent means that the search and suggest endpoints for the specified resource type are active. "Deactivated" means that the search and suggest endpoints for the specified resource type cannot be used. "Indexing" indicates that the search and suggest endpoints can _temporally_ not be used because the search index is being re-built.
*
*/
readonly status?: SearchIndexingConfigurationStatus
/**
*
*/
readonly lastModifiedAt?: string
/**
*
*/
readonly lastModifiedBy?: LastModifiedBy
}
export declare type ShippingRateInputType =

@@ -130,2 +170,9 @@ | CartClassificationType

}
export interface ProjectChangeCartsConfiguration {
readonly action: 'changeCartsConfiguration'
/**
*
*/
readonly cartsConfiguration?: CartsConfiguration
}
export interface ProjectChangeCountriesAction {

@@ -184,2 +231,9 @@ readonly action: 'changeCountries'

}
export interface ProjectChangeProductSearchIndexingEnabledAction {
readonly action: 'changeProductSearchIndexingEnabled'
/**
*
*/
readonly enabled: boolean
}
export interface ProjectSetExternalOAuthAction {

@@ -186,0 +240,0 @@ readonly action: 'setExternalOAuth'

@@ -439,3 +439,3 @@ /**

*/
readonly localizedDescription?: string
readonly localizedDescription?: LocalizedString
}

@@ -442,0 +442,0 @@ export interface ShippingMethodSetPredicateAction {

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

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

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

},
"gitHead": "a4fda49ba67860b29de048346961363662a4c4ce"
"gitHead": "81c5fee3a058aab68e2ed60bf84f9ba39aa49a2e"
}

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