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.
@@ -6886,7 +6886,9 @@ export declare namespace Service {
6886
6886
  | "approval-request"
6887
6887
  | "receiving-material"
6888
6888
  | "asset-part-transfer"
6889
- | "adjust-inventory";
6889
+ | "adjust-inventory"
6890
+ | "return-asset-part-unit"
6891
+ | "store-asset-part-unit";
6890
6892
  document_id: string;
6891
6893
  status: CycleStatus;
6892
6894
  node?: AdminCreator | RepCreator | ClientCreator;
@@ -8994,6 +8996,13 @@ export declare namespace Service {
8994
8996
  creator: AdminOrRep;
8995
8997
  editor?: AdminOrRep;
8996
8998
  sync_id: string;
8999
+ status:
9000
+ | "pending"
9001
+ | "approved"
9002
+ | "processing"
9003
+ | "rejected"
9004
+ | "processed"
9005
+ | "failed";
8997
9006
  transaction_processed: boolean;
8998
9007
  client: StringId;
8999
9008
  client_name: string;
@@ -9022,6 +9031,11 @@ export declare namespace Service {
9022
9031
  integration_meta?: {
9023
9032
  [key: string]: any;
9024
9033
  };
9034
+ failed_reasons?: {
9035
+ code: string;
9036
+ message: string;
9037
+ [key: string]: any;
9038
+ }[];
9025
9039
  company_namespace: string[];
9026
9040
  createdAt: Date;
9027
9041
  updatedAt: Date;
@@ -9031,6 +9045,13 @@ export declare namespace Service {
9031
9045
  creator: AdminOrRep;
9032
9046
  editor?: AdminOrRep;
9033
9047
  sync_id: string;
9048
+ status:
9049
+ | "pending"
9050
+ | "approved"
9051
+ | "processing"
9052
+ | "rejected"
9053
+ | "processed"
9054
+ | "failed";
9034
9055
  transaction_processed: boolean;
9035
9056
  client:
9036
9057
  | StringId
@@ -9068,6 +9089,11 @@ export declare namespace Service {
9068
9089
  integration_meta?: {
9069
9090
  [key: string]: any;
9070
9091
  };
9092
+ failed_reasons?: {
9093
+ code: string;
9094
+ message: string;
9095
+ [key: string]: any;
9096
+ }[];
9071
9097
  company_namespace: string[];
9072
9098
  createdAt: Date;
9073
9099
  updatedAt: Date;
@@ -9076,6 +9102,7 @@ export declare namespace Service {
9076
9102
  creator?: AdminOrRep;
9077
9103
  editor?: AdminOrRep;
9078
9104
  sync_id: string;
9105
+ status?: "pending";
9079
9106
  transaction_processed: boolean;
9080
9107
  serial_number?: SerialNumber;
9081
9108
  client: StringId;
@@ -9106,13 +9133,56 @@ export declare namespace Service {
9106
9133
  company_namespace: string[];
9107
9134
  }
9108
9135
  interface UpdateBody {
9136
+ _id?: StringId;
9137
+ creator?: AdminOrRep;
9109
9138
  editor?: AdminOrRep;
9139
+ sync_id?: string;
9140
+ status?:
9141
+ | "pending"
9142
+ | "approved"
9143
+ | "processing"
9144
+ | "rejected"
9145
+ | "processed"
9146
+ | "failed";
9147
+ transaction_processed?: boolean;
9148
+ client?: StringId;
9149
+ client_name?: string;
9150
+ warehouse?: StringId;
9151
+ warehouse_name?: string;
9152
+ teams?: StringId[];
9153
+ time?: number;
9154
+ business_day?: string;
9155
+ visit_id?: string;
9156
+ serial_number?: SerialNumber;
9110
9157
  description?: string;
9111
9158
  custom_status?: StringId;
9159
+ signature?: StringId;
9112
9160
  media?: StringId[];
9161
+ asset_part_units?: {
9162
+ _id?: StringId;
9163
+ asset_part_unit: StringId;
9164
+ qty: number;
9165
+ asset_part?: StringId;
9166
+ asset_part_name?: string;
9167
+ comment?: string;
9168
+ splitted_from?: StringId;
9169
+ }[];
9170
+ asset_part_units_count?: number;
9171
+ total_asset_part_units_qty?: number;
9113
9172
  integration_meta?: {
9114
9173
  [key: string]: any;
9115
9174
  };
9175
+ failed_reasons?: {
9176
+ code: string;
9177
+ message: string;
9178
+ [key: string]: any;
9179
+ }[];
9180
+ isResubmitted?: boolean;
9181
+ note?: string;
9182
+ stage?: number;
9183
+ company_namespace?: string[];
9184
+ createdAt?: Date;
9185
+ updatedAt?: Date;
9116
9186
  }
9117
9187
  namespace Find {
9118
9188
  type Params = DefaultPaginationQueryParams & {
@@ -9202,6 +9272,13 @@ export declare namespace Service {
9202
9272
  creator: AdminOrRep;
9203
9273
  editor?: AdminOrRep;
9204
9274
  sync_id: string;
9275
+ status:
9276
+ | "pending"
9277
+ | "approved"
9278
+ | "processing"
9279
+ | "rejected"
9280
+ | "processed"
9281
+ | "failed";
9205
9282
  transaction_processed: boolean;
9206
9283
  warehouse: StringId;
9207
9284
  warehouse_name: string;
@@ -9228,6 +9305,11 @@ export declare namespace Service {
9228
9305
  integration_meta?: {
9229
9306
  [key: string]: any;
9230
9307
  };
9308
+ failed_reasons?: {
9309
+ code: string;
9310
+ message: string;
9311
+ [key: string]: any;
9312
+ }[];
9231
9313
  company_namespace: string[];
9232
9314
  createdAt: Date;
9233
9315
  updatedAt: Date;
@@ -9237,6 +9319,13 @@ export declare namespace Service {
9237
9319
  creator: AdminOrRep;
9238
9320
  editor?: AdminOrRep;
9239
9321
  sync_id: string;
9322
+ status:
9323
+ | "pending"
9324
+ | "approved"
9325
+ | "processing"
9326
+ | "rejected"
9327
+ | "processed"
9328
+ | "failed";
9240
9329
  transaction_processed: boolean;
9241
9330
  warehouse:
9242
9331
  | StringId
@@ -9270,6 +9359,11 @@ export declare namespace Service {
9270
9359
  integration_meta?: {
9271
9360
  [key: string]: any;
9272
9361
  };
9362
+ failed_reasons?: {
9363
+ code: string;
9364
+ message: string;
9365
+ [key: string]: any;
9366
+ }[];
9273
9367
  company_namespace: string[];
9274
9368
  createdAt: Date;
9275
9369
  updatedAt: Date;
@@ -9278,6 +9372,7 @@ export declare namespace Service {
9278
9372
  creator?: AdminOrRep;
9279
9373
  editor?: AdminOrRep;
9280
9374
  sync_id: string;
9375
+ status?: "pending";
9281
9376
  transaction_processed: boolean;
9282
9377
  serial_number?: SerialNumber;
9283
9378
  warehouse: StringId;
@@ -9306,13 +9401,54 @@ export declare namespace Service {
9306
9401
  company_namespace: string[];
9307
9402
  }
9308
9403
  interface UpdateBody {
9404
+ _id?: StringId;
9405
+ creator?: AdminOrRep;
9309
9406
  editor?: AdminOrRep;
9407
+ sync_id?: string;
9408
+ status?:
9409
+ | "pending"
9410
+ | "approved"
9411
+ | "processing"
9412
+ | "rejected"
9413
+ | "processed"
9414
+ | "failed";
9415
+ transaction_processed?: boolean;
9416
+ warehouse?: StringId;
9417
+ warehouse_name?: string;
9418
+ teams?: StringId[];
9419
+ time?: number;
9420
+ business_day?: string;
9421
+ visit_id?: string;
9422
+ serial_number?: SerialNumber;
9310
9423
  description?: string;
9311
9424
  custom_status?: StringId;
9425
+ signature?: StringId;
9312
9426
  media?: StringId[];
9427
+ asset_part_units?: {
9428
+ _id?: StringId;
9429
+ asset_part_unit: StringId;
9430
+ qty: number;
9431
+ asset_part?: StringId;
9432
+ asset_part_name?: string;
9433
+ comment?: string;
9434
+ splitted_from?: StringId;
9435
+ }[];
9436
+ asset_part_units_count?: number;
9437
+ total_asset_part_units_qty?: number;
9313
9438
  integration_meta?: {
9314
9439
  [key: string]: any;
9315
9440
  };
9441
+ failed_reasons?: {
9442
+ code: string;
9443
+ message: string;
9444
+ [key: string]: any;
9445
+ }[];
9446
+ isResubmitted?: boolean;
9447
+ note?: string;
9448
+ stage?: number;
9449
+ company_namespace?: string[];
9450
+ createdAt?: Date;
9451
+ updatedAt?: Date;
9316
9452
  }
9317
9453
  namespace Find {
9318
9454
  type Params = DefaultPaginationQueryParams & {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "repzo",
3
- "version": "1.0.92",
3
+ "version": "1.0.94",
4
4
  "description": "Repzo TypeScript SDK",
5
5
  "main": "./lib/index.js",
6
6
  "type": "module",