repzo 1.0.53 → 1.0.55
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/deleteMe.js +1387 -0
- package/lib/index.d.ts +760 -373
- package/lib/index.js +1711 -1089
- package/lib/types/index.d.ts +5901 -5518
- package/package.json +1 -1
- package/src/types/index.ts +17 -10
package/package.json
CHANGED
package/src/types/index.ts
CHANGED
|
@@ -2728,6 +2728,7 @@ export namespace Service {
|
|
|
2728
2728
|
export type Params = DefaultPaginationQueryParams & {
|
|
2729
2729
|
_id?: string[] | string;
|
|
2730
2730
|
search?: string;
|
|
2731
|
+
from_updatedAt?: number;
|
|
2731
2732
|
[key: string]: any; // integration_meta.
|
|
2732
2733
|
};
|
|
2733
2734
|
export interface Result extends DefaultPaginationResult {
|
|
@@ -4422,6 +4423,7 @@ export namespace Service {
|
|
|
4422
4423
|
invoice_reference?: string;
|
|
4423
4424
|
converted_at?: number;
|
|
4424
4425
|
route?: string;
|
|
4426
|
+
class: "proforma" | "return";
|
|
4425
4427
|
status: ProformaStatus;
|
|
4426
4428
|
custom_status?: string;
|
|
4427
4429
|
editor?: AdminCreator | RepCreator | ClientCreator;
|
|
@@ -4436,11 +4438,11 @@ export namespace Service {
|
|
|
4436
4438
|
pre_taxable_subtotal?: number;
|
|
4437
4439
|
pre_tax_amount?: number;
|
|
4438
4440
|
pre_total?: number;
|
|
4439
|
-
return_subtotal
|
|
4440
|
-
return_discount_amount
|
|
4441
|
-
return_taxable_subtotal
|
|
4442
|
-
return_tax_amount
|
|
4443
|
-
return_total
|
|
4441
|
+
return_subtotal: number;
|
|
4442
|
+
return_discount_amount: number;
|
|
4443
|
+
return_taxable_subtotal: number;
|
|
4444
|
+
return_tax_amount: number;
|
|
4445
|
+
return_total: number;
|
|
4444
4446
|
deductionRatio?: number;
|
|
4445
4447
|
deductionFixed?: number;
|
|
4446
4448
|
totalDeductedTax?: number;
|
|
@@ -4500,6 +4502,7 @@ export namespace Service {
|
|
|
4500
4502
|
client_id: string;
|
|
4501
4503
|
client_name: string;
|
|
4502
4504
|
comment?: string;
|
|
4505
|
+
class: "proforma" | "return";
|
|
4503
4506
|
creator: AdminCreator | RepCreator | ClientCreator;
|
|
4504
4507
|
version?: number;
|
|
4505
4508
|
time?: number;
|
|
@@ -4532,11 +4535,11 @@ export namespace Service {
|
|
|
4532
4535
|
pre_taxable_subtotal?: number;
|
|
4533
4536
|
pre_tax_amount?: number;
|
|
4534
4537
|
pre_total?: number;
|
|
4535
|
-
return_subtotal
|
|
4536
|
-
return_discount_amount
|
|
4537
|
-
return_taxable_subtotal
|
|
4538
|
-
return_tax_amount
|
|
4539
|
-
return_total
|
|
4538
|
+
return_subtotal: number;
|
|
4539
|
+
return_discount_amount: number;
|
|
4540
|
+
return_taxable_subtotal: number;
|
|
4541
|
+
return_tax_amount: number;
|
|
4542
|
+
return_total: number;
|
|
4540
4543
|
deductionRatio?: number;
|
|
4541
4544
|
deductionFixed?: number;
|
|
4542
4545
|
totalDeductedTax?: number;
|
|
@@ -4600,6 +4603,7 @@ export namespace Service {
|
|
|
4600
4603
|
time?: number;
|
|
4601
4604
|
issue_date?: string;
|
|
4602
4605
|
delivery_date?: string;
|
|
4606
|
+
class?: "proforma" | "return";
|
|
4603
4607
|
currency?: string;
|
|
4604
4608
|
serial_number?: SerialNumber;
|
|
4605
4609
|
return_serial_number?: SerialNumber;
|
|
@@ -4984,6 +4988,8 @@ export namespace Service {
|
|
|
4984
4988
|
original_amount: number;
|
|
4985
4989
|
payment: number;
|
|
4986
4990
|
};
|
|
4991
|
+
teams?: string[] | Team.TeamSchema[];
|
|
4992
|
+
route?: string | Route.RouteSchema;
|
|
4987
4993
|
};
|
|
4988
4994
|
type PaymentType = "check" | "cash";
|
|
4989
4995
|
type PopulatedKeys = "custom_status";
|
|
@@ -5000,6 +5006,7 @@ export namespace Service {
|
|
|
5000
5006
|
creator?: string[] | string;
|
|
5001
5007
|
clients?: string[] | string;
|
|
5002
5008
|
withPrintDetails?: boolean;
|
|
5009
|
+
from_updatedAt?: number;
|
|
5003
5010
|
"serial_number.formatted"?: string[] | string;
|
|
5004
5011
|
[key: string]: any; // integration_meta.
|
|
5005
5012
|
populatedKeys?: PopulatedKeys[];
|