repzo 1.0.47 → 1.0.48
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.
- package/lib/index.d.ts +760 -373
- package/lib/index.js +1709 -1088
- package/lib/types/index.d.ts +5728 -5360
- package/package.json +1 -1
- package/src/types/index.ts +7 -4
package/package.json
CHANGED
package/src/types/index.ts
CHANGED
|
@@ -4217,7 +4217,7 @@ export namespace Service {
|
|
|
4217
4217
|
promotions: Promotion.Schema[];
|
|
4218
4218
|
priceLists: { [key: string]: any }[];
|
|
4219
4219
|
visit_id?: string;
|
|
4220
|
-
teams?: string[];
|
|
4220
|
+
teams?: string[] | Team.TeamSchema[];
|
|
4221
4221
|
converter?: AdminCreator | RepCreator | ClientCreator;
|
|
4222
4222
|
converted_proforma_serial_number?: SerialNumber;
|
|
4223
4223
|
converted_proforma_return_serial_number?: SerialNumber;
|
|
@@ -4231,8 +4231,8 @@ export namespace Service {
|
|
|
4231
4231
|
is_void?: boolean;
|
|
4232
4232
|
due_date: string;
|
|
4233
4233
|
return_serial_number?: SerialNumber;
|
|
4234
|
-
origin_warehouse: string;
|
|
4235
|
-
route?: string;
|
|
4234
|
+
origin_warehouse: string | Warehouse.WarehouseSchema;
|
|
4235
|
+
route?: string | Route.RouteSchema;
|
|
4236
4236
|
paymentsData: {
|
|
4237
4237
|
_id: string;
|
|
4238
4238
|
invoice_value: number;
|
|
@@ -4320,7 +4320,10 @@ export namespace Service {
|
|
|
4320
4320
|
| "client"
|
|
4321
4321
|
| "tax_number"
|
|
4322
4322
|
| "custom_status"
|
|
4323
|
-
| "return_reason"
|
|
4323
|
+
| "return_reason"
|
|
4324
|
+
| "teams"
|
|
4325
|
+
| "warehouse"
|
|
4326
|
+
| "route";
|
|
4324
4327
|
type SortingKeys =
|
|
4325
4328
|
| "line_total"
|
|
4326
4329
|
| "product_name"
|