@artaio/node-api 1.4.1 → 1.5.1
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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AccessRestriction, APIStatus, ArtaTrackingServiceSubSubType, ArtaTrackingServiceSubType, ArtaTrackingServiceType, AuthTypes, EmailNotificationId, Insurance, ObjectMaterial, ObjectSubType, ObjectType, PackageStatus, PackingSubType, PackingType, ParcelTransportServices, PaymentProcessType, QuoteRequestStatus, QuoteType, QuotingStrategy, Recipient, ShipmentExceptionTypeId, ShipmentStatus, SupportedCurrency } from '../MetadataTypes';
|
|
1
|
+
import type { AccessRestriction, APIStatus, ArtaComponentType, ArtaTrackingServiceSubSubType, ArtaTrackingServiceSubType, ArtaTrackingServiceType, AuthTypes, EmailNotificationId, Insurance, ObjectMaterial, ObjectSubType, ObjectType, PackageStatus, PackingSubType, PackingType, ParcelTransportServices, PaymentProcessType, QuoteRequestStatus, QuoteType, QuotingStrategy, Recipient, ShipmentExceptionTypeId, ShipmentStatus, SupportedCurrency } from '../MetadataTypes';
|
|
2
2
|
import type { RestClient } from '../net/RestClient';
|
|
3
3
|
export interface APIVersionMetadata {
|
|
4
4
|
authentication: AuthTypes[];
|
|
@@ -31,6 +31,7 @@ export type InsurancesMetadata = BaseMetadata<Insurance>;
|
|
|
31
31
|
export type LocationAccessRestrictionMetadata = BaseMetadata<AccessRestriction>;
|
|
32
32
|
export type ObjectMaterialsMetadata = BaseMetadata<ObjectMaterial>;
|
|
33
33
|
export type QuotingStrategyMetadata = BaseMetadata<QuotingStrategy>;
|
|
34
|
+
export type ObjectComponentMetadata = BaseMetadata<ArtaComponentType>;
|
|
34
35
|
export interface ObjectMetadata extends BaseMetadata<ObjectType> {
|
|
35
36
|
subtypes: BaseMetadata<ObjectSubType>[];
|
|
36
37
|
}
|
|
@@ -71,6 +72,7 @@ export declare class MetadataEndpoint {
|
|
|
71
72
|
quotingStrategies(auth?: string): Promise<QuotingStrategyMetadata[]>;
|
|
72
73
|
referenceRateProviders(auth?: string): Promise<GenericMetadata[]>;
|
|
73
74
|
referenceRateServiceLevels(auth?: string): Promise<GenericMetadata[]>;
|
|
75
|
+
objectComponents(auth?: string): Promise<ObjectComponentMetadata[]>;
|
|
74
76
|
requestStatuses(auth?: string): Promise<RequestStatusesMetadata[]>;
|
|
75
77
|
services(auth?: string): Promise<ServicesMetadata[]>;
|
|
76
78
|
shipmentExceptionTypes(auth?: string): Promise<ShipmentExceptionTypeMetadata[]>;
|
|
@@ -51,6 +51,9 @@ var MetadataEndpoint = /** @class */ (function () {
|
|
|
51
51
|
MetadataEndpoint.prototype.referenceRateServiceLevels = function (auth) {
|
|
52
52
|
return this.artaClient.get("".concat(this.path, "/reference_rate_service_levels"), auth);
|
|
53
53
|
};
|
|
54
|
+
MetadataEndpoint.prototype.objectComponents = function (auth) {
|
|
55
|
+
return this.artaClient.get("".concat(this.path, "/object_components"), auth);
|
|
56
|
+
};
|
|
54
57
|
MetadataEndpoint.prototype.requestStatuses = function (auth) {
|
|
55
58
|
return this.artaClient.get("".concat(this.path, "/request_statuses"), auth);
|
|
56
59
|
};
|
package/dist/lib/types.d.ts
CHANGED
|
@@ -110,10 +110,29 @@ export type QuoteRequest = {
|
|
|
110
110
|
depth?: ((number | string) | null) | undefined;
|
|
111
111
|
images?: (string[] | null) | undefined;
|
|
112
112
|
public_reference?: (string | null) | undefined;
|
|
113
|
-
subtype: "
|
|
113
|
+
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";
|
|
114
114
|
unit_of_measurement?: (string | null) | undefined;
|
|
115
115
|
weight_unit?: (string | null) | undefined;
|
|
116
116
|
value_currency: "CAD" | "CHF" | "EUR" | "GBP" | "HKD" | "USD";
|
|
117
|
+
components?: ({
|
|
118
|
+
customs?: ({
|
|
119
|
+
country_of_origin?: (string | null) | undefined;
|
|
120
|
+
hs_code?: (string | null) | undefined;
|
|
121
|
+
medium?: (string | null) | undefined;
|
|
122
|
+
temporary_admission?: (boolean | null) | undefined;
|
|
123
|
+
} | null) | undefined;
|
|
124
|
+
details?: ({
|
|
125
|
+
creation_date?: (string | null) | undefined;
|
|
126
|
+
creator?: (string | null) | undefined;
|
|
127
|
+
notes?: (string | null) | undefined;
|
|
128
|
+
title?: (string | null) | undefined;
|
|
129
|
+
} | null) | undefined;
|
|
130
|
+
internal_reference?: (string | null) | undefined;
|
|
131
|
+
public_reference?: (string | null) | undefined;
|
|
132
|
+
type: "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" | "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";
|
|
133
|
+
value: number | string;
|
|
134
|
+
value_currency?: (("CAD" | "CHF" | "EUR" | "GBP" | "HKD" | "USD") | null) | undefined;
|
|
135
|
+
}[] | null) | undefined;
|
|
117
136
|
}[];
|
|
118
137
|
payment_process: "checkout" | "checkout_direct" | "invoicing";
|
|
119
138
|
preferred_quote_types?: (("parcel" | "premium" | "select" | "self_ship")[] | null) | undefined;
|
|
@@ -261,10 +280,29 @@ export type Shipment = {
|
|
|
261
280
|
depth?: ((number | string) | null) | undefined;
|
|
262
281
|
images?: (string[] | null) | undefined;
|
|
263
282
|
public_reference?: (string | null) | undefined;
|
|
264
|
-
subtype: "
|
|
283
|
+
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";
|
|
265
284
|
unit_of_measurement?: (string | null) | undefined;
|
|
266
285
|
weight_unit?: (string | null) | undefined;
|
|
267
286
|
value_currency: "CAD" | "CHF" | "EUR" | "GBP" | "HKD" | "USD";
|
|
287
|
+
components?: ({
|
|
288
|
+
customs?: ({
|
|
289
|
+
country_of_origin?: (string | null) | undefined;
|
|
290
|
+
hs_code?: (string | null) | undefined;
|
|
291
|
+
medium?: (string | null) | undefined;
|
|
292
|
+
temporary_admission?: (boolean | null) | undefined;
|
|
293
|
+
} | null) | undefined;
|
|
294
|
+
details?: ({
|
|
295
|
+
creation_date?: (string | null) | undefined;
|
|
296
|
+
creator?: (string | null) | undefined;
|
|
297
|
+
notes?: (string | null) | undefined;
|
|
298
|
+
title?: (string | null) | undefined;
|
|
299
|
+
} | null) | undefined;
|
|
300
|
+
internal_reference?: (string | null) | undefined;
|
|
301
|
+
public_reference?: (string | null) | undefined;
|
|
302
|
+
type: "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" | "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";
|
|
303
|
+
value: number | string;
|
|
304
|
+
value_currency?: (("CAD" | "CHF" | "EUR" | "GBP" | "HKD" | "USD") | null) | undefined;
|
|
305
|
+
}[] | null) | undefined;
|
|
268
306
|
}[];
|
|
269
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")[];
|
|
270
308
|
status?: (("pending" | "transit" | "out_for_delivery" | "delivered" | "unknown" | "notfound" | "undelivered" | "exception" | "expired") | null) | undefined;
|
|
@@ -394,10 +432,29 @@ export type HostedSession = {
|
|
|
394
432
|
depth?: ((number | string) | null) | undefined;
|
|
395
433
|
images?: (string[] | null) | undefined;
|
|
396
434
|
public_reference?: (string | null) | undefined;
|
|
397
|
-
subtype: "
|
|
435
|
+
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";
|
|
398
436
|
unit_of_measurement?: (string | null) | undefined;
|
|
399
437
|
weight_unit?: (string | null) | undefined;
|
|
400
438
|
value_currency: "CAD" | "CHF" | "EUR" | "GBP" | "HKD" | "USD";
|
|
439
|
+
components?: ({
|
|
440
|
+
customs?: ({
|
|
441
|
+
country_of_origin?: (string | null) | undefined;
|
|
442
|
+
hs_code?: (string | null) | undefined;
|
|
443
|
+
medium?: (string | null) | undefined;
|
|
444
|
+
temporary_admission?: (boolean | null) | undefined;
|
|
445
|
+
} | null) | undefined;
|
|
446
|
+
details?: ({
|
|
447
|
+
creation_date?: (string | null) | undefined;
|
|
448
|
+
creator?: (string | null) | undefined;
|
|
449
|
+
notes?: (string | null) | undefined;
|
|
450
|
+
title?: (string | null) | undefined;
|
|
451
|
+
} | null) | undefined;
|
|
452
|
+
internal_reference?: (string | null) | undefined;
|
|
453
|
+
public_reference?: (string | null) | undefined;
|
|
454
|
+
type: "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" | "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";
|
|
455
|
+
value: number | string;
|
|
456
|
+
value_currency?: (("CAD" | "CHF" | "EUR" | "GBP" | "HKD" | "USD") | null) | undefined;
|
|
457
|
+
}[] | null) | undefined;
|
|
401
458
|
}[];
|
|
402
459
|
origin: {
|
|
403
460
|
access_restrictions?: (("elevator_only" | "freight_elevator" | "loading_dock" | "loading_dock_low" | "low_clearance" | "non_paved" | "stairs_only" | "steep_gradient")[] | null) | undefined;
|
|
@@ -619,10 +676,29 @@ export type ArtaObject = {
|
|
|
619
676
|
depth?: ((number | string) | null) | undefined;
|
|
620
677
|
images?: (string[] | null) | undefined;
|
|
621
678
|
public_reference?: (string | null) | undefined;
|
|
622
|
-
subtype: "
|
|
679
|
+
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";
|
|
623
680
|
unit_of_measurement?: (string | null) | undefined;
|
|
624
681
|
weight_unit?: (string | null) | undefined;
|
|
625
682
|
value_currency: "CAD" | "CHF" | "EUR" | "GBP" | "HKD" | "USD";
|
|
683
|
+
components?: ({
|
|
684
|
+
customs?: ({
|
|
685
|
+
country_of_origin?: (string | null) | undefined;
|
|
686
|
+
hs_code?: (string | null) | undefined;
|
|
687
|
+
medium?: (string | null) | undefined;
|
|
688
|
+
temporary_admission?: (boolean | null) | undefined;
|
|
689
|
+
} | null) | undefined;
|
|
690
|
+
details?: ({
|
|
691
|
+
creation_date?: (string | null) | undefined;
|
|
692
|
+
creator?: (string | null) | undefined;
|
|
693
|
+
notes?: (string | null) | undefined;
|
|
694
|
+
title?: (string | null) | undefined;
|
|
695
|
+
} | null) | undefined;
|
|
696
|
+
internal_reference?: (string | null) | undefined;
|
|
697
|
+
public_reference?: (string | null) | undefined;
|
|
698
|
+
type: "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" | "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";
|
|
699
|
+
value: number | string;
|
|
700
|
+
value_currency?: (("CAD" | "CHF" | "EUR" | "GBP" | "HKD" | "USD") | null) | undefined;
|
|
701
|
+
}[] | null) | undefined;
|
|
626
702
|
};
|
|
627
703
|
export type QuoteType = "parcel" | "premium" | "select" | "self_ship";
|
|
628
704
|
export type Contact = {
|
|
@@ -658,10 +734,29 @@ export type Package = {
|
|
|
658
734
|
depth?: ((number | string) | null) | undefined;
|
|
659
735
|
images?: (string[] | null) | undefined;
|
|
660
736
|
public_reference?: (string | null) | undefined;
|
|
661
|
-
subtype: "
|
|
737
|
+
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";
|
|
662
738
|
unit_of_measurement?: (string | null) | undefined;
|
|
663
739
|
weight_unit?: (string | null) | undefined;
|
|
664
740
|
value_currency: "CAD" | "CHF" | "EUR" | "GBP" | "HKD" | "USD";
|
|
741
|
+
components?: ({
|
|
742
|
+
customs?: ({
|
|
743
|
+
country_of_origin?: (string | null) | undefined;
|
|
744
|
+
hs_code?: (string | null) | undefined;
|
|
745
|
+
medium?: (string | null) | undefined;
|
|
746
|
+
temporary_admission?: (boolean | null) | undefined;
|
|
747
|
+
} | null) | undefined;
|
|
748
|
+
details?: ({
|
|
749
|
+
creation_date?: (string | null) | undefined;
|
|
750
|
+
creator?: (string | null) | undefined;
|
|
751
|
+
notes?: (string | null) | undefined;
|
|
752
|
+
title?: (string | null) | undefined;
|
|
753
|
+
} | null) | undefined;
|
|
754
|
+
internal_reference?: (string | null) | undefined;
|
|
755
|
+
public_reference?: (string | null) | undefined;
|
|
756
|
+
type: "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" | "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";
|
|
757
|
+
value: number | string;
|
|
758
|
+
value_currency?: (("CAD" | "CHF" | "EUR" | "GBP" | "HKD" | "USD") | null) | undefined;
|
|
759
|
+
}[] | null) | undefined;
|
|
665
760
|
}[];
|
|
666
761
|
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")[];
|
|
667
762
|
status?: (("pending" | "transit" | "out_for_delivery" | "delivered" | "unknown" | "notfound" | "undelivered" | "exception" | "expired") | null) | undefined;
|
|
@@ -826,3 +921,23 @@ export type Recipient = "payer" | "origin" | "destination";
|
|
|
826
921
|
export type ArtaMimeType = "application/pdf" | "application/vnd.ms-excel" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "image/jpeg" | "image/png" | "text/csv" | "video/mp4" | "video/quicktime" | "application/msword";
|
|
827
922
|
export type ArtaDocumentType = "bill_of_lading" | "certificate_of_insurance" | "certificate_of_insurance_template" | "condition_report" | "condition_check" | "image" | "instructions" | "airway_bill" | "commercial_invoice" | "power_of_attorney" | "proof_of_export" | "proof_of_delivery" | "quote" | "shipping_label" | "other";
|
|
828
923
|
export type ParcelTransportServices = "economy" | "economy_freight" | "ground" | "next_day_air" | "priority" | "priority_freight" | "second_day_air" | "standard";
|
|
924
|
+
export type ArtaComponent = {
|
|
925
|
+
customs?: ({
|
|
926
|
+
country_of_origin?: (string | null) | undefined;
|
|
927
|
+
hs_code?: (string | null) | undefined;
|
|
928
|
+
medium?: (string | null) | undefined;
|
|
929
|
+
temporary_admission?: (boolean | null) | undefined;
|
|
930
|
+
} | null) | undefined;
|
|
931
|
+
details?: ({
|
|
932
|
+
creation_date?: (string | null) | undefined;
|
|
933
|
+
creator?: (string | null) | undefined;
|
|
934
|
+
notes?: (string | null) | undefined;
|
|
935
|
+
title?: (string | null) | undefined;
|
|
936
|
+
} | null) | undefined;
|
|
937
|
+
internal_reference?: (string | null) | undefined;
|
|
938
|
+
public_reference?: (string | null) | undefined;
|
|
939
|
+
type: "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" | "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";
|
|
940
|
+
value: number | string;
|
|
941
|
+
value_currency?: (("CAD" | "CHF" | "EUR" | "GBP" | "HKD" | "USD") | null) | undefined;
|
|
942
|
+
};
|
|
943
|
+
export type ArtaComponentType = "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" | "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";
|
package/dist/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@artaio/node-api",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.5.1",
|
|
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.5.1",
|
|
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",
|