@secondcloset/types 2.7.45 → 2.7.46-beta.0
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/package.json +1 -1
- package/src/_common/organization.ts +0 -4
- package/src/fulfillment/appointment/appointment.ts +3 -0
- package/src/fulfillment/appointment/appointmentType.ts +2 -0
- package/src/fulfillment/asn/asn.ts +0 -1
- package/src/fulfillment/shipment/shippingMethod.ts +3 -0
- package/src/storage/appointment/appointment.ts +3 -0
- package/src/storage/appointment/appointmentType.ts +2 -0
- package/src/warehouse/organization.ts +0 -1
package/package.json
CHANGED
|
@@ -72,10 +72,6 @@ export interface Organization extends BaseOrganization {
|
|
|
72
72
|
permissions: Permission[];
|
|
73
73
|
geofilter_constraints?: GeofilterConstraint[];
|
|
74
74
|
facility_service_areas?: FacilityServiceArea[];
|
|
75
|
-
default_fulfilled_from?: {
|
|
76
|
-
facility: Facility<"V2">;
|
|
77
|
-
organization_regions: Region;
|
|
78
|
-
}[];
|
|
79
75
|
}
|
|
80
76
|
|
|
81
77
|
export interface Region {
|
|
@@ -2,6 +2,7 @@ import {
|
|
|
2
2
|
AppointmentType,
|
|
3
3
|
AppointmentSubtype,
|
|
4
4
|
DeliveryType,
|
|
5
|
+
ParcelServiceLevel,
|
|
5
6
|
} from "./appointmentType";
|
|
6
7
|
import { AppointmentStatus } from "./appointmentStatus";
|
|
7
8
|
import { Shipment, ScServiceCode } from "../shipment";
|
|
@@ -10,6 +11,7 @@ import { AppointmentSlot } from "../../storage";
|
|
|
10
11
|
import { BaseImage, BaseNote, ServiceArea } from "../../_common";
|
|
11
12
|
|
|
12
13
|
export interface Appointment {
|
|
14
|
+
air_skip?: boolean;
|
|
13
15
|
appointment_actions: string[];
|
|
14
16
|
arrived_time: string | null;
|
|
15
17
|
cancelled_at: string | null;
|
|
@@ -38,6 +40,7 @@ export interface Appointment {
|
|
|
38
40
|
movers: null;
|
|
39
41
|
num_movers: null;
|
|
40
42
|
number: string;
|
|
43
|
+
parcel_service_level?: ParcelServiceLevel;
|
|
41
44
|
range_of_days_assigned_dates?: {
|
|
42
45
|
assigned_start_datetime: string;
|
|
43
46
|
assigned_end_datetime: string;
|
|
@@ -4,6 +4,7 @@ import {
|
|
|
4
4
|
AppointmentType,
|
|
5
5
|
AppointmentSubtype,
|
|
6
6
|
DeliveryType,
|
|
7
|
+
ParcelServiceLevel,
|
|
7
8
|
} from "../../fulfillment/appointment";
|
|
8
9
|
import { CustomerAddress, Customer, ShipmentTag } from "../order";
|
|
9
10
|
import { BaseUser, BaseImage, BaseNote, BaseAddress } from "../../_common";
|
|
@@ -31,6 +32,7 @@ export type ShippingMethodType =
|
|
|
31
32
|
| "external_carrier_shipment";
|
|
32
33
|
|
|
33
34
|
export interface SecondClosetShippingMethod {
|
|
35
|
+
air_skip?: boolean;
|
|
34
36
|
id: string;
|
|
35
37
|
user_id?: string;
|
|
36
38
|
user_code?: string;
|
|
@@ -62,6 +64,7 @@ export interface SecondClosetShippingMethod {
|
|
|
62
64
|
} | null;
|
|
63
65
|
range_of_days_start_date?: string | null;
|
|
64
66
|
range_of_days_end_date?: string | null;
|
|
67
|
+
parcel_service_level?: ParcelServiceLevel;
|
|
65
68
|
created_at: string;
|
|
66
69
|
updated_at?: string;
|
|
67
70
|
num_movers?: number | null;
|
|
@@ -3,6 +3,7 @@ import {
|
|
|
3
3
|
AppointmentType,
|
|
4
4
|
AppointmentSubtype,
|
|
5
5
|
DeliveryType,
|
|
6
|
+
ParcelServiceLevel,
|
|
6
7
|
} from "./appointmentType";
|
|
7
8
|
import { AppointmentStatus } from "./appointmentStatus";
|
|
8
9
|
import { Address } from "../address";
|
|
@@ -10,6 +11,7 @@ import { BaseImage, BaseNote, ServiceArea } from "../../_common";
|
|
|
10
11
|
import { ScServiceCode } from "../../fulfillment";
|
|
11
12
|
|
|
12
13
|
export interface Appointment {
|
|
14
|
+
air_skip?: boolean;
|
|
13
15
|
address: Address;
|
|
14
16
|
arrived_time?: string;
|
|
15
17
|
bulky_order_only: boolean;
|
|
@@ -37,6 +39,7 @@ export interface Appointment {
|
|
|
37
39
|
num_movers?: number;
|
|
38
40
|
number: string;
|
|
39
41
|
order_id: string;
|
|
42
|
+
parcel_service_level?: ParcelServiceLevel;
|
|
40
43
|
rescheduled: boolean;
|
|
41
44
|
rescheduled_appointment_id?: string | null;
|
|
42
45
|
signature_image?: string;
|