"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.StoreSearchResult = void 0;

var _propTypes = _interopRequireDefault(require("prop-types"));

var _index = require("./index");

/* * *  *  * *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  * */

/* Copyright (c) 2018 Mobify Research & Development Inc. All rights reserved. */

/* * *  *  * *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  * */
const StoreSearchResult = {
  count: _index.Integer,
  start: _index.Integer,
  total: _index.Integer,
  stores: _propTypes.default.arrayOf(_propTypes.default.shape(_index.Store)).isRequired
  /**
   * @memberOf module:@mobify/commerce-integrations/dist/types
   * @typedef {Object} StoreSearchResult
   * @property {module:@mobify/commerce-integrations/dist/types.Integer} count The number of stores returned.
   * @property {module:@mobify/commerce-integrations/dist/types.Integer} start A zero-based index page number.
   * @property {module:@mobify/commerce-integrations/dist/types.Integer} total The total number of search hits.
   * @property {Array<module:@mobify/commerce-integrations/dist/types.Store>} stores The list of stores returned.
   */

};
exports.StoreSearchResult = StoreSearchResult;