@whiplashmerch/whiplash-api-client 3.2.30 → 3.2.34

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
  /**
@@ -2688,8 +2723,6 @@ export interface ApiV2EntitiesTransaction {
2688
2723
  export interface ApiV2EntitiesUser {
2689
2724
  /** is the user active? */
2690
2725
  active?: boolean | null;
2691
- /** operator auth token (staff only) */
2692
- auth_token?: string | null;
2693
2726
  /** auto create a whiplash email for this user? (staff only) */
2694
2727
  create_email?: boolean;
2695
2728
  /**
@@ -3687,7 +3720,12 @@ export interface ApiV21EntitiesItem {
3687
3720
  full_description?: string;
3688
3721
  /** Garment on hanger? */
3689
3722
  goh?: boolean | null;
3690
- /** (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
+ */
3691
3729
  hazmat?: boolean;
3692
3730
  /** hazmat class */
3693
3731
  hazmat_type?: ApiV21EntitiesItemHazmatType;
@@ -4534,10 +4572,15 @@ export interface ApiV21EntitiesPackingRule {
4534
4572
  /** title/description of rule */
4535
4573
  description?: string | null;
4536
4574
  /**
4537
- * the rule id
4575
+ * the packing rule id
4538
4576
  * @format int32
4539
4577
  */
4540
4578
  id?: number;
4579
+ /**
4580
+ * the suggested item id
4581
+ * @format int32
4582
+ */
4583
+ item_id?: number;
4541
4584
  /** method to apply to object */
4542
4585
  method?: string | null;
4543
4586
  /**
@@ -4545,6 +4588,31 @@ export interface ApiV21EntitiesPackingRule {
4545
4588
  * @format int32
4546
4589
  */
4547
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
+ };
4548
4616
  /** the type of rule */
4549
4617
  type?: string | null;
4550
4618
  /**
@@ -5668,7 +5736,13 @@ export interface GetApiV21OrdersIdOrderItemsParams {
5668
5736
  id: number;
5669
5737
  }
5670
5738
 
5671
- 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 {
5672
5746
  /** JSON search string like {"attribute_eq": "Term"} */
5673
5747
  search?: string;
5674
5748
  /** Comma-separated list of fields to include in the response */
@@ -5692,7 +5766,7 @@ export interface GetApiV21OrdersIdShippingDocumentsParams {
5692
5766
  id: number;
5693
5767
  }
5694
5768
 
5695
- export interface GetApiV21OrdersIdSuggestedItemsParams {
5769
+ export interface GetApiV21OrdersIdShippingDocumentsParams {
5696
5770
  /** JSON search string like {"attribute_eq": "Term"} */
5697
5771
  search?: string;
5698
5772
  /** Comma-separated list of fields to include in the response */
@@ -6384,7 +6458,13 @@ export interface GetApiV2OrdersIdOrderItemsParams {
6384
6458
  id: number;
6385
6459
  }
6386
6460
 
6387
- 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 {
6388
6468
  /** JSON search string like {"attribute_eq": "Term"} */
6389
6469
  search?: string;
6390
6470
  /** Comma-separated list of fields to include in the response */
@@ -6408,7 +6488,7 @@ export interface GetApiV2OrdersIdShippingDocumentsParams {
6408
6488
  id: number;
6409
6489
  }
6410
6490
 
6411
- export interface GetApiV2OrdersIdSuggestedItemsParams {
6491
+ export interface GetApiV2OrdersIdShippingDocumentsParams {
6412
6492
  /** JSON search string like {"attribute_eq": "Term"} */
6413
6493
  search?: string;
6414
6494
  /** Comma-separated list of fields to include in the response */
@@ -7018,7 +7098,12 @@ export interface PostApiV21ItemsRequest {
7018
7098
  expiration_period?: number;
7019
7099
  /** Garment on hanger? */
7020
7100
  goh?: boolean;
7021
- /** (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
+ */
7022
7107
  hazmat?: boolean;
7023
7108
  /** hazmat class */
7024
7109
  hazmat_type?: PostApiV21ItemsRequestHazmatType;
@@ -8933,7 +9018,12 @@ export interface PostApiV2ItemsRequest {
8933
9018
  expiration_period?: number;
8934
9019
  /** Garment on hanger? */
8935
9020
  goh?: boolean;
8936
- /** (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
+ */
8937
9027
  hazmat?: boolean;
8938
9028
  /** hazmat class */
8939
9029
  hazmat_type?: PostApiV2ItemsRequestHazmatType;
@@ -10813,7 +10903,12 @@ export interface PutApiV21ItemsIdRequest {
10813
10903
  expiration_period?: number;
10814
10904
  /** Garment on hanger? */
10815
10905
  goh?: boolean;
10816
- /** (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
+ */
10817
10912
  hazmat?: boolean;
10818
10913
  /** hazmat class */
10819
10914
  hazmat_type?: PutApiV21ItemsIdRequestHazmatType;
@@ -12008,7 +12103,12 @@ export interface PutApiV2ItemsIdRequest {
12008
12103
  expiration_period?: number;
12009
12104
  /** Garment on hanger? */
12010
12105
  goh?: boolean;
12011
- /** (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
+ */
12012
12112
  hazmat?: boolean;
12013
12113
  /** hazmat class */
12014
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.30",
3
+ "version": "3.2.34",
4
4
  "description": "",
5
5
  "devDependencies": {},
6
6
  "scripts": {