@commercetools/platform-sdk
Advanced tools
Comparing version 1.8.1 to 1.9.0
@@ -64,3 +64,3 @@ /** | ||
*/ | ||
readonly key: string | ||
readonly key?: string | ||
/** | ||
@@ -229,2 +229,7 @@ * The current version of the cart. | ||
/** | ||
* User-specific unique identifier of the cart. | ||
* | ||
*/ | ||
readonly key?: string | ||
/** | ||
* Id of an existing Customer. | ||
@@ -430,2 +435,4 @@ * | ||
| CartSetBillingAddressAction | ||
| CartSetBillingAddressCustomFieldAction | ||
| CartSetBillingAddressCustomTypeAction | ||
| CartSetCartTotalTaxAction | ||
@@ -445,2 +452,6 @@ | CartSetCountryAction | ||
| CartSetDeleteDaysAfterLastModificationAction | ||
| CartSetDeliveryAddressCustomFieldAction | ||
| CartSetDeliveryAddressCustomTypeAction | ||
| CartSetItemShippingAddressCustomFieldAction | ||
| CartSetItemShippingAddressCustomTypeAction | ||
| CartSetKeyAction | ||
@@ -457,2 +468,4 @@ | CartSetLineItemCustomFieldAction | ||
| CartSetShippingAddressAction | ||
| CartSetShippingAddressCustomFieldAction | ||
| CartSetShippingAddressCustomTypeAction | ||
| CartSetShippingMethodAction | ||
@@ -1355,2 +1368,24 @@ | CartSetShippingMethodTaxAmountAction | ||
} | ||
export interface CartSetBillingAddressCustomFieldAction { | ||
readonly action: 'setBillingAddressCustomField' | ||
/** | ||
* | ||
*/ | ||
readonly name: string | ||
/** | ||
* | ||
*/ | ||
readonly value?: any | ||
} | ||
export interface CartSetBillingAddressCustomTypeAction { | ||
readonly action: 'setBillingAddressCustomType' | ||
/** | ||
* | ||
*/ | ||
readonly type?: TypeResourceIdentifier | ||
/** | ||
* | ||
*/ | ||
readonly fields?: FieldContainer | ||
} | ||
export interface CartSetCartTotalTaxAction { | ||
@@ -1510,2 +1545,62 @@ readonly action: 'setCartTotalTax' | ||
} | ||
export interface CartSetDeliveryAddressCustomFieldAction { | ||
readonly action: 'setDeliveryAddressCustomField' | ||
/** | ||
* | ||
*/ | ||
readonly deliveryId: string | ||
/** | ||
* | ||
*/ | ||
readonly type?: TypeResourceIdentifier | ||
/** | ||
* | ||
*/ | ||
readonly fields?: FieldContainer | ||
} | ||
export interface CartSetDeliveryAddressCustomTypeAction { | ||
readonly action: 'setDeliveryAddressCustomType' | ||
/** | ||
* | ||
*/ | ||
readonly deliveryId: string | ||
/** | ||
* | ||
*/ | ||
readonly name: string | ||
/** | ||
* | ||
*/ | ||
readonly value?: any | ||
} | ||
export interface CartSetItemShippingAddressCustomFieldAction { | ||
readonly action: 'setItemShippingAddressCustomField' | ||
/** | ||
* | ||
*/ | ||
readonly addressKey: string | ||
/** | ||
* | ||
*/ | ||
readonly name: string | ||
/** | ||
* | ||
*/ | ||
readonly value?: any | ||
} | ||
export interface CartSetItemShippingAddressCustomTypeAction { | ||
readonly action: 'setItemShippingAddressCustomType' | ||
/** | ||
* | ||
*/ | ||
readonly addressKey: string | ||
/** | ||
* | ||
*/ | ||
readonly type?: TypeResourceIdentifier | ||
/** | ||
* | ||
*/ | ||
readonly fields?: FieldContainer | ||
} | ||
export interface CartSetKeyAction { | ||
@@ -1628,2 +1723,24 @@ readonly action: 'setKey' | ||
} | ||
export interface CartSetShippingAddressCustomFieldAction { | ||
readonly action: 'setShippingAddressCustomField' | ||
/** | ||
* | ||
*/ | ||
readonly name: string | ||
/** | ||
* | ||
*/ | ||
readonly value?: any | ||
} | ||
export interface CartSetShippingAddressCustomTypeAction { | ||
readonly action: 'setShippingAddressCustomType' | ||
/** | ||
* | ||
*/ | ||
readonly type?: TypeResourceIdentifier | ||
/** | ||
* | ||
*/ | ||
readonly fields?: FieldContainer | ||
} | ||
export interface CartSetShippingMethodAction { | ||
@@ -1630,0 +1747,0 @@ readonly action: 'setShippingMethod' |
@@ -197,2 +197,4 @@ /** | ||
| ChannelSetAddressAction | ||
| ChannelSetAddressCustomFieldAction | ||
| ChannelSetAddressCustomTypeAction | ||
| ChannelSetCustomFieldAction | ||
@@ -244,2 +246,24 @@ | ChannelSetCustomTypeAction | ||
} | ||
export interface ChannelSetAddressCustomFieldAction { | ||
readonly action: 'setAddressCustomField' | ||
/** | ||
* | ||
*/ | ||
readonly name: string | ||
/** | ||
* | ||
*/ | ||
readonly value?: any | ||
} | ||
export interface ChannelSetAddressCustomTypeAction { | ||
readonly action: 'setAddressCustomType' | ||
/** | ||
* | ||
*/ | ||
readonly type?: TypeResourceIdentifier | ||
/** | ||
* | ||
*/ | ||
readonly fields?: FieldContainer | ||
} | ||
export interface ChannelSetCustomFieldAction { | ||
@@ -246,0 +270,0 @@ readonly action: 'setCustomField' |
@@ -217,2 +217,6 @@ /** | ||
readonly externalId?: string | ||
/** | ||
* | ||
*/ | ||
readonly custom?: CustomFields | ||
} | ||
@@ -219,0 +223,0 @@ export interface Asset { |
@@ -500,2 +500,4 @@ /** | ||
| CustomerRemoveStoreAction | ||
| CustomerSetAddressCustomFieldAction | ||
| CustomerSetAddressCustomTypeAction | ||
| CustomerSetCompanyNameAction | ||
@@ -617,2 +619,32 @@ | CustomerSetCustomFieldAction | ||
} | ||
export interface CustomerSetAddressCustomFieldAction { | ||
readonly action: 'setAddressCustomField' | ||
/** | ||
* | ||
*/ | ||
readonly addressId: string | ||
/** | ||
* | ||
*/ | ||
readonly name: string | ||
/** | ||
* | ||
*/ | ||
readonly value?: any | ||
} | ||
export interface CustomerSetAddressCustomTypeAction { | ||
readonly action: 'setAddressCustomType' | ||
/** | ||
* | ||
*/ | ||
readonly type?: TypeResourceIdentifier | ||
/** | ||
* | ||
*/ | ||
readonly fields?: FieldContainer | ||
/** | ||
* | ||
*/ | ||
readonly addressId: string | ||
} | ||
export interface CustomerSetCompanyNameAction { | ||
@@ -619,0 +651,0 @@ readonly action: 'setCompanyName' |
@@ -81,4 +81,9 @@ /** | ||
/** | ||
* User-specific unique identifier of the cart. | ||
* | ||
*/ | ||
readonly key?: string | ||
/** | ||
* | ||
*/ | ||
readonly version: number | ||
@@ -85,0 +90,0 @@ /** |
@@ -273,6 +273,14 @@ /** | ||
| OrderEditAddStagedActionAction | ||
| OrderEditSetBillingAddressCustomFieldAction | ||
| OrderEditSetBillingAddressCustomTypeAction | ||
| OrderEditSetCommentAction | ||
| OrderEditSetCustomFieldAction | ||
| OrderEditSetCustomTypeAction | ||
| OrderEditSetDeliveryAddressCustomFieldAction | ||
| OrderEditSetDeliveryAddressCustomTypeAction | ||
| OrderEditSetItemShippingAddressCustomFieldAction | ||
| OrderEditSetItemShippingAddressCustomTypeAction | ||
| OrderEditSetKeyAction | ||
| OrderEditSetShippingAddressCustomFieldAction | ||
| OrderEditSetShippingAddressCustomTypeAction | ||
| OrderEditSetStagedActionsAction | ||
@@ -301,2 +309,24 @@ export interface OrderExcerpt { | ||
} | ||
export interface OrderEditSetBillingAddressCustomFieldAction { | ||
readonly action: 'setBillingAddressCustomField' | ||
/** | ||
* | ||
*/ | ||
readonly name: string | ||
/** | ||
* | ||
*/ | ||
readonly value?: any | ||
} | ||
export interface OrderEditSetBillingAddressCustomTypeAction { | ||
readonly action: 'setBillingAddressCustomType' | ||
/** | ||
* | ||
*/ | ||
readonly type?: TypeResourceIdentifier | ||
/** | ||
* | ||
*/ | ||
readonly fields?: FieldContainer | ||
} | ||
export interface OrderEditSetCommentAction { | ||
@@ -334,2 +364,62 @@ readonly action: 'setComment' | ||
} | ||
export interface OrderEditSetDeliveryAddressCustomFieldAction { | ||
readonly action: 'setDeliveryAddressCustomField' | ||
/** | ||
* | ||
*/ | ||
readonly deliveryId: string | ||
/** | ||
* | ||
*/ | ||
readonly type?: TypeResourceIdentifier | ||
/** | ||
* | ||
*/ | ||
readonly fields?: FieldContainer | ||
} | ||
export interface OrderEditSetDeliveryAddressCustomTypeAction { | ||
readonly action: 'setDeliveryAddressCustomType' | ||
/** | ||
* | ||
*/ | ||
readonly deliveryId: string | ||
/** | ||
* | ||
*/ | ||
readonly name: string | ||
/** | ||
* | ||
*/ | ||
readonly value?: any | ||
} | ||
export interface OrderEditSetItemShippingAddressCustomFieldAction { | ||
readonly action: 'setItemShippingAddressCustomField' | ||
/** | ||
* | ||
*/ | ||
readonly addressKey: string | ||
/** | ||
* | ||
*/ | ||
readonly name: string | ||
/** | ||
* | ||
*/ | ||
readonly value?: any | ||
} | ||
export interface OrderEditSetItemShippingAddressCustomTypeAction { | ||
readonly action: 'setItemShippingAddressCustomType' | ||
/** | ||
* | ||
*/ | ||
readonly addressKey: string | ||
/** | ||
* | ||
*/ | ||
readonly type?: TypeResourceIdentifier | ||
/** | ||
* | ||
*/ | ||
readonly fields?: FieldContainer | ||
} | ||
export interface OrderEditSetKeyAction { | ||
@@ -343,2 +433,24 @@ readonly action: 'setKey' | ||
} | ||
export interface OrderEditSetShippingAddressCustomFieldAction { | ||
readonly action: 'setShippingAddressCustomField' | ||
/** | ||
* | ||
*/ | ||
readonly name: string | ||
/** | ||
* | ||
*/ | ||
readonly value?: any | ||
} | ||
export interface OrderEditSetShippingAddressCustomTypeAction { | ||
readonly action: 'setShippingAddressCustomType' | ||
/** | ||
* | ||
*/ | ||
readonly type?: TypeResourceIdentifier | ||
/** | ||
* | ||
*/ | ||
readonly fields?: FieldContainer | ||
} | ||
export interface OrderEditSetStagedActionsAction { | ||
@@ -345,0 +457,0 @@ readonly action: 'setStagedActions' |
@@ -735,2 +735,4 @@ /** | ||
| OrderSetBillingAddressAction | ||
| OrderSetBillingAddressCustomFieldAction | ||
| OrderSetBillingAddressCustomTypeAction | ||
| OrderSetCustomFieldAction | ||
@@ -744,3 +746,7 @@ | OrderSetCustomLineItemCustomFieldAction | ||
| OrderSetDeliveryAddressAction | ||
| OrderSetDeliveryAddressCustomFieldAction | ||
| OrderSetDeliveryAddressCustomTypeAction | ||
| OrderSetDeliveryItemsAction | ||
| OrderSetItemShippingAddressCustomFieldAction | ||
| OrderSetItemShippingAddressCustomTypeAction | ||
| OrderSetLineItemCustomFieldAction | ||
@@ -757,2 +763,4 @@ | OrderSetLineItemCustomTypeAction | ||
| OrderSetShippingAddressAction | ||
| OrderSetShippingAddressCustomFieldAction | ||
| OrderSetShippingAddressCustomTypeAction | ||
| OrderSetStoreAction | ||
@@ -1224,2 +1232,24 @@ | OrderTransitionCustomLineItemStateAction | ||
} | ||
export interface OrderSetBillingAddressCustomFieldAction { | ||
readonly action: 'setBillingAddressCustomField' | ||
/** | ||
* | ||
*/ | ||
readonly name: string | ||
/** | ||
* | ||
*/ | ||
readonly value?: any | ||
} | ||
export interface OrderSetBillingAddressCustomTypeAction { | ||
readonly action: 'setBillingAddressCustomType' | ||
/** | ||
* | ||
*/ | ||
readonly type?: TypeResourceIdentifier | ||
/** | ||
* | ||
*/ | ||
readonly fields?: FieldContainer | ||
} | ||
export interface OrderSetCustomFieldAction { | ||
@@ -1313,2 +1343,32 @@ readonly action: 'setCustomField' | ||
} | ||
export interface OrderSetDeliveryAddressCustomFieldAction { | ||
readonly action: 'setDeliveryAddressCustomField' | ||
/** | ||
* | ||
*/ | ||
readonly deliveryId: string | ||
/** | ||
* | ||
*/ | ||
readonly type?: TypeResourceIdentifier | ||
/** | ||
* | ||
*/ | ||
readonly fields?: FieldContainer | ||
} | ||
export interface OrderSetDeliveryAddressCustomTypeAction { | ||
readonly action: 'setDeliveryAddressCustomType' | ||
/** | ||
* | ||
*/ | ||
readonly deliveryId: string | ||
/** | ||
* | ||
*/ | ||
readonly name: string | ||
/** | ||
* | ||
*/ | ||
readonly value?: any | ||
} | ||
export interface OrderSetDeliveryItemsAction { | ||
@@ -1325,2 +1385,32 @@ readonly action: 'setDeliveryItems' | ||
} | ||
export interface OrderSetItemShippingAddressCustomFieldAction { | ||
readonly action: 'setItemShippingAddressCustomField' | ||
/** | ||
* | ||
*/ | ||
readonly addressKey: string | ||
/** | ||
* | ||
*/ | ||
readonly name: string | ||
/** | ||
* | ||
*/ | ||
readonly value?: any | ||
} | ||
export interface OrderSetItemShippingAddressCustomTypeAction { | ||
readonly action: 'setItemShippingAddressCustomType' | ||
/** | ||
* | ||
*/ | ||
readonly addressKey: string | ||
/** | ||
* | ||
*/ | ||
readonly type?: TypeResourceIdentifier | ||
/** | ||
* | ||
*/ | ||
readonly fields?: FieldContainer | ||
} | ||
export interface OrderSetLineItemCustomFieldAction { | ||
@@ -1443,2 +1533,24 @@ readonly action: 'setLineItemCustomField' | ||
} | ||
export interface OrderSetShippingAddressCustomFieldAction { | ||
readonly action: 'setShippingAddressCustomField' | ||
/** | ||
* | ||
*/ | ||
readonly name: string | ||
/** | ||
* | ||
*/ | ||
readonly value?: any | ||
} | ||
export interface OrderSetShippingAddressCustomTypeAction { | ||
readonly action: 'setShippingAddressCustomType' | ||
/** | ||
* | ||
*/ | ||
readonly type?: TypeResourceIdentifier | ||
/** | ||
* | ||
*/ | ||
readonly fields?: FieldContainer | ||
} | ||
export interface OrderSetStoreAction { | ||
@@ -1445,0 +1557,0 @@ readonly action: 'setStore' |
@@ -115,7 +115,3 @@ /** | ||
export interface FacetResults { | ||
[key: string]: | ||
| FacetResult | ||
| FilteredFacetResult | ||
| RangeFacetResult | ||
| TermFacetResult | ||
[key: string]: FacetResult | ||
} | ||
@@ -122,0 +118,0 @@ export declare type FacetTypes = 'filter' | 'range' | 'terms' |
@@ -163,2 +163,3 @@ /** | ||
export declare type ResourceTypeId = | ||
| 'address' | ||
| 'asset' | ||
@@ -165,0 +166,0 @@ | 'cart-discount' |
@@ -7,3 +7,3 @@ { | ||
"name": "@commercetools/platform-sdk", | ||
"version": "1.8.1", | ||
"version": "1.9.0", | ||
"description": "Typescript definitions and sdk for commercetools platform", | ||
@@ -63,3 +63,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "b3ad3b0479ba5f09d2ec88b29d08b13fe452df8e" | ||
"gitHead": "77fc32ecacaa22b55dba153dd6d579591e1acc64" | ||
} |
3544292
59417