@fire-spark/types 0.38.7 → 0.40.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 +12 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -2988,6 +2988,7 @@ type Store = {
|
|
|
2988
2988
|
channel_ids: string[];
|
|
2989
2989
|
fulfillment_ids: string[];
|
|
2990
2990
|
tags: Record<string, string | number | boolean | (string | number | boolean)[]>;
|
|
2991
|
+
metadata: Record<string, unknown>;
|
|
2991
2992
|
cms_template_id?: string | null | undefined;
|
|
2992
2993
|
status: string;
|
|
2993
2994
|
coverage_zones: {
|
|
@@ -3724,6 +3725,7 @@ type Fee = {
|
|
|
3724
3725
|
taxable: boolean;
|
|
3725
3726
|
tax_inclusive: boolean;
|
|
3726
3727
|
tax_rate: number;
|
|
3728
|
+
shipping: boolean;
|
|
3727
3729
|
based_on: "FIXED";
|
|
3728
3730
|
amount: number;
|
|
3729
3731
|
} | {
|
|
@@ -3732,6 +3734,7 @@ type Fee = {
|
|
|
3732
3734
|
taxable: boolean;
|
|
3733
3735
|
tax_inclusive: boolean;
|
|
3734
3736
|
tax_rate: number;
|
|
3737
|
+
shipping: boolean;
|
|
3735
3738
|
based_on: "TIPS";
|
|
3736
3739
|
min: number;
|
|
3737
3740
|
max: number;
|
|
@@ -3741,6 +3744,7 @@ type Fee = {
|
|
|
3741
3744
|
taxable: boolean;
|
|
3742
3745
|
tax_inclusive: boolean;
|
|
3743
3746
|
tax_rate: number;
|
|
3747
|
+
shipping: boolean;
|
|
3744
3748
|
based_on: "ORDER_TOTAL";
|
|
3745
3749
|
percentage: number;
|
|
3746
3750
|
} | {
|
|
@@ -3749,6 +3753,7 @@ type Fee = {
|
|
|
3749
3753
|
taxable: boolean;
|
|
3750
3754
|
tax_inclusive: boolean;
|
|
3751
3755
|
tax_rate: number;
|
|
3756
|
+
shipping: boolean;
|
|
3752
3757
|
based_on: "ORDER_SUBTOTAL";
|
|
3753
3758
|
percentage: number;
|
|
3754
3759
|
} | {
|
|
@@ -3757,6 +3762,7 @@ type Fee = {
|
|
|
3757
3762
|
taxable: boolean;
|
|
3758
3763
|
tax_inclusive: boolean;
|
|
3759
3764
|
tax_rate: number;
|
|
3765
|
+
shipping: boolean;
|
|
3760
3766
|
based_on: "COVERAGE_ZONE_TAG";
|
|
3761
3767
|
tag_key: string;
|
|
3762
3768
|
value: number;
|
|
@@ -3766,6 +3772,7 @@ type Fee = {
|
|
|
3766
3772
|
taxable: boolean;
|
|
3767
3773
|
tax_inclusive: boolean;
|
|
3768
3774
|
tax_rate: number;
|
|
3775
|
+
shipping: boolean;
|
|
3769
3776
|
based_on: "STORE_TAG";
|
|
3770
3777
|
tag_key: string;
|
|
3771
3778
|
value: number;
|
|
@@ -3775,6 +3782,7 @@ type Fee = {
|
|
|
3775
3782
|
taxable: boolean;
|
|
3776
3783
|
tax_inclusive: boolean;
|
|
3777
3784
|
tax_rate: number;
|
|
3785
|
+
shipping: boolean;
|
|
3778
3786
|
based_on: "CHANNEL_TAG";
|
|
3779
3787
|
tag_key: string;
|
|
3780
3788
|
value: number;
|
|
@@ -3784,6 +3792,7 @@ type Fee = {
|
|
|
3784
3792
|
taxable: boolean;
|
|
3785
3793
|
tax_inclusive: boolean;
|
|
3786
3794
|
tax_rate: number;
|
|
3795
|
+
shipping: boolean;
|
|
3787
3796
|
based_on: "FULFILLMENT_TAG";
|
|
3788
3797
|
tag_key: string;
|
|
3789
3798
|
value: number;
|
|
@@ -3793,6 +3802,7 @@ type Fee = {
|
|
|
3793
3802
|
taxable: boolean;
|
|
3794
3803
|
tax_inclusive: boolean;
|
|
3795
3804
|
tax_rate: number;
|
|
3805
|
+
shipping: boolean;
|
|
3796
3806
|
based_on: "BRAND_TAG";
|
|
3797
3807
|
tag_key: string;
|
|
3798
3808
|
value: number;
|
|
@@ -3802,6 +3812,7 @@ type Fee = {
|
|
|
3802
3812
|
taxable: boolean;
|
|
3803
3813
|
tax_inclusive: boolean;
|
|
3804
3814
|
tax_rate: number;
|
|
3815
|
+
shipping: boolean;
|
|
3805
3816
|
based_on: "DISTANCE_STRAIGHT";
|
|
3806
3817
|
amount: number;
|
|
3807
3818
|
unit: "KM" | "MI";
|
|
@@ -3811,6 +3822,7 @@ type Fee = {
|
|
|
3811
3822
|
taxable: boolean;
|
|
3812
3823
|
tax_inclusive: boolean;
|
|
3813
3824
|
tax_rate: number;
|
|
3825
|
+
shipping: boolean;
|
|
3814
3826
|
based_on: "DISTANCE_STREET";
|
|
3815
3827
|
amount: number;
|
|
3816
3828
|
unit: "KM" | "MI";
|