@escapenavigator/types 1.4.48 → 1.4.50
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/agb/agb-type.enum.d.ts +7 -0
- package/dist/agb/agb-type.enum.js +11 -0
- package/dist/agb/agb.ro.d.ts +4 -0
- package/dist/agb/create-inside-agb.dto.d.ts +7 -0
- package/dist/agb/create-inside-agb.dto.js +35 -0
- package/dist/agb/get-for-order-service.dto.d.ts +5 -0
- package/dist/agb/get-for-order-service.dto.js +28 -0
- package/dist/agb/update-agb.dto.js +2 -0
- package/dist/agb/update-inside-agb.dto.d.ts +7 -0
- package/dist/agb/update-inside-agb.dto.js +35 -0
- package/dist/shared/enum/countries.enum.d.ts +4 -4
- package/dist/shared/enum/countries.enum.js +4 -4
- package/dist/transaction/enum/transaction-type.enum.d.ts +1 -2
- package/dist/transaction/enum/transaction-type.enum.js +0 -2
- package/dist/transaction/query-transaction.dto.d.ts +10 -0
- package/dist/transaction/query-transaction.dto.js +50 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/widget-openapi/widget-openapi-certificate.ro.d.ts +1 -0
- package/dist/widget-openapi/widget-openapi-order.ro.d.ts +1 -0
- package/dist/widget-openapi/widget-openapi.ro.d.ts +10 -3
- package/dist/widget-orders/widget-orders-create-payment.ro.d.ts +1 -0
- package/package.json +2 -2
|
@@ -5,12 +5,19 @@ import { UpsellingResponseObject } from '../upselling/upselling.ro';
|
|
|
5
5
|
import { WidgetTypeEnum } from '../widget/enum/widget-type.enum';
|
|
6
6
|
import { WidgetOpenApiCertificateCardRO } from './widget-openapi-certificate-card.ro';
|
|
7
7
|
import { WidgetOpenApiQuestroomRO } from './widget-openapi-questroom.ro';
|
|
8
|
+
declare type Upsellings = Array<Pick<UpsellingResponseObject, 'id' | 'allQuestrooms' | 'questroomsIds' | 'price' | 'title' | 'description'>>;
|
|
8
9
|
declare type WIDGET_BUTTON = {
|
|
9
10
|
type: WidgetTypeEnum.WIDGET_BUTTON;
|
|
10
11
|
questrooms: WidgetOpenApiQuestroomRO[];
|
|
11
12
|
certificates: WidgetOpenApiCertificateCardRO[];
|
|
12
13
|
upsellings: Array<Pick<UpsellingResponseObject, 'id' | 'allQuestrooms' | 'questroomsIds' | 'price' | 'title' | 'description'>>;
|
|
13
14
|
};
|
|
15
|
+
declare type AGREGATOR = {
|
|
16
|
+
type: 'AGREGATOR';
|
|
17
|
+
questrooms: WidgetOpenApiQuestroomRO[];
|
|
18
|
+
certificates: WidgetOpenApiCertificateCardRO[];
|
|
19
|
+
upsellings: Upsellings;
|
|
20
|
+
};
|
|
14
21
|
declare type ALL_CERTIFICATES = {
|
|
15
22
|
type: WidgetTypeEnum.ALL_CERTIFICATES;
|
|
16
23
|
questrooms: undefined;
|
|
@@ -21,13 +28,13 @@ declare type ONE_QUESTROOM = {
|
|
|
21
28
|
type: WidgetTypeEnum.ONE_QUESTROOM;
|
|
22
29
|
questrooms: WidgetOpenApiQuestroomRO[];
|
|
23
30
|
certificates: WidgetOpenApiCertificateCardRO[];
|
|
24
|
-
upsellings:
|
|
31
|
+
upsellings: Upsellings;
|
|
25
32
|
};
|
|
26
33
|
declare type ALL_QUESTROOM = {
|
|
27
34
|
type: WidgetTypeEnum.ALL_QUESTROOM;
|
|
28
35
|
questrooms: WidgetOpenApiQuestroomRO[];
|
|
29
36
|
certificates: WidgetOpenApiCertificateCardRO[];
|
|
30
|
-
upsellings:
|
|
37
|
+
upsellings: Upsellings;
|
|
31
38
|
};
|
|
32
39
|
export declare type WidgetOpenApiRO = {
|
|
33
40
|
color: string;
|
|
@@ -38,5 +45,5 @@ export declare type WidgetOpenApiRO = {
|
|
|
38
45
|
language: Languages;
|
|
39
46
|
country: CountriesEnum;
|
|
40
47
|
currency: ProfileCurrencyEnum;
|
|
41
|
-
} & (WIDGET_BUTTON | ALL_QUESTROOM | ONE_QUESTROOM | ALL_CERTIFICATES);
|
|
48
|
+
} & (WIDGET_BUTTON | ALL_QUESTROOM | ONE_QUESTROOM | ALL_CERTIFICATES | AGREGATOR);
|
|
42
49
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@escapenavigator/types",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.50",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"class-transformer": "^0.5.1",
|
|
21
21
|
"class-validator": "^0.13.1"
|
|
22
22
|
},
|
|
23
|
-
"gitHead": "
|
|
23
|
+
"gitHead": "129b63c55b67635b9aca4a0348962214e92ad054",
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"@types/validator": "13.0.0",
|
|
26
26
|
"alphakit-presets-lint": "^1.0.0",
|