naftiko: 1.0.0-alpha2 info: label: Booking.com Connectivity Rates and Availability API — OTA Availability description: 'Booking.com Connectivity Rates and Availability API — OTA Availability. 2 operations. Lead operation: Create or update availability (OTA format). Self-contained Naftiko capability covering one Booking Com business surface.' tags: - Booking Com - OTA Availability created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: BOOKING_COM_API_KEY: BOOKING_COM_API_KEY capability: consumes: - type: http namespace: connectivity-rates-availability-ota-availability baseUri: https://supply-xml.booking.com description: Booking.com Connectivity Rates and Availability API — OTA Availability business capability. Self-contained, no shared references. resources: - name: hotels-ota-OTA_HotelAvailNotif path: /hotels/ota/OTA_HotelAvailNotif operations: - name: notifyhotelavailability method: POST description: Create or update availability (OTA format) outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: hotels-ota-OTA_HotelRateAmountNotif path: /hotels/ota/OTA_HotelRateAmountNotif operations: - name: notifyhotelrateamount method: POST description: Update rate amounts (OTA format) outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true authentication: type: basic username: '{{env.BOOKING_COM_USER}}' password: '{{env.BOOKING_COM_PASS}}' exposes: - type: rest namespace: connectivity-rates-availability-ota-availability-rest port: 8080 description: REST adapter for Booking.com Connectivity Rates and Availability API — OTA Availability. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/hotels/ota/ota-hotelavailnotif name: hotels-ota-ota-hotelavailnotif description: REST surface for hotels-ota-OTA_HotelAvailNotif. operations: - method: POST name: notifyhotelavailability description: Create or update availability (OTA format) call: connectivity-rates-availability-ota-availability.notifyhotelavailability with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/hotels/ota/ota-hotelrateamountnotif name: hotels-ota-ota-hotelrateamountnotif description: REST surface for hotels-ota-OTA_HotelRateAmountNotif. operations: - method: POST name: notifyhotelrateamount description: Update rate amounts (OTA format) call: connectivity-rates-availability-ota-availability.notifyhotelrateamount with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: connectivity-rates-availability-ota-availability-mcp port: 9090 transport: http description: MCP adapter for Booking.com Connectivity Rates and Availability API — OTA Availability. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: create-update-availability-ota-format description: Create or update availability (OTA format) hints: readOnly: false destructive: false idempotent: false call: connectivity-rates-availability-ota-availability.notifyhotelavailability with: body: tools.body outputParameters: - type: object mapping: $. - name: update-rate-amounts-ota-format description: Update rate amounts (OTA format) hints: readOnly: false destructive: false idempotent: false call: connectivity-rates-availability-ota-availability.notifyhotelrateamount with: body: tools.body outputParameters: - type: object mapping: $.