erpnext-queue-client 1.22.1 → 1.22.2

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.
@@ -11,7 +11,7 @@ export declare class ERPNextServicecase {
11
11
  create: (servicecase: ServicecaseInputType) => Promise<{
12
12
  status: "EDITING" | "SUBMITTING" | "VALIDATING" | "REJECTED" | "SHIPPING" | "COMPLETED";
13
13
  name: string;
14
- country: "Afghanistan" | "Åland Islands" | "Albania" | "Algeria" | "American Samoa" | "Andorra" | "Angola" | "Anguilla" | "Antarctica" | "Antigua and Barbuda" | "Argentina" | "Armenia" | "Aruba" | "Australia" | "Austria" | "Azerbaijan" | "Bahamas" | "Bahrain" | "Bangladesh" | "Barbados" | "Belarus" | "Belgium" | "Belize" | "Benin" | "Bermuda" | "Bhutan" | "Bolivia, Plurinational State of" | "Bonaire, Sint Eustatius and Saba" | "Bosnia and Herzegovina" | "Botswana" | "Bouvet Island" | "Brazil" | "British Indian Ocean Territory" | "Brunei Darussalam" | "Bulgaria" | "Burkina Faso" | "Burundi" | "Cambodia" | "Cameroon" | "Canada" | "Cape Verde" | "Cayman Islands" | "Central African Republic" | "Chad" | "Chile" | "China" | "Christmas Island" | "Cocos (Keeling) Islands" | "Colombia" | "Comoros" | "Congo" | "Congo, The Democratic Republic of the" | "Cook Islands" | "Costa Rica" | "Croatia" | "Cuba" | "Curaçao" | "Cyprus" | "Czech Republic" | "Denmark" | "Djibouti" | "Dominica" | "Dominican Republic" | "Ecuador" | "Egypt" | "El Salvador" | "Equatorial Guinea" | "Eritrea" | "Estonia" | "Ethiopia" | "Falkland Islands (Malvinas)" | "Faroe Islands" | "Fiji" | "Finland" | "France" | "French Guiana" | "French Polynesia" | "French Southern Territories" | "Gabon" | "Gambia" | "Georgia" | "Germany" | "Ghana" | "Gibraltar" | "Greece" | "Greenland" | "Grenada" | "Guadeloupe" | "Guam" | "Guatemala" | "Guernsey" | "Guinea" | "Guinea-Bissau" | "Guyana" | "Haiti" | "Heard Island and McDonald Islands" | "Holy See (Vatican City State)" | "Honduras" | "Hong Kong" | "Hungary" | "Iceland" | "India" | "Indonesia" | "Iran" | "Iraq" | "Ireland" | "Isle of Man" | "Israel" | "Italy" | "Ivory Coast" | "Jamaica" | "Japan" | "Jersey" | "Jordan" | "Kazakhstan" | "Kenya" | "Kiribati" | "Korea, Democratic Peoples Republic of" | "Korea, Republic of" | "Kuwait" | "Kyrgyzstan" | "Lao Peoples Democratic Republic" | "Latvia" | "Lebanon" | "Lesotho" | "Liberia" | "Libya" | "Liechtenstein" | "Lithuania" | "Luxembourg" | "Macao" | "Macedonia" | "Madagascar" | "Malawi" | "Malaysia" | "Maldives" | "Mali" | "Malta" | "Marshall Islands" | "Martinique" | "Mauritania" | "Mauritius" | "Mayotte" | "Mexico" | "Micronesia, Federated States of" | "Moldova, Republic of" | "Monaco" | "Mongolia" | "Montenegro" | "Montserrat" | "Morocco" | "Mozambique" | "Myanmar" | "Namibia" | "Nauru" | "Nepal" | "Netherlands" | "New Caledonia" | "New Zealand" | "Nicaragua" | "Niger" | "Nigeria" | "Niue" | "Norfolk Island" | "Northern Mariana Islands" | "Norway" | "Oman" | "Pakistan" | "Palau" | "Palestinian Territory, Occupied" | "Panama" | "Papua New Guinea" | "Paraguay" | "Peru" | "Philippines" | "Pitcairn" | "Poland" | "Portugal" | "Puerto Rico" | "Qatar" | "Réunion" | "Romania" | "Russian Federation" | "Rwanda" | "Saint Barthélemy" | "Saint Helena, Ascension and Tristan da Cunha" | "Saint Kitts and Nevis" | "Saint Lucia" | "Saint Martin (French part)" | "Saint Pierre and Miquelon" | "Saint Vincent and the Grenadines" | "Samoa" | "San Marino" | "Sao Tome and Principe" | "Saudi Arabia" | "Senegal" | "Serbia" | "Seychelles" | "Sierra Leone" | "Singapore" | "Sint Maarten (Dutch part)" | "Slovakia" | "Slovenia" | "Solomon Islands" | "Somalia" | "South Africa" | "South Georgia and the South Sandwich Islands" | "South Sudan" | "Spain" | "Sri Lanka" | "Sudan" | "Suriname" | "Svalbard and Jan Mayen" | "Swaziland" | "Sweden" | "Switzerland" | "Syria" | "Taiwan" | "Tajikistan" | "Tanzania" | "Thailand" | "Timor-Leste" | "Togo" | "Tokelau" | "Tonga" | "Trinidad and Tobago" | "Tunisia" | "Turkey" | "Turkmenistan" | "Turks and Caicos Islands" | "Tuvalu" | "Uganda" | "Ukraine" | "United Arab Emirates" | "United Kingdom" | "United States" | "United States Minor Outlying Islands" | "Uruguay" | "Uzbekistan" | "Vanuatu" | "Venezuela, Bolivarian Republic of" | "Vietnam" | "Virgin Islands, British" | "Virgin Islands, U.S." | "Wallis and Futuna" | "Western Sahara" | "Yemen" | "Zambia" | "Zimbabwe";
14
+ country: string;
15
15
  owner: string;
16
16
  creation: string;
17
17
  modified: string;
@@ -19,6 +19,8 @@ export declare class ERPNextServicecase {
19
19
  title: string;
20
20
  order_number: string;
21
21
  shop: "Shopify" | "Amazon FBA" | "Amazon FBM" | "Otto";
22
+ is_sent_to_client: boolean;
23
+ is_sent_to_cc: boolean;
22
24
  created_with: "Amazon FBA" | "Amazon FBM" | "Serviceportal" | "Missive Sidebar";
23
25
  return_items: {
24
26
  name: string;
@@ -29,7 +31,7 @@ export declare class ERPNextServicecase {
29
31
  idx: number;
30
32
  item: string;
31
33
  return_quantity: number;
32
- is_complaint: boolean;
34
+ is_complaint: number;
33
35
  attachments?: string | null | undefined;
34
36
  internal_reasons?: string | null | undefined;
35
37
  line_item_id?: string | null | undefined;
@@ -43,12 +45,10 @@ export declare class ERPNextServicecase {
43
45
  external_id?: string | null | undefined;
44
46
  customer_email?: string | null | undefined;
45
47
  complaint_date?: string | null | undefined;
46
- is_sent_to_client?: boolean | null | undefined;
47
- is_sent_to_cc?: boolean | null | undefined;
48
48
  customer_message?: string | null | undefined;
49
49
  agreed_terms?: string | null | undefined;
50
50
  }>;
51
- getList: <TField extends ("status" | "name" | "country" | "owner" | "creation" | "modified" | "modified_by" | "title" | "order_number" | "shop" | "created_with" | "return_items") | ("external_id" | "customer_email" | "complaint_date" | "is_sent_to_client" | "is_sent_to_cc" | "customer_message" | "agreed_terms"), TAsDict extends boolean | undefined = undefined>({ fields, filters, skip, limit, priority, asDict, params, }?: {
51
+ getList: <TField extends ("status" | "name" | "country" | "owner" | "creation" | "modified" | "modified_by" | "title" | "order_number" | "shop" | "is_sent_to_client" | "is_sent_to_cc" | "created_with" | "return_items") | ("external_id" | "customer_email" | "complaint_date" | "customer_message" | "agreed_terms"), TAsDict extends boolean | undefined = undefined>({ fields, filters, skip, limit, priority, asDict, params, }?: {
52
52
  fields?: TField[] | undefined;
53
53
  filters?: (string | string[])[][];
54
54
  skip?: number;
@@ -59,7 +59,7 @@ export declare class ERPNextServicecase {
59
59
  }) => Promise<TAsDict extends false ? string[][] : Pick<{
60
60
  status: "EDITING" | "SUBMITTING" | "VALIDATING" | "REJECTED" | "SHIPPING" | "COMPLETED";
61
61
  name: string;
62
- country: "Afghanistan" | "Åland Islands" | "Albania" | "Algeria" | "American Samoa" | "Andorra" | "Angola" | "Anguilla" | "Antarctica" | "Antigua and Barbuda" | "Argentina" | "Armenia" | "Aruba" | "Australia" | "Austria" | "Azerbaijan" | "Bahamas" | "Bahrain" | "Bangladesh" | "Barbados" | "Belarus" | "Belgium" | "Belize" | "Benin" | "Bermuda" | "Bhutan" | "Bolivia, Plurinational State of" | "Bonaire, Sint Eustatius and Saba" | "Bosnia and Herzegovina" | "Botswana" | "Bouvet Island" | "Brazil" | "British Indian Ocean Territory" | "Brunei Darussalam" | "Bulgaria" | "Burkina Faso" | "Burundi" | "Cambodia" | "Cameroon" | "Canada" | "Cape Verde" | "Cayman Islands" | "Central African Republic" | "Chad" | "Chile" | "China" | "Christmas Island" | "Cocos (Keeling) Islands" | "Colombia" | "Comoros" | "Congo" | "Congo, The Democratic Republic of the" | "Cook Islands" | "Costa Rica" | "Croatia" | "Cuba" | "Curaçao" | "Cyprus" | "Czech Republic" | "Denmark" | "Djibouti" | "Dominica" | "Dominican Republic" | "Ecuador" | "Egypt" | "El Salvador" | "Equatorial Guinea" | "Eritrea" | "Estonia" | "Ethiopia" | "Falkland Islands (Malvinas)" | "Faroe Islands" | "Fiji" | "Finland" | "France" | "French Guiana" | "French Polynesia" | "French Southern Territories" | "Gabon" | "Gambia" | "Georgia" | "Germany" | "Ghana" | "Gibraltar" | "Greece" | "Greenland" | "Grenada" | "Guadeloupe" | "Guam" | "Guatemala" | "Guernsey" | "Guinea" | "Guinea-Bissau" | "Guyana" | "Haiti" | "Heard Island and McDonald Islands" | "Holy See (Vatican City State)" | "Honduras" | "Hong Kong" | "Hungary" | "Iceland" | "India" | "Indonesia" | "Iran" | "Iraq" | "Ireland" | "Isle of Man" | "Israel" | "Italy" | "Ivory Coast" | "Jamaica" | "Japan" | "Jersey" | "Jordan" | "Kazakhstan" | "Kenya" | "Kiribati" | "Korea, Democratic Peoples Republic of" | "Korea, Republic of" | "Kuwait" | "Kyrgyzstan" | "Lao Peoples Democratic Republic" | "Latvia" | "Lebanon" | "Lesotho" | "Liberia" | "Libya" | "Liechtenstein" | "Lithuania" | "Luxembourg" | "Macao" | "Macedonia" | "Madagascar" | "Malawi" | "Malaysia" | "Maldives" | "Mali" | "Malta" | "Marshall Islands" | "Martinique" | "Mauritania" | "Mauritius" | "Mayotte" | "Mexico" | "Micronesia, Federated States of" | "Moldova, Republic of" | "Monaco" | "Mongolia" | "Montenegro" | "Montserrat" | "Morocco" | "Mozambique" | "Myanmar" | "Namibia" | "Nauru" | "Nepal" | "Netherlands" | "New Caledonia" | "New Zealand" | "Nicaragua" | "Niger" | "Nigeria" | "Niue" | "Norfolk Island" | "Northern Mariana Islands" | "Norway" | "Oman" | "Pakistan" | "Palau" | "Palestinian Territory, Occupied" | "Panama" | "Papua New Guinea" | "Paraguay" | "Peru" | "Philippines" | "Pitcairn" | "Poland" | "Portugal" | "Puerto Rico" | "Qatar" | "Réunion" | "Romania" | "Russian Federation" | "Rwanda" | "Saint Barthélemy" | "Saint Helena, Ascension and Tristan da Cunha" | "Saint Kitts and Nevis" | "Saint Lucia" | "Saint Martin (French part)" | "Saint Pierre and Miquelon" | "Saint Vincent and the Grenadines" | "Samoa" | "San Marino" | "Sao Tome and Principe" | "Saudi Arabia" | "Senegal" | "Serbia" | "Seychelles" | "Sierra Leone" | "Singapore" | "Sint Maarten (Dutch part)" | "Slovakia" | "Slovenia" | "Solomon Islands" | "Somalia" | "South Africa" | "South Georgia and the South Sandwich Islands" | "South Sudan" | "Spain" | "Sri Lanka" | "Sudan" | "Suriname" | "Svalbard and Jan Mayen" | "Swaziland" | "Sweden" | "Switzerland" | "Syria" | "Taiwan" | "Tajikistan" | "Tanzania" | "Thailand" | "Timor-Leste" | "Togo" | "Tokelau" | "Tonga" | "Trinidad and Tobago" | "Tunisia" | "Turkey" | "Turkmenistan" | "Turks and Caicos Islands" | "Tuvalu" | "Uganda" | "Ukraine" | "United Arab Emirates" | "United Kingdom" | "United States" | "United States Minor Outlying Islands" | "Uruguay" | "Uzbekistan" | "Vanuatu" | "Venezuela, Bolivarian Republic of" | "Vietnam" | "Virgin Islands, British" | "Virgin Islands, U.S." | "Wallis and Futuna" | "Western Sahara" | "Yemen" | "Zambia" | "Zimbabwe";
62
+ country: string;
63
63
  owner: string;
64
64
  creation: string;
65
65
  modified: string;
@@ -67,6 +67,8 @@ export declare class ERPNextServicecase {
67
67
  title: string;
68
68
  order_number: string;
69
69
  shop: "Shopify" | "Amazon FBA" | "Amazon FBM" | "Otto";
70
+ is_sent_to_client: boolean;
71
+ is_sent_to_cc: boolean;
70
72
  created_with: "Amazon FBA" | "Amazon FBM" | "Serviceportal" | "Missive Sidebar";
71
73
  return_items: {
72
74
  name: string;
@@ -77,7 +79,7 @@ export declare class ERPNextServicecase {
77
79
  idx: number;
78
80
  item: string;
79
81
  return_quantity: number;
80
- is_complaint: boolean;
82
+ is_complaint: number;
81
83
  attachments?: string | null | undefined;
82
84
  internal_reasons?: string | null | undefined;
83
85
  line_item_id?: string | null | undefined;
@@ -91,8 +93,6 @@ export declare class ERPNextServicecase {
91
93
  external_id?: string | null | undefined;
92
94
  customer_email?: string | null | undefined;
93
95
  complaint_date?: string | null | undefined;
94
- is_sent_to_client?: boolean | null | undefined;
95
- is_sent_to_cc?: boolean | null | undefined;
96
96
  customer_message?: string | null | undefined;
97
97
  agreed_terms?: string | null | undefined;
98
98
  }, TField>[]>;
@@ -102,7 +102,7 @@ export declare class ERPNextServicecase {
102
102
  }) => Promise<{
103
103
  status: "EDITING" | "SUBMITTING" | "VALIDATING" | "REJECTED" | "SHIPPING" | "COMPLETED";
104
104
  name: string;
105
- country: "Afghanistan" | "Åland Islands" | "Albania" | "Algeria" | "American Samoa" | "Andorra" | "Angola" | "Anguilla" | "Antarctica" | "Antigua and Barbuda" | "Argentina" | "Armenia" | "Aruba" | "Australia" | "Austria" | "Azerbaijan" | "Bahamas" | "Bahrain" | "Bangladesh" | "Barbados" | "Belarus" | "Belgium" | "Belize" | "Benin" | "Bermuda" | "Bhutan" | "Bolivia, Plurinational State of" | "Bonaire, Sint Eustatius and Saba" | "Bosnia and Herzegovina" | "Botswana" | "Bouvet Island" | "Brazil" | "British Indian Ocean Territory" | "Brunei Darussalam" | "Bulgaria" | "Burkina Faso" | "Burundi" | "Cambodia" | "Cameroon" | "Canada" | "Cape Verde" | "Cayman Islands" | "Central African Republic" | "Chad" | "Chile" | "China" | "Christmas Island" | "Cocos (Keeling) Islands" | "Colombia" | "Comoros" | "Congo" | "Congo, The Democratic Republic of the" | "Cook Islands" | "Costa Rica" | "Croatia" | "Cuba" | "Curaçao" | "Cyprus" | "Czech Republic" | "Denmark" | "Djibouti" | "Dominica" | "Dominican Republic" | "Ecuador" | "Egypt" | "El Salvador" | "Equatorial Guinea" | "Eritrea" | "Estonia" | "Ethiopia" | "Falkland Islands (Malvinas)" | "Faroe Islands" | "Fiji" | "Finland" | "France" | "French Guiana" | "French Polynesia" | "French Southern Territories" | "Gabon" | "Gambia" | "Georgia" | "Germany" | "Ghana" | "Gibraltar" | "Greece" | "Greenland" | "Grenada" | "Guadeloupe" | "Guam" | "Guatemala" | "Guernsey" | "Guinea" | "Guinea-Bissau" | "Guyana" | "Haiti" | "Heard Island and McDonald Islands" | "Holy See (Vatican City State)" | "Honduras" | "Hong Kong" | "Hungary" | "Iceland" | "India" | "Indonesia" | "Iran" | "Iraq" | "Ireland" | "Isle of Man" | "Israel" | "Italy" | "Ivory Coast" | "Jamaica" | "Japan" | "Jersey" | "Jordan" | "Kazakhstan" | "Kenya" | "Kiribati" | "Korea, Democratic Peoples Republic of" | "Korea, Republic of" | "Kuwait" | "Kyrgyzstan" | "Lao Peoples Democratic Republic" | "Latvia" | "Lebanon" | "Lesotho" | "Liberia" | "Libya" | "Liechtenstein" | "Lithuania" | "Luxembourg" | "Macao" | "Macedonia" | "Madagascar" | "Malawi" | "Malaysia" | "Maldives" | "Mali" | "Malta" | "Marshall Islands" | "Martinique" | "Mauritania" | "Mauritius" | "Mayotte" | "Mexico" | "Micronesia, Federated States of" | "Moldova, Republic of" | "Monaco" | "Mongolia" | "Montenegro" | "Montserrat" | "Morocco" | "Mozambique" | "Myanmar" | "Namibia" | "Nauru" | "Nepal" | "Netherlands" | "New Caledonia" | "New Zealand" | "Nicaragua" | "Niger" | "Nigeria" | "Niue" | "Norfolk Island" | "Northern Mariana Islands" | "Norway" | "Oman" | "Pakistan" | "Palau" | "Palestinian Territory, Occupied" | "Panama" | "Papua New Guinea" | "Paraguay" | "Peru" | "Philippines" | "Pitcairn" | "Poland" | "Portugal" | "Puerto Rico" | "Qatar" | "Réunion" | "Romania" | "Russian Federation" | "Rwanda" | "Saint Barthélemy" | "Saint Helena, Ascension and Tristan da Cunha" | "Saint Kitts and Nevis" | "Saint Lucia" | "Saint Martin (French part)" | "Saint Pierre and Miquelon" | "Saint Vincent and the Grenadines" | "Samoa" | "San Marino" | "Sao Tome and Principe" | "Saudi Arabia" | "Senegal" | "Serbia" | "Seychelles" | "Sierra Leone" | "Singapore" | "Sint Maarten (Dutch part)" | "Slovakia" | "Slovenia" | "Solomon Islands" | "Somalia" | "South Africa" | "South Georgia and the South Sandwich Islands" | "South Sudan" | "Spain" | "Sri Lanka" | "Sudan" | "Suriname" | "Svalbard and Jan Mayen" | "Swaziland" | "Sweden" | "Switzerland" | "Syria" | "Taiwan" | "Tajikistan" | "Tanzania" | "Thailand" | "Timor-Leste" | "Togo" | "Tokelau" | "Tonga" | "Trinidad and Tobago" | "Tunisia" | "Turkey" | "Turkmenistan" | "Turks and Caicos Islands" | "Tuvalu" | "Uganda" | "Ukraine" | "United Arab Emirates" | "United Kingdom" | "United States" | "United States Minor Outlying Islands" | "Uruguay" | "Uzbekistan" | "Vanuatu" | "Venezuela, Bolivarian Republic of" | "Vietnam" | "Virgin Islands, British" | "Virgin Islands, U.S." | "Wallis and Futuna" | "Western Sahara" | "Yemen" | "Zambia" | "Zimbabwe";
105
+ country: string;
106
106
  owner: string;
107
107
  creation: string;
108
108
  modified: string;
@@ -110,6 +110,8 @@ export declare class ERPNextServicecase {
110
110
  title: string;
111
111
  order_number: string;
112
112
  shop: "Shopify" | "Amazon FBA" | "Amazon FBM" | "Otto";
113
+ is_sent_to_client: boolean;
114
+ is_sent_to_cc: boolean;
113
115
  created_with: "Amazon FBA" | "Amazon FBM" | "Serviceportal" | "Missive Sidebar";
114
116
  return_items: {
115
117
  name: string;
@@ -120,7 +122,7 @@ export declare class ERPNextServicecase {
120
122
  idx: number;
121
123
  item: string;
122
124
  return_quantity: number;
123
- is_complaint: boolean;
125
+ is_complaint: number;
124
126
  attachments?: string | null | undefined;
125
127
  internal_reasons?: string | null | undefined;
126
128
  line_item_id?: string | null | undefined;
@@ -134,15 +136,13 @@ export declare class ERPNextServicecase {
134
136
  external_id?: string | null | undefined;
135
137
  customer_email?: string | null | undefined;
136
138
  complaint_date?: string | null | undefined;
137
- is_sent_to_client?: boolean | null | undefined;
138
- is_sent_to_cc?: boolean | null | undefined;
139
139
  customer_message?: string | null | undefined;
140
140
  agreed_terms?: string | null | undefined;
141
141
  }>;
142
142
  updateById: (resourceId: string, servicecase: ServicecaseInputType) => Promise<{
143
143
  status: "EDITING" | "SUBMITTING" | "VALIDATING" | "REJECTED" | "SHIPPING" | "COMPLETED";
144
144
  name: string;
145
- country: "Afghanistan" | "Åland Islands" | "Albania" | "Algeria" | "American Samoa" | "Andorra" | "Angola" | "Anguilla" | "Antarctica" | "Antigua and Barbuda" | "Argentina" | "Armenia" | "Aruba" | "Australia" | "Austria" | "Azerbaijan" | "Bahamas" | "Bahrain" | "Bangladesh" | "Barbados" | "Belarus" | "Belgium" | "Belize" | "Benin" | "Bermuda" | "Bhutan" | "Bolivia, Plurinational State of" | "Bonaire, Sint Eustatius and Saba" | "Bosnia and Herzegovina" | "Botswana" | "Bouvet Island" | "Brazil" | "British Indian Ocean Territory" | "Brunei Darussalam" | "Bulgaria" | "Burkina Faso" | "Burundi" | "Cambodia" | "Cameroon" | "Canada" | "Cape Verde" | "Cayman Islands" | "Central African Republic" | "Chad" | "Chile" | "China" | "Christmas Island" | "Cocos (Keeling) Islands" | "Colombia" | "Comoros" | "Congo" | "Congo, The Democratic Republic of the" | "Cook Islands" | "Costa Rica" | "Croatia" | "Cuba" | "Curaçao" | "Cyprus" | "Czech Republic" | "Denmark" | "Djibouti" | "Dominica" | "Dominican Republic" | "Ecuador" | "Egypt" | "El Salvador" | "Equatorial Guinea" | "Eritrea" | "Estonia" | "Ethiopia" | "Falkland Islands (Malvinas)" | "Faroe Islands" | "Fiji" | "Finland" | "France" | "French Guiana" | "French Polynesia" | "French Southern Territories" | "Gabon" | "Gambia" | "Georgia" | "Germany" | "Ghana" | "Gibraltar" | "Greece" | "Greenland" | "Grenada" | "Guadeloupe" | "Guam" | "Guatemala" | "Guernsey" | "Guinea" | "Guinea-Bissau" | "Guyana" | "Haiti" | "Heard Island and McDonald Islands" | "Holy See (Vatican City State)" | "Honduras" | "Hong Kong" | "Hungary" | "Iceland" | "India" | "Indonesia" | "Iran" | "Iraq" | "Ireland" | "Isle of Man" | "Israel" | "Italy" | "Ivory Coast" | "Jamaica" | "Japan" | "Jersey" | "Jordan" | "Kazakhstan" | "Kenya" | "Kiribati" | "Korea, Democratic Peoples Republic of" | "Korea, Republic of" | "Kuwait" | "Kyrgyzstan" | "Lao Peoples Democratic Republic" | "Latvia" | "Lebanon" | "Lesotho" | "Liberia" | "Libya" | "Liechtenstein" | "Lithuania" | "Luxembourg" | "Macao" | "Macedonia" | "Madagascar" | "Malawi" | "Malaysia" | "Maldives" | "Mali" | "Malta" | "Marshall Islands" | "Martinique" | "Mauritania" | "Mauritius" | "Mayotte" | "Mexico" | "Micronesia, Federated States of" | "Moldova, Republic of" | "Monaco" | "Mongolia" | "Montenegro" | "Montserrat" | "Morocco" | "Mozambique" | "Myanmar" | "Namibia" | "Nauru" | "Nepal" | "Netherlands" | "New Caledonia" | "New Zealand" | "Nicaragua" | "Niger" | "Nigeria" | "Niue" | "Norfolk Island" | "Northern Mariana Islands" | "Norway" | "Oman" | "Pakistan" | "Palau" | "Palestinian Territory, Occupied" | "Panama" | "Papua New Guinea" | "Paraguay" | "Peru" | "Philippines" | "Pitcairn" | "Poland" | "Portugal" | "Puerto Rico" | "Qatar" | "Réunion" | "Romania" | "Russian Federation" | "Rwanda" | "Saint Barthélemy" | "Saint Helena, Ascension and Tristan da Cunha" | "Saint Kitts and Nevis" | "Saint Lucia" | "Saint Martin (French part)" | "Saint Pierre and Miquelon" | "Saint Vincent and the Grenadines" | "Samoa" | "San Marino" | "Sao Tome and Principe" | "Saudi Arabia" | "Senegal" | "Serbia" | "Seychelles" | "Sierra Leone" | "Singapore" | "Sint Maarten (Dutch part)" | "Slovakia" | "Slovenia" | "Solomon Islands" | "Somalia" | "South Africa" | "South Georgia and the South Sandwich Islands" | "South Sudan" | "Spain" | "Sri Lanka" | "Sudan" | "Suriname" | "Svalbard and Jan Mayen" | "Swaziland" | "Sweden" | "Switzerland" | "Syria" | "Taiwan" | "Tajikistan" | "Tanzania" | "Thailand" | "Timor-Leste" | "Togo" | "Tokelau" | "Tonga" | "Trinidad and Tobago" | "Tunisia" | "Turkey" | "Turkmenistan" | "Turks and Caicos Islands" | "Tuvalu" | "Uganda" | "Ukraine" | "United Arab Emirates" | "United Kingdom" | "United States" | "United States Minor Outlying Islands" | "Uruguay" | "Uzbekistan" | "Vanuatu" | "Venezuela, Bolivarian Republic of" | "Vietnam" | "Virgin Islands, British" | "Virgin Islands, U.S." | "Wallis and Futuna" | "Western Sahara" | "Yemen" | "Zambia" | "Zimbabwe";
145
+ country: string;
146
146
  owner: string;
147
147
  creation: string;
148
148
  modified: string;
@@ -150,6 +150,8 @@ export declare class ERPNextServicecase {
150
150
  title: string;
151
151
  order_number: string;
152
152
  shop: "Shopify" | "Amazon FBA" | "Amazon FBM" | "Otto";
153
+ is_sent_to_client: boolean;
154
+ is_sent_to_cc: boolean;
153
155
  created_with: "Amazon FBA" | "Amazon FBM" | "Serviceportal" | "Missive Sidebar";
154
156
  return_items: {
155
157
  name: string;
@@ -160,7 +162,7 @@ export declare class ERPNextServicecase {
160
162
  idx: number;
161
163
  item: string;
162
164
  return_quantity: number;
163
- is_complaint: boolean;
165
+ is_complaint: number;
164
166
  attachments?: string | null | undefined;
165
167
  internal_reasons?: string | null | undefined;
166
168
  line_item_id?: string | null | undefined;
@@ -174,8 +176,6 @@ export declare class ERPNextServicecase {
174
176
  external_id?: string | null | undefined;
175
177
  customer_email?: string | null | undefined;
176
178
  complaint_date?: string | null | undefined;
177
- is_sent_to_client?: boolean | null | undefined;
178
- is_sent_to_cc?: boolean | null | undefined;
179
179
  customer_message?: string | null | undefined;
180
180
  agreed_terms?: string | null | undefined;
181
181
  }>;
@@ -187,7 +187,7 @@ export declare class ERPNextServicecase {
187
187
  createServicecase(servicecase: ServicecaseInputType): Promise<{
188
188
  status: "EDITING" | "SUBMITTING" | "VALIDATING" | "REJECTED" | "SHIPPING" | "COMPLETED";
189
189
  name: string;
190
- country: "Afghanistan" | "Åland Islands" | "Albania" | "Algeria" | "American Samoa" | "Andorra" | "Angola" | "Anguilla" | "Antarctica" | "Antigua and Barbuda" | "Argentina" | "Armenia" | "Aruba" | "Australia" | "Austria" | "Azerbaijan" | "Bahamas" | "Bahrain" | "Bangladesh" | "Barbados" | "Belarus" | "Belgium" | "Belize" | "Benin" | "Bermuda" | "Bhutan" | "Bolivia, Plurinational State of" | "Bonaire, Sint Eustatius and Saba" | "Bosnia and Herzegovina" | "Botswana" | "Bouvet Island" | "Brazil" | "British Indian Ocean Territory" | "Brunei Darussalam" | "Bulgaria" | "Burkina Faso" | "Burundi" | "Cambodia" | "Cameroon" | "Canada" | "Cape Verde" | "Cayman Islands" | "Central African Republic" | "Chad" | "Chile" | "China" | "Christmas Island" | "Cocos (Keeling) Islands" | "Colombia" | "Comoros" | "Congo" | "Congo, The Democratic Republic of the" | "Cook Islands" | "Costa Rica" | "Croatia" | "Cuba" | "Curaçao" | "Cyprus" | "Czech Republic" | "Denmark" | "Djibouti" | "Dominica" | "Dominican Republic" | "Ecuador" | "Egypt" | "El Salvador" | "Equatorial Guinea" | "Eritrea" | "Estonia" | "Ethiopia" | "Falkland Islands (Malvinas)" | "Faroe Islands" | "Fiji" | "Finland" | "France" | "French Guiana" | "French Polynesia" | "French Southern Territories" | "Gabon" | "Gambia" | "Georgia" | "Germany" | "Ghana" | "Gibraltar" | "Greece" | "Greenland" | "Grenada" | "Guadeloupe" | "Guam" | "Guatemala" | "Guernsey" | "Guinea" | "Guinea-Bissau" | "Guyana" | "Haiti" | "Heard Island and McDonald Islands" | "Holy See (Vatican City State)" | "Honduras" | "Hong Kong" | "Hungary" | "Iceland" | "India" | "Indonesia" | "Iran" | "Iraq" | "Ireland" | "Isle of Man" | "Israel" | "Italy" | "Ivory Coast" | "Jamaica" | "Japan" | "Jersey" | "Jordan" | "Kazakhstan" | "Kenya" | "Kiribati" | "Korea, Democratic Peoples Republic of" | "Korea, Republic of" | "Kuwait" | "Kyrgyzstan" | "Lao Peoples Democratic Republic" | "Latvia" | "Lebanon" | "Lesotho" | "Liberia" | "Libya" | "Liechtenstein" | "Lithuania" | "Luxembourg" | "Macao" | "Macedonia" | "Madagascar" | "Malawi" | "Malaysia" | "Maldives" | "Mali" | "Malta" | "Marshall Islands" | "Martinique" | "Mauritania" | "Mauritius" | "Mayotte" | "Mexico" | "Micronesia, Federated States of" | "Moldova, Republic of" | "Monaco" | "Mongolia" | "Montenegro" | "Montserrat" | "Morocco" | "Mozambique" | "Myanmar" | "Namibia" | "Nauru" | "Nepal" | "Netherlands" | "New Caledonia" | "New Zealand" | "Nicaragua" | "Niger" | "Nigeria" | "Niue" | "Norfolk Island" | "Northern Mariana Islands" | "Norway" | "Oman" | "Pakistan" | "Palau" | "Palestinian Territory, Occupied" | "Panama" | "Papua New Guinea" | "Paraguay" | "Peru" | "Philippines" | "Pitcairn" | "Poland" | "Portugal" | "Puerto Rico" | "Qatar" | "Réunion" | "Romania" | "Russian Federation" | "Rwanda" | "Saint Barthélemy" | "Saint Helena, Ascension and Tristan da Cunha" | "Saint Kitts and Nevis" | "Saint Lucia" | "Saint Martin (French part)" | "Saint Pierre and Miquelon" | "Saint Vincent and the Grenadines" | "Samoa" | "San Marino" | "Sao Tome and Principe" | "Saudi Arabia" | "Senegal" | "Serbia" | "Seychelles" | "Sierra Leone" | "Singapore" | "Sint Maarten (Dutch part)" | "Slovakia" | "Slovenia" | "Solomon Islands" | "Somalia" | "South Africa" | "South Georgia and the South Sandwich Islands" | "South Sudan" | "Spain" | "Sri Lanka" | "Sudan" | "Suriname" | "Svalbard and Jan Mayen" | "Swaziland" | "Sweden" | "Switzerland" | "Syria" | "Taiwan" | "Tajikistan" | "Tanzania" | "Thailand" | "Timor-Leste" | "Togo" | "Tokelau" | "Tonga" | "Trinidad and Tobago" | "Tunisia" | "Turkey" | "Turkmenistan" | "Turks and Caicos Islands" | "Tuvalu" | "Uganda" | "Ukraine" | "United Arab Emirates" | "United Kingdom" | "United States" | "United States Minor Outlying Islands" | "Uruguay" | "Uzbekistan" | "Vanuatu" | "Venezuela, Bolivarian Republic of" | "Vietnam" | "Virgin Islands, British" | "Virgin Islands, U.S." | "Wallis and Futuna" | "Western Sahara" | "Yemen" | "Zambia" | "Zimbabwe";
190
+ country: string;
191
191
  owner: string;
192
192
  creation: string;
193
193
  modified: string;
@@ -195,6 +195,8 @@ export declare class ERPNextServicecase {
195
195
  title: string;
196
196
  order_number: string;
197
197
  shop: "Shopify" | "Amazon FBA" | "Amazon FBM" | "Otto";
198
+ is_sent_to_client: boolean;
199
+ is_sent_to_cc: boolean;
198
200
  created_with: "Amazon FBA" | "Amazon FBM" | "Serviceportal" | "Missive Sidebar";
199
201
  return_items: {
200
202
  name: string;
@@ -205,7 +207,7 @@ export declare class ERPNextServicecase {
205
207
  idx: number;
206
208
  item: string;
207
209
  return_quantity: number;
208
- is_complaint: boolean;
210
+ is_complaint: number;
209
211
  attachments?: string | null | undefined;
210
212
  internal_reasons?: string | null | undefined;
211
213
  line_item_id?: string | null | undefined;
@@ -219,15 +221,13 @@ export declare class ERPNextServicecase {
219
221
  external_id?: string | null | undefined;
220
222
  customer_email?: string | null | undefined;
221
223
  complaint_date?: string | null | undefined;
222
- is_sent_to_client?: boolean | null | undefined;
223
- is_sent_to_cc?: boolean | null | undefined;
224
224
  customer_message?: string | null | undefined;
225
225
  agreed_terms?: string | null | undefined;
226
226
  }>;
227
227
  updateServicecase(resourceId: string, servicecase: ServicecaseInputType): Promise<{
228
228
  status: "EDITING" | "SUBMITTING" | "VALIDATING" | "REJECTED" | "SHIPPING" | "COMPLETED";
229
229
  name: string;
230
- country: "Afghanistan" | "Åland Islands" | "Albania" | "Algeria" | "American Samoa" | "Andorra" | "Angola" | "Anguilla" | "Antarctica" | "Antigua and Barbuda" | "Argentina" | "Armenia" | "Aruba" | "Australia" | "Austria" | "Azerbaijan" | "Bahamas" | "Bahrain" | "Bangladesh" | "Barbados" | "Belarus" | "Belgium" | "Belize" | "Benin" | "Bermuda" | "Bhutan" | "Bolivia, Plurinational State of" | "Bonaire, Sint Eustatius and Saba" | "Bosnia and Herzegovina" | "Botswana" | "Bouvet Island" | "Brazil" | "British Indian Ocean Territory" | "Brunei Darussalam" | "Bulgaria" | "Burkina Faso" | "Burundi" | "Cambodia" | "Cameroon" | "Canada" | "Cape Verde" | "Cayman Islands" | "Central African Republic" | "Chad" | "Chile" | "China" | "Christmas Island" | "Cocos (Keeling) Islands" | "Colombia" | "Comoros" | "Congo" | "Congo, The Democratic Republic of the" | "Cook Islands" | "Costa Rica" | "Croatia" | "Cuba" | "Curaçao" | "Cyprus" | "Czech Republic" | "Denmark" | "Djibouti" | "Dominica" | "Dominican Republic" | "Ecuador" | "Egypt" | "El Salvador" | "Equatorial Guinea" | "Eritrea" | "Estonia" | "Ethiopia" | "Falkland Islands (Malvinas)" | "Faroe Islands" | "Fiji" | "Finland" | "France" | "French Guiana" | "French Polynesia" | "French Southern Territories" | "Gabon" | "Gambia" | "Georgia" | "Germany" | "Ghana" | "Gibraltar" | "Greece" | "Greenland" | "Grenada" | "Guadeloupe" | "Guam" | "Guatemala" | "Guernsey" | "Guinea" | "Guinea-Bissau" | "Guyana" | "Haiti" | "Heard Island and McDonald Islands" | "Holy See (Vatican City State)" | "Honduras" | "Hong Kong" | "Hungary" | "Iceland" | "India" | "Indonesia" | "Iran" | "Iraq" | "Ireland" | "Isle of Man" | "Israel" | "Italy" | "Ivory Coast" | "Jamaica" | "Japan" | "Jersey" | "Jordan" | "Kazakhstan" | "Kenya" | "Kiribati" | "Korea, Democratic Peoples Republic of" | "Korea, Republic of" | "Kuwait" | "Kyrgyzstan" | "Lao Peoples Democratic Republic" | "Latvia" | "Lebanon" | "Lesotho" | "Liberia" | "Libya" | "Liechtenstein" | "Lithuania" | "Luxembourg" | "Macao" | "Macedonia" | "Madagascar" | "Malawi" | "Malaysia" | "Maldives" | "Mali" | "Malta" | "Marshall Islands" | "Martinique" | "Mauritania" | "Mauritius" | "Mayotte" | "Mexico" | "Micronesia, Federated States of" | "Moldova, Republic of" | "Monaco" | "Mongolia" | "Montenegro" | "Montserrat" | "Morocco" | "Mozambique" | "Myanmar" | "Namibia" | "Nauru" | "Nepal" | "Netherlands" | "New Caledonia" | "New Zealand" | "Nicaragua" | "Niger" | "Nigeria" | "Niue" | "Norfolk Island" | "Northern Mariana Islands" | "Norway" | "Oman" | "Pakistan" | "Palau" | "Palestinian Territory, Occupied" | "Panama" | "Papua New Guinea" | "Paraguay" | "Peru" | "Philippines" | "Pitcairn" | "Poland" | "Portugal" | "Puerto Rico" | "Qatar" | "Réunion" | "Romania" | "Russian Federation" | "Rwanda" | "Saint Barthélemy" | "Saint Helena, Ascension and Tristan da Cunha" | "Saint Kitts and Nevis" | "Saint Lucia" | "Saint Martin (French part)" | "Saint Pierre and Miquelon" | "Saint Vincent and the Grenadines" | "Samoa" | "San Marino" | "Sao Tome and Principe" | "Saudi Arabia" | "Senegal" | "Serbia" | "Seychelles" | "Sierra Leone" | "Singapore" | "Sint Maarten (Dutch part)" | "Slovakia" | "Slovenia" | "Solomon Islands" | "Somalia" | "South Africa" | "South Georgia and the South Sandwich Islands" | "South Sudan" | "Spain" | "Sri Lanka" | "Sudan" | "Suriname" | "Svalbard and Jan Mayen" | "Swaziland" | "Sweden" | "Switzerland" | "Syria" | "Taiwan" | "Tajikistan" | "Tanzania" | "Thailand" | "Timor-Leste" | "Togo" | "Tokelau" | "Tonga" | "Trinidad and Tobago" | "Tunisia" | "Turkey" | "Turkmenistan" | "Turks and Caicos Islands" | "Tuvalu" | "Uganda" | "Ukraine" | "United Arab Emirates" | "United Kingdom" | "United States" | "United States Minor Outlying Islands" | "Uruguay" | "Uzbekistan" | "Vanuatu" | "Venezuela, Bolivarian Republic of" | "Vietnam" | "Virgin Islands, British" | "Virgin Islands, U.S." | "Wallis and Futuna" | "Western Sahara" | "Yemen" | "Zambia" | "Zimbabwe";
230
+ country: string;
231
231
  owner: string;
232
232
  creation: string;
233
233
  modified: string;
@@ -235,6 +235,8 @@ export declare class ERPNextServicecase {
235
235
  title: string;
236
236
  order_number: string;
237
237
  shop: "Shopify" | "Amazon FBA" | "Amazon FBM" | "Otto";
238
+ is_sent_to_client: boolean;
239
+ is_sent_to_cc: boolean;
238
240
  created_with: "Amazon FBA" | "Amazon FBM" | "Serviceportal" | "Missive Sidebar";
239
241
  return_items: {
240
242
  name: string;
@@ -245,7 +247,7 @@ export declare class ERPNextServicecase {
245
247
  idx: number;
246
248
  item: string;
247
249
  return_quantity: number;
248
- is_complaint: boolean;
250
+ is_complaint: number;
249
251
  attachments?: string | null | undefined;
250
252
  internal_reasons?: string | null | undefined;
251
253
  line_item_id?: string | null | undefined;
@@ -259,8 +261,6 @@ export declare class ERPNextServicecase {
259
261
  external_id?: string | null | undefined;
260
262
  customer_email?: string | null | undefined;
261
263
  complaint_date?: string | null | undefined;
262
- is_sent_to_client?: boolean | null | undefined;
263
- is_sent_to_cc?: boolean | null | undefined;
264
264
  customer_message?: string | null | undefined;
265
265
  agreed_terms?: string | null | undefined;
266
266
  }>;
@@ -270,7 +270,7 @@ export declare class ERPNextServicecase {
270
270
  }): Promise<{
271
271
  status: "EDITING" | "SUBMITTING" | "VALIDATING" | "REJECTED" | "SHIPPING" | "COMPLETED";
272
272
  name: string;
273
- country: "Afghanistan" | "Åland Islands" | "Albania" | "Algeria" | "American Samoa" | "Andorra" | "Angola" | "Anguilla" | "Antarctica" | "Antigua and Barbuda" | "Argentina" | "Armenia" | "Aruba" | "Australia" | "Austria" | "Azerbaijan" | "Bahamas" | "Bahrain" | "Bangladesh" | "Barbados" | "Belarus" | "Belgium" | "Belize" | "Benin" | "Bermuda" | "Bhutan" | "Bolivia, Plurinational State of" | "Bonaire, Sint Eustatius and Saba" | "Bosnia and Herzegovina" | "Botswana" | "Bouvet Island" | "Brazil" | "British Indian Ocean Territory" | "Brunei Darussalam" | "Bulgaria" | "Burkina Faso" | "Burundi" | "Cambodia" | "Cameroon" | "Canada" | "Cape Verde" | "Cayman Islands" | "Central African Republic" | "Chad" | "Chile" | "China" | "Christmas Island" | "Cocos (Keeling) Islands" | "Colombia" | "Comoros" | "Congo" | "Congo, The Democratic Republic of the" | "Cook Islands" | "Costa Rica" | "Croatia" | "Cuba" | "Curaçao" | "Cyprus" | "Czech Republic" | "Denmark" | "Djibouti" | "Dominica" | "Dominican Republic" | "Ecuador" | "Egypt" | "El Salvador" | "Equatorial Guinea" | "Eritrea" | "Estonia" | "Ethiopia" | "Falkland Islands (Malvinas)" | "Faroe Islands" | "Fiji" | "Finland" | "France" | "French Guiana" | "French Polynesia" | "French Southern Territories" | "Gabon" | "Gambia" | "Georgia" | "Germany" | "Ghana" | "Gibraltar" | "Greece" | "Greenland" | "Grenada" | "Guadeloupe" | "Guam" | "Guatemala" | "Guernsey" | "Guinea" | "Guinea-Bissau" | "Guyana" | "Haiti" | "Heard Island and McDonald Islands" | "Holy See (Vatican City State)" | "Honduras" | "Hong Kong" | "Hungary" | "Iceland" | "India" | "Indonesia" | "Iran" | "Iraq" | "Ireland" | "Isle of Man" | "Israel" | "Italy" | "Ivory Coast" | "Jamaica" | "Japan" | "Jersey" | "Jordan" | "Kazakhstan" | "Kenya" | "Kiribati" | "Korea, Democratic Peoples Republic of" | "Korea, Republic of" | "Kuwait" | "Kyrgyzstan" | "Lao Peoples Democratic Republic" | "Latvia" | "Lebanon" | "Lesotho" | "Liberia" | "Libya" | "Liechtenstein" | "Lithuania" | "Luxembourg" | "Macao" | "Macedonia" | "Madagascar" | "Malawi" | "Malaysia" | "Maldives" | "Mali" | "Malta" | "Marshall Islands" | "Martinique" | "Mauritania" | "Mauritius" | "Mayotte" | "Mexico" | "Micronesia, Federated States of" | "Moldova, Republic of" | "Monaco" | "Mongolia" | "Montenegro" | "Montserrat" | "Morocco" | "Mozambique" | "Myanmar" | "Namibia" | "Nauru" | "Nepal" | "Netherlands" | "New Caledonia" | "New Zealand" | "Nicaragua" | "Niger" | "Nigeria" | "Niue" | "Norfolk Island" | "Northern Mariana Islands" | "Norway" | "Oman" | "Pakistan" | "Palau" | "Palestinian Territory, Occupied" | "Panama" | "Papua New Guinea" | "Paraguay" | "Peru" | "Philippines" | "Pitcairn" | "Poland" | "Portugal" | "Puerto Rico" | "Qatar" | "Réunion" | "Romania" | "Russian Federation" | "Rwanda" | "Saint Barthélemy" | "Saint Helena, Ascension and Tristan da Cunha" | "Saint Kitts and Nevis" | "Saint Lucia" | "Saint Martin (French part)" | "Saint Pierre and Miquelon" | "Saint Vincent and the Grenadines" | "Samoa" | "San Marino" | "Sao Tome and Principe" | "Saudi Arabia" | "Senegal" | "Serbia" | "Seychelles" | "Sierra Leone" | "Singapore" | "Sint Maarten (Dutch part)" | "Slovakia" | "Slovenia" | "Solomon Islands" | "Somalia" | "South Africa" | "South Georgia and the South Sandwich Islands" | "South Sudan" | "Spain" | "Sri Lanka" | "Sudan" | "Suriname" | "Svalbard and Jan Mayen" | "Swaziland" | "Sweden" | "Switzerland" | "Syria" | "Taiwan" | "Tajikistan" | "Tanzania" | "Thailand" | "Timor-Leste" | "Togo" | "Tokelau" | "Tonga" | "Trinidad and Tobago" | "Tunisia" | "Turkey" | "Turkmenistan" | "Turks and Caicos Islands" | "Tuvalu" | "Uganda" | "Ukraine" | "United Arab Emirates" | "United Kingdom" | "United States" | "United States Minor Outlying Islands" | "Uruguay" | "Uzbekistan" | "Vanuatu" | "Venezuela, Bolivarian Republic of" | "Vietnam" | "Virgin Islands, British" | "Virgin Islands, U.S." | "Wallis and Futuna" | "Western Sahara" | "Yemen" | "Zambia" | "Zimbabwe";
273
+ country: string;
274
274
  owner: string;
275
275
  creation: string;
276
276
  modified: string;
@@ -278,6 +278,8 @@ export declare class ERPNextServicecase {
278
278
  title: string;
279
279
  order_number: string;
280
280
  shop: "Shopify" | "Amazon FBA" | "Amazon FBM" | "Otto";
281
+ is_sent_to_client: boolean;
282
+ is_sent_to_cc: boolean;
281
283
  created_with: "Amazon FBA" | "Amazon FBM" | "Serviceportal" | "Missive Sidebar";
282
284
  return_items: {
283
285
  name: string;
@@ -304,8 +306,6 @@ export declare class ERPNextServicecase {
304
306
  external_id?: string | null | undefined;
305
307
  customer_email?: string | null | undefined;
306
308
  complaint_date?: string | null | undefined;
307
- is_sent_to_client?: boolean | null | undefined;
308
- is_sent_to_cc?: boolean | null | undefined;
309
309
  customer_message?: string | null | undefined;
310
310
  agreed_terms?: string | null | undefined;
311
311
  }[]>;
@@ -155,15 +155,19 @@ export declare const ReturnItemBase: z.ZodObject<{
155
155
  return_quantity: z.ZodNumber;
156
156
  total_price: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
157
157
  return_fee: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
158
- is_complaint: z.ZodEffects<z.ZodEffects<z.ZodNumber, boolean, number>, boolean, unknown>;
158
+ is_complaint: z.ZodNumber;
159
159
  servicecase_reason: z.ZodNullable<z.ZodOptional<z.ZodString>>;
160
160
  servicecase_solution: z.ZodNullable<z.ZodOptional<z.ZodString>>;
161
161
  batch_number: z.ZodNullable<z.ZodOptional<z.ZodString>>;
162
162
  complaint_description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
163
+ internal_reasons: z.ZodNullable<z.ZodOptional<z.ZodString>>;
164
+ attachments: z.ZodNullable<z.ZodOptional<z.ZodString>>;
163
165
  }, "strip", z.ZodTypeAny, {
164
166
  item: string;
165
167
  return_quantity: number;
166
- is_complaint: boolean;
168
+ is_complaint: number;
169
+ attachments?: string | null | undefined;
170
+ internal_reasons?: string | null | undefined;
167
171
  line_item_id?: string | null | undefined;
168
172
  total_price?: number | null | undefined;
169
173
  return_fee?: number | null | undefined;
@@ -174,10 +178,12 @@ export declare const ReturnItemBase: z.ZodObject<{
174
178
  }, {
175
179
  item: string;
176
180
  return_quantity: number;
181
+ is_complaint: number;
182
+ attachments?: string | null | undefined;
183
+ internal_reasons?: string | null | undefined;
177
184
  line_item_id?: string | null | undefined;
178
185
  total_price?: number | null | undefined;
179
186
  return_fee?: number | null | undefined;
180
- is_complaint?: unknown;
181
187
  servicecase_reason?: string | null | undefined;
182
188
  servicecase_solution?: string | null | undefined;
183
189
  batch_number?: string | null | undefined;
@@ -190,18 +196,18 @@ export declare const ReturnItemInput: z.ZodObject<{
190
196
  return_quantity: z.ZodNumber;
191
197
  total_price: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
192
198
  return_fee: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
193
- is_complaint: z.ZodEffects<z.ZodEffects<z.ZodNumber, boolean, number>, boolean, unknown>;
194
199
  servicecase_reason: z.ZodNullable<z.ZodOptional<z.ZodString>>;
195
200
  servicecase_solution: z.ZodNullable<z.ZodOptional<z.ZodString>>;
196
201
  batch_number: z.ZodNullable<z.ZodOptional<z.ZodString>>;
197
202
  complaint_description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
198
- } & {
199
203
  internal_reasons: z.ZodNullable<z.ZodOptional<z.ZodString>>;
200
204
  attachments: z.ZodNullable<z.ZodOptional<z.ZodString>>;
205
+ } & {
206
+ is_complaint: z.ZodEffects<z.ZodNumber, number, unknown>;
201
207
  }, "strip", z.ZodTypeAny, {
202
208
  item: string;
203
209
  return_quantity: number;
204
- is_complaint: boolean;
210
+ is_complaint: number;
205
211
  attachments?: string | null | undefined;
206
212
  internal_reasons?: string | null | undefined;
207
213
  line_item_id?: string | null | undefined;
@@ -232,11 +238,13 @@ export declare const ReturnItem: z.ZodObject<{
232
238
  return_quantity: z.ZodNumber;
233
239
  total_price: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
234
240
  return_fee: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
235
- is_complaint: z.ZodEffects<z.ZodEffects<z.ZodNumber, boolean, number>, boolean, unknown>;
241
+ is_complaint: z.ZodNumber;
236
242
  servicecase_reason: z.ZodNullable<z.ZodOptional<z.ZodString>>;
237
243
  servicecase_solution: z.ZodNullable<z.ZodOptional<z.ZodString>>;
238
244
  batch_number: z.ZodNullable<z.ZodOptional<z.ZodString>>;
239
245
  complaint_description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
246
+ internal_reasons: z.ZodNullable<z.ZodOptional<z.ZodString>>;
247
+ attachments: z.ZodNullable<z.ZodOptional<z.ZodString>>;
240
248
  } & {
241
249
  name: z.ZodString;
242
250
  owner: z.ZodString;
@@ -244,8 +252,6 @@ export declare const ReturnItem: z.ZodObject<{
244
252
  modified: z.ZodString;
245
253
  modified_by: z.ZodString;
246
254
  idx: z.ZodNumber;
247
- internal_reasons: z.ZodNullable<z.ZodOptional<z.ZodString>>;
248
- attachments: z.ZodNullable<z.ZodOptional<z.ZodString>>;
249
255
  }, "strip", z.ZodTypeAny, {
250
256
  name: string;
251
257
  owner: string;
@@ -255,7 +261,7 @@ export declare const ReturnItem: z.ZodObject<{
255
261
  idx: number;
256
262
  item: string;
257
263
  return_quantity: number;
258
- is_complaint: boolean;
264
+ is_complaint: number;
259
265
  attachments?: string | null | undefined;
260
266
  internal_reasons?: string | null | undefined;
261
267
  line_item_id?: string | null | undefined;
@@ -274,12 +280,12 @@ export declare const ReturnItem: z.ZodObject<{
274
280
  idx: number;
275
281
  item: string;
276
282
  return_quantity: number;
283
+ is_complaint: number;
277
284
  attachments?: string | null | undefined;
278
285
  internal_reasons?: string | null | undefined;
279
286
  line_item_id?: string | null | undefined;
280
287
  total_price?: number | null | undefined;
281
288
  return_fee?: number | null | undefined;
282
- is_complaint?: unknown;
283
289
  servicecase_reason?: string | null | undefined;
284
290
  servicecase_solution?: string | null | undefined;
285
291
  batch_number?: string | null | undefined;
@@ -292,7 +298,6 @@ export declare const ReturnItemExtended: z.ZodObject<{
292
298
  return_quantity: z.ZodNumber;
293
299
  total_price: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
294
300
  return_fee: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
295
- is_complaint: z.ZodEffects<z.ZodEffects<z.ZodNumber, boolean, number>, boolean, unknown>;
296
301
  servicecase_reason: z.ZodNullable<z.ZodOptional<z.ZodString>>;
297
302
  servicecase_solution: z.ZodNullable<z.ZodOptional<z.ZodString>>;
298
303
  batch_number: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -305,6 +310,7 @@ export declare const ReturnItemExtended: z.ZodObject<{
305
310
  modified_by: z.ZodString;
306
311
  idx: z.ZodNumber;
307
312
  attachments: z.ZodArray<z.ZodString, "many">;
313
+ is_complaint: z.ZodEffects<z.ZodNumber, boolean, number>;
308
314
  attachments_collection_name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
309
315
  internal_reasons: z.ZodArray<z.ZodString, "many">;
310
316
  internal_reasons_collection_name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -340,10 +346,10 @@ export declare const ReturnItemExtended: z.ZodObject<{
340
346
  internal_reasons: string[];
341
347
  item: string;
342
348
  return_quantity: number;
349
+ is_complaint: number;
343
350
  line_item_id?: string | null | undefined;
344
351
  total_price?: number | null | undefined;
345
352
  return_fee?: number | null | undefined;
346
- is_complaint?: unknown;
347
353
  servicecase_reason?: string | null | undefined;
348
354
  servicecase_solution?: string | null | undefined;
349
355
  batch_number?: string | null | undefined;
@@ -360,15 +366,15 @@ export declare const ServicecaseBase: z.ZodObject<{
360
366
  customer_email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
361
367
  status: z.ZodDefault<z.ZodEnum<["EDITING", "SUBMITTING", "VALIDATING", "REJECTED", "SHIPPING", "COMPLETED"]>>;
362
368
  complaint_date: z.ZodNullable<z.ZodOptional<z.ZodString>>;
363
- is_sent_to_client: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodNumber, boolean, number>, boolean, unknown>>>;
364
- is_sent_to_cc: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodNumber, boolean, number>, boolean, unknown>>>;
369
+ is_sent_to_client: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
370
+ is_sent_to_cc: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
365
371
  customer_message: z.ZodNullable<z.ZodOptional<z.ZodString>>;
366
372
  agreed_terms: z.ZodNullable<z.ZodOptional<z.ZodString>>;
367
373
  created_with: z.ZodDefault<z.ZodEnum<["Serviceportal", "Missive Sidebar", "Amazon FBA", "Amazon FBM"]>>;
368
- country: z.ZodEnum<["Afghanistan", "Åland Islands", "Albania", "Algeria", "American Samoa", "Andorra", "Angola", "Anguilla", "Antarctica", "Antigua and Barbuda", "Argentina", "Armenia", "Aruba", "Australia", "Austria", "Azerbaijan", "Bahamas", "Bahrain", "Bangladesh", "Barbados", "Belarus", "Belgium", "Belize", "Benin", "Bermuda", "Bhutan", "Bolivia, Plurinational State of", "Bonaire, Sint Eustatius and Saba", "Bosnia and Herzegovina", "Botswana", "Bouvet Island", "Brazil", "British Indian Ocean Territory", "Brunei Darussalam", "Bulgaria", "Burkina Faso", "Burundi", "Cambodia", "Cameroon", "Canada", "Cape Verde", "Cayman Islands", "Central African Republic", "Chad", "Chile", "China", "Christmas Island", "Cocos (Keeling) Islands", "Colombia", "Comoros", "Congo", "Congo, The Democratic Republic of the", "Cook Islands", "Costa Rica", "Croatia", "Cuba", "Curaçao", "Cyprus", "Czech Republic", "Denmark", "Djibouti", "Dominica", "Dominican Republic", "Ecuador", "Egypt", "El Salvador", "Equatorial Guinea", "Eritrea", "Estonia", "Ethiopia", "Falkland Islands (Malvinas)", "Faroe Islands", "Fiji", "Finland", "France", "French Guiana", "French Polynesia", "French Southern Territories", "Gabon", "Gambia", "Georgia", "Germany", "Ghana", "Gibraltar", "Greece", "Greenland", "Grenada", "Guadeloupe", "Guam", "Guatemala", "Guernsey", "Guinea", "Guinea-Bissau", "Guyana", "Haiti", "Heard Island and McDonald Islands", "Holy See (Vatican City State)", "Honduras", "Hong Kong", "Hungary", "Iceland", "India", "Indonesia", "Iran", "Iraq", "Ireland", "Isle of Man", "Israel", "Italy", "Ivory Coast", "Jamaica", "Japan", "Jersey", "Jordan", "Kazakhstan", "Kenya", "Kiribati", "Korea, Democratic Peoples Republic of", "Korea, Republic of", "Kuwait", "Kyrgyzstan", "Lao Peoples Democratic Republic", "Latvia", "Lebanon", "Lesotho", "Liberia", "Libya", "Liechtenstein", "Lithuania", "Luxembourg", "Macao", "Macedonia", "Madagascar", "Malawi", "Malaysia", "Maldives", "Mali", "Malta", "Marshall Islands", "Martinique", "Mauritania", "Mauritius", "Mayotte", "Mexico", "Micronesia, Federated States of", "Moldova, Republic of", "Monaco", "Mongolia", "Montenegro", "Montserrat", "Morocco", "Mozambique", "Myanmar", "Namibia", "Nauru", "Nepal", "Netherlands", "New Caledonia", "New Zealand", "Nicaragua", "Niger", "Nigeria", "Niue", "Norfolk Island", "Northern Mariana Islands", "Norway", "Oman", "Pakistan", "Palau", "Palestinian Territory, Occupied", "Panama", "Papua New Guinea", "Paraguay", "Peru", "Philippines", "Pitcairn", "Poland", "Portugal", "Puerto Rico", "Qatar", "Réunion", "Romania", "Russian Federation", "Rwanda", "Saint Barthélemy", "Saint Helena, Ascension and Tristan da Cunha", "Saint Kitts and Nevis", "Saint Lucia", "Saint Martin (French part)", "Saint Pierre and Miquelon", "Saint Vincent and the Grenadines", "Samoa", "San Marino", "Sao Tome and Principe", "Saudi Arabia", "Senegal", "Serbia", "Seychelles", "Sierra Leone", "Singapore", "Sint Maarten (Dutch part)", "Slovakia", "Slovenia", "Solomon Islands", "Somalia", "South Africa", "South Georgia and the South Sandwich Islands", "South Sudan", "Spain", "Sri Lanka", "Sudan", "Suriname", "Svalbard and Jan Mayen", "Swaziland", "Sweden", "Switzerland", "Syria", "Taiwan", "Tajikistan", "Tanzania", "Thailand", "Timor-Leste", "Togo", "Tokelau", "Tonga", "Trinidad and Tobago", "Tunisia", "Turkey", "Turkmenistan", "Turks and Caicos Islands", "Tuvalu", "Uganda", "Ukraine", "United Arab Emirates", "United Kingdom", "United States", "United States Minor Outlying Islands", "Uruguay", "Uzbekistan", "Vanuatu", "Venezuela, Bolivarian Republic of", "Vietnam", "Virgin Islands, British", "Virgin Islands, U.S.", "Wallis and Futuna", "Western Sahara", "Yemen", "Zambia", "Zimbabwe"]>;
374
+ country: z.ZodString;
369
375
  }, "strip", z.ZodTypeAny, {
370
376
  status: "EDITING" | "SUBMITTING" | "VALIDATING" | "REJECTED" | "SHIPPING" | "COMPLETED";
371
- country: "Afghanistan" | "Åland Islands" | "Albania" | "Algeria" | "American Samoa" | "Andorra" | "Angola" | "Anguilla" | "Antarctica" | "Antigua and Barbuda" | "Argentina" | "Armenia" | "Aruba" | "Australia" | "Austria" | "Azerbaijan" | "Bahamas" | "Bahrain" | "Bangladesh" | "Barbados" | "Belarus" | "Belgium" | "Belize" | "Benin" | "Bermuda" | "Bhutan" | "Bolivia, Plurinational State of" | "Bonaire, Sint Eustatius and Saba" | "Bosnia and Herzegovina" | "Botswana" | "Bouvet Island" | "Brazil" | "British Indian Ocean Territory" | "Brunei Darussalam" | "Bulgaria" | "Burkina Faso" | "Burundi" | "Cambodia" | "Cameroon" | "Canada" | "Cape Verde" | "Cayman Islands" | "Central African Republic" | "Chad" | "Chile" | "China" | "Christmas Island" | "Cocos (Keeling) Islands" | "Colombia" | "Comoros" | "Congo" | "Congo, The Democratic Republic of the" | "Cook Islands" | "Costa Rica" | "Croatia" | "Cuba" | "Curaçao" | "Cyprus" | "Czech Republic" | "Denmark" | "Djibouti" | "Dominica" | "Dominican Republic" | "Ecuador" | "Egypt" | "El Salvador" | "Equatorial Guinea" | "Eritrea" | "Estonia" | "Ethiopia" | "Falkland Islands (Malvinas)" | "Faroe Islands" | "Fiji" | "Finland" | "France" | "French Guiana" | "French Polynesia" | "French Southern Territories" | "Gabon" | "Gambia" | "Georgia" | "Germany" | "Ghana" | "Gibraltar" | "Greece" | "Greenland" | "Grenada" | "Guadeloupe" | "Guam" | "Guatemala" | "Guernsey" | "Guinea" | "Guinea-Bissau" | "Guyana" | "Haiti" | "Heard Island and McDonald Islands" | "Holy See (Vatican City State)" | "Honduras" | "Hong Kong" | "Hungary" | "Iceland" | "India" | "Indonesia" | "Iran" | "Iraq" | "Ireland" | "Isle of Man" | "Israel" | "Italy" | "Ivory Coast" | "Jamaica" | "Japan" | "Jersey" | "Jordan" | "Kazakhstan" | "Kenya" | "Kiribati" | "Korea, Democratic Peoples Republic of" | "Korea, Republic of" | "Kuwait" | "Kyrgyzstan" | "Lao Peoples Democratic Republic" | "Latvia" | "Lebanon" | "Lesotho" | "Liberia" | "Libya" | "Liechtenstein" | "Lithuania" | "Luxembourg" | "Macao" | "Macedonia" | "Madagascar" | "Malawi" | "Malaysia" | "Maldives" | "Mali" | "Malta" | "Marshall Islands" | "Martinique" | "Mauritania" | "Mauritius" | "Mayotte" | "Mexico" | "Micronesia, Federated States of" | "Moldova, Republic of" | "Monaco" | "Mongolia" | "Montenegro" | "Montserrat" | "Morocco" | "Mozambique" | "Myanmar" | "Namibia" | "Nauru" | "Nepal" | "Netherlands" | "New Caledonia" | "New Zealand" | "Nicaragua" | "Niger" | "Nigeria" | "Niue" | "Norfolk Island" | "Northern Mariana Islands" | "Norway" | "Oman" | "Pakistan" | "Palau" | "Palestinian Territory, Occupied" | "Panama" | "Papua New Guinea" | "Paraguay" | "Peru" | "Philippines" | "Pitcairn" | "Poland" | "Portugal" | "Puerto Rico" | "Qatar" | "Réunion" | "Romania" | "Russian Federation" | "Rwanda" | "Saint Barthélemy" | "Saint Helena, Ascension and Tristan da Cunha" | "Saint Kitts and Nevis" | "Saint Lucia" | "Saint Martin (French part)" | "Saint Pierre and Miquelon" | "Saint Vincent and the Grenadines" | "Samoa" | "San Marino" | "Sao Tome and Principe" | "Saudi Arabia" | "Senegal" | "Serbia" | "Seychelles" | "Sierra Leone" | "Singapore" | "Sint Maarten (Dutch part)" | "Slovakia" | "Slovenia" | "Solomon Islands" | "Somalia" | "South Africa" | "South Georgia and the South Sandwich Islands" | "South Sudan" | "Spain" | "Sri Lanka" | "Sudan" | "Suriname" | "Svalbard and Jan Mayen" | "Swaziland" | "Sweden" | "Switzerland" | "Syria" | "Taiwan" | "Tajikistan" | "Tanzania" | "Thailand" | "Timor-Leste" | "Togo" | "Tokelau" | "Tonga" | "Trinidad and Tobago" | "Tunisia" | "Turkey" | "Turkmenistan" | "Turks and Caicos Islands" | "Tuvalu" | "Uganda" | "Ukraine" | "United Arab Emirates" | "United Kingdom" | "United States" | "United States Minor Outlying Islands" | "Uruguay" | "Uzbekistan" | "Vanuatu" | "Venezuela, Bolivarian Republic of" | "Vietnam" | "Virgin Islands, British" | "Virgin Islands, U.S." | "Wallis and Futuna" | "Western Sahara" | "Yemen" | "Zambia" | "Zimbabwe";
377
+ country: string;
372
378
  title: string;
373
379
  order_number: string;
374
380
  shop: "Shopify" | "Amazon FBA" | "Amazon FBM" | "Otto";
@@ -376,12 +382,12 @@ export declare const ServicecaseBase: z.ZodObject<{
376
382
  external_id?: string | null | undefined;
377
383
  customer_email?: string | null | undefined;
378
384
  complaint_date?: string | null | undefined;
379
- is_sent_to_client?: boolean | null | undefined;
380
- is_sent_to_cc?: boolean | null | undefined;
385
+ is_sent_to_client?: number | null | undefined;
386
+ is_sent_to_cc?: number | null | undefined;
381
387
  customer_message?: string | null | undefined;
382
388
  agreed_terms?: string | null | undefined;
383
389
  }, {
384
- country: "Afghanistan" | "Åland Islands" | "Albania" | "Algeria" | "American Samoa" | "Andorra" | "Angola" | "Anguilla" | "Antarctica" | "Antigua and Barbuda" | "Argentina" | "Armenia" | "Aruba" | "Australia" | "Austria" | "Azerbaijan" | "Bahamas" | "Bahrain" | "Bangladesh" | "Barbados" | "Belarus" | "Belgium" | "Belize" | "Benin" | "Bermuda" | "Bhutan" | "Bolivia, Plurinational State of" | "Bonaire, Sint Eustatius and Saba" | "Bosnia and Herzegovina" | "Botswana" | "Bouvet Island" | "Brazil" | "British Indian Ocean Territory" | "Brunei Darussalam" | "Bulgaria" | "Burkina Faso" | "Burundi" | "Cambodia" | "Cameroon" | "Canada" | "Cape Verde" | "Cayman Islands" | "Central African Republic" | "Chad" | "Chile" | "China" | "Christmas Island" | "Cocos (Keeling) Islands" | "Colombia" | "Comoros" | "Congo" | "Congo, The Democratic Republic of the" | "Cook Islands" | "Costa Rica" | "Croatia" | "Cuba" | "Curaçao" | "Cyprus" | "Czech Republic" | "Denmark" | "Djibouti" | "Dominica" | "Dominican Republic" | "Ecuador" | "Egypt" | "El Salvador" | "Equatorial Guinea" | "Eritrea" | "Estonia" | "Ethiopia" | "Falkland Islands (Malvinas)" | "Faroe Islands" | "Fiji" | "Finland" | "France" | "French Guiana" | "French Polynesia" | "French Southern Territories" | "Gabon" | "Gambia" | "Georgia" | "Germany" | "Ghana" | "Gibraltar" | "Greece" | "Greenland" | "Grenada" | "Guadeloupe" | "Guam" | "Guatemala" | "Guernsey" | "Guinea" | "Guinea-Bissau" | "Guyana" | "Haiti" | "Heard Island and McDonald Islands" | "Holy See (Vatican City State)" | "Honduras" | "Hong Kong" | "Hungary" | "Iceland" | "India" | "Indonesia" | "Iran" | "Iraq" | "Ireland" | "Isle of Man" | "Israel" | "Italy" | "Ivory Coast" | "Jamaica" | "Japan" | "Jersey" | "Jordan" | "Kazakhstan" | "Kenya" | "Kiribati" | "Korea, Democratic Peoples Republic of" | "Korea, Republic of" | "Kuwait" | "Kyrgyzstan" | "Lao Peoples Democratic Republic" | "Latvia" | "Lebanon" | "Lesotho" | "Liberia" | "Libya" | "Liechtenstein" | "Lithuania" | "Luxembourg" | "Macao" | "Macedonia" | "Madagascar" | "Malawi" | "Malaysia" | "Maldives" | "Mali" | "Malta" | "Marshall Islands" | "Martinique" | "Mauritania" | "Mauritius" | "Mayotte" | "Mexico" | "Micronesia, Federated States of" | "Moldova, Republic of" | "Monaco" | "Mongolia" | "Montenegro" | "Montserrat" | "Morocco" | "Mozambique" | "Myanmar" | "Namibia" | "Nauru" | "Nepal" | "Netherlands" | "New Caledonia" | "New Zealand" | "Nicaragua" | "Niger" | "Nigeria" | "Niue" | "Norfolk Island" | "Northern Mariana Islands" | "Norway" | "Oman" | "Pakistan" | "Palau" | "Palestinian Territory, Occupied" | "Panama" | "Papua New Guinea" | "Paraguay" | "Peru" | "Philippines" | "Pitcairn" | "Poland" | "Portugal" | "Puerto Rico" | "Qatar" | "Réunion" | "Romania" | "Russian Federation" | "Rwanda" | "Saint Barthélemy" | "Saint Helena, Ascension and Tristan da Cunha" | "Saint Kitts and Nevis" | "Saint Lucia" | "Saint Martin (French part)" | "Saint Pierre and Miquelon" | "Saint Vincent and the Grenadines" | "Samoa" | "San Marino" | "Sao Tome and Principe" | "Saudi Arabia" | "Senegal" | "Serbia" | "Seychelles" | "Sierra Leone" | "Singapore" | "Sint Maarten (Dutch part)" | "Slovakia" | "Slovenia" | "Solomon Islands" | "Somalia" | "South Africa" | "South Georgia and the South Sandwich Islands" | "South Sudan" | "Spain" | "Sri Lanka" | "Sudan" | "Suriname" | "Svalbard and Jan Mayen" | "Swaziland" | "Sweden" | "Switzerland" | "Syria" | "Taiwan" | "Tajikistan" | "Tanzania" | "Thailand" | "Timor-Leste" | "Togo" | "Tokelau" | "Tonga" | "Trinidad and Tobago" | "Tunisia" | "Turkey" | "Turkmenistan" | "Turks and Caicos Islands" | "Tuvalu" | "Uganda" | "Ukraine" | "United Arab Emirates" | "United Kingdom" | "United States" | "United States Minor Outlying Islands" | "Uruguay" | "Uzbekistan" | "Vanuatu" | "Venezuela, Bolivarian Republic of" | "Vietnam" | "Virgin Islands, British" | "Virgin Islands, U.S." | "Wallis and Futuna" | "Western Sahara" | "Yemen" | "Zambia" | "Zimbabwe";
390
+ country: string;
385
391
  title: string;
386
392
  order_number: string;
387
393
  shop: "Shopify" | "Amazon FBA" | "Amazon FBM" | "Otto";
@@ -389,8 +395,8 @@ export declare const ServicecaseBase: z.ZodObject<{
389
395
  external_id?: string | null | undefined;
390
396
  customer_email?: string | null | undefined;
391
397
  complaint_date?: string | null | undefined;
392
- is_sent_to_client?: unknown;
393
- is_sent_to_cc?: unknown;
398
+ is_sent_to_client?: number | null | undefined;
399
+ is_sent_to_cc?: number | null | undefined;
394
400
  customer_message?: string | null | undefined;
395
401
  agreed_terms?: string | null | undefined;
396
402
  created_with?: "Amazon FBA" | "Amazon FBM" | "Serviceportal" | "Missive Sidebar" | undefined;
@@ -404,12 +410,10 @@ export declare const Servicecase: z.ZodObject<{
404
410
  customer_email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
405
411
  status: z.ZodDefault<z.ZodEnum<["EDITING", "SUBMITTING", "VALIDATING", "REJECTED", "SHIPPING", "COMPLETED"]>>;
406
412
  complaint_date: z.ZodNullable<z.ZodOptional<z.ZodString>>;
407
- is_sent_to_client: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodNumber, boolean, number>, boolean, unknown>>>;
408
- is_sent_to_cc: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodNumber, boolean, number>, boolean, unknown>>>;
409
413
  customer_message: z.ZodNullable<z.ZodOptional<z.ZodString>>;
410
414
  agreed_terms: z.ZodNullable<z.ZodOptional<z.ZodString>>;
411
415
  created_with: z.ZodDefault<z.ZodEnum<["Serviceportal", "Missive Sidebar", "Amazon FBA", "Amazon FBM"]>>;
412
- country: z.ZodEnum<["Afghanistan", "Åland Islands", "Albania", "Algeria", "American Samoa", "Andorra", "Angola", "Anguilla", "Antarctica", "Antigua and Barbuda", "Argentina", "Armenia", "Aruba", "Australia", "Austria", "Azerbaijan", "Bahamas", "Bahrain", "Bangladesh", "Barbados", "Belarus", "Belgium", "Belize", "Benin", "Bermuda", "Bhutan", "Bolivia, Plurinational State of", "Bonaire, Sint Eustatius and Saba", "Bosnia and Herzegovina", "Botswana", "Bouvet Island", "Brazil", "British Indian Ocean Territory", "Brunei Darussalam", "Bulgaria", "Burkina Faso", "Burundi", "Cambodia", "Cameroon", "Canada", "Cape Verde", "Cayman Islands", "Central African Republic", "Chad", "Chile", "China", "Christmas Island", "Cocos (Keeling) Islands", "Colombia", "Comoros", "Congo", "Congo, The Democratic Republic of the", "Cook Islands", "Costa Rica", "Croatia", "Cuba", "Curaçao", "Cyprus", "Czech Republic", "Denmark", "Djibouti", "Dominica", "Dominican Republic", "Ecuador", "Egypt", "El Salvador", "Equatorial Guinea", "Eritrea", "Estonia", "Ethiopia", "Falkland Islands (Malvinas)", "Faroe Islands", "Fiji", "Finland", "France", "French Guiana", "French Polynesia", "French Southern Territories", "Gabon", "Gambia", "Georgia", "Germany", "Ghana", "Gibraltar", "Greece", "Greenland", "Grenada", "Guadeloupe", "Guam", "Guatemala", "Guernsey", "Guinea", "Guinea-Bissau", "Guyana", "Haiti", "Heard Island and McDonald Islands", "Holy See (Vatican City State)", "Honduras", "Hong Kong", "Hungary", "Iceland", "India", "Indonesia", "Iran", "Iraq", "Ireland", "Isle of Man", "Israel", "Italy", "Ivory Coast", "Jamaica", "Japan", "Jersey", "Jordan", "Kazakhstan", "Kenya", "Kiribati", "Korea, Democratic Peoples Republic of", "Korea, Republic of", "Kuwait", "Kyrgyzstan", "Lao Peoples Democratic Republic", "Latvia", "Lebanon", "Lesotho", "Liberia", "Libya", "Liechtenstein", "Lithuania", "Luxembourg", "Macao", "Macedonia", "Madagascar", "Malawi", "Malaysia", "Maldives", "Mali", "Malta", "Marshall Islands", "Martinique", "Mauritania", "Mauritius", "Mayotte", "Mexico", "Micronesia, Federated States of", "Moldova, Republic of", "Monaco", "Mongolia", "Montenegro", "Montserrat", "Morocco", "Mozambique", "Myanmar", "Namibia", "Nauru", "Nepal", "Netherlands", "New Caledonia", "New Zealand", "Nicaragua", "Niger", "Nigeria", "Niue", "Norfolk Island", "Northern Mariana Islands", "Norway", "Oman", "Pakistan", "Palau", "Palestinian Territory, Occupied", "Panama", "Papua New Guinea", "Paraguay", "Peru", "Philippines", "Pitcairn", "Poland", "Portugal", "Puerto Rico", "Qatar", "Réunion", "Romania", "Russian Federation", "Rwanda", "Saint Barthélemy", "Saint Helena, Ascension and Tristan da Cunha", "Saint Kitts and Nevis", "Saint Lucia", "Saint Martin (French part)", "Saint Pierre and Miquelon", "Saint Vincent and the Grenadines", "Samoa", "San Marino", "Sao Tome and Principe", "Saudi Arabia", "Senegal", "Serbia", "Seychelles", "Sierra Leone", "Singapore", "Sint Maarten (Dutch part)", "Slovakia", "Slovenia", "Solomon Islands", "Somalia", "South Africa", "South Georgia and the South Sandwich Islands", "South Sudan", "Spain", "Sri Lanka", "Sudan", "Suriname", "Svalbard and Jan Mayen", "Swaziland", "Sweden", "Switzerland", "Syria", "Taiwan", "Tajikistan", "Tanzania", "Thailand", "Timor-Leste", "Togo", "Tokelau", "Tonga", "Trinidad and Tobago", "Tunisia", "Turkey", "Turkmenistan", "Turks and Caicos Islands", "Tuvalu", "Uganda", "Ukraine", "United Arab Emirates", "United Kingdom", "United States", "United States Minor Outlying Islands", "Uruguay", "Uzbekistan", "Vanuatu", "Venezuela, Bolivarian Republic of", "Vietnam", "Virgin Islands, British", "Virgin Islands, U.S.", "Wallis and Futuna", "Western Sahara", "Yemen", "Zambia", "Zimbabwe"]>;
416
+ country: z.ZodString;
413
417
  } & {
414
418
  name: z.ZodString;
415
419
  owner: z.ZodString;
@@ -422,11 +426,13 @@ export declare const Servicecase: z.ZodObject<{
422
426
  return_quantity: z.ZodNumber;
423
427
  total_price: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
424
428
  return_fee: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
425
- is_complaint: z.ZodEffects<z.ZodEffects<z.ZodNumber, boolean, number>, boolean, unknown>;
429
+ is_complaint: z.ZodNumber;
426
430
  servicecase_reason: z.ZodNullable<z.ZodOptional<z.ZodString>>;
427
431
  servicecase_solution: z.ZodNullable<z.ZodOptional<z.ZodString>>;
428
432
  batch_number: z.ZodNullable<z.ZodOptional<z.ZodString>>;
429
433
  complaint_description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
434
+ internal_reasons: z.ZodNullable<z.ZodOptional<z.ZodString>>;
435
+ attachments: z.ZodNullable<z.ZodOptional<z.ZodString>>;
430
436
  } & {
431
437
  name: z.ZodString;
432
438
  owner: z.ZodString;
@@ -434,8 +440,6 @@ export declare const Servicecase: z.ZodObject<{
434
440
  modified: z.ZodString;
435
441
  modified_by: z.ZodString;
436
442
  idx: z.ZodNumber;
437
- internal_reasons: z.ZodNullable<z.ZodOptional<z.ZodString>>;
438
- attachments: z.ZodNullable<z.ZodOptional<z.ZodString>>;
439
443
  }, "strip", z.ZodTypeAny, {
440
444
  name: string;
441
445
  owner: string;
@@ -445,7 +449,7 @@ export declare const Servicecase: z.ZodObject<{
445
449
  idx: number;
446
450
  item: string;
447
451
  return_quantity: number;
448
- is_complaint: boolean;
452
+ is_complaint: number;
449
453
  attachments?: string | null | undefined;
450
454
  internal_reasons?: string | null | undefined;
451
455
  line_item_id?: string | null | undefined;
@@ -464,21 +468,23 @@ export declare const Servicecase: z.ZodObject<{
464
468
  idx: number;
465
469
  item: string;
466
470
  return_quantity: number;
471
+ is_complaint: number;
467
472
  attachments?: string | null | undefined;
468
473
  internal_reasons?: string | null | undefined;
469
474
  line_item_id?: string | null | undefined;
470
475
  total_price?: number | null | undefined;
471
476
  return_fee?: number | null | undefined;
472
- is_complaint?: unknown;
473
477
  servicecase_reason?: string | null | undefined;
474
478
  servicecase_solution?: string | null | undefined;
475
479
  batch_number?: string | null | undefined;
476
480
  complaint_description?: string | null | undefined;
477
481
  }>, "many">;
482
+ is_sent_to_client: z.ZodEffects<z.ZodNumber, boolean, number>;
483
+ is_sent_to_cc: z.ZodEffects<z.ZodNumber, boolean, number>;
478
484
  }, "strip", z.ZodTypeAny, {
479
485
  status: "EDITING" | "SUBMITTING" | "VALIDATING" | "REJECTED" | "SHIPPING" | "COMPLETED";
480
486
  name: string;
481
- country: "Afghanistan" | "Åland Islands" | "Albania" | "Algeria" | "American Samoa" | "Andorra" | "Angola" | "Anguilla" | "Antarctica" | "Antigua and Barbuda" | "Argentina" | "Armenia" | "Aruba" | "Australia" | "Austria" | "Azerbaijan" | "Bahamas" | "Bahrain" | "Bangladesh" | "Barbados" | "Belarus" | "Belgium" | "Belize" | "Benin" | "Bermuda" | "Bhutan" | "Bolivia, Plurinational State of" | "Bonaire, Sint Eustatius and Saba" | "Bosnia and Herzegovina" | "Botswana" | "Bouvet Island" | "Brazil" | "British Indian Ocean Territory" | "Brunei Darussalam" | "Bulgaria" | "Burkina Faso" | "Burundi" | "Cambodia" | "Cameroon" | "Canada" | "Cape Verde" | "Cayman Islands" | "Central African Republic" | "Chad" | "Chile" | "China" | "Christmas Island" | "Cocos (Keeling) Islands" | "Colombia" | "Comoros" | "Congo" | "Congo, The Democratic Republic of the" | "Cook Islands" | "Costa Rica" | "Croatia" | "Cuba" | "Curaçao" | "Cyprus" | "Czech Republic" | "Denmark" | "Djibouti" | "Dominica" | "Dominican Republic" | "Ecuador" | "Egypt" | "El Salvador" | "Equatorial Guinea" | "Eritrea" | "Estonia" | "Ethiopia" | "Falkland Islands (Malvinas)" | "Faroe Islands" | "Fiji" | "Finland" | "France" | "French Guiana" | "French Polynesia" | "French Southern Territories" | "Gabon" | "Gambia" | "Georgia" | "Germany" | "Ghana" | "Gibraltar" | "Greece" | "Greenland" | "Grenada" | "Guadeloupe" | "Guam" | "Guatemala" | "Guernsey" | "Guinea" | "Guinea-Bissau" | "Guyana" | "Haiti" | "Heard Island and McDonald Islands" | "Holy See (Vatican City State)" | "Honduras" | "Hong Kong" | "Hungary" | "Iceland" | "India" | "Indonesia" | "Iran" | "Iraq" | "Ireland" | "Isle of Man" | "Israel" | "Italy" | "Ivory Coast" | "Jamaica" | "Japan" | "Jersey" | "Jordan" | "Kazakhstan" | "Kenya" | "Kiribati" | "Korea, Democratic Peoples Republic of" | "Korea, Republic of" | "Kuwait" | "Kyrgyzstan" | "Lao Peoples Democratic Republic" | "Latvia" | "Lebanon" | "Lesotho" | "Liberia" | "Libya" | "Liechtenstein" | "Lithuania" | "Luxembourg" | "Macao" | "Macedonia" | "Madagascar" | "Malawi" | "Malaysia" | "Maldives" | "Mali" | "Malta" | "Marshall Islands" | "Martinique" | "Mauritania" | "Mauritius" | "Mayotte" | "Mexico" | "Micronesia, Federated States of" | "Moldova, Republic of" | "Monaco" | "Mongolia" | "Montenegro" | "Montserrat" | "Morocco" | "Mozambique" | "Myanmar" | "Namibia" | "Nauru" | "Nepal" | "Netherlands" | "New Caledonia" | "New Zealand" | "Nicaragua" | "Niger" | "Nigeria" | "Niue" | "Norfolk Island" | "Northern Mariana Islands" | "Norway" | "Oman" | "Pakistan" | "Palau" | "Palestinian Territory, Occupied" | "Panama" | "Papua New Guinea" | "Paraguay" | "Peru" | "Philippines" | "Pitcairn" | "Poland" | "Portugal" | "Puerto Rico" | "Qatar" | "Réunion" | "Romania" | "Russian Federation" | "Rwanda" | "Saint Barthélemy" | "Saint Helena, Ascension and Tristan da Cunha" | "Saint Kitts and Nevis" | "Saint Lucia" | "Saint Martin (French part)" | "Saint Pierre and Miquelon" | "Saint Vincent and the Grenadines" | "Samoa" | "San Marino" | "Sao Tome and Principe" | "Saudi Arabia" | "Senegal" | "Serbia" | "Seychelles" | "Sierra Leone" | "Singapore" | "Sint Maarten (Dutch part)" | "Slovakia" | "Slovenia" | "Solomon Islands" | "Somalia" | "South Africa" | "South Georgia and the South Sandwich Islands" | "South Sudan" | "Spain" | "Sri Lanka" | "Sudan" | "Suriname" | "Svalbard and Jan Mayen" | "Swaziland" | "Sweden" | "Switzerland" | "Syria" | "Taiwan" | "Tajikistan" | "Tanzania" | "Thailand" | "Timor-Leste" | "Togo" | "Tokelau" | "Tonga" | "Trinidad and Tobago" | "Tunisia" | "Turkey" | "Turkmenistan" | "Turks and Caicos Islands" | "Tuvalu" | "Uganda" | "Ukraine" | "United Arab Emirates" | "United Kingdom" | "United States" | "United States Minor Outlying Islands" | "Uruguay" | "Uzbekistan" | "Vanuatu" | "Venezuela, Bolivarian Republic of" | "Vietnam" | "Virgin Islands, British" | "Virgin Islands, U.S." | "Wallis and Futuna" | "Western Sahara" | "Yemen" | "Zambia" | "Zimbabwe";
487
+ country: string;
482
488
  owner: string;
483
489
  creation: string;
484
490
  modified: string;
@@ -486,6 +492,8 @@ export declare const Servicecase: z.ZodObject<{
486
492
  title: string;
487
493
  order_number: string;
488
494
  shop: "Shopify" | "Amazon FBA" | "Amazon FBM" | "Otto";
495
+ is_sent_to_client: boolean;
496
+ is_sent_to_cc: boolean;
489
497
  created_with: "Amazon FBA" | "Amazon FBM" | "Serviceportal" | "Missive Sidebar";
490
498
  return_items: {
491
499
  name: string;
@@ -496,7 +504,7 @@ export declare const Servicecase: z.ZodObject<{
496
504
  idx: number;
497
505
  item: string;
498
506
  return_quantity: number;
499
- is_complaint: boolean;
507
+ is_complaint: number;
500
508
  attachments?: string | null | undefined;
501
509
  internal_reasons?: string | null | undefined;
502
510
  line_item_id?: string | null | undefined;
@@ -510,13 +518,11 @@ export declare const Servicecase: z.ZodObject<{
510
518
  external_id?: string | null | undefined;
511
519
  customer_email?: string | null | undefined;
512
520
  complaint_date?: string | null | undefined;
513
- is_sent_to_client?: boolean | null | undefined;
514
- is_sent_to_cc?: boolean | null | undefined;
515
521
  customer_message?: string | null | undefined;
516
522
  agreed_terms?: string | null | undefined;
517
523
  }, {
518
524
  name: string;
519
- country: "Afghanistan" | "Åland Islands" | "Albania" | "Algeria" | "American Samoa" | "Andorra" | "Angola" | "Anguilla" | "Antarctica" | "Antigua and Barbuda" | "Argentina" | "Armenia" | "Aruba" | "Australia" | "Austria" | "Azerbaijan" | "Bahamas" | "Bahrain" | "Bangladesh" | "Barbados" | "Belarus" | "Belgium" | "Belize" | "Benin" | "Bermuda" | "Bhutan" | "Bolivia, Plurinational State of" | "Bonaire, Sint Eustatius and Saba" | "Bosnia and Herzegovina" | "Botswana" | "Bouvet Island" | "Brazil" | "British Indian Ocean Territory" | "Brunei Darussalam" | "Bulgaria" | "Burkina Faso" | "Burundi" | "Cambodia" | "Cameroon" | "Canada" | "Cape Verde" | "Cayman Islands" | "Central African Republic" | "Chad" | "Chile" | "China" | "Christmas Island" | "Cocos (Keeling) Islands" | "Colombia" | "Comoros" | "Congo" | "Congo, The Democratic Republic of the" | "Cook Islands" | "Costa Rica" | "Croatia" | "Cuba" | "Curaçao" | "Cyprus" | "Czech Republic" | "Denmark" | "Djibouti" | "Dominica" | "Dominican Republic" | "Ecuador" | "Egypt" | "El Salvador" | "Equatorial Guinea" | "Eritrea" | "Estonia" | "Ethiopia" | "Falkland Islands (Malvinas)" | "Faroe Islands" | "Fiji" | "Finland" | "France" | "French Guiana" | "French Polynesia" | "French Southern Territories" | "Gabon" | "Gambia" | "Georgia" | "Germany" | "Ghana" | "Gibraltar" | "Greece" | "Greenland" | "Grenada" | "Guadeloupe" | "Guam" | "Guatemala" | "Guernsey" | "Guinea" | "Guinea-Bissau" | "Guyana" | "Haiti" | "Heard Island and McDonald Islands" | "Holy See (Vatican City State)" | "Honduras" | "Hong Kong" | "Hungary" | "Iceland" | "India" | "Indonesia" | "Iran" | "Iraq" | "Ireland" | "Isle of Man" | "Israel" | "Italy" | "Ivory Coast" | "Jamaica" | "Japan" | "Jersey" | "Jordan" | "Kazakhstan" | "Kenya" | "Kiribati" | "Korea, Democratic Peoples Republic of" | "Korea, Republic of" | "Kuwait" | "Kyrgyzstan" | "Lao Peoples Democratic Republic" | "Latvia" | "Lebanon" | "Lesotho" | "Liberia" | "Libya" | "Liechtenstein" | "Lithuania" | "Luxembourg" | "Macao" | "Macedonia" | "Madagascar" | "Malawi" | "Malaysia" | "Maldives" | "Mali" | "Malta" | "Marshall Islands" | "Martinique" | "Mauritania" | "Mauritius" | "Mayotte" | "Mexico" | "Micronesia, Federated States of" | "Moldova, Republic of" | "Monaco" | "Mongolia" | "Montenegro" | "Montserrat" | "Morocco" | "Mozambique" | "Myanmar" | "Namibia" | "Nauru" | "Nepal" | "Netherlands" | "New Caledonia" | "New Zealand" | "Nicaragua" | "Niger" | "Nigeria" | "Niue" | "Norfolk Island" | "Northern Mariana Islands" | "Norway" | "Oman" | "Pakistan" | "Palau" | "Palestinian Territory, Occupied" | "Panama" | "Papua New Guinea" | "Paraguay" | "Peru" | "Philippines" | "Pitcairn" | "Poland" | "Portugal" | "Puerto Rico" | "Qatar" | "Réunion" | "Romania" | "Russian Federation" | "Rwanda" | "Saint Barthélemy" | "Saint Helena, Ascension and Tristan da Cunha" | "Saint Kitts and Nevis" | "Saint Lucia" | "Saint Martin (French part)" | "Saint Pierre and Miquelon" | "Saint Vincent and the Grenadines" | "Samoa" | "San Marino" | "Sao Tome and Principe" | "Saudi Arabia" | "Senegal" | "Serbia" | "Seychelles" | "Sierra Leone" | "Singapore" | "Sint Maarten (Dutch part)" | "Slovakia" | "Slovenia" | "Solomon Islands" | "Somalia" | "South Africa" | "South Georgia and the South Sandwich Islands" | "South Sudan" | "Spain" | "Sri Lanka" | "Sudan" | "Suriname" | "Svalbard and Jan Mayen" | "Swaziland" | "Sweden" | "Switzerland" | "Syria" | "Taiwan" | "Tajikistan" | "Tanzania" | "Thailand" | "Timor-Leste" | "Togo" | "Tokelau" | "Tonga" | "Trinidad and Tobago" | "Tunisia" | "Turkey" | "Turkmenistan" | "Turks and Caicos Islands" | "Tuvalu" | "Uganda" | "Ukraine" | "United Arab Emirates" | "United Kingdom" | "United States" | "United States Minor Outlying Islands" | "Uruguay" | "Uzbekistan" | "Vanuatu" | "Venezuela, Bolivarian Republic of" | "Vietnam" | "Virgin Islands, British" | "Virgin Islands, U.S." | "Wallis and Futuna" | "Western Sahara" | "Yemen" | "Zambia" | "Zimbabwe";
525
+ country: string;
520
526
  owner: string;
521
527
  creation: string;
522
528
  modified: string;
@@ -524,6 +530,8 @@ export declare const Servicecase: z.ZodObject<{
524
530
  title: string;
525
531
  order_number: string;
526
532
  shop: "Shopify" | "Amazon FBA" | "Amazon FBM" | "Otto";
533
+ is_sent_to_client: number;
534
+ is_sent_to_cc: number;
527
535
  return_items: {
528
536
  name: string;
529
537
  owner: string;
@@ -533,12 +541,12 @@ export declare const Servicecase: z.ZodObject<{
533
541
  idx: number;
534
542
  item: string;
535
543
  return_quantity: number;
544
+ is_complaint: number;
536
545
  attachments?: string | null | undefined;
537
546
  internal_reasons?: string | null | undefined;
538
547
  line_item_id?: string | null | undefined;
539
548
  total_price?: number | null | undefined;
540
549
  return_fee?: number | null | undefined;
541
- is_complaint?: unknown;
542
550
  servicecase_reason?: string | null | undefined;
543
551
  servicecase_solution?: string | null | undefined;
544
552
  batch_number?: string | null | undefined;
@@ -548,8 +556,6 @@ export declare const Servicecase: z.ZodObject<{
548
556
  external_id?: string | null | undefined;
549
557
  customer_email?: string | null | undefined;
550
558
  complaint_date?: string | null | undefined;
551
- is_sent_to_client?: unknown;
552
- is_sent_to_cc?: unknown;
553
559
  customer_message?: string | null | undefined;
554
560
  agreed_terms?: string | null | undefined;
555
561
  created_with?: "Amazon FBA" | "Amazon FBM" | "Serviceportal" | "Missive Sidebar" | undefined;
@@ -563,12 +569,10 @@ export declare const ServicecaseInput: z.ZodObject<{
563
569
  customer_email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
564
570
  status: z.ZodDefault<z.ZodEnum<["EDITING", "SUBMITTING", "VALIDATING", "REJECTED", "SHIPPING", "COMPLETED"]>>;
565
571
  complaint_date: z.ZodNullable<z.ZodOptional<z.ZodString>>;
566
- is_sent_to_client: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodNumber, boolean, number>, boolean, unknown>>>;
567
- is_sent_to_cc: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodNumber, boolean, number>, boolean, unknown>>>;
568
572
  customer_message: z.ZodNullable<z.ZodOptional<z.ZodString>>;
569
573
  agreed_terms: z.ZodNullable<z.ZodOptional<z.ZodString>>;
570
574
  created_with: z.ZodDefault<z.ZodEnum<["Serviceportal", "Missive Sidebar", "Amazon FBA", "Amazon FBM"]>>;
571
- country: z.ZodEnum<["Afghanistan", "Åland Islands", "Albania", "Algeria", "American Samoa", "Andorra", "Angola", "Anguilla", "Antarctica", "Antigua and Barbuda", "Argentina", "Armenia", "Aruba", "Australia", "Austria", "Azerbaijan", "Bahamas", "Bahrain", "Bangladesh", "Barbados", "Belarus", "Belgium", "Belize", "Benin", "Bermuda", "Bhutan", "Bolivia, Plurinational State of", "Bonaire, Sint Eustatius and Saba", "Bosnia and Herzegovina", "Botswana", "Bouvet Island", "Brazil", "British Indian Ocean Territory", "Brunei Darussalam", "Bulgaria", "Burkina Faso", "Burundi", "Cambodia", "Cameroon", "Canada", "Cape Verde", "Cayman Islands", "Central African Republic", "Chad", "Chile", "China", "Christmas Island", "Cocos (Keeling) Islands", "Colombia", "Comoros", "Congo", "Congo, The Democratic Republic of the", "Cook Islands", "Costa Rica", "Croatia", "Cuba", "Curaçao", "Cyprus", "Czech Republic", "Denmark", "Djibouti", "Dominica", "Dominican Republic", "Ecuador", "Egypt", "El Salvador", "Equatorial Guinea", "Eritrea", "Estonia", "Ethiopia", "Falkland Islands (Malvinas)", "Faroe Islands", "Fiji", "Finland", "France", "French Guiana", "French Polynesia", "French Southern Territories", "Gabon", "Gambia", "Georgia", "Germany", "Ghana", "Gibraltar", "Greece", "Greenland", "Grenada", "Guadeloupe", "Guam", "Guatemala", "Guernsey", "Guinea", "Guinea-Bissau", "Guyana", "Haiti", "Heard Island and McDonald Islands", "Holy See (Vatican City State)", "Honduras", "Hong Kong", "Hungary", "Iceland", "India", "Indonesia", "Iran", "Iraq", "Ireland", "Isle of Man", "Israel", "Italy", "Ivory Coast", "Jamaica", "Japan", "Jersey", "Jordan", "Kazakhstan", "Kenya", "Kiribati", "Korea, Democratic Peoples Republic of", "Korea, Republic of", "Kuwait", "Kyrgyzstan", "Lao Peoples Democratic Republic", "Latvia", "Lebanon", "Lesotho", "Liberia", "Libya", "Liechtenstein", "Lithuania", "Luxembourg", "Macao", "Macedonia", "Madagascar", "Malawi", "Malaysia", "Maldives", "Mali", "Malta", "Marshall Islands", "Martinique", "Mauritania", "Mauritius", "Mayotte", "Mexico", "Micronesia, Federated States of", "Moldova, Republic of", "Monaco", "Mongolia", "Montenegro", "Montserrat", "Morocco", "Mozambique", "Myanmar", "Namibia", "Nauru", "Nepal", "Netherlands", "New Caledonia", "New Zealand", "Nicaragua", "Niger", "Nigeria", "Niue", "Norfolk Island", "Northern Mariana Islands", "Norway", "Oman", "Pakistan", "Palau", "Palestinian Territory, Occupied", "Panama", "Papua New Guinea", "Paraguay", "Peru", "Philippines", "Pitcairn", "Poland", "Portugal", "Puerto Rico", "Qatar", "Réunion", "Romania", "Russian Federation", "Rwanda", "Saint Barthélemy", "Saint Helena, Ascension and Tristan da Cunha", "Saint Kitts and Nevis", "Saint Lucia", "Saint Martin (French part)", "Saint Pierre and Miquelon", "Saint Vincent and the Grenadines", "Samoa", "San Marino", "Sao Tome and Principe", "Saudi Arabia", "Senegal", "Serbia", "Seychelles", "Sierra Leone", "Singapore", "Sint Maarten (Dutch part)", "Slovakia", "Slovenia", "Solomon Islands", "Somalia", "South Africa", "South Georgia and the South Sandwich Islands", "South Sudan", "Spain", "Sri Lanka", "Sudan", "Suriname", "Svalbard and Jan Mayen", "Swaziland", "Sweden", "Switzerland", "Syria", "Taiwan", "Tajikistan", "Tanzania", "Thailand", "Timor-Leste", "Togo", "Tokelau", "Tonga", "Trinidad and Tobago", "Tunisia", "Turkey", "Turkmenistan", "Turks and Caicos Islands", "Tuvalu", "Uganda", "Ukraine", "United Arab Emirates", "United Kingdom", "United States", "United States Minor Outlying Islands", "Uruguay", "Uzbekistan", "Vanuatu", "Venezuela, Bolivarian Republic of", "Vietnam", "Virgin Islands, British", "Virgin Islands, U.S.", "Wallis and Futuna", "Western Sahara", "Yemen", "Zambia", "Zimbabwe"]>;
575
+ country: z.ZodString;
572
576
  } & {
573
577
  return_items: z.ZodArray<z.ZodObject<{
574
578
  item: z.ZodString;
@@ -576,18 +580,18 @@ export declare const ServicecaseInput: z.ZodObject<{
576
580
  return_quantity: z.ZodNumber;
577
581
  total_price: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
578
582
  return_fee: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
579
- is_complaint: z.ZodEffects<z.ZodEffects<z.ZodNumber, boolean, number>, boolean, unknown>;
580
583
  servicecase_reason: z.ZodNullable<z.ZodOptional<z.ZodString>>;
581
584
  servicecase_solution: z.ZodNullable<z.ZodOptional<z.ZodString>>;
582
585
  batch_number: z.ZodNullable<z.ZodOptional<z.ZodString>>;
583
586
  complaint_description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
584
- } & {
585
587
  internal_reasons: z.ZodNullable<z.ZodOptional<z.ZodString>>;
586
588
  attachments: z.ZodNullable<z.ZodOptional<z.ZodString>>;
589
+ } & {
590
+ is_complaint: z.ZodEffects<z.ZodNumber, number, unknown>;
587
591
  }, "strip", z.ZodTypeAny, {
588
592
  item: string;
589
593
  return_quantity: number;
590
- is_complaint: boolean;
594
+ is_complaint: number;
591
595
  attachments?: string | null | undefined;
592
596
  internal_reasons?: string | null | undefined;
593
597
  line_item_id?: string | null | undefined;
@@ -611,17 +615,21 @@ export declare const ServicecaseInput: z.ZodObject<{
611
615
  batch_number?: string | null | undefined;
612
616
  complaint_description?: string | null | undefined;
613
617
  }>, "many">;
618
+ is_sent_to_client: z.ZodEffects<z.ZodNumber, number, unknown>;
619
+ is_sent_to_cc: z.ZodEffects<z.ZodNumber, number, unknown>;
614
620
  }, "strip", z.ZodTypeAny, {
615
621
  status: "EDITING" | "SUBMITTING" | "VALIDATING" | "REJECTED" | "SHIPPING" | "COMPLETED";
616
- country: "Afghanistan" | "Åland Islands" | "Albania" | "Algeria" | "American Samoa" | "Andorra" | "Angola" | "Anguilla" | "Antarctica" | "Antigua and Barbuda" | "Argentina" | "Armenia" | "Aruba" | "Australia" | "Austria" | "Azerbaijan" | "Bahamas" | "Bahrain" | "Bangladesh" | "Barbados" | "Belarus" | "Belgium" | "Belize" | "Benin" | "Bermuda" | "Bhutan" | "Bolivia, Plurinational State of" | "Bonaire, Sint Eustatius and Saba" | "Bosnia and Herzegovina" | "Botswana" | "Bouvet Island" | "Brazil" | "British Indian Ocean Territory" | "Brunei Darussalam" | "Bulgaria" | "Burkina Faso" | "Burundi" | "Cambodia" | "Cameroon" | "Canada" | "Cape Verde" | "Cayman Islands" | "Central African Republic" | "Chad" | "Chile" | "China" | "Christmas Island" | "Cocos (Keeling) Islands" | "Colombia" | "Comoros" | "Congo" | "Congo, The Democratic Republic of the" | "Cook Islands" | "Costa Rica" | "Croatia" | "Cuba" | "Curaçao" | "Cyprus" | "Czech Republic" | "Denmark" | "Djibouti" | "Dominica" | "Dominican Republic" | "Ecuador" | "Egypt" | "El Salvador" | "Equatorial Guinea" | "Eritrea" | "Estonia" | "Ethiopia" | "Falkland Islands (Malvinas)" | "Faroe Islands" | "Fiji" | "Finland" | "France" | "French Guiana" | "French Polynesia" | "French Southern Territories" | "Gabon" | "Gambia" | "Georgia" | "Germany" | "Ghana" | "Gibraltar" | "Greece" | "Greenland" | "Grenada" | "Guadeloupe" | "Guam" | "Guatemala" | "Guernsey" | "Guinea" | "Guinea-Bissau" | "Guyana" | "Haiti" | "Heard Island and McDonald Islands" | "Holy See (Vatican City State)" | "Honduras" | "Hong Kong" | "Hungary" | "Iceland" | "India" | "Indonesia" | "Iran" | "Iraq" | "Ireland" | "Isle of Man" | "Israel" | "Italy" | "Ivory Coast" | "Jamaica" | "Japan" | "Jersey" | "Jordan" | "Kazakhstan" | "Kenya" | "Kiribati" | "Korea, Democratic Peoples Republic of" | "Korea, Republic of" | "Kuwait" | "Kyrgyzstan" | "Lao Peoples Democratic Republic" | "Latvia" | "Lebanon" | "Lesotho" | "Liberia" | "Libya" | "Liechtenstein" | "Lithuania" | "Luxembourg" | "Macao" | "Macedonia" | "Madagascar" | "Malawi" | "Malaysia" | "Maldives" | "Mali" | "Malta" | "Marshall Islands" | "Martinique" | "Mauritania" | "Mauritius" | "Mayotte" | "Mexico" | "Micronesia, Federated States of" | "Moldova, Republic of" | "Monaco" | "Mongolia" | "Montenegro" | "Montserrat" | "Morocco" | "Mozambique" | "Myanmar" | "Namibia" | "Nauru" | "Nepal" | "Netherlands" | "New Caledonia" | "New Zealand" | "Nicaragua" | "Niger" | "Nigeria" | "Niue" | "Norfolk Island" | "Northern Mariana Islands" | "Norway" | "Oman" | "Pakistan" | "Palau" | "Palestinian Territory, Occupied" | "Panama" | "Papua New Guinea" | "Paraguay" | "Peru" | "Philippines" | "Pitcairn" | "Poland" | "Portugal" | "Puerto Rico" | "Qatar" | "Réunion" | "Romania" | "Russian Federation" | "Rwanda" | "Saint Barthélemy" | "Saint Helena, Ascension and Tristan da Cunha" | "Saint Kitts and Nevis" | "Saint Lucia" | "Saint Martin (French part)" | "Saint Pierre and Miquelon" | "Saint Vincent and the Grenadines" | "Samoa" | "San Marino" | "Sao Tome and Principe" | "Saudi Arabia" | "Senegal" | "Serbia" | "Seychelles" | "Sierra Leone" | "Singapore" | "Sint Maarten (Dutch part)" | "Slovakia" | "Slovenia" | "Solomon Islands" | "Somalia" | "South Africa" | "South Georgia and the South Sandwich Islands" | "South Sudan" | "Spain" | "Sri Lanka" | "Sudan" | "Suriname" | "Svalbard and Jan Mayen" | "Swaziland" | "Sweden" | "Switzerland" | "Syria" | "Taiwan" | "Tajikistan" | "Tanzania" | "Thailand" | "Timor-Leste" | "Togo" | "Tokelau" | "Tonga" | "Trinidad and Tobago" | "Tunisia" | "Turkey" | "Turkmenistan" | "Turks and Caicos Islands" | "Tuvalu" | "Uganda" | "Ukraine" | "United Arab Emirates" | "United Kingdom" | "United States" | "United States Minor Outlying Islands" | "Uruguay" | "Uzbekistan" | "Vanuatu" | "Venezuela, Bolivarian Republic of" | "Vietnam" | "Virgin Islands, British" | "Virgin Islands, U.S." | "Wallis and Futuna" | "Western Sahara" | "Yemen" | "Zambia" | "Zimbabwe";
622
+ country: string;
617
623
  title: string;
618
624
  order_number: string;
619
625
  shop: "Shopify" | "Amazon FBA" | "Amazon FBM" | "Otto";
626
+ is_sent_to_client: number;
627
+ is_sent_to_cc: number;
620
628
  created_with: "Amazon FBA" | "Amazon FBM" | "Serviceportal" | "Missive Sidebar";
621
629
  return_items: {
622
630
  item: string;
623
631
  return_quantity: number;
624
- is_complaint: boolean;
632
+ is_complaint: number;
625
633
  attachments?: string | null | undefined;
626
634
  internal_reasons?: string | null | undefined;
627
635
  line_item_id?: string | null | undefined;
@@ -635,12 +643,10 @@ export declare const ServicecaseInput: z.ZodObject<{
635
643
  external_id?: string | null | undefined;
636
644
  customer_email?: string | null | undefined;
637
645
  complaint_date?: string | null | undefined;
638
- is_sent_to_client?: boolean | null | undefined;
639
- is_sent_to_cc?: boolean | null | undefined;
640
646
  customer_message?: string | null | undefined;
641
647
  agreed_terms?: string | null | undefined;
642
648
  }, {
643
- country: "Afghanistan" | "Åland Islands" | "Albania" | "Algeria" | "American Samoa" | "Andorra" | "Angola" | "Anguilla" | "Antarctica" | "Antigua and Barbuda" | "Argentina" | "Armenia" | "Aruba" | "Australia" | "Austria" | "Azerbaijan" | "Bahamas" | "Bahrain" | "Bangladesh" | "Barbados" | "Belarus" | "Belgium" | "Belize" | "Benin" | "Bermuda" | "Bhutan" | "Bolivia, Plurinational State of" | "Bonaire, Sint Eustatius and Saba" | "Bosnia and Herzegovina" | "Botswana" | "Bouvet Island" | "Brazil" | "British Indian Ocean Territory" | "Brunei Darussalam" | "Bulgaria" | "Burkina Faso" | "Burundi" | "Cambodia" | "Cameroon" | "Canada" | "Cape Verde" | "Cayman Islands" | "Central African Republic" | "Chad" | "Chile" | "China" | "Christmas Island" | "Cocos (Keeling) Islands" | "Colombia" | "Comoros" | "Congo" | "Congo, The Democratic Republic of the" | "Cook Islands" | "Costa Rica" | "Croatia" | "Cuba" | "Curaçao" | "Cyprus" | "Czech Republic" | "Denmark" | "Djibouti" | "Dominica" | "Dominican Republic" | "Ecuador" | "Egypt" | "El Salvador" | "Equatorial Guinea" | "Eritrea" | "Estonia" | "Ethiopia" | "Falkland Islands (Malvinas)" | "Faroe Islands" | "Fiji" | "Finland" | "France" | "French Guiana" | "French Polynesia" | "French Southern Territories" | "Gabon" | "Gambia" | "Georgia" | "Germany" | "Ghana" | "Gibraltar" | "Greece" | "Greenland" | "Grenada" | "Guadeloupe" | "Guam" | "Guatemala" | "Guernsey" | "Guinea" | "Guinea-Bissau" | "Guyana" | "Haiti" | "Heard Island and McDonald Islands" | "Holy See (Vatican City State)" | "Honduras" | "Hong Kong" | "Hungary" | "Iceland" | "India" | "Indonesia" | "Iran" | "Iraq" | "Ireland" | "Isle of Man" | "Israel" | "Italy" | "Ivory Coast" | "Jamaica" | "Japan" | "Jersey" | "Jordan" | "Kazakhstan" | "Kenya" | "Kiribati" | "Korea, Democratic Peoples Republic of" | "Korea, Republic of" | "Kuwait" | "Kyrgyzstan" | "Lao Peoples Democratic Republic" | "Latvia" | "Lebanon" | "Lesotho" | "Liberia" | "Libya" | "Liechtenstein" | "Lithuania" | "Luxembourg" | "Macao" | "Macedonia" | "Madagascar" | "Malawi" | "Malaysia" | "Maldives" | "Mali" | "Malta" | "Marshall Islands" | "Martinique" | "Mauritania" | "Mauritius" | "Mayotte" | "Mexico" | "Micronesia, Federated States of" | "Moldova, Republic of" | "Monaco" | "Mongolia" | "Montenegro" | "Montserrat" | "Morocco" | "Mozambique" | "Myanmar" | "Namibia" | "Nauru" | "Nepal" | "Netherlands" | "New Caledonia" | "New Zealand" | "Nicaragua" | "Niger" | "Nigeria" | "Niue" | "Norfolk Island" | "Northern Mariana Islands" | "Norway" | "Oman" | "Pakistan" | "Palau" | "Palestinian Territory, Occupied" | "Panama" | "Papua New Guinea" | "Paraguay" | "Peru" | "Philippines" | "Pitcairn" | "Poland" | "Portugal" | "Puerto Rico" | "Qatar" | "Réunion" | "Romania" | "Russian Federation" | "Rwanda" | "Saint Barthélemy" | "Saint Helena, Ascension and Tristan da Cunha" | "Saint Kitts and Nevis" | "Saint Lucia" | "Saint Martin (French part)" | "Saint Pierre and Miquelon" | "Saint Vincent and the Grenadines" | "Samoa" | "San Marino" | "Sao Tome and Principe" | "Saudi Arabia" | "Senegal" | "Serbia" | "Seychelles" | "Sierra Leone" | "Singapore" | "Sint Maarten (Dutch part)" | "Slovakia" | "Slovenia" | "Solomon Islands" | "Somalia" | "South Africa" | "South Georgia and the South Sandwich Islands" | "South Sudan" | "Spain" | "Sri Lanka" | "Sudan" | "Suriname" | "Svalbard and Jan Mayen" | "Swaziland" | "Sweden" | "Switzerland" | "Syria" | "Taiwan" | "Tajikistan" | "Tanzania" | "Thailand" | "Timor-Leste" | "Togo" | "Tokelau" | "Tonga" | "Trinidad and Tobago" | "Tunisia" | "Turkey" | "Turkmenistan" | "Turks and Caicos Islands" | "Tuvalu" | "Uganda" | "Ukraine" | "United Arab Emirates" | "United Kingdom" | "United States" | "United States Minor Outlying Islands" | "Uruguay" | "Uzbekistan" | "Vanuatu" | "Venezuela, Bolivarian Republic of" | "Vietnam" | "Virgin Islands, British" | "Virgin Islands, U.S." | "Wallis and Futuna" | "Western Sahara" | "Yemen" | "Zambia" | "Zimbabwe";
649
+ country: string;
644
650
  title: string;
645
651
  order_number: string;
646
652
  shop: "Shopify" | "Amazon FBA" | "Amazon FBM" | "Otto";
@@ -677,12 +683,10 @@ export declare const ServicecaseExtended: z.ZodObject<{
677
683
  customer_email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
678
684
  status: z.ZodDefault<z.ZodEnum<["EDITING", "SUBMITTING", "VALIDATING", "REJECTED", "SHIPPING", "COMPLETED"]>>;
679
685
  complaint_date: z.ZodNullable<z.ZodOptional<z.ZodString>>;
680
- is_sent_to_client: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodNumber, boolean, number>, boolean, unknown>>>;
681
- is_sent_to_cc: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodNumber, boolean, number>, boolean, unknown>>>;
682
686
  customer_message: z.ZodNullable<z.ZodOptional<z.ZodString>>;
683
687
  agreed_terms: z.ZodNullable<z.ZodOptional<z.ZodString>>;
684
688
  created_with: z.ZodDefault<z.ZodEnum<["Serviceportal", "Missive Sidebar", "Amazon FBA", "Amazon FBM"]>>;
685
- country: z.ZodEnum<["Afghanistan", "Åland Islands", "Albania", "Algeria", "American Samoa", "Andorra", "Angola", "Anguilla", "Antarctica", "Antigua and Barbuda", "Argentina", "Armenia", "Aruba", "Australia", "Austria", "Azerbaijan", "Bahamas", "Bahrain", "Bangladesh", "Barbados", "Belarus", "Belgium", "Belize", "Benin", "Bermuda", "Bhutan", "Bolivia, Plurinational State of", "Bonaire, Sint Eustatius and Saba", "Bosnia and Herzegovina", "Botswana", "Bouvet Island", "Brazil", "British Indian Ocean Territory", "Brunei Darussalam", "Bulgaria", "Burkina Faso", "Burundi", "Cambodia", "Cameroon", "Canada", "Cape Verde", "Cayman Islands", "Central African Republic", "Chad", "Chile", "China", "Christmas Island", "Cocos (Keeling) Islands", "Colombia", "Comoros", "Congo", "Congo, The Democratic Republic of the", "Cook Islands", "Costa Rica", "Croatia", "Cuba", "Curaçao", "Cyprus", "Czech Republic", "Denmark", "Djibouti", "Dominica", "Dominican Republic", "Ecuador", "Egypt", "El Salvador", "Equatorial Guinea", "Eritrea", "Estonia", "Ethiopia", "Falkland Islands (Malvinas)", "Faroe Islands", "Fiji", "Finland", "France", "French Guiana", "French Polynesia", "French Southern Territories", "Gabon", "Gambia", "Georgia", "Germany", "Ghana", "Gibraltar", "Greece", "Greenland", "Grenada", "Guadeloupe", "Guam", "Guatemala", "Guernsey", "Guinea", "Guinea-Bissau", "Guyana", "Haiti", "Heard Island and McDonald Islands", "Holy See (Vatican City State)", "Honduras", "Hong Kong", "Hungary", "Iceland", "India", "Indonesia", "Iran", "Iraq", "Ireland", "Isle of Man", "Israel", "Italy", "Ivory Coast", "Jamaica", "Japan", "Jersey", "Jordan", "Kazakhstan", "Kenya", "Kiribati", "Korea, Democratic Peoples Republic of", "Korea, Republic of", "Kuwait", "Kyrgyzstan", "Lao Peoples Democratic Republic", "Latvia", "Lebanon", "Lesotho", "Liberia", "Libya", "Liechtenstein", "Lithuania", "Luxembourg", "Macao", "Macedonia", "Madagascar", "Malawi", "Malaysia", "Maldives", "Mali", "Malta", "Marshall Islands", "Martinique", "Mauritania", "Mauritius", "Mayotte", "Mexico", "Micronesia, Federated States of", "Moldova, Republic of", "Monaco", "Mongolia", "Montenegro", "Montserrat", "Morocco", "Mozambique", "Myanmar", "Namibia", "Nauru", "Nepal", "Netherlands", "New Caledonia", "New Zealand", "Nicaragua", "Niger", "Nigeria", "Niue", "Norfolk Island", "Northern Mariana Islands", "Norway", "Oman", "Pakistan", "Palau", "Palestinian Territory, Occupied", "Panama", "Papua New Guinea", "Paraguay", "Peru", "Philippines", "Pitcairn", "Poland", "Portugal", "Puerto Rico", "Qatar", "Réunion", "Romania", "Russian Federation", "Rwanda", "Saint Barthélemy", "Saint Helena, Ascension and Tristan da Cunha", "Saint Kitts and Nevis", "Saint Lucia", "Saint Martin (French part)", "Saint Pierre and Miquelon", "Saint Vincent and the Grenadines", "Samoa", "San Marino", "Sao Tome and Principe", "Saudi Arabia", "Senegal", "Serbia", "Seychelles", "Sierra Leone", "Singapore", "Sint Maarten (Dutch part)", "Slovakia", "Slovenia", "Solomon Islands", "Somalia", "South Africa", "South Georgia and the South Sandwich Islands", "South Sudan", "Spain", "Sri Lanka", "Sudan", "Suriname", "Svalbard and Jan Mayen", "Swaziland", "Sweden", "Switzerland", "Syria", "Taiwan", "Tajikistan", "Tanzania", "Thailand", "Timor-Leste", "Togo", "Tokelau", "Tonga", "Trinidad and Tobago", "Tunisia", "Turkey", "Turkmenistan", "Turks and Caicos Islands", "Tuvalu", "Uganda", "Ukraine", "United Arab Emirates", "United Kingdom", "United States", "United States Minor Outlying Islands", "Uruguay", "Uzbekistan", "Vanuatu", "Venezuela, Bolivarian Republic of", "Vietnam", "Virgin Islands, British", "Virgin Islands, U.S.", "Wallis and Futuna", "Western Sahara", "Yemen", "Zambia", "Zimbabwe"]>;
689
+ country: z.ZodString;
686
690
  name: z.ZodString;
687
691
  owner: z.ZodString;
688
692
  creation: z.ZodString;
@@ -695,7 +699,6 @@ export declare const ServicecaseExtended: z.ZodObject<{
695
699
  return_quantity: z.ZodNumber;
696
700
  total_price: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
697
701
  return_fee: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
698
- is_complaint: z.ZodEffects<z.ZodEffects<z.ZodNumber, boolean, number>, boolean, unknown>;
699
702
  servicecase_reason: z.ZodNullable<z.ZodOptional<z.ZodString>>;
700
703
  servicecase_solution: z.ZodNullable<z.ZodOptional<z.ZodString>>;
701
704
  batch_number: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -708,6 +711,7 @@ export declare const ServicecaseExtended: z.ZodObject<{
708
711
  modified_by: z.ZodString;
709
712
  idx: z.ZodNumber;
710
713
  attachments: z.ZodArray<z.ZodString, "many">;
714
+ is_complaint: z.ZodEffects<z.ZodNumber, boolean, number>;
711
715
  attachments_collection_name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
712
716
  internal_reasons: z.ZodArray<z.ZodString, "many">;
713
717
  internal_reasons_collection_name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -743,10 +747,10 @@ export declare const ServicecaseExtended: z.ZodObject<{
743
747
  internal_reasons: string[];
744
748
  item: string;
745
749
  return_quantity: number;
750
+ is_complaint: number;
746
751
  line_item_id?: string | null | undefined;
747
752
  total_price?: number | null | undefined;
748
753
  return_fee?: number | null | undefined;
749
- is_complaint?: unknown;
750
754
  servicecase_reason?: string | null | undefined;
751
755
  servicecase_solution?: string | null | undefined;
752
756
  batch_number?: string | null | undefined;
@@ -754,10 +758,12 @@ export declare const ServicecaseExtended: z.ZodObject<{
754
758
  attachments_collection_name?: string | null | undefined;
755
759
  internal_reasons_collection_name?: string | null | undefined;
756
760
  }>, "many">;
761
+ is_sent_to_client: z.ZodEffects<z.ZodNumber, boolean, number>;
762
+ is_sent_to_cc: z.ZodEffects<z.ZodNumber, boolean, number>;
757
763
  }, "strip", z.ZodTypeAny, {
758
764
  status: "EDITING" | "SUBMITTING" | "VALIDATING" | "REJECTED" | "SHIPPING" | "COMPLETED";
759
765
  name: string;
760
- country: "Afghanistan" | "Åland Islands" | "Albania" | "Algeria" | "American Samoa" | "Andorra" | "Angola" | "Anguilla" | "Antarctica" | "Antigua and Barbuda" | "Argentina" | "Armenia" | "Aruba" | "Australia" | "Austria" | "Azerbaijan" | "Bahamas" | "Bahrain" | "Bangladesh" | "Barbados" | "Belarus" | "Belgium" | "Belize" | "Benin" | "Bermuda" | "Bhutan" | "Bolivia, Plurinational State of" | "Bonaire, Sint Eustatius and Saba" | "Bosnia and Herzegovina" | "Botswana" | "Bouvet Island" | "Brazil" | "British Indian Ocean Territory" | "Brunei Darussalam" | "Bulgaria" | "Burkina Faso" | "Burundi" | "Cambodia" | "Cameroon" | "Canada" | "Cape Verde" | "Cayman Islands" | "Central African Republic" | "Chad" | "Chile" | "China" | "Christmas Island" | "Cocos (Keeling) Islands" | "Colombia" | "Comoros" | "Congo" | "Congo, The Democratic Republic of the" | "Cook Islands" | "Costa Rica" | "Croatia" | "Cuba" | "Curaçao" | "Cyprus" | "Czech Republic" | "Denmark" | "Djibouti" | "Dominica" | "Dominican Republic" | "Ecuador" | "Egypt" | "El Salvador" | "Equatorial Guinea" | "Eritrea" | "Estonia" | "Ethiopia" | "Falkland Islands (Malvinas)" | "Faroe Islands" | "Fiji" | "Finland" | "France" | "French Guiana" | "French Polynesia" | "French Southern Territories" | "Gabon" | "Gambia" | "Georgia" | "Germany" | "Ghana" | "Gibraltar" | "Greece" | "Greenland" | "Grenada" | "Guadeloupe" | "Guam" | "Guatemala" | "Guernsey" | "Guinea" | "Guinea-Bissau" | "Guyana" | "Haiti" | "Heard Island and McDonald Islands" | "Holy See (Vatican City State)" | "Honduras" | "Hong Kong" | "Hungary" | "Iceland" | "India" | "Indonesia" | "Iran" | "Iraq" | "Ireland" | "Isle of Man" | "Israel" | "Italy" | "Ivory Coast" | "Jamaica" | "Japan" | "Jersey" | "Jordan" | "Kazakhstan" | "Kenya" | "Kiribati" | "Korea, Democratic Peoples Republic of" | "Korea, Republic of" | "Kuwait" | "Kyrgyzstan" | "Lao Peoples Democratic Republic" | "Latvia" | "Lebanon" | "Lesotho" | "Liberia" | "Libya" | "Liechtenstein" | "Lithuania" | "Luxembourg" | "Macao" | "Macedonia" | "Madagascar" | "Malawi" | "Malaysia" | "Maldives" | "Mali" | "Malta" | "Marshall Islands" | "Martinique" | "Mauritania" | "Mauritius" | "Mayotte" | "Mexico" | "Micronesia, Federated States of" | "Moldova, Republic of" | "Monaco" | "Mongolia" | "Montenegro" | "Montserrat" | "Morocco" | "Mozambique" | "Myanmar" | "Namibia" | "Nauru" | "Nepal" | "Netherlands" | "New Caledonia" | "New Zealand" | "Nicaragua" | "Niger" | "Nigeria" | "Niue" | "Norfolk Island" | "Northern Mariana Islands" | "Norway" | "Oman" | "Pakistan" | "Palau" | "Palestinian Territory, Occupied" | "Panama" | "Papua New Guinea" | "Paraguay" | "Peru" | "Philippines" | "Pitcairn" | "Poland" | "Portugal" | "Puerto Rico" | "Qatar" | "Réunion" | "Romania" | "Russian Federation" | "Rwanda" | "Saint Barthélemy" | "Saint Helena, Ascension and Tristan da Cunha" | "Saint Kitts and Nevis" | "Saint Lucia" | "Saint Martin (French part)" | "Saint Pierre and Miquelon" | "Saint Vincent and the Grenadines" | "Samoa" | "San Marino" | "Sao Tome and Principe" | "Saudi Arabia" | "Senegal" | "Serbia" | "Seychelles" | "Sierra Leone" | "Singapore" | "Sint Maarten (Dutch part)" | "Slovakia" | "Slovenia" | "Solomon Islands" | "Somalia" | "South Africa" | "South Georgia and the South Sandwich Islands" | "South Sudan" | "Spain" | "Sri Lanka" | "Sudan" | "Suriname" | "Svalbard and Jan Mayen" | "Swaziland" | "Sweden" | "Switzerland" | "Syria" | "Taiwan" | "Tajikistan" | "Tanzania" | "Thailand" | "Timor-Leste" | "Togo" | "Tokelau" | "Tonga" | "Trinidad and Tobago" | "Tunisia" | "Turkey" | "Turkmenistan" | "Turks and Caicos Islands" | "Tuvalu" | "Uganda" | "Ukraine" | "United Arab Emirates" | "United Kingdom" | "United States" | "United States Minor Outlying Islands" | "Uruguay" | "Uzbekistan" | "Vanuatu" | "Venezuela, Bolivarian Republic of" | "Vietnam" | "Virgin Islands, British" | "Virgin Islands, U.S." | "Wallis and Futuna" | "Western Sahara" | "Yemen" | "Zambia" | "Zimbabwe";
766
+ country: string;
761
767
  owner: string;
762
768
  creation: string;
763
769
  modified: string;
@@ -765,6 +771,8 @@ export declare const ServicecaseExtended: z.ZodObject<{
765
771
  title: string;
766
772
  order_number: string;
767
773
  shop: "Shopify" | "Amazon FBA" | "Amazon FBM" | "Otto";
774
+ is_sent_to_client: boolean;
775
+ is_sent_to_cc: boolean;
768
776
  created_with: "Amazon FBA" | "Amazon FBM" | "Serviceportal" | "Missive Sidebar";
769
777
  return_items: {
770
778
  name: string;
@@ -791,13 +799,11 @@ export declare const ServicecaseExtended: z.ZodObject<{
791
799
  external_id?: string | null | undefined;
792
800
  customer_email?: string | null | undefined;
793
801
  complaint_date?: string | null | undefined;
794
- is_sent_to_client?: boolean | null | undefined;
795
- is_sent_to_cc?: boolean | null | undefined;
796
802
  customer_message?: string | null | undefined;
797
803
  agreed_terms?: string | null | undefined;
798
804
  }, {
799
805
  name: string;
800
- country: "Afghanistan" | "Åland Islands" | "Albania" | "Algeria" | "American Samoa" | "Andorra" | "Angola" | "Anguilla" | "Antarctica" | "Antigua and Barbuda" | "Argentina" | "Armenia" | "Aruba" | "Australia" | "Austria" | "Azerbaijan" | "Bahamas" | "Bahrain" | "Bangladesh" | "Barbados" | "Belarus" | "Belgium" | "Belize" | "Benin" | "Bermuda" | "Bhutan" | "Bolivia, Plurinational State of" | "Bonaire, Sint Eustatius and Saba" | "Bosnia and Herzegovina" | "Botswana" | "Bouvet Island" | "Brazil" | "British Indian Ocean Territory" | "Brunei Darussalam" | "Bulgaria" | "Burkina Faso" | "Burundi" | "Cambodia" | "Cameroon" | "Canada" | "Cape Verde" | "Cayman Islands" | "Central African Republic" | "Chad" | "Chile" | "China" | "Christmas Island" | "Cocos (Keeling) Islands" | "Colombia" | "Comoros" | "Congo" | "Congo, The Democratic Republic of the" | "Cook Islands" | "Costa Rica" | "Croatia" | "Cuba" | "Curaçao" | "Cyprus" | "Czech Republic" | "Denmark" | "Djibouti" | "Dominica" | "Dominican Republic" | "Ecuador" | "Egypt" | "El Salvador" | "Equatorial Guinea" | "Eritrea" | "Estonia" | "Ethiopia" | "Falkland Islands (Malvinas)" | "Faroe Islands" | "Fiji" | "Finland" | "France" | "French Guiana" | "French Polynesia" | "French Southern Territories" | "Gabon" | "Gambia" | "Georgia" | "Germany" | "Ghana" | "Gibraltar" | "Greece" | "Greenland" | "Grenada" | "Guadeloupe" | "Guam" | "Guatemala" | "Guernsey" | "Guinea" | "Guinea-Bissau" | "Guyana" | "Haiti" | "Heard Island and McDonald Islands" | "Holy See (Vatican City State)" | "Honduras" | "Hong Kong" | "Hungary" | "Iceland" | "India" | "Indonesia" | "Iran" | "Iraq" | "Ireland" | "Isle of Man" | "Israel" | "Italy" | "Ivory Coast" | "Jamaica" | "Japan" | "Jersey" | "Jordan" | "Kazakhstan" | "Kenya" | "Kiribati" | "Korea, Democratic Peoples Republic of" | "Korea, Republic of" | "Kuwait" | "Kyrgyzstan" | "Lao Peoples Democratic Republic" | "Latvia" | "Lebanon" | "Lesotho" | "Liberia" | "Libya" | "Liechtenstein" | "Lithuania" | "Luxembourg" | "Macao" | "Macedonia" | "Madagascar" | "Malawi" | "Malaysia" | "Maldives" | "Mali" | "Malta" | "Marshall Islands" | "Martinique" | "Mauritania" | "Mauritius" | "Mayotte" | "Mexico" | "Micronesia, Federated States of" | "Moldova, Republic of" | "Monaco" | "Mongolia" | "Montenegro" | "Montserrat" | "Morocco" | "Mozambique" | "Myanmar" | "Namibia" | "Nauru" | "Nepal" | "Netherlands" | "New Caledonia" | "New Zealand" | "Nicaragua" | "Niger" | "Nigeria" | "Niue" | "Norfolk Island" | "Northern Mariana Islands" | "Norway" | "Oman" | "Pakistan" | "Palau" | "Palestinian Territory, Occupied" | "Panama" | "Papua New Guinea" | "Paraguay" | "Peru" | "Philippines" | "Pitcairn" | "Poland" | "Portugal" | "Puerto Rico" | "Qatar" | "Réunion" | "Romania" | "Russian Federation" | "Rwanda" | "Saint Barthélemy" | "Saint Helena, Ascension and Tristan da Cunha" | "Saint Kitts and Nevis" | "Saint Lucia" | "Saint Martin (French part)" | "Saint Pierre and Miquelon" | "Saint Vincent and the Grenadines" | "Samoa" | "San Marino" | "Sao Tome and Principe" | "Saudi Arabia" | "Senegal" | "Serbia" | "Seychelles" | "Sierra Leone" | "Singapore" | "Sint Maarten (Dutch part)" | "Slovakia" | "Slovenia" | "Solomon Islands" | "Somalia" | "South Africa" | "South Georgia and the South Sandwich Islands" | "South Sudan" | "Spain" | "Sri Lanka" | "Sudan" | "Suriname" | "Svalbard and Jan Mayen" | "Swaziland" | "Sweden" | "Switzerland" | "Syria" | "Taiwan" | "Tajikistan" | "Tanzania" | "Thailand" | "Timor-Leste" | "Togo" | "Tokelau" | "Tonga" | "Trinidad and Tobago" | "Tunisia" | "Turkey" | "Turkmenistan" | "Turks and Caicos Islands" | "Tuvalu" | "Uganda" | "Ukraine" | "United Arab Emirates" | "United Kingdom" | "United States" | "United States Minor Outlying Islands" | "Uruguay" | "Uzbekistan" | "Vanuatu" | "Venezuela, Bolivarian Republic of" | "Vietnam" | "Virgin Islands, British" | "Virgin Islands, U.S." | "Wallis and Futuna" | "Western Sahara" | "Yemen" | "Zambia" | "Zimbabwe";
806
+ country: string;
801
807
  owner: string;
802
808
  creation: string;
803
809
  modified: string;
@@ -805,6 +811,8 @@ export declare const ServicecaseExtended: z.ZodObject<{
805
811
  title: string;
806
812
  order_number: string;
807
813
  shop: "Shopify" | "Amazon FBA" | "Amazon FBM" | "Otto";
814
+ is_sent_to_client: number;
815
+ is_sent_to_cc: number;
808
816
  return_items: {
809
817
  name: string;
810
818
  owner: string;
@@ -816,10 +824,10 @@ export declare const ServicecaseExtended: z.ZodObject<{
816
824
  internal_reasons: string[];
817
825
  item: string;
818
826
  return_quantity: number;
827
+ is_complaint: number;
819
828
  line_item_id?: string | null | undefined;
820
829
  total_price?: number | null | undefined;
821
830
  return_fee?: number | null | undefined;
822
- is_complaint?: unknown;
823
831
  servicecase_reason?: string | null | undefined;
824
832
  servicecase_solution?: string | null | undefined;
825
833
  batch_number?: string | null | undefined;
@@ -831,8 +839,6 @@ export declare const ServicecaseExtended: z.ZodObject<{
831
839
  external_id?: string | null | undefined;
832
840
  customer_email?: string | null | undefined;
833
841
  complaint_date?: string | null | undefined;
834
- is_sent_to_client?: unknown;
835
- is_sent_to_cc?: unknown;
836
842
  customer_message?: string | null | undefined;
837
843
  agreed_terms?: string | null | undefined;
838
844
  created_with?: "Amazon FBA" | "Amazon FBM" | "Serviceportal" | "Missive Sidebar" | undefined;
@@ -846,12 +852,10 @@ export declare const ServicecaseMethodResponse: z.ZodArray<z.ZodObject<{
846
852
  customer_email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
847
853
  status: z.ZodDefault<z.ZodEnum<["EDITING", "SUBMITTING", "VALIDATING", "REJECTED", "SHIPPING", "COMPLETED"]>>;
848
854
  complaint_date: z.ZodNullable<z.ZodOptional<z.ZodString>>;
849
- is_sent_to_client: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodNumber, boolean, number>, boolean, unknown>>>;
850
- is_sent_to_cc: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodNumber, boolean, number>, boolean, unknown>>>;
851
855
  customer_message: z.ZodNullable<z.ZodOptional<z.ZodString>>;
852
856
  agreed_terms: z.ZodNullable<z.ZodOptional<z.ZodString>>;
853
857
  created_with: z.ZodDefault<z.ZodEnum<["Serviceportal", "Missive Sidebar", "Amazon FBA", "Amazon FBM"]>>;
854
- country: z.ZodEnum<["Afghanistan", "Åland Islands", "Albania", "Algeria", "American Samoa", "Andorra", "Angola", "Anguilla", "Antarctica", "Antigua and Barbuda", "Argentina", "Armenia", "Aruba", "Australia", "Austria", "Azerbaijan", "Bahamas", "Bahrain", "Bangladesh", "Barbados", "Belarus", "Belgium", "Belize", "Benin", "Bermuda", "Bhutan", "Bolivia, Plurinational State of", "Bonaire, Sint Eustatius and Saba", "Bosnia and Herzegovina", "Botswana", "Bouvet Island", "Brazil", "British Indian Ocean Territory", "Brunei Darussalam", "Bulgaria", "Burkina Faso", "Burundi", "Cambodia", "Cameroon", "Canada", "Cape Verde", "Cayman Islands", "Central African Republic", "Chad", "Chile", "China", "Christmas Island", "Cocos (Keeling) Islands", "Colombia", "Comoros", "Congo", "Congo, The Democratic Republic of the", "Cook Islands", "Costa Rica", "Croatia", "Cuba", "Curaçao", "Cyprus", "Czech Republic", "Denmark", "Djibouti", "Dominica", "Dominican Republic", "Ecuador", "Egypt", "El Salvador", "Equatorial Guinea", "Eritrea", "Estonia", "Ethiopia", "Falkland Islands (Malvinas)", "Faroe Islands", "Fiji", "Finland", "France", "French Guiana", "French Polynesia", "French Southern Territories", "Gabon", "Gambia", "Georgia", "Germany", "Ghana", "Gibraltar", "Greece", "Greenland", "Grenada", "Guadeloupe", "Guam", "Guatemala", "Guernsey", "Guinea", "Guinea-Bissau", "Guyana", "Haiti", "Heard Island and McDonald Islands", "Holy See (Vatican City State)", "Honduras", "Hong Kong", "Hungary", "Iceland", "India", "Indonesia", "Iran", "Iraq", "Ireland", "Isle of Man", "Israel", "Italy", "Ivory Coast", "Jamaica", "Japan", "Jersey", "Jordan", "Kazakhstan", "Kenya", "Kiribati", "Korea, Democratic Peoples Republic of", "Korea, Republic of", "Kuwait", "Kyrgyzstan", "Lao Peoples Democratic Republic", "Latvia", "Lebanon", "Lesotho", "Liberia", "Libya", "Liechtenstein", "Lithuania", "Luxembourg", "Macao", "Macedonia", "Madagascar", "Malawi", "Malaysia", "Maldives", "Mali", "Malta", "Marshall Islands", "Martinique", "Mauritania", "Mauritius", "Mayotte", "Mexico", "Micronesia, Federated States of", "Moldova, Republic of", "Monaco", "Mongolia", "Montenegro", "Montserrat", "Morocco", "Mozambique", "Myanmar", "Namibia", "Nauru", "Nepal", "Netherlands", "New Caledonia", "New Zealand", "Nicaragua", "Niger", "Nigeria", "Niue", "Norfolk Island", "Northern Mariana Islands", "Norway", "Oman", "Pakistan", "Palau", "Palestinian Territory, Occupied", "Panama", "Papua New Guinea", "Paraguay", "Peru", "Philippines", "Pitcairn", "Poland", "Portugal", "Puerto Rico", "Qatar", "Réunion", "Romania", "Russian Federation", "Rwanda", "Saint Barthélemy", "Saint Helena, Ascension and Tristan da Cunha", "Saint Kitts and Nevis", "Saint Lucia", "Saint Martin (French part)", "Saint Pierre and Miquelon", "Saint Vincent and the Grenadines", "Samoa", "San Marino", "Sao Tome and Principe", "Saudi Arabia", "Senegal", "Serbia", "Seychelles", "Sierra Leone", "Singapore", "Sint Maarten (Dutch part)", "Slovakia", "Slovenia", "Solomon Islands", "Somalia", "South Africa", "South Georgia and the South Sandwich Islands", "South Sudan", "Spain", "Sri Lanka", "Sudan", "Suriname", "Svalbard and Jan Mayen", "Swaziland", "Sweden", "Switzerland", "Syria", "Taiwan", "Tajikistan", "Tanzania", "Thailand", "Timor-Leste", "Togo", "Tokelau", "Tonga", "Trinidad and Tobago", "Tunisia", "Turkey", "Turkmenistan", "Turks and Caicos Islands", "Tuvalu", "Uganda", "Ukraine", "United Arab Emirates", "United Kingdom", "United States", "United States Minor Outlying Islands", "Uruguay", "Uzbekistan", "Vanuatu", "Venezuela, Bolivarian Republic of", "Vietnam", "Virgin Islands, British", "Virgin Islands, U.S.", "Wallis and Futuna", "Western Sahara", "Yemen", "Zambia", "Zimbabwe"]>;
858
+ country: z.ZodString;
855
859
  name: z.ZodString;
856
860
  owner: z.ZodString;
857
861
  creation: z.ZodString;
@@ -864,7 +868,6 @@ export declare const ServicecaseMethodResponse: z.ZodArray<z.ZodObject<{
864
868
  return_quantity: z.ZodNumber;
865
869
  total_price: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
866
870
  return_fee: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
867
- is_complaint: z.ZodEffects<z.ZodEffects<z.ZodNumber, boolean, number>, boolean, unknown>;
868
871
  servicecase_reason: z.ZodNullable<z.ZodOptional<z.ZodString>>;
869
872
  servicecase_solution: z.ZodNullable<z.ZodOptional<z.ZodString>>;
870
873
  batch_number: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -877,6 +880,7 @@ export declare const ServicecaseMethodResponse: z.ZodArray<z.ZodObject<{
877
880
  modified_by: z.ZodString;
878
881
  idx: z.ZodNumber;
879
882
  attachments: z.ZodArray<z.ZodString, "many">;
883
+ is_complaint: z.ZodEffects<z.ZodNumber, boolean, number>;
880
884
  attachments_collection_name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
881
885
  internal_reasons: z.ZodArray<z.ZodString, "many">;
882
886
  internal_reasons_collection_name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -912,10 +916,10 @@ export declare const ServicecaseMethodResponse: z.ZodArray<z.ZodObject<{
912
916
  internal_reasons: string[];
913
917
  item: string;
914
918
  return_quantity: number;
919
+ is_complaint: number;
915
920
  line_item_id?: string | null | undefined;
916
921
  total_price?: number | null | undefined;
917
922
  return_fee?: number | null | undefined;
918
- is_complaint?: unknown;
919
923
  servicecase_reason?: string | null | undefined;
920
924
  servicecase_solution?: string | null | undefined;
921
925
  batch_number?: string | null | undefined;
@@ -923,10 +927,12 @@ export declare const ServicecaseMethodResponse: z.ZodArray<z.ZodObject<{
923
927
  attachments_collection_name?: string | null | undefined;
924
928
  internal_reasons_collection_name?: string | null | undefined;
925
929
  }>, "many">;
930
+ is_sent_to_client: z.ZodEffects<z.ZodNumber, boolean, number>;
931
+ is_sent_to_cc: z.ZodEffects<z.ZodNumber, boolean, number>;
926
932
  }, "strip", z.ZodTypeAny, {
927
933
  status: "EDITING" | "SUBMITTING" | "VALIDATING" | "REJECTED" | "SHIPPING" | "COMPLETED";
928
934
  name: string;
929
- country: "Afghanistan" | "Åland Islands" | "Albania" | "Algeria" | "American Samoa" | "Andorra" | "Angola" | "Anguilla" | "Antarctica" | "Antigua and Barbuda" | "Argentina" | "Armenia" | "Aruba" | "Australia" | "Austria" | "Azerbaijan" | "Bahamas" | "Bahrain" | "Bangladesh" | "Barbados" | "Belarus" | "Belgium" | "Belize" | "Benin" | "Bermuda" | "Bhutan" | "Bolivia, Plurinational State of" | "Bonaire, Sint Eustatius and Saba" | "Bosnia and Herzegovina" | "Botswana" | "Bouvet Island" | "Brazil" | "British Indian Ocean Territory" | "Brunei Darussalam" | "Bulgaria" | "Burkina Faso" | "Burundi" | "Cambodia" | "Cameroon" | "Canada" | "Cape Verde" | "Cayman Islands" | "Central African Republic" | "Chad" | "Chile" | "China" | "Christmas Island" | "Cocos (Keeling) Islands" | "Colombia" | "Comoros" | "Congo" | "Congo, The Democratic Republic of the" | "Cook Islands" | "Costa Rica" | "Croatia" | "Cuba" | "Curaçao" | "Cyprus" | "Czech Republic" | "Denmark" | "Djibouti" | "Dominica" | "Dominican Republic" | "Ecuador" | "Egypt" | "El Salvador" | "Equatorial Guinea" | "Eritrea" | "Estonia" | "Ethiopia" | "Falkland Islands (Malvinas)" | "Faroe Islands" | "Fiji" | "Finland" | "France" | "French Guiana" | "French Polynesia" | "French Southern Territories" | "Gabon" | "Gambia" | "Georgia" | "Germany" | "Ghana" | "Gibraltar" | "Greece" | "Greenland" | "Grenada" | "Guadeloupe" | "Guam" | "Guatemala" | "Guernsey" | "Guinea" | "Guinea-Bissau" | "Guyana" | "Haiti" | "Heard Island and McDonald Islands" | "Holy See (Vatican City State)" | "Honduras" | "Hong Kong" | "Hungary" | "Iceland" | "India" | "Indonesia" | "Iran" | "Iraq" | "Ireland" | "Isle of Man" | "Israel" | "Italy" | "Ivory Coast" | "Jamaica" | "Japan" | "Jersey" | "Jordan" | "Kazakhstan" | "Kenya" | "Kiribati" | "Korea, Democratic Peoples Republic of" | "Korea, Republic of" | "Kuwait" | "Kyrgyzstan" | "Lao Peoples Democratic Republic" | "Latvia" | "Lebanon" | "Lesotho" | "Liberia" | "Libya" | "Liechtenstein" | "Lithuania" | "Luxembourg" | "Macao" | "Macedonia" | "Madagascar" | "Malawi" | "Malaysia" | "Maldives" | "Mali" | "Malta" | "Marshall Islands" | "Martinique" | "Mauritania" | "Mauritius" | "Mayotte" | "Mexico" | "Micronesia, Federated States of" | "Moldova, Republic of" | "Monaco" | "Mongolia" | "Montenegro" | "Montserrat" | "Morocco" | "Mozambique" | "Myanmar" | "Namibia" | "Nauru" | "Nepal" | "Netherlands" | "New Caledonia" | "New Zealand" | "Nicaragua" | "Niger" | "Nigeria" | "Niue" | "Norfolk Island" | "Northern Mariana Islands" | "Norway" | "Oman" | "Pakistan" | "Palau" | "Palestinian Territory, Occupied" | "Panama" | "Papua New Guinea" | "Paraguay" | "Peru" | "Philippines" | "Pitcairn" | "Poland" | "Portugal" | "Puerto Rico" | "Qatar" | "Réunion" | "Romania" | "Russian Federation" | "Rwanda" | "Saint Barthélemy" | "Saint Helena, Ascension and Tristan da Cunha" | "Saint Kitts and Nevis" | "Saint Lucia" | "Saint Martin (French part)" | "Saint Pierre and Miquelon" | "Saint Vincent and the Grenadines" | "Samoa" | "San Marino" | "Sao Tome and Principe" | "Saudi Arabia" | "Senegal" | "Serbia" | "Seychelles" | "Sierra Leone" | "Singapore" | "Sint Maarten (Dutch part)" | "Slovakia" | "Slovenia" | "Solomon Islands" | "Somalia" | "South Africa" | "South Georgia and the South Sandwich Islands" | "South Sudan" | "Spain" | "Sri Lanka" | "Sudan" | "Suriname" | "Svalbard and Jan Mayen" | "Swaziland" | "Sweden" | "Switzerland" | "Syria" | "Taiwan" | "Tajikistan" | "Tanzania" | "Thailand" | "Timor-Leste" | "Togo" | "Tokelau" | "Tonga" | "Trinidad and Tobago" | "Tunisia" | "Turkey" | "Turkmenistan" | "Turks and Caicos Islands" | "Tuvalu" | "Uganda" | "Ukraine" | "United Arab Emirates" | "United Kingdom" | "United States" | "United States Minor Outlying Islands" | "Uruguay" | "Uzbekistan" | "Vanuatu" | "Venezuela, Bolivarian Republic of" | "Vietnam" | "Virgin Islands, British" | "Virgin Islands, U.S." | "Wallis and Futuna" | "Western Sahara" | "Yemen" | "Zambia" | "Zimbabwe";
935
+ country: string;
930
936
  owner: string;
931
937
  creation: string;
932
938
  modified: string;
@@ -934,6 +940,8 @@ export declare const ServicecaseMethodResponse: z.ZodArray<z.ZodObject<{
934
940
  title: string;
935
941
  order_number: string;
936
942
  shop: "Shopify" | "Amazon FBA" | "Amazon FBM" | "Otto";
943
+ is_sent_to_client: boolean;
944
+ is_sent_to_cc: boolean;
937
945
  created_with: "Amazon FBA" | "Amazon FBM" | "Serviceportal" | "Missive Sidebar";
938
946
  return_items: {
939
947
  name: string;
@@ -960,13 +968,11 @@ export declare const ServicecaseMethodResponse: z.ZodArray<z.ZodObject<{
960
968
  external_id?: string | null | undefined;
961
969
  customer_email?: string | null | undefined;
962
970
  complaint_date?: string | null | undefined;
963
- is_sent_to_client?: boolean | null | undefined;
964
- is_sent_to_cc?: boolean | null | undefined;
965
971
  customer_message?: string | null | undefined;
966
972
  agreed_terms?: string | null | undefined;
967
973
  }, {
968
974
  name: string;
969
- country: "Afghanistan" | "Åland Islands" | "Albania" | "Algeria" | "American Samoa" | "Andorra" | "Angola" | "Anguilla" | "Antarctica" | "Antigua and Barbuda" | "Argentina" | "Armenia" | "Aruba" | "Australia" | "Austria" | "Azerbaijan" | "Bahamas" | "Bahrain" | "Bangladesh" | "Barbados" | "Belarus" | "Belgium" | "Belize" | "Benin" | "Bermuda" | "Bhutan" | "Bolivia, Plurinational State of" | "Bonaire, Sint Eustatius and Saba" | "Bosnia and Herzegovina" | "Botswana" | "Bouvet Island" | "Brazil" | "British Indian Ocean Territory" | "Brunei Darussalam" | "Bulgaria" | "Burkina Faso" | "Burundi" | "Cambodia" | "Cameroon" | "Canada" | "Cape Verde" | "Cayman Islands" | "Central African Republic" | "Chad" | "Chile" | "China" | "Christmas Island" | "Cocos (Keeling) Islands" | "Colombia" | "Comoros" | "Congo" | "Congo, The Democratic Republic of the" | "Cook Islands" | "Costa Rica" | "Croatia" | "Cuba" | "Curaçao" | "Cyprus" | "Czech Republic" | "Denmark" | "Djibouti" | "Dominica" | "Dominican Republic" | "Ecuador" | "Egypt" | "El Salvador" | "Equatorial Guinea" | "Eritrea" | "Estonia" | "Ethiopia" | "Falkland Islands (Malvinas)" | "Faroe Islands" | "Fiji" | "Finland" | "France" | "French Guiana" | "French Polynesia" | "French Southern Territories" | "Gabon" | "Gambia" | "Georgia" | "Germany" | "Ghana" | "Gibraltar" | "Greece" | "Greenland" | "Grenada" | "Guadeloupe" | "Guam" | "Guatemala" | "Guernsey" | "Guinea" | "Guinea-Bissau" | "Guyana" | "Haiti" | "Heard Island and McDonald Islands" | "Holy See (Vatican City State)" | "Honduras" | "Hong Kong" | "Hungary" | "Iceland" | "India" | "Indonesia" | "Iran" | "Iraq" | "Ireland" | "Isle of Man" | "Israel" | "Italy" | "Ivory Coast" | "Jamaica" | "Japan" | "Jersey" | "Jordan" | "Kazakhstan" | "Kenya" | "Kiribati" | "Korea, Democratic Peoples Republic of" | "Korea, Republic of" | "Kuwait" | "Kyrgyzstan" | "Lao Peoples Democratic Republic" | "Latvia" | "Lebanon" | "Lesotho" | "Liberia" | "Libya" | "Liechtenstein" | "Lithuania" | "Luxembourg" | "Macao" | "Macedonia" | "Madagascar" | "Malawi" | "Malaysia" | "Maldives" | "Mali" | "Malta" | "Marshall Islands" | "Martinique" | "Mauritania" | "Mauritius" | "Mayotte" | "Mexico" | "Micronesia, Federated States of" | "Moldova, Republic of" | "Monaco" | "Mongolia" | "Montenegro" | "Montserrat" | "Morocco" | "Mozambique" | "Myanmar" | "Namibia" | "Nauru" | "Nepal" | "Netherlands" | "New Caledonia" | "New Zealand" | "Nicaragua" | "Niger" | "Nigeria" | "Niue" | "Norfolk Island" | "Northern Mariana Islands" | "Norway" | "Oman" | "Pakistan" | "Palau" | "Palestinian Territory, Occupied" | "Panama" | "Papua New Guinea" | "Paraguay" | "Peru" | "Philippines" | "Pitcairn" | "Poland" | "Portugal" | "Puerto Rico" | "Qatar" | "Réunion" | "Romania" | "Russian Federation" | "Rwanda" | "Saint Barthélemy" | "Saint Helena, Ascension and Tristan da Cunha" | "Saint Kitts and Nevis" | "Saint Lucia" | "Saint Martin (French part)" | "Saint Pierre and Miquelon" | "Saint Vincent and the Grenadines" | "Samoa" | "San Marino" | "Sao Tome and Principe" | "Saudi Arabia" | "Senegal" | "Serbia" | "Seychelles" | "Sierra Leone" | "Singapore" | "Sint Maarten (Dutch part)" | "Slovakia" | "Slovenia" | "Solomon Islands" | "Somalia" | "South Africa" | "South Georgia and the South Sandwich Islands" | "South Sudan" | "Spain" | "Sri Lanka" | "Sudan" | "Suriname" | "Svalbard and Jan Mayen" | "Swaziland" | "Sweden" | "Switzerland" | "Syria" | "Taiwan" | "Tajikistan" | "Tanzania" | "Thailand" | "Timor-Leste" | "Togo" | "Tokelau" | "Tonga" | "Trinidad and Tobago" | "Tunisia" | "Turkey" | "Turkmenistan" | "Turks and Caicos Islands" | "Tuvalu" | "Uganda" | "Ukraine" | "United Arab Emirates" | "United Kingdom" | "United States" | "United States Minor Outlying Islands" | "Uruguay" | "Uzbekistan" | "Vanuatu" | "Venezuela, Bolivarian Republic of" | "Vietnam" | "Virgin Islands, British" | "Virgin Islands, U.S." | "Wallis and Futuna" | "Western Sahara" | "Yemen" | "Zambia" | "Zimbabwe";
975
+ country: string;
970
976
  owner: string;
971
977
  creation: string;
972
978
  modified: string;
@@ -974,6 +980,8 @@ export declare const ServicecaseMethodResponse: z.ZodArray<z.ZodObject<{
974
980
  title: string;
975
981
  order_number: string;
976
982
  shop: "Shopify" | "Amazon FBA" | "Amazon FBM" | "Otto";
983
+ is_sent_to_client: number;
984
+ is_sent_to_cc: number;
977
985
  return_items: {
978
986
  name: string;
979
987
  owner: string;
@@ -985,10 +993,10 @@ export declare const ServicecaseMethodResponse: z.ZodArray<z.ZodObject<{
985
993
  internal_reasons: string[];
986
994
  item: string;
987
995
  return_quantity: number;
996
+ is_complaint: number;
988
997
  line_item_id?: string | null | undefined;
989
998
  total_price?: number | null | undefined;
990
999
  return_fee?: number | null | undefined;
991
- is_complaint?: unknown;
992
1000
  servicecase_reason?: string | null | undefined;
993
1001
  servicecase_solution?: string | null | undefined;
994
1002
  batch_number?: string | null | undefined;
@@ -1000,8 +1008,6 @@ export declare const ServicecaseMethodResponse: z.ZodArray<z.ZodObject<{
1000
1008
  external_id?: string | null | undefined;
1001
1009
  customer_email?: string | null | undefined;
1002
1010
  complaint_date?: string | null | undefined;
1003
- is_sent_to_client?: unknown;
1004
- is_sent_to_cc?: unknown;
1005
1011
  customer_message?: string | null | undefined;
1006
1012
  agreed_terms?: string | null | undefined;
1007
1013
  created_with?: "Amazon FBA" | "Amazon FBM" | "Serviceportal" | "Missive Sidebar" | undefined;
@@ -2,7 +2,6 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ServicecaseMethodResponse = exports.ServicecaseExtended = exports.ServicecaseInput = exports.Servicecase = exports.ServicecaseBase = exports.ReturnItemExtended = exports.ReturnItem = exports.ReturnItemInput = exports.ReturnItemBase = exports.UpdateInternalReasonCollectionInput = exports.InternalReasonCollection = exports.UpdateAttachmentCollectionInput = exports.AttachmentCollection = void 0;
4
4
  const zod_1 = require("zod");
5
- const Country_1 = require("./Country");
6
5
  const Shop = zod_1.z.enum(["Shopify", "Amazon FBA", "Amazon FBM", "Otto"]);
7
6
  const Status = zod_1.z.enum([
8
7
  "EDITING",
@@ -84,16 +83,17 @@ exports.ReturnItemBase = zod_1.z
84
83
  return_quantity: zod_1.z.number(),
85
84
  total_price: zod_1.z.number().optional().nullable(),
86
85
  return_fee: zod_1.z.number().optional().nullable(),
87
- is_complaint: zod_1.z.preprocess((val) => Number(val), zod_1.z.number().transform(Boolean)),
86
+ is_complaint: zod_1.z.number(),
88
87
  servicecase_reason: zod_1.z.string().optional().nullable(),
89
88
  servicecase_solution: zod_1.z.string().optional().nullable(),
90
89
  batch_number: zod_1.z.string().optional().nullable(),
91
90
  complaint_description: zod_1.z.string().optional().nullable(),
91
+ internal_reasons: zod_1.z.string().optional().nullable(),
92
+ attachments: zod_1.z.string().optional().nullable(),
92
93
  })
93
94
  .describe("ReturnItemBase");
94
95
  exports.ReturnItemInput = exports.ReturnItemBase.extend({
95
- internal_reasons: zod_1.z.string().optional().nullable(),
96
- attachments: zod_1.z.string().optional().nullable(),
96
+ is_complaint: zod_1.z.preprocess((i) => Number(i), zod_1.z.number()),
97
97
  }).describe("ReturnItemInput");
98
98
  exports.ReturnItem = exports.ReturnItemBase.extend({
99
99
  name: zod_1.z.string(),
@@ -102,8 +102,6 @@ exports.ReturnItem = exports.ReturnItemBase.extend({
102
102
  modified: zod_1.z.string(),
103
103
  modified_by: zod_1.z.string(),
104
104
  idx: zod_1.z.number(),
105
- internal_reasons: zod_1.z.string().optional().nullable(),
106
- attachments: zod_1.z.string().optional().nullable(),
107
105
  }).describe("ReturnItem");
108
106
  exports.ReturnItemExtended = exports.ReturnItemBase.extend({
109
107
  name: zod_1.z.string(),
@@ -113,6 +111,7 @@ exports.ReturnItemExtended = exports.ReturnItemBase.extend({
113
111
  modified_by: zod_1.z.string(),
114
112
  idx: zod_1.z.number(),
115
113
  attachments: zod_1.z.array(zod_1.z.string()),
114
+ is_complaint: zod_1.z.number().transform(Boolean),
116
115
  attachments_collection_name: zod_1.z.string().optional().nullable(),
117
116
  internal_reasons: zod_1.z.array(zod_1.z.string()),
118
117
  internal_reasons_collection_name: zod_1.z.string().optional().nullable(),
@@ -127,18 +126,12 @@ exports.ServicecaseBase = zod_1.z
127
126
  customer_email: zod_1.z.string().email().optional().nullable(),
128
127
  status: Status.default("EDITING"),
129
128
  complaint_date: zod_1.z.string().optional().nullable(),
130
- is_sent_to_client: zod_1.z
131
- .preprocess((val) => Number(val), zod_1.z.number().transform(Boolean))
132
- .optional()
133
- .nullable(),
134
- is_sent_to_cc: zod_1.z
135
- .preprocess((val) => Number(val), zod_1.z.number().transform(Boolean))
136
- .optional()
137
- .nullable(),
129
+ is_sent_to_client: zod_1.z.number().optional().nullable(),
130
+ is_sent_to_cc: zod_1.z.number().optional().nullable(),
138
131
  customer_message: zod_1.z.string().optional().nullable(),
139
132
  agreed_terms: zod_1.z.string().optional().nullable(),
140
133
  created_with: CreatedWith.default("Serviceportal"),
141
- country: Country_1.CountryEnum,
134
+ country: zod_1.z.string(),
142
135
  })
143
136
  .describe("Servicecase Base");
144
137
  exports.Servicecase = exports.ServicecaseBase.extend({
@@ -148,12 +141,18 @@ exports.Servicecase = exports.ServicecaseBase.extend({
148
141
  modified: zod_1.z.string(),
149
142
  modified_by: zod_1.z.string(),
150
143
  return_items: zod_1.z.array(exports.ReturnItem),
144
+ is_sent_to_client: zod_1.z.number().transform(Boolean),
145
+ is_sent_to_cc: zod_1.z.number().transform(Boolean),
151
146
  }).describe("Servicecase");
152
147
  exports.ServicecaseInput = exports.ServicecaseBase.extend({
153
148
  return_items: zod_1.z.array(exports.ReturnItemInput),
149
+ is_sent_to_client: zod_1.z.preprocess((i) => Number(i), zod_1.z.number()),
150
+ is_sent_to_cc: zod_1.z.preprocess((i) => Number(i), zod_1.z.number()),
154
151
  }).describe("ServicecaseInput");
155
152
  exports.ServicecaseExtended = exports.Servicecase.extend({
156
153
  return_items: zod_1.z.array(exports.ReturnItemExtended),
154
+ is_sent_to_client: zod_1.z.number().transform(Boolean),
155
+ is_sent_to_cc: zod_1.z.number().transform(Boolean),
157
156
  }).describe("ServicecaseExtended");
158
157
  exports.ServicecaseMethodResponse = zod_1.z
159
158
  .array(exports.ServicecaseExtended)
package/package.json CHANGED
@@ -25,7 +25,7 @@
25
25
  "winston": "^3.15.0",
26
26
  "zod": "^3.24.1"
27
27
  },
28
- "version": "1.22.1",
28
+ "version": "1.22.2",
29
29
  "devDependencies": {
30
30
  "@types/crypto-js": "^4.2.2",
31
31
  "@types/lodash": "^4.17.13",