@secondcloset/types 2.7.17-bolt-parcel.2 → 2.17.17-beta-containerTypes-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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@secondcloset/types",
3
- "version": "2.7.17-bolt-parcel.2",
3
+ "version": "2.17.17-beta-containerTypes-0",
4
4
  "description": "secondcloset type declaration and definitions",
5
5
  "main": "src/index.ts",
6
6
  "scripts": {
@@ -1,8 +1,4 @@
1
- import {
2
- AppointmentType,
3
- AppointmentSubtype,
4
- DeliveryType,
5
- } from "./appointmentType";
1
+ import { AppointmentType, AppointmentSubtype } from "./appointmentType";
6
2
  import { AppointmentStatus } from "./appointmentStatus";
7
3
  import { Shipment, ScServiceCode } from "../shipment";
8
4
  import { Order } from "../order";
@@ -60,8 +56,6 @@ export interface Appointment {
60
56
  user_id: string;
61
57
  user_lastname: string;
62
58
  verification_images?: BaseImage[];
63
- delivery_type?: DeliveryType;
64
- shipping_labels?: LastMileShippingLabel[];
65
59
  }
66
60
 
67
61
  export interface Location {
@@ -82,11 +76,3 @@ export interface Location {
82
76
  service_area: ServiceArea | null;
83
77
  updated_at: string;
84
78
  }
85
-
86
- interface LastMileShippingLabel {
87
- id: string;
88
- label_id?: string;
89
- tracking_number?: string;
90
- tracking_url?: string;
91
- label_download?: string;
92
- }
@@ -7,5 +7,3 @@ export type AppointmentType =
7
7
  | "inventory_warehouse_receiving";
8
8
 
9
9
  export type AppointmentSubtype = "mid_mile_pick_up" | "mid_mile_drop_off";
10
-
11
- export type DeliveryType = "heavy" | "parcel";
@@ -3,7 +3,6 @@ import {
3
3
  AppointmentStatus,
4
4
  AppointmentType,
5
5
  AppointmentSubtype,
6
- DeliveryType,
7
6
  } from "../../fulfillment/appointment";
8
7
  import { CustomerAddress, Customer, ShipmentTag } from "../order";
9
8
  import { BaseUser, BaseImage, BaseNote, BaseAddress } from "../../_common";
@@ -75,8 +74,6 @@ export interface SecondClosetShippingMethod {
75
74
  delivery_service_level?: ScServiceCode;
76
75
  field_ops_notes?: BaseNote[];
77
76
  verification_images?: BaseImage[];
78
- delivery_type?: DeliveryType;
79
- shipping_labels?: LastMileShippingLabel[];
80
77
  source?: {
81
78
  id: string;
82
79
  type: string;
@@ -129,14 +126,6 @@ export interface ExternalCarrierShippingLabel {
129
126
  voided_at: string | null;
130
127
  }
131
128
 
132
- export interface LastMileShippingLabel {
133
- id: string;
134
- label_id?: string;
135
- tracking_number?: string;
136
- tracking_url?: string;
137
- label_download?: string;
138
- }
139
-
140
129
  export interface ExternalCarrierShippingMethod {
141
130
  id: string;
142
131
  status: ExternalCarrierShipmentStatus;
@@ -1,9 +1,5 @@
1
1
  import { AppointmentItem } from "./appointmentItem";
2
- import {
3
- AppointmentType,
4
- AppointmentSubtype,
5
- DeliveryType,
6
- } from "./appointmentType";
2
+ import { AppointmentType, AppointmentSubtype } from "./appointmentType";
7
3
  import { AppointmentStatus } from "./appointmentStatus";
8
4
  import { Address } from "../address";
9
5
  import { BaseImage, BaseNote, ServiceArea } from "../../_common";
@@ -56,7 +52,6 @@ export interface Appointment {
56
52
  user_lastname: string;
57
53
  items: AppointmentItem[];
58
54
  verification_images?: BaseImage[];
59
- delivery_type?: DeliveryType;
60
55
  }
61
56
 
62
57
  export type AppointmentSlot =
@@ -8,5 +8,3 @@ export type AppointmentType =
8
8
  | "custom";
9
9
 
10
10
  export type AppointmentSubtype = "mid_mile_pick_up" | "mid_mile_drop_off";
11
-
12
- export type DeliveryType = "heavy" | "parcel";
@@ -0,0 +1,15 @@
1
+ import { FacilityCode } from "../_common";
2
+ import { LocationItem } from "./locationItem";
3
+
4
+ export enum ContainerType {
5
+ SINGLE = "single_pallet",
6
+ DOUBLE = "double_pallet",
7
+ BIN = "bin",
8
+ }
9
+ export interface Container {
10
+ id: string;
11
+ type: ContainerType;
12
+ location_items?: LocationItem[];
13
+ facility: FacilityCode | null;
14
+ pallet_request_log_id?: string;
15
+ }