repzo 1.0.94 → 1.0.96

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.
@@ -8358,7 +8358,22 @@ export declare namespace Service {
8358
8358
  receival_warehouse:
8359
8359
  | string
8360
8360
  | Pick<Warehouse.WarehouseSchema, "_id" | "code" | "type" | "name">;
8361
- asset_part: StringId | AssetPart.Data;
8361
+ asset_part:
8362
+ | StringId
8363
+ | (Pick<
8364
+ AssetPart.Data,
8365
+ | "name"
8366
+ | "local_name"
8367
+ | "barcode"
8368
+ | "model"
8369
+ | "asset_part_types"
8370
+ | "media"
8371
+ | "cover_photo"
8372
+ > & {
8373
+ asset_part_types?: AssetPartType.Data[];
8374
+ media?: MediaDoc[];
8375
+ cover_photo?: MediaDoc;
8376
+ });
8362
8377
  asset_part_name: string;
8363
8378
  qty: number;
8364
8379
  custom_status?:
@@ -8539,6 +8554,7 @@ export declare namespace Service {
8539
8554
  integration_meta?: {
8540
8555
  [key: string]: any;
8541
8556
  };
8557
+ workorder?: StringId;
8542
8558
  company_namespace: string[];
8543
8559
  createdAt: Date;
8544
8560
  updatedAt: Date;
@@ -8583,6 +8599,7 @@ export declare namespace Service {
8583
8599
  integration_meta?: {
8584
8600
  [key: string]: any;
8585
8601
  };
8602
+ workorder?: StringId | Workorder.WorkorderSchema;
8586
8603
  company_namespace: string[];
8587
8604
  createdAt: Date;
8588
8605
  updatedAt: Date;
@@ -8616,6 +8633,7 @@ export declare namespace Service {
8616
8633
  };
8617
8634
  asset_parts_count?: number;
8618
8635
  total_asset_parts_qty?: number;
8636
+ workorder?: StringId;
8619
8637
  company_namespace: string[];
8620
8638
  }
8621
8639
  interface UpdateBody {
@@ -8626,6 +8644,7 @@ export declare namespace Service {
8626
8644
  integration_meta?: {
8627
8645
  [key: string]: any;
8628
8646
  };
8647
+ workorder?: StringId;
8629
8648
  }
8630
8649
  namespace Find {
8631
8650
  type Params = DefaultPaginationQueryParams & {
@@ -8653,6 +8672,7 @@ export declare namespace Service {
8653
8672
  to_createdAt?: number;
8654
8673
  from_updatedAt?: number;
8655
8674
  to_updatedAt?: number;
8675
+ workorder?: StringId | StringId[];
8656
8676
  populatesKeys?: (
8657
8677
  | "asset_part"
8658
8678
  | "client"
@@ -8661,6 +8681,7 @@ export declare namespace Service {
8661
8681
  | "custom_status"
8662
8682
  | "media"
8663
8683
  | "signature"
8684
+ | "workorder"
8664
8685
  )[];
8665
8686
  sortBy?: {
8666
8687
  field: "_id" | "time" | "createdAt" | "updatedAt";
@@ -8942,6 +8963,8 @@ export declare namespace Service {
8942
8963
  | "warehouse"
8943
8964
  | "teams"
8944
8965
  | "custom_status"
8966
+ | "from"
8967
+ | "to"
8945
8968
  )[];
8946
8969
  sortBy?: {
8947
8970
  field: "_id" | "time" | "createdAt" | "updatedAt";
@@ -9036,6 +9059,7 @@ export declare namespace Service {
9036
9059
  message: string;
9037
9060
  [key: string]: any;
9038
9061
  }[];
9062
+ workorder?: StringId;
9039
9063
  company_namespace: string[];
9040
9064
  createdAt: Date;
9041
9065
  updatedAt: Date;
@@ -9094,6 +9118,7 @@ export declare namespace Service {
9094
9118
  message: string;
9095
9119
  [key: string]: any;
9096
9120
  }[];
9121
+ workorder?: StringId | Workorder.WorkorderSchema;
9097
9122
  company_namespace: string[];
9098
9123
  createdAt: Date;
9099
9124
  updatedAt: Date;
@@ -9130,6 +9155,7 @@ export declare namespace Service {
9130
9155
  };
9131
9156
  asset_part_units_count?: number;
9132
9157
  total_asset_part_units_qty?: number;
9158
+ workorder?: StringId;
9133
9159
  company_namespace: string[];
9134
9160
  }
9135
9161
  interface UpdateBody {
@@ -9180,6 +9206,7 @@ export declare namespace Service {
9180
9206
  isResubmitted?: boolean;
9181
9207
  note?: string;
9182
9208
  stage?: number;
9209
+ workorder?: StringId;
9183
9210
  company_namespace?: string[];
9184
9211
  createdAt?: Date;
9185
9212
  updatedAt?: Date;
@@ -9210,6 +9237,7 @@ export declare namespace Service {
9210
9237
  to_createdAt?: number;
9211
9238
  from_updatedAt?: number;
9212
9239
  to_updatedAt?: number;
9240
+ workorder?: StringId | StringId[];
9213
9241
  populatesKeys?: (
9214
9242
  | "client"
9215
9243
  | "asset_part_unit"
@@ -9218,6 +9246,7 @@ export declare namespace Service {
9218
9246
  | "custom_status"
9219
9247
  | "meadia"
9220
9248
  | "signature"
9249
+ | "workorder"
9221
9250
  )[];
9222
9251
  sortBy?: {
9223
9252
  field: "_id" | "time" | "createdAt" | "updatedAt";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "repzo",
3
- "version": "1.0.94",
3
+ "version": "1.0.96",
4
4
  "description": "Repzo TypeScript SDK",
5
5
  "main": "./lib/index.js",
6
6
  "type": "module",
@@ -8289,7 +8289,22 @@ export namespace Service {
8289
8289
  receival_warehouse:
8290
8290
  | string
8291
8291
  | Pick<Warehouse.WarehouseSchema, "_id" | "code" | "type" | "name">;
8292
- asset_part: StringId | AssetPart.Data;
8292
+ asset_part:
8293
+ | StringId
8294
+ | (Pick<
8295
+ AssetPart.Data,
8296
+ | "name"
8297
+ | "local_name"
8298
+ | "barcode"
8299
+ | "model"
8300
+ | "asset_part_types"
8301
+ | "media"
8302
+ | "cover_photo"
8303
+ > & {
8304
+ asset_part_types?: AssetPartType.Data[];
8305
+ media?: MediaDoc[];
8306
+ cover_photo?: MediaDoc;
8307
+ });
8293
8308
  asset_part_name: string;
8294
8309
  qty: number;
8295
8310
  custom_status?:
@@ -8466,6 +8481,7 @@ export namespace Service {
8466
8481
  asset_parts_count?: number;
8467
8482
  total_asset_parts_qty?: number;
8468
8483
  integration_meta?: { [key: string]: any };
8484
+ workorder?: StringId;
8469
8485
  company_namespace: string[];
8470
8486
  createdAt: Date;
8471
8487
  updatedAt: Date;
@@ -8508,6 +8524,7 @@ export namespace Service {
8508
8524
  asset_parts_count?: number;
8509
8525
  total_asset_parts_qty?: number;
8510
8526
  integration_meta?: { [key: string]: any };
8527
+ workorder?: StringId | Workorder.WorkorderSchema;
8511
8528
  company_namespace: string[];
8512
8529
  createdAt: Date;
8513
8530
  updatedAt: Date;
@@ -8539,6 +8556,7 @@ export namespace Service {
8539
8556
  integration_meta?: { [key: string]: any };
8540
8557
  asset_parts_count?: number;
8541
8558
  total_asset_parts_qty?: number;
8559
+ workorder?: StringId;
8542
8560
  company_namespace: string[];
8543
8561
  }
8544
8562
  export interface UpdateBody {
@@ -8547,6 +8565,7 @@ export namespace Service {
8547
8565
  custom_status?: StringId;
8548
8566
  media?: StringId[];
8549
8567
  integration_meta?: { [key: string]: any };
8568
+ workorder?: StringId;
8550
8569
  }
8551
8570
 
8552
8571
  export namespace Find {
@@ -8575,6 +8594,7 @@ export namespace Service {
8575
8594
  to_createdAt?: number;
8576
8595
  from_updatedAt?: number;
8577
8596
  to_updatedAt?: number;
8597
+ workorder?: StringId | StringId[];
8578
8598
  populatesKeys?: (
8579
8599
  | "asset_part"
8580
8600
  | "client"
@@ -8583,6 +8603,7 @@ export namespace Service {
8583
8603
  | "custom_status"
8584
8604
  | "media"
8585
8605
  | "signature"
8606
+ | "workorder"
8586
8607
  )[];
8587
8608
  sortBy?: {
8588
8609
  field: "_id" | "time" | "createdAt" | "updatedAt";
@@ -8903,6 +8924,7 @@ export namespace Service {
8903
8924
  total_asset_part_units_qty?: number;
8904
8925
  integration_meta?: { [key: string]: any };
8905
8926
  failed_reasons?: { code: string; message: string; [key: string]: any }[];
8927
+ workorder?: StringId;
8906
8928
  company_namespace: string[];
8907
8929
  createdAt: Date;
8908
8930
  updatedAt: Date;
@@ -8955,6 +8977,7 @@ export namespace Service {
8955
8977
  total_asset_part_units_qty?: number;
8956
8978
  integration_meta?: { [key: string]: any };
8957
8979
  failed_reasons?: { code: string; message: string; [key: string]: any }[];
8980
+ workorder?: StringId | Workorder.WorkorderSchema;
8958
8981
  company_namespace: string[];
8959
8982
  createdAt: Date;
8960
8983
  updatedAt: Date;
@@ -8989,6 +9012,7 @@ export namespace Service {
8989
9012
  integration_meta?: { [key: string]: any };
8990
9013
  asset_part_units_count?: number;
8991
9014
  total_asset_part_units_qty?: number;
9015
+ workorder?: StringId;
8992
9016
  company_namespace: string[];
8993
9017
  }
8994
9018
  export interface UpdateBody {
@@ -9033,6 +9057,7 @@ export namespace Service {
9033
9057
  isResubmitted?: boolean;
9034
9058
  note?: string;
9035
9059
  stage?: number;
9060
+ workorder?: StringId;
9036
9061
  company_namespace?: string[];
9037
9062
  createdAt?: Date;
9038
9063
  updatedAt?: Date;
@@ -9064,6 +9089,7 @@ export namespace Service {
9064
9089
  to_createdAt?: number;
9065
9090
  from_updatedAt?: number;
9066
9091
  to_updatedAt?: number;
9092
+ workorder?: StringId | StringId[];
9067
9093
  populatesKeys?: (
9068
9094
  | "client"
9069
9095
  | "asset_part_unit"
@@ -9072,6 +9098,7 @@ export namespace Service {
9072
9098
  | "custom_status"
9073
9099
  | "meadia"
9074
9100
  | "signature"
9101
+ | "workorder"
9075
9102
  )[];
9076
9103
  sortBy?: {
9077
9104
  field: "_id" | "time" | "createdAt" | "updatedAt";
@@ -10261,7 +10288,7 @@ export namespace Service {
10261
10288
  total_amount?: number;
10262
10289
  tax_amount?: number;
10263
10290
  discount_amount?: number;
10264
- },
10291
+ }
10265
10292
  ];
10266
10293
  total_amount?: number;
10267
10294
  total_tax?: number;