Comparing version 1.0.0-beta.10 to 1.0.0-beta.11
@@ -195,2 +195,8 @@ import { Tasks } from "../models"; | ||
} | ||
export interface BookingDocument extends LinkedObject { | ||
Id: number; | ||
ExternalURI: string; | ||
CreatedByUserId: number; | ||
OwnerUserId: number; | ||
} | ||
/** | ||
@@ -439,2 +445,3 @@ * Passenger type | ||
payments(id: number): Promise<Payment[]>; | ||
documents(id: number): Promise<BookingDocument[]>; | ||
} |
@@ -277,4 +277,9 @@ "use strict"; | ||
} | ||
documents(id) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
return (yield this.axios.get(`/sales/reservations/${id}/documents`)).data; | ||
}); | ||
} | ||
} | ||
exports.Api = Api; | ||
//# sourceMappingURL=reservations.js.map |
{ | ||
"name": "tigerbay", | ||
"version": "1.0.0-beta.10", | ||
"version": "1.0.0-beta.11", | ||
"description": "API Client library for TigerBay", | ||
@@ -5,0 +5,0 @@ "main": "lib/client.js", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
88532
2217