@aimee.shop/sdk 0.19.0-dev.138 → 0.19.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.
|
@@ -27757,11 +27757,6 @@ export interface components {
|
|
|
27757
27757
|
* @example Summer Sale 20% Off
|
|
27758
27758
|
*/
|
|
27759
27759
|
name?: string;
|
|
27760
|
-
/**
|
|
27761
|
-
* @description Description of the discount for internal use
|
|
27762
|
-
* @example Summer promotional discount for all customers
|
|
27763
|
-
*/
|
|
27764
|
-
description?: string;
|
|
27765
27760
|
/**
|
|
27766
27761
|
* @description Type of discount
|
|
27767
27762
|
* @example percent
|
|
@@ -27803,26 +27798,6 @@ export interface components {
|
|
|
27803
27798
|
* ]
|
|
27804
27799
|
*/
|
|
27805
27800
|
applicableVariants?: string[];
|
|
27806
|
-
/**
|
|
27807
|
-
* @description Maximum total uses (null for unlimited)
|
|
27808
|
-
* @example 100
|
|
27809
|
-
*/
|
|
27810
|
-
usageLimit?: number;
|
|
27811
|
-
/**
|
|
27812
|
-
* @description Maximum uses per customer (null for unlimited)
|
|
27813
|
-
* @example 1
|
|
27814
|
-
*/
|
|
27815
|
-
usageLimitPerCustomer?: number;
|
|
27816
|
-
/**
|
|
27817
|
-
* @description Minimum order subtotal in integer cents to apply discount
|
|
27818
|
-
* @example 5000
|
|
27819
|
-
*/
|
|
27820
|
-
minimumOrderAmount?: number;
|
|
27821
|
-
/**
|
|
27822
|
-
* @description Minimum number of items in order
|
|
27823
|
-
* @example 3
|
|
27824
|
-
*/
|
|
27825
|
-
minimumOrderQuantity?: number;
|
|
27826
27801
|
/**
|
|
27827
27802
|
* @description Customer eligibility rules
|
|
27828
27803
|
* @example {
|
|
@@ -27851,16 +27826,6 @@ export interface components {
|
|
|
27851
27826
|
* ]
|
|
27852
27827
|
*/
|
|
27853
27828
|
excludedCustomerTags?: string[];
|
|
27854
|
-
/**
|
|
27855
|
-
* @description When discount becomes active
|
|
27856
|
-
* @example 2024-01-01T00:00:00Z
|
|
27857
|
-
*/
|
|
27858
|
-
startsAt?: string;
|
|
27859
|
-
/**
|
|
27860
|
-
* @description When discount expires
|
|
27861
|
-
* @example 2024-12-31T23:59:59Z
|
|
27862
|
-
*/
|
|
27863
|
-
endsAt?: string;
|
|
27864
27829
|
/**
|
|
27865
27830
|
* @description Whether discount is currently active
|
|
27866
27831
|
* @default true
|
|
@@ -27904,6 +27869,41 @@ export interface components {
|
|
|
27904
27869
|
* }
|
|
27905
27870
|
*/
|
|
27906
27871
|
bogoConfig?: components['schemas']['BogoConfigDto'];
|
|
27872
|
+
/**
|
|
27873
|
+
* @description Description of the discount for internal use (null clears)
|
|
27874
|
+
* @example Summer promotional discount for all customers
|
|
27875
|
+
*/
|
|
27876
|
+
description?: string | null;
|
|
27877
|
+
/**
|
|
27878
|
+
* @description Minimum order amount to apply discount (null clears)
|
|
27879
|
+
* @example 50
|
|
27880
|
+
*/
|
|
27881
|
+
minimumOrderAmount?: number | null;
|
|
27882
|
+
/**
|
|
27883
|
+
* @description Minimum number of items in order (null clears)
|
|
27884
|
+
* @example 3
|
|
27885
|
+
*/
|
|
27886
|
+
minimumOrderQuantity?: number | null;
|
|
27887
|
+
/**
|
|
27888
|
+
* @description Maximum total uses (null for unlimited)
|
|
27889
|
+
* @example 100
|
|
27890
|
+
*/
|
|
27891
|
+
usageLimit?: number | null;
|
|
27892
|
+
/**
|
|
27893
|
+
* @description Maximum uses per customer (null for unlimited)
|
|
27894
|
+
* @example 1
|
|
27895
|
+
*/
|
|
27896
|
+
usageLimitPerCustomer?: number | null;
|
|
27897
|
+
/**
|
|
27898
|
+
* @description When discount becomes active (null resets to now, i.e. active immediately)
|
|
27899
|
+
* @example 2024-01-01T00:00:00Z
|
|
27900
|
+
*/
|
|
27901
|
+
startsAt?: string | null;
|
|
27902
|
+
/**
|
|
27903
|
+
* @description When discount expires (null for no expiry)
|
|
27904
|
+
* @example 2024-12-31T23:59:59Z
|
|
27905
|
+
*/
|
|
27906
|
+
endsAt?: string | null;
|
|
27907
27907
|
};
|
|
27908
27908
|
SuccessResponseDto: {
|
|
27909
27909
|
/** @example true */
|