repzo 1.0.92 → 1.0.93
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.
- package/lib/index.d.ts +164 -94
- package/lib/index.js +146 -73
- package/lib/types/index.d.ts +12 -12
- package/package.json +1 -1
- package/src/index.ts +144 -72
package/lib/types/index.d.ts
CHANGED
|
@@ -200,21 +200,21 @@ export interface Build {
|
|
|
200
200
|
list: List[];
|
|
201
201
|
start_date?: number | undefined;
|
|
202
202
|
}
|
|
203
|
-
export
|
|
203
|
+
export type Calendar = CalendarWeekly | CalendarWeeklyGroup;
|
|
204
204
|
export interface Route {
|
|
205
205
|
disabled: boolean;
|
|
206
206
|
list: List[];
|
|
207
207
|
_id: string;
|
|
208
208
|
}
|
|
209
|
-
export
|
|
210
|
-
export
|
|
209
|
+
export type Priority = 0 | 1 | 2 | 3;
|
|
210
|
+
export type WorkorderStatus =
|
|
211
211
|
| "open"
|
|
212
212
|
| "done"
|
|
213
213
|
| "cancelled"
|
|
214
214
|
| "inprogress"
|
|
215
215
|
| "onhold";
|
|
216
|
-
export
|
|
217
|
-
export
|
|
216
|
+
export type Priority_human = "none" | "low" | "medium" | "high";
|
|
217
|
+
export type Day =
|
|
218
218
|
| "Sun"
|
|
219
219
|
| "Mon"
|
|
220
220
|
| "Tue"
|
|
@@ -223,7 +223,7 @@ export declare type Day =
|
|
|
223
223
|
| "Fri"
|
|
224
224
|
| "Sat"
|
|
225
225
|
| string;
|
|
226
|
-
export
|
|
226
|
+
export type FieldType =
|
|
227
227
|
| "Text"
|
|
228
228
|
| "String"
|
|
229
229
|
| "Date"
|
|
@@ -269,7 +269,7 @@ export interface CalendarWeeklyGroup {
|
|
|
269
269
|
note?: string;
|
|
270
270
|
_id: string;
|
|
271
271
|
}
|
|
272
|
-
export
|
|
272
|
+
export type Model =
|
|
273
273
|
| "quickConvertToPdf"
|
|
274
274
|
| "warehouses"
|
|
275
275
|
| "transfers"
|
|
@@ -294,7 +294,7 @@ export declare type Model =
|
|
|
294
294
|
| "activities"
|
|
295
295
|
| "bigReports"
|
|
296
296
|
| "admins";
|
|
297
|
-
export
|
|
297
|
+
export type DocumentTypes =
|
|
298
298
|
| "form"
|
|
299
299
|
| "quickConvertToPdf"
|
|
300
300
|
| "clients"
|
|
@@ -338,7 +338,7 @@ export declare type DocumentTypes =
|
|
|
338
338
|
| "retailExecutionPreset"
|
|
339
339
|
| "paymentMethod"
|
|
340
340
|
| "approvalRequest";
|
|
341
|
-
export
|
|
341
|
+
export type PrintTypes = "workorder" | "form" | "invoice" | "proforma";
|
|
342
342
|
export interface MediaDoc {
|
|
343
343
|
_id?: string;
|
|
344
344
|
media_id: string;
|
|
@@ -10712,8 +10712,8 @@ export declare namespace Service {
|
|
|
10712
10712
|
}
|
|
10713
10713
|
}
|
|
10714
10714
|
}
|
|
10715
|
-
export
|
|
10716
|
-
export
|
|
10715
|
+
export type StringId = string;
|
|
10716
|
+
export type NameSpaces = string[];
|
|
10717
10717
|
export interface AdminOrRep {
|
|
10718
10718
|
_id: StringId;
|
|
10719
10719
|
name?: string;
|
|
@@ -10721,7 +10721,7 @@ export interface AdminOrRep {
|
|
|
10721
10721
|
admin?: StringId;
|
|
10722
10722
|
rep?: StringId;
|
|
10723
10723
|
}
|
|
10724
|
-
|
|
10724
|
+
type PopulatedMediaStorage = Pick<
|
|
10725
10725
|
Service.MediaStorage.MediaStorageSchema,
|
|
10726
10726
|
| "_id"
|
|
10727
10727
|
| "createdAt"
|