@boulevard/blvd-book-sdk
Advanced tools
Comparing version 1.0.11 to 1.0.12
import { Node, PlatformClient } from "./platformClient"; | ||
import type { Scalars, Maybe, CartAdvanceGratuityInput, CartClientInformationInput, DepositType, CartErrorCode, UpdateCartInput } from "./graph"; | ||
import type { Scalars, Maybe, CartAdvanceGratuityInput, CartClientInformationInput, DepositType, CartErrorCode } from "./graph"; | ||
import type * as Graph from "./graph"; | ||
@@ -525,2 +525,3 @@ import { Location } from "./locations"; | ||
* @category Details | ||
* @param referralSource Referral source for the appointments booked in the cart. This value is mapped to the appointments' 'referral_source' custom field values after checkout. | ||
* @public | ||
@@ -534,2 +535,3 @@ * @returns Promise containing the updated cart | ||
discountCode?: string; | ||
referralSource?: string; | ||
}): Promise<Cart>; | ||
@@ -631,5 +633,5 @@ /** | ||
} | ||
export { Cart, CartAdvanceGratuity, CartAdvanceGratuityInput, CartAvailableBookableItemStaffVariant, CartAvailableCategory, CartBookableDate, CartBookableTime, CartClientInformation, CartClientInformationInput, CartError, CartErrorCode, CartItemEmailFulfillment, CartItemPaymentMethod, CartSummary, DepositType, UpdateCartInput }; | ||
export { Cart, CartAdvanceGratuity, CartAdvanceGratuityInput, CartAvailableBookableItemStaffVariant, CartAvailableCategory, CartBookableDate, CartBookableTime, CartClientInformation, CartClientInformationInput, CartError, CartErrorCode, CartItemEmailFulfillment, CartItemPaymentMethod, CartSummary, DepositType }; | ||
export * from "./carts/bookingQuestions"; | ||
export * from "./carts/guests"; | ||
export * from "./carts/items"; |
@@ -15,2 +15,3 @@ import { PlatformClient } from "./platformClient"; | ||
* @param opts.timezone Optional time zone that {@link CartBookableDate} and {@link CartBookableTime} should be converted to, e.g. the client's time zone. The search range dates are also interpreted using this. When omitted, the browser timezone is used. | ||
* @param referralSource Referral source for the appointments booked in the cart. This value is mapped to the appointments' 'referral_source' custom field values after checkout. | ||
* @protected | ||
@@ -20,2 +21,3 @@ */ | ||
timezone?: string; | ||
referralSource?: string; | ||
}): Promise<Cart>; | ||
@@ -22,0 +24,0 @@ /** |
{ | ||
"name": "@boulevard/blvd-book-sdk", | ||
"version": "1.0.11", | ||
"version": "1.0.12", | ||
"description": "A JS client for the Boulevard API", | ||
@@ -5,0 +5,0 @@ "main": "lib/blvd.js", |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
712536
8805