@whiplashmerch/whiplash-api-client 3.2.31 → 3.2.35

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.
@@ -889,7 +889,12 @@ export interface ApiV2EntitiesItem {
889
889
  full_description?: string;
890
890
  /** Garment on hanger? */
891
891
  goh?: boolean | null;
892
- /** (deprecated) is the item hazmat? */
892
+ /**
893
+ * hazmat true/false flag in the UI is derived from the hazmat_type when only the type is provided\
894
+ * error results when the hazmat flag set to false with a hazmat_type\
895
+ * error results when the hazmat flag set to true without a hazmat_type\
896
+ * (deprecated) is the item hazmat?
897
+ */
893
898
  hazmat?: boolean;
894
899
  /** hazmat class */
895
900
  hazmat_type?: ApiV2EntitiesItemHazmatType;
@@ -1974,10 +1979,15 @@ export interface ApiV2EntitiesPackingRule {
1974
1979
  description?: string | null;
1975
1980
  filter_set?: ApiV2EntitiesFilterSet;
1976
1981
  /**
1977
- * the rule id
1982
+ * the packing rule id
1978
1983
  * @format int32
1979
1984
  */
1980
1985
  id?: number;
1986
+ /**
1987
+ * the suggested item id
1988
+ * @format int32
1989
+ */
1990
+ item_id?: number;
1981
1991
  /** method to apply to object */
1982
1992
  method?: string | null;
1983
1993
  /**
@@ -1985,6 +1995,31 @@ export interface ApiV2EntitiesPackingRule {
1985
1995
  * @format int32
1986
1996
  */
1987
1997
  priority?: number | null;
1998
+ /**
1999
+ * the quantity of the suggested item to add
2000
+ * @format int32
2001
+ */
2002
+ quantity?: number;
2003
+ /**
2004
+ * the rule dismissal id if the rule has been dismissed
2005
+ * @format int32
2006
+ */
2007
+ rule_dismissal_id?: number;
2008
+ /** the state of the packing rule (e.g. dismissed) */
2009
+ state?: string;
2010
+ suggested_item?: {
2011
+ /**
2012
+ * the item id
2013
+ * @format int32
2014
+ */
2015
+ id?: number;
2016
+ /** the item SKU */
2017
+ sku?: string;
2018
+ /** the item title */
2019
+ title?: string;
2020
+ /** the item name */
2021
+ name?: string;
2022
+ };
1988
2023
  /** the type of rule */
1989
2024
  type?: string | null;
1990
2025
  /**
@@ -3685,7 +3720,12 @@ export interface ApiV21EntitiesItem {
3685
3720
  full_description?: string;
3686
3721
  /** Garment on hanger? */
3687
3722
  goh?: boolean | null;
3688
- /** (deprecated) is the item hazmat? */
3723
+ /**
3724
+ * hazmat true/false flag in the UI is derived from the hazmat_type when only the type is provided\
3725
+ * error results when the hazmat flag set to false with a hazmat_type\
3726
+ * error results when the hazmat flag set to true without a hazmat_type\
3727
+ * (deprecated) is the item hazmat?
3728
+ */
3689
3729
  hazmat?: boolean;
3690
3730
  /** hazmat class */
3691
3731
  hazmat_type?: ApiV21EntitiesItemHazmatType;
@@ -4532,10 +4572,15 @@ export interface ApiV21EntitiesPackingRule {
4532
4572
  /** title/description of rule */
4533
4573
  description?: string | null;
4534
4574
  /**
4535
- * the rule id
4575
+ * the packing rule id
4536
4576
  * @format int32
4537
4577
  */
4538
4578
  id?: number;
4579
+ /**
4580
+ * the suggested item id
4581
+ * @format int32
4582
+ */
4583
+ item_id?: number;
4539
4584
  /** method to apply to object */
4540
4585
  method?: string | null;
4541
4586
  /**
@@ -4543,6 +4588,31 @@ export interface ApiV21EntitiesPackingRule {
4543
4588
  * @format int32
4544
4589
  */
4545
4590
  priority?: number | null;
4591
+ /**
4592
+ * the quantity of the suggested item to add
4593
+ * @format int32
4594
+ */
4595
+ quantity?: number;
4596
+ /**
4597
+ * the rule dismissal id if the rule has been dismissed
4598
+ * @format int32
4599
+ */
4600
+ rule_dismissal_id?: number;
4601
+ /** the state of the packing rule (e.g. dismissed) */
4602
+ state?: string;
4603
+ suggested_item?: {
4604
+ /**
4605
+ * the item id
4606
+ * @format int32
4607
+ */
4608
+ id?: number;
4609
+ /** the item SKU */
4610
+ sku?: string;
4611
+ /** the item title */
4612
+ title?: string;
4613
+ /** the item name */
4614
+ name?: string;
4615
+ };
4546
4616
  /** the type of rule */
4547
4617
  type?: string | null;
4548
4618
  /**
@@ -5666,7 +5736,13 @@ export interface GetApiV21OrdersIdOrderItemsParams {
5666
5736
  id: number;
5667
5737
  }
5668
5738
 
5669
- export interface GetApiV21OrdersIdShippingDocumentsParams {
5739
+ export interface GetApiV21OrdersIdPackingRulesCountParams {
5740
+ /** JSON search string like {"attribute_eq": "Term"} */
5741
+ search?: string;
5742
+ id: number;
5743
+ }
5744
+
5745
+ export interface GetApiV21OrdersIdPackingRulesParams {
5670
5746
  /** JSON search string like {"attribute_eq": "Term"} */
5671
5747
  search?: string;
5672
5748
  /** Comma-separated list of fields to include in the response */
@@ -5690,7 +5766,7 @@ export interface GetApiV21OrdersIdShippingDocumentsParams {
5690
5766
  id: number;
5691
5767
  }
5692
5768
 
5693
- export interface GetApiV21OrdersIdSuggestedItemsParams {
5769
+ export interface GetApiV21OrdersIdShippingDocumentsParams {
5694
5770
  /** JSON search string like {"attribute_eq": "Term"} */
5695
5771
  search?: string;
5696
5772
  /** Comma-separated list of fields to include in the response */
@@ -6382,7 +6458,13 @@ export interface GetApiV2OrdersIdOrderItemsParams {
6382
6458
  id: number;
6383
6459
  }
6384
6460
 
6385
- export interface GetApiV2OrdersIdShippingDocumentsParams {
6461
+ export interface GetApiV2OrdersIdPackingRulesCountParams {
6462
+ /** JSON search string like {"attribute_eq": "Term"} */
6463
+ search?: string;
6464
+ id: number;
6465
+ }
6466
+
6467
+ export interface GetApiV2OrdersIdPackingRulesParams {
6386
6468
  /** JSON search string like {"attribute_eq": "Term"} */
6387
6469
  search?: string;
6388
6470
  /** Comma-separated list of fields to include in the response */
@@ -6406,7 +6488,7 @@ export interface GetApiV2OrdersIdShippingDocumentsParams {
6406
6488
  id: number;
6407
6489
  }
6408
6490
 
6409
- export interface GetApiV2OrdersIdSuggestedItemsParams {
6491
+ export interface GetApiV2OrdersIdShippingDocumentsParams {
6410
6492
  /** JSON search string like {"attribute_eq": "Term"} */
6411
6493
  search?: string;
6412
6494
  /** Comma-separated list of fields to include in the response */
@@ -7016,7 +7098,12 @@ export interface PostApiV21ItemsRequest {
7016
7098
  expiration_period?: number;
7017
7099
  /** Garment on hanger? */
7018
7100
  goh?: boolean;
7019
- /** (deprecated) is the item hazmat? */
7101
+ /**
7102
+ * hazmat true/false flag in the UI is derived from the hazmat_type when only the type is provided\
7103
+ * error results when the hazmat flag set to false with a hazmat_type\
7104
+ * error results when the hazmat flag set to true without a hazmat_type\
7105
+ * (deprecated) is the item hazmat?
7106
+ */
7020
7107
  hazmat?: boolean;
7021
7108
  /** hazmat class */
7022
7109
  hazmat_type?: PostApiV21ItemsRequestHazmatType;
@@ -8931,7 +9018,12 @@ export interface PostApiV2ItemsRequest {
8931
9018
  expiration_period?: number;
8932
9019
  /** Garment on hanger? */
8933
9020
  goh?: boolean;
8934
- /** (deprecated) is the item hazmat? */
9021
+ /**
9022
+ * hazmat true/false flag in the UI is derived from the hazmat_type when only the type is provided\
9023
+ * error results when the hazmat flag set to false with a hazmat_type\
9024
+ * error results when the hazmat flag set to true without a hazmat_type\
9025
+ * (deprecated) is the item hazmat?
9026
+ */
8935
9027
  hazmat?: boolean;
8936
9028
  /** hazmat class */
8937
9029
  hazmat_type?: PostApiV2ItemsRequestHazmatType;
@@ -10811,7 +10903,12 @@ export interface PutApiV21ItemsIdRequest {
10811
10903
  expiration_period?: number;
10812
10904
  /** Garment on hanger? */
10813
10905
  goh?: boolean;
10814
- /** (deprecated) is the item hazmat? */
10906
+ /**
10907
+ * hazmat true/false flag in the UI is derived from the hazmat_type when only the type is provided\
10908
+ * error results when the hazmat flag set to false with a hazmat_type\
10909
+ * error results when the hazmat flag set to true without a hazmat_type\
10910
+ * (deprecated) is the item hazmat?
10911
+ */
10815
10912
  hazmat?: boolean;
10816
10913
  /** hazmat class */
10817
10914
  hazmat_type?: PutApiV21ItemsIdRequestHazmatType;
@@ -12006,7 +12103,12 @@ export interface PutApiV2ItemsIdRequest {
12006
12103
  expiration_period?: number;
12007
12104
  /** Garment on hanger? */
12008
12105
  goh?: boolean;
12009
- /** (deprecated) is the item hazmat? */
12106
+ /**
12107
+ * hazmat true/false flag in the UI is derived from the hazmat_type when only the type is provided\
12108
+ * error results when the hazmat flag set to false with a hazmat_type\
12109
+ * error results when the hazmat flag set to true without a hazmat_type\
12110
+ * (deprecated) is the item hazmat?
12111
+ */
12010
12112
  hazmat?: boolean;
12011
12113
  /** hazmat class */
12012
12114
  hazmat_type?: PutApiV2ItemsIdRequestHazmatType;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@whiplashmerch/whiplash-api-client",
3
- "version": "3.2.31",
3
+ "version": "3.2.35",
4
4
  "description": "",
5
5
  "devDependencies": {},
6
6
  "scripts": {