@spiffcommerce/core 22.8.0 → 22.9.0
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 +17 -0
- package/dist/index.js +805 -775
- package/dist/index.umd.cjs +134 -116
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1905,6 +1905,7 @@ declare class SpiffCommerceClient {
|
|
|
1905
1905
|
* @returns True if the verification was successful, false otherwise.
|
|
1906
1906
|
*/
|
|
1907
1907
|
verifyCode(emailAddress: string, verificationCode: string): Promise<boolean>;
|
|
1908
|
+
getCustomerMetafields(): Promise<Metafield[]>;
|
|
1908
1909
|
/**
|
|
1909
1910
|
* @param collectionId Optional: The id of the product collection that the bundle can use.
|
|
1910
1911
|
* @returns A bundle to be used for grouping and operating on large amounts of workflow experiences.
|
|
@@ -2855,6 +2856,22 @@ interface TransformCollectionTransform {
|
|
|
2855
2856
|
type Extendable<T> = T & {
|
|
2856
2857
|
[key: string]: any;
|
|
2857
2858
|
};
|
|
2859
|
+
interface Metafield {
|
|
2860
|
+
id: string;
|
|
2861
|
+
createdAt: string;
|
|
2862
|
+
updatedAt: string;
|
|
2863
|
+
entityId: string;
|
|
2864
|
+
value: string;
|
|
2865
|
+
metafieldConfiguration: MetafieldConfiguration;
|
|
2866
|
+
}
|
|
2867
|
+
interface MetafieldConfiguration {
|
|
2868
|
+
id: string;
|
|
2869
|
+
createdAt: string;
|
|
2870
|
+
updatedAt: string;
|
|
2871
|
+
entityType: string;
|
|
2872
|
+
metafieldType: string;
|
|
2873
|
+
name: string;
|
|
2874
|
+
}
|
|
2858
2875
|
|
|
2859
2876
|
interface StorageService {
|
|
2860
2877
|
/**
|