@escapenavigator/services 1.6.31 → 1.6.32
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 +0 -2
- package/dist/api/profiles-api/index.js +0 -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/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';
|
|
@@ -67,7 +66,6 @@ declare type ApiDeclaration = {
|
|
|
67
66
|
paginateBills: typeof paginateBills;
|
|
68
67
|
getPrices: typeof getPrices;
|
|
69
68
|
updateSubscription: typeof updateSubscription;
|
|
70
|
-
getPaymentSettings: typeof getPaymentSettings;
|
|
71
69
|
createPaymentMethodSession: typeof createPaymentMethodSession;
|
|
72
70
|
getProfileInvoices: typeof getProfileInvoices;
|
|
73
71
|
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");
|
|
@@ -69,7 +68,6 @@ exports.profilesApiDeclaration = {
|
|
|
69
68
|
getSubscriptionInfo: get_subscription_info_1.getSubscriptionInfo,
|
|
70
69
|
getPrices: get_prices_1.getPrices,
|
|
71
70
|
updateCurrent: update_current_1.updateCurrent,
|
|
72
|
-
getPaymentSettings: get_payment_settings_1.getPaymentSettings,
|
|
73
71
|
paginateBills: paginate_bills_1.paginateBills,
|
|
74
72
|
getProfileInvoices: get_profile_invoices_1.getProfileInvoices,
|
|
75
73
|
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 {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@escapenavigator/services",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.32",
|
|
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": "f3e49c6003f89cbf9faaf6968d90c4e1ccaf4c61",
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@escapenavigator/types": "^1.6.
|
|
18
|
-
"@escapenavigator/utils": "^1.6.
|
|
17
|
+
"@escapenavigator/types": "^1.6.30",
|
|
18
|
+
"@escapenavigator/utils": "^1.6.30",
|
|
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;
|