@escapenavigator/services 1.6.31 → 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.
- package/dist/api/profiles-api/index.d.ts +2 -2
- package/dist/api/profiles-api/index.js +2 -2
- package/dist/api/profiles-api/subscription/get-subscription-info.d.ts +2 -2
- package/dist/api/profiles-api/subscription/update-subscription.d.ts +2 -2
- package/dist/api/profiles-api/update-crm-verification.d.ts +7 -0
- package/dist/api/profiles-api/update-crm-verification.js +8 -0
- package/package.json +4 -4
- package/dist/api/profiles-api/subscription/get-payment-settings.d.ts +0 -6
- package/dist/api/profiles-api/subscription/get-payment-settings.js +0 -8
|
@@ -25,7 +25,6 @@ import { getProfileFilters } from './other-crm/get-profile-filters';
|
|
|
25
25
|
import { removeProfileCrm } from './other-crm/remove-profile-crm';
|
|
26
26
|
import { updateProfileCrm } from './other-crm/update-profile-crm';
|
|
27
27
|
import { createPaymentMethodSession } from './subscription/create-payment-method-session';
|
|
28
|
-
import { getPaymentSettings } from './subscription/get-payment-settings';
|
|
29
28
|
import { getPrices } from './subscription/get-prices';
|
|
30
29
|
import { getProfileInvoices } from './subscription/get-profile-invoices';
|
|
31
30
|
import { getSubscriptionInfo } from './subscription/get-subscription-info';
|
|
@@ -37,6 +36,7 @@ import { getOne } from './get-one';
|
|
|
37
36
|
import { query } from './query';
|
|
38
37
|
import { remove } from './remove';
|
|
39
38
|
import { update } from './update';
|
|
39
|
+
import { updateCrmVerification } from './update-crm-verification';
|
|
40
40
|
import { updatePartnerProgram } from './update-partner-program';
|
|
41
41
|
import { updateStep } from './update-step';
|
|
42
42
|
declare type ApiDeclaration = {
|
|
@@ -54,6 +54,7 @@ declare type ApiDeclaration = {
|
|
|
54
54
|
getAllCrm: typeof getAllCrm;
|
|
55
55
|
createOtherCrm: typeof createOtherCrm;
|
|
56
56
|
updateProfileCrm: typeof updateProfileCrm;
|
|
57
|
+
updateCrmVerification: typeof updateCrmVerification;
|
|
57
58
|
resyncBookeo: typeof resyncBookeo;
|
|
58
59
|
getBookeoInfo: typeof getBookeoInfo;
|
|
59
60
|
getBookeoIntegrationLink: typeof getBookeoIntegrationLink;
|
|
@@ -67,7 +68,6 @@ declare type ApiDeclaration = {
|
|
|
67
68
|
paginateBills: typeof paginateBills;
|
|
68
69
|
getPrices: typeof getPrices;
|
|
69
70
|
updateSubscription: typeof updateSubscription;
|
|
70
|
-
getPaymentSettings: typeof getPaymentSettings;
|
|
71
71
|
createPaymentMethodSession: typeof createPaymentMethodSession;
|
|
72
72
|
getProfileInvoices: typeof getProfileInvoices;
|
|
73
73
|
updateStep: typeof updateStep;
|
|
@@ -28,7 +28,6 @@ var get_profile_filters_1 = require("./other-crm/get-profile-filters");
|
|
|
28
28
|
var remove_profile_crm_1 = require("./other-crm/remove-profile-crm");
|
|
29
29
|
var update_profile_crm_1 = require("./other-crm/update-profile-crm");
|
|
30
30
|
var create_payment_method_session_1 = require("./subscription/create-payment-method-session");
|
|
31
|
-
var get_payment_settings_1 = require("./subscription/get-payment-settings");
|
|
32
31
|
var get_prices_1 = require("./subscription/get-prices");
|
|
33
32
|
var get_profile_invoices_1 = require("./subscription/get-profile-invoices");
|
|
34
33
|
var get_subscription_info_1 = require("./subscription/get-subscription-info");
|
|
@@ -41,12 +40,14 @@ var get_one_1 = require("./get-one");
|
|
|
41
40
|
var query_1 = require("./query");
|
|
42
41
|
var remove_1 = require("./remove");
|
|
43
42
|
var update_1 = require("./update");
|
|
43
|
+
var update_crm_verification_1 = require("./update-crm-verification");
|
|
44
44
|
var update_partner_program_1 = require("./update-partner-program");
|
|
45
45
|
var update_step_1 = require("./update-step");
|
|
46
46
|
exports.profilesApiDeclaration = {
|
|
47
47
|
createContact: create_contact_1.createContact,
|
|
48
48
|
removeContact: remove_contact_1.removeContact,
|
|
49
49
|
updateProfileCrm: update_profile_crm_1.updateProfileCrm,
|
|
50
|
+
updateCrmVerification: update_crm_verification_1.updateCrmVerification,
|
|
50
51
|
updatePartnerProgram: update_partner_program_1.updatePartnerProgram,
|
|
51
52
|
queryActions: query_actions_1.queryActions,
|
|
52
53
|
queryEmails: query_emails_1.queryEmails,
|
|
@@ -69,7 +70,6 @@ exports.profilesApiDeclaration = {
|
|
|
69
70
|
getSubscriptionInfo: get_subscription_info_1.getSubscriptionInfo,
|
|
70
71
|
getPrices: get_prices_1.getPrices,
|
|
71
72
|
updateCurrent: update_current_1.updateCurrent,
|
|
72
|
-
getPaymentSettings: get_payment_settings_1.getPaymentSettings,
|
|
73
73
|
paginateBills: paginate_bills_1.paginateBills,
|
|
74
74
|
getProfileInvoices: get_profile_invoices_1.getProfileInvoices,
|
|
75
75
|
createPaymentMethodSession: create_payment_method_session_1.createPaymentMethodSession,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { SubscriptionRO } from '@escapenavigator/types/dist/profile/subscription.ro';
|
|
2
2
|
import { ApiMethodDeclaration } from '../..';
|
|
3
3
|
declare type ParamsData = undefined;
|
|
4
|
-
declare type ResponseData =
|
|
4
|
+
declare type ResponseData = SubscriptionRO;
|
|
5
5
|
export declare const getSubscriptionInfo: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
6
6
|
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ProfileSubscriptionTypeEnum } from '@escapenavigator/types/dist/profile/enum/profile-subscription-type.enum';
|
|
2
|
-
import {
|
|
2
|
+
import { SubscriptionRO } from '@escapenavigator/types/dist/profile/subscription.ro';
|
|
3
3
|
import { ApiMethodDeclaration } from '../..';
|
|
4
4
|
declare type ParamsData = ProfileSubscriptionTypeEnum;
|
|
5
|
-
declare type ResponseData =
|
|
5
|
+
declare type ResponseData = SubscriptionRO;
|
|
6
6
|
export declare const updateSubscription: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
7
7
|
export {};
|
|
@@ -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.
|
|
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": "
|
|
15
|
+
"gitHead": "4859034b57cf39cebaf1f64716e73f63712dd4b6",
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@escapenavigator/types": "^1.6.
|
|
18
|
-
"@escapenavigator/utils": "^1.6.
|
|
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",
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { PaymentSettingsRO } from '@escapenavigator/types/dist/profile/payment-settings.ro';
|
|
2
|
-
import { ApiMethodDeclaration } from '../..';
|
|
3
|
-
declare type ParamsData = undefined;
|
|
4
|
-
declare type ResponseData = PaymentSettingsRO;
|
|
5
|
-
export declare const getPaymentSettings: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
6
|
-
export {};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getPaymentSettings = void 0;
|
|
4
|
-
var getPaymentSettings = function () { return ({
|
|
5
|
-
url: '/subscription/payment-settings/',
|
|
6
|
-
method: 'GET',
|
|
7
|
-
}); };
|
|
8
|
-
exports.getPaymentSettings = getPaymentSettings;
|