UNPKG

migros-api-wrapper

Version:

Making the api of migros more accessible to the public.

66 lines 2.28 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.migrosApiPaths = void 0; /* eslint-disable @typescript-eslint/naming-convention */ const defaultMigrosApiPath = "https://www.migros.ch"; const defaultMigrosAccountApiPath = "https://account.migros.ch"; const defaultMigustoApiPath = "https://migusto.migros.ch"; exports.migrosApiPaths = { ["onesearch-oc-seapi"]: { public: { v3: defaultMigrosApiPath + "/onesearch-oc-seaapi/public/v3", v4: defaultMigrosApiPath + "/onesearch-oc-seaapi/public/v4", v5: defaultMigrosApiPath + "/onesearch-oc-seaapi/public/v5", }, }, ["product-display"]: { public: { v1: defaultMigrosApiPath + "/product-display/public/v1", v2: defaultMigrosApiPath + "/product-display/public/v2", v4: defaultMigrosApiPath + "/product-display/public/v4", }, }, marketablestock: { public: { v1: defaultMigrosApiPath + "/marketablestock/public/v1/api/marketablestocks", v2: defaultMigrosApiPath + "/marketablestock/public/v2/api/marketablestocks", }, }, store: { public: { v1: defaultMigrosApiPath + "/store/public/v1/stores", }, }, ["store-availability"]: { public: { v2: defaultMigrosApiPath + "/store-availability/public/v2/availabilities", }, }, authentication: { public: { v1: defaultMigrosApiPath + "/authentication/public/v1/api", }, }, migusto: { recipes: { v1: defaultMigustoApiPath + "/.rest/recipes/v1", }, recipeProducts: { v1: defaultMigustoApiPath + "/.rest/recipeProducts/v1", }, recipeDetails: defaultMigustoApiPath, }, login: "https://login.migros.ch", cumulus: "https://cumulus.migros.ch", account: { purchases: { receipts: defaultMigrosAccountApiPath + "/ma/api/user/receipt", }, }, "mobile-app": "https://mobile-app.migros.ch", "mobile-api-gateway": "https://mobile-api-gateway.shop.migros.ch", "subito-go": "https://subito-go.migros.ch", }; //# sourceMappingURL=apiPaths.js.map