repzo 1.0.222 → 1.0.223

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.
@@ -3892,7 +3892,7 @@ export declare namespace Service {
3892
3892
  }
3893
3893
  }
3894
3894
  namespace Promotion {
3895
- interface CartFilter {
3895
+ export interface CartFilter {
3896
3896
  filter_type: "product" | "category" | "sub_category" | "product_group" | "brand" | "variant" | "cart_total" | "items_count" | "client" | "tag" | "channel" | "distinct_variants_count" | "distinct_products_count" | "promotion" | "cart_type" | "invoice_payment_type" | "creator_id";
3897
3897
  value: string[];
3898
3898
  operator: "lte" | "lt" | "gte" | "gt" | "eq";
@@ -3904,18 +3904,18 @@ export declare namespace Service {
3904
3904
  limit_value: number;
3905
3905
  variants?: string[];
3906
3906
  }
3907
- interface ItemFilter {
3907
+ export interface ItemFilter {
3908
3908
  filter_type: "product" | "category" | "sub_category" | "product_group" | "brand" | "variant" | "any";
3909
3909
  value: string[];
3910
3910
  limit_type: "count" | "price_amount";
3911
3911
  limit_value: number;
3912
3912
  variants?: string[];
3913
3913
  }
3914
- interface CartAdjustment {
3914
+ export interface CartAdjustment {
3915
3915
  adjustment_type: "discount_amount" | "discount_ratio" | "shipping_fixed_price" | "shipping_discount_amount" | "shipping_discount_ratio" | "tax_exempt";
3916
3916
  value: any;
3917
3917
  }
3918
- interface LineFilter {
3918
+ export interface LineFilter {
3919
3919
  filter_type: "product" | "category" | "sub_category" | "product_group" | "brand" | "variant" | "line_total" | "base_unit_qty" | "promotion";
3920
3920
  value: string[];
3921
3921
  operator: "lte" | "lt" | "gte" | "gt" | "eq";
@@ -3924,11 +3924,11 @@ export declare namespace Service {
3924
3924
  limit_value: number;
3925
3925
  variants?: string[];
3926
3926
  }
3927
- interface LineAdjustment {
3927
+ export interface LineAdjustment {
3928
3928
  adjustment_type: "discount_amount" | "discount_ratio" | "fixed_price";
3929
3929
  value: number;
3930
3930
  }
3931
- interface GetItem {
3931
+ export interface GetItem {
3932
3932
  filter_type: "product" | "category" | "sub_category" | "product_group" | "brand" | "variant" | "gift";
3933
3933
  value: string[];
3934
3934
  limit_type: "count";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "repzo",
3
- "version": "1.0.222",
3
+ "version": "1.0.223",
4
4
  "description": "Repzo TypeScript SDK",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -4398,7 +4398,7 @@ export namespace Service {
4398
4398
  }
4399
4399
 
4400
4400
  export namespace Promotion {
4401
- interface CartFilter {
4401
+ export interface CartFilter {
4402
4402
  filter_type:
4403
4403
  | "product"
4404
4404
  | "category"
@@ -4424,7 +4424,7 @@ export namespace Service {
4424
4424
  limit_value: number;
4425
4425
  variants?: string[];
4426
4426
  }
4427
- interface ItemFilter {
4427
+ export interface ItemFilter {
4428
4428
  filter_type:
4429
4429
  | "product"
4430
4430
  | "category"
@@ -4438,7 +4438,7 @@ export namespace Service {
4438
4438
  limit_value: number;
4439
4439
  variants?: string[];
4440
4440
  }
4441
- interface CartAdjustment {
4441
+ export interface CartAdjustment {
4442
4442
  adjustment_type:
4443
4443
  | "discount_amount"
4444
4444
  | "discount_ratio"
@@ -4448,7 +4448,7 @@ export namespace Service {
4448
4448
  | "tax_exempt";
4449
4449
  value: any;
4450
4450
  }
4451
- interface LineFilter {
4451
+ export interface LineFilter {
4452
4452
  filter_type:
4453
4453
  | "product"
4454
4454
  | "category"
@@ -4466,11 +4466,11 @@ export namespace Service {
4466
4466
  limit_value: number;
4467
4467
  variants?: string[];
4468
4468
  }
4469
- interface LineAdjustment {
4469
+ export interface LineAdjustment {
4470
4470
  adjustment_type: "discount_amount" | "discount_ratio" | "fixed_price";
4471
4471
  value: number;
4472
4472
  }
4473
- interface GetItem {
4473
+ export interface GetItem {
4474
4474
  filter_type:
4475
4475
  | "product"
4476
4476
  | "category"