repzo 1.0.186 → 1.0.187
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/types/index.d.ts +13 -10
- package/package.json +1 -1
- package/src/types/index.ts +3 -0
package/lib/types/index.d.ts
CHANGED
|
@@ -14072,7 +14072,7 @@ export declare namespace Service {
|
|
|
14072
14072
|
}[];
|
|
14073
14073
|
}
|
|
14074
14074
|
export const fieldType_enums: readonly ["Text", "String", "Phone", "Email", "Date", "Number", "List", "Separator", "Heading", "Media", "Signature", "DateTime", "YesNo", "ProductBarcodeScan", "BarcodeScan", "GeoPoint"];
|
|
14075
|
-
export type FormV2FieldType = typeof fieldType_enums[number];
|
|
14075
|
+
export type FormV2FieldType = (typeof fieldType_enums)[number];
|
|
14076
14076
|
interface FieldPrintSettings {
|
|
14077
14077
|
three_inch: {
|
|
14078
14078
|
grid_column?: 1 | 2;
|
|
@@ -14214,7 +14214,7 @@ export declare namespace Service {
|
|
|
14214
14214
|
}
|
|
14215
14215
|
namespace ActivityFormV2Result {
|
|
14216
14216
|
const fieldType_enums: readonly ["Text", "String", "Phone", "Email", "Date", "Number", "List", "Separator", "Heading", "Media", "Signature", "DateTime", "YesNo", "ProductBarcodeScan", "BarcodeScan", "GeoPoint"];
|
|
14217
|
-
type FormV2FieldType = typeof fieldType_enums[number];
|
|
14217
|
+
type FormV2FieldType = (typeof fieldType_enums)[number];
|
|
14218
14218
|
interface FieldResult {
|
|
14219
14219
|
_id?: string;
|
|
14220
14220
|
field_id: string;
|
|
@@ -14489,7 +14489,7 @@ export declare namespace Service {
|
|
|
14489
14489
|
}
|
|
14490
14490
|
namespace TimelineReport {
|
|
14491
14491
|
export const activity_types: readonly ["day", "client", "visit", "payment", "activity-photo", "activity-audit", "activity-availability", "activity-checkout-display", "activity-feedback", "activity-form-result", "activity-form-v2-result", "activity-item-status", "activity-note", "activity-planogram", "activity-secondary-display", "activity-shelfshare", "activity-storecheck", "activity-task", "approval-request", "asset-part-receival", "asset-part-transfer", "asset", "asset-part", "asset-unit", "reminders", "return-asset-part-unit", "store-asset-part-unit", "refund", "settlement", "convert-proforma", "transfer", "proforma", "receiving-material", "void-invoice", "fullinvoices", "workorder", "workorder-request", "return-whole-invoice", "cycle"];
|
|
14492
|
-
type ActivityType = typeof activity_types[number];
|
|
14492
|
+
type ActivityType = (typeof activity_types)[number];
|
|
14493
14493
|
export interface Data {
|
|
14494
14494
|
_id: StringId;
|
|
14495
14495
|
company_namespace: string[];
|
|
@@ -15195,7 +15195,7 @@ export declare namespace Service {
|
|
|
15195
15195
|
}
|
|
15196
15196
|
namespace TimelineTimeList {
|
|
15197
15197
|
export const activity_types: readonly ["day", "client", "visit", "payment", "activity-photo", "activity-audit", "activity-availability", "activity-checkout-display", "activity-feedback", "activity-form-result", "activity-form-v2-result", "activity-item-status", "activity-note", "activity-planogram", "activity-secondary-display", "activity-shelfshare", "activity-storecheck", "activity-task", "approval-request", "asset-part-receival", "asset-part-transfer", "asset", "asset-part", "asset-unit", "reminders", "return-asset-part-unit", "store-asset-part-unit", "refund", "settlement", "convert-proforma", "transfer", "proforma", "receiving-material", "void-invoice", "fullinvoices", "workorder", "workorder-request", "return-whole-invoice", "cycle"];
|
|
15198
|
-
type ActivityType = typeof activity_types[number];
|
|
15198
|
+
type ActivityType = (typeof activity_types)[number];
|
|
15199
15199
|
export interface Data {
|
|
15200
15200
|
_id: StringId;
|
|
15201
15201
|
company_namespace: string[];
|
|
@@ -15656,17 +15656,17 @@ export declare namespace Service {
|
|
|
15656
15656
|
}
|
|
15657
15657
|
namespace SalesAnalyticsReport {
|
|
15658
15658
|
const groupBy_options: readonly ["client", "rep", "issue_date", "due_date", "serial_number", "product", "variant", "brand", "category", "status", "promotion_type", "class", "measureunit", "promotion", "chain", "channel", "city", "region", "country", "route", "teams"];
|
|
15659
|
-
type GroupByOption = typeof groupBy_options[number];
|
|
15659
|
+
type GroupByOption = (typeof groupBy_options)[number];
|
|
15660
15660
|
const promotion_type_options: readonly ["get", "buy"];
|
|
15661
|
-
type PromotionTypeOption = typeof promotion_type_options[number];
|
|
15661
|
+
type PromotionTypeOption = (typeof promotion_type_options)[number];
|
|
15662
15662
|
const class_options: readonly ["invoice", "return"];
|
|
15663
|
-
type ClassOption = typeof class_options[number];
|
|
15663
|
+
type ClassOption = (typeof class_options)[number];
|
|
15664
15664
|
const status_options: readonly ["unpaid", "partially_paid", "paid"];
|
|
15665
|
-
type StatusOption = typeof status_options[number];
|
|
15665
|
+
type StatusOption = (typeof status_options)[number];
|
|
15666
15666
|
const sortBy_field_options: readonly ["_id", "time"];
|
|
15667
|
-
type SortByFieldOption = typeof sortBy_field_options[number];
|
|
15667
|
+
type SortByFieldOption = (typeof sortBy_field_options)[number];
|
|
15668
15668
|
const sortBy_type_options: readonly ["asc", "desc"];
|
|
15669
|
-
type SortByTypeOption = typeof sortBy_type_options[number];
|
|
15669
|
+
type SortByTypeOption = (typeof sortBy_type_options)[number];
|
|
15670
15670
|
interface SortByOption {
|
|
15671
15671
|
field: SortByFieldOption;
|
|
15672
15672
|
type: SortByTypeOption;
|
|
@@ -15780,6 +15780,9 @@ export declare namespace Service {
|
|
|
15780
15780
|
done_workorders: number;
|
|
15781
15781
|
inprogress_workorders: number;
|
|
15782
15782
|
overdue_workorders: number;
|
|
15783
|
+
open_workorders: number;
|
|
15784
|
+
onhold_workorders: number;
|
|
15785
|
+
cancelled_workorders: number;
|
|
15783
15786
|
}
|
|
15784
15787
|
namespace Find {
|
|
15785
15788
|
type Params = DefaultPaginationQueryParams & {
|
package/package.json
CHANGED
package/src/types/index.ts
CHANGED
|
@@ -17832,6 +17832,9 @@ export namespace Service {
|
|
|
17832
17832
|
done_workorders: number;
|
|
17833
17833
|
inprogress_workorders: number;
|
|
17834
17834
|
overdue_workorders: number;
|
|
17835
|
+
open_workorders: number;
|
|
17836
|
+
onhold_workorders: number;
|
|
17837
|
+
cancelled_workorders: number;
|
|
17835
17838
|
}
|
|
17836
17839
|
|
|
17837
17840
|
export namespace Find {
|