@artaio/node-api
Advanced tools
Comparing version 0.29.0 to 0.29.1
import { ArtaID } from '../ArtaClient'; | ||
import { AdditionalService, ArtaLocation, ArtaObject, ArtaService, Contact, Disqualification, Insurance, InsurancePolicy, PaymentProcessType, QuoteRequestStatus, QuoteType, SupportedCurrency } from '../MetadataTypes'; | ||
import { AdditionalService, ArtaLocation, ArtaObject, Contact, Disqualification, Insurance, PaymentProcessType, Quote, QuoteRequestStatus, QuoteType, SupportedCurrency } from '../MetadataTypes'; | ||
import { RestClient } from '../net/RestClient'; | ||
@@ -7,12 +7,2 @@ import { Page } from '../pagination'; | ||
import { DatedInterface, Nullable, NullableString } from '../utils'; | ||
export interface Quote { | ||
id: number; | ||
included_services: ArtaService[]; | ||
included_insurance_policy?: Nullable<InsurancePolicy>; | ||
optional_services: ArtaService[]; | ||
quote_type: QuoteType; | ||
status: string; | ||
total: number; | ||
total_currency: SupportedCurrency; | ||
} | ||
export interface QuoteRequest extends DatedInterface { | ||
@@ -19,0 +9,0 @@ id: ArtaID; |
@@ -18,3 +18,3 @@ export { Arta } from './arta'; | ||
export { Tracking, TrackingEvent, Carrier } from './endpoint/trackings'; | ||
export { Quote, QuoteRequest, QuoteRequestCreateBody, UpdateRequestsContactsBody, CustomQuotePayload, } from './endpoint/requests'; | ||
export { QuoteRequest, QuoteRequestCreateBody, UpdateRequestsContactsBody, CustomQuotePayload, } from './endpoint/requests'; | ||
export { Package, ShipmentSchedule, ShipmentTracking, Shipment, ShipmentCreateBody, } from './endpoint/shipments'; |
@@ -48,2 +48,5 @@ import { Nullable, NullableString } from './utils'; | ||
contacts?: Nullable<Contact[]>; | ||
estimated_country?: string; | ||
estimated_region?: string; | ||
estimated_city?: string; | ||
} | ||
@@ -98,1 +101,11 @@ export type Details = { | ||
} | ||
export interface Quote { | ||
id: number; | ||
included_services: ArtaService[]; | ||
included_insurance_policy?: Nullable<InsurancePolicy>; | ||
optional_services: ArtaService[]; | ||
quote_type: QuoteType; | ||
status: string; | ||
total: number; | ||
total_currency: SupportedCurrency; | ||
} |
{ | ||
"name": "@artaio/node-api", | ||
"version": "0.29.0", | ||
"version": "0.29.1", | ||
"description": "The Arta Node library provides a seamless integration to Arta API for applications running on Node.js using both Typescript or Javascript.", | ||
@@ -5,0 +5,0 @@ "scripts": { |
{ | ||
"name": "@artaio/node-api", | ||
"version": "0.29.0", | ||
"version": "0.29.1", | ||
"description": "The Arta Node library provides a seamless integration to Arta API for applications running on Node.js using both Typescript or Javascript.", | ||
@@ -5,0 +5,0 @@ "scripts": { |
132463
2626