repzo 1.0.92 → 1.0.94

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.
@@ -6887,7 +6887,9 @@ export namespace Service {
6887
6887
  | "approval-request"
6888
6888
  | "receiving-material"
6889
6889
  | "asset-part-transfer"
6890
- | "adjust-inventory";
6890
+ | "adjust-inventory"
6891
+ | "return-asset-part-unit"
6892
+ | "store-asset-part-unit";
6891
6893
  document_id: string;
6892
6894
  status: CycleStatus;
6893
6895
  node?: AdminCreator | RepCreator | ClientCreator;
@@ -8825,6 +8827,8 @@ export namespace Service {
8825
8827
  | "warehouse"
8826
8828
  | "teams"
8827
8829
  | "custom_status"
8830
+ | "from"
8831
+ | "to"
8828
8832
  )[];
8829
8833
  sortBy?: {
8830
8834
  field: "_id" | "time" | "createdAt" | "updatedAt";
@@ -8865,6 +8869,13 @@ export namespace Service {
8865
8869
  creator: AdminOrRep;
8866
8870
  editor?: AdminOrRep;
8867
8871
  sync_id: string;
8872
+ status:
8873
+ | "pending"
8874
+ | "approved"
8875
+ | "processing"
8876
+ | "rejected"
8877
+ | "processed"
8878
+ | "failed";
8868
8879
  transaction_processed: boolean;
8869
8880
  client: StringId;
8870
8881
  client_name: string;
@@ -8891,6 +8902,7 @@ export namespace Service {
8891
8902
  asset_part_units_count?: number;
8892
8903
  total_asset_part_units_qty?: number;
8893
8904
  integration_meta?: { [key: string]: any };
8905
+ failed_reasons?: { code: string; message: string; [key: string]: any }[];
8894
8906
  company_namespace: string[];
8895
8907
  createdAt: Date;
8896
8908
  updatedAt: Date;
@@ -8900,6 +8912,13 @@ export namespace Service {
8900
8912
  creator: AdminOrRep;
8901
8913
  editor?: AdminOrRep;
8902
8914
  sync_id: string;
8915
+ status:
8916
+ | "pending"
8917
+ | "approved"
8918
+ | "processing"
8919
+ | "rejected"
8920
+ | "processed"
8921
+ | "failed";
8903
8922
  transaction_processed: boolean;
8904
8923
  client:
8905
8924
  | StringId
@@ -8935,6 +8954,7 @@ export namespace Service {
8935
8954
  asset_part_units_count?: number;
8936
8955
  total_asset_part_units_qty?: number;
8937
8956
  integration_meta?: { [key: string]: any };
8957
+ failed_reasons?: { code: string; message: string; [key: string]: any }[];
8938
8958
  company_namespace: string[];
8939
8959
  createdAt: Date;
8940
8960
  updatedAt: Date;
@@ -8943,6 +8963,7 @@ export namespace Service {
8943
8963
  creator?: AdminOrRep;
8944
8964
  editor?: AdminOrRep;
8945
8965
  sync_id: string;
8966
+ status?: "pending";
8946
8967
  transaction_processed: boolean;
8947
8968
  serial_number?: SerialNumber;
8948
8969
  client: StringId;
@@ -8971,11 +8992,50 @@ export namespace Service {
8971
8992
  company_namespace: string[];
8972
8993
  }
8973
8994
  export interface UpdateBody {
8995
+ _id?: StringId;
8996
+ creator?: AdminOrRep;
8974
8997
  editor?: AdminOrRep;
8998
+ sync_id?: string;
8999
+ status?:
9000
+ | "pending"
9001
+ | "approved"
9002
+ | "processing"
9003
+ | "rejected"
9004
+ | "processed"
9005
+ | "failed";
9006
+ transaction_processed?: boolean;
9007
+ client?: StringId;
9008
+ client_name?: string;
9009
+ warehouse?: StringId;
9010
+ warehouse_name?: string;
9011
+ teams?: StringId[];
9012
+ time?: number;
9013
+ business_day?: string;
9014
+ visit_id?: string;
9015
+ serial_number?: SerialNumber;
8975
9016
  description?: string;
8976
9017
  custom_status?: StringId;
9018
+ signature?: StringId;
8977
9019
  media?: StringId[];
9020
+ asset_part_units?: {
9021
+ _id?: StringId;
9022
+ asset_part_unit: StringId;
9023
+ qty: number;
9024
+ asset_part?: StringId;
9025
+ asset_part_name?: string;
9026
+ comment?: string;
9027
+ splitted_from?: StringId;
9028
+ }[];
9029
+ asset_part_units_count?: number;
9030
+ total_asset_part_units_qty?: number;
8978
9031
  integration_meta?: { [key: string]: any };
9032
+ failed_reasons?: { code: string; message: string; [key: string]: any }[];
9033
+ isResubmitted?: boolean;
9034
+ note?: string;
9035
+ stage?: number;
9036
+ company_namespace?: string[];
9037
+ createdAt?: Date;
9038
+ updatedAt?: Date;
8979
9039
  }
8980
9040
 
8981
9041
  export namespace Find {
@@ -9052,6 +9112,13 @@ export namespace Service {
9052
9112
  creator: AdminOrRep;
9053
9113
  editor?: AdminOrRep;
9054
9114
  sync_id: string;
9115
+ status:
9116
+ | "pending"
9117
+ | "approved"
9118
+ | "processing"
9119
+ | "rejected"
9120
+ | "processed"
9121
+ | "failed";
9055
9122
  transaction_processed: boolean;
9056
9123
  warehouse: StringId;
9057
9124
  warehouse_name: string;
@@ -9076,6 +9143,7 @@ export namespace Service {
9076
9143
  asset_part_units_count?: number;
9077
9144
  total_asset_part_units_qty?: number;
9078
9145
  integration_meta?: { [key: string]: any };
9146
+ failed_reasons?: { code: string; message: string; [key: string]: any }[];
9079
9147
  company_namespace: string[];
9080
9148
  createdAt: Date;
9081
9149
  updatedAt: Date;
@@ -9085,6 +9153,13 @@ export namespace Service {
9085
9153
  creator: AdminOrRep;
9086
9154
  editor?: AdminOrRep;
9087
9155
  sync_id: string;
9156
+ status:
9157
+ | "pending"
9158
+ | "approved"
9159
+ | "processing"
9160
+ | "rejected"
9161
+ | "processed"
9162
+ | "failed";
9088
9163
  transaction_processed: boolean;
9089
9164
  warehouse:
9090
9165
  | StringId
@@ -9116,6 +9191,7 @@ export namespace Service {
9116
9191
  asset_part_units_count?: number;
9117
9192
  total_asset_part_units_qty?: number;
9118
9193
  integration_meta?: { [key: string]: any };
9194
+ failed_reasons?: { code: string; message: string; [key: string]: any }[];
9119
9195
  company_namespace: string[];
9120
9196
  createdAt: Date;
9121
9197
  updatedAt: Date;
@@ -9124,6 +9200,7 @@ export namespace Service {
9124
9200
  creator?: AdminOrRep;
9125
9201
  editor?: AdminOrRep;
9126
9202
  sync_id: string;
9203
+ status?: "pending";
9127
9204
  transaction_processed: boolean;
9128
9205
  serial_number?: SerialNumber;
9129
9206
  warehouse: StringId;
@@ -9150,11 +9227,48 @@ export namespace Service {
9150
9227
  company_namespace: string[];
9151
9228
  }
9152
9229
  export interface UpdateBody {
9230
+ _id?: StringId;
9231
+ creator?: AdminOrRep;
9153
9232
  editor?: AdminOrRep;
9233
+ sync_id?: string;
9234
+ status?:
9235
+ | "pending"
9236
+ | "approved"
9237
+ | "processing"
9238
+ | "rejected"
9239
+ | "processed"
9240
+ | "failed";
9241
+ transaction_processed?: boolean;
9242
+ warehouse?: StringId;
9243
+ warehouse_name?: string;
9244
+ teams?: StringId[];
9245
+ time?: number;
9246
+ business_day?: string;
9247
+ visit_id?: string;
9248
+ serial_number?: SerialNumber;
9154
9249
  description?: string;
9155
9250
  custom_status?: StringId;
9251
+ signature?: StringId;
9156
9252
  media?: StringId[];
9253
+ asset_part_units?: {
9254
+ _id?: StringId;
9255
+ asset_part_unit: StringId;
9256
+ qty: number;
9257
+ asset_part?: StringId;
9258
+ asset_part_name?: string;
9259
+ comment?: string;
9260
+ splitted_from?: StringId;
9261
+ }[];
9262
+ asset_part_units_count?: number;
9263
+ total_asset_part_units_qty?: number;
9157
9264
  integration_meta?: { [key: string]: any };
9265
+ failed_reasons?: { code: string; message: string; [key: string]: any }[];
9266
+ isResubmitted?: boolean;
9267
+ note?: string;
9268
+ stage?: number;
9269
+ company_namespace?: string[];
9270
+ createdAt?: Date;
9271
+ updatedAt?: Date;
9158
9272
  }
9159
9273
 
9160
9274
  export namespace Find {
@@ -10147,7 +10261,7 @@ export namespace Service {
10147
10261
  total_amount?: number;
10148
10262
  tax_amount?: number;
10149
10263
  discount_amount?: number;
10150
- }
10264
+ },
10151
10265
  ];
10152
10266
  total_amount?: number;
10153
10267
  total_tax?: number;