@escapenavigator/services 1.6.8 → 1.6.10
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 +1 -5
- package/dist/api/profiles-api/index.js +1 -5
- package/dist/api/profiles-api/{customization/initial-customization.d.ts → initial-customization.d.ts} +1 -1
- package/dist/api/profiles-api/{customization/initial-customization.js → initial-customization.js} +1 -1
- package/dist/api/widgets-orders/cancel-order.d.ts +1 -1
- package/dist/api/widgets-orders/certificate-payment.d.ts +2 -2
- package/dist/api/widgets-orders/find-certificate.d.ts +1 -1
- package/dist/api/widgets-orders/find-order.d.ts +1 -1
- package/dist/api/widgets-orders/order-payment.d.ts +2 -2
- package/package.json +4 -4
- package/dist/api/profiles-api/customization/get-customization.d.ts +0 -7
- package/dist/api/profiles-api/customization/get-customization.js +0 -8
- package/dist/api/profiles-api/customization/update-customization.d.ts +0 -7
- package/dist/api/profiles-api/customization/update-customization.js +0 -9
|
@@ -10,9 +10,6 @@ import { updateCrossSale } from './cross-sale/update-cross-sale';
|
|
|
10
10
|
import { current } from './current/current';
|
|
11
11
|
import { finalizeCurrent } from './current/finalize-current';
|
|
12
12
|
import { updateCurrent } from './current/update-current';
|
|
13
|
-
import { getCustomization } from './customization/get-customization';
|
|
14
|
-
import { initialCustomization } from './customization/initial-customization';
|
|
15
|
-
import { updateCustomization } from './customization/update-customization';
|
|
16
13
|
import { createOtherCrm } from './other-crm/create-other-crm';
|
|
17
14
|
import { getAllCrm } from './other-crm/get-all-crm';
|
|
18
15
|
import { getProfileFilters } from './other-crm/get-profile-filters';
|
|
@@ -26,6 +23,7 @@ import { paginateBills } from './subscription/paginate-bills';
|
|
|
26
23
|
import { create } from './create';
|
|
27
24
|
import { getBySlugForVerify } from './get-by-slug-for-verify';
|
|
28
25
|
import { getOne } from './get-one';
|
|
26
|
+
import { initialCustomization } from './initial-customization';
|
|
29
27
|
import { query } from './query';
|
|
30
28
|
import { remove } from './remove';
|
|
31
29
|
import { update } from './update';
|
|
@@ -61,8 +59,6 @@ declare type ApiDeclaration = {
|
|
|
61
59
|
getOne: typeof getOne;
|
|
62
60
|
current: typeof current;
|
|
63
61
|
getBySlugForVerify: typeof getBySlugForVerify;
|
|
64
|
-
getCustomization: typeof getCustomization;
|
|
65
|
-
updateCustomization: typeof updateCustomization;
|
|
66
62
|
};
|
|
67
63
|
export declare const profilesApiDeclaration: ApiDeclaration;
|
|
68
64
|
export {};
|
|
@@ -13,9 +13,6 @@ var update_cross_sale_1 = require("./cross-sale/update-cross-sale");
|
|
|
13
13
|
var current_1 = require("./current/current");
|
|
14
14
|
var finalize_current_1 = require("./current/finalize-current");
|
|
15
15
|
var update_current_1 = require("./current/update-current");
|
|
16
|
-
var get_customization_1 = require("./customization/get-customization");
|
|
17
|
-
var initial_customization_1 = require("./customization/initial-customization");
|
|
18
|
-
var update_customization_1 = require("./customization/update-customization");
|
|
19
16
|
var create_other_crm_1 = require("./other-crm/create-other-crm");
|
|
20
17
|
var get_all_crm_1 = require("./other-crm/get-all-crm");
|
|
21
18
|
var get_profile_filters_1 = require("./other-crm/get-profile-filters");
|
|
@@ -29,6 +26,7 @@ var paginate_bills_1 = require("./subscription/paginate-bills");
|
|
|
29
26
|
var create_1 = require("./create");
|
|
30
27
|
var get_by_slug_for_verify_1 = require("./get-by-slug-for-verify");
|
|
31
28
|
var get_one_1 = require("./get-one");
|
|
29
|
+
var initial_customization_1 = require("./initial-customization");
|
|
32
30
|
var query_1 = require("./query");
|
|
33
31
|
var remove_1 = require("./remove");
|
|
34
32
|
var update_1 = require("./update");
|
|
@@ -64,6 +62,4 @@ exports.profilesApiDeclaration = {
|
|
|
64
62
|
getOne: get_one_1.getOne,
|
|
65
63
|
current: current_1.current,
|
|
66
64
|
getBySlugForVerify: get_by_slug_for_verify_1.getBySlugForVerify,
|
|
67
|
-
updateCustomization: update_customization_1.updateCustomization,
|
|
68
|
-
getCustomization: get_customization_1.getCustomization,
|
|
69
65
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { InitialCustomizationDto } from '@escapenavigator/types/dist/profile/initial-cusomization.dto';
|
|
2
2
|
import { SuccessRO } from '@escapenavigator/types/dist/shared/success.ro';
|
|
3
|
-
import { ApiMethodDeclaration } from '
|
|
3
|
+
import { ApiMethodDeclaration } from '..';
|
|
4
4
|
declare type ParamsData = InitialCustomizationDto;
|
|
5
5
|
declare type ResponseData = SuccessRO;
|
|
6
6
|
export declare const initialCustomization: ApiMethodDeclaration<ParamsData, ResponseData>;
|
package/dist/api/profiles-api/{customization/initial-customization.js → initial-customization.js}
RENAMED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.initialCustomization = void 0;
|
|
4
4
|
var initialCustomization = function (data) { return ({
|
|
5
|
-
url: '/customization
|
|
5
|
+
url: '/profiles/init-customization',
|
|
6
6
|
method: 'POST',
|
|
7
7
|
data: data,
|
|
8
8
|
}); };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { WidgetOrderRO } from '@escapenavigator/types/dist/widget-
|
|
1
|
+
import { WidgetOrderRO } from '@escapenavigator/types/dist/widget-openapi/order-service-order.ro';
|
|
2
2
|
import { ApiMethodDeclaration } from '..';
|
|
3
3
|
declare type ParamsData = string;
|
|
4
4
|
declare type ResponseData = WidgetOrderRO;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { WidgetOrdersCreateCertificatePaymentDto } from '@escapenavigator/types/dist/widget-
|
|
2
|
-
import { WidgetOrdersCreatePaymentRO } from '@escapenavigator/types/dist/widget-
|
|
1
|
+
import { WidgetOrdersCreateCertificatePaymentDto } from '@escapenavigator/types/dist/widget-openapi/order-service-create-certificate-payment.dto';
|
|
2
|
+
import { WidgetOrdersCreatePaymentRO } from '@escapenavigator/types/dist/widget-openapi/order-service-create-payment.ro';
|
|
3
3
|
import { ApiMethodDeclaration } from '..';
|
|
4
4
|
declare type ParamsData = WidgetOrdersCreateCertificatePaymentDto;
|
|
5
5
|
declare type ResponseData = WidgetOrdersCreatePaymentRO;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { WidgetOrdersCertificateRO } from '@escapenavigator/types/dist/widget-
|
|
1
|
+
import { WidgetOrdersCertificateRO } from '@escapenavigator/types/dist/widget-openapi/order-service-certificate.ro';
|
|
2
2
|
import { ApiMethodDeclaration } from '..';
|
|
3
3
|
declare type ParamsData = string;
|
|
4
4
|
declare type ResponseData = WidgetOrdersCertificateRO;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { WidgetOrderRO } from '@escapenavigator/types/dist/widget-
|
|
1
|
+
import { WidgetOrderRO } from '@escapenavigator/types/dist/widget-openapi/order-service-order.ro';
|
|
2
2
|
import { ApiMethodDeclaration } from '..';
|
|
3
3
|
declare type ParamsData = string;
|
|
4
4
|
declare type ResponseData = WidgetOrderRO;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { WidgetOrdersCreateOrderPaymentDto } from '@escapenavigator/types/dist/widget-
|
|
2
|
-
import { WidgetOrdersCreatePaymentRO } from '@escapenavigator/types/dist/widget-
|
|
1
|
+
import { WidgetOrdersCreateOrderPaymentDto } from '@escapenavigator/types/dist/widget-openapi/order-service-create-order-payment.dto';
|
|
2
|
+
import { WidgetOrdersCreatePaymentRO } from '@escapenavigator/types/dist/widget-openapi/order-service-create-payment.ro';
|
|
3
3
|
import { ApiMethodDeclaration } from '..';
|
|
4
4
|
declare type ParamsData = WidgetOrdersCreateOrderPaymentDto;
|
|
5
5
|
declare type ResponseData = WidgetOrdersCreatePaymentRO;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@escapenavigator/services",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.10",
|
|
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": "5308bbbd10d4d2b2af3b2ca12848582cc796abce",
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@escapenavigator/types": "^1.6.
|
|
18
|
-
"@escapenavigator/utils": "^1.6.
|
|
17
|
+
"@escapenavigator/types": "^1.6.9",
|
|
18
|
+
"@escapenavigator/utils": "^1.6.9",
|
|
19
19
|
"axios": "^0.21.4",
|
|
20
20
|
"class-transformer": "^0.5.1",
|
|
21
21
|
"class-validator": "^0.13.1",
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { CustomizationRO } from '@escapenavigator/types/dist/profile/customization/customization.ro';
|
|
2
|
-
import { ApiMethodDeclaration } from '../..';
|
|
3
|
-
/** ID профиля */
|
|
4
|
-
declare type ParamsData = undefined;
|
|
5
|
-
declare type ResponseData = CustomizationRO;
|
|
6
|
-
export declare const getCustomization: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
7
|
-
export {};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { CustomizationRO } from '@escapenavigator/types/dist/profile/customization/customization.ro';
|
|
2
|
-
import { UpdateCustomizationDto } from '@escapenavigator/types/dist/profile/customization/update-customization.dto';
|
|
3
|
-
import { ApiMethodDeclaration } from '../..';
|
|
4
|
-
declare type ParamsData = UpdateCustomizationDto;
|
|
5
|
-
declare type ResponseData = CustomizationRO;
|
|
6
|
-
export declare const updateCustomization: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
7
|
-
export {};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.updateCustomization = void 0;
|
|
4
|
-
var updateCustomization = function (data) { return ({
|
|
5
|
-
url: '/customization',
|
|
6
|
-
method: 'PATCH',
|
|
7
|
-
data: data,
|
|
8
|
-
}); };
|
|
9
|
-
exports.updateCustomization = updateCustomization;
|