@artaio/node-api 1.10.0 → 1.12.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.
@@ -18,6 +18,7 @@ import { TrackingsEndpoint } from './endpoint/trackings';
18
18
  import { QuoteRequestsEndpoint } from './endpoint/requests';
19
19
  import { SelfShipCollectionAvailabilityChecksEndpoint } from './endpoint/selfShipCollectionAvailabilityChecks';
20
20
  import { SelfShipCollectionsEndpoint } from './endpoint/selfShipCollections';
21
+ import { ShipmentExceptionsEndpoint } from './endpoint/shipmentExceptions';
21
22
  import { ShipmentsEndpoint } from './endpoint/shipments';
22
23
  import { TagsEndpoint } from './endpoint/tags';
23
24
  import { ImportCostEstimatesEndpoint } from './endpoint/importCostEstimates';
@@ -45,6 +46,7 @@ export declare class Arta {
45
46
  requests: QuoteRequestsEndpoint;
46
47
  self_ship_collection_availability_checks: SelfShipCollectionAvailabilityChecksEndpoint;
47
48
  self_ship_collections: SelfShipCollectionsEndpoint;
49
+ shipment_exceptions: ShipmentExceptionsEndpoint;
48
50
  shipments: ShipmentsEndpoint;
49
51
  tags: TagsEndpoint;
50
52
  trackings: TrackingsEndpoint;
package/dist/lib/arta.js CHANGED
@@ -23,6 +23,7 @@ const trackings_1 = require("./endpoint/trackings");
23
23
  const requests_1 = require("./endpoint/requests");
24
24
  const selfShipCollectionAvailabilityChecks_1 = require("./endpoint/selfShipCollectionAvailabilityChecks");
25
25
  const selfShipCollections_1 = require("./endpoint/selfShipCollections");
26
+ const shipmentExceptions_1 = require("./endpoint/shipmentExceptions");
26
27
  const shipments_1 = require("./endpoint/shipments");
27
28
  const tags_1 = require("./endpoint/tags");
28
29
  const importCostEstimates_1 = require("./endpoint/importCostEstimates");
@@ -56,6 +57,7 @@ class Arta {
56
57
  this.self_ship_collection_availability_checks =
57
58
  new selfShipCollectionAvailabilityChecks_1.SelfShipCollectionAvailabilityChecksEndpoint(this.artaClient);
58
59
  this.self_ship_collections = new selfShipCollections_1.SelfShipCollectionsEndpoint(this.artaClient);
60
+ this.shipment_exceptions = new shipmentExceptions_1.ShipmentExceptionsEndpoint(this.artaClient);
59
61
  this.shipments = new shipments_1.ShipmentsEndpoint(this.artaClient);
60
62
  this.tags = new tags_1.TagsEndpoint(this.artaClient);
61
63
  this.trackings = new trackings_1.TrackingsEndpoint(this.artaClient);
@@ -10,6 +10,8 @@ export type EnrichedHostedSession = HostedSession & {
10
10
  export type HostedSessionCreateBody = {
11
11
  additional_services?: Nullable<AdditionalService[]>;
12
12
  cancel_url?: NullableString;
13
+ customs_end_use?: HostedSession['customs_end_use'];
14
+ customs_process?: HostedSession['customs_process'];
13
15
  destination?: Nullable<ArtaLocation>;
14
16
  insurance?: Nullable<Insurance>;
15
17
  internal_reference?: NullableString;
@@ -31,6 +33,8 @@ export type HostedSessionCreateBody = {
31
33
  } | {
32
34
  additional_services?: Nullable<AdditionalService[]>;
33
35
  cancel_url?: NullableString;
36
+ customs_end_use?: HostedSession['customs_end_use'];
37
+ customs_process?: HostedSession['customs_process'];
34
38
  destination: ArtaLocation;
35
39
  insurance?: Nullable<Insurance>;
36
40
  internal_reference?: NullableString;
@@ -11,6 +11,8 @@ export type EnrichRequest<T> = T & {
11
11
  export interface QuoteRequestCreateBody {
12
12
  additional_services?: Nullable<AdditionalService[]>;
13
13
  currency?: Nullable<SupportedCurrency>;
14
+ customs_end_use?: QuoteRequest['customs_end_use'];
15
+ customs_process?: QuoteRequest['customs_process'];
14
16
  destination: ArtaLocation;
15
17
  insurance?: Nullable<Insurance>;
16
18
  internal_reference?: NullableString;
@@ -0,0 +1,26 @@
1
+ import type { ArtaID } from '../ArtaClient';
2
+ import type { RestClient } from '../net/RestClient';
3
+ import type { Page } from '../pagination';
4
+ import type { ShipmentException } from '../types';
5
+ export interface ShipmentExceptionCreateBody {
6
+ type: 'requested_hold_to_collect';
7
+ shipment_id: string;
8
+ hold_until?: string;
9
+ }
10
+ export interface ShipmentExceptionCreate {
11
+ shipment_exception: ShipmentExceptionCreateBody;
12
+ }
13
+ export type ShipmentExceptionUpdateBody = Partial<Pick<ShipmentException, 'hold_until' | 'status'>>;
14
+ export interface ShipmentExceptionUpdate {
15
+ shipment_exception: ShipmentExceptionUpdateBody;
16
+ }
17
+ export declare class ShipmentExceptionsEndpoint {
18
+ private readonly artaClient;
19
+ private readonly defaultEndpoint;
20
+ private readonly path;
21
+ constructor(artaClient: RestClient);
22
+ getById(id: ArtaID, auth?: string): Promise<ShipmentException>;
23
+ list(page?: number, pageSize?: number, auth?: string): Promise<Page<ShipmentException>>;
24
+ create(payload: ShipmentExceptionCreateBody, auth?: string): Promise<ShipmentException>;
25
+ update(id: ArtaID, payload: ShipmentExceptionUpdateBody, auth?: string): Promise<ShipmentException>;
26
+ }
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ShipmentExceptionsEndpoint = void 0;
4
+ const endpoint_1 = require("./endpoint");
5
+ class ShipmentExceptionsEndpoint {
6
+ constructor(artaClient) {
7
+ this.artaClient = artaClient;
8
+ this.path = '/shipment_exceptions';
9
+ this.defaultEndpoint = new endpoint_1.DefaultEndpoint(this.path, this.artaClient);
10
+ }
11
+ getById(id, auth) {
12
+ return this.defaultEndpoint.getById(id, auth);
13
+ }
14
+ list(page = 1, pageSize = 20, auth) {
15
+ return this.defaultEndpoint.list({ page, page_size: pageSize }, auth);
16
+ }
17
+ create(payload, auth) {
18
+ return this.defaultEndpoint.create({ shipment_exception: payload }, auth);
19
+ }
20
+ update(id, payload, auth) {
21
+ return this.defaultEndpoint.update(id, { shipment_exception: payload }, auth);
22
+ }
23
+ }
24
+ exports.ShipmentExceptionsEndpoint = ShipmentExceptionsEndpoint;
@@ -5,6 +5,7 @@ import type { ShipmentsSearch } from '../search';
5
5
  import type { NullableString } from '../utils';
6
6
  import type { Shipment } from '../types';
7
7
  export interface ShipmentCreateBody {
8
+ customs_process?: Shipment['customs_process'];
8
9
  exceptions?: Array<{
9
10
  type: 'label_hold';
10
11
  }>;
@@ -13,4 +13,5 @@ export { ExtendedWebhook as Webhook, WebhookCreate } from './endpoint/webhooks';
13
13
  export { QuoteRequestCreateBody, UpdateRequestsContactsBody, CustomQuotePayload, } from './endpoint/requests';
14
14
  export { SelfShipCollectionAvailabilityCheckCreateBody } from './endpoint/selfShipCollectionAvailabilityChecks';
15
15
  export { SelfShipCollectionCreateBody } from './endpoint/selfShipCollections';
16
+ export { ShipmentExceptionCreateBody, ShipmentExceptionUpdateBody, } from './endpoint/shipmentExceptions';
16
17
  export { ShipmentCreateBody } from './endpoint/shipments';
@@ -25,6 +25,8 @@ export type QuoteRequest = {
25
25
  missing: string[];
26
26
  ready: boolean;
27
27
  };
28
+ customs_end_use: "for_resale" | "not_for_resale";
29
+ customs_process: "ddu" | "ddp" | "ddp_optional";
28
30
  destination: {
29
31
  access_restrictions?: (("elevator_only" | "freight_elevator" | "loading_dock" | "loading_dock_low" | "low_clearance" | "non_paved" | "stairs_only" | "steep_gradient")[] | null) | undefined;
30
32
  address_line_1?: (string | null) | undefined;
@@ -92,8 +94,15 @@ export type QuoteRequest = {
92
94
  reason_code: "cannot_be_packed" | "client_timeout_reached" | "external_service_unavailable" | "object_not_supported" | "out_of_network" | "over_size" | "over_value" | "over_volume" | "over_weight" | "requested_service_unavailable" | "too_many_items" | "under_value" | "under_volume" | "under_weight";
93
95
  }[];
94
96
  objects: {
97
+ id?: (number | null) | undefined;
95
98
  internal_reference?: (string | null) | undefined;
96
- current_packing?: (("alcohol_case" | "lay_flat_wine_box" | "blanket" | "wardrobe_box" | "cardboard_box" | "chandelier_box" | "chair_box" | "cbin_closed" | "cbin_open" | "ply_box" | "fine_art_econo_crate" | "fine_art_international_crate" | "econo_crate" | "international_econo_crate" | "furniture_crate" | "international_furniture_crate" | "parcel_crate" | "museum_crate" | "international_museum_crate" | "foam_lined_box" | "cavity_box" | "strongbox" | "double_box" | "travel_frame" | "travel_frame_art" | "travel_frame_other" | "a_frame" | "slat_crate" | "tri_wall_crate" | "lockbox" | "no_packing" | "pallet" | "international_pallet" | "portfolio" | "rug_rolled" | "shadow_box" | "slipcase" | "slipcase_glass_tape" | "poly_cardboard" | "bubble_cardboard" | "garment_bag" | "poly_only" | "dartek_only" | "bubble_only" | "cling_wrap" | "cbin_communal" | "sonotube" | "stabilizing_box" | "shipping_tube_small" | "shipping_tube_large")[] | null) | undefined;
99
+ current_packing?: (("alcohol_case" | "lay_flat_wine_box" | "blanket" | "wardrobe_box" | "cardboard_box" | "chandelier_box" | "chair_box" | "dinnerware_box" | "fedex_small_box" | "fedex_medium_box" | "fedex_large_box" | "cbin_closed" | "cbin_open" | "ply_box" | "fine_art_econo_crate" | "fine_art_international_crate" | "econo_crate" | "international_econo_crate" | "furniture_crate" | "international_furniture_crate" | "parcel_crate" | "museum_crate" | "international_museum_crate" | "foam_lined_box" | "cavity_box" | "strongbox" | "strongbox_airseapacking" | "double_box" | "double_box_airseapacking" | "travel_frame" | "travel_frame_art" | "travel_frame_other" | "a_frame" | "slat_crate" | "tri_wall_crate" | "lockbox" | "no_packing" | "pallet" | "international_pallet" | "portfolio" | "flat_mailer" | "rug_rolled" | "shadow_box" | "slipcase" | "slipcase_glass_tape" | "poly_cardboard" | "bubble_cardboard" | "garment_bag" | "poly_only" | "dartek_only" | "bubble_only" | "cling_wrap" | "cbin_communal" | "sonotube" | "stabilizing_box" | "shipping_tube_small" | "shipping_tube_large")[] | null) | undefined;
100
+ customs?: ({
101
+ country_of_origin?: (string | null) | undefined;
102
+ hs_code?: (string | null) | undefined;
103
+ medium?: (string | null) | undefined;
104
+ temporary_admission?: (boolean | null) | undefined;
105
+ } | null) | undefined;
97
106
  details?: ({
98
107
  materials?: (("stone_marble" | "precious_stones" | "fiber_synthetic" | "fabric_natural" | "taxidermy" | "carbon_fiber" | "live_animal" | "paper" | "glass" | "presious_metals" | "particleboard" | "styrofoam" | "wood" | "photo_film" | "sand" | "metal" | "plexiglass" | "aquatic_life" | "canvas" | "drywall" | "hard_plastic" | "vinyl" | "soft_plastic" | "leather" | "rubber" | "concreate" | "paint" | "electronics" | "fiber_natural" | "gas" | "fabric_synthetic" | "CITES" | "liquids" | "salts")[] | null) | undefined;
99
108
  creation_date?: (string | null) | undefined;
@@ -111,6 +120,7 @@ export type QuoteRequest = {
111
120
  images?: (string[] | null) | undefined;
112
121
  public_reference?: (string | null) | undefined;
113
122
  subtype: "accessories" | "armoire_dresser" | "bedframe" | "beer_barrel" | "beer_bottle" | "beer_case" | "book" | "bookcase_storage" | "bowl" | "bracelet" | "brooch" | "bus" | "camera_electrical" | "candelabra_candlestick" | "car" | "carpet_rug" | "carriage" | "ceramic" | "chair" | "chandelier" | "clock" | "clothing" | "coin" | "collectible_apparel" | "cufflinks" | "decoy" | "desk_vanity" | "dinnerware" | "document_manuscript" | "earrings" | "eyeglasses" | "figurine_doll" | "firearm_weapon" | "flatware" | "floor_lamp" | "floor_lamp_shade" | "folding_screen" | "footwear" | "fossil" | "glass_sculpture" | "glassware" | "handbag" | "headboard" | "hunting_fishing" | "lighting_fixture" | "limousine" | "media_console" | "medical_equipment" | "memorabilia" | "mineral" | "miniature_model" | "mirror" | "mixed_media_framed" | "mixed_media_framed_glass" | "mixed_media_framed_plexi" | "mixed_media_unframed" | "motorcycle" | "musical_instrument" | "necklace" | "neon" | "neon_sign" | "new_media" | "nightstand" | "object_of_vertu" | "other" | "other_alcohols" | "other_art" | "other_automotive" | "other_collectibles" | "other_decorative_arts" | "other_fashion" | "other_furniture" | "other_jewelry" | "ottoman" | "painting_framed" | "painting_framed_glass" | "painting_framed_plexi" | "painting_unframed" | "pedestal" | "pedestal_case_glass" | "pedestal_case_plexi" | "photograph_framed" | "photograph_framed_glass" | "photograph_framed_plexi" | "photograph_unframed" | "plaque" | "porcelain_bowl" | "porcelain_plate" | "precious_stones" | "prepacked_box" | "ring" | "sconce" | "sculpture" | "serveware" | "set" | "sidecar" | "snuff_box_cigarette_case" | "sofa_loveseat_chaise" | "spirits_barrel" | "spirits_bottle" | "spirits_case" | "stamp" | "table" | "table_lamp" | "table_lamp_shade" | "tabletop_accessory" | "tapestry" | "toy" | "trading_card" | "trailer" | "van" | "vase_vessel" | "watch" | "wine_barrel" | "wine_bottle" | "wine_case" | "work_on_paper_framed" | "work_on_paper_framed_glass" | "work_on_paper_framed_plexi" | "work_on_paper_unframed";
123
+ type?: (string | null) | undefined;
114
124
  unit_of_measurement?: (string | null) | undefined;
115
125
  weight_unit?: (string | null) | undefined;
116
126
  value_currency: "CAD" | "CHF" | "EUR" | "GBP" | "HKD" | "USD";
@@ -190,6 +200,8 @@ export type Shipment = {
190
200
  updated_at: Date;
191
201
  created_at: Date;
192
202
  id: string;
203
+ customs_end_use?: (("for_resale" | "not_for_resale") | null) | undefined;
204
+ customs_process?: (("ddu" | "ddp" | "ddp_optional") | null) | undefined;
193
205
  destination: {
194
206
  access_restrictions?: (("elevator_only" | "freight_elevator" | "loading_dock" | "loading_dock_low" | "low_clearance" | "non_paved" | "stairs_only" | "steep_gradient")[] | null) | undefined;
195
207
  address_line_1?: (string | null) | undefined;
@@ -217,11 +229,16 @@ export type Shipment = {
217
229
  updated_at: Date;
218
230
  created_at: Date;
219
231
  exception_type_label?: (string | null) | undefined;
232
+ hold_until?: (string | null) | undefined;
220
233
  id: string;
234
+ object_id?: (number | null) | undefined;
221
235
  package_id?: (number | null) | undefined;
222
236
  resolution?: (string | null) | undefined;
237
+ shipment_id?: (string | null) | undefined;
238
+ source: string;
223
239
  status: "in_progress" | "new" | "resolved";
224
240
  type: "change_of_address_request" | "customs_information_required" | "damaged_items" | "direct_payment_required" | "held_at_customs" | "inaccurate_object_details" | "incorrect_address" | "label_hold" | "lost_in_transit" | "not_ready_for_delivery" | "not_ready_for_release" | "other" | "prepayment_required" | "requested_hold_to_collect" | "requested_hold_to_deliver" | "wrong_item";
241
+ user_notes?: (string[] | null) | undefined;
225
242
  }[] | null) | undefined;
226
243
  hosted_session_id?: (number | null) | undefined;
227
244
  insurance_policy?: ({
@@ -262,8 +279,15 @@ export type Shipment = {
262
279
  id: number;
263
280
  is_sufficiently_packed: boolean;
264
281
  objects: {
282
+ id?: (number | null) | undefined;
265
283
  internal_reference?: (string | null) | undefined;
266
- current_packing?: (("alcohol_case" | "lay_flat_wine_box" | "blanket" | "wardrobe_box" | "cardboard_box" | "chandelier_box" | "chair_box" | "cbin_closed" | "cbin_open" | "ply_box" | "fine_art_econo_crate" | "fine_art_international_crate" | "econo_crate" | "international_econo_crate" | "furniture_crate" | "international_furniture_crate" | "parcel_crate" | "museum_crate" | "international_museum_crate" | "foam_lined_box" | "cavity_box" | "strongbox" | "double_box" | "travel_frame" | "travel_frame_art" | "travel_frame_other" | "a_frame" | "slat_crate" | "tri_wall_crate" | "lockbox" | "no_packing" | "pallet" | "international_pallet" | "portfolio" | "rug_rolled" | "shadow_box" | "slipcase" | "slipcase_glass_tape" | "poly_cardboard" | "bubble_cardboard" | "garment_bag" | "poly_only" | "dartek_only" | "bubble_only" | "cling_wrap" | "cbin_communal" | "sonotube" | "stabilizing_box" | "shipping_tube_small" | "shipping_tube_large")[] | null) | undefined;
284
+ current_packing?: (("alcohol_case" | "lay_flat_wine_box" | "blanket" | "wardrobe_box" | "cardboard_box" | "chandelier_box" | "chair_box" | "dinnerware_box" | "fedex_small_box" | "fedex_medium_box" | "fedex_large_box" | "cbin_closed" | "cbin_open" | "ply_box" | "fine_art_econo_crate" | "fine_art_international_crate" | "econo_crate" | "international_econo_crate" | "furniture_crate" | "international_furniture_crate" | "parcel_crate" | "museum_crate" | "international_museum_crate" | "foam_lined_box" | "cavity_box" | "strongbox" | "strongbox_airseapacking" | "double_box" | "double_box_airseapacking" | "travel_frame" | "travel_frame_art" | "travel_frame_other" | "a_frame" | "slat_crate" | "tri_wall_crate" | "lockbox" | "no_packing" | "pallet" | "international_pallet" | "portfolio" | "flat_mailer" | "rug_rolled" | "shadow_box" | "slipcase" | "slipcase_glass_tape" | "poly_cardboard" | "bubble_cardboard" | "garment_bag" | "poly_only" | "dartek_only" | "bubble_only" | "cling_wrap" | "cbin_communal" | "sonotube" | "stabilizing_box" | "shipping_tube_small" | "shipping_tube_large")[] | null) | undefined;
285
+ customs?: ({
286
+ country_of_origin?: (string | null) | undefined;
287
+ hs_code?: (string | null) | undefined;
288
+ medium?: (string | null) | undefined;
289
+ temporary_admission?: (boolean | null) | undefined;
290
+ } | null) | undefined;
267
291
  details?: ({
268
292
  materials?: (("stone_marble" | "precious_stones" | "fiber_synthetic" | "fabric_natural" | "taxidermy" | "carbon_fiber" | "live_animal" | "paper" | "glass" | "presious_metals" | "particleboard" | "styrofoam" | "wood" | "photo_film" | "sand" | "metal" | "plexiglass" | "aquatic_life" | "canvas" | "drywall" | "hard_plastic" | "vinyl" | "soft_plastic" | "leather" | "rubber" | "concreate" | "paint" | "electronics" | "fiber_natural" | "gas" | "fabric_synthetic" | "CITES" | "liquids" | "salts")[] | null) | undefined;
269
293
  creation_date?: (string | null) | undefined;
@@ -281,6 +305,7 @@ export type Shipment = {
281
305
  images?: (string[] | null) | undefined;
282
306
  public_reference?: (string | null) | undefined;
283
307
  subtype: "accessories" | "armoire_dresser" | "bedframe" | "beer_barrel" | "beer_bottle" | "beer_case" | "book" | "bookcase_storage" | "bowl" | "bracelet" | "brooch" | "bus" | "camera_electrical" | "candelabra_candlestick" | "car" | "carpet_rug" | "carriage" | "ceramic" | "chair" | "chandelier" | "clock" | "clothing" | "coin" | "collectible_apparel" | "cufflinks" | "decoy" | "desk_vanity" | "dinnerware" | "document_manuscript" | "earrings" | "eyeglasses" | "figurine_doll" | "firearm_weapon" | "flatware" | "floor_lamp" | "floor_lamp_shade" | "folding_screen" | "footwear" | "fossil" | "glass_sculpture" | "glassware" | "handbag" | "headboard" | "hunting_fishing" | "lighting_fixture" | "limousine" | "media_console" | "medical_equipment" | "memorabilia" | "mineral" | "miniature_model" | "mirror" | "mixed_media_framed" | "mixed_media_framed_glass" | "mixed_media_framed_plexi" | "mixed_media_unframed" | "motorcycle" | "musical_instrument" | "necklace" | "neon" | "neon_sign" | "new_media" | "nightstand" | "object_of_vertu" | "other" | "other_alcohols" | "other_art" | "other_automotive" | "other_collectibles" | "other_decorative_arts" | "other_fashion" | "other_furniture" | "other_jewelry" | "ottoman" | "painting_framed" | "painting_framed_glass" | "painting_framed_plexi" | "painting_unframed" | "pedestal" | "pedestal_case_glass" | "pedestal_case_plexi" | "photograph_framed" | "photograph_framed_glass" | "photograph_framed_plexi" | "photograph_unframed" | "plaque" | "porcelain_bowl" | "porcelain_plate" | "precious_stones" | "prepacked_box" | "ring" | "sconce" | "sculpture" | "serveware" | "set" | "sidecar" | "snuff_box_cigarette_case" | "sofa_loveseat_chaise" | "spirits_barrel" | "spirits_bottle" | "spirits_case" | "stamp" | "table" | "table_lamp" | "table_lamp_shade" | "tabletop_accessory" | "tapestry" | "toy" | "trading_card" | "trailer" | "van" | "vase_vessel" | "watch" | "wine_barrel" | "wine_bottle" | "wine_case" | "work_on_paper_framed" | "work_on_paper_framed_glass" | "work_on_paper_framed_plexi" | "work_on_paper_unframed";
308
+ type?: (string | null) | undefined;
284
309
  unit_of_measurement?: (string | null) | undefined;
285
310
  weight_unit?: (string | null) | undefined;
286
311
  value_currency: "CAD" | "CHF" | "EUR" | "GBP" | "HKD" | "USD";
@@ -304,7 +329,7 @@ export type Shipment = {
304
329
  value_currency?: (("CAD" | "CHF" | "EUR" | "GBP" | "HKD" | "USD") | null) | undefined;
305
330
  }[] | null) | undefined;
306
331
  }[];
307
- packing_materials: ("alcohol_case" | "lay_flat_wine_box" | "blanket" | "wardrobe_box" | "cardboard_box" | "chandelier_box" | "chair_box" | "cbin_closed" | "cbin_open" | "ply_box" | "fine_art_econo_crate" | "fine_art_international_crate" | "econo_crate" | "international_econo_crate" | "furniture_crate" | "international_furniture_crate" | "parcel_crate" | "museum_crate" | "international_museum_crate" | "foam_lined_box" | "cavity_box" | "strongbox" | "double_box" | "travel_frame" | "travel_frame_art" | "travel_frame_other" | "a_frame" | "slat_crate" | "tri_wall_crate" | "lockbox" | "no_packing" | "pallet" | "international_pallet" | "portfolio" | "rug_rolled" | "shadow_box" | "slipcase" | "slipcase_glass_tape" | "poly_cardboard" | "bubble_cardboard" | "garment_bag" | "poly_only" | "dartek_only" | "bubble_only" | "cling_wrap" | "cbin_communal" | "sonotube" | "stabilizing_box" | "shipping_tube_small" | "shipping_tube_large")[];
332
+ packing_materials: ("alcohol_case" | "lay_flat_wine_box" | "blanket" | "wardrobe_box" | "cardboard_box" | "chandelier_box" | "chair_box" | "dinnerware_box" | "fedex_small_box" | "fedex_medium_box" | "fedex_large_box" | "cbin_closed" | "cbin_open" | "ply_box" | "fine_art_econo_crate" | "fine_art_international_crate" | "econo_crate" | "international_econo_crate" | "furniture_crate" | "international_furniture_crate" | "parcel_crate" | "museum_crate" | "international_museum_crate" | "foam_lined_box" | "cavity_box" | "strongbox" | "strongbox_airseapacking" | "double_box" | "double_box_airseapacking" | "travel_frame" | "travel_frame_art" | "travel_frame_other" | "a_frame" | "slat_crate" | "tri_wall_crate" | "lockbox" | "no_packing" | "pallet" | "international_pallet" | "portfolio" | "flat_mailer" | "rug_rolled" | "shadow_box" | "slipcase" | "slipcase_glass_tape" | "poly_cardboard" | "bubble_cardboard" | "garment_bag" | "poly_only" | "dartek_only" | "bubble_only" | "cling_wrap" | "cbin_communal" | "sonotube" | "stabilizing_box" | "shipping_tube_small" | "shipping_tube_large")[];
308
333
  status?: (("pending" | "transit" | "out_for_delivery" | "delivered" | "unknown" | "notfound" | "undelivered" | "exception" | "expired") | null) | undefined;
309
334
  unit_of_measurement?: (string | null) | undefined;
310
335
  weight: number;
@@ -392,6 +417,8 @@ export type HostedSession = {
392
417
  id: number;
393
418
  additional_services?: (("assembly" | "debris_disposal" | "deinstallation" | "destination_additional_labor" | "destination_building_coi" | "destination_condition_check" | "destination_full_condition_report" | "destination_unpacking" | "double_blind_bols" | "installation" | "origin_building_coi" | "origin_condition_check" | "origin_full_condition_report" | "placement" | "signature_delivery" | "tarmac_supervision")[] | null) | undefined;
394
419
  cancel_url?: (string | null) | undefined;
420
+ customs_end_use: "for_resale" | "not_for_resale";
421
+ customs_process: "ddu" | "ddp" | "ddp_optional";
395
422
  destination?: ({
396
423
  access_restrictions?: (("elevator_only" | "freight_elevator" | "loading_dock" | "loading_dock_low" | "low_clearance" | "non_paved" | "stairs_only" | "steep_gradient")[] | null) | undefined;
397
424
  address_line_1?: (string | null) | undefined;
@@ -414,8 +441,15 @@ export type HostedSession = {
414
441
  insurance?: (("arta_transit_insurance" | "no_arta_insurance") | null) | undefined;
415
442
  internal_reference?: (string | null) | undefined;
416
443
  objects: {
444
+ id?: (number | null) | undefined;
417
445
  internal_reference?: (string | null) | undefined;
418
- current_packing?: (("alcohol_case" | "lay_flat_wine_box" | "blanket" | "wardrobe_box" | "cardboard_box" | "chandelier_box" | "chair_box" | "cbin_closed" | "cbin_open" | "ply_box" | "fine_art_econo_crate" | "fine_art_international_crate" | "econo_crate" | "international_econo_crate" | "furniture_crate" | "international_furniture_crate" | "parcel_crate" | "museum_crate" | "international_museum_crate" | "foam_lined_box" | "cavity_box" | "strongbox" | "double_box" | "travel_frame" | "travel_frame_art" | "travel_frame_other" | "a_frame" | "slat_crate" | "tri_wall_crate" | "lockbox" | "no_packing" | "pallet" | "international_pallet" | "portfolio" | "rug_rolled" | "shadow_box" | "slipcase" | "slipcase_glass_tape" | "poly_cardboard" | "bubble_cardboard" | "garment_bag" | "poly_only" | "dartek_only" | "bubble_only" | "cling_wrap" | "cbin_communal" | "sonotube" | "stabilizing_box" | "shipping_tube_small" | "shipping_tube_large")[] | null) | undefined;
446
+ current_packing?: (("alcohol_case" | "lay_flat_wine_box" | "blanket" | "wardrobe_box" | "cardboard_box" | "chandelier_box" | "chair_box" | "dinnerware_box" | "fedex_small_box" | "fedex_medium_box" | "fedex_large_box" | "cbin_closed" | "cbin_open" | "ply_box" | "fine_art_econo_crate" | "fine_art_international_crate" | "econo_crate" | "international_econo_crate" | "furniture_crate" | "international_furniture_crate" | "parcel_crate" | "museum_crate" | "international_museum_crate" | "foam_lined_box" | "cavity_box" | "strongbox" | "strongbox_airseapacking" | "double_box" | "double_box_airseapacking" | "travel_frame" | "travel_frame_art" | "travel_frame_other" | "a_frame" | "slat_crate" | "tri_wall_crate" | "lockbox" | "no_packing" | "pallet" | "international_pallet" | "portfolio" | "flat_mailer" | "rug_rolled" | "shadow_box" | "slipcase" | "slipcase_glass_tape" | "poly_cardboard" | "bubble_cardboard" | "garment_bag" | "poly_only" | "dartek_only" | "bubble_only" | "cling_wrap" | "cbin_communal" | "sonotube" | "stabilizing_box" | "shipping_tube_small" | "shipping_tube_large")[] | null) | undefined;
447
+ customs?: ({
448
+ country_of_origin?: (string | null) | undefined;
449
+ hs_code?: (string | null) | undefined;
450
+ medium?: (string | null) | undefined;
451
+ temporary_admission?: (boolean | null) | undefined;
452
+ } | null) | undefined;
419
453
  details?: ({
420
454
  materials?: (("stone_marble" | "precious_stones" | "fiber_synthetic" | "fabric_natural" | "taxidermy" | "carbon_fiber" | "live_animal" | "paper" | "glass" | "presious_metals" | "particleboard" | "styrofoam" | "wood" | "photo_film" | "sand" | "metal" | "plexiglass" | "aquatic_life" | "canvas" | "drywall" | "hard_plastic" | "vinyl" | "soft_plastic" | "leather" | "rubber" | "concreate" | "paint" | "electronics" | "fiber_natural" | "gas" | "fabric_synthetic" | "CITES" | "liquids" | "salts")[] | null) | undefined;
421
455
  creation_date?: (string | null) | undefined;
@@ -433,6 +467,7 @@ export type HostedSession = {
433
467
  images?: (string[] | null) | undefined;
434
468
  public_reference?: (string | null) | undefined;
435
469
  subtype: "accessories" | "armoire_dresser" | "bedframe" | "beer_barrel" | "beer_bottle" | "beer_case" | "book" | "bookcase_storage" | "bowl" | "bracelet" | "brooch" | "bus" | "camera_electrical" | "candelabra_candlestick" | "car" | "carpet_rug" | "carriage" | "ceramic" | "chair" | "chandelier" | "clock" | "clothing" | "coin" | "collectible_apparel" | "cufflinks" | "decoy" | "desk_vanity" | "dinnerware" | "document_manuscript" | "earrings" | "eyeglasses" | "figurine_doll" | "firearm_weapon" | "flatware" | "floor_lamp" | "floor_lamp_shade" | "folding_screen" | "footwear" | "fossil" | "glass_sculpture" | "glassware" | "handbag" | "headboard" | "hunting_fishing" | "lighting_fixture" | "limousine" | "media_console" | "medical_equipment" | "memorabilia" | "mineral" | "miniature_model" | "mirror" | "mixed_media_framed" | "mixed_media_framed_glass" | "mixed_media_framed_plexi" | "mixed_media_unframed" | "motorcycle" | "musical_instrument" | "necklace" | "neon" | "neon_sign" | "new_media" | "nightstand" | "object_of_vertu" | "other" | "other_alcohols" | "other_art" | "other_automotive" | "other_collectibles" | "other_decorative_arts" | "other_fashion" | "other_furniture" | "other_jewelry" | "ottoman" | "painting_framed" | "painting_framed_glass" | "painting_framed_plexi" | "painting_unframed" | "pedestal" | "pedestal_case_glass" | "pedestal_case_plexi" | "photograph_framed" | "photograph_framed_glass" | "photograph_framed_plexi" | "photograph_unframed" | "plaque" | "porcelain_bowl" | "porcelain_plate" | "precious_stones" | "prepacked_box" | "ring" | "sconce" | "sculpture" | "serveware" | "set" | "sidecar" | "snuff_box_cigarette_case" | "sofa_loveseat_chaise" | "spirits_barrel" | "spirits_bottle" | "spirits_case" | "stamp" | "table" | "table_lamp" | "table_lamp_shade" | "tabletop_accessory" | "tapestry" | "toy" | "trading_card" | "trailer" | "van" | "vase_vessel" | "watch" | "wine_barrel" | "wine_bottle" | "wine_case" | "work_on_paper_framed" | "work_on_paper_framed_glass" | "work_on_paper_framed_plexi" | "work_on_paper_unframed";
470
+ type?: (string | null) | undefined;
436
471
  unit_of_measurement?: (string | null) | undefined;
437
472
  weight_unit?: (string | null) | undefined;
438
473
  value_currency: "CAD" | "CHF" | "EUR" | "GBP" | "HKD" | "USD";
@@ -713,8 +748,15 @@ export type ArtaLocation = {
713
748
  };
714
749
  export type Insurance = "arta_transit_insurance" | "no_arta_insurance";
715
750
  export type ArtaObject = {
751
+ id?: (number | null) | undefined;
716
752
  internal_reference?: (string | null) | undefined;
717
- current_packing?: (("alcohol_case" | "lay_flat_wine_box" | "blanket" | "wardrobe_box" | "cardboard_box" | "chandelier_box" | "chair_box" | "cbin_closed" | "cbin_open" | "ply_box" | "fine_art_econo_crate" | "fine_art_international_crate" | "econo_crate" | "international_econo_crate" | "furniture_crate" | "international_furniture_crate" | "parcel_crate" | "museum_crate" | "international_museum_crate" | "foam_lined_box" | "cavity_box" | "strongbox" | "double_box" | "travel_frame" | "travel_frame_art" | "travel_frame_other" | "a_frame" | "slat_crate" | "tri_wall_crate" | "lockbox" | "no_packing" | "pallet" | "international_pallet" | "portfolio" | "rug_rolled" | "shadow_box" | "slipcase" | "slipcase_glass_tape" | "poly_cardboard" | "bubble_cardboard" | "garment_bag" | "poly_only" | "dartek_only" | "bubble_only" | "cling_wrap" | "cbin_communal" | "sonotube" | "stabilizing_box" | "shipping_tube_small" | "shipping_tube_large")[] | null) | undefined;
753
+ current_packing?: (("alcohol_case" | "lay_flat_wine_box" | "blanket" | "wardrobe_box" | "cardboard_box" | "chandelier_box" | "chair_box" | "dinnerware_box" | "fedex_small_box" | "fedex_medium_box" | "fedex_large_box" | "cbin_closed" | "cbin_open" | "ply_box" | "fine_art_econo_crate" | "fine_art_international_crate" | "econo_crate" | "international_econo_crate" | "furniture_crate" | "international_furniture_crate" | "parcel_crate" | "museum_crate" | "international_museum_crate" | "foam_lined_box" | "cavity_box" | "strongbox" | "strongbox_airseapacking" | "double_box" | "double_box_airseapacking" | "travel_frame" | "travel_frame_art" | "travel_frame_other" | "a_frame" | "slat_crate" | "tri_wall_crate" | "lockbox" | "no_packing" | "pallet" | "international_pallet" | "portfolio" | "flat_mailer" | "rug_rolled" | "shadow_box" | "slipcase" | "slipcase_glass_tape" | "poly_cardboard" | "bubble_cardboard" | "garment_bag" | "poly_only" | "dartek_only" | "bubble_only" | "cling_wrap" | "cbin_communal" | "sonotube" | "stabilizing_box" | "shipping_tube_small" | "shipping_tube_large")[] | null) | undefined;
754
+ customs?: ({
755
+ country_of_origin?: (string | null) | undefined;
756
+ hs_code?: (string | null) | undefined;
757
+ medium?: (string | null) | undefined;
758
+ temporary_admission?: (boolean | null) | undefined;
759
+ } | null) | undefined;
718
760
  details?: ({
719
761
  materials?: (("stone_marble" | "precious_stones" | "fiber_synthetic" | "fabric_natural" | "taxidermy" | "carbon_fiber" | "live_animal" | "paper" | "glass" | "presious_metals" | "particleboard" | "styrofoam" | "wood" | "photo_film" | "sand" | "metal" | "plexiglass" | "aquatic_life" | "canvas" | "drywall" | "hard_plastic" | "vinyl" | "soft_plastic" | "leather" | "rubber" | "concreate" | "paint" | "electronics" | "fiber_natural" | "gas" | "fabric_synthetic" | "CITES" | "liquids" | "salts")[] | null) | undefined;
720
762
  creation_date?: (string | null) | undefined;
@@ -732,6 +774,7 @@ export type ArtaObject = {
732
774
  images?: (string[] | null) | undefined;
733
775
  public_reference?: (string | null) | undefined;
734
776
  subtype: "accessories" | "armoire_dresser" | "bedframe" | "beer_barrel" | "beer_bottle" | "beer_case" | "book" | "bookcase_storage" | "bowl" | "bracelet" | "brooch" | "bus" | "camera_electrical" | "candelabra_candlestick" | "car" | "carpet_rug" | "carriage" | "ceramic" | "chair" | "chandelier" | "clock" | "clothing" | "coin" | "collectible_apparel" | "cufflinks" | "decoy" | "desk_vanity" | "dinnerware" | "document_manuscript" | "earrings" | "eyeglasses" | "figurine_doll" | "firearm_weapon" | "flatware" | "floor_lamp" | "floor_lamp_shade" | "folding_screen" | "footwear" | "fossil" | "glass_sculpture" | "glassware" | "handbag" | "headboard" | "hunting_fishing" | "lighting_fixture" | "limousine" | "media_console" | "medical_equipment" | "memorabilia" | "mineral" | "miniature_model" | "mirror" | "mixed_media_framed" | "mixed_media_framed_glass" | "mixed_media_framed_plexi" | "mixed_media_unframed" | "motorcycle" | "musical_instrument" | "necklace" | "neon" | "neon_sign" | "new_media" | "nightstand" | "object_of_vertu" | "other" | "other_alcohols" | "other_art" | "other_automotive" | "other_collectibles" | "other_decorative_arts" | "other_fashion" | "other_furniture" | "other_jewelry" | "ottoman" | "painting_framed" | "painting_framed_glass" | "painting_framed_plexi" | "painting_unframed" | "pedestal" | "pedestal_case_glass" | "pedestal_case_plexi" | "photograph_framed" | "photograph_framed_glass" | "photograph_framed_plexi" | "photograph_unframed" | "plaque" | "porcelain_bowl" | "porcelain_plate" | "precious_stones" | "prepacked_box" | "ring" | "sconce" | "sculpture" | "serveware" | "set" | "sidecar" | "snuff_box_cigarette_case" | "sofa_loveseat_chaise" | "spirits_barrel" | "spirits_bottle" | "spirits_case" | "stamp" | "table" | "table_lamp" | "table_lamp_shade" | "tabletop_accessory" | "tapestry" | "toy" | "trading_card" | "trailer" | "van" | "vase_vessel" | "watch" | "wine_barrel" | "wine_bottle" | "wine_case" | "work_on_paper_framed" | "work_on_paper_framed_glass" | "work_on_paper_framed_plexi" | "work_on_paper_unframed";
777
+ type?: (string | null) | undefined;
735
778
  unit_of_measurement?: (string | null) | undefined;
736
779
  weight_unit?: (string | null) | undefined;
737
780
  value_currency: "CAD" | "CHF" | "EUR" | "GBP" | "HKD" | "USD";
@@ -771,8 +814,15 @@ export type Package = {
771
814
  id: number;
772
815
  is_sufficiently_packed: boolean;
773
816
  objects: {
817
+ id?: (number | null) | undefined;
774
818
  internal_reference?: (string | null) | undefined;
775
- current_packing?: (("alcohol_case" | "lay_flat_wine_box" | "blanket" | "wardrobe_box" | "cardboard_box" | "chandelier_box" | "chair_box" | "cbin_closed" | "cbin_open" | "ply_box" | "fine_art_econo_crate" | "fine_art_international_crate" | "econo_crate" | "international_econo_crate" | "furniture_crate" | "international_furniture_crate" | "parcel_crate" | "museum_crate" | "international_museum_crate" | "foam_lined_box" | "cavity_box" | "strongbox" | "double_box" | "travel_frame" | "travel_frame_art" | "travel_frame_other" | "a_frame" | "slat_crate" | "tri_wall_crate" | "lockbox" | "no_packing" | "pallet" | "international_pallet" | "portfolio" | "rug_rolled" | "shadow_box" | "slipcase" | "slipcase_glass_tape" | "poly_cardboard" | "bubble_cardboard" | "garment_bag" | "poly_only" | "dartek_only" | "bubble_only" | "cling_wrap" | "cbin_communal" | "sonotube" | "stabilizing_box" | "shipping_tube_small" | "shipping_tube_large")[] | null) | undefined;
819
+ current_packing?: (("alcohol_case" | "lay_flat_wine_box" | "blanket" | "wardrobe_box" | "cardboard_box" | "chandelier_box" | "chair_box" | "dinnerware_box" | "fedex_small_box" | "fedex_medium_box" | "fedex_large_box" | "cbin_closed" | "cbin_open" | "ply_box" | "fine_art_econo_crate" | "fine_art_international_crate" | "econo_crate" | "international_econo_crate" | "furniture_crate" | "international_furniture_crate" | "parcel_crate" | "museum_crate" | "international_museum_crate" | "foam_lined_box" | "cavity_box" | "strongbox" | "strongbox_airseapacking" | "double_box" | "double_box_airseapacking" | "travel_frame" | "travel_frame_art" | "travel_frame_other" | "a_frame" | "slat_crate" | "tri_wall_crate" | "lockbox" | "no_packing" | "pallet" | "international_pallet" | "portfolio" | "flat_mailer" | "rug_rolled" | "shadow_box" | "slipcase" | "slipcase_glass_tape" | "poly_cardboard" | "bubble_cardboard" | "garment_bag" | "poly_only" | "dartek_only" | "bubble_only" | "cling_wrap" | "cbin_communal" | "sonotube" | "stabilizing_box" | "shipping_tube_small" | "shipping_tube_large")[] | null) | undefined;
820
+ customs?: ({
821
+ country_of_origin?: (string | null) | undefined;
822
+ hs_code?: (string | null) | undefined;
823
+ medium?: (string | null) | undefined;
824
+ temporary_admission?: (boolean | null) | undefined;
825
+ } | null) | undefined;
776
826
  details?: ({
777
827
  materials?: (("stone_marble" | "precious_stones" | "fiber_synthetic" | "fabric_natural" | "taxidermy" | "carbon_fiber" | "live_animal" | "paper" | "glass" | "presious_metals" | "particleboard" | "styrofoam" | "wood" | "photo_film" | "sand" | "metal" | "plexiglass" | "aquatic_life" | "canvas" | "drywall" | "hard_plastic" | "vinyl" | "soft_plastic" | "leather" | "rubber" | "concreate" | "paint" | "electronics" | "fiber_natural" | "gas" | "fabric_synthetic" | "CITES" | "liquids" | "salts")[] | null) | undefined;
778
828
  creation_date?: (string | null) | undefined;
@@ -790,6 +840,7 @@ export type Package = {
790
840
  images?: (string[] | null) | undefined;
791
841
  public_reference?: (string | null) | undefined;
792
842
  subtype: "accessories" | "armoire_dresser" | "bedframe" | "beer_barrel" | "beer_bottle" | "beer_case" | "book" | "bookcase_storage" | "bowl" | "bracelet" | "brooch" | "bus" | "camera_electrical" | "candelabra_candlestick" | "car" | "carpet_rug" | "carriage" | "ceramic" | "chair" | "chandelier" | "clock" | "clothing" | "coin" | "collectible_apparel" | "cufflinks" | "decoy" | "desk_vanity" | "dinnerware" | "document_manuscript" | "earrings" | "eyeglasses" | "figurine_doll" | "firearm_weapon" | "flatware" | "floor_lamp" | "floor_lamp_shade" | "folding_screen" | "footwear" | "fossil" | "glass_sculpture" | "glassware" | "handbag" | "headboard" | "hunting_fishing" | "lighting_fixture" | "limousine" | "media_console" | "medical_equipment" | "memorabilia" | "mineral" | "miniature_model" | "mirror" | "mixed_media_framed" | "mixed_media_framed_glass" | "mixed_media_framed_plexi" | "mixed_media_unframed" | "motorcycle" | "musical_instrument" | "necklace" | "neon" | "neon_sign" | "new_media" | "nightstand" | "object_of_vertu" | "other" | "other_alcohols" | "other_art" | "other_automotive" | "other_collectibles" | "other_decorative_arts" | "other_fashion" | "other_furniture" | "other_jewelry" | "ottoman" | "painting_framed" | "painting_framed_glass" | "painting_framed_plexi" | "painting_unframed" | "pedestal" | "pedestal_case_glass" | "pedestal_case_plexi" | "photograph_framed" | "photograph_framed_glass" | "photograph_framed_plexi" | "photograph_unframed" | "plaque" | "porcelain_bowl" | "porcelain_plate" | "precious_stones" | "prepacked_box" | "ring" | "sconce" | "sculpture" | "serveware" | "set" | "sidecar" | "snuff_box_cigarette_case" | "sofa_loveseat_chaise" | "spirits_barrel" | "spirits_bottle" | "spirits_case" | "stamp" | "table" | "table_lamp" | "table_lamp_shade" | "tabletop_accessory" | "tapestry" | "toy" | "trading_card" | "trailer" | "van" | "vase_vessel" | "watch" | "wine_barrel" | "wine_bottle" | "wine_case" | "work_on_paper_framed" | "work_on_paper_framed_glass" | "work_on_paper_framed_plexi" | "work_on_paper_unframed";
843
+ type?: (string | null) | undefined;
793
844
  unit_of_measurement?: (string | null) | undefined;
794
845
  weight_unit?: (string | null) | undefined;
795
846
  value_currency: "CAD" | "CHF" | "EUR" | "GBP" | "HKD" | "USD";
@@ -813,7 +864,7 @@ export type Package = {
813
864
  value_currency?: (("CAD" | "CHF" | "EUR" | "GBP" | "HKD" | "USD") | null) | undefined;
814
865
  }[] | null) | undefined;
815
866
  }[];
816
- packing_materials: ("alcohol_case" | "lay_flat_wine_box" | "blanket" | "wardrobe_box" | "cardboard_box" | "chandelier_box" | "chair_box" | "cbin_closed" | "cbin_open" | "ply_box" | "fine_art_econo_crate" | "fine_art_international_crate" | "econo_crate" | "international_econo_crate" | "furniture_crate" | "international_furniture_crate" | "parcel_crate" | "museum_crate" | "international_museum_crate" | "foam_lined_box" | "cavity_box" | "strongbox" | "double_box" | "travel_frame" | "travel_frame_art" | "travel_frame_other" | "a_frame" | "slat_crate" | "tri_wall_crate" | "lockbox" | "no_packing" | "pallet" | "international_pallet" | "portfolio" | "rug_rolled" | "shadow_box" | "slipcase" | "slipcase_glass_tape" | "poly_cardboard" | "bubble_cardboard" | "garment_bag" | "poly_only" | "dartek_only" | "bubble_only" | "cling_wrap" | "cbin_communal" | "sonotube" | "stabilizing_box" | "shipping_tube_small" | "shipping_tube_large")[];
867
+ packing_materials: ("alcohol_case" | "lay_flat_wine_box" | "blanket" | "wardrobe_box" | "cardboard_box" | "chandelier_box" | "chair_box" | "dinnerware_box" | "fedex_small_box" | "fedex_medium_box" | "fedex_large_box" | "cbin_closed" | "cbin_open" | "ply_box" | "fine_art_econo_crate" | "fine_art_international_crate" | "econo_crate" | "international_econo_crate" | "furniture_crate" | "international_furniture_crate" | "parcel_crate" | "museum_crate" | "international_museum_crate" | "foam_lined_box" | "cavity_box" | "strongbox" | "strongbox_airseapacking" | "double_box" | "double_box_airseapacking" | "travel_frame" | "travel_frame_art" | "travel_frame_other" | "a_frame" | "slat_crate" | "tri_wall_crate" | "lockbox" | "no_packing" | "pallet" | "international_pallet" | "portfolio" | "flat_mailer" | "rug_rolled" | "shadow_box" | "slipcase" | "slipcase_glass_tape" | "poly_cardboard" | "bubble_cardboard" | "garment_bag" | "poly_only" | "dartek_only" | "bubble_only" | "cling_wrap" | "cbin_communal" | "sonotube" | "stabilizing_box" | "shipping_tube_small" | "shipping_tube_large")[];
817
868
  status?: (("pending" | "transit" | "out_for_delivery" | "delivered" | "unknown" | "notfound" | "undelivered" | "exception" | "expired") | null) | undefined;
818
869
  unit_of_measurement?: (string | null) | undefined;
819
870
  weight: number;
@@ -825,11 +876,16 @@ export type ShipmentException = {
825
876
  updated_at: Date;
826
877
  created_at: Date;
827
878
  exception_type_label?: (string | null) | undefined;
879
+ hold_until?: (string | null) | undefined;
828
880
  id: string;
881
+ object_id?: (number | null) | undefined;
829
882
  package_id?: (number | null) | undefined;
830
883
  resolution?: (string | null) | undefined;
884
+ shipment_id?: (string | null) | undefined;
885
+ source: string;
831
886
  status: "in_progress" | "new" | "resolved";
832
887
  type: "change_of_address_request" | "customs_information_required" | "damaged_items" | "direct_payment_required" | "held_at_customs" | "inaccurate_object_details" | "incorrect_address" | "label_hold" | "lost_in_transit" | "not_ready_for_delivery" | "not_ready_for_release" | "other" | "prepayment_required" | "requested_hold_to_collect" | "requested_hold_to_deliver" | "wrong_item";
888
+ user_notes?: (string[] | null) | undefined;
833
889
  };
834
890
  export type ShipmentSchedule = {
835
891
  delivery_end?: (Date | null) | undefined;
@@ -911,6 +967,8 @@ export type QuoteRequestListItem = {
911
967
  missing: string[];
912
968
  ready: boolean;
913
969
  };
970
+ customs_end_use: "for_resale" | "not_for_resale";
971
+ customs_process: "ddu" | "ddp" | "ddp_optional";
914
972
  destination: {
915
973
  access_restrictions?: (("elevator_only" | "freight_elevator" | "loading_dock" | "loading_dock_low" | "low_clearance" | "non_paved" | "stairs_only" | "steep_gradient")[] | null) | undefined;
916
974
  address_line_1?: (string | null) | undefined;
@@ -1002,6 +1060,8 @@ export type InboundHostedSession = {
1002
1060
  id: number;
1003
1061
  additional_services?: (("assembly" | "debris_disposal" | "deinstallation" | "destination_additional_labor" | "destination_building_coi" | "destination_condition_check" | "destination_full_condition_report" | "destination_unpacking" | "double_blind_bols" | "installation" | "origin_building_coi" | "origin_condition_check" | "origin_full_condition_report" | "placement" | "signature_delivery" | "tarmac_supervision")[] | null) | undefined;
1004
1062
  cancel_url?: (string | null) | undefined;
1063
+ customs_end_use: "for_resale" | "not_for_resale";
1064
+ customs_process: "ddu" | "ddp" | "ddp_optional";
1005
1065
  destination: {
1006
1066
  access_restrictions?: (("elevator_only" | "freight_elevator" | "loading_dock" | "loading_dock_low" | "low_clearance" | "non_paved" | "stairs_only" | "steep_gradient")[] | null) | undefined;
1007
1067
  address_line_1?: (string | null) | undefined;
@@ -1024,8 +1084,15 @@ export type InboundHostedSession = {
1024
1084
  insurance?: (("arta_transit_insurance" | "no_arta_insurance") | null) | undefined;
1025
1085
  internal_reference?: (string | null) | undefined;
1026
1086
  objects: {
1087
+ id?: (number | null) | undefined;
1027
1088
  internal_reference?: (string | null) | undefined;
1028
- current_packing?: (("alcohol_case" | "lay_flat_wine_box" | "blanket" | "wardrobe_box" | "cardboard_box" | "chandelier_box" | "chair_box" | "cbin_closed" | "cbin_open" | "ply_box" | "fine_art_econo_crate" | "fine_art_international_crate" | "econo_crate" | "international_econo_crate" | "furniture_crate" | "international_furniture_crate" | "parcel_crate" | "museum_crate" | "international_museum_crate" | "foam_lined_box" | "cavity_box" | "strongbox" | "double_box" | "travel_frame" | "travel_frame_art" | "travel_frame_other" | "a_frame" | "slat_crate" | "tri_wall_crate" | "lockbox" | "no_packing" | "pallet" | "international_pallet" | "portfolio" | "rug_rolled" | "shadow_box" | "slipcase" | "slipcase_glass_tape" | "poly_cardboard" | "bubble_cardboard" | "garment_bag" | "poly_only" | "dartek_only" | "bubble_only" | "cling_wrap" | "cbin_communal" | "sonotube" | "stabilizing_box" | "shipping_tube_small" | "shipping_tube_large")[] | null) | undefined;
1089
+ current_packing?: (("alcohol_case" | "lay_flat_wine_box" | "blanket" | "wardrobe_box" | "cardboard_box" | "chandelier_box" | "chair_box" | "dinnerware_box" | "fedex_small_box" | "fedex_medium_box" | "fedex_large_box" | "cbin_closed" | "cbin_open" | "ply_box" | "fine_art_econo_crate" | "fine_art_international_crate" | "econo_crate" | "international_econo_crate" | "furniture_crate" | "international_furniture_crate" | "parcel_crate" | "museum_crate" | "international_museum_crate" | "foam_lined_box" | "cavity_box" | "strongbox" | "strongbox_airseapacking" | "double_box" | "double_box_airseapacking" | "travel_frame" | "travel_frame_art" | "travel_frame_other" | "a_frame" | "slat_crate" | "tri_wall_crate" | "lockbox" | "no_packing" | "pallet" | "international_pallet" | "portfolio" | "flat_mailer" | "rug_rolled" | "shadow_box" | "slipcase" | "slipcase_glass_tape" | "poly_cardboard" | "bubble_cardboard" | "garment_bag" | "poly_only" | "dartek_only" | "bubble_only" | "cling_wrap" | "cbin_communal" | "sonotube" | "stabilizing_box" | "shipping_tube_small" | "shipping_tube_large")[] | null) | undefined;
1090
+ customs?: ({
1091
+ country_of_origin?: (string | null) | undefined;
1092
+ hs_code?: (string | null) | undefined;
1093
+ medium?: (string | null) | undefined;
1094
+ temporary_admission?: (boolean | null) | undefined;
1095
+ } | null) | undefined;
1029
1096
  details?: ({
1030
1097
  materials?: (("stone_marble" | "precious_stones" | "fiber_synthetic" | "fabric_natural" | "taxidermy" | "carbon_fiber" | "live_animal" | "paper" | "glass" | "presious_metals" | "particleboard" | "styrofoam" | "wood" | "photo_film" | "sand" | "metal" | "plexiglass" | "aquatic_life" | "canvas" | "drywall" | "hard_plastic" | "vinyl" | "soft_plastic" | "leather" | "rubber" | "concreate" | "paint" | "electronics" | "fiber_natural" | "gas" | "fabric_synthetic" | "CITES" | "liquids" | "salts")[] | null) | undefined;
1031
1098
  creation_date?: (string | null) | undefined;
@@ -1043,6 +1110,7 @@ export type InboundHostedSession = {
1043
1110
  images?: (string[] | null) | undefined;
1044
1111
  public_reference?: (string | null) | undefined;
1045
1112
  subtype: "accessories" | "armoire_dresser" | "bedframe" | "beer_barrel" | "beer_bottle" | "beer_case" | "book" | "bookcase_storage" | "bowl" | "bracelet" | "brooch" | "bus" | "camera_electrical" | "candelabra_candlestick" | "car" | "carpet_rug" | "carriage" | "ceramic" | "chair" | "chandelier" | "clock" | "clothing" | "coin" | "collectible_apparel" | "cufflinks" | "decoy" | "desk_vanity" | "dinnerware" | "document_manuscript" | "earrings" | "eyeglasses" | "figurine_doll" | "firearm_weapon" | "flatware" | "floor_lamp" | "floor_lamp_shade" | "folding_screen" | "footwear" | "fossil" | "glass_sculpture" | "glassware" | "handbag" | "headboard" | "hunting_fishing" | "lighting_fixture" | "limousine" | "media_console" | "medical_equipment" | "memorabilia" | "mineral" | "miniature_model" | "mirror" | "mixed_media_framed" | "mixed_media_framed_glass" | "mixed_media_framed_plexi" | "mixed_media_unframed" | "motorcycle" | "musical_instrument" | "necklace" | "neon" | "neon_sign" | "new_media" | "nightstand" | "object_of_vertu" | "other" | "other_alcohols" | "other_art" | "other_automotive" | "other_collectibles" | "other_decorative_arts" | "other_fashion" | "other_furniture" | "other_jewelry" | "ottoman" | "painting_framed" | "painting_framed_glass" | "painting_framed_plexi" | "painting_unframed" | "pedestal" | "pedestal_case_glass" | "pedestal_case_plexi" | "photograph_framed" | "photograph_framed_glass" | "photograph_framed_plexi" | "photograph_unframed" | "plaque" | "porcelain_bowl" | "porcelain_plate" | "precious_stones" | "prepacked_box" | "ring" | "sconce" | "sculpture" | "serveware" | "set" | "sidecar" | "snuff_box_cigarette_case" | "sofa_loveseat_chaise" | "spirits_barrel" | "spirits_bottle" | "spirits_case" | "stamp" | "table" | "table_lamp" | "table_lamp_shade" | "tabletop_accessory" | "tapestry" | "toy" | "trading_card" | "trailer" | "van" | "vase_vessel" | "watch" | "wine_barrel" | "wine_bottle" | "wine_case" | "work_on_paper_framed" | "work_on_paper_framed_glass" | "work_on_paper_framed_plexi" | "work_on_paper_unframed";
1113
+ type?: (string | null) | undefined;
1046
1114
  unit_of_measurement?: (string | null) | undefined;
1047
1115
  weight_unit?: (string | null) | undefined;
1048
1116
  value_currency: "CAD" | "CHF" | "EUR" | "GBP" | "HKD" | "USD";
@@ -1105,8 +1173,15 @@ export type InboundHostedSession = {
1105
1173
  quoting_strategy: "all_rates" | "best_rate" | "compare_carriers";
1106
1174
  };
1107
1175
  export type ArtaInboundObject = {
1176
+ id?: (number | null) | undefined;
1108
1177
  internal_reference?: (string | null) | undefined;
1109
- current_packing?: (("alcohol_case" | "lay_flat_wine_box" | "blanket" | "wardrobe_box" | "cardboard_box" | "chandelier_box" | "chair_box" | "cbin_closed" | "cbin_open" | "ply_box" | "fine_art_econo_crate" | "fine_art_international_crate" | "econo_crate" | "international_econo_crate" | "furniture_crate" | "international_furniture_crate" | "parcel_crate" | "museum_crate" | "international_museum_crate" | "foam_lined_box" | "cavity_box" | "strongbox" | "double_box" | "travel_frame" | "travel_frame_art" | "travel_frame_other" | "a_frame" | "slat_crate" | "tri_wall_crate" | "lockbox" | "no_packing" | "pallet" | "international_pallet" | "portfolio" | "rug_rolled" | "shadow_box" | "slipcase" | "slipcase_glass_tape" | "poly_cardboard" | "bubble_cardboard" | "garment_bag" | "poly_only" | "dartek_only" | "bubble_only" | "cling_wrap" | "cbin_communal" | "sonotube" | "stabilizing_box" | "shipping_tube_small" | "shipping_tube_large")[] | null) | undefined;
1178
+ current_packing?: (("alcohol_case" | "lay_flat_wine_box" | "blanket" | "wardrobe_box" | "cardboard_box" | "chandelier_box" | "chair_box" | "dinnerware_box" | "fedex_small_box" | "fedex_medium_box" | "fedex_large_box" | "cbin_closed" | "cbin_open" | "ply_box" | "fine_art_econo_crate" | "fine_art_international_crate" | "econo_crate" | "international_econo_crate" | "furniture_crate" | "international_furniture_crate" | "parcel_crate" | "museum_crate" | "international_museum_crate" | "foam_lined_box" | "cavity_box" | "strongbox" | "strongbox_airseapacking" | "double_box" | "double_box_airseapacking" | "travel_frame" | "travel_frame_art" | "travel_frame_other" | "a_frame" | "slat_crate" | "tri_wall_crate" | "lockbox" | "no_packing" | "pallet" | "international_pallet" | "portfolio" | "flat_mailer" | "rug_rolled" | "shadow_box" | "slipcase" | "slipcase_glass_tape" | "poly_cardboard" | "bubble_cardboard" | "garment_bag" | "poly_only" | "dartek_only" | "bubble_only" | "cling_wrap" | "cbin_communal" | "sonotube" | "stabilizing_box" | "shipping_tube_small" | "shipping_tube_large")[] | null) | undefined;
1179
+ customs?: ({
1180
+ country_of_origin?: (string | null) | undefined;
1181
+ hs_code?: (string | null) | undefined;
1182
+ medium?: (string | null) | undefined;
1183
+ temporary_admission?: (boolean | null) | undefined;
1184
+ } | null) | undefined;
1110
1185
  details?: ({
1111
1186
  materials?: (("stone_marble" | "precious_stones" | "fiber_synthetic" | "fabric_natural" | "taxidermy" | "carbon_fiber" | "live_animal" | "paper" | "glass" | "presious_metals" | "particleboard" | "styrofoam" | "wood" | "photo_film" | "sand" | "metal" | "plexiglass" | "aquatic_life" | "canvas" | "drywall" | "hard_plastic" | "vinyl" | "soft_plastic" | "leather" | "rubber" | "concreate" | "paint" | "electronics" | "fiber_natural" | "gas" | "fabric_synthetic" | "CITES" | "liquids" | "salts")[] | null) | undefined;
1112
1187
  creation_date?: (string | null) | undefined;
@@ -1124,6 +1199,7 @@ export type ArtaInboundObject = {
1124
1199
  images?: (string[] | null) | undefined;
1125
1200
  public_reference?: (string | null) | undefined;
1126
1201
  subtype: "accessories" | "armoire_dresser" | "bedframe" | "beer_barrel" | "beer_bottle" | "beer_case" | "book" | "bookcase_storage" | "bowl" | "bracelet" | "brooch" | "bus" | "camera_electrical" | "candelabra_candlestick" | "car" | "carpet_rug" | "carriage" | "ceramic" | "chair" | "chandelier" | "clock" | "clothing" | "coin" | "collectible_apparel" | "cufflinks" | "decoy" | "desk_vanity" | "dinnerware" | "document_manuscript" | "earrings" | "eyeglasses" | "figurine_doll" | "firearm_weapon" | "flatware" | "floor_lamp" | "floor_lamp_shade" | "folding_screen" | "footwear" | "fossil" | "glass_sculpture" | "glassware" | "handbag" | "headboard" | "hunting_fishing" | "lighting_fixture" | "limousine" | "media_console" | "medical_equipment" | "memorabilia" | "mineral" | "miniature_model" | "mirror" | "mixed_media_framed" | "mixed_media_framed_glass" | "mixed_media_framed_plexi" | "mixed_media_unframed" | "motorcycle" | "musical_instrument" | "necklace" | "neon" | "neon_sign" | "new_media" | "nightstand" | "object_of_vertu" | "other" | "other_alcohols" | "other_art" | "other_automotive" | "other_collectibles" | "other_decorative_arts" | "other_fashion" | "other_furniture" | "other_jewelry" | "ottoman" | "painting_framed" | "painting_framed_glass" | "painting_framed_plexi" | "painting_unframed" | "pedestal" | "pedestal_case_glass" | "pedestal_case_plexi" | "photograph_framed" | "photograph_framed_glass" | "photograph_framed_plexi" | "photograph_unframed" | "plaque" | "porcelain_bowl" | "porcelain_plate" | "precious_stones" | "prepacked_box" | "ring" | "sconce" | "sculpture" | "serveware" | "set" | "sidecar" | "snuff_box_cigarette_case" | "sofa_loveseat_chaise" | "spirits_barrel" | "spirits_bottle" | "spirits_case" | "stamp" | "table" | "table_lamp" | "table_lamp_shade" | "tabletop_accessory" | "tapestry" | "toy" | "trading_card" | "trailer" | "van" | "vase_vessel" | "watch" | "wine_barrel" | "wine_bottle" | "wine_case" | "work_on_paper_framed" | "work_on_paper_framed_glass" | "work_on_paper_framed_plexi" | "work_on_paper_unframed";
1202
+ type?: (string | null) | undefined;
1127
1203
  unit_of_measurement?: (string | null) | undefined;
1128
1204
  weight_unit?: (string | null) | undefined;
1129
1205
  value_currency: "CAD" | "CHF" | "EUR" | "GBP" | "HKD" | "USD";
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@artaio/node-api",
3
- "version": "1.10.0",
3
+ "version": "1.12.0",
4
4
  "description": "The Arta Node library provides a seamless integration to Arta API for backend applications using both Typescript or Javascript.",
5
5
  "scripts": {
6
6
  "build": "npm run build:types && tsc -p tsconfig-build.json",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@artaio/node-api",
3
- "version": "1.10.0",
3
+ "version": "1.12.0",
4
4
  "description": "The Arta Node library provides a seamless integration to Arta API for backend applications using both Typescript or Javascript.",
5
5
  "scripts": {
6
6
  "build": "npm run build:types && tsc -p tsconfig-build.json",