@escapenavigator/services 1.4.45 → 1.4.49
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.
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { WidgetOpenApiRO } from '@escapenavigator/types/dist/widget-openapi/widget-openapi.ro';
|
|
2
|
+
import { ApiMethodDeclaration } from '..';
|
|
3
|
+
/** Questroom ID виджета */
|
|
4
|
+
declare type ParamsData = string;
|
|
5
|
+
declare type ResponseData = WidgetOpenApiRO;
|
|
6
|
+
export declare const getAgregatorInfo: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
7
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getAgregatorInfo = void 0;
|
|
4
|
+
var getAgregatorInfo = function (questroomId) { return ({
|
|
5
|
+
url: "/widget/openapi/agregator-info/".concat(questroomId),
|
|
6
|
+
method: 'GET',
|
|
7
|
+
}); };
|
|
8
|
+
exports.getAgregatorInfo = getAgregatorInfo;
|
|
@@ -4,6 +4,7 @@ import { createReview } from './create-review';
|
|
|
4
4
|
import { findCertificate } from './find-certificate';
|
|
5
5
|
import { findCertificatesale } from './find-certificatesale';
|
|
6
6
|
import { findOrder } from './find-order';
|
|
7
|
+
import { getAgregatorInfo } from './get-agreagator-info';
|
|
7
8
|
import { getCertificates } from './get-certificates';
|
|
8
9
|
import { getCertificatesForAgregator } from './get-certificates-for-agregator';
|
|
9
10
|
import { getQuestroom } from './get-questroom';
|
|
@@ -13,6 +14,7 @@ import { getWidgetInfo } from './get-widget-info';
|
|
|
13
14
|
import { daily } from './widget-daily';
|
|
14
15
|
import { weekly } from './widget-weekly';
|
|
15
16
|
declare type ApiDeclaration = {
|
|
17
|
+
getAgregatorInfo: typeof getAgregatorInfo;
|
|
16
18
|
findCertificatesale: typeof findCertificatesale;
|
|
17
19
|
findOrder: typeof findOrder;
|
|
18
20
|
getCertificates: typeof getCertificates;
|
|
@@ -7,6 +7,7 @@ var create_review_1 = require("./create-review");
|
|
|
7
7
|
var find_certificate_1 = require("./find-certificate");
|
|
8
8
|
var find_certificatesale_1 = require("./find-certificatesale");
|
|
9
9
|
var find_order_1 = require("./find-order");
|
|
10
|
+
var get_agreagator_info_1 = require("./get-agreagator-info");
|
|
10
11
|
var get_certificates_1 = require("./get-certificates");
|
|
11
12
|
var get_certificates_for_agregator_1 = require("./get-certificates-for-agregator");
|
|
12
13
|
var get_questroom_1 = require("./get-questroom");
|
|
@@ -17,6 +18,7 @@ var widget_daily_1 = require("./widget-daily");
|
|
|
17
18
|
var widget_weekly_1 = require("./widget-weekly");
|
|
18
19
|
exports.widgetsOpenApiDeclaration = {
|
|
19
20
|
getQuestrooms: get_questrooms_1.getQuestrooms,
|
|
21
|
+
getAgregatorInfo: get_agreagator_info_1.getAgregatorInfo,
|
|
20
22
|
findCertificatesale: find_certificatesale_1.findCertificatesale,
|
|
21
23
|
findOrder: find_order_1.findOrder,
|
|
22
24
|
getCertificates: get_certificates_1.getCertificates,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@escapenavigator/services",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.49",
|
|
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": "92c19606aae2175c912ecd693f87080a5b24d6fc",
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@escapenavigator/types": "^1.4.
|
|
17
|
+
"@escapenavigator/types": "^1.4.49",
|
|
18
18
|
"@paypal/react-paypal-js": "^7.8.3",
|
|
19
19
|
"axios": "^0.21.4",
|
|
20
20
|
"class-transformer": "^0.5.1",
|