repzo 1.0.83 → 1.0.85

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.
@@ -1680,7 +1680,8 @@ export declare namespace Service {
1680
1680
  | "doc"
1681
1681
  | "docx"
1682
1682
  | "images"
1683
- | "zip";
1683
+ | "zip"
1684
+ | "pt";
1684
1685
  type ParentDocumentType =
1685
1686
  | "clients"
1686
1687
  | "asset"
@@ -1731,7 +1732,14 @@ export declare namespace Service {
1731
1732
  | "contract"
1732
1733
  | "contractInstallment"
1733
1734
  | "form"
1734
- | "paymentMethod";
1735
+ | "paymentMethod"
1736
+ | "aiObjectDetectionModelVersion"
1737
+ | "aiObjectDetectionTask"
1738
+ | "assetPart"
1739
+ | "assetPartReceival"
1740
+ | "assetPartUnit"
1741
+ | "returnAssetPartUnit"
1742
+ | "storeAssetPartUnit";
1735
1743
  type SourceEnums =
1736
1744
  | "product"
1737
1745
  | "variant"
@@ -1773,6 +1781,28 @@ export declare namespace Service {
1773
1781
  createdAt: string;
1774
1782
  updatedAt: string;
1775
1783
  }
1784
+ export interface Thumbnail {
1785
+ _id: StringId;
1786
+ ContentLength?: number;
1787
+ ETag?: string;
1788
+ ContentType?: string;
1789
+ Metadata?: {
1790
+ [key: string]: any;
1791
+ };
1792
+ key?: string;
1793
+ file_name: string;
1794
+ mime_type?: string;
1795
+ publicUrl?: string;
1796
+ type_name?: "FileAttachment" | "ImageAttachment";
1797
+ width?: number;
1798
+ height?: number;
1799
+ extension?: string;
1800
+ bucket_name?: string;
1801
+ region?: string;
1802
+ company_namespace: string[];
1803
+ createdAt: string;
1804
+ updatedAt: string;
1805
+ }
1776
1806
  export interface CreateBody {
1777
1807
  ContentLength?: number;
1778
1808
  ETag?: string;
@@ -3487,7 +3517,13 @@ export declare namespace Service {
3487
3517
  | "proformas"
3488
3518
  | "fullinvoices"
3489
3519
  | "transfers"
3490
- | "payments";
3520
+ | "payments"
3521
+ | "workorder"
3522
+ | "assetPartReceival"
3523
+ | "assetPartUnit"
3524
+ | "assetPartTransfer"
3525
+ | "returnAssetPartUnit"
3526
+ | "storeAssetPartUnit";
3491
3527
  export interface CustomStatusSchema {
3492
3528
  _id: string;
3493
3529
  name: string;
@@ -7981,7 +8017,6 @@ export declare namespace Service {
7981
8017
  search?: string;
7982
8018
  name?: string[] | string;
7983
8019
  color?: string[] | string;
7984
- local_name?: string[] | string;
7985
8020
  disabled?: boolean;
7986
8021
  from_updatedAt?: number;
7987
8022
  to_updatedAt?: number;
@@ -8060,8 +8095,8 @@ export declare namespace Service {
8060
8095
  integration_meta?: {
8061
8096
  [key: string]: any;
8062
8097
  };
8063
- media?: StringId[];
8064
- cover_photo?: StringId;
8098
+ media?: StringId[] | PopulatedMediaStorage[];
8099
+ cover_photo?: StringId | PopulatedMediaStorage;
8065
8100
  company_namespace: string[];
8066
8101
  createdAt: Date;
8067
8102
  updatedAt: Date;
@@ -8124,9 +8159,28 @@ export declare namespace Service {
8124
8159
  disabled?: boolean;
8125
8160
  from_updatedAt?: number;
8126
8161
  to_updatedAt?: number;
8162
+ from_createdAt?: number;
8163
+ to_createdAt?: number;
8127
8164
  asset_part_types?: string[] | string;
8128
8165
  assets?: string[] | string;
8129
8166
  asset_units?: string[] | string;
8167
+ populatesKeys?: (
8168
+ | "asset_part_types"
8169
+ | "assets"
8170
+ | "asset_units"
8171
+ | "media"
8172
+ | "cover_photo"
8173
+ )[];
8174
+ sortBy: {
8175
+ field:
8176
+ | "_id"
8177
+ | "name"
8178
+ | "barcode"
8179
+ | "model"
8180
+ | "createdAt"
8181
+ | "updatedAt";
8182
+ type: "asc" | "desc";
8183
+ }[];
8130
8184
  [key: string]: any;
8131
8185
  };
8132
8186
  interface Result extends DefaultPaginationResult {
@@ -8214,10 +8268,13 @@ export declare namespace Service {
8214
8268
  qty: number;
8215
8269
  custom_status?:
8216
8270
  | StringId
8217
- | Pick<CustomStatus.CustomStatusSchema, "_id" | "name" | "local_name">;
8271
+ | Pick<
8272
+ CustomStatus.CustomStatusSchema,
8273
+ "_id" | "name" | "local_name" | "code" | "color"
8274
+ >;
8218
8275
  receival_comment?: string;
8219
8276
  comment?: string;
8220
- media?: StringId[];
8277
+ media?: StringId[] | PopulatedMediaStorage[];
8221
8278
  teams?: StringId[] | Pick<Team.TeamSchema, "_id" | "name">[];
8222
8279
  integration_meta?: {
8223
8280
  [key: string]: any;
@@ -8272,11 +8329,27 @@ export declare namespace Service {
8272
8329
  to_qty?: number;
8273
8330
  qty?: number;
8274
8331
  custom_status?: StringId[] | StringId;
8332
+ directional_status?:
8333
+ | Data["directional_status"]
8334
+ | Data["directional_status"][];
8275
8335
  teams?: StringId[] | StringId;
8276
8336
  from_updatedAt?: number;
8277
8337
  to_updatedAt?: number;
8278
8338
  from_createdAt?: number;
8279
8339
  to_createdAt?: number;
8340
+ populatesKeys?: (
8341
+ | "asset_part_receival"
8342
+ | "asset_part"
8343
+ | "client"
8344
+ | "warehouse"
8345
+ | "teams"
8346
+ | "custom_status"
8347
+ | "media"
8348
+ )[];
8349
+ sortBy: {
8350
+ field: "_id" | "asset_part_index" | "createdAt" | "updatedAt";
8351
+ type: "asc" | "desc";
8352
+ }[];
8280
8353
  [key: string]: any;
8281
8354
  };
8282
8355
  interface Result extends DefaultPaginationResult {
@@ -8314,7 +8387,6 @@ export declare namespace Service {
8314
8387
  signature?: StringId;
8315
8388
  media?: StringId[];
8316
8389
  asset_parts: {
8317
- _id: StringId;
8318
8390
  asset_part: StringId;
8319
8391
  asset_part_name: string;
8320
8392
  qty: number;
@@ -8351,9 +8423,12 @@ export declare namespace Service {
8351
8423
  description?: string;
8352
8424
  custom_status?:
8353
8425
  | StringId
8354
- | Pick<CustomStatus.CustomStatusSchema, "_id" | "name" | "local_name">;
8355
- signature?: StringId;
8356
- media?: StringId[];
8426
+ | Pick<
8427
+ CustomStatus.CustomStatusSchema,
8428
+ "_id" | "name" | "local_name" | "code" | "color"
8429
+ >;
8430
+ signature?: StringId | PopulatedMediaStorage;
8431
+ media?: StringId[] | PopulatedMediaStorage[];
8357
8432
  asset_parts: {
8358
8433
  _id: StringId;
8359
8434
  asset_part: StringId | AssetPart.Data;
@@ -8402,6 +8477,7 @@ export declare namespace Service {
8402
8477
  company_namespace: string[];
8403
8478
  }
8404
8479
  interface UpdateBody {
8480
+ editor?: AdminOrRep;
8405
8481
  description?: string;
8406
8482
  custom_status?: StringId;
8407
8483
  media?: StringId[];
@@ -8432,6 +8508,19 @@ export declare namespace Service {
8432
8508
  to_createdAt?: number;
8433
8509
  from_updatedAt?: number;
8434
8510
  to_updatedAt?: number;
8511
+ populatesKeys?: (
8512
+ | "asset_part"
8513
+ | "client"
8514
+ | "warehouse"
8515
+ | "teams"
8516
+ | "custom_status"
8517
+ | "media"
8518
+ | "signature"
8519
+ )[];
8520
+ sortBy: {
8521
+ field: "_id" | "time" | "createdAt" | "updatedAt";
8522
+ type: "asc" | "desc";
8523
+ }[];
8435
8524
  [key: string]: any;
8436
8525
  };
8437
8526
  interface Result extends DefaultPaginationResult {
@@ -8499,6 +8588,7 @@ export declare namespace Service {
8499
8588
  asset_part_units: {
8500
8589
  asset_part_unit: StringId;
8501
8590
  qty: number;
8591
+ asset_part?: StringId;
8502
8592
  asset_part_name?: string;
8503
8593
  note?: string;
8504
8594
  splitted_from?: StringId;
@@ -8545,6 +8635,7 @@ export declare namespace Service {
8545
8635
  asset_part_units: {
8546
8636
  asset_part_unit: StringId | AssetPartUnit.Data;
8547
8637
  qty: number;
8638
+ asset_part?: StringId | AssetPart.Data;
8548
8639
  asset_part_name?: string;
8549
8640
  note?: string;
8550
8641
  splitted_from?: StringId | AssetPartUnit.Data;
@@ -8555,7 +8646,10 @@ export declare namespace Service {
8555
8646
  total_asset_part_units_qty?: number;
8556
8647
  custom_status?:
8557
8648
  | StringId
8558
- | Pick<CustomStatus.CustomStatusSchema, "_id" | "name" | "local_name">;
8649
+ | Pick<
8650
+ CustomStatus.CustomStatusSchema,
8651
+ "_id" | "name" | "local_name" | "code" | "color"
8652
+ >;
8559
8653
  description?: string;
8560
8654
  process_time?: number;
8561
8655
  visit_id?: string;
@@ -8581,6 +8675,7 @@ export declare namespace Service {
8581
8675
  asset_part_units: {
8582
8676
  asset_part_unit: StringId;
8583
8677
  qty: number;
8678
+ asset_part?: StringId;
8584
8679
  asset_part_name?: string;
8585
8680
  note?: string;
8586
8681
  }[];
@@ -8637,29 +8732,46 @@ export declare namespace Service {
8637
8732
  company_namespace?: string[];
8638
8733
  createdAt?: Date;
8639
8734
  updatedAt?: Date;
8735
+ isResubmitted?: boolean;
8736
+ note?: string;
8737
+ stage?: number;
8640
8738
  }
8641
8739
  namespace Find {
8642
8740
  type Params = DefaultPaginationQueryParams & {
8643
8741
  nodeCycles?: StringId[] | StringId;
8644
8742
  _id?: StringId[] | StringId;
8645
8743
  search?: string;
8744
+ serial_number?: string[] | string;
8646
8745
  "serial_number.formatted"?: string[] | string;
8647
8746
  sync_id?: string[] | string;
8648
- "creator._id"?: string[] | string;
8649
- type?: string[] | string;
8650
- from?: string[] | string;
8651
- to?: string[] | string;
8652
- teams?: string[] | string;
8747
+ creator?: StringId[] | StringId;
8748
+ creator_type?: Data["creator"]["type"] | Data["creator"]["type"][];
8749
+ "creator._id"?: StringId[] | StringId;
8750
+ type?: Data["type"][] | Data["type"];
8751
+ from?: StringId[] | StringId;
8752
+ to?: StringId[] | StringId;
8753
+ teams?: StringId[] | StringId;
8653
8754
  visit_id?: string[] | string;
8654
- custom_status?: string[] | string;
8755
+ custom_status?: StringId[] | StringId;
8655
8756
  transaction_processed?: boolean;
8656
- "asset_part_units.asset_part_unit"?: string[] | string;
8757
+ asset_part_unit?: StringId[] | StringId;
8758
+ "asset_part_units.asset_part_unit"?: StringId[] | StringId;
8657
8759
  from_time?: number;
8658
8760
  to_time?: number;
8659
8761
  from_createdAt?: number;
8660
8762
  to_createdAt?: number;
8661
8763
  from_updatedAt?: number;
8662
8764
  to_updatedAt?: number;
8765
+ populatesKeys?: (
8766
+ | "asset_part_unit"
8767
+ | "warehouse"
8768
+ | "teams"
8769
+ | "custom_status"
8770
+ )[];
8771
+ sortBy: {
8772
+ field: "_id" | "time" | "createdAt" | "updatedAt";
8773
+ type: "asc" | "desc";
8774
+ }[];
8663
8775
  [key: string]: any;
8664
8776
  };
8665
8777
  interface Result extends DefaultPaginationResult {
@@ -8703,14 +8815,13 @@ export declare namespace Service {
8703
8815
  };
8704
8816
  }
8705
8817
  }
8706
- namespace ReturnStoreAssetPartUnit {
8818
+ namespace ReturnAssetPartUnit {
8707
8819
  interface Data {
8708
8820
  _id: StringId;
8709
8821
  creator: AdminOrRep;
8710
8822
  editor?: AdminOrRep;
8711
8823
  sync_id: string;
8712
8824
  transaction_processed: boolean;
8713
- type: "returned" | "stored";
8714
8825
  client: StringId;
8715
8826
  client_name: string;
8716
8827
  warehouse: StringId;
@@ -8725,7 +8836,7 @@ export declare namespace Service {
8725
8836
  signature?: StringId;
8726
8837
  media?: StringId[];
8727
8838
  asset_part_units: {
8728
- _id: StringId;
8839
+ _id?: StringId;
8729
8840
  asset_part_unit: StringId;
8730
8841
  qty: number;
8731
8842
  asset_part?: StringId;
@@ -8748,7 +8859,6 @@ export declare namespace Service {
8748
8859
  editor?: AdminOrRep;
8749
8860
  sync_id: string;
8750
8861
  transaction_processed: boolean;
8751
- type: "returned" | "stored";
8752
8862
  client:
8753
8863
  | StringId
8754
8864
  | Pick<Client.ClientSchema, "_id" | "name" | "client_code">;
@@ -8765,9 +8875,12 @@ export declare namespace Service {
8765
8875
  description?: string;
8766
8876
  custom_status?:
8767
8877
  | StringId
8768
- | Pick<CustomStatus.CustomStatusSchema, "_id" | "name" | "local_name">;
8769
- signature?: StringId;
8770
- media?: StringId[];
8878
+ | Pick<
8879
+ CustomStatus.CustomStatusSchema,
8880
+ "_id" | "name" | "local_name" | "code" | "color"
8881
+ >;
8882
+ signature?: StringId | PopulatedMediaStorage;
8883
+ media?: StringId[] | PopulatedMediaStorage[];
8771
8884
  asset_part_units: {
8772
8885
  _id: StringId;
8773
8886
  asset_part_unit: StringId | AssetPartUnit.Data;
@@ -8775,6 +8888,7 @@ export declare namespace Service {
8775
8888
  asset_part?: StringId | AssetPart.Data;
8776
8889
  asset_part_name?: string;
8777
8890
  comment?: string;
8891
+ splitted_from?: StringId | AssetPartUnit.Data;
8778
8892
  }[];
8779
8893
  asset_part_units_count?: number;
8780
8894
  total_asset_part_units_qty?: number;
@@ -8788,23 +8902,221 @@ export declare namespace Service {
8788
8902
  interface CreateBody {
8789
8903
  creator?: AdminOrRep;
8790
8904
  editor?: AdminOrRep;
8791
- type: "returned" | "stored";
8792
8905
  sync_id: string;
8793
- transaction_processed: false;
8906
+ transaction_processed: boolean;
8794
8907
  serial_number?: SerialNumber;
8795
8908
  client: StringId;
8796
- client_name: string;
8909
+ client_name?: string;
8910
+ warehouse: StringId;
8911
+ warehouse_name?: string;
8912
+ teams?: StringId[];
8913
+ time: number;
8914
+ business_day?: string;
8915
+ visit_id?: string;
8916
+ description?: string;
8917
+ custom_status?: StringId;
8918
+ signature?: StringId;
8919
+ media?: StringId[];
8920
+ asset_part_units: {
8921
+ _id?: StringId;
8922
+ asset_part_unit: StringId;
8923
+ qty: number;
8924
+ asset_part?: StringId;
8925
+ asset_part_name?: string;
8926
+ comment?: string;
8927
+ }[];
8928
+ integration_meta?: {
8929
+ [key: string]: any;
8930
+ };
8931
+ asset_part_units_count?: number;
8932
+ total_asset_part_units_qty?: number;
8933
+ company_namespace: string[];
8934
+ }
8935
+ interface UpdateBody {
8936
+ editor?: AdminOrRep;
8937
+ description?: string;
8938
+ custom_status?: StringId;
8939
+ media?: StringId[];
8940
+ integration_meta?: {
8941
+ [key: string]: any;
8942
+ };
8943
+ }
8944
+ namespace Find {
8945
+ type Params = DefaultPaginationQueryParams & {
8946
+ _id?: StringId[] | StringId;
8947
+ search?: string;
8948
+ serial_number?: string[] | string;
8949
+ "serial_number.formatted"?: string[] | string;
8950
+ sync_id?: string[] | string;
8951
+ client?: StringId[] | StringId;
8952
+ warehouse?: StringId[] | StringId;
8953
+ "creator._id"?: StringId[] | StringId;
8954
+ "creator.type"?: string[] | string;
8955
+ creator?: StringId[] | StringId;
8956
+ creator_type?: string[] | string;
8957
+ teams?: StringId[] | StringId;
8958
+ visit_id?: string[] | string;
8959
+ custom_status?: StringId[] | StringId;
8960
+ asset_part_unit?: StringId[] | StringId;
8961
+ "asset_part_units.asset_part_unit"?: StringId[] | StringId;
8962
+ from_time?: number;
8963
+ to_time?: number;
8964
+ from_createdAt?: number;
8965
+ to_createdAt?: number;
8966
+ from_updatedAt?: number;
8967
+ to_updatedAt?: number;
8968
+ populatesKeys?: (
8969
+ | "client"
8970
+ | "asset_part_unit"
8971
+ | "warehouse"
8972
+ | "teams"
8973
+ | "custom_status"
8974
+ | "meadia"
8975
+ | "signature"
8976
+ )[];
8977
+ sortBy: {
8978
+ field: "_id" | "time" | "createdAt" | "updatedAt";
8979
+ type: "asc" | "desc";
8980
+ }[];
8981
+ [key: string]: any;
8982
+ };
8983
+ interface Result extends DefaultPaginationResult {
8984
+ data: Data[] | PopulatedDoc[];
8985
+ }
8986
+ }
8987
+ namespace Get {
8988
+ type ID = string;
8989
+ type Result = Data | PopulatedDoc;
8990
+ }
8991
+ namespace Create {
8992
+ type Body = CreateBody;
8993
+ type Result = Data;
8994
+ }
8995
+ namespace Update {
8996
+ type ID = string;
8997
+ type Body = UpdateBody;
8998
+ type Result = Data;
8999
+ }
9000
+ namespace Patch {
9001
+ type Params = {
9002
+ updateStatus: true;
9003
+ };
9004
+ type Body = {
9005
+ readQuery: [
9006
+ {
9007
+ key: "_id";
9008
+ operator: "in";
9009
+ value: StringId[];
9010
+ }
9011
+ ];
9012
+ writeQuery: {
9013
+ key: "custom_status";
9014
+ command: "set";
9015
+ value: StringId;
9016
+ };
9017
+ };
9018
+ type Result = {
9019
+ nFound: number;
9020
+ nModified: number;
9021
+ };
9022
+ }
9023
+ }
9024
+ namespace StoreAssetPartUnit {
9025
+ interface Data {
9026
+ _id: StringId;
9027
+ creator: AdminOrRep;
9028
+ editor?: AdminOrRep;
9029
+ sync_id: string;
9030
+ transaction_processed: boolean;
8797
9031
  warehouse: StringId;
8798
9032
  warehouse_name: string;
8799
9033
  teams?: StringId[];
8800
9034
  time: number;
8801
9035
  business_day?: string;
8802
9036
  visit_id?: string;
9037
+ serial_number: SerialNumber;
8803
9038
  description?: string;
8804
9039
  custom_status?: StringId;
8805
9040
  signature?: StringId;
8806
9041
  media?: StringId[];
8807
9042
  asset_part_units: {
9043
+ _id?: StringId;
9044
+ asset_part_unit: StringId;
9045
+ qty: number;
9046
+ asset_part?: StringId;
9047
+ asset_part_name?: string;
9048
+ comment?: string;
9049
+ splitted_from?: StringId;
9050
+ }[];
9051
+ asset_part_units_count?: number;
9052
+ total_asset_part_units_qty?: number;
9053
+ integration_meta?: {
9054
+ [key: string]: any;
9055
+ };
9056
+ company_namespace: string[];
9057
+ createdAt: Date;
9058
+ updatedAt: Date;
9059
+ }
9060
+ interface PopulatedDoc {
9061
+ _id: StringId;
9062
+ creator: AdminOrRep;
9063
+ editor?: AdminOrRep;
9064
+ sync_id: string;
9065
+ transaction_processed: boolean;
9066
+ warehouse:
9067
+ | StringId
9068
+ | Pick<Warehouse.WarehouseSchema, "_id" | "code" | "type" | "name">;
9069
+ warehouse_name: string;
9070
+ teams?: StringId[] | Pick<Team.TeamSchema, "_id" | "name">[];
9071
+ time: number;
9072
+ business_day?: string;
9073
+ visit_id?: string;
9074
+ serial_number: SerialNumber;
9075
+ description?: string;
9076
+ custom_status?:
9077
+ | StringId
9078
+ | Pick<
9079
+ CustomStatus.CustomStatusSchema,
9080
+ "_id" | "name" | "local_name" | "code" | "color"
9081
+ >;
9082
+ signature?: StringId | PopulatedMediaStorage;
9083
+ media?: StringId[] | PopulatedMediaStorage[];
9084
+ asset_part_units: {
9085
+ _id: StringId;
9086
+ asset_part_unit: StringId | AssetPartUnit.Data;
9087
+ qty: number;
9088
+ asset_part?: StringId | AssetPart.Data;
9089
+ asset_part_name?: string;
9090
+ comment?: string;
9091
+ splitted_from?: StringId | AssetPartUnit.Data;
9092
+ }[];
9093
+ asset_part_units_count?: number;
9094
+ total_asset_part_units_qty?: number;
9095
+ integration_meta?: {
9096
+ [key: string]: any;
9097
+ };
9098
+ company_namespace: string[];
9099
+ createdAt: Date;
9100
+ updatedAt: Date;
9101
+ }
9102
+ interface CreateBody {
9103
+ creator?: AdminOrRep;
9104
+ editor?: AdminOrRep;
9105
+ sync_id: string;
9106
+ transaction_processed: boolean;
9107
+ serial_number?: SerialNumber;
9108
+ warehouse: StringId;
9109
+ warehouse_name?: string;
9110
+ teams?: StringId[];
9111
+ time: number;
9112
+ business_day?: string;
9113
+ visit_id?: string;
9114
+ description?: string;
9115
+ custom_status?: StringId;
9116
+ signature?: StringId;
9117
+ media?: StringId[];
9118
+ asset_part_units: {
9119
+ _id?: StringId;
8808
9120
  asset_part_unit: StringId;
8809
9121
  qty: number;
8810
9122
  asset_part?: StringId;
@@ -8819,6 +9131,7 @@ export declare namespace Service {
8819
9131
  company_namespace: string[];
8820
9132
  }
8821
9133
  interface UpdateBody {
9134
+ editor?: AdminOrRep;
8822
9135
  description?: string;
8823
9136
  custom_status?: StringId;
8824
9137
  media?: StringId[];
@@ -8830,22 +9143,37 @@ export declare namespace Service {
8830
9143
  type Params = DefaultPaginationQueryParams & {
8831
9144
  _id?: StringId[] | StringId;
8832
9145
  search?: string;
9146
+ serial_number?: string[] | string;
8833
9147
  "serial_number.formatted"?: string[] | string;
8834
9148
  sync_id?: string[] | string;
8835
- client?: string[] | string;
8836
- warehouse?: string[] | string;
8837
- "creator._id"?: string[] | string;
8838
- teams?: string[] | string;
9149
+ warehouse?: StringId[] | StringId;
9150
+ creator?: StringId[] | StringId;
9151
+ creator_type?: string[] | string;
9152
+ "creator._id"?: StringId[] | StringId;
9153
+ "creator.type"?: string[] | string;
9154
+ teams?: StringId[] | StringId;
8839
9155
  visit_id?: string[] | string;
8840
- custom_status?: string[] | string;
8841
- "asset_parts.asset_part"?: string[] | string;
8842
- "asset_parts.asset_part_unit"?: string[] | string;
9156
+ custom_status?: StringId[] | StringId;
9157
+ "asset_part_units.asset_part_unit"?: StringId[] | StringId;
9158
+ asset_part_unit?: StringId[] | StringId;
8843
9159
  from_time?: number;
8844
9160
  to_time?: number;
8845
9161
  from_createdAt?: number;
8846
9162
  to_createdAt?: number;
8847
9163
  from_updatedAt?: number;
8848
9164
  to_updatedAt?: number;
9165
+ populatesKeys?: (
9166
+ | "asset_part_unit"
9167
+ | "warehouse"
9168
+ | "teams"
9169
+ | "custom_status"
9170
+ | "meadia"
9171
+ | "signature"
9172
+ )[];
9173
+ sortBy: {
9174
+ field: "_id" | "time" | "createdAt" | "updatedAt";
9175
+ type: "asc" | "desc";
9176
+ }[];
8849
9177
  [key: string]: any;
8850
9178
  };
8851
9179
  interface Result extends DefaultPaginationResult {
@@ -8899,4 +9227,29 @@ export interface AdminOrRep {
8899
9227
  admin?: StringId;
8900
9228
  rep?: StringId;
8901
9229
  }
9230
+ declare type PopulatedMediaStorage = Pick<
9231
+ Service.MediaStorage.MediaStorageSchema,
9232
+ | "_id"
9233
+ | "createdAt"
9234
+ | "ContentType"
9235
+ | "media_type"
9236
+ | "mime_type"
9237
+ | "publicUrl"
9238
+ | "type_name"
9239
+ | "file_name"
9240
+ | "media_id"
9241
+ | "thumbnails"
9242
+ | "createdAt"
9243
+ > & {
9244
+ thumbnails: Pick<
9245
+ Service.MediaStorage.Thumbnail,
9246
+ | "_id"
9247
+ | "ContentType"
9248
+ | "mime_type"
9249
+ | "publicUrl"
9250
+ | "type_name"
9251
+ | "file_name"
9252
+ | "createdAt"
9253
+ >[];
9254
+ };
8902
9255
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "repzo",
3
- "version": "1.0.83",
3
+ "version": "1.0.85",
4
4
  "description": "Repzo TypeScript SDK",
5
5
  "main": "./lib/index.js",
6
6
  "type": "module",