repzo 1.0.109 → 1.0.110

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 {
@@ -3313,6 +3447,12 @@ export declare namespace Service {
3313
3447
  name?: string[] | string;
3314
3448
  from_updatedAt?: number;
3315
3449
  to_updatedAt?: number;
3450
+ from__id?: string;
3451
+ to__id?: string;
3452
+ sortBy?: {
3453
+ field: "_id";
3454
+ type: "asc" | "desc";
3455
+ }[];
3316
3456
  };
3317
3457
  interface Result extends DefaultPaginationResult {
3318
3458
  data: ClientContactSchema[];
@@ -3432,6 +3572,12 @@ export declare namespace Service {
3432
3572
  _id?: string[] | string;
3433
3573
  search?: string;
3434
3574
  from_updatedAt?: number;
3575
+ from__id?: string;
3576
+ to__id?: string;
3577
+ sortBy?: {
3578
+ field: "_id";
3579
+ type: "asc" | "desc";
3580
+ }[];
3435
3581
  [key: string]: any;
3436
3582
  };
3437
3583
  interface Result extends DefaultPaginationResult {
@@ -3563,6 +3709,12 @@ export declare namespace Service {
3563
3709
  color?: string[] | string;
3564
3710
  disabled?: boolean;
3565
3711
  from_updatedAt?: number;
3712
+ from__id?: string;
3713
+ to__id?: string;
3714
+ sortBy?: {
3715
+ field: "_id";
3716
+ type: "asc" | "desc";
3717
+ }[];
3566
3718
  [key: string]: any;
3567
3719
  };
3568
3720
  interface Result extends DefaultPaginationResult {
@@ -3733,6 +3885,12 @@ export declare namespace Service {
3733
3885
  type?: string;
3734
3886
  code?: string;
3735
3887
  from_updatedAt?: number;
3888
+ from__id?: string;
3889
+ to__id?: string;
3890
+ sortBy?: {
3891
+ field: "_id";
3892
+ type: "asc" | "desc";
3893
+ }[];
3736
3894
  [key: string]: any;
3737
3895
  };
3738
3896
  interface Result extends DefaultPaginationResult {
@@ -3820,6 +3978,12 @@ export declare namespace Service {
3820
3978
  from_updatedAt?: number;
3821
3979
  [key: string]: any;
3822
3980
  populatedKeys?: PopulatedKeys[];
3981
+ from__id?: string;
3982
+ to__id?: string;
3983
+ sortBy?: {
3984
+ field: "_id";
3985
+ type: "asc" | "desc";
3986
+ }[];
3823
3987
  };
3824
3988
  interface Result extends DefaultPaginationResult {
3825
3989
  data: CustomListItemSchemaWithPopulatedKeys[];
@@ -3876,6 +4040,12 @@ export declare namespace Service {
3876
4040
  local_name?: string[] | string;
3877
4041
  disabled?: boolean;
3878
4042
  from_updatedAt?: number;
4043
+ from__id?: string;
4044
+ to__id?: string;
4045
+ sortBy?: {
4046
+ field: "_id";
4047
+ type: "asc" | "desc";
4048
+ }[];
3879
4049
  [key: string]: any;
3880
4050
  };
3881
4051
  interface Result extends DefaultPaginationResult {
@@ -5950,6 +6120,12 @@ export declare namespace Service {
5950
6120
  "serial_number.formatted"?: string[] | string;
5951
6121
  "return_serial_number.formatted"?: string[] | string;
5952
6122
  returned_from?: string[] | string;
6123
+ from__id?: string;
6124
+ to__id?: string;
6125
+ sortBy?: {
6126
+ field: "_id";
6127
+ type: "asc" | "desc";
6128
+ }[];
5953
6129
  };
5954
6130
  interface Result extends DefaultPaginationResult {
5955
6131
  data: InvoiceSchemaWithPopulatedKeys[];
@@ -6475,7 +6651,7 @@ export declare namespace Service {
6475
6651
  };
6476
6652
  type PopulatedKeys = "custom_status" | "return_reason" | "teams" | "route";
6477
6653
  type ProformaStatus = "pending" | "approved" | "processing" | "rejected";
6478
- type SortingKeys =
6654
+ type VariantSortingKeys =
6479
6655
  | "product_sku"
6480
6656
  | "product_barcode"
6481
6657
  | "variant_name"
@@ -6503,10 +6679,16 @@ export declare namespace Service {
6503
6679
  custom_status?: string[] | string;
6504
6680
  status?: ProformaStatus | ProformaStatus[];
6505
6681
  [key: string]: any;
6506
- sortPage?: SortingKeys;
6682
+ sortPage?: VariantSortingKeys;
6507
6683
  export?: "excel";
6508
6684
  withClientDetails?: boolean;
6509
6685
  populatedKeys?: PopulatedKeys[];
6686
+ from__id?: string;
6687
+ to__id?: string;
6688
+ sortBy?: {
6689
+ field: "_id";
6690
+ type: "asc" | "desc";
6691
+ }[];
6510
6692
  nodeCycles?: string[] | string;
6511
6693
  withCycle?: boolean;
6512
6694
  };
@@ -6517,7 +6699,7 @@ export declare namespace Service {
6517
6699
  export namespace Get {
6518
6700
  type ID = string;
6519
6701
  interface Params {
6520
- sortPage?: SortingKeys;
6702
+ sortPage?: VariantSortingKeys;
6521
6703
  withClientDetails?: boolean;
6522
6704
  withCycle?: boolean;
6523
6705
  }
@@ -6663,6 +6845,12 @@ export declare namespace Service {
6663
6845
  "serial_number.formatted"?: string[] | string;
6664
6846
  [key: string]: any;
6665
6847
  populatedKeys?: PopulatedKeys[];
6848
+ from__id?: string;
6849
+ to__id?: string;
6850
+ sortBy?: {
6851
+ field: "_id";
6852
+ type: "asc" | "desc";
6853
+ }[];
6666
6854
  };
6667
6855
  interface Result extends DefaultPaginationResult {
6668
6856
  data: PaymentSchemaWithPopulatedKeys[];
@@ -6807,6 +6995,12 @@ export declare namespace Service {
6807
6995
  withPrintDetails?: boolean;
6808
6996
  [key: string]: any;
6809
6997
  populatedKeys?: PopulatedKeys[];
6998
+ from__id?: string;
6999
+ to__id?: string;
7000
+ sortBy?: {
7001
+ field: "_id";
7002
+ type: "asc" | "desc";
7003
+ }[];
6810
7004
  };
6811
7005
  interface Result extends DefaultPaginationResult {
6812
7006
  data: RefundSchemaWithPopulatedKeys[];
@@ -6914,6 +7108,12 @@ export declare namespace Service {
6914
7108
  from_createdAt?: number;
6915
7109
  to_createdAt?: number;
6916
7110
  from_updatedAt?: number;
7111
+ from__id?: string;
7112
+ to__id?: string;
7113
+ sortBy?: {
7114
+ field: "_id";
7115
+ type: "asc" | "desc";
7116
+ }[];
6917
7117
  [key: string]: any;
6918
7118
  populatedKeys?: PopulatedKeys[];
6919
7119
  };
@@ -7027,6 +7227,12 @@ export declare namespace Service {
7027
7227
  from_updatedAt?: number;
7028
7228
  [key: string]: any;
7029
7229
  populatedKeys?: PopulatedKeys[];
7230
+ from__id?: string;
7231
+ to__id?: string;
7232
+ sortBy?: {
7233
+ field: "_id";
7234
+ type: "asc" | "desc";
7235
+ }[];
7030
7236
  };
7031
7237
  interface Result extends DefaultPaginationResult {
7032
7238
  data: CheckSchemaWithPopulatedKeys[];
@@ -7214,6 +7420,12 @@ export declare namespace Service {
7214
7420
  from_updatedAt?: number;
7215
7421
  [key: string]: any;
7216
7422
  populatedKeys?: PopulatedKeys[];
7423
+ from__id?: string;
7424
+ to__id?: string;
7425
+ sortBy?: {
7426
+ field: "_id";
7427
+ type: "asc" | "desc";
7428
+ }[];
7217
7429
  };
7218
7430
  interface Result extends DefaultPaginationResult {
7219
7431
  data: DaySchemaWithPopulatedKeys[];
@@ -7351,6 +7563,12 @@ export declare namespace Service {
7351
7563
  from_createdAt?: number;
7352
7564
  to_createdAt?: number;
7353
7565
  from_updatedAt?: number;
7566
+ from__id?: string;
7567
+ to__id?: string;
7568
+ sortBy?: {
7569
+ field: "_id";
7570
+ type: "asc" | "desc";
7571
+ }[];
7354
7572
  [key: string]: any;
7355
7573
  };
7356
7574
  interface Result extends DefaultPaginationResult {
@@ -7416,6 +7634,12 @@ export declare namespace Service {
7416
7634
  local_name?: string;
7417
7635
  type?: string;
7418
7636
  from_updatedAt?: number;
7637
+ from__id?: string;
7638
+ to__id?: string;
7639
+ sortBy?: {
7640
+ field: "_id";
7641
+ type: "asc" | "desc";
7642
+ }[];
7419
7643
  [key: string]: any;
7420
7644
  };
7421
7645
  interface Result extends DefaultPaginationResult {
@@ -7657,7 +7881,13 @@ export declare namespace Service {
7657
7881
  custom_status?: string[] | string;
7658
7882
  creator?: string[] | string;
7659
7883
  nodeCycles?: string[] | string;
7884
+ from__id?: string;
7885
+ to__id?: string;
7660
7886
  populatedKeys?: PopulatedKeys[];
7887
+ sortBy?: {
7888
+ field: "_id";
7889
+ type: "asc" | "desc";
7890
+ }[];
7661
7891
  [key: string]: any;
7662
7892
  };
7663
7893
  interface Result extends DefaultPaginationResult {
@@ -7812,6 +8042,12 @@ export declare namespace Service {
7812
8042
  from_createdAt?: number;
7813
8043
  to_createdAt?: number;
7814
8044
  from_updatedAt?: number;
8045
+ from__id?: string;
8046
+ to__id?: string;
8047
+ sortBy?: {
8048
+ field: "_id";
8049
+ type: "asc" | "desc";
8050
+ }[];
7815
8051
  [key: string]: any;
7816
8052
  };
7817
8053
  interface Result extends DefaultPaginationResult {
@@ -7980,6 +8216,12 @@ export declare namespace Service {
7980
8216
  from_updatedAt?: number;
7981
8217
  to_updatedAt?: number;
7982
8218
  populatedKeys?: PopulatedKeys[];
8219
+ from__id?: string;
8220
+ to__id?: string;
8221
+ sortBy?: {
8222
+ field: "_id";
8223
+ type: "asc" | "desc";
8224
+ }[];
7983
8225
  };
7984
8226
  interface Result extends DefaultPaginationResult {
7985
8227
  data: Data[] | PopulatedData[];
@@ -8041,6 +8283,12 @@ export declare namespace Service {
8041
8283
  _id?: string[] | string;
8042
8284
  name?: string;
8043
8285
  from_updatedAt?: number;
8286
+ from__id?: string;
8287
+ to__id?: string;
8288
+ sortBy?: {
8289
+ field: "_id";
8290
+ type: "asc" | "desc";
8291
+ }[];
8044
8292
  [key: string]: any;
8045
8293
  };
8046
8294
  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.110",
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 {
@@ -3366,6 +3500,12 @@ export namespace Service {
3366
3500
  name?: string[] | string;
3367
3501
  from_updatedAt?: number;
3368
3502
  to_updatedAt?: number;
3503
+ from__id?: string;
3504
+ to__id?: string;
3505
+ sortBy?: {
3506
+ field: "_id";
3507
+ type: "asc" | "desc";
3508
+ }[];
3369
3509
  };
3370
3510
  export interface Result extends DefaultPaginationResult {
3371
3511
  data: ClientContactSchema[];
@@ -3489,6 +3629,12 @@ export namespace Service {
3489
3629
  _id?: string[] | string;
3490
3630
  search?: string;
3491
3631
  from_updatedAt?: number;
3632
+ from__id?: string;
3633
+ to__id?: string;
3634
+ sortBy?: {
3635
+ field: "_id";
3636
+ type: "asc" | "desc";
3637
+ }[];
3492
3638
  [key: string]: any; // integration_meta.
3493
3639
  };
3494
3640
  export interface Result extends DefaultPaginationResult {
@@ -3621,6 +3767,12 @@ export namespace Service {
3621
3767
  color?: string[] | string;
3622
3768
  disabled?: boolean;
3623
3769
  from_updatedAt?: number;
3770
+ from__id?: string;
3771
+ to__id?: string;
3772
+ sortBy?: {
3773
+ field: "_id";
3774
+ type: "asc" | "desc";
3775
+ }[];
3624
3776
  [key: string]: any; // integration_meta.
3625
3777
  };
3626
3778
  export interface Result extends DefaultPaginationResult {
@@ -3793,6 +3945,12 @@ export namespace Service {
3793
3945
  type?: string;
3794
3946
  code?: string;
3795
3947
  from_updatedAt?: number;
3948
+ from__id?: string;
3949
+ to__id?: string;
3950
+ sortBy?: {
3951
+ field: "_id";
3952
+ type: "asc" | "desc";
3953
+ }[];
3796
3954
  [key: string]: any; // integration_meta.
3797
3955
  };
3798
3956
  export interface Result extends DefaultPaginationResult {
@@ -3882,6 +4040,12 @@ export namespace Service {
3882
4040
  from_updatedAt?: number;
3883
4041
  [key: string]: any; // integration_meta.
3884
4042
  populatedKeys?: PopulatedKeys[];
4043
+ from__id?: string;
4044
+ to__id?: string;
4045
+ sortBy?: {
4046
+ field: "_id";
4047
+ type: "asc" | "desc";
4048
+ }[];
3885
4049
  };
3886
4050
  export interface Result extends DefaultPaginationResult {
3887
4051
  data: CustomListItemSchemaWithPopulatedKeys[];
@@ -3935,6 +4099,12 @@ export namespace Service {
3935
4099
  local_name?: string[] | string;
3936
4100
  disabled?: boolean;
3937
4101
  from_updatedAt?: number;
4102
+ from__id?: string;
4103
+ to__id?: string;
4104
+ sortBy?: {
4105
+ field: "_id";
4106
+ type: "asc" | "desc";
4107
+ }[];
3938
4108
  [key: string]: any; // integration_meta.
3939
4109
  };
3940
4110
  export interface Result extends DefaultPaginationResult {
@@ -5898,6 +6068,12 @@ export namespace Service {
5898
6068
  "serial_number.formatted"?: string[] | string;
5899
6069
  "return_serial_number.formatted"?: string[] | string;
5900
6070
  returned_from?: string[] | string;
6071
+ from__id?: string;
6072
+ to__id?: string;
6073
+ sortBy?: {
6074
+ field: "_id";
6075
+ type: "asc" | "desc";
6076
+ }[];
5901
6077
  };
5902
6078
  export interface Result extends DefaultPaginationResult {
5903
6079
  data: InvoiceSchemaWithPopulatedKeys[];
@@ -6379,7 +6555,7 @@ export namespace Service {
6379
6555
  };
6380
6556
  type PopulatedKeys = "custom_status" | "return_reason" | "teams" | "route";
6381
6557
  type ProformaStatus = "pending" | "approved" | "processing" | "rejected";
6382
- type SortingKeys =
6558
+ type VariantSortingKeys =
6383
6559
  | "product_sku"
6384
6560
  | "product_barcode"
6385
6561
  | "variant_name"
@@ -6407,10 +6583,16 @@ export namespace Service {
6407
6583
  custom_status?: string[] | string;
6408
6584
  status?: ProformaStatus | ProformaStatus[];
6409
6585
  [key: string]: any; // integration_meta.
6410
- sortPage?: SortingKeys;
6586
+ sortPage?: VariantSortingKeys;
6411
6587
  export?: "excel";
6412
6588
  withClientDetails?: boolean;
6413
6589
  populatedKeys?: PopulatedKeys[];
6590
+ from__id?: string;
6591
+ to__id?: string;
6592
+ sortBy?: {
6593
+ field: "_id";
6594
+ type: "asc" | "desc";
6595
+ }[];
6414
6596
  nodeCycles?: string[] | string;
6415
6597
  withCycle?: boolean;
6416
6598
  };
@@ -6422,7 +6604,7 @@ export namespace Service {
6422
6604
  export namespace Get {
6423
6605
  export type ID = string;
6424
6606
  export interface Params {
6425
- sortPage?: SortingKeys;
6607
+ sortPage?: VariantSortingKeys;
6426
6608
  withClientDetails?: boolean;
6427
6609
  withCycle?: boolean;
6428
6610
  }
@@ -6563,6 +6745,12 @@ export namespace Service {
6563
6745
  "serial_number.formatted"?: string[] | string;
6564
6746
  [key: string]: any; // integration_meta.
6565
6747
  populatedKeys?: PopulatedKeys[];
6748
+ from__id?: string;
6749
+ to__id?: string;
6750
+ sortBy?: {
6751
+ field: "_id";
6752
+ type: "asc" | "desc";
6753
+ }[];
6566
6754
  };
6567
6755
  export interface Result extends DefaultPaginationResult {
6568
6756
  data: PaymentSchemaWithPopulatedKeys[];
@@ -6703,6 +6891,12 @@ export namespace Service {
6703
6891
  withPrintDetails?: boolean;
6704
6892
  [key: string]: any; // integration_meta.
6705
6893
  populatedKeys?: PopulatedKeys[];
6894
+ from__id?: string;
6895
+ to__id?: string;
6896
+ sortBy?: {
6897
+ field: "_id";
6898
+ type: "asc" | "desc";
6899
+ }[];
6706
6900
  };
6707
6901
  export interface Result extends DefaultPaginationResult {
6708
6902
  data: RefundSchemaWithPopulatedKeys[];
@@ -6813,6 +7007,12 @@ export namespace Service {
6813
7007
  from_createdAt?: number;
6814
7008
  to_createdAt?: number;
6815
7009
  from_updatedAt?: number;
7010
+ from__id?: string;
7011
+ to__id?: string;
7012
+ sortBy?: {
7013
+ field: "_id";
7014
+ type: "asc" | "desc";
7015
+ }[];
6816
7016
  [key: string]: any; // integration_meta.
6817
7017
  populatedKeys?: PopulatedKeys[];
6818
7018
  };
@@ -6928,6 +7128,12 @@ export namespace Service {
6928
7128
  from_updatedAt?: number;
6929
7129
  [key: string]: any; // integration_meta.
6930
7130
  populatedKeys?: PopulatedKeys[];
7131
+ from__id?: string;
7132
+ to__id?: string;
7133
+ sortBy?: {
7134
+ field: "_id";
7135
+ type: "asc" | "desc";
7136
+ }[];
6931
7137
  };
6932
7138
  export interface Result extends DefaultPaginationResult {
6933
7139
  data: CheckSchemaWithPopulatedKeys[];
@@ -7102,6 +7308,12 @@ export namespace Service {
7102
7308
  from_updatedAt?: number;
7103
7309
  [key: string]: any; // integration_meta.
7104
7310
  populatedKeys?: PopulatedKeys[];
7311
+ from__id?: string;
7312
+ to__id?: string;
7313
+ sortBy?: {
7314
+ field: "_id";
7315
+ type: "asc" | "desc";
7316
+ }[];
7105
7317
  };
7106
7318
  export interface Result extends DefaultPaginationResult {
7107
7319
  data: DaySchemaWithPopulatedKeys[];
@@ -7240,6 +7452,12 @@ export namespace Service {
7240
7452
  from_createdAt?: number;
7241
7453
  to_createdAt?: number;
7242
7454
  from_updatedAt?: number;
7455
+ from__id?: string;
7456
+ to__id?: string;
7457
+ sortBy?: {
7458
+ field: "_id";
7459
+ type: "asc" | "desc";
7460
+ }[];
7243
7461
  [key: string]: any; // integration_meta.
7244
7462
  };
7245
7463
  export interface Result extends DefaultPaginationResult {
@@ -7306,6 +7524,12 @@ export namespace Service {
7306
7524
  local_name?: string;
7307
7525
  type?: string;
7308
7526
  from_updatedAt?: number;
7527
+ from__id?: string;
7528
+ to__id?: string;
7529
+ sortBy?: {
7530
+ field: "_id";
7531
+ type: "asc" | "desc";
7532
+ }[];
7309
7533
  [key: string]: any; // integration_meta.
7310
7534
  };
7311
7535
  export interface Result extends DefaultPaginationResult {
@@ -7538,7 +7762,13 @@ export namespace Service {
7538
7762
  custom_status?: string[] | string;
7539
7763
  creator?: string[] | string;
7540
7764
  nodeCycles?: string[] | string;
7765
+ from__id?: string;
7766
+ to__id?: string;
7541
7767
  populatedKeys?: PopulatedKeys[];
7768
+ sortBy?: {
7769
+ field: "_id";
7770
+ type: "asc" | "desc";
7771
+ }[];
7542
7772
  [key: string]: any; // integration_meta.
7543
7773
  };
7544
7774
  export interface Result extends DefaultPaginationResult {
@@ -7696,6 +7926,12 @@ export namespace Service {
7696
7926
  from_createdAt?: number;
7697
7927
  to_createdAt?: number;
7698
7928
  from_updatedAt?: number;
7929
+ from__id?: string;
7930
+ to__id?: string;
7931
+ sortBy?: {
7932
+ field: "_id";
7933
+ type: "asc" | "desc";
7934
+ }[];
7699
7935
  [key: string]: any; // integration_meta.
7700
7936
  };
7701
7937
  export interface Result extends DefaultPaginationResult {
@@ -7867,6 +8103,12 @@ export namespace Service {
7867
8103
  from_updatedAt?: number;
7868
8104
  to_updatedAt?: number;
7869
8105
  populatedKeys?: PopulatedKeys[];
8106
+ from__id?: string;
8107
+ to__id?: string;
8108
+ sortBy?: {
8109
+ field: "_id";
8110
+ type: "asc" | "desc";
8111
+ }[];
7870
8112
  };
7871
8113
  export interface Result extends DefaultPaginationResult {
7872
8114
  data: Data[] | PopulatedData[];
@@ -7922,6 +8164,12 @@ export namespace Service {
7922
8164
  _id?: string[] | string;
7923
8165
  name?: string;
7924
8166
  from_updatedAt?: number;
8167
+ from__id?: string;
8168
+ to__id?: string;
8169
+ sortBy?: {
8170
+ field: "_id";
8171
+ type: "asc" | "desc";
8172
+ }[];
7925
8173
  [key: string]: any; // integration_meta.
7926
8174
  };
7927
8175
  export interface Result extends DefaultPaginationResult {