erpnext-queue-client 1.22.0 → 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,33 +178,36 @@ 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;
184
190
  complaint_description?: string | null | undefined;
185
191
  }>;
192
+ export type ReturnItemBaseType = z.infer<typeof ReturnItemBase>;
186
193
  export declare const ReturnItemInput: z.ZodObject<{
187
194
  item: z.ZodString;
188
195
  line_item_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
189
196
  return_quantity: z.ZodNumber;
190
197
  total_price: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
191
198
  return_fee: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
192
- is_complaint: z.ZodEffects<z.ZodEffects<z.ZodNumber, boolean, number>, boolean, unknown>;
193
199
  servicecase_reason: z.ZodNullable<z.ZodOptional<z.ZodString>>;
194
200
  servicecase_solution: z.ZodNullable<z.ZodOptional<z.ZodString>>;
195
201
  batch_number: z.ZodNullable<z.ZodOptional<z.ZodString>>;
196
202
  complaint_description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
197
- } & {
198
203
  internal_reasons: z.ZodNullable<z.ZodOptional<z.ZodString>>;
199
204
  attachments: z.ZodNullable<z.ZodOptional<z.ZodString>>;
205
+ } & {
206
+ is_complaint: z.ZodEffects<z.ZodNumber, number, unknown>;
200
207
  }, "strip", z.ZodTypeAny, {
201
208
  item: string;
202
209
  return_quantity: number;
203
- is_complaint: boolean;
210
+ is_complaint: number;
204
211
  attachments?: string | null | undefined;
205
212
  internal_reasons?: string | null | undefined;
206
213
  line_item_id?: string | null | undefined;
@@ -224,17 +231,20 @@ export declare const ReturnItemInput: z.ZodObject<{
224
231
  batch_number?: string | null | undefined;
225
232
  complaint_description?: string | null | undefined;
226
233
  }>;
234
+ export type ReturnItemInputType = z.infer<typeof ReturnItemInput>;
227
235
  export declare const ReturnItem: z.ZodObject<{
228
236
  item: z.ZodString;
229
237
  line_item_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
230
238
  return_quantity: z.ZodNumber;
231
239
  total_price: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
232
240
  return_fee: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
233
- is_complaint: z.ZodEffects<z.ZodEffects<z.ZodNumber, boolean, number>, boolean, unknown>;
241
+ is_complaint: z.ZodNumber;
234
242
  servicecase_reason: z.ZodNullable<z.ZodOptional<z.ZodString>>;
235
243
  servicecase_solution: z.ZodNullable<z.ZodOptional<z.ZodString>>;
236
244
  batch_number: z.ZodNullable<z.ZodOptional<z.ZodString>>;
237
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>>;
238
248
  } & {
239
249
  name: z.ZodString;
240
250
  owner: z.ZodString;
@@ -242,8 +252,6 @@ export declare const ReturnItem: z.ZodObject<{
242
252
  modified: z.ZodString;
243
253
  modified_by: z.ZodString;
244
254
  idx: z.ZodNumber;
245
- internal_reasons: z.ZodNullable<z.ZodOptional<z.ZodString>>;
246
- attachments: z.ZodNullable<z.ZodOptional<z.ZodString>>;
247
255
  }, "strip", z.ZodTypeAny, {
248
256
  name: string;
249
257
  owner: string;
@@ -253,7 +261,7 @@ export declare const ReturnItem: z.ZodObject<{
253
261
  idx: number;
254
262
  item: string;
255
263
  return_quantity: number;
256
- is_complaint: boolean;
264
+ is_complaint: number;
257
265
  attachments?: string | null | undefined;
258
266
  internal_reasons?: string | null | undefined;
259
267
  line_item_id?: string | null | undefined;
@@ -272,24 +280,24 @@ export declare const ReturnItem: z.ZodObject<{
272
280
  idx: number;
273
281
  item: string;
274
282
  return_quantity: number;
283
+ is_complaint: number;
275
284
  attachments?: string | null | undefined;
276
285
  internal_reasons?: string | null | undefined;
277
286
  line_item_id?: string | null | undefined;
278
287
  total_price?: number | null | undefined;
279
288
  return_fee?: number | null | undefined;
280
- is_complaint?: unknown;
281
289
  servicecase_reason?: string | null | undefined;
282
290
  servicecase_solution?: string | null | undefined;
283
291
  batch_number?: string | null | undefined;
284
292
  complaint_description?: string | null | undefined;
285
293
  }>;
294
+ export type ReturnItemType = z.infer<typeof ReturnItem>;
286
295
  export declare const ReturnItemExtended: z.ZodObject<{
287
296
  item: z.ZodString;
288
297
  line_item_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
289
298
  return_quantity: z.ZodNumber;
290
299
  total_price: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
291
300
  return_fee: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
292
- is_complaint: z.ZodEffects<z.ZodEffects<z.ZodNumber, boolean, number>, boolean, unknown>;
293
301
  servicecase_reason: z.ZodNullable<z.ZodOptional<z.ZodString>>;
294
302
  servicecase_solution: z.ZodNullable<z.ZodOptional<z.ZodString>>;
295
303
  batch_number: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -302,6 +310,7 @@ export declare const ReturnItemExtended: z.ZodObject<{
302
310
  modified_by: z.ZodString;
303
311
  idx: z.ZodNumber;
304
312
  attachments: z.ZodArray<z.ZodString, "many">;
313
+ is_complaint: z.ZodEffects<z.ZodNumber, boolean, number>;
305
314
  attachments_collection_name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
306
315
  internal_reasons: z.ZodArray<z.ZodString, "many">;
307
316
  internal_reasons_collection_name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -337,10 +346,10 @@ export declare const ReturnItemExtended: z.ZodObject<{
337
346
  internal_reasons: string[];
338
347
  item: string;
339
348
  return_quantity: number;
349
+ is_complaint: number;
340
350
  line_item_id?: string | null | undefined;
341
351
  total_price?: number | null | undefined;
342
352
  return_fee?: number | null | undefined;
343
- is_complaint?: unknown;
344
353
  servicecase_reason?: string | null | undefined;
345
354
  servicecase_solution?: string | null | undefined;
346
355
  batch_number?: string | null | undefined;
@@ -348,6 +357,51 @@ export declare const ReturnItemExtended: z.ZodObject<{
348
357
  attachments_collection_name?: string | null | undefined;
349
358
  internal_reasons_collection_name?: string | null | undefined;
350
359
  }>;
360
+ export type ReturnItemExtendedType = z.infer<typeof ReturnItemExtended>;
361
+ export declare const ServicecaseBase: z.ZodObject<{
362
+ title: z.ZodString;
363
+ order_number: z.ZodString;
364
+ external_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
365
+ shop: z.ZodEnum<["Shopify", "Amazon FBA", "Amazon FBM", "Otto"]>;
366
+ customer_email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
367
+ status: z.ZodDefault<z.ZodEnum<["EDITING", "SUBMITTING", "VALIDATING", "REJECTED", "SHIPPING", "COMPLETED"]>>;
368
+ complaint_date: z.ZodNullable<z.ZodOptional<z.ZodString>>;
369
+ is_sent_to_client: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
370
+ is_sent_to_cc: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
371
+ customer_message: z.ZodNullable<z.ZodOptional<z.ZodString>>;
372
+ agreed_terms: z.ZodNullable<z.ZodOptional<z.ZodString>>;
373
+ created_with: z.ZodDefault<z.ZodEnum<["Serviceportal", "Missive Sidebar", "Amazon FBA", "Amazon FBM"]>>;
374
+ country: z.ZodString;
375
+ }, "strip", z.ZodTypeAny, {
376
+ status: "EDITING" | "SUBMITTING" | "VALIDATING" | "REJECTED" | "SHIPPING" | "COMPLETED";
377
+ country: string;
378
+ title: string;
379
+ order_number: string;
380
+ shop: "Shopify" | "Amazon FBA" | "Amazon FBM" | "Otto";
381
+ created_with: "Amazon FBA" | "Amazon FBM" | "Serviceportal" | "Missive Sidebar";
382
+ external_id?: string | null | undefined;
383
+ customer_email?: string | null | undefined;
384
+ complaint_date?: string | null | undefined;
385
+ is_sent_to_client?: number | null | undefined;
386
+ is_sent_to_cc?: number | null | undefined;
387
+ customer_message?: string | null | undefined;
388
+ agreed_terms?: string | null | undefined;
389
+ }, {
390
+ country: string;
391
+ title: string;
392
+ order_number: string;
393
+ shop: "Shopify" | "Amazon FBA" | "Amazon FBM" | "Otto";
394
+ status?: "EDITING" | "SUBMITTING" | "VALIDATING" | "REJECTED" | "SHIPPING" | "COMPLETED" | undefined;
395
+ external_id?: string | null | undefined;
396
+ customer_email?: string | null | undefined;
397
+ complaint_date?: string | null | undefined;
398
+ is_sent_to_client?: number | null | undefined;
399
+ is_sent_to_cc?: number | null | undefined;
400
+ customer_message?: string | null | undefined;
401
+ agreed_terms?: string | null | undefined;
402
+ created_with?: "Amazon FBA" | "Amazon FBM" | "Serviceportal" | "Missive Sidebar" | undefined;
403
+ }>;
404
+ export type ServicecaseBaseType = z.infer<typeof ServicecaseBase>;
351
405
  export declare const Servicecase: z.ZodObject<{
352
406
  title: z.ZodString;
353
407
  order_number: z.ZodString;
@@ -356,12 +410,10 @@ export declare const Servicecase: z.ZodObject<{
356
410
  customer_email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
357
411
  status: z.ZodDefault<z.ZodEnum<["EDITING", "SUBMITTING", "VALIDATING", "REJECTED", "SHIPPING", "COMPLETED"]>>;
358
412
  complaint_date: z.ZodNullable<z.ZodOptional<z.ZodString>>;
359
- is_sent_to_client: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodNumber, boolean, number>, boolean, unknown>>>;
360
- is_sent_to_cc: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodNumber, boolean, number>, boolean, unknown>>>;
361
413
  customer_message: z.ZodNullable<z.ZodOptional<z.ZodString>>;
362
414
  agreed_terms: z.ZodNullable<z.ZodOptional<z.ZodString>>;
363
415
  created_with: z.ZodDefault<z.ZodEnum<["Serviceportal", "Missive Sidebar", "Amazon FBA", "Amazon FBM"]>>;
364
- 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;
365
417
  } & {
366
418
  name: z.ZodString;
367
419
  owner: z.ZodString;
@@ -374,11 +426,13 @@ export declare const Servicecase: z.ZodObject<{
374
426
  return_quantity: z.ZodNumber;
375
427
  total_price: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
376
428
  return_fee: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
377
- is_complaint: z.ZodEffects<z.ZodEffects<z.ZodNumber, boolean, number>, boolean, unknown>;
429
+ is_complaint: z.ZodNumber;
378
430
  servicecase_reason: z.ZodNullable<z.ZodOptional<z.ZodString>>;
379
431
  servicecase_solution: z.ZodNullable<z.ZodOptional<z.ZodString>>;
380
432
  batch_number: z.ZodNullable<z.ZodOptional<z.ZodString>>;
381
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>>;
382
436
  } & {
383
437
  name: z.ZodString;
384
438
  owner: z.ZodString;
@@ -386,8 +440,6 @@ export declare const Servicecase: z.ZodObject<{
386
440
  modified: z.ZodString;
387
441
  modified_by: z.ZodString;
388
442
  idx: z.ZodNumber;
389
- internal_reasons: z.ZodNullable<z.ZodOptional<z.ZodString>>;
390
- attachments: z.ZodNullable<z.ZodOptional<z.ZodString>>;
391
443
  }, "strip", z.ZodTypeAny, {
392
444
  name: string;
393
445
  owner: string;
@@ -397,7 +449,7 @@ export declare const Servicecase: z.ZodObject<{
397
449
  idx: number;
398
450
  item: string;
399
451
  return_quantity: number;
400
- is_complaint: boolean;
452
+ is_complaint: number;
401
453
  attachments?: string | null | undefined;
402
454
  internal_reasons?: string | null | undefined;
403
455
  line_item_id?: string | null | undefined;
@@ -416,21 +468,23 @@ export declare const Servicecase: z.ZodObject<{
416
468
  idx: number;
417
469
  item: string;
418
470
  return_quantity: number;
471
+ is_complaint: number;
419
472
  attachments?: string | null | undefined;
420
473
  internal_reasons?: string | null | undefined;
421
474
  line_item_id?: string | null | undefined;
422
475
  total_price?: number | null | undefined;
423
476
  return_fee?: number | null | undefined;
424
- is_complaint?: unknown;
425
477
  servicecase_reason?: string | null | undefined;
426
478
  servicecase_solution?: string | null | undefined;
427
479
  batch_number?: string | null | undefined;
428
480
  complaint_description?: string | null | undefined;
429
481
  }>, "many">;
482
+ is_sent_to_client: z.ZodEffects<z.ZodNumber, boolean, number>;
483
+ is_sent_to_cc: z.ZodEffects<z.ZodNumber, boolean, number>;
430
484
  }, "strip", z.ZodTypeAny, {
431
485
  status: "EDITING" | "SUBMITTING" | "VALIDATING" | "REJECTED" | "SHIPPING" | "COMPLETED";
432
486
  name: string;
433
- 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;
434
488
  owner: string;
435
489
  creation: string;
436
490
  modified: string;
@@ -438,6 +492,8 @@ export declare const Servicecase: z.ZodObject<{
438
492
  title: string;
439
493
  order_number: string;
440
494
  shop: "Shopify" | "Amazon FBA" | "Amazon FBM" | "Otto";
495
+ is_sent_to_client: boolean;
496
+ is_sent_to_cc: boolean;
441
497
  created_with: "Amazon FBA" | "Amazon FBM" | "Serviceportal" | "Missive Sidebar";
442
498
  return_items: {
443
499
  name: string;
@@ -448,7 +504,7 @@ export declare const Servicecase: z.ZodObject<{
448
504
  idx: number;
449
505
  item: string;
450
506
  return_quantity: number;
451
- is_complaint: boolean;
507
+ is_complaint: number;
452
508
  attachments?: string | null | undefined;
453
509
  internal_reasons?: string | null | undefined;
454
510
  line_item_id?: string | null | undefined;
@@ -462,13 +518,11 @@ export declare const Servicecase: z.ZodObject<{
462
518
  external_id?: string | null | undefined;
463
519
  customer_email?: string | null | undefined;
464
520
  complaint_date?: string | null | undefined;
465
- is_sent_to_client?: boolean | null | undefined;
466
- is_sent_to_cc?: boolean | null | undefined;
467
521
  customer_message?: string | null | undefined;
468
522
  agreed_terms?: string | null | undefined;
469
523
  }, {
470
524
  name: string;
471
- 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;
472
526
  owner: string;
473
527
  creation: string;
474
528
  modified: string;
@@ -476,6 +530,8 @@ export declare const Servicecase: z.ZodObject<{
476
530
  title: string;
477
531
  order_number: string;
478
532
  shop: "Shopify" | "Amazon FBA" | "Amazon FBM" | "Otto";
533
+ is_sent_to_client: number;
534
+ is_sent_to_cc: number;
479
535
  return_items: {
480
536
  name: string;
481
537
  owner: string;
@@ -485,12 +541,12 @@ export declare const Servicecase: z.ZodObject<{
485
541
  idx: number;
486
542
  item: string;
487
543
  return_quantity: number;
544
+ is_complaint: number;
488
545
  attachments?: string | null | undefined;
489
546
  internal_reasons?: string | null | undefined;
490
547
  line_item_id?: string | null | undefined;
491
548
  total_price?: number | null | undefined;
492
549
  return_fee?: number | null | undefined;
493
- is_complaint?: unknown;
494
550
  servicecase_reason?: string | null | undefined;
495
551
  servicecase_solution?: string | null | undefined;
496
552
  batch_number?: string | null | undefined;
@@ -500,8 +556,6 @@ export declare const Servicecase: z.ZodObject<{
500
556
  external_id?: string | null | undefined;
501
557
  customer_email?: string | null | undefined;
502
558
  complaint_date?: string | null | undefined;
503
- is_sent_to_client?: unknown;
504
- is_sent_to_cc?: unknown;
505
559
  customer_message?: string | null | undefined;
506
560
  agreed_terms?: string | null | undefined;
507
561
  created_with?: "Amazon FBA" | "Amazon FBM" | "Serviceportal" | "Missive Sidebar" | undefined;
@@ -515,12 +569,10 @@ export declare const ServicecaseInput: z.ZodObject<{
515
569
  customer_email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
516
570
  status: z.ZodDefault<z.ZodEnum<["EDITING", "SUBMITTING", "VALIDATING", "REJECTED", "SHIPPING", "COMPLETED"]>>;
517
571
  complaint_date: z.ZodNullable<z.ZodOptional<z.ZodString>>;
518
- is_sent_to_client: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodNumber, boolean, number>, boolean, unknown>>>;
519
- is_sent_to_cc: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodNumber, boolean, number>, boolean, unknown>>>;
520
572
  customer_message: z.ZodNullable<z.ZodOptional<z.ZodString>>;
521
573
  agreed_terms: z.ZodNullable<z.ZodOptional<z.ZodString>>;
522
574
  created_with: z.ZodDefault<z.ZodEnum<["Serviceportal", "Missive Sidebar", "Amazon FBA", "Amazon FBM"]>>;
523
- 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;
524
576
  } & {
525
577
  return_items: z.ZodArray<z.ZodObject<{
526
578
  item: z.ZodString;
@@ -528,18 +580,18 @@ export declare const ServicecaseInput: z.ZodObject<{
528
580
  return_quantity: z.ZodNumber;
529
581
  total_price: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
530
582
  return_fee: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
531
- is_complaint: z.ZodEffects<z.ZodEffects<z.ZodNumber, boolean, number>, boolean, unknown>;
532
583
  servicecase_reason: z.ZodNullable<z.ZodOptional<z.ZodString>>;
533
584
  servicecase_solution: z.ZodNullable<z.ZodOptional<z.ZodString>>;
534
585
  batch_number: z.ZodNullable<z.ZodOptional<z.ZodString>>;
535
586
  complaint_description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
536
- } & {
537
587
  internal_reasons: z.ZodNullable<z.ZodOptional<z.ZodString>>;
538
588
  attachments: z.ZodNullable<z.ZodOptional<z.ZodString>>;
589
+ } & {
590
+ is_complaint: z.ZodEffects<z.ZodNumber, number, unknown>;
539
591
  }, "strip", z.ZodTypeAny, {
540
592
  item: string;
541
593
  return_quantity: number;
542
- is_complaint: boolean;
594
+ is_complaint: number;
543
595
  attachments?: string | null | undefined;
544
596
  internal_reasons?: string | null | undefined;
545
597
  line_item_id?: string | null | undefined;
@@ -563,17 +615,21 @@ export declare const ServicecaseInput: z.ZodObject<{
563
615
  batch_number?: string | null | undefined;
564
616
  complaint_description?: string | null | undefined;
565
617
  }>, "many">;
618
+ is_sent_to_client: z.ZodEffects<z.ZodNumber, number, unknown>;
619
+ is_sent_to_cc: z.ZodEffects<z.ZodNumber, number, unknown>;
566
620
  }, "strip", z.ZodTypeAny, {
567
621
  status: "EDITING" | "SUBMITTING" | "VALIDATING" | "REJECTED" | "SHIPPING" | "COMPLETED";
568
- 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;
569
623
  title: string;
570
624
  order_number: string;
571
625
  shop: "Shopify" | "Amazon FBA" | "Amazon FBM" | "Otto";
626
+ is_sent_to_client: number;
627
+ is_sent_to_cc: number;
572
628
  created_with: "Amazon FBA" | "Amazon FBM" | "Serviceportal" | "Missive Sidebar";
573
629
  return_items: {
574
630
  item: string;
575
631
  return_quantity: number;
576
- is_complaint: boolean;
632
+ is_complaint: number;
577
633
  attachments?: string | null | undefined;
578
634
  internal_reasons?: string | null | undefined;
579
635
  line_item_id?: string | null | undefined;
@@ -587,12 +643,10 @@ export declare const ServicecaseInput: z.ZodObject<{
587
643
  external_id?: string | null | undefined;
588
644
  customer_email?: string | null | undefined;
589
645
  complaint_date?: string | null | undefined;
590
- is_sent_to_client?: boolean | null | undefined;
591
- is_sent_to_cc?: boolean | null | undefined;
592
646
  customer_message?: string | null | undefined;
593
647
  agreed_terms?: string | null | undefined;
594
648
  }, {
595
- 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;
596
650
  title: string;
597
651
  order_number: string;
598
652
  shop: "Shopify" | "Amazon FBA" | "Amazon FBM" | "Otto";
@@ -629,12 +683,10 @@ export declare const ServicecaseExtended: z.ZodObject<{
629
683
  customer_email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
630
684
  status: z.ZodDefault<z.ZodEnum<["EDITING", "SUBMITTING", "VALIDATING", "REJECTED", "SHIPPING", "COMPLETED"]>>;
631
685
  complaint_date: z.ZodNullable<z.ZodOptional<z.ZodString>>;
632
- is_sent_to_client: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodNumber, boolean, number>, boolean, unknown>>>;
633
- is_sent_to_cc: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodNumber, boolean, number>, boolean, unknown>>>;
634
686
  customer_message: z.ZodNullable<z.ZodOptional<z.ZodString>>;
635
687
  agreed_terms: z.ZodNullable<z.ZodOptional<z.ZodString>>;
636
688
  created_with: z.ZodDefault<z.ZodEnum<["Serviceportal", "Missive Sidebar", "Amazon FBA", "Amazon FBM"]>>;
637
- 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;
638
690
  name: z.ZodString;
639
691
  owner: z.ZodString;
640
692
  creation: z.ZodString;
@@ -647,7 +699,6 @@ export declare const ServicecaseExtended: z.ZodObject<{
647
699
  return_quantity: z.ZodNumber;
648
700
  total_price: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
649
701
  return_fee: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
650
- is_complaint: z.ZodEffects<z.ZodEffects<z.ZodNumber, boolean, number>, boolean, unknown>;
651
702
  servicecase_reason: z.ZodNullable<z.ZodOptional<z.ZodString>>;
652
703
  servicecase_solution: z.ZodNullable<z.ZodOptional<z.ZodString>>;
653
704
  batch_number: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -660,6 +711,7 @@ export declare const ServicecaseExtended: z.ZodObject<{
660
711
  modified_by: z.ZodString;
661
712
  idx: z.ZodNumber;
662
713
  attachments: z.ZodArray<z.ZodString, "many">;
714
+ is_complaint: z.ZodEffects<z.ZodNumber, boolean, number>;
663
715
  attachments_collection_name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
664
716
  internal_reasons: z.ZodArray<z.ZodString, "many">;
665
717
  internal_reasons_collection_name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -695,10 +747,10 @@ export declare const ServicecaseExtended: z.ZodObject<{
695
747
  internal_reasons: string[];
696
748
  item: string;
697
749
  return_quantity: number;
750
+ is_complaint: number;
698
751
  line_item_id?: string | null | undefined;
699
752
  total_price?: number | null | undefined;
700
753
  return_fee?: number | null | undefined;
701
- is_complaint?: unknown;
702
754
  servicecase_reason?: string | null | undefined;
703
755
  servicecase_solution?: string | null | undefined;
704
756
  batch_number?: string | null | undefined;
@@ -706,10 +758,12 @@ export declare const ServicecaseExtended: z.ZodObject<{
706
758
  attachments_collection_name?: string | null | undefined;
707
759
  internal_reasons_collection_name?: string | null | undefined;
708
760
  }>, "many">;
761
+ is_sent_to_client: z.ZodEffects<z.ZodNumber, boolean, number>;
762
+ is_sent_to_cc: z.ZodEffects<z.ZodNumber, boolean, number>;
709
763
  }, "strip", z.ZodTypeAny, {
710
764
  status: "EDITING" | "SUBMITTING" | "VALIDATING" | "REJECTED" | "SHIPPING" | "COMPLETED";
711
765
  name: string;
712
- 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;
713
767
  owner: string;
714
768
  creation: string;
715
769
  modified: string;
@@ -717,6 +771,8 @@ export declare const ServicecaseExtended: z.ZodObject<{
717
771
  title: string;
718
772
  order_number: string;
719
773
  shop: "Shopify" | "Amazon FBA" | "Amazon FBM" | "Otto";
774
+ is_sent_to_client: boolean;
775
+ is_sent_to_cc: boolean;
720
776
  created_with: "Amazon FBA" | "Amazon FBM" | "Serviceportal" | "Missive Sidebar";
721
777
  return_items: {
722
778
  name: string;
@@ -743,13 +799,11 @@ export declare const ServicecaseExtended: z.ZodObject<{
743
799
  external_id?: string | null | undefined;
744
800
  customer_email?: string | null | undefined;
745
801
  complaint_date?: string | null | undefined;
746
- is_sent_to_client?: boolean | null | undefined;
747
- is_sent_to_cc?: boolean | null | undefined;
748
802
  customer_message?: string | null | undefined;
749
803
  agreed_terms?: string | null | undefined;
750
804
  }, {
751
805
  name: string;
752
- 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;
753
807
  owner: string;
754
808
  creation: string;
755
809
  modified: string;
@@ -757,6 +811,8 @@ export declare const ServicecaseExtended: z.ZodObject<{
757
811
  title: string;
758
812
  order_number: string;
759
813
  shop: "Shopify" | "Amazon FBA" | "Amazon FBM" | "Otto";
814
+ is_sent_to_client: number;
815
+ is_sent_to_cc: number;
760
816
  return_items: {
761
817
  name: string;
762
818
  owner: string;
@@ -768,10 +824,10 @@ export declare const ServicecaseExtended: z.ZodObject<{
768
824
  internal_reasons: string[];
769
825
  item: string;
770
826
  return_quantity: number;
827
+ is_complaint: number;
771
828
  line_item_id?: string | null | undefined;
772
829
  total_price?: number | null | undefined;
773
830
  return_fee?: number | null | undefined;
774
- is_complaint?: unknown;
775
831
  servicecase_reason?: string | null | undefined;
776
832
  servicecase_solution?: string | null | undefined;
777
833
  batch_number?: string | null | undefined;
@@ -783,8 +839,6 @@ export declare const ServicecaseExtended: z.ZodObject<{
783
839
  external_id?: string | null | undefined;
784
840
  customer_email?: string | null | undefined;
785
841
  complaint_date?: string | null | undefined;
786
- is_sent_to_client?: unknown;
787
- is_sent_to_cc?: unknown;
788
842
  customer_message?: string | null | undefined;
789
843
  agreed_terms?: string | null | undefined;
790
844
  created_with?: "Amazon FBA" | "Amazon FBM" | "Serviceportal" | "Missive Sidebar" | undefined;
@@ -798,12 +852,10 @@ export declare const ServicecaseMethodResponse: z.ZodArray<z.ZodObject<{
798
852
  customer_email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
799
853
  status: z.ZodDefault<z.ZodEnum<["EDITING", "SUBMITTING", "VALIDATING", "REJECTED", "SHIPPING", "COMPLETED"]>>;
800
854
  complaint_date: z.ZodNullable<z.ZodOptional<z.ZodString>>;
801
- is_sent_to_client: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodNumber, boolean, number>, boolean, unknown>>>;
802
- is_sent_to_cc: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodNumber, boolean, number>, boolean, unknown>>>;
803
855
  customer_message: z.ZodNullable<z.ZodOptional<z.ZodString>>;
804
856
  agreed_terms: z.ZodNullable<z.ZodOptional<z.ZodString>>;
805
857
  created_with: z.ZodDefault<z.ZodEnum<["Serviceportal", "Missive Sidebar", "Amazon FBA", "Amazon FBM"]>>;
806
- 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;
807
859
  name: z.ZodString;
808
860
  owner: z.ZodString;
809
861
  creation: z.ZodString;
@@ -816,7 +868,6 @@ export declare const ServicecaseMethodResponse: z.ZodArray<z.ZodObject<{
816
868
  return_quantity: z.ZodNumber;
817
869
  total_price: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
818
870
  return_fee: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
819
- is_complaint: z.ZodEffects<z.ZodEffects<z.ZodNumber, boolean, number>, boolean, unknown>;
820
871
  servicecase_reason: z.ZodNullable<z.ZodOptional<z.ZodString>>;
821
872
  servicecase_solution: z.ZodNullable<z.ZodOptional<z.ZodString>>;
822
873
  batch_number: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -829,6 +880,7 @@ export declare const ServicecaseMethodResponse: z.ZodArray<z.ZodObject<{
829
880
  modified_by: z.ZodString;
830
881
  idx: z.ZodNumber;
831
882
  attachments: z.ZodArray<z.ZodString, "many">;
883
+ is_complaint: z.ZodEffects<z.ZodNumber, boolean, number>;
832
884
  attachments_collection_name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
833
885
  internal_reasons: z.ZodArray<z.ZodString, "many">;
834
886
  internal_reasons_collection_name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -864,10 +916,10 @@ export declare const ServicecaseMethodResponse: z.ZodArray<z.ZodObject<{
864
916
  internal_reasons: string[];
865
917
  item: string;
866
918
  return_quantity: number;
919
+ is_complaint: number;
867
920
  line_item_id?: string | null | undefined;
868
921
  total_price?: number | null | undefined;
869
922
  return_fee?: number | null | undefined;
870
- is_complaint?: unknown;
871
923
  servicecase_reason?: string | null | undefined;
872
924
  servicecase_solution?: string | null | undefined;
873
925
  batch_number?: string | null | undefined;
@@ -875,10 +927,12 @@ export declare const ServicecaseMethodResponse: z.ZodArray<z.ZodObject<{
875
927
  attachments_collection_name?: string | null | undefined;
876
928
  internal_reasons_collection_name?: string | null | undefined;
877
929
  }>, "many">;
930
+ is_sent_to_client: z.ZodEffects<z.ZodNumber, boolean, number>;
931
+ is_sent_to_cc: z.ZodEffects<z.ZodNumber, boolean, number>;
878
932
  }, "strip", z.ZodTypeAny, {
879
933
  status: "EDITING" | "SUBMITTING" | "VALIDATING" | "REJECTED" | "SHIPPING" | "COMPLETED";
880
934
  name: string;
881
- 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;
882
936
  owner: string;
883
937
  creation: string;
884
938
  modified: string;
@@ -886,6 +940,8 @@ export declare const ServicecaseMethodResponse: z.ZodArray<z.ZodObject<{
886
940
  title: string;
887
941
  order_number: string;
888
942
  shop: "Shopify" | "Amazon FBA" | "Amazon FBM" | "Otto";
943
+ is_sent_to_client: boolean;
944
+ is_sent_to_cc: boolean;
889
945
  created_with: "Amazon FBA" | "Amazon FBM" | "Serviceportal" | "Missive Sidebar";
890
946
  return_items: {
891
947
  name: string;
@@ -912,13 +968,11 @@ export declare const ServicecaseMethodResponse: z.ZodArray<z.ZodObject<{
912
968
  external_id?: string | null | undefined;
913
969
  customer_email?: string | null | undefined;
914
970
  complaint_date?: string | null | undefined;
915
- is_sent_to_client?: boolean | null | undefined;
916
- is_sent_to_cc?: boolean | null | undefined;
917
971
  customer_message?: string | null | undefined;
918
972
  agreed_terms?: string | null | undefined;
919
973
  }, {
920
974
  name: string;
921
- 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;
922
976
  owner: string;
923
977
  creation: string;
924
978
  modified: string;
@@ -926,6 +980,8 @@ export declare const ServicecaseMethodResponse: z.ZodArray<z.ZodObject<{
926
980
  title: string;
927
981
  order_number: string;
928
982
  shop: "Shopify" | "Amazon FBA" | "Amazon FBM" | "Otto";
983
+ is_sent_to_client: number;
984
+ is_sent_to_cc: number;
929
985
  return_items: {
930
986
  name: string;
931
987
  owner: string;
@@ -937,10 +993,10 @@ export declare const ServicecaseMethodResponse: z.ZodArray<z.ZodObject<{
937
993
  internal_reasons: string[];
938
994
  item: string;
939
995
  return_quantity: number;
996
+ is_complaint: number;
940
997
  line_item_id?: string | null | undefined;
941
998
  total_price?: number | null | undefined;
942
999
  return_fee?: number | null | undefined;
943
- is_complaint?: unknown;
944
1000
  servicecase_reason?: string | null | undefined;
945
1001
  servicecase_solution?: string | null | undefined;
946
1002
  batch_number?: string | null | undefined;
@@ -952,8 +1008,6 @@ export declare const ServicecaseMethodResponse: z.ZodArray<z.ZodObject<{
952
1008
  external_id?: string | null | undefined;
953
1009
  customer_email?: string | null | undefined;
954
1010
  complaint_date?: string | null | undefined;
955
- is_sent_to_client?: unknown;
956
- is_sent_to_cc?: unknown;
957
1011
  customer_message?: string | null | undefined;
958
1012
  agreed_terms?: string | null | undefined;
959
1013
  created_with?: "Amazon FBA" | "Amazon FBM" | "Serviceportal" | "Missive Sidebar" | undefined;
@@ -1,8 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ServicecaseMethodResponse = exports.ServicecaseExtended = exports.ServicecaseInput = exports.Servicecase = exports.ReturnItemExtended = exports.ReturnItem = exports.ReturnItemInput = exports.ReturnItemBase = exports.UpdateInternalReasonCollectionInput = exports.InternalReasonCollection = exports.UpdateAttachmentCollectionInput = exports.AttachmentCollection = void 0;
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,17 +83,18 @@ 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(),
97
- });
96
+ is_complaint: zod_1.z.preprocess((i) => Number(i), zod_1.z.number()),
97
+ }).describe("ReturnItemInput");
98
98
  exports.ReturnItem = exports.ReturnItemBase.extend({
99
99
  name: zod_1.z.string(),
100
100
  owner: 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,12 +111,13 @@ 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(),
119
- });
118
+ }).describe("ReturnItemExtended");
120
119
  // Base type to prevent having to use omit combined with extend, not to be used directly
121
- const ServicecaseBase = zod_1.z
120
+ exports.ServicecaseBase = zod_1.z
122
121
  .object({
123
122
  title: zod_1.z.string(),
124
123
  order_number: zod_1.z.string(),
@@ -127,33 +126,33 @@ const 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
- exports.Servicecase = ServicecaseBase.extend({
137
+ exports.Servicecase = exports.ServicecaseBase.extend({
145
138
  name: zod_1.z.string(),
146
139
  owner: zod_1.z.string(),
147
140
  creation: zod_1.z.string(),
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
- exports.ServicecaseInput = ServicecaseBase.extend({
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.0",
28
+ "version": "1.22.2",
29
29
  "devDependencies": {
30
30
  "@types/crypto-js": "^4.2.2",
31
31
  "@types/lodash": "^4.17.13",