@escapenavigator/services 1.6.32 → 1.6.33

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.
@@ -36,6 +36,7 @@ import { getOne } from './get-one';
36
36
  import { query } from './query';
37
37
  import { remove } from './remove';
38
38
  import { update } from './update';
39
+ import { updateCrmVerification } from './update-crm-verification';
39
40
  import { updatePartnerProgram } from './update-partner-program';
40
41
  import { updateStep } from './update-step';
41
42
  declare type ApiDeclaration = {
@@ -53,6 +54,7 @@ declare type ApiDeclaration = {
53
54
  getAllCrm: typeof getAllCrm;
54
55
  createOtherCrm: typeof createOtherCrm;
55
56
  updateProfileCrm: typeof updateProfileCrm;
57
+ updateCrmVerification: typeof updateCrmVerification;
56
58
  resyncBookeo: typeof resyncBookeo;
57
59
  getBookeoInfo: typeof getBookeoInfo;
58
60
  getBookeoIntegrationLink: typeof getBookeoIntegrationLink;
@@ -40,12 +40,14 @@ var get_one_1 = require("./get-one");
40
40
  var query_1 = require("./query");
41
41
  var remove_1 = require("./remove");
42
42
  var update_1 = require("./update");
43
+ var update_crm_verification_1 = require("./update-crm-verification");
43
44
  var update_partner_program_1 = require("./update-partner-program");
44
45
  var update_step_1 = require("./update-step");
45
46
  exports.profilesApiDeclaration = {
46
47
  createContact: create_contact_1.createContact,
47
48
  removeContact: remove_contact_1.removeContact,
48
49
  updateProfileCrm: update_profile_crm_1.updateProfileCrm,
50
+ updateCrmVerification: update_crm_verification_1.updateCrmVerification,
49
51
  updatePartnerProgram: update_partner_program_1.updatePartnerProgram,
50
52
  queryActions: query_actions_1.queryActions,
51
53
  queryEmails: query_emails_1.queryEmails,
@@ -0,0 +1,7 @@
1
+ import { CrmVerificationEnum } from '@escapenavigator/types/dist/profile/enum/crm-verifiaction.enum';
2
+ import { ProfileRO } from '@escapenavigator/types/dist/profile/profile.ro';
3
+ import { ApiMethodDeclaration } from '..';
4
+ declare type ParamsData = CrmVerificationEnum;
5
+ declare type ResponseData = ProfileRO;
6
+ export declare const updateCrmVerification: ApiMethodDeclaration<ParamsData, ResponseData>;
7
+ export {};
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.updateCrmVerification = void 0;
4
+ var updateCrmVerification = function (status) { return ({
5
+ url: "/profiles/crm-verification/".concat(status),
6
+ method: 'PATCH',
7
+ }); };
8
+ exports.updateCrmVerification = updateCrmVerification;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@escapenavigator/services",
3
- "version": "1.6.32",
3
+ "version": "1.6.33",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -12,10 +12,10 @@
12
12
  "scripts": {
13
13
  "build": "rm -rf dist && tsc --project tsconfig.json"
14
14
  },
15
- "gitHead": "f3e49c6003f89cbf9faaf6968d90c4e1ccaf4c61",
15
+ "gitHead": "4859034b57cf39cebaf1f64716e73f63712dd4b6",
16
16
  "dependencies": {
17
- "@escapenavigator/types": "^1.6.30",
18
- "@escapenavigator/utils": "^1.6.30",
17
+ "@escapenavigator/types": "^1.6.31",
18
+ "@escapenavigator/utils": "^1.6.31",
19
19
  "axios": "^0.21.4",
20
20
  "class-transformer": "^0.5.1",
21
21
  "class-validator": "^0.13.1",