@escapenavigator/services 1.4.59 → 1.4.60
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.
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import { WidgetOpenapiGetWidgetInfoDto } from '@escapenavigator/types/dist/widget-openapi/widget-openapi-get-widgget-info.dto';
|
|
1
2
|
import { WidgetOpenApiRO } from '@escapenavigator/types/dist/widget-openapi/widget-openapi.ro';
|
|
2
3
|
import { ApiMethodDeclaration } from '..';
|
|
3
4
|
/** UID виджета */
|
|
4
|
-
declare type ParamsData =
|
|
5
|
+
declare type ParamsData = WidgetOpenapiGetWidgetInfoDto;
|
|
5
6
|
declare type ResponseData = WidgetOpenApiRO;
|
|
6
7
|
export declare const getWidgetInfo: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
7
8
|
export {};
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getWidgetInfo = void 0;
|
|
4
|
-
var getWidgetInfo = function (
|
|
5
|
-
url:
|
|
4
|
+
var getWidgetInfo = function (params) { return ({
|
|
5
|
+
url: '/widget/openapi/info',
|
|
6
6
|
method: 'GET',
|
|
7
|
+
params: params,
|
|
7
8
|
}); };
|
|
8
9
|
exports.getWidgetInfo = getWidgetInfo;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@escapenavigator/services",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.60",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -12,9 +12,9 @@
|
|
|
12
12
|
"scripts": {
|
|
13
13
|
"build": "rm -rf dist && tsc --project tsconfig.json"
|
|
14
14
|
},
|
|
15
|
-
"gitHead": "
|
|
15
|
+
"gitHead": "b43072e560d23222ef400917049c67905f6f76c0",
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@escapenavigator/types": "^1.4.
|
|
17
|
+
"@escapenavigator/types": "^1.4.60",
|
|
18
18
|
"@paypal/react-paypal-js": "^7.8.3",
|
|
19
19
|
"axios": "^0.21.4",
|
|
20
20
|
"class-transformer": "^0.5.1",
|