repzo 1.0.99 → 1.0.100

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.
@@ -8305,6 +8305,7 @@ export declare namespace Service {
8305
8305
  | "returned"
8306
8306
  | "stored";
8307
8307
  asset_part_receival: StringId;
8308
+ asset_part_return?: StringId;
8308
8309
  asset_part_index: number;
8309
8310
  splitted_from?: StringId;
8310
8311
  client: StringId;
@@ -8351,6 +8352,7 @@ export declare namespace Service {
8351
8352
  | "returned"
8352
8353
  | "stored";
8353
8354
  asset_part_receival: StringId | AssetPartReceival.Data;
8355
+ asset_part_return?: StringId | ReturnAssetPartUnit.Data;
8354
8356
  asset_part_index: number;
8355
8357
  splitted_from?: StringId | Data;
8356
8358
  client:
@@ -8472,6 +8474,7 @@ export declare namespace Service {
8472
8474
  }
8473
8475
  type PopulatedKeys =
8474
8476
  | "asset_part_receival"
8477
+ | "asset_part_return"
8475
8478
  | "asset_part"
8476
8479
  | "client"
8477
8480
  | "warehouse"
@@ -8482,6 +8485,7 @@ export declare namespace Service {
8482
8485
  type Params = DefaultPaginationQueryParams & {
8483
8486
  _id?: StringId[] | StringId;
8484
8487
  asset_part_receival?: StringId[] | StringId;
8488
+ asset_part_return?: StringId[] | StringId;
8485
8489
  client?: StringId[] | StringId;
8486
8490
  warehouse?: StringId[] | StringId;
8487
8491
  receival_warehouse?: StringId[] | StringId;
@@ -8767,6 +8771,7 @@ export declare namespace Service {
8767
8771
  | "failed";
8768
8772
  sync_id: string;
8769
8773
  asset_part_units: {
8774
+ _id: StringId;
8770
8775
  asset_part_unit: StringId;
8771
8776
  qty: number;
8772
8777
  asset_part?: StringId;
@@ -8819,6 +8824,7 @@ export declare namespace Service {
8819
8824
  | "failed";
8820
8825
  sync_id: string;
8821
8826
  asset_part_units: {
8827
+ _id: StringId;
8822
8828
  asset_part_unit:
8823
8829
  | StringId
8824
8830
  | (AssetPartUnit.Data & {
@@ -8860,7 +8866,7 @@ export declare namespace Service {
8860
8866
  }
8861
8867
  export interface CreateBody {
8862
8868
  creator?: AdminOrRep;
8863
- serial_number: SerialNumber;
8869
+ serial_number?: SerialNumber;
8864
8870
  type: "load" | "unload";
8865
8871
  from: StringId;
8866
8872
  to: StringId;
@@ -8871,6 +8877,7 @@ export declare namespace Service {
8871
8877
  status?: "pending";
8872
8878
  sync_id: string;
8873
8879
  asset_part_units: {
8880
+ _id?: StringId;
8874
8881
  asset_part_unit: StringId;
8875
8882
  qty: number;
8876
8883
  asset_part?: StringId;
@@ -8915,6 +8922,7 @@ export declare namespace Service {
8915
8922
  | "failed";
8916
8923
  sync_id?: string;
8917
8924
  asset_part_units?: {
8925
+ _id?: StringId;
8918
8926
  asset_part_unit: StringId;
8919
8927
  qty: number;
8920
8928
  asset_part_name?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "repzo",
3
- "version": "1.0.99",
3
+ "version": "1.0.100",
4
4
  "description": "Repzo TypeScript SDK",
5
5
  "main": "./lib/index.js",
6
6
  "type": "module",
@@ -8238,6 +8238,7 @@ export namespace Service {
8238
8238
  | "returned"
8239
8239
  | "stored";
8240
8240
  asset_part_receival: StringId;
8241
+ asset_part_return?: StringId;
8241
8242
  asset_part_index: number;
8242
8243
  splitted_from?: StringId;
8243
8244
  client: StringId;
@@ -8282,6 +8283,7 @@ export namespace Service {
8282
8283
  | "returned"
8283
8284
  | "stored";
8284
8285
  asset_part_receival: StringId | AssetPartReceival.Data;
8286
+ asset_part_return?: StringId | ReturnAssetPartUnit.Data;
8285
8287
  asset_part_index: number;
8286
8288
  splitted_from?: StringId | Data;
8287
8289
  client:
@@ -8400,6 +8402,7 @@ export namespace Service {
8400
8402
 
8401
8403
  type PopulatedKeys =
8402
8404
  | "asset_part_receival"
8405
+ | "asset_part_return"
8403
8406
  | "asset_part"
8404
8407
  | "client"
8405
8408
  | "warehouse"
@@ -8411,6 +8414,7 @@ export namespace Service {
8411
8414
  export type Params = DefaultPaginationQueryParams & {
8412
8415
  _id?: StringId[] | StringId;
8413
8416
  asset_part_receival?: StringId[] | StringId;
8417
+ asset_part_return?: StringId[] | StringId;
8414
8418
  client?: StringId[] | StringId;
8415
8419
  warehouse?: StringId[] | StringId;
8416
8420
  receival_warehouse?: StringId[] | StringId;
@@ -8675,6 +8679,7 @@ export namespace Service {
8675
8679
  | "failed";
8676
8680
  sync_id: string;
8677
8681
  asset_part_units: {
8682
+ _id: StringId;
8678
8683
  asset_part_unit: StringId;
8679
8684
  qty: number;
8680
8685
  asset_part?: StringId;
@@ -8721,6 +8726,7 @@ export namespace Service {
8721
8726
  | "failed";
8722
8727
  sync_id: string;
8723
8728
  asset_part_units: {
8729
+ _id: StringId;
8724
8730
  asset_part_unit:
8725
8731
  | StringId
8726
8732
  | (AssetPartUnit.Data & {
@@ -8756,7 +8762,7 @@ export namespace Service {
8756
8762
  }
8757
8763
  export interface CreateBody {
8758
8764
  creator?: AdminOrRep;
8759
- serial_number: SerialNumber;
8765
+ serial_number?: SerialNumber;
8760
8766
  type: "load" | "unload";
8761
8767
  from: StringId;
8762
8768
  to: StringId;
@@ -8767,6 +8773,7 @@ export namespace Service {
8767
8773
  status?: "pending";
8768
8774
  sync_id: string;
8769
8775
  asset_part_units: {
8776
+ _id?: StringId;
8770
8777
  asset_part_unit: StringId;
8771
8778
  qty: number;
8772
8779
  asset_part?: StringId;
@@ -8805,6 +8812,7 @@ export namespace Service {
8805
8812
  | "failed";
8806
8813
  sync_id?: string;
8807
8814
  asset_part_units?: {
8815
+ _id?: StringId;
8808
8816
  asset_part_unit: StringId;
8809
8817
  qty: number;
8810
8818
  asset_part_name?: string;