repzo 1.0.91 → 1.0.92

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.
@@ -8317,6 +8317,18 @@ export declare namespace Service {
8317
8317
  integration_meta?: {
8318
8318
  [key: string]: any;
8319
8319
  };
8320
+ quotation_is_recommended: boolean;
8321
+ quotation_internal_approval_status:
8322
+ | "pending"
8323
+ | "approved"
8324
+ | "completed"
8325
+ | "rejected";
8326
+ quotation_detail?: string;
8327
+ quotation_client_approval_status:
8328
+ | "pending"
8329
+ | "approved"
8330
+ | "collected"
8331
+ | "rejected";
8320
8332
  company_namespace: string[];
8321
8333
  createdAt: Date;
8322
8334
  updatedAt: Date;
@@ -8360,6 +8372,18 @@ export declare namespace Service {
8360
8372
  integration_meta?: {
8361
8373
  [key: string]: any;
8362
8374
  };
8375
+ quotation_is_recommended: boolean;
8376
+ quotation_internal_approval_status:
8377
+ | "pending"
8378
+ | "approved"
8379
+ | "completed"
8380
+ | "rejected";
8381
+ quotation_detail?: string;
8382
+ quotation_client_approval_status:
8383
+ | "pending"
8384
+ | "approved"
8385
+ | "collected"
8386
+ | "rejected";
8363
8387
  company_namespace: string[];
8364
8388
  createdAt: Date;
8365
8389
  updatedAt: Date;
@@ -8392,6 +8416,18 @@ export declare namespace Service {
8392
8416
  integration_meta?: {
8393
8417
  [key: string]: any;
8394
8418
  };
8419
+ quotation_is_recommended?: boolean;
8420
+ quotation_internal_approval_status?:
8421
+ | "pending"
8422
+ | "approved"
8423
+ | "completed"
8424
+ | "rejected";
8425
+ quotation_detail?: string;
8426
+ quotation_client_approval_status?:
8427
+ | "pending"
8428
+ | "approved"
8429
+ | "collected"
8430
+ | "rejected";
8395
8431
  company_namespace?: string[];
8396
8432
  }
8397
8433
  interface UpdateBody {
@@ -8399,6 +8435,18 @@ export declare namespace Service {
8399
8435
  comment?: string;
8400
8436
  media?: StringId[];
8401
8437
  editor?: AdminOrRep;
8438
+ quotation_is_recommended?: boolean;
8439
+ quotation_internal_approval_status?:
8440
+ | "pending"
8441
+ | "approved"
8442
+ | "completed"
8443
+ | "rejected";
8444
+ quotation_detail?: string;
8445
+ quotation_client_approval_status?:
8446
+ | "pending"
8447
+ | "approved"
8448
+ | "collected"
8449
+ | "rejected";
8402
8450
  }
8403
8451
  namespace Find {
8404
8452
  type Params = DefaultPaginationQueryParams & {
@@ -8433,6 +8481,15 @@ export declare namespace Service {
8433
8481
  field: "_id" | "asset_part_index" | "createdAt" | "updatedAt";
8434
8482
  type: "asc" | "desc";
8435
8483
  }[];
8484
+ quotation_is_recommended?: boolean;
8485
+ quotation_internal_approval_status?: Data["quotation_client_approval_status"][];
8486
+ quotation_client_approval_status?: Data["quotation_client_approval_status"][];
8487
+ rep?: StringId | StringId[];
8488
+ admin?: StringId | StringId[];
8489
+ creator?: StringId | StringId[];
8490
+ "creator._id"?: StringId[] | StringId;
8491
+ creator_type?: string | string[];
8492
+ "creator.type"?: string | string[];
8436
8493
  [key: string]: any;
8437
8494
  };
8438
8495
  interface Result extends DefaultPaginationResult {
@@ -8577,9 +8634,12 @@ export declare namespace Service {
8577
8634
  sync_id?: string[] | string;
8578
8635
  client?: string[] | string;
8579
8636
  warehouse?: string[] | string;
8580
- creator?: string | string[];
8581
- "creator._id"?: string[] | string;
8637
+ rep?: StringId | StringId[];
8638
+ admin?: StringId | StringId[];
8639
+ creator?: StringId | StringId[];
8640
+ "creator._id"?: StringId[] | StringId;
8582
8641
  creator_type?: string | string[];
8642
+ "creator.type"?: string | string[];
8583
8643
  teams?: string[] | string;
8584
8644
  visit_id?: string[] | string;
8585
8645
  custom_status?: string[] | string;
@@ -8687,6 +8747,11 @@ export declare namespace Service {
8687
8747
  integration_meta?: {
8688
8748
  [key: string]: any;
8689
8749
  };
8750
+ failed_reasons?: {
8751
+ code: string;
8752
+ message: string;
8753
+ [key: string]: any;
8754
+ }[];
8690
8755
  company_namespace: string[];
8691
8756
  createdAt: Date;
8692
8757
  updatedAt: Date;
@@ -8716,7 +8781,14 @@ export declare namespace Service {
8716
8781
  | "failed";
8717
8782
  sync_id: string;
8718
8783
  asset_part_units: {
8719
- asset_part_unit: StringId | AssetPartUnit.Data;
8784
+ asset_part_unit:
8785
+ | StringId
8786
+ | (AssetPartUnit.Data & {
8787
+ custom_status?: Pick<
8788
+ CustomStatus.CustomStatusSchema,
8789
+ "_id" | "name" | "local_name" | "code" | "color"
8790
+ >;
8791
+ });
8720
8792
  qty: number;
8721
8793
  asset_part?: StringId | AssetPart.Data;
8722
8794
  asset_part_name?: string;
@@ -8739,6 +8811,11 @@ export declare namespace Service {
8739
8811
  integration_meta?: {
8740
8812
  [key: string]: any;
8741
8813
  };
8814
+ failed_reasons?: {
8815
+ code: string;
8816
+ message: string;
8817
+ [key: string]: any;
8818
+ }[];
8742
8819
  company_namespace: string[];
8743
8820
  createdAt: Date;
8744
8821
  updatedAt: Date;
@@ -8772,6 +8849,11 @@ export declare namespace Service {
8772
8849
  integration_meta?: {
8773
8850
  [key: string]: any;
8774
8851
  };
8852
+ failed_reasons?: {
8853
+ code: string;
8854
+ message: string;
8855
+ [key: string]: any;
8856
+ }[];
8775
8857
  company_namespace: string[];
8776
8858
  }
8777
8859
  interface UpdateBody {
@@ -8818,6 +8900,11 @@ export declare namespace Service {
8818
8900
  isResubmitted?: boolean;
8819
8901
  note?: string;
8820
8902
  stage?: number;
8903
+ failed_reasons?: {
8904
+ code: string;
8905
+ message: string;
8906
+ [key: string]: any;
8907
+ }[];
8821
8908
  }
8822
8909
  namespace Find {
8823
8910
  type Params = DefaultPaginationQueryParams & {
@@ -8830,6 +8917,9 @@ export declare namespace Service {
8830
8917
  creator?: StringId[] | StringId;
8831
8918
  creator_type?: Data["creator"]["type"] | Data["creator"]["type"][];
8832
8919
  "creator._id"?: StringId[] | StringId;
8920
+ rep?: StringId | StringId[];
8921
+ admin?: StringId | StringId[];
8922
+ "creator.type"?: string | string[];
8833
8923
  type?: Data["type"][] | Data["type"];
8834
8924
  from?: StringId[] | StringId;
8835
8925
  to?: StringId[] | StringId;
@@ -9037,6 +9127,8 @@ export declare namespace Service {
9037
9127
  "creator.type"?: string[] | string;
9038
9128
  creator?: StringId[] | StringId;
9039
9129
  creator_type?: string[] | string;
9130
+ rep?: StringId | StringId[];
9131
+ admin?: StringId | StringId[];
9040
9132
  teams?: StringId[] | StringId;
9041
9133
  visit_id?: string[] | string;
9042
9134
  custom_status?: StringId[] | StringId;
@@ -9230,10 +9322,12 @@ export declare namespace Service {
9230
9322
  "serial_number.formatted"?: string[] | string;
9231
9323
  sync_id?: string[] | string;
9232
9324
  warehouse?: StringId[] | StringId;
9233
- creator?: StringId[] | StringId;
9234
9325
  creator_type?: string[] | string;
9235
- "creator._id"?: StringId[] | StringId;
9236
9326
  "creator.type"?: string[] | string;
9327
+ rep?: StringId | StringId[];
9328
+ admin?: StringId | StringId[];
9329
+ creator?: StringId | StringId[];
9330
+ "creator._id"?: StringId[] | StringId;
9237
9331
  teams?: StringId[] | StringId;
9238
9332
  visit_id?: string[] | string;
9239
9333
  custom_status?: StringId[] | StringId;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "repzo",
3
- "version": "1.0.91",
3
+ "version": "1.0.92",
4
4
  "description": "Repzo TypeScript SDK",
5
5
  "main": "./lib/index.js",
6
6
  "type": "module",
@@ -8248,6 +8248,18 @@ export namespace Service {
8248
8248
  media?: StringId[];
8249
8249
  teams?: StringId[];
8250
8250
  integration_meta?: { [key: string]: any };
8251
+ quotation_is_recommended: boolean;
8252
+ quotation_internal_approval_status:
8253
+ | "pending"
8254
+ | "approved"
8255
+ | "completed"
8256
+ | "rejected";
8257
+ quotation_detail?: string;
8258
+ quotation_client_approval_status:
8259
+ | "pending"
8260
+ | "approved"
8261
+ | "collected"
8262
+ | "rejected";
8251
8263
  company_namespace: string[];
8252
8264
  createdAt: Date;
8253
8265
  updatedAt: Date;
@@ -8289,6 +8301,18 @@ export namespace Service {
8289
8301
  media?: StringId[] | PopulatedMediaStorage[];
8290
8302
  teams?: StringId[] | Pick<Team.TeamSchema, "_id" | "name">[];
8291
8303
  integration_meta?: { [key: string]: any };
8304
+ quotation_is_recommended: boolean;
8305
+ quotation_internal_approval_status:
8306
+ | "pending"
8307
+ | "approved"
8308
+ | "completed"
8309
+ | "rejected";
8310
+ quotation_detail?: string;
8311
+ quotation_client_approval_status:
8312
+ | "pending"
8313
+ | "approved"
8314
+ | "collected"
8315
+ | "rejected";
8292
8316
  company_namespace: string[];
8293
8317
  createdAt: Date;
8294
8318
  updatedAt: Date;
@@ -8319,6 +8343,18 @@ export namespace Service {
8319
8343
  media?: StringId[];
8320
8344
  teams?: StringId[];
8321
8345
  integration_meta?: { [key: string]: any };
8346
+ quotation_is_recommended?: boolean;
8347
+ quotation_internal_approval_status?:
8348
+ | "pending"
8349
+ | "approved"
8350
+ | "completed"
8351
+ | "rejected";
8352
+ quotation_detail?: string;
8353
+ quotation_client_approval_status?:
8354
+ | "pending"
8355
+ | "approved"
8356
+ | "collected"
8357
+ | "rejected";
8322
8358
  company_namespace?: string[];
8323
8359
  }
8324
8360
  export interface UpdateBody {
@@ -8326,6 +8362,18 @@ export namespace Service {
8326
8362
  comment?: string;
8327
8363
  media?: StringId[];
8328
8364
  editor?: AdminOrRep;
8365
+ quotation_is_recommended?: boolean;
8366
+ quotation_internal_approval_status?:
8367
+ | "pending"
8368
+ | "approved"
8369
+ | "completed"
8370
+ | "rejected";
8371
+ quotation_detail?: string;
8372
+ quotation_client_approval_status?:
8373
+ | "pending"
8374
+ | "approved"
8375
+ | "collected"
8376
+ | "rejected";
8329
8377
  }
8330
8378
 
8331
8379
  export namespace Find {
@@ -8361,6 +8409,15 @@ export namespace Service {
8361
8409
  field: "_id" | "asset_part_index" | "createdAt" | "updatedAt";
8362
8410
  type: "asc" | "desc";
8363
8411
  }[];
8412
+ quotation_is_recommended?: boolean;
8413
+ quotation_internal_approval_status?: Data["quotation_client_approval_status"][];
8414
+ quotation_client_approval_status?: Data["quotation_client_approval_status"][];
8415
+ rep?: StringId | StringId[];
8416
+ admin?: StringId | StringId[];
8417
+ creator?: StringId | StringId[];
8418
+ "creator._id"?: StringId[] | StringId;
8419
+ creator_type?: string | string[];
8420
+ "creator.type"?: string | string[];
8364
8421
  [key: string]: any; // integration_meta.
8365
8422
  };
8366
8423
  export interface Result extends DefaultPaginationResult {
@@ -8499,9 +8556,12 @@ export namespace Service {
8499
8556
  sync_id?: string[] | string;
8500
8557
  client?: string[] | string;
8501
8558
  warehouse?: string[] | string;
8502
- creator?: string | string[];
8503
- "creator._id"?: string[] | string;
8559
+ rep?: StringId | StringId[];
8560
+ admin?: StringId | StringId[];
8561
+ creator?: StringId | StringId[];
8562
+ "creator._id"?: StringId[] | StringId;
8504
8563
  creator_type?: string | string[];
8564
+ "creator.type"?: string | string[];
8505
8565
  teams?: string[] | string;
8506
8566
  visit_id?: string[] | string;
8507
8567
  custom_status?: string[] | string;
@@ -8593,6 +8653,7 @@ export namespace Service {
8593
8653
  process_time?: number;
8594
8654
  visit_id?: string;
8595
8655
  integration_meta?: { [key: string]: any };
8656
+ failed_reasons?: { code: string; message: string; [key: string]: any }[];
8596
8657
  company_namespace: string[];
8597
8658
  createdAt: Date;
8598
8659
  updatedAt: Date;
@@ -8622,7 +8683,14 @@ export namespace Service {
8622
8683
  | "failed";
8623
8684
  sync_id: string;
8624
8685
  asset_part_units: {
8625
- asset_part_unit: StringId | AssetPartUnit.Data;
8686
+ asset_part_unit:
8687
+ | StringId
8688
+ | (AssetPartUnit.Data & {
8689
+ custom_status?: Pick<
8690
+ CustomStatus.CustomStatusSchema,
8691
+ "_id" | "name" | "local_name" | "code" | "color"
8692
+ >;
8693
+ });
8626
8694
  qty: number;
8627
8695
  asset_part?: StringId | AssetPart.Data;
8628
8696
  asset_part_name?: string;
@@ -8643,6 +8711,7 @@ export namespace Service {
8643
8711
  process_time?: number;
8644
8712
  visit_id?: string;
8645
8713
  integration_meta?: { [key: string]: any };
8714
+ failed_reasons?: { code: string; message: string; [key: string]: any }[];
8646
8715
  company_namespace: string[];
8647
8716
  createdAt: Date;
8648
8717
  updatedAt: Date;
@@ -8674,6 +8743,7 @@ export namespace Service {
8674
8743
  description?: string;
8675
8744
  visit_id?: string;
8676
8745
  integration_meta?: { [key: string]: any };
8746
+ failed_reasons?: { code: string; message: string; [key: string]: any }[];
8677
8747
  company_namespace: string[];
8678
8748
  }
8679
8749
  export interface UpdateBody {
@@ -8718,6 +8788,7 @@ export namespace Service {
8718
8788
  isResubmitted?: boolean;
8719
8789
  note?: string;
8720
8790
  stage?: number;
8791
+ failed_reasons?: { code: string; message: string; [key: string]: any }[];
8721
8792
  }
8722
8793
 
8723
8794
  export namespace Find {
@@ -8731,6 +8802,9 @@ export namespace Service {
8731
8802
  creator?: StringId[] | StringId;
8732
8803
  creator_type?: Data["creator"]["type"] | Data["creator"]["type"][];
8733
8804
  "creator._id"?: StringId[] | StringId;
8805
+ rep?: StringId | StringId[];
8806
+ admin?: StringId | StringId[];
8807
+ "creator.type"?: string | string[];
8734
8808
  type?: Data["type"][] | Data["type"];
8735
8809
  from?: StringId[] | StringId;
8736
8810
  to?: StringId[] | StringId;
@@ -8917,6 +8991,8 @@ export namespace Service {
8917
8991
  "creator.type"?: string[] | string;
8918
8992
  creator?: StringId[] | StringId;
8919
8993
  creator_type?: string[] | string;
8994
+ rep?: StringId | StringId[];
8995
+ admin?: StringId | StringId[];
8920
8996
  teams?: StringId[] | StringId;
8921
8997
  visit_id?: string[] | string;
8922
8998
  custom_status?: StringId[] | StringId;
@@ -9089,10 +9165,12 @@ export namespace Service {
9089
9165
  "serial_number.formatted"?: string[] | string;
9090
9166
  sync_id?: string[] | string;
9091
9167
  warehouse?: StringId[] | StringId;
9092
- creator?: StringId[] | StringId;
9093
9168
  creator_type?: string[] | string;
9094
- "creator._id"?: StringId[] | StringId;
9095
9169
  "creator.type"?: string[] | string;
9170
+ rep?: StringId | StringId[];
9171
+ admin?: StringId | StringId[];
9172
+ creator?: StringId | StringId[];
9173
+ "creator._id"?: StringId[] | StringId;
9096
9174
  teams?: StringId[] | StringId;
9097
9175
  visit_id?: string[] | string;
9098
9176
  custom_status?: StringId[] | StringId;