UNPKG

supersonic-models

Version:

Supersonic models and API specifications

225 lines (224 loc) 8.47 kB
swagger: "2.0" info: title: Supersonic API description: API REST to integrate orders, menu and receipt with the Supersonic platform version: 1.0.0 host: supersonic-dev.ts.r.appspot.com schemes: - https consumes: - application/json produces: - application/json paths: /menu/settings/{product}/{serial}: $ref: "../menu/spec/paths/menu-settings.yaml" /menu/categories/{organisation}/{storeId}: $ref: "../menu/spec/paths/menu-categories.yaml" /menu/coupons/{organisation}/{storeId}: $ref: "../menu/spec/paths/menu-coupons.yaml" /menu/count/{organisation}/{storeId}: $ref: "../menu/spec/paths/menu-count.yaml" /menu/products/{organisation}/{storeId}: $ref: "../menu/spec/paths/menu-products-all.yaml" /menu/products/{organisation}/{storeId}/page/{page}: $ref: "../menu/spec/paths/menu-products-page.yaml" /menu/meals/{organisation}/{storeId}: $ref: "../menu/spec/paths/menu-meals.yaml" /menu/upsells/{organisation}/{storeId}: $ref: "../menu/spec/paths/menu-upsells.yaml" /menu/voucher/available-coupons/aloha: $ref: "../menu/spec/paths/menu-voucher.yaml" /menu/pull: $ref: "../menu/spec/paths/menu-pull.yaml" /menu/pull/aloha: $ref: "../menu/spec/paths/menu-pull-aloha.yaml" /menu/pull/mycentral: $ref: "../menu/spec/paths/menu-pull-mycentral.yaml" /menu/pull/aloha-sdm: $ref: "../menu/spec/paths/menu-pull-aloha-sdm.yaml" /menu/pull/brink: $ref: "../menu/spec/paths/menu-pull-brink.yaml" /menu/pull/posist: $ref: "../menu/spec/paths/menu-pull-posist.yaml" /menu/settings/aloha: $ref: "../menu/spec/paths/menu-settings-aloha.yaml" /order/pre/aloha: $ref: "../order/spec/paths/pre-order-aloha.yaml" /order/place/aloha: $ref: "../order/spec/paths/place-order-aloha.yaml" /order/place/mycentral: $ref: "../order/spec/paths/place-order-mycentral.yaml" /order/place: $ref: "../order/spec/paths/place-order.yaml" /order/save/cloud-bridge: $ref: "../order/spec/paths/save-order-cloud-bridge.yaml" /order/start/cloud-bridge: $ref: "../order/spec/paths/start-order-cloud-bridge.yaml" /order/finish/cloud-bridge: $ref: "../order/spec/paths/finish-order-cloud-bridge.yaml" /order/bump: $ref: "../order/spec/paths/bump-order.yaml" /order/list: $ref: "../order/spec/paths/list-order.yaml" /order/provider-health-check/aloha: $ref: "../order/spec/paths/provider-health-check-aloha.yaml" /order/provider-health-check/mycentral: $ref: "../order/spec/paths/provider-health-check-mycentral.yaml" /order/provider-health-check/cloud-bridge: $ref: "../order/spec/paths/provider-health-check-cloud-bridge.yaml" /order/use-voucher-coupon/aloha: $ref: "../order/spec/paths/use-voucher-coupon-aloha.yaml" /order/void-voucher-coupon/aloha: $ref: "../order/spec/paths/void-voucher-coupon-aloha.yaml" /getReceiptPdf: $ref: "../receipt/spec/paths/receipt-pdf.yaml" /getReceiptText: $ref: "../receipt/spec/paths/receipt-text.yaml" /sendReceipt: $ref: "../receipt/spec/paths/send-receipt.yaml" definitions: Category: $ref: "../menu/spec/definitions/category.yaml" Product: $ref: "../menu/spec/definitions/product.yaml" Meal: $ref: "../menu/spec/definitions/meal.yaml" Upsell: $ref: "../menu/spec/definitions/upsell.yaml" TranslatedText: $ref: "../menu/spec/definitions/translated-text.yaml" Translation: $ref: "../menu/spec/definitions/translation.yaml" Availability: $ref: "../menu/spec/definitions/availability.yaml" Time: $ref: "../menu/spec/definitions/time.yaml" Coupon: $ref: "../menu/spec/definitions/coupon.yaml" CouponProduct: $ref: "../menu/spec/definitions/coupon-product.yaml" CouponCart: $ref: "../menu/spec/definitions/coupon-cart.yaml" PriceChange: $ref: "../menu/spec/definitions/price-change.yaml" GroupedProduct: $ref: "../menu/spec/definitions/grouped-product.yaml" CustomiseCategory: $ref: "../menu/spec/definitions/customise-category.yaml" CustomiseItem: $ref: "../menu/spec/definitions/customise-item.yaml" ComboFilter: $ref: "../menu/spec/definitions/combo-filter.yaml" ComboCategory: $ref: "../menu/spec/definitions/combo-category.yaml" ComboItem: $ref: "../menu/spec/definitions/combo-item.yaml" Conditions: $ref: "../menu/spec/definitions/conditions.yaml" VoucherAvailableCouponsBody: $ref: "../menu/spec/definitions/voucher-available-coupons-body.yaml" VoucherCouponResponse: $ref: "../menu/spec/definitions/voucher-coupon-response.yaml" PullMenuAloha: $ref: "../menu/spec/definitions/pull-menu-aloha.yaml" PullMenuMycentral: $ref: "../menu/spec/definitions/pull-menu-mycentral.yaml" PullMenuAlohaSdm: $ref: "../menu/spec/definitions/pull-menu-aloha-sdm.yaml" PullMenuBrink: $ref: "../menu/spec/definitions/pull-menu-brink.yaml" PullMenuPosist: $ref: "../menu/spec/definitions/pull-menu-posist.yaml" PullMenuFingermark: $ref: "../menu/spec/definitions/pull-menu-fingermark.yaml" PullSettingsAloha: $ref: "../menu/spec/definitions/pull-settings-aloha.yaml" KeyValuePair: $ref: "../menu/spec/definitions/key-value-pair.yaml" Settings: $ref: "../menu/spec/definitions/settings.yaml" ErrorResponse: $ref: "./definitions/error-response.yaml" ErrorResponseType: $ref: "./definitions/error-response-type.yaml" OrderStatus: $ref: "../order/spec/definitions/order-status.yaml" ProviderType: $ref: "../order/spec/definitions/provider-type.yaml" ProductType: $ref: "../order/spec/definitions/product-type.yaml" AlohaDefaultReason: $ref: "../order/spec/definitions/aloha-default-reason.yaml" AlohaModifierAction: $ref: "../order/spec/definitions/aloha-modifier-action.yaml" PaymentType: $ref: "../order/spec/definitions/payment-type.yaml" CartMode: $ref: "../order/spec/definitions/cart-mode.yaml" AlohaPreOrder: $ref: "../order/spec/definitions/aloha-pre-order.yaml" PlaceOrder: $ref: "../order/spec/definitions/place-order.yaml" AlohaPlaceOrder: $ref: "../order/spec/definitions/aloha-place-order.yaml" MyCentralPlaceOrder: $ref: "../order/spec/definitions/mycentral-place-order.yaml" CloudBridgeStartOrder: $ref: "../order/spec/definitions/cloud-bridge-start-order.yaml" BumpOrder: $ref: "../order/spec/definitions/bump-order.yaml" ListOrder: $ref: "../order/spec/definitions/list-order.yaml" FinancialSummary: $ref: "../order/spec/definitions/financial-summary.yaml" UpsellOrder: $ref: "../order/spec/definitions/upsell-order.yaml" Customer: $ref: "../order/spec/definitions/customer.yaml" Kiosk: $ref: "../order/spec/definitions/kiosk.yaml" KioskVoucher: $ref: "../order/spec/definitions/kiosk-voucher.yaml" Site: $ref: "../order/spec/definitions/site.yaml" Address: $ref: "../order/spec/definitions/address.yaml" AlohaSettings: $ref: "../order/spec/definitions/aloha-settings.yaml" MyCentralSettings: $ref: "../order/spec/definitions/mycentral-settings.yaml" CloudBridgeSettings: $ref: "../order/spec/definitions/cloud-bridge-settings.yaml" Cart: $ref: "../order/spec/definitions/cart.yaml" AlohaCart: $ref: "../order/spec/definitions/aloha-cart.yaml" CartItem: $ref: "../order/spec/definitions/cart-item.yaml" AlohaCartItem: $ref: "../order/spec/definitions/aloha-cart-item.yaml" CartItemProduct: $ref: "../order/spec/definitions/cart-item-product.yaml" AlohaCartItemProduct: $ref: "../order/spec/definitions/aloha-cart-item-product.yaml" Customisation: $ref: "../order/spec/definitions/customisation.yaml" AlohaCustomisation: $ref: "../order/spec/definitions/aloha-customisation.yaml" ComboProduct: $ref: "../order/spec/definitions/combo-product.yaml" AlohaComboProduct: $ref: "../order/spec/definitions/aloha-combo-product.yaml" AlohaCartItemProviderData: $ref: "../order/spec/definitions/aloha-cart-item-provider-data.yaml" AlohaCustomisationProviderData: $ref: "../order/spec/definitions/aloha-customisation-provider-data.yaml" AlohaComboProductProviderData: $ref: "../order/spec/definitions/aloha-combo-product-provider-data.yaml" AlohaLoyaltySettings: $ref: "../order/spec/definitions/aloha-loyalty-settings.yaml" Receipt: $ref: "../order/spec/definitions/receipt.yaml" MessagesArray: $ref: "../order/spec/definitions/messages-array.yaml"