repzo 1.0.109 → 1.0.111

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.
@@ -629,6 +629,12 @@ export declare namespace Service {
629
629
  speciality?: string[] | string;
630
630
  assigned_product_groups?: string[] | string;
631
631
  populatedKeys?: PopulatedKeys[];
632
+ from__id?: string;
633
+ to__id?: string;
634
+ sortBy?: {
635
+ field: "_id";
636
+ type: "asc" | "desc";
637
+ }[];
632
638
  [key: string]: any;
633
639
  };
634
640
  interface Result extends DefaultPaginationResult {
@@ -807,6 +813,12 @@ export declare namespace Service {
807
813
  withMedia?: boolean;
808
814
  withDefaultVariant?: boolean;
809
815
  withVariants?: boolean;
816
+ from__id?: string;
817
+ to__id?: string;
818
+ sortBy?: {
819
+ field: "_id";
820
+ type: "asc" | "desc";
821
+ }[];
810
822
  [key: string]: any;
811
823
  };
812
824
  interface Result extends DefaultPaginationResult {
@@ -915,6 +927,8 @@ export declare namespace Service {
915
927
  createdAt?: number;
916
928
  updatedAt?: number;
917
929
  from_updatedAt?: number;
930
+ from__id?: string;
931
+ to__id?: string;
918
932
  default?: boolean;
919
933
  category?: string[] | string;
920
934
  subCategory?: string[] | string;
@@ -1005,6 +1019,12 @@ export declare namespace Service {
1005
1019
  withProduct?: boolean;
1006
1020
  hasSubCategory?: boolean;
1007
1021
  isLeaf?: boolean;
1022
+ from__id?: string;
1023
+ to__id?: string;
1024
+ sortBy?: {
1025
+ field: "_id";
1026
+ type: "asc" | "desc";
1027
+ }[];
1008
1028
  [key: string]: any;
1009
1029
  };
1010
1030
  interface Result extends DefaultPaginationResult {
@@ -1072,6 +1092,12 @@ export declare namespace Service {
1072
1092
  from_updatedAt?: number;
1073
1093
  createdAt?: number;
1074
1094
  updatedAt?: number;
1095
+ from__id?: string;
1096
+ to__id?: string;
1097
+ sortBy?: {
1098
+ field: "_id";
1099
+ type: "asc" | "desc";
1100
+ }[];
1075
1101
  [key: string]: any;
1076
1102
  };
1077
1103
  interface Result extends DefaultPaginationResult {
@@ -1147,6 +1173,12 @@ export declare namespace Service {
1147
1173
  createdAt?: number;
1148
1174
  updatedAt?: number;
1149
1175
  withProduct?: boolean;
1176
+ from__id?: string;
1177
+ to__id?: string;
1178
+ sortBy?: {
1179
+ field: "_id";
1180
+ type: "asc" | "desc";
1181
+ }[];
1150
1182
  [key: string]: any;
1151
1183
  };
1152
1184
  interface Result extends DefaultPaginationResult {
@@ -1208,6 +1240,12 @@ export declare namespace Service {
1208
1240
  local_name?: string[] | string;
1209
1241
  disabled?: boolean;
1210
1242
  from_updatedAt?: number;
1243
+ from__id?: string;
1244
+ to__id?: string;
1245
+ sortBy?: {
1246
+ field: "_id";
1247
+ type: "asc" | "desc";
1248
+ }[];
1211
1249
  createdAt?: number;
1212
1250
  updatedAt?: number;
1213
1251
  };
@@ -1275,6 +1313,12 @@ export declare namespace Service {
1275
1313
  type?: TaxType | TaxType[];
1276
1314
  disabled?: boolean;
1277
1315
  from_updatedAt?: number;
1316
+ from__id?: string;
1317
+ to__id?: string;
1318
+ sortBy?: {
1319
+ field: "_id";
1320
+ type: "asc" | "desc";
1321
+ }[];
1278
1322
  [key: string]: any;
1279
1323
  };
1280
1324
  interface Result extends DefaultPaginationResult {
@@ -1347,6 +1391,12 @@ export declare namespace Service {
1347
1391
  from_updatedAt?: number;
1348
1392
  family_name?: string[] | string;
1349
1393
  withFamily?: boolean;
1394
+ from__id?: string;
1395
+ to__id?: string;
1396
+ sortBy?: {
1397
+ field: "_id";
1398
+ type: "asc" | "desc";
1399
+ }[];
1350
1400
  [key: string]: any;
1351
1401
  };
1352
1402
  interface Result extends DefaultPaginationResult {
@@ -1419,6 +1469,12 @@ export declare namespace Service {
1419
1469
  from_updatedAt?: number;
1420
1470
  measureunits?: string[] | string;
1421
1471
  populatedKeys?: PopulatedKeys[];
1472
+ from__id?: string;
1473
+ to__id?: string;
1474
+ sortBy?: {
1475
+ field: "_id";
1476
+ type: "asc" | "desc";
1477
+ }[];
1422
1478
  [key: string]: any;
1423
1479
  };
1424
1480
  interface Result extends DefaultPaginationResult {
@@ -1558,6 +1614,12 @@ export declare namespace Service {
1558
1614
  "createdby._id"?: string[] | string;
1559
1615
  disabled?: boolean;
1560
1616
  from_updatedAt?: number;
1617
+ from__id?: string;
1618
+ to__id?: string;
1619
+ sortBy?: {
1620
+ field: "_id";
1621
+ type: "asc" | "desc";
1622
+ }[];
1561
1623
  [key: string]: any;
1562
1624
  };
1563
1625
  interface Result extends DefaultPaginationResult {
@@ -1872,6 +1934,12 @@ export declare namespace Service {
1872
1934
  _id?: string[] | string;
1873
1935
  key?: string;
1874
1936
  from_updatedAt?: number;
1937
+ from__id?: string;
1938
+ to__id?: string;
1939
+ sortBy?: {
1940
+ field: "_id";
1941
+ type: "asc" | "desc";
1942
+ }[];
1875
1943
  };
1876
1944
  interface Result extends DefaultPaginationResult {
1877
1945
  data: MediaStorageSchema[];
@@ -2052,6 +2120,12 @@ export declare namespace Service {
2052
2120
  local_name?: string;
2053
2121
  disabled?: boolean;
2054
2122
  from_updatedAt?: number;
2123
+ from__id?: string;
2124
+ to__id?: string;
2125
+ sortBy?: {
2126
+ field: "_id";
2127
+ type: "asc" | "desc";
2128
+ }[];
2055
2129
  };
2056
2130
  interface Result extends DefaultPaginationResult {
2057
2131
  data: StorecheckTemplateSchema[];
@@ -2238,6 +2312,12 @@ export declare namespace Service {
2238
2312
  teams?: string[];
2239
2313
  route?: string;
2240
2314
  populatedKeys?: PopulatedKeys[];
2315
+ from__id?: string;
2316
+ to__id?: string;
2317
+ sortBy?: {
2318
+ field: "_id";
2319
+ type: "asc" | "desc";
2320
+ }[];
2241
2321
  [key: string]: any;
2242
2322
  };
2243
2323
  interface Result extends DefaultPaginationResult {
@@ -2287,6 +2367,12 @@ export declare namespace Service {
2287
2367
  name?: string;
2288
2368
  search?: string;
2289
2369
  from_updatedAt?: number;
2370
+ from__id?: string;
2371
+ to__id?: string;
2372
+ sortBy?: {
2373
+ field: "_id";
2374
+ type: "asc" | "desc";
2375
+ }[];
2290
2376
  };
2291
2377
  interface Result extends DefaultPaginationResult {
2292
2378
  data: MslSchema[];
@@ -2365,6 +2451,12 @@ export declare namespace Service {
2365
2451
  from_updatedAt?: number;
2366
2452
  to_updatedAt?: number;
2367
2453
  populatedKeys?: PopulatedKeys[];
2454
+ from__id?: string;
2455
+ to__id?: string;
2456
+ sortBy?: {
2457
+ field: "_id";
2458
+ type: "asc" | "desc";
2459
+ }[];
2368
2460
  };
2369
2461
  interface Result extends DefaultPaginationResult {
2370
2462
  data: MslProductWithPopulatedKeysSchema[];
@@ -2413,6 +2505,12 @@ export declare namespace Service {
2413
2505
  disabled?: boolean;
2414
2506
  from_updatedAt?: number;
2415
2507
  to_updatedAt?: number;
2508
+ from__id?: string;
2509
+ to__id?: string;
2510
+ sortBy?: {
2511
+ field: "_id";
2512
+ type: "asc" | "desc";
2513
+ }[];
2416
2514
  };
2417
2515
  interface Result extends DefaultPaginationResult {
2418
2516
  data: TeamSchema[];
@@ -2771,6 +2869,12 @@ export declare namespace Service {
2771
2869
  last_login_time?: number;
2772
2870
  [key: string]: any;
2773
2871
  populatedKeys?: PopulatedKeys[];
2872
+ from__id?: string;
2873
+ to__id?: string;
2874
+ sortBy?: {
2875
+ field: "_id";
2876
+ type: "asc" | "desc";
2877
+ }[];
2774
2878
  withProductLines?: boolean;
2775
2879
  withStatus?: boolean;
2776
2880
  };
@@ -2896,6 +3000,12 @@ export declare namespace Service {
2896
3000
  type?: TagType[] | TagType;
2897
3001
  disabled?: boolean;
2898
3002
  from_updatedAt?: number;
3003
+ from__id?: string;
3004
+ to__id?: string;
3005
+ sortBy?: {
3006
+ field: "_id";
3007
+ type: "asc" | "desc";
3008
+ }[];
2899
3009
  populatedKeys?: PopulatedKeys[];
2900
3010
  [key: string]: any;
2901
3011
  };
@@ -2973,6 +3083,12 @@ export declare namespace Service {
2973
3083
  name?: string[] | string;
2974
3084
  disabled?: boolean;
2975
3085
  from_updatedAt?: number;
3086
+ from__id?: string;
3087
+ to__id?: string;
3088
+ sortBy?: {
3089
+ field: "_id";
3090
+ type: "asc" | "desc";
3091
+ }[];
2976
3092
  populatedKeys?: PopulatedKeys[];
2977
3093
  };
2978
3094
  interface Result extends DefaultPaginationResult {
@@ -3050,8 +3166,14 @@ export declare namespace Service {
3050
3166
  type?: WarehouseType[] | WarehouseType;
3051
3167
  disabled?: boolean;
3052
3168
  from_updatedAt?: number;
3169
+ from__id?: string;
3170
+ to__id?: string;
3053
3171
  [key: string]: any;
3054
3172
  populatedKeys?: PopulatedKeys[];
3173
+ sortBy?: {
3174
+ field: "_id";
3175
+ type: "asc" | "desc";
3176
+ }[];
3055
3177
  };
3056
3178
  interface Result extends DefaultPaginationResult {
3057
3179
  data: WarehouseWithPopulatedKeysSchema[];
@@ -3113,6 +3235,12 @@ export declare namespace Service {
3113
3235
  local_name?: string[] | string;
3114
3236
  disabled?: boolean;
3115
3237
  from_updatedAt?: number;
3238
+ from__id?: string;
3239
+ to__id?: string;
3240
+ sortBy?: {
3241
+ field: "_id";
3242
+ type: "asc" | "desc";
3243
+ }[];
3116
3244
  };
3117
3245
  interface Result extends DefaultPaginationResult {
3118
3246
  data: ProductModifiersGroupSchema[];
@@ -3176,6 +3304,12 @@ export declare namespace Service {
3176
3304
  local_name?: string[] | string;
3177
3305
  disabled?: boolean;
3178
3306
  from_updatedAt?: number;
3307
+ from__id?: string;
3308
+ to__id?: string;
3309
+ sortBy?: {
3310
+ field: "_id";
3311
+ type: "asc" | "desc";
3312
+ }[];
3179
3313
  [key: string]: any;
3180
3314
  };
3181
3315
  interface Result extends DefaultPaginationResult {
@@ -3235,6 +3369,12 @@ export declare namespace Service {
3235
3369
  name?: string[] | string;
3236
3370
  local_name?: string[] | string;
3237
3371
  from_updatedAt?: number;
3372
+ from__id?: string;
3373
+ to__id?: string;
3374
+ sortBy?: {
3375
+ field: "_id";
3376
+ type: "asc" | "desc";
3377
+ }[];
3238
3378
  };
3239
3379
  interface Result extends DefaultPaginationResult {
3240
3380
  data: SpecialitySchema[];
@@ -3313,6 +3453,12 @@ export declare namespace Service {
3313
3453
  name?: string[] | string;
3314
3454
  from_updatedAt?: number;
3315
3455
  to_updatedAt?: number;
3456
+ from__id?: string;
3457
+ to__id?: string;
3458
+ sortBy?: {
3459
+ field: "_id";
3460
+ type: "asc" | "desc";
3461
+ }[];
3316
3462
  };
3317
3463
  interface Result extends DefaultPaginationResult {
3318
3464
  data: ClientContactSchema[];
@@ -3432,6 +3578,12 @@ export declare namespace Service {
3432
3578
  _id?: string[] | string;
3433
3579
  search?: string;
3434
3580
  from_updatedAt?: number;
3581
+ from__id?: string;
3582
+ to__id?: string;
3583
+ sortBy?: {
3584
+ field: "_id";
3585
+ type: "asc" | "desc";
3586
+ }[];
3435
3587
  [key: string]: any;
3436
3588
  };
3437
3589
  interface Result extends DefaultPaginationResult {
@@ -3563,6 +3715,12 @@ export declare namespace Service {
3563
3715
  color?: string[] | string;
3564
3716
  disabled?: boolean;
3565
3717
  from_updatedAt?: number;
3718
+ from__id?: string;
3719
+ to__id?: string;
3720
+ sortBy?: {
3721
+ field: "_id";
3722
+ type: "asc" | "desc";
3723
+ }[];
3566
3724
  [key: string]: any;
3567
3725
  };
3568
3726
  interface Result extends DefaultPaginationResult {
@@ -3733,6 +3891,12 @@ export declare namespace Service {
3733
3891
  type?: string;
3734
3892
  code?: string;
3735
3893
  from_updatedAt?: number;
3894
+ from__id?: string;
3895
+ to__id?: string;
3896
+ sortBy?: {
3897
+ field: "_id";
3898
+ type: "asc" | "desc";
3899
+ }[];
3736
3900
  [key: string]: any;
3737
3901
  };
3738
3902
  interface Result extends DefaultPaginationResult {
@@ -3820,6 +3984,12 @@ export declare namespace Service {
3820
3984
  from_updatedAt?: number;
3821
3985
  [key: string]: any;
3822
3986
  populatedKeys?: PopulatedKeys[];
3987
+ from__id?: string;
3988
+ to__id?: string;
3989
+ sortBy?: {
3990
+ field: "_id";
3991
+ type: "asc" | "desc";
3992
+ }[];
3823
3993
  };
3824
3994
  interface Result extends DefaultPaginationResult {
3825
3995
  data: CustomListItemSchemaWithPopulatedKeys[];
@@ -3876,6 +4046,12 @@ export declare namespace Service {
3876
4046
  local_name?: string[] | string;
3877
4047
  disabled?: boolean;
3878
4048
  from_updatedAt?: number;
4049
+ from__id?: string;
4050
+ to__id?: string;
4051
+ sortBy?: {
4052
+ field: "_id";
4053
+ type: "asc" | "desc";
4054
+ }[];
3879
4055
  [key: string]: any;
3880
4056
  };
3881
4057
  interface Result extends DefaultPaginationResult {
@@ -5950,6 +6126,12 @@ export declare namespace Service {
5950
6126
  "serial_number.formatted"?: string[] | string;
5951
6127
  "return_serial_number.formatted"?: string[] | string;
5952
6128
  returned_from?: string[] | string;
6129
+ from__id?: string;
6130
+ to__id?: string;
6131
+ sortBy?: {
6132
+ field: "_id";
6133
+ type: "asc" | "desc";
6134
+ }[];
5953
6135
  };
5954
6136
  interface Result extends DefaultPaginationResult {
5955
6137
  data: InvoiceSchemaWithPopulatedKeys[];
@@ -6475,7 +6657,7 @@ export declare namespace Service {
6475
6657
  };
6476
6658
  type PopulatedKeys = "custom_status" | "return_reason" | "teams" | "route";
6477
6659
  type ProformaStatus = "pending" | "approved" | "processing" | "rejected";
6478
- type SortingKeys =
6660
+ type VariantSortingKeys =
6479
6661
  | "product_sku"
6480
6662
  | "product_barcode"
6481
6663
  | "variant_name"
@@ -6503,10 +6685,16 @@ export declare namespace Service {
6503
6685
  custom_status?: string[] | string;
6504
6686
  status?: ProformaStatus | ProformaStatus[];
6505
6687
  [key: string]: any;
6506
- sortPage?: SortingKeys;
6688
+ sortPage?: VariantSortingKeys;
6507
6689
  export?: "excel";
6508
6690
  withClientDetails?: boolean;
6509
6691
  populatedKeys?: PopulatedKeys[];
6692
+ from__id?: string;
6693
+ to__id?: string;
6694
+ sortBy?: {
6695
+ field: "_id";
6696
+ type: "asc" | "desc";
6697
+ }[];
6510
6698
  nodeCycles?: string[] | string;
6511
6699
  withCycle?: boolean;
6512
6700
  };
@@ -6517,7 +6705,7 @@ export declare namespace Service {
6517
6705
  export namespace Get {
6518
6706
  type ID = string;
6519
6707
  interface Params {
6520
- sortPage?: SortingKeys;
6708
+ sortPage?: VariantSortingKeys;
6521
6709
  withClientDetails?: boolean;
6522
6710
  withCycle?: boolean;
6523
6711
  }
@@ -6663,6 +6851,12 @@ export declare namespace Service {
6663
6851
  "serial_number.formatted"?: string[] | string;
6664
6852
  [key: string]: any;
6665
6853
  populatedKeys?: PopulatedKeys[];
6854
+ from__id?: string;
6855
+ to__id?: string;
6856
+ sortBy?: {
6857
+ field: "_id";
6858
+ type: "asc" | "desc";
6859
+ }[];
6666
6860
  };
6667
6861
  interface Result extends DefaultPaginationResult {
6668
6862
  data: PaymentSchemaWithPopulatedKeys[];
@@ -6807,6 +7001,12 @@ export declare namespace Service {
6807
7001
  withPrintDetails?: boolean;
6808
7002
  [key: string]: any;
6809
7003
  populatedKeys?: PopulatedKeys[];
7004
+ from__id?: string;
7005
+ to__id?: string;
7006
+ sortBy?: {
7007
+ field: "_id";
7008
+ type: "asc" | "desc";
7009
+ }[];
6810
7010
  };
6811
7011
  interface Result extends DefaultPaginationResult {
6812
7012
  data: RefundSchemaWithPopulatedKeys[];
@@ -6914,6 +7114,12 @@ export declare namespace Service {
6914
7114
  from_createdAt?: number;
6915
7115
  to_createdAt?: number;
6916
7116
  from_updatedAt?: number;
7117
+ from__id?: string;
7118
+ to__id?: string;
7119
+ sortBy?: {
7120
+ field: "_id";
7121
+ type: "asc" | "desc";
7122
+ }[];
6917
7123
  [key: string]: any;
6918
7124
  populatedKeys?: PopulatedKeys[];
6919
7125
  };
@@ -7027,6 +7233,12 @@ export declare namespace Service {
7027
7233
  from_updatedAt?: number;
7028
7234
  [key: string]: any;
7029
7235
  populatedKeys?: PopulatedKeys[];
7236
+ from__id?: string;
7237
+ to__id?: string;
7238
+ sortBy?: {
7239
+ field: "_id";
7240
+ type: "asc" | "desc";
7241
+ }[];
7030
7242
  };
7031
7243
  interface Result extends DefaultPaginationResult {
7032
7244
  data: CheckSchemaWithPopulatedKeys[];
@@ -7214,6 +7426,12 @@ export declare namespace Service {
7214
7426
  from_updatedAt?: number;
7215
7427
  [key: string]: any;
7216
7428
  populatedKeys?: PopulatedKeys[];
7429
+ from__id?: string;
7430
+ to__id?: string;
7431
+ sortBy?: {
7432
+ field: "_id";
7433
+ type: "asc" | "desc";
7434
+ }[];
7217
7435
  };
7218
7436
  interface Result extends DefaultPaginationResult {
7219
7437
  data: DaySchemaWithPopulatedKeys[];
@@ -7351,6 +7569,12 @@ export declare namespace Service {
7351
7569
  from_createdAt?: number;
7352
7570
  to_createdAt?: number;
7353
7571
  from_updatedAt?: number;
7572
+ from__id?: string;
7573
+ to__id?: string;
7574
+ sortBy?: {
7575
+ field: "_id";
7576
+ type: "asc" | "desc";
7577
+ }[];
7354
7578
  [key: string]: any;
7355
7579
  };
7356
7580
  interface Result extends DefaultPaginationResult {
@@ -7416,6 +7640,12 @@ export declare namespace Service {
7416
7640
  local_name?: string;
7417
7641
  type?: string;
7418
7642
  from_updatedAt?: number;
7643
+ from__id?: string;
7644
+ to__id?: string;
7645
+ sortBy?: {
7646
+ field: "_id";
7647
+ type: "asc" | "desc";
7648
+ }[];
7419
7649
  [key: string]: any;
7420
7650
  };
7421
7651
  interface Result extends DefaultPaginationResult {
@@ -7657,7 +7887,13 @@ export declare namespace Service {
7657
7887
  custom_status?: string[] | string;
7658
7888
  creator?: string[] | string;
7659
7889
  nodeCycles?: string[] | string;
7890
+ from__id?: string;
7891
+ to__id?: string;
7660
7892
  populatedKeys?: PopulatedKeys[];
7893
+ sortBy?: {
7894
+ field: "_id";
7895
+ type: "asc" | "desc";
7896
+ }[];
7661
7897
  [key: string]: any;
7662
7898
  };
7663
7899
  interface Result extends DefaultPaginationResult {
@@ -7812,6 +8048,12 @@ export declare namespace Service {
7812
8048
  from_createdAt?: number;
7813
8049
  to_createdAt?: number;
7814
8050
  from_updatedAt?: number;
8051
+ from__id?: string;
8052
+ to__id?: string;
8053
+ sortBy?: {
8054
+ field: "_id";
8055
+ type: "asc" | "desc";
8056
+ }[];
7815
8057
  [key: string]: any;
7816
8058
  };
7817
8059
  interface Result extends DefaultPaginationResult {
@@ -7980,6 +8222,12 @@ export declare namespace Service {
7980
8222
  from_updatedAt?: number;
7981
8223
  to_updatedAt?: number;
7982
8224
  populatedKeys?: PopulatedKeys[];
8225
+ from__id?: string;
8226
+ to__id?: string;
8227
+ sortBy?: {
8228
+ field: "_id";
8229
+ type: "asc" | "desc";
8230
+ }[];
7983
8231
  };
7984
8232
  interface Result extends DefaultPaginationResult {
7985
8233
  data: Data[] | PopulatedData[];
@@ -8041,6 +8289,12 @@ export declare namespace Service {
8041
8289
  _id?: string[] | string;
8042
8290
  name?: string;
8043
8291
  from_updatedAt?: number;
8292
+ from__id?: string;
8293
+ to__id?: string;
8294
+ sortBy?: {
8295
+ field: "_id";
8296
+ type: "asc" | "desc";
8297
+ }[];
8044
8298
  [key: string]: any;
8045
8299
  };
8046
8300
  interface Result extends DefaultPaginationResult {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "repzo",
3
- "version": "1.0.109",
3
+ "version": "1.0.111",
4
4
  "description": "Repzo TypeScript SDK",
5
5
  "main": "./lib/index.js",
6
6
  "type": "module",
@@ -630,6 +630,12 @@ export namespace Service {
630
630
  speciality?: string[] | string;
631
631
  assigned_product_groups?: string[] | string;
632
632
  populatedKeys?: PopulatedKeys[];
633
+ from__id?: string;
634
+ to__id?: string;
635
+ sortBy?: {
636
+ field: "_id";
637
+ type: "asc" | "desc";
638
+ }[];
633
639
  [key: string]: any; // integration_meta. & customFields.
634
640
  };
635
641
  export interface Result extends DefaultPaginationResult {
@@ -811,6 +817,12 @@ export namespace Service {
811
817
  withMedia?: boolean;
812
818
  withDefaultVariant?: boolean;
813
819
  withVariants?: boolean;
820
+ from__id?: string;
821
+ to__id?: string;
822
+ sortBy?: {
823
+ field: "_id";
824
+ type: "asc" | "desc";
825
+ }[];
814
826
  [key: string]: any; // integration_meta.
815
827
  };
816
828
  export interface Result extends DefaultPaginationResult {
@@ -920,6 +932,8 @@ export namespace Service {
920
932
  createdAt?: number;
921
933
  updatedAt?: number;
922
934
  from_updatedAt?: number;
935
+ from__id?: string;
936
+ to__id?: string;
923
937
  default?: boolean;
924
938
  category?: string[] | string;
925
939
  subCategory?: string[] | string;
@@ -1011,6 +1025,12 @@ export namespace Service {
1011
1025
  withProduct?: boolean;
1012
1026
  hasSubCategory?: boolean;
1013
1027
  isLeaf?: boolean;
1028
+ from__id?: string;
1029
+ to__id?: string;
1030
+ sortBy?: {
1031
+ field: "_id";
1032
+ type: "asc" | "desc";
1033
+ }[];
1014
1034
  [key: string]: any; // integration_meta.
1015
1035
  };
1016
1036
  export interface Result extends DefaultPaginationResult {
@@ -1080,6 +1100,12 @@ export namespace Service {
1080
1100
  from_updatedAt?: number;
1081
1101
  createdAt?: number;
1082
1102
  updatedAt?: number;
1103
+ from__id?: string;
1104
+ to__id?: string;
1105
+ sortBy?: {
1106
+ field: "_id";
1107
+ type: "asc" | "desc";
1108
+ }[];
1083
1109
  [key: string]: any; // integration_meta.
1084
1110
  };
1085
1111
  export interface Result extends DefaultPaginationResult {
@@ -1158,6 +1184,12 @@ export namespace Service {
1158
1184
  createdAt?: number;
1159
1185
  updatedAt?: number;
1160
1186
  withProduct?: boolean;
1187
+ from__id?: string;
1188
+ to__id?: string;
1189
+ sortBy?: {
1190
+ field: "_id";
1191
+ type: "asc" | "desc";
1192
+ }[];
1161
1193
  [key: string]: any; // integration_meta.
1162
1194
  };
1163
1195
  export interface Result extends DefaultPaginationResult {
@@ -1224,6 +1256,12 @@ export namespace Service {
1224
1256
  local_name?: string[] | string;
1225
1257
  disabled?: boolean;
1226
1258
  from_updatedAt?: number;
1259
+ from__id?: string;
1260
+ to__id?: string;
1261
+ sortBy?: {
1262
+ field: "_id";
1263
+ type: "asc" | "desc";
1264
+ }[];
1227
1265
  createdAt?: number;
1228
1266
  updatedAt?: number;
1229
1267
  };
@@ -1293,6 +1331,12 @@ export namespace Service {
1293
1331
  type?: TaxType | TaxType[];
1294
1332
  disabled?: boolean;
1295
1333
  from_updatedAt?: number;
1334
+ from__id?: string;
1335
+ to__id?: string;
1336
+ sortBy?: {
1337
+ field: "_id";
1338
+ type: "asc" | "desc";
1339
+ }[];
1296
1340
  [key: string]: any; // integration_meta.
1297
1341
  };
1298
1342
  export interface Result extends DefaultPaginationResult {
@@ -1366,6 +1410,12 @@ export namespace Service {
1366
1410
  from_updatedAt?: number;
1367
1411
  family_name?: string[] | string;
1368
1412
  withFamily?: boolean;
1413
+ from__id?: string;
1414
+ to__id?: string;
1415
+ sortBy?: {
1416
+ field: "_id";
1417
+ type: "asc" | "desc";
1418
+ }[];
1369
1419
  [key: string]: any; // integration_meta.
1370
1420
  };
1371
1421
  export interface Result extends DefaultPaginationResult {
@@ -1440,6 +1490,12 @@ export namespace Service {
1440
1490
  from_updatedAt?: number;
1441
1491
  measureunits?: string[] | string;
1442
1492
  populatedKeys?: PopulatedKeys[];
1493
+ from__id?: string;
1494
+ to__id?: string;
1495
+ sortBy?: {
1496
+ field: "_id";
1497
+ type: "asc" | "desc";
1498
+ }[];
1443
1499
  [key: string]: any; // integration_meta.
1444
1500
  };
1445
1501
  export interface Result extends DefaultPaginationResult {
@@ -1585,6 +1641,12 @@ export namespace Service {
1585
1641
  "createdby._id"?: string[] | string;
1586
1642
  disabled?: boolean;
1587
1643
  from_updatedAt?: number;
1644
+ from__id?: string;
1645
+ to__id?: string;
1646
+ sortBy?: {
1647
+ field: "_id";
1648
+ type: "asc" | "desc";
1649
+ }[];
1588
1650
  [key: string]: any; // integration_meta.
1589
1651
  };
1590
1652
  export interface Result extends DefaultPaginationResult {
@@ -1905,6 +1967,12 @@ export namespace Service {
1905
1967
  _id?: string[] | string;
1906
1968
  key?: string;
1907
1969
  from_updatedAt?: number;
1970
+ from__id?: string;
1971
+ to__id?: string;
1972
+ sortBy?: {
1973
+ field: "_id";
1974
+ type: "asc" | "desc";
1975
+ }[];
1908
1976
  };
1909
1977
  export interface Result extends DefaultPaginationResult {
1910
1978
  data: MediaStorageSchema[];
@@ -2084,6 +2152,12 @@ export namespace Service {
2084
2152
  local_name?: string;
2085
2153
  disabled?: boolean;
2086
2154
  from_updatedAt?: number;
2155
+ from__id?: string;
2156
+ to__id?: string;
2157
+ sortBy?: {
2158
+ field: "_id";
2159
+ type: "asc" | "desc";
2160
+ }[];
2087
2161
  };
2088
2162
  export interface Result extends DefaultPaginationResult {
2089
2163
  data: StorecheckTemplateSchema[];
@@ -2273,6 +2347,12 @@ export namespace Service {
2273
2347
  teams?: string[];
2274
2348
  route?: string;
2275
2349
  populatedKeys?: PopulatedKeys[];
2350
+ from__id?: string;
2351
+ to__id?: string;
2352
+ sortBy?: {
2353
+ field: "_id";
2354
+ type: "asc" | "desc";
2355
+ }[];
2276
2356
  [key: string]: any;
2277
2357
  };
2278
2358
  export interface Result extends DefaultPaginationResult {
@@ -2322,6 +2402,12 @@ export namespace Service {
2322
2402
  name?: string;
2323
2403
  search?: string;
2324
2404
  from_updatedAt?: number;
2405
+ from__id?: string;
2406
+ to__id?: string;
2407
+ sortBy?: {
2408
+ field: "_id";
2409
+ type: "asc" | "desc";
2410
+ }[];
2325
2411
  };
2326
2412
  export interface Result extends DefaultPaginationResult {
2327
2413
  data: MslSchema[];
@@ -2401,6 +2487,12 @@ export namespace Service {
2401
2487
  from_updatedAt?: number;
2402
2488
  to_updatedAt?: number;
2403
2489
  populatedKeys?: PopulatedKeys[];
2490
+ from__id?: string;
2491
+ to__id?: string;
2492
+ sortBy?: {
2493
+ field: "_id";
2494
+ type: "asc" | "desc";
2495
+ }[];
2404
2496
  };
2405
2497
  export interface Result extends DefaultPaginationResult {
2406
2498
  data: MslProductWithPopulatedKeysSchema[];
@@ -2450,6 +2542,12 @@ export namespace Service {
2450
2542
  disabled?: boolean;
2451
2543
  from_updatedAt?: number;
2452
2544
  to_updatedAt?: number;
2545
+ from__id?: string;
2546
+ to__id?: string;
2547
+ sortBy?: {
2548
+ field: "_id";
2549
+ type: "asc" | "desc";
2550
+ }[];
2453
2551
  };
2454
2552
  export interface Result extends DefaultPaginationResult {
2455
2553
  data: TeamSchema[];
@@ -2808,6 +2906,12 @@ export namespace Service {
2808
2906
  last_login_time?: number;
2809
2907
  [key: string]: any; // integration_meta.
2810
2908
  populatedKeys?: PopulatedKeys[];
2909
+ from__id?: string;
2910
+ to__id?: string;
2911
+ sortBy?: {
2912
+ field: "_id";
2913
+ type: "asc" | "desc";
2914
+ }[];
2811
2915
  withProductLines?: boolean;
2812
2916
  withStatus?: boolean;
2813
2917
  };
@@ -2935,6 +3039,12 @@ export namespace Service {
2935
3039
  type?: TagType[] | TagType;
2936
3040
  disabled?: boolean;
2937
3041
  from_updatedAt?: number;
3042
+ from__id?: string;
3043
+ to__id?: string;
3044
+ sortBy?: {
3045
+ field: "_id";
3046
+ type: "asc" | "desc";
3047
+ }[];
2938
3048
  populatedKeys?: PopulatedKeys[];
2939
3049
  [key: string]: any; // integration_meta.
2940
3050
  };
@@ -3017,6 +3127,12 @@ export namespace Service {
3017
3127
  name?: string[] | string;
3018
3128
  disabled?: boolean;
3019
3129
  from_updatedAt?: number;
3130
+ from__id?: string;
3131
+ to__id?: string;
3132
+ sortBy?: {
3133
+ field: "_id";
3134
+ type: "asc" | "desc";
3135
+ }[];
3020
3136
  populatedKeys?: PopulatedKeys[];
3021
3137
  };
3022
3138
  export interface Result extends DefaultPaginationResult {
@@ -3093,8 +3209,14 @@ export namespace Service {
3093
3209
  type?: WarehouseType[] | WarehouseType;
3094
3210
  disabled?: boolean;
3095
3211
  from_updatedAt?: number;
3212
+ from__id?: string;
3213
+ to__id?: string;
3096
3214
  [key: string]: any; // integration_meta.
3097
3215
  populatedKeys?: PopulatedKeys[];
3216
+ sortBy?: {
3217
+ field: "_id";
3218
+ type: "asc" | "desc";
3219
+ }[];
3098
3220
  };
3099
3221
  export interface Result extends DefaultPaginationResult {
3100
3222
  data: WarehouseWithPopulatedKeysSchema[];
@@ -3160,6 +3282,12 @@ export namespace Service {
3160
3282
  local_name?: string[] | string;
3161
3283
  disabled?: boolean;
3162
3284
  from_updatedAt?: number;
3285
+ from__id?: string;
3286
+ to__id?: string;
3287
+ sortBy?: {
3288
+ field: "_id";
3289
+ type: "asc" | "desc";
3290
+ }[];
3163
3291
  };
3164
3292
  export interface Result extends DefaultPaginationResult {
3165
3293
  data: ProductModifiersGroupSchema[];
@@ -3222,6 +3350,12 @@ export namespace Service {
3222
3350
  local_name?: string[] | string;
3223
3351
  disabled?: boolean;
3224
3352
  from_updatedAt?: number;
3353
+ from__id?: string;
3354
+ to__id?: string;
3355
+ sortBy?: {
3356
+ field: "_id";
3357
+ type: "asc" | "desc";
3358
+ }[];
3225
3359
  [key: string]: any; // integration_meta.
3226
3360
  };
3227
3361
  export interface Result extends DefaultPaginationResult {
@@ -3286,6 +3420,12 @@ export namespace Service {
3286
3420
  name?: string[] | string;
3287
3421
  local_name?: string[] | string;
3288
3422
  from_updatedAt?: number;
3423
+ from__id?: string;
3424
+ to__id?: string;
3425
+ sortBy?: {
3426
+ field: "_id";
3427
+ type: "asc" | "desc";
3428
+ }[];
3289
3429
  };
3290
3430
  export interface Result extends DefaultPaginationResult {
3291
3431
  data: SpecialitySchema[];
@@ -3366,6 +3506,12 @@ export namespace Service {
3366
3506
  name?: string[] | string;
3367
3507
  from_updatedAt?: number;
3368
3508
  to_updatedAt?: number;
3509
+ from__id?: string;
3510
+ to__id?: string;
3511
+ sortBy?: {
3512
+ field: "_id";
3513
+ type: "asc" | "desc";
3514
+ }[];
3369
3515
  };
3370
3516
  export interface Result extends DefaultPaginationResult {
3371
3517
  data: ClientContactSchema[];
@@ -3489,6 +3635,12 @@ export namespace Service {
3489
3635
  _id?: string[] | string;
3490
3636
  search?: string;
3491
3637
  from_updatedAt?: number;
3638
+ from__id?: string;
3639
+ to__id?: string;
3640
+ sortBy?: {
3641
+ field: "_id";
3642
+ type: "asc" | "desc";
3643
+ }[];
3492
3644
  [key: string]: any; // integration_meta.
3493
3645
  };
3494
3646
  export interface Result extends DefaultPaginationResult {
@@ -3621,6 +3773,12 @@ export namespace Service {
3621
3773
  color?: string[] | string;
3622
3774
  disabled?: boolean;
3623
3775
  from_updatedAt?: number;
3776
+ from__id?: string;
3777
+ to__id?: string;
3778
+ sortBy?: {
3779
+ field: "_id";
3780
+ type: "asc" | "desc";
3781
+ }[];
3624
3782
  [key: string]: any; // integration_meta.
3625
3783
  };
3626
3784
  export interface Result extends DefaultPaginationResult {
@@ -3793,6 +3951,12 @@ export namespace Service {
3793
3951
  type?: string;
3794
3952
  code?: string;
3795
3953
  from_updatedAt?: number;
3954
+ from__id?: string;
3955
+ to__id?: string;
3956
+ sortBy?: {
3957
+ field: "_id";
3958
+ type: "asc" | "desc";
3959
+ }[];
3796
3960
  [key: string]: any; // integration_meta.
3797
3961
  };
3798
3962
  export interface Result extends DefaultPaginationResult {
@@ -3882,6 +4046,12 @@ export namespace Service {
3882
4046
  from_updatedAt?: number;
3883
4047
  [key: string]: any; // integration_meta.
3884
4048
  populatedKeys?: PopulatedKeys[];
4049
+ from__id?: string;
4050
+ to__id?: string;
4051
+ sortBy?: {
4052
+ field: "_id";
4053
+ type: "asc" | "desc";
4054
+ }[];
3885
4055
  };
3886
4056
  export interface Result extends DefaultPaginationResult {
3887
4057
  data: CustomListItemSchemaWithPopulatedKeys[];
@@ -3935,6 +4105,12 @@ export namespace Service {
3935
4105
  local_name?: string[] | string;
3936
4106
  disabled?: boolean;
3937
4107
  from_updatedAt?: number;
4108
+ from__id?: string;
4109
+ to__id?: string;
4110
+ sortBy?: {
4111
+ field: "_id";
4112
+ type: "asc" | "desc";
4113
+ }[];
3938
4114
  [key: string]: any; // integration_meta.
3939
4115
  };
3940
4116
  export interface Result extends DefaultPaginationResult {
@@ -5898,6 +6074,12 @@ export namespace Service {
5898
6074
  "serial_number.formatted"?: string[] | string;
5899
6075
  "return_serial_number.formatted"?: string[] | string;
5900
6076
  returned_from?: string[] | string;
6077
+ from__id?: string;
6078
+ to__id?: string;
6079
+ sortBy?: {
6080
+ field: "_id";
6081
+ type: "asc" | "desc";
6082
+ }[];
5901
6083
  };
5902
6084
  export interface Result extends DefaultPaginationResult {
5903
6085
  data: InvoiceSchemaWithPopulatedKeys[];
@@ -6379,7 +6561,7 @@ export namespace Service {
6379
6561
  };
6380
6562
  type PopulatedKeys = "custom_status" | "return_reason" | "teams" | "route";
6381
6563
  type ProformaStatus = "pending" | "approved" | "processing" | "rejected";
6382
- type SortingKeys =
6564
+ type VariantSortingKeys =
6383
6565
  | "product_sku"
6384
6566
  | "product_barcode"
6385
6567
  | "variant_name"
@@ -6407,10 +6589,16 @@ export namespace Service {
6407
6589
  custom_status?: string[] | string;
6408
6590
  status?: ProformaStatus | ProformaStatus[];
6409
6591
  [key: string]: any; // integration_meta.
6410
- sortPage?: SortingKeys;
6592
+ sortPage?: VariantSortingKeys;
6411
6593
  export?: "excel";
6412
6594
  withClientDetails?: boolean;
6413
6595
  populatedKeys?: PopulatedKeys[];
6596
+ from__id?: string;
6597
+ to__id?: string;
6598
+ sortBy?: {
6599
+ field: "_id";
6600
+ type: "asc" | "desc";
6601
+ }[];
6414
6602
  nodeCycles?: string[] | string;
6415
6603
  withCycle?: boolean;
6416
6604
  };
@@ -6422,7 +6610,7 @@ export namespace Service {
6422
6610
  export namespace Get {
6423
6611
  export type ID = string;
6424
6612
  export interface Params {
6425
- sortPage?: SortingKeys;
6613
+ sortPage?: VariantSortingKeys;
6426
6614
  withClientDetails?: boolean;
6427
6615
  withCycle?: boolean;
6428
6616
  }
@@ -6563,6 +6751,12 @@ export namespace Service {
6563
6751
  "serial_number.formatted"?: string[] | string;
6564
6752
  [key: string]: any; // integration_meta.
6565
6753
  populatedKeys?: PopulatedKeys[];
6754
+ from__id?: string;
6755
+ to__id?: string;
6756
+ sortBy?: {
6757
+ field: "_id";
6758
+ type: "asc" | "desc";
6759
+ }[];
6566
6760
  };
6567
6761
  export interface Result extends DefaultPaginationResult {
6568
6762
  data: PaymentSchemaWithPopulatedKeys[];
@@ -6703,6 +6897,12 @@ export namespace Service {
6703
6897
  withPrintDetails?: boolean;
6704
6898
  [key: string]: any; // integration_meta.
6705
6899
  populatedKeys?: PopulatedKeys[];
6900
+ from__id?: string;
6901
+ to__id?: string;
6902
+ sortBy?: {
6903
+ field: "_id";
6904
+ type: "asc" | "desc";
6905
+ }[];
6706
6906
  };
6707
6907
  export interface Result extends DefaultPaginationResult {
6708
6908
  data: RefundSchemaWithPopulatedKeys[];
@@ -6813,6 +7013,12 @@ export namespace Service {
6813
7013
  from_createdAt?: number;
6814
7014
  to_createdAt?: number;
6815
7015
  from_updatedAt?: number;
7016
+ from__id?: string;
7017
+ to__id?: string;
7018
+ sortBy?: {
7019
+ field: "_id";
7020
+ type: "asc" | "desc";
7021
+ }[];
6816
7022
  [key: string]: any; // integration_meta.
6817
7023
  populatedKeys?: PopulatedKeys[];
6818
7024
  };
@@ -6928,6 +7134,12 @@ export namespace Service {
6928
7134
  from_updatedAt?: number;
6929
7135
  [key: string]: any; // integration_meta.
6930
7136
  populatedKeys?: PopulatedKeys[];
7137
+ from__id?: string;
7138
+ to__id?: string;
7139
+ sortBy?: {
7140
+ field: "_id";
7141
+ type: "asc" | "desc";
7142
+ }[];
6931
7143
  };
6932
7144
  export interface Result extends DefaultPaginationResult {
6933
7145
  data: CheckSchemaWithPopulatedKeys[];
@@ -7102,6 +7314,12 @@ export namespace Service {
7102
7314
  from_updatedAt?: number;
7103
7315
  [key: string]: any; // integration_meta.
7104
7316
  populatedKeys?: PopulatedKeys[];
7317
+ from__id?: string;
7318
+ to__id?: string;
7319
+ sortBy?: {
7320
+ field: "_id";
7321
+ type: "asc" | "desc";
7322
+ }[];
7105
7323
  };
7106
7324
  export interface Result extends DefaultPaginationResult {
7107
7325
  data: DaySchemaWithPopulatedKeys[];
@@ -7240,6 +7458,12 @@ export namespace Service {
7240
7458
  from_createdAt?: number;
7241
7459
  to_createdAt?: number;
7242
7460
  from_updatedAt?: number;
7461
+ from__id?: string;
7462
+ to__id?: string;
7463
+ sortBy?: {
7464
+ field: "_id";
7465
+ type: "asc" | "desc";
7466
+ }[];
7243
7467
  [key: string]: any; // integration_meta.
7244
7468
  };
7245
7469
  export interface Result extends DefaultPaginationResult {
@@ -7306,6 +7530,12 @@ export namespace Service {
7306
7530
  local_name?: string;
7307
7531
  type?: string;
7308
7532
  from_updatedAt?: number;
7533
+ from__id?: string;
7534
+ to__id?: string;
7535
+ sortBy?: {
7536
+ field: "_id";
7537
+ type: "asc" | "desc";
7538
+ }[];
7309
7539
  [key: string]: any; // integration_meta.
7310
7540
  };
7311
7541
  export interface Result extends DefaultPaginationResult {
@@ -7538,7 +7768,13 @@ export namespace Service {
7538
7768
  custom_status?: string[] | string;
7539
7769
  creator?: string[] | string;
7540
7770
  nodeCycles?: string[] | string;
7771
+ from__id?: string;
7772
+ to__id?: string;
7541
7773
  populatedKeys?: PopulatedKeys[];
7774
+ sortBy?: {
7775
+ field: "_id";
7776
+ type: "asc" | "desc";
7777
+ }[];
7542
7778
  [key: string]: any; // integration_meta.
7543
7779
  };
7544
7780
  export interface Result extends DefaultPaginationResult {
@@ -7696,6 +7932,12 @@ export namespace Service {
7696
7932
  from_createdAt?: number;
7697
7933
  to_createdAt?: number;
7698
7934
  from_updatedAt?: number;
7935
+ from__id?: string;
7936
+ to__id?: string;
7937
+ sortBy?: {
7938
+ field: "_id";
7939
+ type: "asc" | "desc";
7940
+ }[];
7699
7941
  [key: string]: any; // integration_meta.
7700
7942
  };
7701
7943
  export interface Result extends DefaultPaginationResult {
@@ -7867,6 +8109,12 @@ export namespace Service {
7867
8109
  from_updatedAt?: number;
7868
8110
  to_updatedAt?: number;
7869
8111
  populatedKeys?: PopulatedKeys[];
8112
+ from__id?: string;
8113
+ to__id?: string;
8114
+ sortBy?: {
8115
+ field: "_id";
8116
+ type: "asc" | "desc";
8117
+ }[];
7870
8118
  };
7871
8119
  export interface Result extends DefaultPaginationResult {
7872
8120
  data: Data[] | PopulatedData[];
@@ -7922,6 +8170,12 @@ export namespace Service {
7922
8170
  _id?: string[] | string;
7923
8171
  name?: string;
7924
8172
  from_updatedAt?: number;
8173
+ from__id?: string;
8174
+ to__id?: string;
8175
+ sortBy?: {
8176
+ field: "_id";
8177
+ type: "asc" | "desc";
8178
+ }[];
7925
8179
  [key: string]: any; // integration_meta.
7926
8180
  };
7927
8181
  export interface Result extends DefaultPaginationResult {