@artaio/node-api 1.1.1 → 1.2.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/types.d.ts +28 -28
- package/dist/package.json +1 -1
- package/package.json +1 -1
package/dist/lib/types.d.ts
CHANGED
|
@@ -62,7 +62,7 @@ export type QuoteRequest = {
|
|
|
62
62
|
shortcode: string;
|
|
63
63
|
status: "cancelled" | "closed" | "disqualified" | "expired" | "in_progress" | "pending" | "quoted";
|
|
64
64
|
tags?: any;
|
|
65
|
-
currency: "CAD" | "EUR" | "GBP" | "HKD" | "USD";
|
|
65
|
+
currency: "CAD" | "CHF" | "EUR" | "GBP" | "HKD" | "USD";
|
|
66
66
|
additional_services: ("assembly" | "debris_disposal" | "deinstallation" | "destination_additional_labor" | "destination_building_coi" | "destination_condition_check" | "destination_full_condition_report" | "destination_unpacking" | "double_blind_bols" | "installation" | "origin_building_coi" | "origin_condition_check" | "origin_full_condition_report" | "placement" | "signature_delivery" | "tarmac_supervision")[];
|
|
67
67
|
disqualifications: {
|
|
68
68
|
quote_types: ("parcel" | "premium" | "select" | "self_ship")[];
|
|
@@ -91,7 +91,7 @@ export type QuoteRequest = {
|
|
|
91
91
|
subtype: "painting_unframed" | "painting_framed" | "painting_framed_plexi" | "painting_framed_glass" | "work_on_paper_unframed" | "work_on_paper_framed" | "work_on_paper_framed_plexi" | "work_on_paper_framed_glass" | "mixed_media_unframed" | "mixed_media_framed" | "mixed_media_framed_plexi" | "mixed_media_framed_glass" | "photograph_unframed" | "photograph_framed" | "photograph_framed_plexi" | "photograph_framed_glass" | "new_media" | "sculpture" | "pedestal" | "pedestal_case_glass" | "pedestal_case_plexi" | "ceramic" | "neon" | "tapestry" | "other_art" | "table" | "chair" | "sofa_loveseat_chaise" | "floor_lamp" | "floor_lamp_shade" | "table_lamp" | "table_lamp_shade" | "sconce" | "ottoman" | "bookcase_storage" | "nightstand" | "armoire_dresser" | "carpet_rug" | "mirror" | "chandelier" | "bedframe" | "headboard" | "desk_vanity" | "media_console" | "other_furniture" | "earrings" | "necklace" | "bracelet" | "ring" | "brooch" | "watch" | "cufflinks" | "eyeglasses" | "set" | "precious_stones" | "snuff_box_cigarette_case" | "other_jewelry" | "vase_vessel" | "bowl" | "plaque" | "object_of_vertu" | "candelabra_candlestick" | "dinnerware" | "flatware" | "glassware" | "serveware" | "porcelain_plate" | "porcelain_bowl" | "tabletop_accessory" | "clock" | "other_decorative_arts" | "stamp" | "book" | "coin" | "document_manuscript" | "toy" | "miniature_model" | "figurine_doll" | "neon_sign" | "memorabilia" | "camera_electrical" | "other_collectibles" | "wine_bottle" | "spirits_bottle" | "beer_bottle" | "wine_case" | "spirits_case" | "beer_case" | "wine_barrel" | "spirits_barrel" | "beer_barrel" | "other_alcohols" | "car" | "motorcycle" | "bus" | "van" | "limousine" | "carriage" | "trailer" | "sidecar" | "other_automotive" | "clothing" | "footwear" | "handbag" | "accessories" | "other_fashion" | "musical_instrument" | "firearm_weapon" | "hunting_fishing" | "medical_equipment" | "other";
|
|
92
92
|
unit_of_measurement?: (string | null) | undefined;
|
|
93
93
|
weight_unit?: (string | null) | undefined;
|
|
94
|
-
value_currency: "CAD" | "EUR" | "GBP" | "HKD" | "USD";
|
|
94
|
+
value_currency: "CAD" | "CHF" | "EUR" | "GBP" | "HKD" | "USD";
|
|
95
95
|
}[];
|
|
96
96
|
payment_process: "checkout" | "checkout_direct" | "invoicing";
|
|
97
97
|
preferred_quote_types?: (("parcel" | "premium" | "select" | "self_ship")[] | null) | undefined;
|
|
@@ -100,7 +100,7 @@ export type QuoteRequest = {
|
|
|
100
100
|
id: number;
|
|
101
101
|
included_services: {
|
|
102
102
|
amount: number;
|
|
103
|
-
amount_currency: "CAD" | "EUR" | "GBP" | "HKD" | "USD";
|
|
103
|
+
amount_currency: "CAD" | "CHF" | "EUR" | "GBP" | "HKD" | "USD";
|
|
104
104
|
is_requested?: boolean | undefined;
|
|
105
105
|
is_required?: boolean | undefined;
|
|
106
106
|
name: string;
|
|
@@ -111,14 +111,14 @@ export type QuoteRequest = {
|
|
|
111
111
|
}[];
|
|
112
112
|
included_insurance_policy?: ({
|
|
113
113
|
amount: number;
|
|
114
|
-
amount_currency: "CAD" | "EUR" | "GBP" | "HKD" | "USD";
|
|
114
|
+
amount_currency: "CAD" | "CHF" | "EUR" | "GBP" | "HKD" | "USD";
|
|
115
115
|
id: string;
|
|
116
116
|
insured_value: number;
|
|
117
|
-
insured_value_currency: "CAD" | "EUR" | "GBP" | "HKD" | "USD";
|
|
117
|
+
insured_value_currency: "CAD" | "CHF" | "EUR" | "GBP" | "HKD" | "USD";
|
|
118
118
|
} | null) | undefined;
|
|
119
119
|
optional_services: {
|
|
120
120
|
amount: number;
|
|
121
|
-
amount_currency: "CAD" | "EUR" | "GBP" | "HKD" | "USD";
|
|
121
|
+
amount_currency: "CAD" | "CHF" | "EUR" | "GBP" | "HKD" | "USD";
|
|
122
122
|
is_requested?: boolean | undefined;
|
|
123
123
|
is_required?: boolean | undefined;
|
|
124
124
|
name: string;
|
|
@@ -130,7 +130,7 @@ export type QuoteRequest = {
|
|
|
130
130
|
quote_type: "parcel" | "premium" | "select" | "self_ship";
|
|
131
131
|
status: string;
|
|
132
132
|
total: number;
|
|
133
|
-
total_currency: "CAD" | "EUR" | "GBP" | "HKD" | "USD";
|
|
133
|
+
total_currency: "CAD" | "CHF" | "EUR" | "GBP" | "HKD" | "USD";
|
|
134
134
|
}[];
|
|
135
135
|
};
|
|
136
136
|
export type Key = {
|
|
@@ -181,10 +181,10 @@ export type Shipment = {
|
|
|
181
181
|
hosted_session_id?: (number | null) | undefined;
|
|
182
182
|
insurance_policy?: ({
|
|
183
183
|
amount: number;
|
|
184
|
-
amount_currency: "CAD" | "EUR" | "GBP" | "HKD" | "USD";
|
|
184
|
+
amount_currency: "CAD" | "CHF" | "EUR" | "GBP" | "HKD" | "USD";
|
|
185
185
|
id: string;
|
|
186
186
|
insured_value: number;
|
|
187
|
-
insured_value_currency: "CAD" | "EUR" | "GBP" | "HKD" | "USD";
|
|
187
|
+
insured_value_currency: "CAD" | "CHF" | "EUR" | "GBP" | "HKD" | "USD";
|
|
188
188
|
} | null) | undefined;
|
|
189
189
|
internal_reference?: (string | null) | undefined;
|
|
190
190
|
log_request_id?: (string | null) | undefined;
|
|
@@ -238,7 +238,7 @@ export type Shipment = {
|
|
|
238
238
|
subtype: "painting_unframed" | "painting_framed" | "painting_framed_plexi" | "painting_framed_glass" | "work_on_paper_unframed" | "work_on_paper_framed" | "work_on_paper_framed_plexi" | "work_on_paper_framed_glass" | "mixed_media_unframed" | "mixed_media_framed" | "mixed_media_framed_plexi" | "mixed_media_framed_glass" | "photograph_unframed" | "photograph_framed" | "photograph_framed_plexi" | "photograph_framed_glass" | "new_media" | "sculpture" | "pedestal" | "pedestal_case_glass" | "pedestal_case_plexi" | "ceramic" | "neon" | "tapestry" | "other_art" | "table" | "chair" | "sofa_loveseat_chaise" | "floor_lamp" | "floor_lamp_shade" | "table_lamp" | "table_lamp_shade" | "sconce" | "ottoman" | "bookcase_storage" | "nightstand" | "armoire_dresser" | "carpet_rug" | "mirror" | "chandelier" | "bedframe" | "headboard" | "desk_vanity" | "media_console" | "other_furniture" | "earrings" | "necklace" | "bracelet" | "ring" | "brooch" | "watch" | "cufflinks" | "eyeglasses" | "set" | "precious_stones" | "snuff_box_cigarette_case" | "other_jewelry" | "vase_vessel" | "bowl" | "plaque" | "object_of_vertu" | "candelabra_candlestick" | "dinnerware" | "flatware" | "glassware" | "serveware" | "porcelain_plate" | "porcelain_bowl" | "tabletop_accessory" | "clock" | "other_decorative_arts" | "stamp" | "book" | "coin" | "document_manuscript" | "toy" | "miniature_model" | "figurine_doll" | "neon_sign" | "memorabilia" | "camera_electrical" | "other_collectibles" | "wine_bottle" | "spirits_bottle" | "beer_bottle" | "wine_case" | "spirits_case" | "beer_case" | "wine_barrel" | "spirits_barrel" | "beer_barrel" | "other_alcohols" | "car" | "motorcycle" | "bus" | "van" | "limousine" | "carriage" | "trailer" | "sidecar" | "other_automotive" | "clothing" | "footwear" | "handbag" | "accessories" | "other_fashion" | "musical_instrument" | "firearm_weapon" | "hunting_fishing" | "medical_equipment" | "other";
|
|
239
239
|
unit_of_measurement?: (string | null) | undefined;
|
|
240
240
|
weight_unit?: (string | null) | undefined;
|
|
241
|
-
value_currency: "CAD" | "EUR" | "GBP" | "HKD" | "USD";
|
|
241
|
+
value_currency: "CAD" | "CHF" | "EUR" | "GBP" | "HKD" | "USD";
|
|
242
242
|
}[];
|
|
243
243
|
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")[];
|
|
244
244
|
status?: (("pending" | "transit" | "out_for_delivery" | "delivered" | "unknown" | "notfound" | "undelivered" | "exception" | "expired") | null) | undefined;
|
|
@@ -260,7 +260,7 @@ export type Shipment = {
|
|
|
260
260
|
} | null) | undefined;
|
|
261
261
|
services?: ({
|
|
262
262
|
amount: number;
|
|
263
|
-
amount_currency: "CAD" | "EUR" | "GBP" | "HKD" | "USD";
|
|
263
|
+
amount_currency: "CAD" | "CHF" | "EUR" | "GBP" | "HKD" | "USD";
|
|
264
264
|
is_requested?: boolean | undefined;
|
|
265
265
|
is_required?: boolean | undefined;
|
|
266
266
|
name: string;
|
|
@@ -273,7 +273,7 @@ export type Shipment = {
|
|
|
273
273
|
shortcode: string;
|
|
274
274
|
status: "pending" | "confirmed" | "collected" | "in_transit" | "completed";
|
|
275
275
|
total: number;
|
|
276
|
-
total_currency: "CAD" | "EUR" | "GBP" | "HKD" | "USD";
|
|
276
|
+
total_currency: "CAD" | "CHF" | "EUR" | "GBP" | "HKD" | "USD";
|
|
277
277
|
url?: (string | null) | undefined;
|
|
278
278
|
tracking?: ({
|
|
279
279
|
carrier_name: string;
|
|
@@ -347,7 +347,7 @@ export type HostedSession = {
|
|
|
347
347
|
subtype: "painting_unframed" | "painting_framed" | "painting_framed_plexi" | "painting_framed_glass" | "work_on_paper_unframed" | "work_on_paper_framed" | "work_on_paper_framed_plexi" | "work_on_paper_framed_glass" | "mixed_media_unframed" | "mixed_media_framed" | "mixed_media_framed_plexi" | "mixed_media_framed_glass" | "photograph_unframed" | "photograph_framed" | "photograph_framed_plexi" | "photograph_framed_glass" | "new_media" | "sculpture" | "pedestal" | "pedestal_case_glass" | "pedestal_case_plexi" | "ceramic" | "neon" | "tapestry" | "other_art" | "table" | "chair" | "sofa_loveseat_chaise" | "floor_lamp" | "floor_lamp_shade" | "table_lamp" | "table_lamp_shade" | "sconce" | "ottoman" | "bookcase_storage" | "nightstand" | "armoire_dresser" | "carpet_rug" | "mirror" | "chandelier" | "bedframe" | "headboard" | "desk_vanity" | "media_console" | "other_furniture" | "earrings" | "necklace" | "bracelet" | "ring" | "brooch" | "watch" | "cufflinks" | "eyeglasses" | "set" | "precious_stones" | "snuff_box_cigarette_case" | "other_jewelry" | "vase_vessel" | "bowl" | "plaque" | "object_of_vertu" | "candelabra_candlestick" | "dinnerware" | "flatware" | "glassware" | "serveware" | "porcelain_plate" | "porcelain_bowl" | "tabletop_accessory" | "clock" | "other_decorative_arts" | "stamp" | "book" | "coin" | "document_manuscript" | "toy" | "miniature_model" | "figurine_doll" | "neon_sign" | "memorabilia" | "camera_electrical" | "other_collectibles" | "wine_bottle" | "spirits_bottle" | "beer_bottle" | "wine_case" | "spirits_case" | "beer_case" | "wine_barrel" | "spirits_barrel" | "beer_barrel" | "other_alcohols" | "car" | "motorcycle" | "bus" | "van" | "limousine" | "carriage" | "trailer" | "sidecar" | "other_automotive" | "clothing" | "footwear" | "handbag" | "accessories" | "other_fashion" | "musical_instrument" | "firearm_weapon" | "hunting_fishing" | "medical_equipment" | "other";
|
|
348
348
|
unit_of_measurement?: (string | null) | undefined;
|
|
349
349
|
weight_unit?: (string | null) | undefined;
|
|
350
|
-
value_currency: "CAD" | "EUR" | "GBP" | "HKD" | "USD";
|
|
350
|
+
value_currency: "CAD" | "CHF" | "EUR" | "GBP" | "HKD" | "USD";
|
|
351
351
|
}[];
|
|
352
352
|
origin: {
|
|
353
353
|
access_restrictions?: (("elevator_only" | "freight_elevator" | "loading_dock" | "loading_dock_low" | "low_clearance" | "non_paved" | "stairs_only" | "steep_gradient")[] | null) | undefined;
|
|
@@ -383,7 +383,7 @@ export type InvoicePayment = {
|
|
|
383
383
|
created_at: Date;
|
|
384
384
|
id: number;
|
|
385
385
|
amount: number;
|
|
386
|
-
amount_currency: "CAD" | "EUR" | "GBP" | "HKD" | "USD";
|
|
386
|
+
amount_currency: "CAD" | "CHF" | "EUR" | "GBP" | "HKD" | "USD";
|
|
387
387
|
credit_id?: (string | null) | undefined;
|
|
388
388
|
invoice_id?: (string | null) | undefined;
|
|
389
389
|
paid_on: Date;
|
|
@@ -395,9 +395,9 @@ export type Invoice = {
|
|
|
395
395
|
created_at: Date;
|
|
396
396
|
id: number;
|
|
397
397
|
amount_owed: number;
|
|
398
|
-
amount_owed_currency: "CAD" | "EUR" | "GBP" | "HKD" | "USD";
|
|
398
|
+
amount_owed_currency: "CAD" | "CHF" | "EUR" | "GBP" | "HKD" | "USD";
|
|
399
399
|
amount_paid: number;
|
|
400
|
-
amount_paid_currency: "CAD" | "EUR" | "GBP" | "HKD" | "USD";
|
|
400
|
+
amount_paid_currency: "CAD" | "CHF" | "EUR" | "GBP" | "HKD" | "USD";
|
|
401
401
|
issued_on?: (Date | null) | undefined;
|
|
402
402
|
shipment_id?: (string | null) | undefined;
|
|
403
403
|
status: string;
|
|
@@ -437,7 +437,7 @@ export type Payment = {
|
|
|
437
437
|
created_at: Date;
|
|
438
438
|
id: number;
|
|
439
439
|
amount: number;
|
|
440
|
-
amount_currency: "CAD" | "EUR" | "GBP" | "HKD" | "USD";
|
|
440
|
+
amount_currency: "CAD" | "CHF" | "EUR" | "GBP" | "HKD" | "USD";
|
|
441
441
|
context: "hosted_checkout" | "invoiced";
|
|
442
442
|
paid_on: Date;
|
|
443
443
|
};
|
|
@@ -504,7 +504,7 @@ export type Webhook = {
|
|
|
504
504
|
};
|
|
505
505
|
export type ArtaService = {
|
|
506
506
|
amount: number;
|
|
507
|
-
amount_currency: "CAD" | "EUR" | "GBP" | "HKD" | "USD";
|
|
507
|
+
amount_currency: "CAD" | "CHF" | "EUR" | "GBP" | "HKD" | "USD";
|
|
508
508
|
is_requested?: boolean | undefined;
|
|
509
509
|
is_required?: boolean | undefined;
|
|
510
510
|
name: string;
|
|
@@ -528,7 +528,7 @@ export type Detail = {
|
|
|
528
528
|
is_cites?: (boolean | null) | undefined;
|
|
529
529
|
};
|
|
530
530
|
export type AdditionalService = "assembly" | "debris_disposal" | "deinstallation" | "destination_additional_labor" | "destination_building_coi" | "destination_condition_check" | "destination_full_condition_report" | "destination_unpacking" | "double_blind_bols" | "installation" | "origin_building_coi" | "origin_condition_check" | "origin_full_condition_report" | "placement" | "signature_delivery" | "tarmac_supervision";
|
|
531
|
-
export type SupportedCurrency = "CAD" | "EUR" | "GBP" | "HKD" | "USD";
|
|
531
|
+
export type SupportedCurrency = "CAD" | "CHF" | "EUR" | "GBP" | "HKD" | "USD";
|
|
532
532
|
export type ArtaLocation = {
|
|
533
533
|
access_restrictions?: (("elevator_only" | "freight_elevator" | "loading_dock" | "loading_dock_low" | "low_clearance" | "non_paved" | "stairs_only" | "steep_gradient")[] | null) | undefined;
|
|
534
534
|
address_line_1?: (string | null) | undefined;
|
|
@@ -571,7 +571,7 @@ export type ArtaObject = {
|
|
|
571
571
|
subtype: "painting_unframed" | "painting_framed" | "painting_framed_plexi" | "painting_framed_glass" | "work_on_paper_unframed" | "work_on_paper_framed" | "work_on_paper_framed_plexi" | "work_on_paper_framed_glass" | "mixed_media_unframed" | "mixed_media_framed" | "mixed_media_framed_plexi" | "mixed_media_framed_glass" | "photograph_unframed" | "photograph_framed" | "photograph_framed_plexi" | "photograph_framed_glass" | "new_media" | "sculpture" | "pedestal" | "pedestal_case_glass" | "pedestal_case_plexi" | "ceramic" | "neon" | "tapestry" | "other_art" | "table" | "chair" | "sofa_loveseat_chaise" | "floor_lamp" | "floor_lamp_shade" | "table_lamp" | "table_lamp_shade" | "sconce" | "ottoman" | "bookcase_storage" | "nightstand" | "armoire_dresser" | "carpet_rug" | "mirror" | "chandelier" | "bedframe" | "headboard" | "desk_vanity" | "media_console" | "other_furniture" | "earrings" | "necklace" | "bracelet" | "ring" | "brooch" | "watch" | "cufflinks" | "eyeglasses" | "set" | "precious_stones" | "snuff_box_cigarette_case" | "other_jewelry" | "vase_vessel" | "bowl" | "plaque" | "object_of_vertu" | "candelabra_candlestick" | "dinnerware" | "flatware" | "glassware" | "serveware" | "porcelain_plate" | "porcelain_bowl" | "tabletop_accessory" | "clock" | "other_decorative_arts" | "stamp" | "book" | "coin" | "document_manuscript" | "toy" | "miniature_model" | "figurine_doll" | "neon_sign" | "memorabilia" | "camera_electrical" | "other_collectibles" | "wine_bottle" | "spirits_bottle" | "beer_bottle" | "wine_case" | "spirits_case" | "beer_case" | "wine_barrel" | "spirits_barrel" | "beer_barrel" | "other_alcohols" | "car" | "motorcycle" | "bus" | "van" | "limousine" | "carriage" | "trailer" | "sidecar" | "other_automotive" | "clothing" | "footwear" | "handbag" | "accessories" | "other_fashion" | "musical_instrument" | "firearm_weapon" | "hunting_fishing" | "medical_equipment" | "other";
|
|
572
572
|
unit_of_measurement?: (string | null) | undefined;
|
|
573
573
|
weight_unit?: (string | null) | undefined;
|
|
574
|
-
value_currency: "CAD" | "EUR" | "GBP" | "HKD" | "USD";
|
|
574
|
+
value_currency: "CAD" | "CHF" | "EUR" | "GBP" | "HKD" | "USD";
|
|
575
575
|
};
|
|
576
576
|
export type QuoteType = "parcel" | "premium" | "select" | "self_ship";
|
|
577
577
|
export type Contact = {
|
|
@@ -610,7 +610,7 @@ export type Package = {
|
|
|
610
610
|
subtype: "painting_unframed" | "painting_framed" | "painting_framed_plexi" | "painting_framed_glass" | "work_on_paper_unframed" | "work_on_paper_framed" | "work_on_paper_framed_plexi" | "work_on_paper_framed_glass" | "mixed_media_unframed" | "mixed_media_framed" | "mixed_media_framed_plexi" | "mixed_media_framed_glass" | "photograph_unframed" | "photograph_framed" | "photograph_framed_plexi" | "photograph_framed_glass" | "new_media" | "sculpture" | "pedestal" | "pedestal_case_glass" | "pedestal_case_plexi" | "ceramic" | "neon" | "tapestry" | "other_art" | "table" | "chair" | "sofa_loveseat_chaise" | "floor_lamp" | "floor_lamp_shade" | "table_lamp" | "table_lamp_shade" | "sconce" | "ottoman" | "bookcase_storage" | "nightstand" | "armoire_dresser" | "carpet_rug" | "mirror" | "chandelier" | "bedframe" | "headboard" | "desk_vanity" | "media_console" | "other_furniture" | "earrings" | "necklace" | "bracelet" | "ring" | "brooch" | "watch" | "cufflinks" | "eyeglasses" | "set" | "precious_stones" | "snuff_box_cigarette_case" | "other_jewelry" | "vase_vessel" | "bowl" | "plaque" | "object_of_vertu" | "candelabra_candlestick" | "dinnerware" | "flatware" | "glassware" | "serveware" | "porcelain_plate" | "porcelain_bowl" | "tabletop_accessory" | "clock" | "other_decorative_arts" | "stamp" | "book" | "coin" | "document_manuscript" | "toy" | "miniature_model" | "figurine_doll" | "neon_sign" | "memorabilia" | "camera_electrical" | "other_collectibles" | "wine_bottle" | "spirits_bottle" | "beer_bottle" | "wine_case" | "spirits_case" | "beer_case" | "wine_barrel" | "spirits_barrel" | "beer_barrel" | "other_alcohols" | "car" | "motorcycle" | "bus" | "van" | "limousine" | "carriage" | "trailer" | "sidecar" | "other_automotive" | "clothing" | "footwear" | "handbag" | "accessories" | "other_fashion" | "musical_instrument" | "firearm_weapon" | "hunting_fishing" | "medical_equipment" | "other";
|
|
611
611
|
unit_of_measurement?: (string | null) | undefined;
|
|
612
612
|
weight_unit?: (string | null) | undefined;
|
|
613
|
-
value_currency: "CAD" | "EUR" | "GBP" | "HKD" | "USD";
|
|
613
|
+
value_currency: "CAD" | "CHF" | "EUR" | "GBP" | "HKD" | "USD";
|
|
614
614
|
}[];
|
|
615
615
|
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")[];
|
|
616
616
|
status?: (("pending" | "transit" | "out_for_delivery" | "delivered" | "unknown" | "notfound" | "undelivered" | "exception" | "expired") | null) | undefined;
|
|
@@ -647,16 +647,16 @@ export type ShipmentTracking = {
|
|
|
647
647
|
};
|
|
648
648
|
export type InsurancePolicy = {
|
|
649
649
|
amount: number;
|
|
650
|
-
amount_currency: "CAD" | "EUR" | "GBP" | "HKD" | "USD";
|
|
650
|
+
amount_currency: "CAD" | "CHF" | "EUR" | "GBP" | "HKD" | "USD";
|
|
651
651
|
id: string;
|
|
652
652
|
insured_value: number;
|
|
653
|
-
insured_value_currency: "CAD" | "EUR" | "GBP" | "HKD" | "USD";
|
|
653
|
+
insured_value_currency: "CAD" | "CHF" | "EUR" | "GBP" | "HKD" | "USD";
|
|
654
654
|
};
|
|
655
655
|
export type Quote = {
|
|
656
656
|
id: number;
|
|
657
657
|
included_services: {
|
|
658
658
|
amount: number;
|
|
659
|
-
amount_currency: "CAD" | "EUR" | "GBP" | "HKD" | "USD";
|
|
659
|
+
amount_currency: "CAD" | "CHF" | "EUR" | "GBP" | "HKD" | "USD";
|
|
660
660
|
is_requested?: boolean | undefined;
|
|
661
661
|
is_required?: boolean | undefined;
|
|
662
662
|
name: string;
|
|
@@ -667,14 +667,14 @@ export type Quote = {
|
|
|
667
667
|
}[];
|
|
668
668
|
included_insurance_policy?: ({
|
|
669
669
|
amount: number;
|
|
670
|
-
amount_currency: "CAD" | "EUR" | "GBP" | "HKD" | "USD";
|
|
670
|
+
amount_currency: "CAD" | "CHF" | "EUR" | "GBP" | "HKD" | "USD";
|
|
671
671
|
id: string;
|
|
672
672
|
insured_value: number;
|
|
673
|
-
insured_value_currency: "CAD" | "EUR" | "GBP" | "HKD" | "USD";
|
|
673
|
+
insured_value_currency: "CAD" | "CHF" | "EUR" | "GBP" | "HKD" | "USD";
|
|
674
674
|
} | null) | undefined;
|
|
675
675
|
optional_services: {
|
|
676
676
|
amount: number;
|
|
677
|
-
amount_currency: "CAD" | "EUR" | "GBP" | "HKD" | "USD";
|
|
677
|
+
amount_currency: "CAD" | "CHF" | "EUR" | "GBP" | "HKD" | "USD";
|
|
678
678
|
is_requested?: boolean | undefined;
|
|
679
679
|
is_required?: boolean | undefined;
|
|
680
680
|
name: string;
|
|
@@ -686,7 +686,7 @@ export type Quote = {
|
|
|
686
686
|
quote_type: "parcel" | "premium" | "select" | "self_ship";
|
|
687
687
|
status: string;
|
|
688
688
|
total: number;
|
|
689
|
-
total_currency: "CAD" | "EUR" | "GBP" | "HKD" | "USD";
|
|
689
|
+
total_currency: "CAD" | "CHF" | "EUR" | "GBP" | "HKD" | "USD";
|
|
690
690
|
};
|
|
691
691
|
export type QuoteRequestListItem = {
|
|
692
692
|
updated_at: Date;
|
package/dist/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@artaio/node-api",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.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.2.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",
|