repzo 1.0.249 → 1.0.251
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 +17 -0
- package/package.json +1 -1
- package/src/types/index.ts +17 -0
package/lib/types/index.d.ts
CHANGED
|
@@ -3918,6 +3918,7 @@ export declare namespace Service {
|
|
|
3918
3918
|
};
|
|
3919
3919
|
limit_type: "count" | "price_amount";
|
|
3920
3920
|
limit_value: number;
|
|
3921
|
+
exclude_additional_items_taxable_subtotal?: boolean;
|
|
3921
3922
|
variants?: StringId[];
|
|
3922
3923
|
}
|
|
3923
3924
|
export interface ItemFilter {
|
|
@@ -5875,6 +5876,8 @@ export declare namespace Service {
|
|
|
5875
5876
|
device_id?: string;
|
|
5876
5877
|
device_unique_id?: string;
|
|
5877
5878
|
treat_invoice_as_proforma_for_etax?: boolean;
|
|
5879
|
+
bypass_freshness_window_code_entered?: boolean;
|
|
5880
|
+
promotion_freshness_window_exceeded?: boolean;
|
|
5878
5881
|
}
|
|
5879
5882
|
export type Data = InvoiceSchema;
|
|
5880
5883
|
export interface CreateBody {
|
|
@@ -6083,6 +6086,8 @@ export declare namespace Service {
|
|
|
6083
6086
|
device_unique_id?: string;
|
|
6084
6087
|
implemented_by?: AdminCreator | RepCreator | ClientCreator;
|
|
6085
6088
|
business_day?: string;
|
|
6089
|
+
bypass_freshness_window_code_entered?: boolean;
|
|
6090
|
+
promotion_freshness_window_exceeded?: boolean;
|
|
6086
6091
|
}
|
|
6087
6092
|
export interface UpdateBody {
|
|
6088
6093
|
integration_meta?: {
|
|
@@ -6476,6 +6481,8 @@ export declare namespace Service {
|
|
|
6476
6481
|
device_unique_id?: string;
|
|
6477
6482
|
implemented_by?: AdminCreator | RepCreator | ClientCreator;
|
|
6478
6483
|
business_day?: string;
|
|
6484
|
+
bypass_freshness_window_code_entered?: boolean;
|
|
6485
|
+
promotion_freshness_window_exceeded?: boolean;
|
|
6479
6486
|
};
|
|
6480
6487
|
type InvoiceStatus = "paid" | "unpaid" | "partially_paid";
|
|
6481
6488
|
type PopulatedKeys = "client" | "tax_number" | "custom_status" | "return_reason" | "teams" | "warehouse" | "route" | "workorder" | "returned_from" | "partially_returned_from" | "returned_to";
|
|
@@ -6645,6 +6652,8 @@ export declare namespace Service {
|
|
|
6645
6652
|
total_with_charges?: number;
|
|
6646
6653
|
media?: StringId[];
|
|
6647
6654
|
signature?: StringId;
|
|
6655
|
+
bypass_freshness_window_code_entered?: boolean;
|
|
6656
|
+
promotion_freshness_window_exceeded?: boolean;
|
|
6648
6657
|
createdAt: string;
|
|
6649
6658
|
updatedAt: string;
|
|
6650
6659
|
__v: number;
|
|
@@ -6754,6 +6763,8 @@ export declare namespace Service {
|
|
|
6754
6763
|
total_with_charges?: number;
|
|
6755
6764
|
media?: StringId[];
|
|
6756
6765
|
signature?: StringId;
|
|
6766
|
+
bypass_freshness_window_code_entered?: boolean;
|
|
6767
|
+
promotion_freshness_window_exceeded?: boolean;
|
|
6757
6768
|
}
|
|
6758
6769
|
export interface UpdateBody {
|
|
6759
6770
|
_id?: string;
|
|
@@ -6866,6 +6877,8 @@ export declare namespace Service {
|
|
|
6866
6877
|
total_with_charges?: number;
|
|
6867
6878
|
media?: StringId[];
|
|
6868
6879
|
signature?: StringId;
|
|
6880
|
+
bypass_freshness_window_code_entered?: boolean;
|
|
6881
|
+
promotion_freshness_window_exceeded?: boolean;
|
|
6869
6882
|
createdAt?: string;
|
|
6870
6883
|
updatedAt?: string;
|
|
6871
6884
|
__v?: number;
|
|
@@ -10736,6 +10749,8 @@ export declare namespace Service {
|
|
|
10736
10749
|
client_name: string;
|
|
10737
10750
|
comment?: string;
|
|
10738
10751
|
return_comment?: string;
|
|
10752
|
+
bypass_freshness_window_code_entered?: boolean;
|
|
10753
|
+
promotion_freshness_window_exceeded?: boolean;
|
|
10739
10754
|
creator: {
|
|
10740
10755
|
_id: string;
|
|
10741
10756
|
type: "rep" | "client" | "admin";
|
|
@@ -10984,6 +10999,8 @@ export declare namespace Service {
|
|
|
10984
10999
|
client?: string;
|
|
10985
11000
|
name?: string;
|
|
10986
11001
|
};
|
|
11002
|
+
bypass_freshness_window_code_entered?: boolean;
|
|
11003
|
+
promotion_freshness_window_exceeded?: boolean;
|
|
10987
11004
|
converted_proforma_serial_number?: SerialNumber;
|
|
10988
11005
|
converted_proforma_return_serial_number?: SerialNumber;
|
|
10989
11006
|
proforma_reference?: string;
|
package/package.json
CHANGED
package/src/types/index.ts
CHANGED
|
@@ -4462,6 +4462,7 @@ export namespace Service {
|
|
|
4462
4462
|
reject_if_pass: { type: Boolean; default: false };
|
|
4463
4463
|
limit_type: "count" | "price_amount";
|
|
4464
4464
|
limit_value: number;
|
|
4465
|
+
exclude_additional_items_taxable_subtotal?: boolean;
|
|
4465
4466
|
variants?: StringId[];
|
|
4466
4467
|
}
|
|
4467
4468
|
export interface ItemFilter {
|
|
@@ -6491,6 +6492,8 @@ export namespace Service {
|
|
|
6491
6492
|
device_id?: string;
|
|
6492
6493
|
device_unique_id?: string;
|
|
6493
6494
|
treat_invoice_as_proforma_for_etax?: boolean;
|
|
6495
|
+
bypass_freshness_window_code_entered?: boolean;
|
|
6496
|
+
promotion_freshness_window_exceeded?: boolean;
|
|
6494
6497
|
}
|
|
6495
6498
|
export type Data = InvoiceSchema;
|
|
6496
6499
|
export interface CreateBody {
|
|
@@ -6682,6 +6685,8 @@ export namespace Service {
|
|
|
6682
6685
|
device_unique_id?: string;
|
|
6683
6686
|
implemented_by?: AdminCreator | RepCreator | ClientCreator;
|
|
6684
6687
|
business_day?: string;
|
|
6688
|
+
bypass_freshness_window_code_entered?: boolean;
|
|
6689
|
+
promotion_freshness_window_exceeded?: boolean;
|
|
6685
6690
|
}
|
|
6686
6691
|
export interface UpdateBody {
|
|
6687
6692
|
integration_meta?: { [key: string]: any };
|
|
@@ -7048,6 +7053,8 @@ export namespace Service {
|
|
|
7048
7053
|
device_unique_id?: string;
|
|
7049
7054
|
implemented_by?: AdminCreator | RepCreator | ClientCreator;
|
|
7050
7055
|
business_day?: string;
|
|
7056
|
+
bypass_freshness_window_code_entered?: boolean;
|
|
7057
|
+
promotion_freshness_window_exceeded?: boolean;
|
|
7051
7058
|
};
|
|
7052
7059
|
|
|
7053
7060
|
type InvoiceStatus = "paid" | "unpaid" | "partially_paid";
|
|
@@ -7231,6 +7238,8 @@ export namespace Service {
|
|
|
7231
7238
|
total_with_charges?: number;
|
|
7232
7239
|
media?: StringId[];
|
|
7233
7240
|
signature?: StringId;
|
|
7241
|
+
bypass_freshness_window_code_entered?: boolean;
|
|
7242
|
+
promotion_freshness_window_exceeded?: boolean;
|
|
7234
7243
|
createdAt: string;
|
|
7235
7244
|
updatedAt: string;
|
|
7236
7245
|
__v: number;
|
|
@@ -7332,6 +7341,8 @@ export namespace Service {
|
|
|
7332
7341
|
total_with_charges?: number;
|
|
7333
7342
|
media?: StringId[];
|
|
7334
7343
|
signature?: StringId;
|
|
7344
|
+
bypass_freshness_window_code_entered?: boolean;
|
|
7345
|
+
promotion_freshness_window_exceeded?: boolean;
|
|
7335
7346
|
}
|
|
7336
7347
|
export interface UpdateBody {
|
|
7337
7348
|
_id?: string;
|
|
@@ -7436,6 +7447,8 @@ export namespace Service {
|
|
|
7436
7447
|
total_with_charges?: number;
|
|
7437
7448
|
media?: StringId[];
|
|
7438
7449
|
signature?: StringId;
|
|
7450
|
+
bypass_freshness_window_code_entered?: boolean;
|
|
7451
|
+
promotion_freshness_window_exceeded?: boolean;
|
|
7439
7452
|
createdAt?: string;
|
|
7440
7453
|
updatedAt?: string;
|
|
7441
7454
|
__v?: number;
|
|
@@ -11398,6 +11411,8 @@ export namespace Service {
|
|
|
11398
11411
|
client_name: string;
|
|
11399
11412
|
comment?: string;
|
|
11400
11413
|
return_comment?: string;
|
|
11414
|
+
bypass_freshness_window_code_entered?: boolean;
|
|
11415
|
+
promotion_freshness_window_exceeded?: boolean;
|
|
11401
11416
|
creator: {
|
|
11402
11417
|
_id: string;
|
|
11403
11418
|
type: "rep" | "client" | "admin";
|
|
@@ -11615,6 +11630,8 @@ export namespace Service {
|
|
|
11615
11630
|
client?: string;
|
|
11616
11631
|
name?: string;
|
|
11617
11632
|
};
|
|
11633
|
+
bypass_freshness_window_code_entered?: boolean;
|
|
11634
|
+
promotion_freshness_window_exceeded?: boolean;
|
|
11618
11635
|
converted_proforma_serial_number?: SerialNumber;
|
|
11619
11636
|
converted_proforma_return_serial_number?: SerialNumber;
|
|
11620
11637
|
proforma_reference?: string;
|