repzo 1.0.47 → 1.0.49

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.
@@ -3763,6 +3763,7 @@ export declare namespace Service {
3763
3763
  discounted_price: number;
3764
3764
  tax_amount: number;
3765
3765
  tax_total: number;
3766
+ class: string;
3766
3767
  discount_value: number;
3767
3768
  gross_value?: number;
3768
3769
  line_total?: number;
@@ -3855,6 +3856,7 @@ export declare namespace Service {
3855
3856
  lineTotalAfterDeduction?: number;
3856
3857
  company_namespace?: string[];
3857
3858
  note?: string;
3859
+ class: string;
3858
3860
  return_reason?: string | ReturnReason.Schema;
3859
3861
  }[];
3860
3862
  integration_meta?: {
@@ -3888,7 +3890,7 @@ export declare namespace Service {
3888
3890
  [key: string]: any;
3889
3891
  }[];
3890
3892
  visit_id?: string;
3891
- teams?: string[];
3893
+ teams?: string[] | Team.TeamSchema[];
3892
3894
  converter?: AdminCreator | RepCreator | ClientCreator;
3893
3895
  converted_proforma_serial_number?: SerialNumber;
3894
3896
  converted_proforma_return_serial_number?: SerialNumber;
@@ -3902,8 +3904,8 @@ export declare namespace Service {
3902
3904
  is_void?: boolean;
3903
3905
  due_date: string;
3904
3906
  return_serial_number?: SerialNumber;
3905
- origin_warehouse: string;
3906
- route?: string;
3907
+ origin_warehouse: string | Warehouse.WarehouseSchema;
3908
+ route?: string | Route.RouteSchema;
3907
3909
  paymentsData: {
3908
3910
  _id: string;
3909
3911
  invoice_value: number;
@@ -3990,7 +3992,7 @@ export declare namespace Service {
3990
3992
  tax_number?: string | Pick<Client.ClientSchema, "_id" | "tax_number">;
3991
3993
  };
3992
3994
  type InvoiceStatus = "paid" | "unpaid" | "partially_paid";
3993
- type PopulatedKeys = "client" | "tax_number" | "custom_status" | "return_reason";
3995
+ type PopulatedKeys = "client" | "tax_number" | "custom_status" | "return_reason" | "teams" | "warehouse" | "route";
3994
3996
  type SortingKeys = "line_total" | "product_name" | "variant_name" | "product_sku" | "product_barcode" | "variant_sku" | "variant_barcode";
3995
3997
  export namespace Find {
3996
3998
  type Params = DefaultPaginationQueryParams & {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "repzo",
3
- "version": "1.0.47",
3
+ "version": "1.0.49",
4
4
  "description": "Repzo TypeScript SDK",
5
5
  "main": "./lib/index.js",
6
6
  "type": "module",
@@ -4110,6 +4110,7 @@ export namespace Service {
4110
4110
  discounted_price: number;
4111
4111
  tax_amount: number;
4112
4112
  tax_total: number;
4113
+ class: string;
4113
4114
  discount_value: number;
4114
4115
  gross_value?: number;
4115
4116
  line_total?: number;
@@ -4190,6 +4191,7 @@ export namespace Service {
4190
4191
  lineTotalAfterDeduction?: number;
4191
4192
  company_namespace?: string[];
4192
4193
  note?: string;
4194
+ class: string;
4193
4195
  return_reason?: string | ReturnReason.Schema;
4194
4196
  }[];
4195
4197
  integration_meta?: { [key: string]: any };
@@ -4217,7 +4219,7 @@ export namespace Service {
4217
4219
  promotions: Promotion.Schema[];
4218
4220
  priceLists: { [key: string]: any }[];
4219
4221
  visit_id?: string;
4220
- teams?: string[];
4222
+ teams?: string[] | Team.TeamSchema[];
4221
4223
  converter?: AdminCreator | RepCreator | ClientCreator;
4222
4224
  converted_proforma_serial_number?: SerialNumber;
4223
4225
  converted_proforma_return_serial_number?: SerialNumber;
@@ -4231,8 +4233,8 @@ export namespace Service {
4231
4233
  is_void?: boolean;
4232
4234
  due_date: string;
4233
4235
  return_serial_number?: SerialNumber;
4234
- origin_warehouse: string;
4235
- route?: string;
4236
+ origin_warehouse: string | Warehouse.WarehouseSchema;
4237
+ route?: string | Route.RouteSchema;
4236
4238
  paymentsData: {
4237
4239
  _id: string;
4238
4240
  invoice_value: number;
@@ -4320,7 +4322,10 @@ export namespace Service {
4320
4322
  | "client"
4321
4323
  | "tax_number"
4322
4324
  | "custom_status"
4323
- | "return_reason";
4325
+ | "return_reason"
4326
+ | "teams"
4327
+ | "warehouse"
4328
+ | "route";
4324
4329
  type SortingKeys =
4325
4330
  | "line_total"
4326
4331
  | "product_name"