repzo 1.0.186 → 1.0.188
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 +16 -10
- package/package.json +1 -1
- package/src/types/index.ts +6 -0
package/lib/types/index.d.ts
CHANGED
|
@@ -5754,6 +5754,7 @@ export declare namespace Service {
|
|
|
5754
5754
|
identifier?: number;
|
|
5755
5755
|
device_id?: string;
|
|
5756
5756
|
device_unique_id?: string;
|
|
5757
|
+
treat_invoice_as_proforma_for_etax?: boolean;
|
|
5757
5758
|
}
|
|
5758
5759
|
export type Data = InvoiceSchema;
|
|
5759
5760
|
export interface CreateBody {
|
|
@@ -6385,6 +6386,7 @@ export declare namespace Service {
|
|
|
6385
6386
|
field: "_id";
|
|
6386
6387
|
type: "asc" | "desc";
|
|
6387
6388
|
}[];
|
|
6389
|
+
treat_invoice_as_proforma_for_etax?: boolean;
|
|
6388
6390
|
};
|
|
6389
6391
|
interface Result extends DefaultPaginationResult {
|
|
6390
6392
|
data: InvoiceSchemaWithPopulatedKeys[];
|
|
@@ -6937,6 +6939,7 @@ export declare namespace Service {
|
|
|
6937
6939
|
}[];
|
|
6938
6940
|
nodeCycles?: string[] | string;
|
|
6939
6941
|
withCycle?: boolean;
|
|
6942
|
+
conversion_status?: "converted" | "not_converted" | "all";
|
|
6940
6943
|
};
|
|
6941
6944
|
interface Result extends DefaultPaginationResult {
|
|
6942
6945
|
data: ProformaSchemaWithPopulatedKeys[];
|
|
@@ -14072,7 +14075,7 @@ export declare namespace Service {
|
|
|
14072
14075
|
}[];
|
|
14073
14076
|
}
|
|
14074
14077
|
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];
|
|
14078
|
+
export type FormV2FieldType = (typeof fieldType_enums)[number];
|
|
14076
14079
|
interface FieldPrintSettings {
|
|
14077
14080
|
three_inch: {
|
|
14078
14081
|
grid_column?: 1 | 2;
|
|
@@ -14214,7 +14217,7 @@ export declare namespace Service {
|
|
|
14214
14217
|
}
|
|
14215
14218
|
namespace ActivityFormV2Result {
|
|
14216
14219
|
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];
|
|
14220
|
+
type FormV2FieldType = (typeof fieldType_enums)[number];
|
|
14218
14221
|
interface FieldResult {
|
|
14219
14222
|
_id?: string;
|
|
14220
14223
|
field_id: string;
|
|
@@ -14489,7 +14492,7 @@ export declare namespace Service {
|
|
|
14489
14492
|
}
|
|
14490
14493
|
namespace TimelineReport {
|
|
14491
14494
|
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];
|
|
14495
|
+
type ActivityType = (typeof activity_types)[number];
|
|
14493
14496
|
export interface Data {
|
|
14494
14497
|
_id: StringId;
|
|
14495
14498
|
company_namespace: string[];
|
|
@@ -15195,7 +15198,7 @@ export declare namespace Service {
|
|
|
15195
15198
|
}
|
|
15196
15199
|
namespace TimelineTimeList {
|
|
15197
15200
|
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];
|
|
15201
|
+
type ActivityType = (typeof activity_types)[number];
|
|
15199
15202
|
export interface Data {
|
|
15200
15203
|
_id: StringId;
|
|
15201
15204
|
company_namespace: string[];
|
|
@@ -15656,17 +15659,17 @@ export declare namespace Service {
|
|
|
15656
15659
|
}
|
|
15657
15660
|
namespace SalesAnalyticsReport {
|
|
15658
15661
|
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];
|
|
15662
|
+
type GroupByOption = (typeof groupBy_options)[number];
|
|
15660
15663
|
const promotion_type_options: readonly ["get", "buy"];
|
|
15661
|
-
type PromotionTypeOption = typeof promotion_type_options[number];
|
|
15664
|
+
type PromotionTypeOption = (typeof promotion_type_options)[number];
|
|
15662
15665
|
const class_options: readonly ["invoice", "return"];
|
|
15663
|
-
type ClassOption = typeof class_options[number];
|
|
15666
|
+
type ClassOption = (typeof class_options)[number];
|
|
15664
15667
|
const status_options: readonly ["unpaid", "partially_paid", "paid"];
|
|
15665
|
-
type StatusOption = typeof status_options[number];
|
|
15668
|
+
type StatusOption = (typeof status_options)[number];
|
|
15666
15669
|
const sortBy_field_options: readonly ["_id", "time"];
|
|
15667
|
-
type SortByFieldOption = typeof sortBy_field_options[number];
|
|
15670
|
+
type SortByFieldOption = (typeof sortBy_field_options)[number];
|
|
15668
15671
|
const sortBy_type_options: readonly ["asc", "desc"];
|
|
15669
|
-
type SortByTypeOption = typeof sortBy_type_options[number];
|
|
15672
|
+
type SortByTypeOption = (typeof sortBy_type_options)[number];
|
|
15670
15673
|
interface SortByOption {
|
|
15671
15674
|
field: SortByFieldOption;
|
|
15672
15675
|
type: SortByTypeOption;
|
|
@@ -15780,6 +15783,9 @@ export declare namespace Service {
|
|
|
15780
15783
|
done_workorders: number;
|
|
15781
15784
|
inprogress_workorders: number;
|
|
15782
15785
|
overdue_workorders: number;
|
|
15786
|
+
open_workorders: number;
|
|
15787
|
+
onhold_workorders: number;
|
|
15788
|
+
cancelled_workorders: number;
|
|
15783
15789
|
}
|
|
15784
15790
|
namespace Find {
|
|
15785
15791
|
type Params = DefaultPaginationQueryParams & {
|
package/package.json
CHANGED
package/src/types/index.ts
CHANGED
|
@@ -6321,6 +6321,7 @@ export namespace Service {
|
|
|
6321
6321
|
identifier?: number;
|
|
6322
6322
|
device_id?: string;
|
|
6323
6323
|
device_unique_id?: string;
|
|
6324
|
+
treat_invoice_as_proforma_for_etax?: boolean;
|
|
6324
6325
|
}
|
|
6325
6326
|
export type Data = InvoiceSchema;
|
|
6326
6327
|
export interface CreateBody {
|
|
@@ -6927,6 +6928,7 @@ export namespace Service {
|
|
|
6927
6928
|
field: "_id";
|
|
6928
6929
|
type: "asc" | "desc";
|
|
6929
6930
|
}[];
|
|
6931
|
+
treat_invoice_as_proforma_for_etax?: boolean;
|
|
6930
6932
|
};
|
|
6931
6933
|
export interface Result extends DefaultPaginationResult {
|
|
6932
6934
|
data: InvoiceSchemaWithPopulatedKeys[];
|
|
@@ -7449,6 +7451,7 @@ export namespace Service {
|
|
|
7449
7451
|
}[];
|
|
7450
7452
|
nodeCycles?: string[] | string;
|
|
7451
7453
|
withCycle?: boolean;
|
|
7454
|
+
conversion_status?: "converted" | "not_converted" | "all";
|
|
7452
7455
|
};
|
|
7453
7456
|
export interface Result extends DefaultPaginationResult {
|
|
7454
7457
|
data: ProformaSchemaWithPopulatedKeys[];
|
|
@@ -17832,6 +17835,9 @@ export namespace Service {
|
|
|
17832
17835
|
done_workorders: number;
|
|
17833
17836
|
inprogress_workorders: number;
|
|
17834
17837
|
overdue_workorders: number;
|
|
17838
|
+
open_workorders: number;
|
|
17839
|
+
onhold_workorders: number;
|
|
17840
|
+
cancelled_workorders: number;
|
|
17835
17841
|
}
|
|
17836
17842
|
|
|
17837
17843
|
export namespace Find {
|