repzo 1.0.281 → 1.0.282
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 +20 -1
- package/package.json +1 -1
- package/src/types/index.ts +14 -1
package/lib/types/index.d.ts
CHANGED
|
@@ -440,6 +440,7 @@ export declare namespace Service {
|
|
|
440
440
|
status?: StringId;
|
|
441
441
|
job_category?: StringId[];
|
|
442
442
|
availability_msl?: StringId[];
|
|
443
|
+
assigned_msl?: StringId[];
|
|
443
444
|
territory?: StringId;
|
|
444
445
|
sv_priceList?: StringId;
|
|
445
446
|
assigned_media?: StringId[];
|
|
@@ -523,6 +524,7 @@ export declare namespace Service {
|
|
|
523
524
|
status?: StringId;
|
|
524
525
|
job_category?: StringId[];
|
|
525
526
|
availability_msl?: StringId[];
|
|
527
|
+
assigned_msl?: StringId[];
|
|
526
528
|
territory?: StringId;
|
|
527
529
|
sv_priceList?: StringId;
|
|
528
530
|
assigned_media?: StringId[];
|
|
@@ -587,6 +589,7 @@ export declare namespace Service {
|
|
|
587
589
|
sales?: Sales & {
|
|
588
590
|
logo_media?: StringId | MediaPopulated;
|
|
589
591
|
};
|
|
592
|
+
assigned_msl?: StringId[] | Pick<Msl.Data, "_id" | "name">[];
|
|
590
593
|
};
|
|
591
594
|
export namespace Find {
|
|
592
595
|
type Params = DefaultPaginationQueryParams & {
|
|
@@ -603,7 +606,8 @@ export declare namespace Service {
|
|
|
603
606
|
tags?: string[] | string;
|
|
604
607
|
_id?: string[] | string;
|
|
605
608
|
assigned_to?: string[] | string;
|
|
606
|
-
availability_msl?:
|
|
609
|
+
availability_msl?: StringId[] | StringId;
|
|
610
|
+
assigned_msl?: StringId[] | StringId;
|
|
607
611
|
status?: string[] | string;
|
|
608
612
|
CLIENT_TAGS?: string[] | string;
|
|
609
613
|
AREA_TAGS?: string[] | string;
|
|
@@ -2262,6 +2266,7 @@ export declare namespace Service {
|
|
|
2262
2266
|
createdAt: string;
|
|
2263
2267
|
updatedAt: string;
|
|
2264
2268
|
}
|
|
2269
|
+
type Data = MslSchema;
|
|
2265
2270
|
interface CreateBody {
|
|
2266
2271
|
name: string;
|
|
2267
2272
|
disabled: boolean;
|
|
@@ -12307,6 +12312,20 @@ export declare namespace Service {
|
|
|
12307
12312
|
print_payment_allowance_period_in_days?: number;
|
|
12308
12313
|
freshness_window_in_minutes: number;
|
|
12309
12314
|
bypass_freshness_window_code: string;
|
|
12315
|
+
invoice_delivery_mode: "transactional" | "non_transactional" | "optional";
|
|
12316
|
+
default_invoice_delivery_mode: "transactional" | "non_transactional";
|
|
12317
|
+
invoice_source_msl: {
|
|
12318
|
+
level: "client" | "rep";
|
|
12319
|
+
active: boolean;
|
|
12320
|
+
}[];
|
|
12321
|
+
proforma_source_msl: {
|
|
12322
|
+
level: "all_products" | "client" | "rep";
|
|
12323
|
+
active: boolean;
|
|
12324
|
+
}[];
|
|
12325
|
+
transfer_source_msl: {
|
|
12326
|
+
level: "all_products" | "rep";
|
|
12327
|
+
active: boolean;
|
|
12328
|
+
}[];
|
|
12310
12329
|
}
|
|
12311
12330
|
interface WorkorderSettings {
|
|
12312
12331
|
workorder_teams_follow_assigned_to?: boolean;
|
package/package.json
CHANGED
package/src/types/index.ts
CHANGED
|
@@ -656,6 +656,7 @@ export namespace Service {
|
|
|
656
656
|
status?: StringId;
|
|
657
657
|
job_category?: StringId[];
|
|
658
658
|
availability_msl?: StringId[];
|
|
659
|
+
assigned_msl?: StringId[];
|
|
659
660
|
territory?: StringId;
|
|
660
661
|
sv_priceList?: StringId;
|
|
661
662
|
assigned_media?: StringId[];
|
|
@@ -736,6 +737,7 @@ export namespace Service {
|
|
|
736
737
|
status?: StringId;
|
|
737
738
|
job_category?: StringId[];
|
|
738
739
|
availability_msl?: StringId[];
|
|
740
|
+
assigned_msl?: StringId[];
|
|
739
741
|
territory?: StringId;
|
|
740
742
|
sv_priceList?: StringId;
|
|
741
743
|
assigned_media?: StringId[];
|
|
@@ -831,6 +833,7 @@ export namespace Service {
|
|
|
831
833
|
| Pick<PaymentTerm.PaymentTermSchema, "_id" | "name" | "due_days">;
|
|
832
834
|
sales?: Sales & { logo_media?: StringId | MediaPopulated };
|
|
833
835
|
// availability_msl?: StringId[] | AvailabilityMsl.AvailabilityMslSchema[];
|
|
836
|
+
assigned_msl?: StringId[] | Pick<Msl.Data, "_id" | "name">[];
|
|
834
837
|
};
|
|
835
838
|
|
|
836
839
|
export namespace Find {
|
|
@@ -848,7 +851,8 @@ export namespace Service {
|
|
|
848
851
|
tags?: string[] | string;
|
|
849
852
|
_id?: string[] | string;
|
|
850
853
|
assigned_to?: string[] | string;
|
|
851
|
-
availability_msl?:
|
|
854
|
+
availability_msl?: StringId[] | StringId;
|
|
855
|
+
assigned_msl?: StringId[] | StringId;
|
|
852
856
|
status?: string[] | string;
|
|
853
857
|
CLIENT_TAGS?: string[] | string;
|
|
854
858
|
AREA_TAGS?: string[] | string;
|
|
@@ -2673,6 +2677,7 @@ export namespace Service {
|
|
|
2673
2677
|
createdAt: string;
|
|
2674
2678
|
updatedAt: string;
|
|
2675
2679
|
}
|
|
2680
|
+
export type Data = MslSchema;
|
|
2676
2681
|
export interface CreateBody {
|
|
2677
2682
|
name: string;
|
|
2678
2683
|
disabled: boolean;
|
|
@@ -13065,6 +13070,14 @@ export namespace Service {
|
|
|
13065
13070
|
print_payment_allowance_period_in_days?: number;
|
|
13066
13071
|
freshness_window_in_minutes: number;
|
|
13067
13072
|
bypass_freshness_window_code: string;
|
|
13073
|
+
invoice_delivery_mode: "transactional" | "non_transactional" | "optional";
|
|
13074
|
+
default_invoice_delivery_mode: "transactional" | "non_transactional";
|
|
13075
|
+
invoice_source_msl: { level: "client" | "rep"; active: boolean }[];
|
|
13076
|
+
proforma_source_msl: {
|
|
13077
|
+
level: "all_products" | "client" | "rep";
|
|
13078
|
+
active: boolean;
|
|
13079
|
+
}[];
|
|
13080
|
+
transfer_source_msl: { level: "all_products" | "rep"; active: boolean }[];
|
|
13068
13081
|
}
|
|
13069
13082
|
|
|
13070
13083
|
export interface WorkorderSettings {
|