repzo 1.0.50 → 1.0.52
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/index.d.ts +760 -373
- package/lib/index.js +1710 -1090
- package/lib/types/index.d.ts +5740 -5365
- package/package.json +1 -1
- package/src/types/index.ts +8 -1
package/package.json
CHANGED
package/src/types/index.ts
CHANGED
|
@@ -3128,6 +3128,7 @@ export namespace Service {
|
|
|
3128
3128
|
product_barcode?: string;
|
|
3129
3129
|
variant_sku?: string;
|
|
3130
3130
|
variant_barcode?: string;
|
|
3131
|
+
_id: string;
|
|
3131
3132
|
}
|
|
3132
3133
|
export interface Schema {
|
|
3133
3134
|
_id: string;
|
|
@@ -4390,6 +4391,7 @@ export namespace Service {
|
|
|
4390
4391
|
export interface ProformaSchema {
|
|
4391
4392
|
_id: string;
|
|
4392
4393
|
items: Item.Schema[];
|
|
4394
|
+
return_items: Item.Schema[];
|
|
4393
4395
|
integration_meta?: { [key: string]: any };
|
|
4394
4396
|
external_serial_number?: string;
|
|
4395
4397
|
processable?: boolean;
|
|
@@ -4490,6 +4492,7 @@ export namespace Service {
|
|
|
4490
4492
|
}
|
|
4491
4493
|
interface CreateBody {
|
|
4492
4494
|
items: Item.Schema[];
|
|
4495
|
+
return_items?: Item.Schema[];
|
|
4493
4496
|
integration_meta?: { [key: string]: any };
|
|
4494
4497
|
external_serial_number?: string;
|
|
4495
4498
|
processable?: boolean;
|
|
@@ -4582,6 +4585,7 @@ export namespace Service {
|
|
|
4582
4585
|
interface UpdateBody {
|
|
4583
4586
|
_id?: string;
|
|
4584
4587
|
items?: Item.Schema[];
|
|
4588
|
+
return_items?: Item.Schema[];
|
|
4585
4589
|
integration_meta?: { [key: string]: any };
|
|
4586
4590
|
external_serial_number?: string;
|
|
4587
4591
|
processable?: boolean;
|
|
@@ -4693,8 +4697,11 @@ export namespace Service {
|
|
|
4693
4697
|
client_id?: string | Client.ClientSchema;
|
|
4694
4698
|
custom_status?: string | CustomStatus.CustomStatusSchema;
|
|
4695
4699
|
cycle?: Cycle.Schema;
|
|
4700
|
+
return_reason?: string | ReturnReason.Schema;
|
|
4701
|
+
teams?: string[] | Team.TeamSchema[];
|
|
4702
|
+
route?: string | Route.RouteSchema;
|
|
4696
4703
|
};
|
|
4697
|
-
type PopulatedKeys = "custom_status";
|
|
4704
|
+
type PopulatedKeys = "custom_status" | "return_reason" | "teams" | "route";
|
|
4698
4705
|
type ProformaStatus = "pending" | "approved" | "processing" | "rejected";
|
|
4699
4706
|
type SortingKeys =
|
|
4700
4707
|
| "product_sku"
|