repzo 1.0.206 → 1.0.207
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 +11 -2
- package/package.json +1 -1
- package/src/types/index.ts +17 -0
package/lib/types/index.d.ts
CHANGED
|
@@ -392,6 +392,7 @@ export declare namespace Service {
|
|
|
392
392
|
last_login_time?: number;
|
|
393
393
|
assigned_forms_v2_templates?: StringId[];
|
|
394
394
|
retail_execution_templates?: StringId[];
|
|
395
|
+
assigned_clm_presentations?: StringId[];
|
|
395
396
|
last_sales_invoice_time?: number;
|
|
396
397
|
last_sales_proforma_time?: number;
|
|
397
398
|
media?: StringId[];
|
|
@@ -474,13 +475,14 @@ export declare namespace Service {
|
|
|
474
475
|
last_login_time?: number;
|
|
475
476
|
assigned_forms_v2_templates?: StringId[];
|
|
476
477
|
retail_execution_templates?: StringId[];
|
|
478
|
+
assigned_clm_presentations?: StringId[];
|
|
477
479
|
last_sales_invoice_time?: number;
|
|
478
480
|
last_sales_proforma_time?: number;
|
|
479
481
|
media?: StringId[];
|
|
480
482
|
cover_photo?: StringId;
|
|
481
483
|
sales?: Sales;
|
|
482
484
|
}
|
|
483
|
-
export type PopulatedKeys = "tags" | "reps" | "assigned_to" | "sv_priceList" | "paymentTerm" | "job_category" | "msl" | "chain" | "channel" | "status" | "product" | "assigned_products" | "assigned_product_groups" | "speciality" | "teams" | "contacts" | "retail_execution_templates" | "assigned_forms_v2_templates" | "media" | "cover_photo" | "sales.logo_media";
|
|
485
|
+
export type PopulatedKeys = "tags" | "reps" | "assigned_to" | "sv_priceList" | "paymentTerm" | "job_category" | "msl" | "chain" | "channel" | "status" | "product" | "assigned_products" | "assigned_product_groups" | "speciality" | "teams" | "contacts" | "retail_execution_templates" | "assigned_forms_v2_templates" | "assigned_clm_presentations" | "media" | "cover_photo" | "sales.logo_media";
|
|
484
486
|
type ClientSchemaWithPopulatedKeys = ClientSchema & {
|
|
485
487
|
assigned_products?: StringId[] | Pick<Product.ProductSchema, "_id" | "name">[];
|
|
486
488
|
assigned_product_groups?: StringId | Pick<ProductGroup.ProductGroupSchema, "_id" | "name">[];
|
|
@@ -495,6 +497,7 @@ export declare namespace Service {
|
|
|
495
497
|
chain?: StringId | Pick<Client.ClientSchema, "_id" | "name" | "client_code" | "local_name">;
|
|
496
498
|
channel?: StringId | Channel.ChannelSchema;
|
|
497
499
|
assigned_forms_v2_templates?: StringId[] | Pick<FormPopulated, "_id" | "name">[];
|
|
500
|
+
assigned_clm_presentations?: StringId[] | Pick<CLMPresentation.Data, "_id" | "name">[];
|
|
498
501
|
retail_execution_templates?: StringId[] | Pick<RetailExecutionTemplatePopulated, "_id" | "name">[];
|
|
499
502
|
media?: StringId[] | PopulatedMediaStorage[];
|
|
500
503
|
cover_photo?: StringId | PopulatedMediaStorage;
|
|
@@ -2510,6 +2513,8 @@ export declare namespace Service {
|
|
|
2510
2513
|
assigned_forms_v2?: string[];
|
|
2511
2514
|
retail_execution_template_option?: "all" | "client_assigned" | "assigned" | "none";
|
|
2512
2515
|
assigned_retail_execution_templates?: string[];
|
|
2516
|
+
clm_presentation_option?: "all" | "client_assigned" | "assigned" | "none";
|
|
2517
|
+
assigned_clm_presentations?: string[];
|
|
2513
2518
|
customFields?: {
|
|
2514
2519
|
[key: string]: boolean | string | number | StringId;
|
|
2515
2520
|
};
|
|
@@ -2568,6 +2573,8 @@ export declare namespace Service {
|
|
|
2568
2573
|
assigned_forms_v2?: string[];
|
|
2569
2574
|
retail_execution_template_option?: "all" | "client_assigned" | "assigned" | "none";
|
|
2570
2575
|
assigned_retail_execution_templates?: string[];
|
|
2576
|
+
clm_presentation_option?: "all" | "client_assigned" | "assigned" | "none";
|
|
2577
|
+
assigned_clm_presentations?: string[];
|
|
2571
2578
|
customFields?: {
|
|
2572
2579
|
[key: string]: boolean | string | number | StringId;
|
|
2573
2580
|
};
|
|
@@ -2578,7 +2585,7 @@ export declare namespace Service {
|
|
|
2578
2585
|
handle_credit_limit?: boolean;
|
|
2579
2586
|
credit_limit?: number;
|
|
2580
2587
|
}
|
|
2581
|
-
type PopulatedKeys = "line" | "lines" | "job_category" | "teams" | "assigned_forms_v2" | "job_category" | "cover_photo" | "assigned_plan" | "assigned_retail_execution_templates" | "warehouse";
|
|
2588
|
+
type PopulatedKeys = "line" | "lines" | "job_category" | "teams" | "assigned_forms_v2" | "job_category" | "cover_photo" | "assigned_plan" | "assigned_retail_execution_templates" | "assigned_clm_presentations" | "warehouse";
|
|
2582
2589
|
export type RepWithPopulatedKeysSchema = RepSchema & {
|
|
2583
2590
|
lines?: string[] | Line.LineSchema[];
|
|
2584
2591
|
job_category?: string[] | JobCategory.JobCategorySchema[];
|
|
@@ -2711,6 +2718,8 @@ export declare namespace Service {
|
|
|
2711
2718
|
assigned_forms_v2?: string | string[];
|
|
2712
2719
|
retail_execution_template_option?: "all" | "client_assigned" | "assigned" | "none";
|
|
2713
2720
|
assigned_retail_execution_templates?: string | string[];
|
|
2721
|
+
clm_presentation_option?: "all" | "client_assigned" | "assigned" | "none";
|
|
2722
|
+
assigned_clm_presentations?: string | string[];
|
|
2714
2723
|
media?: string | string[];
|
|
2715
2724
|
cover_photo?: string;
|
|
2716
2725
|
last_login_time?: number;
|
package/package.json
CHANGED
package/src/types/index.ts
CHANGED
|
@@ -551,6 +551,7 @@ export namespace Service {
|
|
|
551
551
|
last_login_time?: number;
|
|
552
552
|
assigned_forms_v2_templates?: StringId[];
|
|
553
553
|
retail_execution_templates?: StringId[];
|
|
554
|
+
assigned_clm_presentations?: StringId[];
|
|
554
555
|
last_sales_invoice_time?: number;
|
|
555
556
|
last_sales_proforma_time?: number;
|
|
556
557
|
media?: StringId[];
|
|
@@ -630,6 +631,7 @@ export namespace Service {
|
|
|
630
631
|
last_login_time?: number;
|
|
631
632
|
assigned_forms_v2_templates?: StringId[];
|
|
632
633
|
retail_execution_templates?: StringId[];
|
|
634
|
+
assigned_clm_presentations?: StringId[];
|
|
633
635
|
last_sales_invoice_time?: number;
|
|
634
636
|
last_sales_proforma_time?: number;
|
|
635
637
|
media?: StringId[];
|
|
@@ -655,6 +657,7 @@ export namespace Service {
|
|
|
655
657
|
| "contacts"
|
|
656
658
|
| "retail_execution_templates"
|
|
657
659
|
| "assigned_forms_v2_templates"
|
|
660
|
+
| "assigned_clm_presentations"
|
|
658
661
|
| "media"
|
|
659
662
|
| "cover_photo"
|
|
660
663
|
| "sales.logo_media";
|
|
@@ -686,6 +689,9 @@ export namespace Service {
|
|
|
686
689
|
assigned_forms_v2_templates?:
|
|
687
690
|
| StringId[]
|
|
688
691
|
| Pick<FormPopulated, "_id" | "name">[];
|
|
692
|
+
assigned_clm_presentations?:
|
|
693
|
+
| StringId[]
|
|
694
|
+
| Pick<CLMPresentation.Data, "_id" | "name">[];
|
|
689
695
|
retail_execution_templates?:
|
|
690
696
|
| StringId[]
|
|
691
697
|
| Pick<RetailExecutionTemplatePopulated, "_id" | "name">[];
|
|
@@ -2895,6 +2901,8 @@ export namespace Service {
|
|
|
2895
2901
|
| "assigned"
|
|
2896
2902
|
| "none";
|
|
2897
2903
|
assigned_retail_execution_templates?: string[];
|
|
2904
|
+
clm_presentation_option?: "all" | "client_assigned" | "assigned" | "none";
|
|
2905
|
+
assigned_clm_presentations?: string[];
|
|
2898
2906
|
customFields?: { [key: string]: boolean | string | number | StringId };
|
|
2899
2907
|
media?: string[];
|
|
2900
2908
|
cover_photo?: string;
|
|
@@ -2953,6 +2961,8 @@ export namespace Service {
|
|
|
2953
2961
|
| "assigned"
|
|
2954
2962
|
| "none";
|
|
2955
2963
|
assigned_retail_execution_templates?: string[];
|
|
2964
|
+
clm_presentation_option?: "all" | "client_assigned" | "assigned" | "none";
|
|
2965
|
+
assigned_clm_presentations?: string[];
|
|
2956
2966
|
customFields?: { [key: string]: boolean | string | number | StringId };
|
|
2957
2967
|
media?: string[];
|
|
2958
2968
|
cover_photo?: string;
|
|
@@ -2972,6 +2982,7 @@ export namespace Service {
|
|
|
2972
2982
|
| "cover_photo"
|
|
2973
2983
|
| "assigned_plan"
|
|
2974
2984
|
| "assigned_retail_execution_templates"
|
|
2985
|
+
| "assigned_clm_presentations"
|
|
2975
2986
|
| "warehouse";
|
|
2976
2987
|
|
|
2977
2988
|
export type RepWithPopulatedKeysSchema = RepSchema & {
|
|
@@ -3124,6 +3135,12 @@ export namespace Service {
|
|
|
3124
3135
|
| "assigned"
|
|
3125
3136
|
| "none";
|
|
3126
3137
|
assigned_retail_execution_templates?: string | string[];
|
|
3138
|
+
clm_presentation_option?:
|
|
3139
|
+
| "all"
|
|
3140
|
+
| "client_assigned"
|
|
3141
|
+
| "assigned"
|
|
3142
|
+
| "none";
|
|
3143
|
+
assigned_clm_presentations?: string | string[];
|
|
3127
3144
|
media?: string | string[];
|
|
3128
3145
|
cover_photo?: string;
|
|
3129
3146
|
last_login_time?: number;
|