@spiffcommerce/core 26.41.1-beta.d08056f5-bf8a-5ac1-8ce3-cdc0f4f69df6 → 26.41.2
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/dist/index.d.ts +1 -27
- package/dist/index.js +180 -177
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1530 -1690
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -2
package/dist/index.d.ts
CHANGED
|
@@ -2283,9 +2283,6 @@ interface ClientConfiguration {
|
|
|
2283
2283
|
marketplaceThemeInstallId?: string;
|
|
2284
2284
|
marketplaceThemeInstallConfigurationId?: string;
|
|
2285
2285
|
bearerAuthenticationToken?: string;
|
|
2286
|
-
userPoolClientId?: string;
|
|
2287
|
-
userPoolRegion?: string;
|
|
2288
|
-
spiffRegion?: string;
|
|
2289
2286
|
}
|
|
2290
2287
|
/**
|
|
2291
2288
|
* The Spiff Commerce Javascript Client. Required for
|
|
@@ -2298,10 +2295,6 @@ declare class SpiffCommerceClient {
|
|
|
2298
2295
|
private activeIntegration?;
|
|
2299
2296
|
private marketplaceThemeInstallId?;
|
|
2300
2297
|
private marketplaceThemeInstallConfigurationId?;
|
|
2301
|
-
private userPoolClientId?;
|
|
2302
|
-
private userPoolRegion?;
|
|
2303
|
-
private spiffRegion?;
|
|
2304
|
-
private challengeSession?;
|
|
2305
2298
|
constructor(options: ClientOptions);
|
|
2306
2299
|
configure(configuration: ClientConfiguration): void;
|
|
2307
2300
|
/**
|
|
@@ -2361,25 +2354,6 @@ declare class SpiffCommerceClient {
|
|
|
2361
2354
|
* @returns True if the verification was successful, false otherwise.
|
|
2362
2355
|
*/
|
|
2363
2356
|
verifyCode(emailAddress: string, verificationCode: string): Promise<boolean>;
|
|
2364
|
-
/**
|
|
2365
|
-
* Generate an email code to allow logging in as a Spiff user.
|
|
2366
|
-
*/
|
|
2367
|
-
generateLoginCode(emailAddress: string): Promise<void>;
|
|
2368
|
-
/**
|
|
2369
|
-
* Verify an email code to log in as a Spiff user.
|
|
2370
|
-
*/
|
|
2371
|
-
verifyLoginCode(emailAddress: string, code: string): Promise<void>;
|
|
2372
|
-
/**
|
|
2373
|
-
* Log out the currently logged-in Spiff user.
|
|
2374
|
-
*/
|
|
2375
|
-
logOut(): Promise<void>;
|
|
2376
|
-
/**
|
|
2377
|
-
* Check if a customer is logged in.
|
|
2378
|
-
* If they are, set the customer object.
|
|
2379
|
-
* This is how we resume sessions between loads.
|
|
2380
|
-
*/
|
|
2381
|
-
reloadLoggedInCustomer(): Promise<void>;
|
|
2382
|
-
loggedInBearerToken(): Promise<string>;
|
|
2383
2357
|
getCustomerMetafields(): Promise<Metafield[]>;
|
|
2384
2358
|
/**
|
|
2385
2359
|
* @param collectionId Optional: The id of the product collection that the bundle can use.
|
|
@@ -4706,7 +4680,7 @@ declare const optionService: OptionService;
|
|
|
4706
4680
|
declare const setBearerAuthenticationToken: (token: string) => void;
|
|
4707
4681
|
declare class GraphQlManager {
|
|
4708
4682
|
private shadowGraphqlClient;
|
|
4709
|
-
constructor(
|
|
4683
|
+
constructor();
|
|
4710
4684
|
getShadowGraphqlClient(): ApolloClient<any>;
|
|
4711
4685
|
private constructShadowGraphqlClient;
|
|
4712
4686
|
}
|