npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

akaris_travels_air

v11.10.4

Published

Object

Downloads

5

Readme

akaris_travels_air

AkarisTravelsAir - JavaScript client for akaris_travels_air No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) This SDK is automatically generated by the Swagger Codegen project:

  • API version: 11.10.4
  • Package version: 11.10.4
  • Build package: io.swagger.codegen.v3.generators.javascript.JavaScriptClientCodegen

Installation

For Node.js

npm

To publish the library as a npm, please follow the procedure in "Publishing npm packages".

Then install it via:

npm install akaris_travels_air --save

git

If the library is hosted at a git repository, e.g. https://github.com/GIT_USER_ID/GIT_REPO_ID then install it via:

    npm install GIT_USER_ID/GIT_REPO_ID --save

For browser

The library also works in the browser environment via npm and browserify. After following the above steps with Node.js and installing browserify with npm install -g browserify, perform the following (assuming main.js is your entry file):

browserify main.js > bundle.js

Then include bundle.js in the HTML pages.

Webpack Configuration

Using Webpack you may encounter the following error: "Module not found: Error: Cannot resolve module", most certainly you should disable AMD loader. Add/merge the following section to your webpack config:

module: {
  rules: [
    {
      parser: {
        amd: false
      }
    }
  ]
}

Getting Started

Please follow the installation instruction and execute the following JS code:

var AkarisTravelsAir = require('akaris_travels_air');
var defaultClient = AkarisTravelsAir.ApiClient.instance;

// Configure OAuth2 access token for authorization: OAuth2
var OAuth2 = defaultClient.authentications['OAuth2'];
OAuth2.accessToken = "YOUR ACCESS TOKEN"

var api = new AkarisTravelsAir.BrandApi()
var body = new AkarisTravelsAir.BrandQueryBuildCompleteInfoFromOffer(); // {BrandQueryBuildCompleteInfoFromOffer} 
var opts = { 
  'traceId': "traceId_example", // {String} Identifier used to correlate API invocations across long-running or multi-call business flows.
  'XAUTH_TRAVELPORT_ACCESSGROUP': "XAUTH_TRAVELPORT_ACCESSGROUP_example", // {String} Identifies the Travelport access group with which the caller is associated
  'travelportPlusSessionID': "travelportPlusSessionID_example" // {String} Travelport Plus Session ID used to maintain an established agency session
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.createBrand(body, opts, callback);

Documentation for API Endpoints

All URIs are relative to https://api.pp.travelport.com/11/air

Class | Method | HTTP request | Description ------------ | ------------- | ------------- | ------------- AkarisTravelsAir.BrandApi | createBrand | POST /brandfullinfo/brands/buildcompleteinfofromoffer | Follow-on request for full brand pricing AkarisTravelsAir.EMDApi | eMDGetByLocator | GET /emds/getbylocator | Retrieve EMD by locator AkarisTravelsAir.EMDApi | getEMD | GET /emds/{Identifier} | Retrieve an EMD AkarisTravelsAir.EMDApi | updateEMD | PUT /emds/{Identifier} | Void an EMD AkarisTravelsAir.FareRulesApi | getRulesFromCatalogOfferings | GET /farerule/farerules/fromcatalogofferings | Return standalone fare rules with reference to CatalogOfferings AkarisTravelsAir.FareRulesApi | getRulesFromCatalogProductOfferings | GET /farerule/farerules/fromcatalogproductofferings | Return standalone fare rules with reference to CatalogProductOfferings AkarisTravelsAir.FareRulesApi | getRulesFromOffer | GET /farerule/farerules/fromoffer | Return standalone fare rules with reference to an Offer AkarisTravelsAir.FareRulesApi | getRulesFromReservation | GET /farerule/farerules/fromreservation | Return standalone fare rules with reference to a Reservation AkarisTravelsAir.FareRulesApi | getRulesFromReservationWorkbench | GET /farerule/farerules/fromreservationworkbench | Return standalone fare rules with reference to a Reservation workbench AkarisTravelsAir.PriceAirApi | offerBuildFromCatalogOfferings | POST /price/offers/buildfromcatalogofferings | Price by reference to a low fare search response AkarisTravelsAir.PriceAirApi | offerBuildFromCatalogProductOfferings | POST /price/offers/buildfromcatalogproductofferings | Price request with reference payload AkarisTravelsAir.PriceAirApi | offerBuildFromProducts | POST /price/offers/buildfromproducts | Price request with full payload AkarisTravelsAir.ReservationApi | buildReservation | POST /book/reservation/reservations/build | Single payload booking request AkarisTravelsAir.ReservationApi | cancelReservationOffer | PUT /book/reservation/reservations/{reservationIdentifier}/canceloffer | Cancel an Offer within a Reservation AkarisTravelsAir.ReservationApi | commitReservation | POST /book/reservation/reservations/{Identifier} | Commit workbench AkarisTravelsAir.ReservationApi | createReservation | POST /book/reservation/reservations | Create a reservation AkarisTravelsAir.ReservationApi | divide | POST /book/reservation/reservations/divide | Divide a reservation AkarisTravelsAir.ReservationApi | findReservation | POST /book/reservation/reservations/find | Find a reservation AkarisTravelsAir.ReservationApi | getReservationByLocator | GET /book/reservation/reservations/getbylocator | Retrieve a reservation by locator AkarisTravelsAir.ReservationApi | retrieveReservation | GET /book/reservation/reservations/{Identifier} | Retrieve a Reservation AkarisTravelsAir.ReservationApi | updateReservation | PUT /book/reservation/reservations/{Identifier} | Update a reservation AkarisTravelsAir.ReservationReceiptApi | buildReceiptsFromLocator | POST /receipt/reservations/{ReservationResource_Identifier}/receipts/buildfromlocator | ReceiptResource - BuildFromLocator AkarisTravelsAir.ReservationReceiptApi | buildReceiptsFromPayment | POST /receipt/reservations/{ReservationResource_Identifier}/receipts/buildfrompayment | ReceiptResource - BuildFromPayment AkarisTravelsAir.ReservationReceiptApi | cancelReservation | POST /receipt/reservations/{ReservationResource_Identifier}/receipts | ReceiptResource - CancelReservation AkarisTravelsAir.ReservationReceiptApi | getReceipts | GET /receipt/reservations/{ReservationResource_Identifier}/receipts | ReceiptResource - Get AkarisTravelsAir.SearchAirApi | buildNextAirSearch | POST /catalog/search/catalogproductofferings/buildnext | Search for flights on next leg AkarisTravelsAir.SearchAirApi | buildOptionsAirSearch | POST /catalog/search/catalogproductofferings/buildoptions | Return all upsells on a specific flight AkarisTravelsAir.SearchAirApi | createAirSearch | POST /catalog/search/catalogproductofferings | Initial flight search AkarisTravelsAir.SearchAirApi | getPageAirSearch | GET /catalog/search/catalogproductofferings | Return additional search results (pagination) AkarisTravelsAir.TicketApi | getTicket | GET /ticket/tickets/{Identifier} | Retrieve a single ticket AkarisTravelsAir.TicketApi | ticketGetByLocator | GET /ticket/tickets/getbylocator | Retrieve tickets by locator AkarisTravelsAir.TicketApi | updateTicket | PUT /ticket/tickets/{Identifier} | Void ticket for GDS AkarisTravelsAir.WorkbenchManageAccountingRemarksApi | createAccounting | POST /book/accounting/reservationworkbench/{ReservationResource_Identifier}/accountings | Add accounting remarks AkarisTravelsAir.WorkbenchManageAccountingRemarksApi | deleteAccounting | DELETE /book/reservationworkbench/{ReservationResource_Identifier}/accountings/{id}/namevaluepairs | Delete accounting remarks AkarisTravelsAir.WorkbenchManageAccountingRemarksApi | updateAccounting | PUT /book/accounting/reservationworkbench/{ReservationResource_Identifier}/accountings | Update accounting remarks AkarisTravelsAir.WorkbenchManageAgencyServiceFeesApi | addAgencyServiceFee | POST /book/reservationworkbench/{ReservationResource_Identifier}/agencyservicefees | Add Agency ServiceFee AkarisTravelsAir.WorkbenchManageAgencyServiceFeesApi | deleteAgencyServiceFee | DELETE /book/reservationworkbench/{ReservationResource_Identifier}/agencyservicefees/{id} | AgencyServiceFee - Delete AkarisTravelsAir.WorkbenchManageDocumentOverridesApi | createDocumentOverrides | POST /book/documentoverride/Reservation/{ReservationResource_Identifier}/documentoverrides | Add document override remark AkarisTravelsAir.WorkbenchManageDocumentOverridesApi | deleteDocumentOverrides | DELETE /book/documentoverride/Reservation/{ReservationResource_Identifier}/documentoverrides/{id} | Delete document overrides AkarisTravelsAir.WorkbenchManageDocumentOverridesApi | updateDocumentOverrides | PUT /book/documentoverride/Reservation/{ReservationResource_Identifier}/documentoverrides/{id} | Update document overrides AkarisTravelsAir.WorkbenchManageFormOfPaymentApi | addFormOfPayment | POST /payment/reservationworkbench/{ReservationResource_Identifier}/formofpayment | Add form of payment AkarisTravelsAir.WorkbenchManageFormOfPaymentApi | addFormOfPayments | POST /payment/reservationworkbench/{ReservationResource_Identifier}/formofpayments/list | Add multiple form of payments AkarisTravelsAir.WorkbenchManageFormOfPaymentApi | deleteFormOfPayment | DELETE /payment/reservationworkbench/{ReservationResource_Identifier}/formofpayment/{Identifier} | Delete form of payment AkarisTravelsAir.WorkbenchManageFormOfPaymentApi | updateFormOfPayment | PUT /payment/reservationworkbench/{ReservationResource_Identifier}/formofpayment/{Identifier} | Update form of payments AkarisTravelsAir.WorkbenchManageOffersApi | buildFromOffer | POST /book/airoffer/reservationworkbench/{ReservationResource_Identifier}/offers/buildfromoffer | Reprice and existing offer in the workbench AkarisTravelsAir.WorkbenchManageOffersApi | buildFromOfferList | POST /book/airoffer/reservationworkbench/{ReservationResource_Identifier}/offers/buildfromofferlist | Add an offer with reference to a Price response AkarisTravelsAir.WorkbenchManageOffersApi | buildFromShoppingCartProducts | POST /book/airoffer/reservationworkbench/{ReservationResource_Identifier}/offers/buildfromshoppingcartproducts | Create offer from unpriced products in the shopping cart AkarisTravelsAir.WorkbenchManageOffersApi | cancelWorkbenchOffer | POST /book/airoffer/reservationworkbench/{ReservationResource_Identifier}/offers/canceloffer | Create a cancel offer quote AkarisTravelsAir.WorkbenchManageOffersApi | cancelWorkbenchOffers | POST /book/airoffer/reservationworkbench/{ReservationResource_Identifier}/offers/canceloffers | Cancel one or more offers within the workbench without refund quote AkarisTravelsAir.WorkbenchManageOffersApi | createManualOffer | POST /book/airoffer/reservationworkbench/{ReservationResource_Identifier}/offers | Create refund or passive offer AkarisTravelsAir.WorkbenchManageOffersApi | workbenchBuildAncillaryOffersFromCatalogOfferings | POST /book/airoffer/reservationworkbench/{ReservationResource_Identifier}/offers/buildancillaryoffersfromcatalogofferings | Add ancillary offer (ancillary book) AkarisTravelsAir.WorkbenchManageOffersApi | workbenchBuildFromCatalogOfferings | POST /book/airoffer/reservationworkbench/{ReservationResource_Identifier}/offers/buildfromcatalogofferings | Add offer to booking - reference payload. AkarisTravelsAir.WorkbenchManageOffersApi | workbenchBuildFromCatalogProductOfferings | POST /book/airoffer/reservationworkbench/{ReservationResource_Identifier}/offers/buildfromcatalogproductofferings | Add offer to booking - reference payload. AkarisTravelsAir.WorkbenchManageOffersApi | workbenchBuildFromProducts | POST /book/airoffer/reservationworkbench/{ReservationResource_Identifier}/offers/buildfromproducts | Add offer to booking - full payload AkarisTravelsAir.WorkbenchManageOrganizationLoyaltyProgramApi | addOrganizationLoyaltyProgram | POST /book/reservationworkbench/{ReservationResource_Identifier}/organizationloyaltyprograms | Add an Organization Loyalty Program AkarisTravelsAir.WorkbenchManageOrganizationLoyaltyProgramApi | addOrganizationLoyaltyPrograms | POST /book/reservationworkbench/{ReservationResource_Identifier}/organizationloyaltyprograms/list | Add multiple Organization Loyalty Program AkarisTravelsAir.WorkbenchManageOrganizationLoyaltyProgramApi | deleteOrganizationLoyaltyProgram | DELETE /book/reservationworkbench/{ReservationResource_Identifier}/OrganizationLoyaltyPrograms/{id} | Delete an Organization Loyalty Program AkarisTravelsAir.WorkbenchManagePaymentApi | addPayment | POST /paymentoffer/reservationworkbench/{ReservationResource_Identifier}/payments | Add payment AkarisTravelsAir.WorkbenchManagePaymentApi | addPayments | POST /paymentoffer/reservationworkbench/{ReservationResource_Identifier}/payments/list | Add multiple payments AkarisTravelsAir.WorkbenchManagePaymentApi | cancelPayment | POST /paymentoffer/reservationworkbench/{ReservationResource_Identifier}/payments/{id} | Cancel a payment and void documents AkarisTravelsAir.WorkbenchManagePaymentApi | deletePayment | DELETE /paymentoffer/reservationworkbench/{ReservationResource_Identifier}/payments/{id} | Delete a payment AkarisTravelsAir.WorkbenchManagePaymentApi | updatePayment | PUT /paymentoffer/reservationworkbench/{ReservationResource_Identifier}/payments | Update payment AkarisTravelsAir.WorkbenchManagePrimaryContactApi | addPrimaryContact | POST /book/primarycontact/reservationworkbench/{ReservationResource_Identifier}/primarycontacts | Add a primary contact AkarisTravelsAir.WorkbenchManagePrimaryContactApi | addPrimaryContacts | POST /book/primarycontact/reservationworkbench/{ReservationResource_Identifier}/primarycontacts/list | Add multiple primary contacts AkarisTravelsAir.WorkbenchManagePrimaryContactApi | deletePrimaryContact | DELETE /book/primarycontact/reservationworkbench/{ReservationResource_Identifier}/primarycontacts/{id} | Delete a primary contact AkarisTravelsAir.WorkbenchManagePrimaryContactApi | updatePrimaryContact | PUT /book/primarycontact/reservationworkbench/{ReservationResource_Identifier}/primarycontacts | Update primary contact AkarisTravelsAir.WorkbenchManageProductsApi | deleteProduct | DELETE /book/products/reservationworkbench/{ReservationResource_Identifier}/Products/{id} | Delete unpriced products AkarisTravelsAir.WorkbenchManageProductsApi | getProduct | GET /book/products/reservationworkbench/{ReservationResource_Identifier}/Products/{id} | Retrieve unpriced products AkarisTravelsAir.WorkbenchManageProductsApi | productBuildFromCatalogProductOfferings | POST /book/products/reservationworkbench/{ReservationResource_Identifier}/shoppingcart/products/buildfromcatalogproductofferings | Add unpriced products to the workbench by reference to an availability AkarisTravelsAir.WorkbenchManageProductsApi | productBuildFromProducts | POST /book/products/reservationworkbench/{ReservationResource_Identifier}/shoppingcart/products/buildfromproducts | Add unpriced products to the workbench using full payload AkarisTravelsAir.WorkbenchManageReservationCommentsApi | addReservationComments | POST /book/remarks/reservationworkbench/{ReservationResource_Identifier}/reservationcomments/list | Add Reservation Comments AkarisTravelsAir.WorkbenchManageReservationCommentsApi | deleteReservationComments | DELETE /reservationworkbench/{ReservationResource_Identifier}/reservationcomments/{id}/comments | Delete Reservation Comments AkarisTravelsAir.WorkbenchManageReservationCommentsApi | updateReservationComments | PUT /book/remarks/reservationworkbench/{ReservationResource_Identifier}/reservationcomments | Update Reservation Comments AkarisTravelsAir.WorkbenchManageSpecialServicesApi | addSpecialServices | POST /book/specialservices/reservationworkbench/{ReservationResource_Identifier}/specialservices/list%27 | Add special services AkarisTravelsAir.WorkbenchManageSpecialServicesApi | deleteSpecialServices | DELETE /book/specialservices/reservationworkbench/{ReservationResource_Identifier}/specialservices/{id}%27 | Delete a special service AkarisTravelsAir.WorkbenchManageSpecialServicesApi | updateSpecialServices | PUT /book/specialservices/reservationworkbench/{ReservationResource_Identifier}/specialservices%27 | Update special service AkarisTravelsAir.WorkbenchManageTravelAgencyApi | addAgencyAddress | POST /reservationworkbench/{ReservationResource_Identifier}/travelagency/addaddress | Add Agency Address AkarisTravelsAir.WorkbenchManageTravelAgencyApi | deleteAgencyAddress | DELETE /reservationworkbench/{ReservationResource_Identifier}/travelagency/{id}/deleteaddress/{id} | Delete Agency Address AkarisTravelsAir.WorkbenchManageTravelAgencyApi | updateAgencyAddress | PUT /reservationworkbench/{ReservationResource_Identifier}/travelagency/{id}/updateaddress | Update Agency Address AkarisTravelsAir.WorkbenchManageTravelAgencyCorporateCodeApi | addCorporateCode | POST /reservationworkbench/{ReservationResource_Identifier}/travelagency/addcorporatecode | Add Corporate Code AkarisTravelsAir.WorkbenchManageTravelAgencyCorporateCodeApi | deleteCorporateCode | DELETE /reservationworkbench/{ReservationResource_Identifier}/travelagency/{id}/deletecorporatecode | Delete Corporate Code AkarisTravelsAir.WorkbenchManageTravelAgencyCorporateCodeApi | updateCorporateCode | PUT /reservationworkbench/{ReservationResource_Identifier}/travelagency/{id}/updatecorporatecode | Update Corporate Code AkarisTravelsAir.WorkbenchManageTravelersApi | addTraveler | POST /book/traveler/reservationworkbench/{ReservationResource_Identifier}/travelers | Add traveler and traveler remarks to booking AkarisTravelsAir.WorkbenchManageTravelersApi | addTravelers | POST /book/traveler/reservationworkbench/{ReservationResource_Identifier}/travelers/list | Add multiple travelers AkarisTravelsAir.WorkbenchManageTravelersApi | deleteTraveler | DELETE /book/traveler/reservationworkbench/{ReservationResource_Identifier}/travelers/{id} | Delete traveler AkarisTravelsAir.WorkbenchManageTravelersApi | getTraveler | GET /book/traveler/reservationworkbench/{ReservationResource_Identifier}/travelers/{id} | Retrieve Traveler AkarisTravelsAir.WorkbenchManageTravelersApi | getTravelers | GET /book/traveler/reservationworkbench/{ReservationResource_Identifier}/travelers | retrieve multiple travelers AkarisTravelsAir.WorkbenchManageTravelersApi | updateFromTravelerUpdatedItems | PUT /book/traveler/reservationworkbench/{ReservationResource_Identifier}/travelers/updatefromtravelerupdateditems/{id} | Modify traveler information after Updatable Items AkarisTravelsAir.WorkbenchManageTravelersApi | updateTraveler | PUT /book/traveler/reservationworkbench/{ReservationResource_Identifier}/travelers/{id} | Update traveler AkarisTravelsAir.WorkbenchManagementApi | createReservationWorkbench | POST /book/session/reservationworkbench | Create a workbench for new booking AkarisTravelsAir.WorkbenchManagementApi | createReservationWorkbenchFromIdentifier | POST /book/session/reservationworkbench/buildfromidentifier/{Identifier} | Create a workbench for existing booking AkarisTravelsAir.WorkbenchManagementApi | createReservationWorkbenchFromLocator | POST /book/session/reservationworkbench/buildfromlocator | Create a workbench for existing booking AkarisTravelsAir.WorkbenchManagementApi | ignoreReservationWorkbench | DELETE /book/session/reservationworkbench/{Identifier} | Discard workbench AkarisTravelsAir.WorkbenchManagementApi | retrieveReservationWorkbench | GET /book/session/reservationworkbench/{Identifier} | Retrieve workbench details AkarisTravelsAir.WorkbenchTravelerUpdatableItemsApi | buildFromTraveler | POST /book/updateableitem/reservationworkbench/{ReservationResource_Identifier}/travelerupdatableitems/buildfromtraveler | Retrieve updatable items by traveler

Documentation for Models