repzo 1.0.123 → 1.0.124
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 +15 -1
- package/package.json +1 -1
- package/src/types/index.ts +15 -1
package/lib/types/index.d.ts
CHANGED
|
@@ -115,6 +115,10 @@ interface FormPopulated {
|
|
|
115
115
|
_id: StringId;
|
|
116
116
|
local_name?: string;
|
|
117
117
|
}
|
|
118
|
+
interface RetailExecutionTemplatePopulated {
|
|
119
|
+
_id: StringId;
|
|
120
|
+
name: string;
|
|
121
|
+
}
|
|
118
122
|
interface VisitMeta {
|
|
119
123
|
geo_fence_setting_visit_start: boolean;
|
|
120
124
|
geo_fence_setting_visit_end: boolean;
|
|
@@ -514,6 +518,8 @@ export declare namespace Service {
|
|
|
514
518
|
enable_payment_terms_grace_period_days?: boolean;
|
|
515
519
|
is_simplified?: boolean;
|
|
516
520
|
last_login_time?: number;
|
|
521
|
+
assigned_forms_v2_templates?: string[];
|
|
522
|
+
retail_execution_templates?: string[];
|
|
517
523
|
createdAt: string;
|
|
518
524
|
updatedAt: string;
|
|
519
525
|
__v: number;
|
|
@@ -585,6 +591,8 @@ export declare namespace Service {
|
|
|
585
591
|
enable_payment_terms_grace_period_days?: boolean;
|
|
586
592
|
is_simplified?: boolean;
|
|
587
593
|
last_login_time?: number;
|
|
594
|
+
assigned_forms_v2_templates?: string[];
|
|
595
|
+
retail_execution_templates?: string[];
|
|
588
596
|
}
|
|
589
597
|
export type PopulatedKeys =
|
|
590
598
|
| "tags"
|
|
@@ -601,7 +609,9 @@ export declare namespace Service {
|
|
|
601
609
|
| "assigned_product_groups"
|
|
602
610
|
| "speciality"
|
|
603
611
|
| "teams"
|
|
604
|
-
| "contacts"
|
|
612
|
+
| "contacts"
|
|
613
|
+
| "retail_execution_templates"
|
|
614
|
+
| "assigned_forms_v2_templates";
|
|
605
615
|
type ClientSchemaWithPopulatedKeys = ClientSchema & {
|
|
606
616
|
assigned_products?:
|
|
607
617
|
| string[]
|
|
@@ -621,6 +631,10 @@ export declare namespace Service {
|
|
|
621
631
|
| string
|
|
622
632
|
| Pick<Client.ClientSchema, "_id" | "name" | "client_code">;
|
|
623
633
|
channel?: string | Channel.ChannelSchema;
|
|
634
|
+
assigned_forms_v2_templates?: string[] | FormPopulated[];
|
|
635
|
+
retail_execution_templates?:
|
|
636
|
+
| string[]
|
|
637
|
+
| RetailExecutionTemplatePopulated[];
|
|
624
638
|
};
|
|
625
639
|
export namespace Find {
|
|
626
640
|
type Params = DefaultPaginationQueryParams & {
|
package/package.json
CHANGED
package/src/types/index.ts
CHANGED
|
@@ -118,6 +118,10 @@ interface FormPopulated {
|
|
|
118
118
|
_id: StringId;
|
|
119
119
|
local_name?: string;
|
|
120
120
|
}
|
|
121
|
+
interface RetailExecutionTemplatePopulated {
|
|
122
|
+
_id: StringId;
|
|
123
|
+
name: string;
|
|
124
|
+
}
|
|
121
125
|
interface VisitMeta {
|
|
122
126
|
geo_fence_setting_visit_start: boolean;
|
|
123
127
|
geo_fence_setting_visit_end: boolean;
|
|
@@ -518,6 +522,8 @@ export namespace Service {
|
|
|
518
522
|
enable_payment_terms_grace_period_days?: boolean;
|
|
519
523
|
is_simplified?: boolean;
|
|
520
524
|
last_login_time?: number;
|
|
525
|
+
assigned_forms_v2_templates?: string[];
|
|
526
|
+
retail_execution_templates?: string[];
|
|
521
527
|
createdAt: string;
|
|
522
528
|
updatedAt: string;
|
|
523
529
|
__v: number;
|
|
@@ -585,6 +591,8 @@ export namespace Service {
|
|
|
585
591
|
enable_payment_terms_grace_period_days?: boolean;
|
|
586
592
|
is_simplified?: boolean;
|
|
587
593
|
last_login_time?: number;
|
|
594
|
+
assigned_forms_v2_templates?: string[];
|
|
595
|
+
retail_execution_templates?: string[];
|
|
588
596
|
}
|
|
589
597
|
export type PopulatedKeys =
|
|
590
598
|
| "tags"
|
|
@@ -601,7 +609,9 @@ export namespace Service {
|
|
|
601
609
|
| "assigned_product_groups"
|
|
602
610
|
| "speciality"
|
|
603
611
|
| "teams"
|
|
604
|
-
| "contacts"
|
|
612
|
+
| "contacts"
|
|
613
|
+
| "retail_execution_templates"
|
|
614
|
+
| "assigned_forms_v2_templates";
|
|
605
615
|
|
|
606
616
|
type ClientSchemaWithPopulatedKeys = ClientSchema & {
|
|
607
617
|
assigned_products?:
|
|
@@ -622,6 +632,10 @@ export namespace Service {
|
|
|
622
632
|
| string
|
|
623
633
|
| Pick<Client.ClientSchema, "_id" | "name" | "client_code">;
|
|
624
634
|
channel?: string | Channel.ChannelSchema;
|
|
635
|
+
assigned_forms_v2_templates?: string[] | FormPopulated[];
|
|
636
|
+
retail_execution_templates?:
|
|
637
|
+
| string[]
|
|
638
|
+
| RetailExecutionTemplatePopulated[];
|
|
625
639
|
};
|
|
626
640
|
|
|
627
641
|
export namespace Find {
|