@artaio/node-api 1.11.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.
- package/dist/lib/arta.d.ts +2 -0
- package/dist/lib/arta.js +2 -0
- package/dist/lib/endpoint/shipmentExceptions.d.ts +26 -0
- package/dist/lib/endpoint/shipmentExceptions.js +24 -0
- package/dist/lib/index.d.ts +1 -0
- package/dist/lib/types.d.ts +75 -9
- package/dist/package.json +1 -1
- package/package.json +1 -1
package/dist/lib/arta.d.ts
CHANGED
|
@@ -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);
|
|
@@ -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;
|
package/dist/lib/index.d.ts
CHANGED
|
@@ -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';
|
package/dist/lib/types.d.ts
CHANGED
|
@@ -94,8 +94,15 @@ export type QuoteRequest = {
|
|
|
94
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";
|
|
95
95
|
}[];
|
|
96
96
|
objects: {
|
|
97
|
+
id?: (number | null) | undefined;
|
|
97
98
|
internal_reference?: (string | null) | undefined;
|
|
98
|
-
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;
|
|
99
106
|
details?: ({
|
|
100
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;
|
|
101
108
|
creation_date?: (string | null) | undefined;
|
|
@@ -113,6 +120,7 @@ export type QuoteRequest = {
|
|
|
113
120
|
images?: (string[] | null) | undefined;
|
|
114
121
|
public_reference?: (string | null) | undefined;
|
|
115
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;
|
|
116
124
|
unit_of_measurement?: (string | null) | undefined;
|
|
117
125
|
weight_unit?: (string | null) | undefined;
|
|
118
126
|
value_currency: "CAD" | "CHF" | "EUR" | "GBP" | "HKD" | "USD";
|
|
@@ -221,11 +229,16 @@ export type Shipment = {
|
|
|
221
229
|
updated_at: Date;
|
|
222
230
|
created_at: Date;
|
|
223
231
|
exception_type_label?: (string | null) | undefined;
|
|
232
|
+
hold_until?: (string | null) | undefined;
|
|
224
233
|
id: string;
|
|
234
|
+
object_id?: (number | null) | undefined;
|
|
225
235
|
package_id?: (number | null) | undefined;
|
|
226
236
|
resolution?: (string | null) | undefined;
|
|
237
|
+
shipment_id?: (string | null) | undefined;
|
|
238
|
+
source: string;
|
|
227
239
|
status: "in_progress" | "new" | "resolved";
|
|
228
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;
|
|
229
242
|
}[] | null) | undefined;
|
|
230
243
|
hosted_session_id?: (number | null) | undefined;
|
|
231
244
|
insurance_policy?: ({
|
|
@@ -266,8 +279,15 @@ export type Shipment = {
|
|
|
266
279
|
id: number;
|
|
267
280
|
is_sufficiently_packed: boolean;
|
|
268
281
|
objects: {
|
|
282
|
+
id?: (number | null) | undefined;
|
|
269
283
|
internal_reference?: (string | null) | undefined;
|
|
270
|
-
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;
|
|
271
291
|
details?: ({
|
|
272
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;
|
|
273
293
|
creation_date?: (string | null) | undefined;
|
|
@@ -285,6 +305,7 @@ export type Shipment = {
|
|
|
285
305
|
images?: (string[] | null) | undefined;
|
|
286
306
|
public_reference?: (string | null) | undefined;
|
|
287
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;
|
|
288
309
|
unit_of_measurement?: (string | null) | undefined;
|
|
289
310
|
weight_unit?: (string | null) | undefined;
|
|
290
311
|
value_currency: "CAD" | "CHF" | "EUR" | "GBP" | "HKD" | "USD";
|
|
@@ -308,7 +329,7 @@ export type Shipment = {
|
|
|
308
329
|
value_currency?: (("CAD" | "CHF" | "EUR" | "GBP" | "HKD" | "USD") | null) | undefined;
|
|
309
330
|
}[] | null) | undefined;
|
|
310
331
|
}[];
|
|
311
|
-
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")[];
|
|
312
333
|
status?: (("pending" | "transit" | "out_for_delivery" | "delivered" | "unknown" | "notfound" | "undelivered" | "exception" | "expired") | null) | undefined;
|
|
313
334
|
unit_of_measurement?: (string | null) | undefined;
|
|
314
335
|
weight: number;
|
|
@@ -420,8 +441,15 @@ export type HostedSession = {
|
|
|
420
441
|
insurance?: (("arta_transit_insurance" | "no_arta_insurance") | null) | undefined;
|
|
421
442
|
internal_reference?: (string | null) | undefined;
|
|
422
443
|
objects: {
|
|
444
|
+
id?: (number | null) | undefined;
|
|
423
445
|
internal_reference?: (string | null) | undefined;
|
|
424
|
-
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;
|
|
425
453
|
details?: ({
|
|
426
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;
|
|
427
455
|
creation_date?: (string | null) | undefined;
|
|
@@ -439,6 +467,7 @@ export type HostedSession = {
|
|
|
439
467
|
images?: (string[] | null) | undefined;
|
|
440
468
|
public_reference?: (string | null) | undefined;
|
|
441
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;
|
|
442
471
|
unit_of_measurement?: (string | null) | undefined;
|
|
443
472
|
weight_unit?: (string | null) | undefined;
|
|
444
473
|
value_currency: "CAD" | "CHF" | "EUR" | "GBP" | "HKD" | "USD";
|
|
@@ -719,8 +748,15 @@ export type ArtaLocation = {
|
|
|
719
748
|
};
|
|
720
749
|
export type Insurance = "arta_transit_insurance" | "no_arta_insurance";
|
|
721
750
|
export type ArtaObject = {
|
|
751
|
+
id?: (number | null) | undefined;
|
|
722
752
|
internal_reference?: (string | null) | undefined;
|
|
723
|
-
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;
|
|
724
760
|
details?: ({
|
|
725
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;
|
|
726
762
|
creation_date?: (string | null) | undefined;
|
|
@@ -738,6 +774,7 @@ export type ArtaObject = {
|
|
|
738
774
|
images?: (string[] | null) | undefined;
|
|
739
775
|
public_reference?: (string | null) | undefined;
|
|
740
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;
|
|
741
778
|
unit_of_measurement?: (string | null) | undefined;
|
|
742
779
|
weight_unit?: (string | null) | undefined;
|
|
743
780
|
value_currency: "CAD" | "CHF" | "EUR" | "GBP" | "HKD" | "USD";
|
|
@@ -777,8 +814,15 @@ export type Package = {
|
|
|
777
814
|
id: number;
|
|
778
815
|
is_sufficiently_packed: boolean;
|
|
779
816
|
objects: {
|
|
817
|
+
id?: (number | null) | undefined;
|
|
780
818
|
internal_reference?: (string | null) | undefined;
|
|
781
|
-
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;
|
|
782
826
|
details?: ({
|
|
783
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;
|
|
784
828
|
creation_date?: (string | null) | undefined;
|
|
@@ -796,6 +840,7 @@ export type Package = {
|
|
|
796
840
|
images?: (string[] | null) | undefined;
|
|
797
841
|
public_reference?: (string | null) | undefined;
|
|
798
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;
|
|
799
844
|
unit_of_measurement?: (string | null) | undefined;
|
|
800
845
|
weight_unit?: (string | null) | undefined;
|
|
801
846
|
value_currency: "CAD" | "CHF" | "EUR" | "GBP" | "HKD" | "USD";
|
|
@@ -819,7 +864,7 @@ export type Package = {
|
|
|
819
864
|
value_currency?: (("CAD" | "CHF" | "EUR" | "GBP" | "HKD" | "USD") | null) | undefined;
|
|
820
865
|
}[] | null) | undefined;
|
|
821
866
|
}[];
|
|
822
|
-
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")[];
|
|
823
868
|
status?: (("pending" | "transit" | "out_for_delivery" | "delivered" | "unknown" | "notfound" | "undelivered" | "exception" | "expired") | null) | undefined;
|
|
824
869
|
unit_of_measurement?: (string | null) | undefined;
|
|
825
870
|
weight: number;
|
|
@@ -831,11 +876,16 @@ export type ShipmentException = {
|
|
|
831
876
|
updated_at: Date;
|
|
832
877
|
created_at: Date;
|
|
833
878
|
exception_type_label?: (string | null) | undefined;
|
|
879
|
+
hold_until?: (string | null) | undefined;
|
|
834
880
|
id: string;
|
|
881
|
+
object_id?: (number | null) | undefined;
|
|
835
882
|
package_id?: (number | null) | undefined;
|
|
836
883
|
resolution?: (string | null) | undefined;
|
|
884
|
+
shipment_id?: (string | null) | undefined;
|
|
885
|
+
source: string;
|
|
837
886
|
status: "in_progress" | "new" | "resolved";
|
|
838
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;
|
|
839
889
|
};
|
|
840
890
|
export type ShipmentSchedule = {
|
|
841
891
|
delivery_end?: (Date | null) | undefined;
|
|
@@ -1034,8 +1084,15 @@ export type InboundHostedSession = {
|
|
|
1034
1084
|
insurance?: (("arta_transit_insurance" | "no_arta_insurance") | null) | undefined;
|
|
1035
1085
|
internal_reference?: (string | null) | undefined;
|
|
1036
1086
|
objects: {
|
|
1087
|
+
id?: (number | null) | undefined;
|
|
1037
1088
|
internal_reference?: (string | null) | undefined;
|
|
1038
|
-
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;
|
|
1039
1096
|
details?: ({
|
|
1040
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;
|
|
1041
1098
|
creation_date?: (string | null) | undefined;
|
|
@@ -1053,6 +1110,7 @@ export type InboundHostedSession = {
|
|
|
1053
1110
|
images?: (string[] | null) | undefined;
|
|
1054
1111
|
public_reference?: (string | null) | undefined;
|
|
1055
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;
|
|
1056
1114
|
unit_of_measurement?: (string | null) | undefined;
|
|
1057
1115
|
weight_unit?: (string | null) | undefined;
|
|
1058
1116
|
value_currency: "CAD" | "CHF" | "EUR" | "GBP" | "HKD" | "USD";
|
|
@@ -1115,8 +1173,15 @@ export type InboundHostedSession = {
|
|
|
1115
1173
|
quoting_strategy: "all_rates" | "best_rate" | "compare_carriers";
|
|
1116
1174
|
};
|
|
1117
1175
|
export type ArtaInboundObject = {
|
|
1176
|
+
id?: (number | null) | undefined;
|
|
1118
1177
|
internal_reference?: (string | null) | undefined;
|
|
1119
|
-
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;
|
|
1120
1185
|
details?: ({
|
|
1121
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;
|
|
1122
1187
|
creation_date?: (string | null) | undefined;
|
|
@@ -1134,6 +1199,7 @@ export type ArtaInboundObject = {
|
|
|
1134
1199
|
images?: (string[] | null) | undefined;
|
|
1135
1200
|
public_reference?: (string | null) | undefined;
|
|
1136
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;
|
|
1137
1203
|
unit_of_measurement?: (string | null) | undefined;
|
|
1138
1204
|
weight_unit?: (string | null) | undefined;
|
|
1139
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.
|
|
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.
|
|
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",
|