sr-npm 1.7.421 → 1.7.423

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -131,5 +131,6 @@ async function getApiKeys() {
131
131
  module.exports = {
132
132
  fetchPositionsFromSRAPI,
133
133
  fetchJobDescription,
134
- getTokenFromCMS
134
+ getTokenFromCMS,
135
+ makeSmartRecruitersRequest
135
136
  };
package/backend/index.js CHANGED
@@ -3,4 +3,5 @@ module.exports = {
3
3
  ...require('./queries'),
4
4
  ...require('./fetchPositionsFromSRAPI'),
5
5
  ...require('./consts'),
6
+ ...require('./data'),
6
7
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sr-npm",
3
- "version": "1.7.421",
3
+ "version": "1.7.423",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/tests/consts.js CHANGED
@@ -1,7 +1,12 @@
1
1
  const COLLECTIONS = {
2
2
  TEMPLATE_TYPE: 'templateType',
3
3
  }
4
+ const TEMPLATE_TYPE = {
5
+ INTERNAL: 'INTERNAL',
6
+ EXTERNAL: 'PUBLIC',
7
+ }
4
8
 
5
9
  module.exports = {
6
- COLLECTIONS
10
+ COLLECTIONS,
11
+ TEMPLATE_TYPE
7
12
  }
@@ -1,7 +1,7 @@
1
1
  const { executeApiRequest } = require('tests-utils');
2
2
  const { items: wixData } = require('@wix/data');
3
3
  const { clearCollections } = require('./testsUtils');
4
- const { TEMPLATE_TYPE } = require('../backend/consts');
4
+ const { TEMPLATE_TYPE } = require('./consts');
5
5
  const { COLLECTIONS } = require('./consts');
6
6
 
7
7
  beforeAll(async () => {