repzo 1.0.42 → 1.0.43

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.
@@ -964,6 +964,7 @@ export declare namespace Service {
964
964
  position?: number[] | number;
965
965
  createdAt?: number;
966
966
  updatedAt?: number;
967
+ from_updatedAt?: number;
967
968
  withProduct?: boolean;
968
969
  hasSubCategory?: boolean;
969
970
  isLeaf?: boolean;
@@ -1031,6 +1032,7 @@ export declare namespace Service {
1031
1032
  name?: string[] | string;
1032
1033
  local_name?: string[] | string;
1033
1034
  disabled?: boolean;
1035
+ from_updatedAt?: number;
1034
1036
  createdAt?: number;
1035
1037
  updatedAt?: number;
1036
1038
  [key: string]: any;
@@ -1104,6 +1106,7 @@ export declare namespace Service {
1104
1106
  parent_id?: string[] | string;
1105
1107
  disabled?: boolean;
1106
1108
  position?: number | number[];
1109
+ from_updatedAt?: number;
1107
1110
  createdAt?: number;
1108
1111
  updatedAt?: number;
1109
1112
  withProduct?: boolean;
@@ -1167,6 +1170,7 @@ export declare namespace Service {
1167
1170
  name?: string[] | string;
1168
1171
  local_name?: string[] | string;
1169
1172
  disabled?: boolean;
1173
+ from_updatedAt?: number;
1170
1174
  createdAt?: number;
1171
1175
  updatedAt?: number;
1172
1176
  };
@@ -1340,7 +1344,7 @@ export declare namespace Service {
1340
1344
  }
1341
1345
  }
1342
1346
  namespace MeasureUnitFamily {
1343
- interface MeasureUnitFamilySchema {
1347
+ export interface MeasureUnitFamilySchema {
1344
1348
  _id: string;
1345
1349
  name: string;
1346
1350
  local_name?: string;
@@ -1354,7 +1358,7 @@ export declare namespace Service {
1354
1358
  updatedAt: string;
1355
1359
  __v: number;
1356
1360
  }
1357
- interface MeasureUnitFamilyBody {
1361
+ export interface MeasureUnitFamilyBody {
1358
1362
  name?: string;
1359
1363
  local_name?: string;
1360
1364
  measureunits?: string[];
@@ -1364,31 +1368,37 @@ export declare namespace Service {
1364
1368
  [key: string]: any;
1365
1369
  };
1366
1370
  }
1367
- namespace Find {
1371
+ type PopulatedKeys = "measureunits";
1372
+ type MeasureUnitFamilySchemaWithPopulatedKeys = MeasureUnitFamilySchema & {
1373
+ measureunits_populated?: string[] | MeasureUnit.MeasureUnitSchema[];
1374
+ };
1375
+ export namespace Find {
1368
1376
  type Params = DefaultPaginationQueryParams & {
1369
1377
  _id?: string[] | string;
1370
1378
  search?: string;
1371
1379
  name?: string[] | string;
1372
1380
  local_name?: string[] | string;
1373
1381
  disabled?: boolean;
1382
+ from_updatedAt?: number;
1374
1383
  measureunits?: string[] | string;
1384
+ populatedKeys?: PopulatedKeys[];
1375
1385
  [key: string]: any;
1376
1386
  };
1377
1387
  interface Result extends DefaultPaginationResult {
1378
- data: MeasureUnitFamilySchema[];
1388
+ data: MeasureUnitFamilySchemaWithPopulatedKeys[];
1379
1389
  }
1380
1390
  }
1381
- namespace Get {
1391
+ export namespace Get {
1382
1392
  type ID = string;
1383
1393
  type Result = MeasureUnitFamilySchema;
1384
1394
  }
1385
- namespace Create {
1395
+ export namespace Create {
1386
1396
  interface Body extends MeasureUnitFamilyBody {
1387
1397
  name: string;
1388
1398
  }
1389
1399
  type Result = MeasureUnitFamilySchema;
1390
1400
  }
1391
- namespace Update {
1401
+ export namespace Update {
1392
1402
  type ID = string;
1393
1403
  interface Body extends MeasureUnitFamilyBody {
1394
1404
  _id?: string;
@@ -1398,10 +1408,11 @@ export declare namespace Service {
1398
1408
  }
1399
1409
  type Result = MeasureUnitFamilySchema;
1400
1410
  }
1401
- namespace Remove {
1411
+ export namespace Remove {
1402
1412
  type ID = string;
1403
1413
  type Result = MeasureUnitFamilySchema;
1404
1414
  }
1415
+ export {};
1405
1416
  }
1406
1417
  namespace Media {
1407
1418
  type MediaType =
@@ -1682,6 +1693,7 @@ export declare namespace Service {
1682
1693
  rep_can_add_calendar: boolean;
1683
1694
  rep_can_edit_calendar: boolean;
1684
1695
  rep_can_skip_photo_tag: boolean;
1696
+ rep_can_edit_others_calendar: boolean;
1685
1697
  rep_can_edit_product_price?: boolean;
1686
1698
  rep_must_add_client_with_location?: boolean;
1687
1699
  rep_can_access_shared_history?: boolean;
@@ -1908,6 +1920,7 @@ export declare namespace Service {
1908
1920
  "permissions.rep_can_edit_client"?: boolean;
1909
1921
  "permissions.rep_can_add_calendar"?: boolean;
1910
1922
  "permissions.rep_can_edit_calendar"?: boolean;
1923
+ "permissions.rep_can_edit_others_calendar"?: boolean;
1911
1924
  "permissions.rep_can_skip_photo_tag"?: boolean;
1912
1925
  "permissions.rep_can_edit_product_price"?: boolean;
1913
1926
  "permissions.rep_must_add_client_with_location"?: boolean;
@@ -2000,7 +2013,7 @@ export declare namespace Service {
2000
2013
  withStatus?: boolean;
2001
2014
  };
2002
2015
  interface Result extends DefaultPaginationResult {
2003
- data: (RepSchema & {
2016
+ data: (RepWithPopulatedKeysSchema & {
2004
2017
  status?:
2005
2018
  | "Inactive"
2006
2019
  | "Ended a day"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "repzo",
3
- "version": "1.0.42",
3
+ "version": "1.0.43",
4
4
  "description": "Repzo TypeScript SDK",
5
5
  "main": "./lib/index.js",
6
6
  "type": "module",
@@ -967,6 +967,7 @@ export namespace Service {
967
967
  position?: number[] | number;
968
968
  createdAt?: number;
969
969
  updatedAt?: number;
970
+ from_updatedAt?: number;
970
971
  withProduct?: boolean;
971
972
  hasSubCategory?: boolean;
972
973
  isLeaf?: boolean;
@@ -1036,6 +1037,7 @@ export namespace Service {
1036
1037
  name?: string[] | string;
1037
1038
  local_name?: string[] | string;
1038
1039
  disabled?: boolean;
1040
+ from_updatedAt?: number;
1039
1041
  createdAt?: number;
1040
1042
  updatedAt?: number;
1041
1043
  [key: string]: any; // integration_meta.
@@ -1112,6 +1114,7 @@ export namespace Service {
1112
1114
  parent_id?: string[] | string;
1113
1115
  disabled?: boolean;
1114
1116
  position?: number | number[];
1117
+ from_updatedAt?: number;
1115
1118
  createdAt?: number;
1116
1119
  updatedAt?: number;
1117
1120
  withProduct?: boolean;
@@ -1180,6 +1183,7 @@ export namespace Service {
1180
1183
  name?: string[] | string;
1181
1184
  local_name?: string[] | string;
1182
1185
  disabled?: boolean;
1186
+ from_updatedAt?: number;
1183
1187
  createdAt?: number;
1184
1188
  updatedAt?: number;
1185
1189
  };
@@ -1381,7 +1385,11 @@ export namespace Service {
1381
1385
  disabled?: boolean;
1382
1386
  integration_meta?: { [key: string]: any };
1383
1387
  }
1388
+ type PopulatedKeys = "measureunits";
1384
1389
 
1390
+ type MeasureUnitFamilySchemaWithPopulatedKeys = MeasureUnitFamilySchema & {
1391
+ measureunits_populated?: string[] | MeasureUnit.MeasureUnitSchema[];
1392
+ };
1385
1393
  export namespace Find {
1386
1394
  export type Params = DefaultPaginationQueryParams & {
1387
1395
  _id?: string[] | string;
@@ -1389,11 +1397,13 @@ export namespace Service {
1389
1397
  name?: string[] | string;
1390
1398
  local_name?: string[] | string;
1391
1399
  disabled?: boolean;
1400
+ from_updatedAt?: number;
1392
1401
  measureunits?: string[] | string;
1402
+ populatedKeys?: PopulatedKeys[];
1393
1403
  [key: string]: any; // integration_meta.
1394
1404
  };
1395
1405
  export interface Result extends DefaultPaginationResult {
1396
- data: MeasureUnitFamilySchema[];
1406
+ data: MeasureUnitFamilySchemaWithPopulatedKeys[];
1397
1407
  }
1398
1408
  }
1399
1409
 
@@ -1719,6 +1729,7 @@ export namespace Service {
1719
1729
  rep_can_add_calendar: boolean;
1720
1730
  rep_can_edit_calendar: boolean;
1721
1731
  rep_can_skip_photo_tag: boolean;
1732
+ rep_can_edit_others_calendar: boolean;
1722
1733
  rep_can_edit_product_price?: boolean;
1723
1734
  rep_must_add_client_with_location?: boolean;
1724
1735
  rep_can_access_shared_history?: boolean;
@@ -1940,6 +1951,7 @@ export namespace Service {
1940
1951
  "permissions.rep_can_edit_client"?: boolean;
1941
1952
  "permissions.rep_can_add_calendar"?: boolean;
1942
1953
  "permissions.rep_can_edit_calendar"?: boolean;
1954
+ "permissions.rep_can_edit_others_calendar"?: boolean;
1943
1955
  "permissions.rep_can_skip_photo_tag"?: boolean;
1944
1956
  "permissions.rep_can_edit_product_price"?: boolean;
1945
1957
  "permissions.rep_must_add_client_with_location"?: boolean;
@@ -2032,7 +2044,7 @@ export namespace Service {
2032
2044
  withStatus?: boolean;
2033
2045
  };
2034
2046
  export interface Result extends DefaultPaginationResult {
2035
- data: (RepSchema & {
2047
+ data: (RepWithPopulatedKeysSchema & {
2036
2048
  status?:
2037
2049
  | "Inactive"
2038
2050
  | "Ended a day"