@boulevard/blvd-book-sdk
Advanced tools
Comparing version 0.0.4 to 0.0.5
@@ -196,2 +196,5 @@ import { Node, PlatformClient, PlatformTarget } from "./platformClient"; | ||
}): Promise<Cart>; | ||
/** | ||
* @internal | ||
*/ | ||
private tokenizeCardDetails; | ||
@@ -607,2 +610,5 @@ /** | ||
}): Promise<Cart>; | ||
/** | ||
* @internal | ||
*/ | ||
private refresh; | ||
@@ -609,0 +615,0 @@ } |
@@ -95,9 +95,16 @@ import { Scalars, Maybe } from "../graph"; | ||
/** | ||
* @internal | ||
*/ | ||
optionGroups: Array<CartAvailableBookableItemOptionGroup>; | ||
/** | ||
* Groups of available options for modifying the booked service. These can be | ||
* used to modify the booked item and may affect pricing and timing. | ||
* | ||
* @todo implement | ||
*/ | ||
getOptionGroups(): Promise<Array<CartAvailableBookableItemOptionGroup>>; | ||
/** | ||
* @internal | ||
*/ | ||
staffVariants: Array<CartAvailableBookableItemStaffVariant>; | ||
/** | ||
* List of optional staff variants that can be chosen. Variants may have | ||
@@ -111,2 +118,11 @@ * different pricing and timing. | ||
getStaffVariants(): Promise<Array<CartAvailableBookableItemStaffVariant>>; | ||
/** | ||
* List of optional staff variants that can be chosen. Variants may have | ||
* different pricing and timing. | ||
* | ||
* When there’s no preference, the first one available is assigned based on the | ||
* selected time. The business can also enforce this, in which case this list | ||
* is empty. | ||
*/ | ||
constructor(platformClient: any, item: any); | ||
} | ||
@@ -131,6 +147,7 @@ /** | ||
name: Scalars["String"]; | ||
/** List of selectable options. | ||
* @todo implement | ||
/** | ||
* List of selectable options. | ||
*/ | ||
getOptions(): Promise<Array<CartAvailableBookableItemOption>>; | ||
options: Array<CartAvailableBookableItemOption>; | ||
constructor(platformClient: any, group: any); | ||
} | ||
@@ -143,4 +160,2 @@ /** Option of a bookable item that can be selected. */ | ||
durationDelta: Scalars["Int"]; | ||
/** Group ID of the option. */ | ||
groupId: Scalars["ID"]; | ||
/** ID of the option. */ | ||
@@ -147,0 +162,0 @@ id: Scalars["ID"]; |
{ | ||
"name": "@boulevard/blvd-book-sdk", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"description": "A JS client for the Boulevard API", | ||
@@ -5,0 +5,0 @@ "main": "lib/blvd.js", |
@@ -32,3 +32,3 @@ # Blvd Book SDK | ||
// Step 1: Create a `business` object to interact with the API. | ||
const client = new Blvd(businessId, apiKey); | ||
const client = new Blvd(apiKey, businessId); | ||
@@ -35,0 +35,0 @@ // Step 2: Choose a location and start by creating a cart |
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
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
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
620922
7688
2