New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@duffel/api

Package Overview
Dependencies
Maintainers
10
Versions
132
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@duffel/api - npm Package Compare versions

Comparing version

to
1.23.0

dist/booking/AirlineInitiatedChanges/AirlineInitiatedChanges.d.ts

46

dist/booking/Orders/OrdersTypes.d.ts

@@ -1,44 +0,2 @@

import { Aircraft, Airline, CabinClass, DuffelPassengerGender, DuffelPassengerTitle, DuffelPassengerType, FlightsConditions, LoyaltyProgrammeAccount, OfferAvailableServiceBaggage, OfferAvailableServiceBaggageMetadata, PassengerIdentityDocumentType, PaymentType, Place, PlaceType } from '../../types';
export declare type AvailableActionType = 'accept' | 'cancel' | 'change' | 'update';
export declare type ActionTakenType = 'accepted' | 'cancelled' | 'changed' | null;
export interface AirlineInitiatedChange {
/**
* Duffel's unique identifier for the airline-initiated change
*/
id: string;
/**
* Duffel's unique identifier for the order
*/
order_id: string;
/**
* List of updated slices and segments following the change
*/
added: OrderSlice[];
/**
* List of slices and segments as they were before the change
*/
removed: OrderSlice[];
/**
* The action taken in response to this airline-initiated change
*/
action_taken: ActionTakenType;
/**
* The ISO 8601 datetime at which an action was taken
*/
action_taken_at: string | null;
/**
* The available actions you can take on this Airline-Initiated Change through our API.
* 'update' means that you can use the update endpoint for an Airline-Initiated Change.
*/
available_actions: AvailableActionType[];
/**
* The ISO 8601 datetime at which the Payment Intent was created
*/
created_at: string;
/**
* The ISO 8601 datetime at which the airline-initiated change was last updated
*/
updated_at: string;
}
export declare type AirlineInitiatedChanges = AirlineInitiatedChange[];
import { Aircraft, Airline, AirlineInitiatedChange, CabinClass, DuffelPassengerGender, DuffelPassengerTitle, DuffelPassengerType, FlightsConditions, LoyaltyProgrammeAccount, OfferAvailableServiceBaggage, OfferAvailableServiceBaggageMetadata, PassengerIdentityDocumentType, PaymentType, Place, PlaceType } from '../../types';
/**

@@ -497,3 +455,3 @@ * An object containing metadata about the service, like the designator of the seat.

*/
airline_initiated_changes?: AirlineInitiatedChanges;
airline_initiated_changes?: AirlineInitiatedChange[];
}

@@ -500,0 +458,0 @@ export interface CreateOrder {

{
"name": "@duffel/api",
"version": "1.22.0",
"version": "1.23.0",
"description": "Javascript client library for the Duffel API",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

Sorry, the diff of this file is too big to display