@wix/ecom 1.0.794 → 1.0.796

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/ecom",
3
- "version": "1.0.794",
3
+ "version": "1.0.796",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -32,7 +32,7 @@
32
32
  "@wix/ecom_current-cart": "1.0.85",
33
33
  "@wix/ecom_custom-triggers": "1.0.26",
34
34
  "@wix/ecom_delivery-profile": "1.0.23",
35
- "@wix/ecom_delivery-solutions": "1.0.2",
35
+ "@wix/ecom_delivery-solutions": "1.0.4",
36
36
  "@wix/ecom_discount-rules": "1.0.56",
37
37
  "@wix/ecom_discounts": "1.0.8",
38
38
  "@wix/ecom_discounts-custom-trigger": "1.0.11",
@@ -81,5 +81,5 @@
81
81
  "fqdn": ""
82
82
  }
83
83
  },
84
- "falconPackageHash": "5e20d8d3ac7e693fc0431a45f49c2920f566a6730832f9de790c2562"
84
+ "falconPackageHash": "5b73ecbbbf0ff51cd2f1db8411f635304ba34805c54efe7c3ac15bda"
85
85
  }
@@ -36885,16 +36885,16 @@ interface DeliverySolution {
36885
36885
  cost?: DeliveryCost;
36886
36886
  /** Delivery solution breakdown by delivery carrier and delivery region */
36887
36887
  breakdown?: Breakdown[];
36888
- /** If the delivery option is a partial and doesn't apply to all items, this field will be populated. */
36889
- partial?: Partial$1;
36888
+ /** If the delivery solution is a partial and doesn't apply to all items. */
36889
+ partial?: boolean | null;
36890
36890
  }
36891
36891
  interface Breakdown {
36892
36892
  /** The delivery option's carrier details, could be multiple if the delivery option is a combination of multiple carriers */
36893
36893
  deliveryCarrier?: Carrier;
36894
- /** The delivery regions that are relevant for this delivery option, could be multiple if the delivery option is a combination of multiple profiles */
36894
+ /** The delivery region that are relevant for this delivery solution. */
36895
36895
  deliveryRegion?: Region;
36896
- /** should contain line ids for this specific carrier */
36897
- itemIds?: string[];
36896
+ /** Populated if the delivery solution is a partially supplied by this carrier. */
36897
+ applicableLineItems?: ApplicableLineItems;
36898
36898
  }
36899
36899
  interface Carrier {
36900
36900
  /** The carrier app id */
@@ -36908,8 +36908,8 @@ interface Region {
36908
36908
  /** The delivery region name. */
36909
36909
  name?: string | null;
36910
36910
  }
36911
- interface Partial$1 {
36912
- /** Line items that the delivery option is for. If empty, the delivery option is for all items. */
36911
+ interface ApplicableLineItems {
36912
+ /** Line items that the delivery solution is for. */
36913
36913
  lineItemIds?: string[];
36914
36914
  }
36915
36915
  interface DeliveryCarrierError {
@@ -37017,12 +37017,12 @@ interface DeliveryCostNonNullableFields {
37017
37017
  interface CarrierNonNullableFields {
37018
37018
  code: string;
37019
37019
  }
37020
+ interface ApplicableLineItemsNonNullableFields {
37021
+ lineItemIds: string[];
37022
+ }
37020
37023
  interface BreakdownNonNullableFields {
37021
37024
  deliveryCarrier?: CarrierNonNullableFields;
37022
- itemIds: string[];
37023
- }
37024
- interface PartialNonNullableFields {
37025
- lineItemIds: string[];
37025
+ applicableLineItems?: ApplicableLineItemsNonNullableFields;
37026
37026
  }
37027
37027
  interface DeliverySolutionNonNullableFields {
37028
37028
  code: string;
@@ -37030,7 +37030,6 @@ interface DeliverySolutionNonNullableFields {
37030
37030
  logistics?: DeliveryLogisticsNonNullableFields;
37031
37031
  cost?: DeliveryCostNonNullableFields;
37032
37032
  breakdown: BreakdownNonNullableFields[];
37033
- partial?: PartialNonNullableFields;
37034
37033
  }
37035
37034
  interface ApplicationErrorNonNullableFields {
37036
37035
  code: string;
@@ -37092,6 +37091,7 @@ type context_AdditionalCharge = AdditionalCharge;
37092
37091
  type context_Address = Address;
37093
37092
  type context_AddressLocation = AddressLocation;
37094
37093
  type context_AddressStreetOneOf = AddressStreetOneOf;
37094
+ type context_ApplicableLineItems = ApplicableLineItems;
37095
37095
  type context_ApplicationError = ApplicationError;
37096
37096
  type context_Breakdown = Breakdown;
37097
37097
  type context_Carrier = Carrier;
@@ -37151,7 +37151,7 @@ type context_WeightUnit = WeightUnit;
37151
37151
  declare const context_WeightUnit: typeof WeightUnit;
37152
37152
  declare const context_getDeliverySolutions: typeof getDeliverySolutions;
37153
37153
  declare namespace context {
37154
- export { type context_ActionEvent as ActionEvent, type context_AdditionalCharge as AdditionalCharge, type context_Address as Address, type context_AddressLocation as AddressLocation, type context_AddressStreetOneOf as AddressStreetOneOf, type context_ApplicationError as ApplicationError, type context_Breakdown as Breakdown, type context_Carrier as Carrier, type context_CarrierDetails as CarrierDetails, type context_CarrierError as CarrierError, type context_CatalogReference as CatalogReference, context_ChargeType as ChargeType, type context_DeliverableItem as DeliverableItem, type context_DeliveryCarrierError as DeliveryCarrierError, type context_DeliveryCost as DeliveryCost, type context_DeliveryDetails as DeliveryDetails, type context_DeliveryLogistics as DeliveryLogistics, type context_DeliveryOption as DeliveryOption, type context_DeliveryRatesGateway as DeliveryRatesGateway, type context_DeliverySolution as DeliverySolution, type context_DeliveryTimeSlot as DeliveryTimeSlot, type context_Details as Details, type context_DetailsKindOneOf as DetailsKindOneOf, type context_DomainEvent as DomainEvent, type context_DomainEventBodyOneOf as DomainEventBodyOneOf, type context_Empty as Empty, type context_EntityCreatedEvent as EntityCreatedEvent, type context_EntityDeletedEvent as EntityDeletedEvent, type context_EntityUpdatedEvent as EntityUpdatedEvent, type context_FieldViolation as FieldViolation, type context_FullAddressContactDetails as FullAddressContactDetails, type context_GetDeliveryOptionsRequest as GetDeliveryOptionsRequest, type context_GetDeliveryOptionsResponse as GetDeliveryOptionsResponse, type context_GetDeliverySolutionsOptions as GetDeliverySolutionsOptions, type context_GetDeliverySolutionsRequest as GetDeliverySolutionsRequest, type context_GetDeliverySolutionsResponse as GetDeliverySolutionsResponse, type context_GetDeliverySolutionsResponseNonNullableFields as GetDeliverySolutionsResponseNonNullableFields, type Partial$1 as Partial, type context_PartialDeliveryOption as PartialDeliveryOption, type context_PhysicalProperties as PhysicalProperties, type context_PickupDetails as PickupDetails, context_PickupMethod as PickupMethod, type context_ProviderErrors as ProviderErrors, type context_Region as Region, type context_RegionDetails as RegionDetails, type context_RestoreInfo as RestoreInfo, context_RuleType as RuleType, type context_StreetAddress as StreetAddress, type context_Subdivision as Subdivision, context_SubdivisionType as SubdivisionType, type context_SystemError as SystemError, type context_UserIntent as UserIntent, type context_UserPreference as UserPreference, type context_ValidationError as ValidationError, type context_VatId as VatId, context_VatType as VatType, context_WeightUnit as WeightUnit, context_getDeliverySolutions as getDeliverySolutions };
37154
+ export { type context_ActionEvent as ActionEvent, type context_AdditionalCharge as AdditionalCharge, type context_Address as Address, type context_AddressLocation as AddressLocation, type context_AddressStreetOneOf as AddressStreetOneOf, type context_ApplicableLineItems as ApplicableLineItems, type context_ApplicationError as ApplicationError, type context_Breakdown as Breakdown, type context_Carrier as Carrier, type context_CarrierDetails as CarrierDetails, type context_CarrierError as CarrierError, type context_CatalogReference as CatalogReference, context_ChargeType as ChargeType, type context_DeliverableItem as DeliverableItem, type context_DeliveryCarrierError as DeliveryCarrierError, type context_DeliveryCost as DeliveryCost, type context_DeliveryDetails as DeliveryDetails, type context_DeliveryLogistics as DeliveryLogistics, type context_DeliveryOption as DeliveryOption, type context_DeliveryRatesGateway as DeliveryRatesGateway, type context_DeliverySolution as DeliverySolution, type context_DeliveryTimeSlot as DeliveryTimeSlot, type context_Details as Details, type context_DetailsKindOneOf as DetailsKindOneOf, type context_DomainEvent as DomainEvent, type context_DomainEventBodyOneOf as DomainEventBodyOneOf, type context_Empty as Empty, type context_EntityCreatedEvent as EntityCreatedEvent, type context_EntityDeletedEvent as EntityDeletedEvent, type context_EntityUpdatedEvent as EntityUpdatedEvent, type context_FieldViolation as FieldViolation, type context_FullAddressContactDetails as FullAddressContactDetails, type context_GetDeliveryOptionsRequest as GetDeliveryOptionsRequest, type context_GetDeliveryOptionsResponse as GetDeliveryOptionsResponse, type context_GetDeliverySolutionsOptions as GetDeliverySolutionsOptions, type context_GetDeliverySolutionsRequest as GetDeliverySolutionsRequest, type context_GetDeliverySolutionsResponse as GetDeliverySolutionsResponse, type context_GetDeliverySolutionsResponseNonNullableFields as GetDeliverySolutionsResponseNonNullableFields, type context_PartialDeliveryOption as PartialDeliveryOption, type context_PhysicalProperties as PhysicalProperties, type context_PickupDetails as PickupDetails, context_PickupMethod as PickupMethod, type context_ProviderErrors as ProviderErrors, type context_Region as Region, type context_RegionDetails as RegionDetails, type context_RestoreInfo as RestoreInfo, context_RuleType as RuleType, type context_StreetAddress as StreetAddress, type context_Subdivision as Subdivision, context_SubdivisionType as SubdivisionType, type context_SystemError as SystemError, type context_UserIntent as UserIntent, type context_UserPreference as UserPreference, type context_ValidationError as ValidationError, type context_VatId as VatId, context_VatType as VatType, context_WeightUnit as WeightUnit, context_getDeliverySolutions as getDeliverySolutions };
37155
37155
  }
37156
37156
 
37157
37157
  export { context$m as abandonedCheckouts, context$l as backInStockNotifications, context$k as backInStockSettings, context$j as cart, context$h as checkout, context$s as checkoutContent, context$g as checkoutSettings, context$f as checkoutTemplates, context$1 as currencies, context$i as currentCart, context$e as deliveryProfile, context as deliverySolutions, context$q as discountRules, context$r as discountsCustomTrigger, context$d as draftOrders, context$b as giftVouchers, context$a as localDeliveryOptions, context$c as orderFulfillments, context$p as orderInvoices, context$8 as orderPaymentRequests, context$7 as orderTransactions, context$9 as orders, context$6 as ordersSettings, context$5 as pickupLocations, context$o as recommendations, context$4 as shippingOptions, context$3 as shippoConfigurations, context$n as subscriptionContracts, context$2 as totalsCalculator };
@@ -36885,16 +36885,16 @@ interface DeliverySolution {
36885
36885
  cost?: DeliveryCost;
36886
36886
  /** Delivery solution breakdown by delivery carrier and delivery region */
36887
36887
  breakdown?: Breakdown[];
36888
- /** If the delivery option is a partial and doesn't apply to all items, this field will be populated. */
36889
- partial?: Partial$1;
36888
+ /** If the delivery solution is a partial and doesn't apply to all items. */
36889
+ partial?: boolean | null;
36890
36890
  }
36891
36891
  interface Breakdown {
36892
36892
  /** The delivery option's carrier details, could be multiple if the delivery option is a combination of multiple carriers */
36893
36893
  deliveryCarrier?: Carrier;
36894
- /** The delivery regions that are relevant for this delivery option, could be multiple if the delivery option is a combination of multiple profiles */
36894
+ /** The delivery region that are relevant for this delivery solution. */
36895
36895
  deliveryRegion?: Region;
36896
- /** should contain line ids for this specific carrier */
36897
- itemIds?: string[];
36896
+ /** Populated if the delivery solution is a partially supplied by this carrier. */
36897
+ applicableLineItems?: ApplicableLineItems;
36898
36898
  }
36899
36899
  interface Carrier {
36900
36900
  /** The carrier app id */
@@ -36908,8 +36908,8 @@ interface Region {
36908
36908
  /** The delivery region name. */
36909
36909
  name?: string | null;
36910
36910
  }
36911
- interface Partial$1 {
36912
- /** Line items that the delivery option is for. If empty, the delivery option is for all items. */
36911
+ interface ApplicableLineItems {
36912
+ /** Line items that the delivery solution is for. */
36913
36913
  lineItemIds?: string[];
36914
36914
  }
36915
36915
  interface DeliveryCarrierError {
@@ -37017,12 +37017,12 @@ interface DeliveryCostNonNullableFields {
37017
37017
  interface CarrierNonNullableFields {
37018
37018
  code: string;
37019
37019
  }
37020
+ interface ApplicableLineItemsNonNullableFields {
37021
+ lineItemIds: string[];
37022
+ }
37020
37023
  interface BreakdownNonNullableFields {
37021
37024
  deliveryCarrier?: CarrierNonNullableFields;
37022
- itemIds: string[];
37023
- }
37024
- interface PartialNonNullableFields {
37025
- lineItemIds: string[];
37025
+ applicableLineItems?: ApplicableLineItemsNonNullableFields;
37026
37026
  }
37027
37027
  interface DeliverySolutionNonNullableFields {
37028
37028
  code: string;
@@ -37030,7 +37030,6 @@ interface DeliverySolutionNonNullableFields {
37030
37030
  logistics?: DeliveryLogisticsNonNullableFields;
37031
37031
  cost?: DeliveryCostNonNullableFields;
37032
37032
  breakdown: BreakdownNonNullableFields[];
37033
- partial?: PartialNonNullableFields;
37034
37033
  }
37035
37034
  interface ApplicationErrorNonNullableFields {
37036
37035
  code: string;
@@ -37092,6 +37091,7 @@ type index_d_AdditionalCharge = AdditionalCharge;
37092
37091
  type index_d_Address = Address;
37093
37092
  type index_d_AddressLocation = AddressLocation;
37094
37093
  type index_d_AddressStreetOneOf = AddressStreetOneOf;
37094
+ type index_d_ApplicableLineItems = ApplicableLineItems;
37095
37095
  type index_d_ApplicationError = ApplicationError;
37096
37096
  type index_d_Breakdown = Breakdown;
37097
37097
  type index_d_Carrier = Carrier;
@@ -37151,7 +37151,7 @@ type index_d_WeightUnit = WeightUnit;
37151
37151
  declare const index_d_WeightUnit: typeof WeightUnit;
37152
37152
  declare const index_d_getDeliverySolutions: typeof getDeliverySolutions;
37153
37153
  declare namespace index_d {
37154
- export { type index_d_ActionEvent as ActionEvent, type index_d_AdditionalCharge as AdditionalCharge, type index_d_Address as Address, type index_d_AddressLocation as AddressLocation, type index_d_AddressStreetOneOf as AddressStreetOneOf, type index_d_ApplicationError as ApplicationError, type index_d_Breakdown as Breakdown, type index_d_Carrier as Carrier, type index_d_CarrierDetails as CarrierDetails, type index_d_CarrierError as CarrierError, type index_d_CatalogReference as CatalogReference, index_d_ChargeType as ChargeType, type index_d_DeliverableItem as DeliverableItem, type index_d_DeliveryCarrierError as DeliveryCarrierError, type index_d_DeliveryCost as DeliveryCost, type index_d_DeliveryDetails as DeliveryDetails, type index_d_DeliveryLogistics as DeliveryLogistics, type index_d_DeliveryOption as DeliveryOption, type index_d_DeliveryRatesGateway as DeliveryRatesGateway, type index_d_DeliverySolution as DeliverySolution, type index_d_DeliveryTimeSlot as DeliveryTimeSlot, type index_d_Details as Details, type index_d_DetailsKindOneOf as DetailsKindOneOf, type index_d_DomainEvent as DomainEvent, type index_d_DomainEventBodyOneOf as DomainEventBodyOneOf, type index_d_Empty as Empty, type index_d_EntityCreatedEvent as EntityCreatedEvent, type index_d_EntityDeletedEvent as EntityDeletedEvent, type index_d_EntityUpdatedEvent as EntityUpdatedEvent, type index_d_FieldViolation as FieldViolation, type index_d_FullAddressContactDetails as FullAddressContactDetails, type index_d_GetDeliveryOptionsRequest as GetDeliveryOptionsRequest, type index_d_GetDeliveryOptionsResponse as GetDeliveryOptionsResponse, type index_d_GetDeliverySolutionsOptions as GetDeliverySolutionsOptions, type index_d_GetDeliverySolutionsRequest as GetDeliverySolutionsRequest, type index_d_GetDeliverySolutionsResponse as GetDeliverySolutionsResponse, type index_d_GetDeliverySolutionsResponseNonNullableFields as GetDeliverySolutionsResponseNonNullableFields, type Partial$1 as Partial, type index_d_PartialDeliveryOption as PartialDeliveryOption, type index_d_PhysicalProperties as PhysicalProperties, type index_d_PickupDetails as PickupDetails, index_d_PickupMethod as PickupMethod, type index_d_ProviderErrors as ProviderErrors, type index_d_Region as Region, type index_d_RegionDetails as RegionDetails, type index_d_RestoreInfo as RestoreInfo, index_d_RuleType as RuleType, type index_d_StreetAddress as StreetAddress, type index_d_Subdivision as Subdivision, index_d_SubdivisionType as SubdivisionType, type index_d_SystemError as SystemError, type index_d_UserIntent as UserIntent, type index_d_UserPreference as UserPreference, type index_d_ValidationError as ValidationError, type index_d_VatId as VatId, index_d_VatType as VatType, index_d_WeightUnit as WeightUnit, index_d_getDeliverySolutions as getDeliverySolutions };
37154
+ export { type index_d_ActionEvent as ActionEvent, type index_d_AdditionalCharge as AdditionalCharge, type index_d_Address as Address, type index_d_AddressLocation as AddressLocation, type index_d_AddressStreetOneOf as AddressStreetOneOf, type index_d_ApplicableLineItems as ApplicableLineItems, type index_d_ApplicationError as ApplicationError, type index_d_Breakdown as Breakdown, type index_d_Carrier as Carrier, type index_d_CarrierDetails as CarrierDetails, type index_d_CarrierError as CarrierError, type index_d_CatalogReference as CatalogReference, index_d_ChargeType as ChargeType, type index_d_DeliverableItem as DeliverableItem, type index_d_DeliveryCarrierError as DeliveryCarrierError, type index_d_DeliveryCost as DeliveryCost, type index_d_DeliveryDetails as DeliveryDetails, type index_d_DeliveryLogistics as DeliveryLogistics, type index_d_DeliveryOption as DeliveryOption, type index_d_DeliveryRatesGateway as DeliveryRatesGateway, type index_d_DeliverySolution as DeliverySolution, type index_d_DeliveryTimeSlot as DeliveryTimeSlot, type index_d_Details as Details, type index_d_DetailsKindOneOf as DetailsKindOneOf, type index_d_DomainEvent as DomainEvent, type index_d_DomainEventBodyOneOf as DomainEventBodyOneOf, type index_d_Empty as Empty, type index_d_EntityCreatedEvent as EntityCreatedEvent, type index_d_EntityDeletedEvent as EntityDeletedEvent, type index_d_EntityUpdatedEvent as EntityUpdatedEvent, type index_d_FieldViolation as FieldViolation, type index_d_FullAddressContactDetails as FullAddressContactDetails, type index_d_GetDeliveryOptionsRequest as GetDeliveryOptionsRequest, type index_d_GetDeliveryOptionsResponse as GetDeliveryOptionsResponse, type index_d_GetDeliverySolutionsOptions as GetDeliverySolutionsOptions, type index_d_GetDeliverySolutionsRequest as GetDeliverySolutionsRequest, type index_d_GetDeliverySolutionsResponse as GetDeliverySolutionsResponse, type index_d_GetDeliverySolutionsResponseNonNullableFields as GetDeliverySolutionsResponseNonNullableFields, type index_d_PartialDeliveryOption as PartialDeliveryOption, type index_d_PhysicalProperties as PhysicalProperties, type index_d_PickupDetails as PickupDetails, index_d_PickupMethod as PickupMethod, type index_d_ProviderErrors as ProviderErrors, type index_d_Region as Region, type index_d_RegionDetails as RegionDetails, type index_d_RestoreInfo as RestoreInfo, index_d_RuleType as RuleType, type index_d_StreetAddress as StreetAddress, type index_d_Subdivision as Subdivision, index_d_SubdivisionType as SubdivisionType, type index_d_SystemError as SystemError, type index_d_UserIntent as UserIntent, type index_d_UserPreference as UserPreference, type index_d_ValidationError as ValidationError, type index_d_VatId as VatId, index_d_VatType as VatType, index_d_WeightUnit as WeightUnit, index_d_getDeliverySolutions as getDeliverySolutions };
37155
37155
  }
37156
37156
 
37157
37157
  export { index_d$m as abandonedCheckouts, index_d$l as backInStockNotifications, index_d$k as backInStockSettings, index_d$j as cart, index_d$h as checkout, index_d$s as checkoutContent, index_d$g as checkoutSettings, index_d$f as checkoutTemplates, index_d$1 as currencies, index_d$i as currentCart, index_d$e as deliveryProfile, index_d as deliverySolutions, index_d$q as discountRules, index_d$r as discountsCustomTrigger, index_d$d as draftOrders, index_d$b as giftVouchers, index_d$a as localDeliveryOptions, index_d$c as orderFulfillments, index_d$p as orderInvoices, index_d$8 as orderPaymentRequests, index_d$7 as orderTransactions, index_d$9 as orders, index_d$6 as ordersSettings, index_d$5 as pickupLocations, index_d$o as recommendations, index_d$4 as shippingOptions, index_d$3 as shippoConfigurations, index_d$n as subscriptionContracts, index_d$2 as totalsCalculator };
@@ -38029,16 +38029,16 @@ interface DeliverySolution$1 {
38029
38029
  cost?: DeliveryCost$1;
38030
38030
  /** Delivery solution breakdown by delivery carrier and delivery region */
38031
38031
  breakdown?: Breakdown$1[];
38032
- /** If the delivery option is a partial and doesn't apply to all items, this field will be populated. */
38033
- partial?: Partial$1;
38032
+ /** If the delivery solution is a partial and doesn't apply to all items. */
38033
+ partial?: boolean | null;
38034
38034
  }
38035
38035
  interface Breakdown$1 {
38036
38036
  /** The delivery option's carrier details, could be multiple if the delivery option is a combination of multiple carriers */
38037
38037
  deliveryCarrier?: Carrier$1;
38038
- /** The delivery regions that are relevant for this delivery option, could be multiple if the delivery option is a combination of multiple profiles */
38038
+ /** The delivery region that are relevant for this delivery solution. */
38039
38039
  deliveryRegion?: Region$1;
38040
- /** should contain line ids for this specific carrier */
38041
- itemIds?: string[];
38040
+ /** Populated if the delivery solution is a partially supplied by this carrier. */
38041
+ applicableLineItems?: ApplicableLineItems$1;
38042
38042
  }
38043
38043
  interface Carrier$1 {
38044
38044
  /** The carrier app id */
@@ -38052,8 +38052,8 @@ interface Region$1 {
38052
38052
  /** The delivery region name. */
38053
38053
  name?: string | null;
38054
38054
  }
38055
- interface Partial$1 {
38056
- /** Line items that the delivery option is for. If empty, the delivery option is for all items. */
38055
+ interface ApplicableLineItems$1 {
38056
+ /** Line items that the delivery solution is for. */
38057
38057
  lineItemIds?: string[];
38058
38058
  }
38059
38059
  interface DeliveryCarrierError$1 {
@@ -38095,12 +38095,12 @@ interface DeliveryCostNonNullableFields$1 {
38095
38095
  interface CarrierNonNullableFields$1 {
38096
38096
  code: string;
38097
38097
  }
38098
+ interface ApplicableLineItemsNonNullableFields$1 {
38099
+ lineItemIds: string[];
38100
+ }
38098
38101
  interface BreakdownNonNullableFields$1 {
38099
38102
  deliveryCarrier?: CarrierNonNullableFields$1;
38100
- itemIds: string[];
38101
- }
38102
- interface PartialNonNullableFields$1 {
38103
- lineItemIds: string[];
38103
+ applicableLineItems?: ApplicableLineItemsNonNullableFields$1;
38104
38104
  }
38105
38105
  interface DeliverySolutionNonNullableFields$1 {
38106
38106
  code: string;
@@ -38108,7 +38108,6 @@ interface DeliverySolutionNonNullableFields$1 {
38108
38108
  logistics?: DeliveryLogisticsNonNullableFields$1;
38109
38109
  cost?: DeliveryCostNonNullableFields$1;
38110
38110
  breakdown: BreakdownNonNullableFields$1[];
38111
- partial?: PartialNonNullableFields$1;
38112
38111
  }
38113
38112
  interface ApplicationErrorNonNullableFields$1 {
38114
38113
  code: string;
@@ -38451,16 +38450,16 @@ interface DeliverySolution {
38451
38450
  cost?: DeliveryCost;
38452
38451
  /** Delivery solution breakdown by delivery carrier and delivery region */
38453
38452
  breakdown?: Breakdown[];
38454
- /** If the delivery option is a partial and doesn't apply to all items, this field will be populated. */
38455
- partial?: Partial;
38453
+ /** If the delivery solution is a partial and doesn't apply to all items. */
38454
+ partial?: boolean | null;
38456
38455
  }
38457
38456
  interface Breakdown {
38458
38457
  /** The delivery option's carrier details, could be multiple if the delivery option is a combination of multiple carriers */
38459
38458
  deliveryCarrier?: Carrier;
38460
- /** The delivery regions that are relevant for this delivery option, could be multiple if the delivery option is a combination of multiple profiles */
38459
+ /** The delivery region that are relevant for this delivery solution. */
38461
38460
  deliveryRegion?: Region;
38462
- /** should contain line ids for this specific carrier */
38463
- itemIds?: string[];
38461
+ /** Populated if the delivery solution is a partially supplied by this carrier. */
38462
+ applicableLineItems?: ApplicableLineItems;
38464
38463
  }
38465
38464
  interface Carrier {
38466
38465
  /** The carrier app id */
@@ -38474,8 +38473,8 @@ interface Region {
38474
38473
  /** The delivery region name. */
38475
38474
  name?: string | null;
38476
38475
  }
38477
- interface Partial {
38478
- /** Line items that the delivery option is for. If empty, the delivery option is for all items. */
38476
+ interface ApplicableLineItems {
38477
+ /** Line items that the delivery solution is for. */
38479
38478
  lineItemIds?: string[];
38480
38479
  }
38481
38480
  interface DeliveryCarrierError {
@@ -38511,12 +38510,12 @@ interface DeliveryCostNonNullableFields {
38511
38510
  interface CarrierNonNullableFields {
38512
38511
  code: string;
38513
38512
  }
38513
+ interface ApplicableLineItemsNonNullableFields {
38514
+ lineItemIds: string[];
38515
+ }
38514
38516
  interface BreakdownNonNullableFields {
38515
38517
  deliveryCarrier?: CarrierNonNullableFields;
38516
- itemIds: string[];
38517
- }
38518
- interface PartialNonNullableFields {
38519
- lineItemIds: string[];
38518
+ applicableLineItems?: ApplicableLineItemsNonNullableFields;
38520
38519
  }
38521
38520
  interface DeliverySolutionNonNullableFields {
38522
38521
  code: string;
@@ -38524,7 +38523,6 @@ interface DeliverySolutionNonNullableFields {
38524
38523
  logistics?: DeliveryLogisticsNonNullableFields;
38525
38524
  cost?: DeliveryCostNonNullableFields;
38526
38525
  breakdown: BreakdownNonNullableFields[];
38527
- partial?: PartialNonNullableFields;
38528
38526
  }
38529
38527
  interface ApplicationErrorNonNullableFields {
38530
38528
  code: string;