All Downloads are FREE. Search and download functionalities are using the official Maven repository.

package.cjs.cypress-utils.constants.routes.js Maven / Gradle / Ivy

Go to download

A package encapsulating common code across neeto projects including initializers, utility functions, common components and hooks and so on.

There is a newer version: 4.12.3
Show newest version
"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.urlPaths = exports.requestApis = void 0;
var _common = require("../utils/common");
var allPath = function allPath() {
  return "".concat(Cypress.config("baseUrl"), "/**");
};
var tld = _common.env.isProduction ? "com" : "net";
var requestApis = {
  countries: (0, _common.getUrl)("countries"),
  signUp: (0, _common.getUrl)("signups/**"),
  subdomainAvailability: (0, _common.getUrl)("subdomain_availability/**"),
  teamMembers: {
    all: "/team_members*/**",
    bulkUpdate: "/team_members/teams/bulk_update",
    index: "/team_members/teams",
    show: function show(id) {
      return "/team_members/teams/".concat(id);
    }
  },
  allChatPath: "https://*.neetochat.".concat(tld).concat((0, _common.getUrl)("**")),
  myProfilePath: function myProfilePath(subdomain) {
    return "https://".concat(subdomain, ".neetoauth.").concat(tld, "/my/profile");
  },
  settingsPath: function settingsPath(subdomain) {
    return "https://".concat(subdomain, ".neetoauth.").concat(tld, "/settings");
  }
};
exports.requestApis = requestApis;
var urlPaths = {
  members: "/members"
};
exports.urlPaths = urlPaths;
Object.defineProperty(requestApis, "allPath", {
  get: allPath
});
//# sourceMappingURL=routes.js.map




© 2015 - 2024 Weber Informatics LLC | Privacy Policy