@artaio/node-api 1.10.0 → 1.11.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.
@@ -10,6 +10,8 @@ export type EnrichedHostedSession = HostedSession & {
10
10
  export type HostedSessionCreateBody = {
11
11
  additional_services?: Nullable<AdditionalService[]>;
12
12
  cancel_url?: NullableString;
13
+ customs_end_use?: HostedSession['customs_end_use'];
14
+ customs_process?: HostedSession['customs_process'];
13
15
  destination?: Nullable<ArtaLocation>;
14
16
  insurance?: Nullable<Insurance>;
15
17
  internal_reference?: NullableString;
@@ -31,6 +33,8 @@ export type HostedSessionCreateBody = {
31
33
  } | {
32
34
  additional_services?: Nullable<AdditionalService[]>;
33
35
  cancel_url?: NullableString;
36
+ customs_end_use?: HostedSession['customs_end_use'];
37
+ customs_process?: HostedSession['customs_process'];
34
38
  destination: ArtaLocation;
35
39
  insurance?: Nullable<Insurance>;
36
40
  internal_reference?: NullableString;
@@ -11,6 +11,8 @@ export type EnrichRequest<T> = T & {
11
11
  export interface QuoteRequestCreateBody {
12
12
  additional_services?: Nullable<AdditionalService[]>;
13
13
  currency?: Nullable<SupportedCurrency>;
14
+ customs_end_use?: QuoteRequest['customs_end_use'];
15
+ customs_process?: QuoteRequest['customs_process'];
14
16
  destination: ArtaLocation;
15
17
  insurance?: Nullable<Insurance>;
16
18
  internal_reference?: NullableString;
@@ -5,6 +5,7 @@ import type { ShipmentsSearch } from '../search';
5
5
  import type { NullableString } from '../utils';
6
6
  import type { Shipment } from '../types';
7
7
  export interface ShipmentCreateBody {
8
+ customs_process?: Shipment['customs_process'];
8
9
  exceptions?: Array<{
9
10
  type: 'label_hold';
10
11
  }>;
@@ -25,6 +25,8 @@ export type QuoteRequest = {
25
25
  missing: string[];
26
26
  ready: boolean;
27
27
  };
28
+ customs_end_use: "for_resale" | "not_for_resale";
29
+ customs_process: "ddu" | "ddp" | "ddp_optional";
28
30
  destination: {
29
31
  access_restrictions?: (("elevator_only" | "freight_elevator" | "loading_dock" | "loading_dock_low" | "low_clearance" | "non_paved" | "stairs_only" | "steep_gradient")[] | null) | undefined;
30
32
  address_line_1?: (string | null) | undefined;
@@ -190,6 +192,8 @@ export type Shipment = {
190
192
  updated_at: Date;
191
193
  created_at: Date;
192
194
  id: string;
195
+ customs_end_use?: (("for_resale" | "not_for_resale") | null) | undefined;
196
+ customs_process?: (("ddu" | "ddp" | "ddp_optional") | null) | undefined;
193
197
  destination: {
194
198
  access_restrictions?: (("elevator_only" | "freight_elevator" | "loading_dock" | "loading_dock_low" | "low_clearance" | "non_paved" | "stairs_only" | "steep_gradient")[] | null) | undefined;
195
199
  address_line_1?: (string | null) | undefined;
@@ -392,6 +396,8 @@ export type HostedSession = {
392
396
  id: number;
393
397
  additional_services?: (("assembly" | "debris_disposal" | "deinstallation" | "destination_additional_labor" | "destination_building_coi" | "destination_condition_check" | "destination_full_condition_report" | "destination_unpacking" | "double_blind_bols" | "installation" | "origin_building_coi" | "origin_condition_check" | "origin_full_condition_report" | "placement" | "signature_delivery" | "tarmac_supervision")[] | null) | undefined;
394
398
  cancel_url?: (string | null) | undefined;
399
+ customs_end_use: "for_resale" | "not_for_resale";
400
+ customs_process: "ddu" | "ddp" | "ddp_optional";
395
401
  destination?: ({
396
402
  access_restrictions?: (("elevator_only" | "freight_elevator" | "loading_dock" | "loading_dock_low" | "low_clearance" | "non_paved" | "stairs_only" | "steep_gradient")[] | null) | undefined;
397
403
  address_line_1?: (string | null) | undefined;
@@ -911,6 +917,8 @@ export type QuoteRequestListItem = {
911
917
  missing: string[];
912
918
  ready: boolean;
913
919
  };
920
+ customs_end_use: "for_resale" | "not_for_resale";
921
+ customs_process: "ddu" | "ddp" | "ddp_optional";
914
922
  destination: {
915
923
  access_restrictions?: (("elevator_only" | "freight_elevator" | "loading_dock" | "loading_dock_low" | "low_clearance" | "non_paved" | "stairs_only" | "steep_gradient")[] | null) | undefined;
916
924
  address_line_1?: (string | null) | undefined;
@@ -1002,6 +1010,8 @@ export type InboundHostedSession = {
1002
1010
  id: number;
1003
1011
  additional_services?: (("assembly" | "debris_disposal" | "deinstallation" | "destination_additional_labor" | "destination_building_coi" | "destination_condition_check" | "destination_full_condition_report" | "destination_unpacking" | "double_blind_bols" | "installation" | "origin_building_coi" | "origin_condition_check" | "origin_full_condition_report" | "placement" | "signature_delivery" | "tarmac_supervision")[] | null) | undefined;
1004
1012
  cancel_url?: (string | null) | undefined;
1013
+ customs_end_use: "for_resale" | "not_for_resale";
1014
+ customs_process: "ddu" | "ddp" | "ddp_optional";
1005
1015
  destination: {
1006
1016
  access_restrictions?: (("elevator_only" | "freight_elevator" | "loading_dock" | "loading_dock_low" | "low_clearance" | "non_paved" | "stairs_only" | "steep_gradient")[] | null) | undefined;
1007
1017
  address_line_1?: (string | null) | undefined;
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@artaio/node-api",
3
- "version": "1.10.0",
3
+ "version": "1.11.0",
4
4
  "description": "The Arta Node library provides a seamless integration to Arta API for backend applications using both Typescript or Javascript.",
5
5
  "scripts": {
6
6
  "build": "npm run build:types && tsc -p tsconfig-build.json",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@artaio/node-api",
3
- "version": "1.10.0",
3
+ "version": "1.11.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",