@foxy.io/sdk 1.8.0 → 1.8.1
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.
|
@@ -8,3 +8,12 @@ export interface CouponCodes extends Graph {
|
|
|
8
8
|
props: CollectionGraphProps;
|
|
9
9
|
child: CouponCode;
|
|
10
10
|
}
|
|
11
|
+
|
|
12
|
+
export interface CouponCodesImport extends Graph {
|
|
13
|
+
curie: 'fx:coupon_codes';
|
|
14
|
+
|
|
15
|
+
props: {
|
|
16
|
+
/** List of codes to import. */
|
|
17
|
+
coupon_codes: string[];
|
|
18
|
+
};
|
|
19
|
+
}
|
|
@@ -10,5 +10,7 @@ export interface GenerateCodes extends Graph {
|
|
|
10
10
|
number_of_codes: number;
|
|
11
11
|
/** Optional number of coupon code variations you would like to generate. For example, if you would like all the coupon code variations to have a "summer_special" prefix, set that here. */
|
|
12
12
|
prefix: string;
|
|
13
|
+
/** Optional initial balance (gift cards only). Defaults to 0. */
|
|
14
|
+
current_balance?: number;
|
|
13
15
|
};
|
|
14
16
|
}
|
|
@@ -8,3 +8,14 @@ export interface GiftCardCodes extends Graph {
|
|
|
8
8
|
props: CollectionGraphProps;
|
|
9
9
|
child: GiftCardCode;
|
|
10
10
|
}
|
|
11
|
+
|
|
12
|
+
export interface GiftCardCodesImport extends Graph {
|
|
13
|
+
curie: 'fx:gift_card_codes';
|
|
14
|
+
|
|
15
|
+
props: {
|
|
16
|
+
/** List of codes to import. */
|
|
17
|
+
gift_card_codes: string[];
|
|
18
|
+
/** Initial balance. */
|
|
19
|
+
current_balance: number;
|
|
20
|
+
};
|
|
21
|
+
}
|
package/package.json
CHANGED