@qite/tide-client 1.0.62 → 1.0.65

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.
Files changed (35) hide show
  1. package/build/index.js +6366 -6364
  2. package/build/index.js.map +1 -1
  3. package/build/types/enums/service-type.d.ts +2 -0
  4. package/build/types/offer/booking-v2/request/booking-package-address.d.ts +14 -14
  5. package/build/types/offer/booking-v2/request/booking-package-book-request.d.ts +16 -16
  6. package/build/types/offer/booking-v2/request/booking-package-details-request.d.ts +14 -14
  7. package/build/types/offer/booking-v2/response/booking-package-allotment-info.d.ts +2 -0
  8. package/build/types/offer/booking-v2/response/booking-package-item.d.ts +28 -23
  9. package/build/types/offer/booking-v2/response/booking-travel-agent.d.ts +6 -6
  10. package/build/types/offer/booking-v2/response/index.d.ts +8 -8
  11. package/build/types/offer/booking-v2/shared/booking-package-availability.d.ts +7 -7
  12. package/build/types/offer/booking-v2/shared/booking-package-flight-meta-data-line.d.ts +16 -16
  13. package/build/types/offer/booking-v2/shared/booking-package-flight-meta-data.d.ts +9 -9
  14. package/build/types/offer/booking-v2/shared/booking-package-flight.d.ts +13 -13
  15. package/build/types/offer/booking-v2/shared/booking-package-room-option.d.ts +14 -14
  16. package/build/types/offer/booking-v2/shared/booking-package.d.ts +42 -42
  17. package/build/types/offer/booking-v2/shared/index.d.ts +19 -19
  18. package/build/utils/booking-v2-client.d.ts +42 -42
  19. package/package.json +56 -56
  20. package/src/types/enums/service-type.ts +2 -0
  21. package/src/types/offer/booking-v2/request/booking-package-address.ts +14 -14
  22. package/src/types/offer/booking-v2/request/booking-package-book-request.ts +18 -18
  23. package/src/types/offer/booking-v2/request/booking-package-details-request.ts +15 -15
  24. package/src/types/offer/booking-v2/response/booking-package-allotment-info.ts +2 -0
  25. package/src/types/offer/booking-v2/response/booking-package-item.ts +29 -24
  26. package/src/types/offer/booking-v2/response/booking-travel-agent.ts +6 -6
  27. package/src/types/offer/booking-v2/response/index.ts +8 -8
  28. package/src/types/offer/booking-v2/shared/booking-package-availability.ts +7 -7
  29. package/src/types/offer/booking-v2/shared/booking-package-flight-meta-data-line.ts +16 -16
  30. package/src/types/offer/booking-v2/shared/booking-package-flight-meta-data.ts +10 -10
  31. package/src/types/offer/booking-v2/shared/booking-package-flight.ts +14 -14
  32. package/src/types/offer/booking-v2/shared/booking-package-room-option.ts +14 -14
  33. package/src/types/offer/booking-v2/shared/booking-package.ts +50 -50
  34. package/src/types/offer/booking-v2/shared/index.ts +19 -19
  35. package/src/utils/booking-v2-client.ts +93 -93
@@ -23,4 +23,6 @@ export declare const ServiceType: {
23
23
  gift: number;
24
24
  rental: number;
25
25
  restaurant: number;
26
+ event: number;
27
+ training: number;
26
28
  };
@@ -1,14 +1,14 @@
1
- export interface BookingPackageAddress {
2
- name: string;
3
- street: string;
4
- number: string;
5
- box?: string;
6
- postalCode: string;
7
- location: string;
8
- country: string;
9
- mobilePhone?: string;
10
- phone?: string;
11
- email: string;
12
- vatNumber?: string;
13
- customerType?: number;
14
- }
1
+ export interface BookingPackageAddress {
2
+ name: string;
3
+ street: string;
4
+ number: string;
5
+ box?: string;
6
+ postalCode: string;
7
+ location: string;
8
+ country: string;
9
+ mobilePhone?: string;
10
+ phone?: string;
11
+ email: string;
12
+ vatNumber?: string;
13
+ customerType?: number;
14
+ }
@@ -1,16 +1,16 @@
1
- import { BookingPackage } from "../shared";
2
- import { BookingPackagePax } from "../shared/booking-package-pax";
3
- import { BookingPackageAddress } from "./booking-package-address";
4
- export interface BookingPackageBookRequest {
5
- saleType?: number;
6
- status: number;
7
- customStatusId?: number;
8
- package: BookingPackage;
9
- returnPaymentUrl?: boolean;
10
- redirectUrl?: string;
11
- calculateDeposit?: boolean;
12
- tagIds?: number[];
13
- address?: BookingPackageAddress;
14
- pax: BookingPackagePax[];
15
- nonTravelPax: BookingPackagePax[];
16
- }
1
+ import { BookingPackage } from "../shared";
2
+ import { BookingPackagePax } from "../shared/booking-package-pax";
3
+ import { BookingPackageAddress } from "./booking-package-address";
4
+ export interface BookingPackageBookRequest {
5
+ saleType?: number;
6
+ status: number;
7
+ customStatusId?: number;
8
+ package: BookingPackage;
9
+ returnPaymentUrl?: boolean;
10
+ redirectUrl?: string;
11
+ calculateDeposit?: boolean;
12
+ tagIds?: number[];
13
+ address?: BookingPackageAddress;
14
+ pax: BookingPackagePax[];
15
+ nonTravelPax: BookingPackagePax[];
16
+ }
@@ -1,14 +1,14 @@
1
- import { BookingPackageRequestRoom } from "../shared/booking-package-request-room";
2
- export interface BookingPackageDetailsRequest {
3
- catalogueId?: number;
4
- rooms: BookingPackageRequestRoom[];
5
- searchType: number;
6
- productCode: string;
7
- allotmentName?: string;
8
- tourCode?: string;
9
- fromDate: string;
10
- toDate: string;
11
- preNights?: number;
12
- postNights?: number;
13
- includeFlights?: boolean;
14
- }
1
+ import { BookingPackageRequestRoom } from "../shared/booking-package-request-room";
2
+ export interface BookingPackageDetailsRequest {
3
+ catalogueId?: number;
4
+ rooms: BookingPackageRequestRoom[];
5
+ searchType: number;
6
+ productCode: string;
7
+ allotmentName?: string;
8
+ tourCode?: string;
9
+ fromDate: string;
10
+ toDate: string;
11
+ preNights?: number;
12
+ postNights?: number;
13
+ includeFlights?: boolean;
14
+ }
@@ -1,7 +1,9 @@
1
1
  export interface BookingPackageAllotmentInfo {
2
2
  name: string;
3
3
  tourCode: string;
4
+ startDate: string;
4
5
  startTime: string;
6
+ endDate: string;
5
7
  endTime: string;
6
8
  totalPlaces: number;
7
9
  bookedPlaces: number;
@@ -1,23 +1,28 @@
1
- import { BookingPackageAllotmentInfo } from "./booking-package-allotment-info";
2
- export interface BookingPackageItem {
3
- accommodationCode: string;
4
- airportCode?: string;
5
- allotment: BookingPackageAllotmentInfo;
6
- averagePricePerPerson: number;
7
- catalogueId: number;
8
- code: string;
9
- fromDate: string;
10
- latitude: number;
11
- longitude: number;
12
- name: string;
13
- outwardFlightCode?: string;
14
- outwardFlightNumbers?: string[];
15
- price: number;
16
- regimeCode?: string;
17
- returnFlightCode?: string;
18
- returnFlightNumbers?: string[];
19
- tagIds: number[];
20
- toDate: string;
21
- type: number;
22
- includedServiceTypes: number[];
23
- }
1
+ import { BookingPackageAllotmentInfo } from "./booking-package-allotment-info";
2
+ export interface BookingPackageItem {
3
+ accommodationCode: string;
4
+ accommodationName?: string;
5
+ airportCode?: string;
6
+ allotment: BookingPackageAllotmentInfo;
7
+ averagePricePerPerson: number;
8
+ catalogueId: number;
9
+ code: string;
10
+ fromDate: string;
11
+ latitude: number;
12
+ longitude: number;
13
+ name: string;
14
+ outwardFlightCode?: string;
15
+ outwardFlightNumbers?: string[];
16
+ price: number;
17
+ regimeCode?: string;
18
+ returnFlightCode?: string;
19
+ returnFlightNumbers?: string[];
20
+ flightDescription?: string;
21
+ tagIds: number[];
22
+ toDate: string;
23
+ type: number;
24
+ includedServiceTypes: number[];
25
+ hotelStars?: string;
26
+ countyName?: string;
27
+ locationName?: string;
28
+ }
@@ -1,6 +1,6 @@
1
- export interface BookingTravelAgent {
2
- id: number;
3
- name: string;
4
- location: string;
5
- postalCode: string;
6
- }
1
+ export interface BookingTravelAgent {
2
+ id: number;
3
+ name: string;
4
+ location: string;
5
+ postalCode: string;
6
+ }
@@ -1,8 +1,8 @@
1
- export * from "./booking-package-allotment-info";
2
- export * from "./booking-package-dossier";
3
- export * from "./booking-package-item";
4
- export * from "./booking-price-detail";
5
- export * from "./booking-price-details";
6
- export * from "./booking-price-per-pax";
7
- export * from "./booking-travel-agent";
8
- export * from "./changed-line";
1
+ export * from "./booking-package-allotment-info";
2
+ export * from "./booking-package-dossier";
3
+ export * from "./booking-package-item";
4
+ export * from "./booking-price-detail";
5
+ export * from "./booking-price-details";
6
+ export * from "./booking-price-per-pax";
7
+ export * from "./booking-travel-agent";
8
+ export * from "./changed-line";
@@ -1,7 +1,7 @@
1
- export interface BookingPackageAvailability {
2
- code: string;
3
- count: number;
4
- fromDate: string;
5
- toDate: string;
6
- tourCode: string;
7
- }
1
+ export interface BookingPackageAvailability {
2
+ code: string;
3
+ count: number;
4
+ fromDate: string;
5
+ toDate: string;
6
+ tourCode: string;
7
+ }
@@ -1,16 +1,16 @@
1
- export interface BookingPackageFlightMetaDataLine {
2
- number: string;
3
- departureDate: Date;
4
- departureAirport: string;
5
- departureAirportDescription: string;
6
- departureTime: string;
7
- arrivalDate: Date;
8
- arrivalAirport: string;
9
- arrivalAirportDescription: string;
10
- arrivalTime: string;
11
- flightClass: string;
12
- travelClass: string;
13
- airline: string;
14
- operatingAirlineCode: string;
15
- operatingAirlineDescription: string;
16
- }
1
+ export interface BookingPackageFlightMetaDataLine {
2
+ number: string;
3
+ departureDate: Date;
4
+ departureAirport: string;
5
+ departureAirportDescription: string;
6
+ departureTime: string;
7
+ arrivalDate: Date;
8
+ arrivalAirport: string;
9
+ arrivalAirportDescription: string;
10
+ arrivalTime: string;
11
+ flightClass: string;
12
+ travelClass: string;
13
+ airline: string;
14
+ operatingAirlineCode: string;
15
+ operatingAirlineDescription: string;
16
+ }
@@ -1,9 +1,9 @@
1
- import { BookingPackageFlightMetaDataLine } from "./booking-package-flight-meta-data-line";
2
- export interface BookingPackageFlightMetaData {
3
- flightLines: BookingPackageFlightMetaDataLine[];
4
- luggageIncluded: boolean;
5
- bagageAllowed: boolean;
6
- bagage: string;
7
- mealIncluded: boolean;
8
- meal: string;
9
- }
1
+ import { BookingPackageFlightMetaDataLine } from "./booking-package-flight-meta-data-line";
2
+ export interface BookingPackageFlightMetaData {
3
+ flightLines: BookingPackageFlightMetaDataLine[];
4
+ luggageIncluded: boolean;
5
+ bagageAllowed: boolean;
6
+ bagage: string;
7
+ mealIncluded: boolean;
8
+ meal: string;
9
+ }
@@ -1,13 +1,13 @@
1
- import { BookingPackageFlightMetaData } from "./booking-package-flight-meta-data";
2
- export interface BookingPackageFlight {
3
- code: string;
4
- tag: string;
5
- class: string;
6
- startDateTime: string;
7
- endDateTime: string;
8
- price: number;
9
- isSelected: boolean;
10
- externalGuid?: string;
11
- entryLineGuid: string;
12
- flightMetaData: BookingPackageFlightMetaData;
13
- }
1
+ import { BookingPackageFlightMetaData } from "./booking-package-flight-meta-data";
2
+ export interface BookingPackageFlight {
3
+ code: string;
4
+ tag: string;
5
+ class: string;
6
+ startDateTime: string;
7
+ endDateTime: string;
8
+ price: number;
9
+ isSelected: boolean;
10
+ externalGuid?: string;
11
+ entryLineGuid: string;
12
+ flightMetaData: BookingPackageFlightMetaData;
13
+ }
@@ -1,14 +1,14 @@
1
- export interface BookingPackageRoomOption {
2
- entryLineGuid: string;
3
- productCode: string;
4
- accommodationCode: string;
5
- externalAccommodationCode: string;
6
- accommodationName: string;
7
- regimeCode: string;
8
- regimeName: string;
9
- price: number;
10
- isSelected: boolean;
11
- from: string;
12
- to: string;
13
- tourCode: string;
14
- }
1
+ export interface BookingPackageRoomOption {
2
+ entryLineGuid: string;
3
+ productCode: string;
4
+ accommodationCode: string;
5
+ externalAccommodationCode: string;
6
+ accommodationName: string;
7
+ regimeCode: string;
8
+ regimeName: string;
9
+ price: number;
10
+ isSelected: boolean;
11
+ from: string;
12
+ to: string;
13
+ tourCode: string;
14
+ }
@@ -1,42 +1,42 @@
1
- import { BookingOptionGroup } from "./booking-option-group";
2
- import { BookingOptionPax } from "./booking-option-pax";
3
- import { BookingOptionUnit } from "./booking-option-unit";
4
- import { BookingPackageAvailability } from "./booking-package-availability";
5
- import { BookingPackageFlight } from "./booking-package-flight";
6
- import { BookingPackageHotel } from "./booking-package-hotel";
7
- import { BookingPackageRequestRoom } from "./booking-package-request-room";
8
- import { BookingPackageRoom } from "./booking-package-room";
9
- import { PerBookingPackageOption } from "./per-booking-package-option";
10
- export interface BookingPackage {
11
- catalogueId: number;
12
- code: string;
13
- name: string;
14
- price: number;
15
- serviceType: number;
16
- tagIds: number[];
17
- includedServiceTypes: number[];
18
- countryName: string;
19
- regionName: string;
20
- oordName: string;
21
- locationName: string;
22
- unitCount: number;
23
- requestRooms: BookingPackageRequestRoom[];
24
- fromDate: string;
25
- toDate: string;
26
- startTime: string;
27
- endTime: string;
28
- outwardFlights: BookingPackageFlight[];
29
- returnFlights: BookingPackageFlight[];
30
- hotels: BookingPackageHotel[];
31
- allotmentTourCode: string;
32
- allotmentName: string;
33
- customAllotmentStatus: string;
34
- allotmentTagIds: number[];
35
- availabilities: BookingPackageAvailability[];
36
- rooms: BookingPackageRoom[];
37
- groups: BookingOptionGroup<PerBookingPackageOption>[];
38
- optionUnits: BookingOptionUnit[];
39
- optionPax: BookingOptionPax[];
40
- transactionId: string;
41
- transactionExpiration: string;
42
- }
1
+ import { BookingOptionGroup } from "./booking-option-group";
2
+ import { BookingOptionPax } from "./booking-option-pax";
3
+ import { BookingOptionUnit } from "./booking-option-unit";
4
+ import { BookingPackageAvailability } from "./booking-package-availability";
5
+ import { BookingPackageFlight } from "./booking-package-flight";
6
+ import { BookingPackageHotel } from "./booking-package-hotel";
7
+ import { BookingPackageRequestRoom } from "./booking-package-request-room";
8
+ import { BookingPackageRoom } from "./booking-package-room";
9
+ import { PerBookingPackageOption } from "./per-booking-package-option";
10
+ export interface BookingPackage {
11
+ catalogueId: number;
12
+ code: string;
13
+ name: string;
14
+ price: number;
15
+ serviceType: number;
16
+ tagIds: number[];
17
+ includedServiceTypes: number[];
18
+ countryName: string;
19
+ regionName: string;
20
+ oordName: string;
21
+ locationName: string;
22
+ unitCount: number;
23
+ requestRooms: BookingPackageRequestRoom[];
24
+ fromDate: string;
25
+ toDate: string;
26
+ startTime: string;
27
+ endTime: string;
28
+ outwardFlights: BookingPackageFlight[];
29
+ returnFlights: BookingPackageFlight[];
30
+ hotels: BookingPackageHotel[];
31
+ allotmentTourCode: string;
32
+ allotmentName: string;
33
+ customAllotmentStatus: string;
34
+ allotmentTagIds: number[];
35
+ availabilities: BookingPackageAvailability[];
36
+ rooms: BookingPackageRoom[];
37
+ groups: BookingOptionGroup<PerBookingPackageOption>[];
38
+ optionUnits: BookingOptionUnit[];
39
+ optionPax: BookingOptionPax[];
40
+ transactionId: string;
41
+ transactionExpiration: string;
42
+ }
@@ -1,19 +1,19 @@
1
- export * from "./booking-option-group";
2
- export * from "./booking-option-pax";
3
- export * from "./booking-option-unit";
4
- export * from "./booking-package-flight-meta-data";
5
- export * from "./booking-package-flight-meta-data-line";
6
- export * from "./booking-package-flight";
7
- export * from "./booking-package-hotel-option";
8
- export * from "./booking-package-hotel-room";
9
- export * from "./booking-package-hotel";
10
- export * from "./booking-package-line";
11
- export * from "./booking-package-pax";
12
- export * from "./booking-package-request-room";
13
- export * from "./booking-package-room-option";
14
- export * from "./booking-package-room";
15
- export * from "./booking-package";
16
- export * from "./per-booking-package-option";
17
- export * from "./per-package-option";
18
- export * from "./per-pax-package-option";
19
- export * from "./per-unit-package-option";
1
+ export * from "./booking-option-group";
2
+ export * from "./booking-option-pax";
3
+ export * from "./booking-option-unit";
4
+ export * from "./booking-package-flight-meta-data";
5
+ export * from "./booking-package-flight-meta-data-line";
6
+ export * from "./booking-package-flight";
7
+ export * from "./booking-package-hotel-option";
8
+ export * from "./booking-package-hotel-room";
9
+ export * from "./booking-package-hotel";
10
+ export * from "./booking-package-line";
11
+ export * from "./booking-package-pax";
12
+ export * from "./booking-package-request-room";
13
+ export * from "./booking-package-room-option";
14
+ export * from "./booking-package-room";
15
+ export * from "./booking-package";
16
+ export * from "./per-booking-package-option";
17
+ export * from "./per-package-option";
18
+ export * from "./per-pax-package-option";
19
+ export * from "./per-unit-package-option";
@@ -1,42 +1,42 @@
1
- import { PackageSearchRequest, TideClientConfig } from "..";
2
- import {
3
- AvailablePackage,
4
- BookingPackage,
5
- BookingPackageBookRequest,
6
- BookingPackageDetailsRequest,
7
- BookingPackageDossier,
8
- BookingPackageItem,
9
- BookingPackageRequest,
10
- BookingPackageSearchRequest,
11
- BookingPriceDetails,
12
- BookingTravelAgent,
13
- } from "../types";
14
- export declare const readPackageSearchList: (
15
- config: TideClientConfig,
16
- request: PackageSearchRequest,
17
- signal?: AbortSignal | undefined
18
- ) => Promise<AvailablePackage[]>;
19
- export declare const search: (
20
- config: TideClientConfig,
21
- request: BookingPackageRequest<BookingPackageSearchRequest>,
22
- signal?: AbortSignal | undefined
23
- ) => Promise<BookingPackageItem[]>;
24
- export declare const details: (
25
- config: TideClientConfig,
26
- request: BookingPackageRequest<BookingPackageDetailsRequest>,
27
- signal?: AbortSignal | undefined
28
- ) => Promise<BookingPackage>;
29
- export declare const priceDetails: (
30
- config: TideClientConfig,
31
- request: BookingPackageRequest<BookingPackageBookRequest>,
32
- signal?: AbortSignal | undefined
33
- ) => Promise<BookingPriceDetails>;
34
- export declare const book: (
35
- config: TideClientConfig,
36
- request: BookingPackageRequest<BookingPackageBookRequest>,
37
- signal?: AbortSignal | undefined
38
- ) => Promise<BookingPackageDossier>;
39
- export declare const agents: (
40
- config: TideClientConfig,
41
- signal?: AbortSignal | undefined
42
- ) => Promise<BookingTravelAgent[]>;
1
+ import { PackageSearchRequest, TideClientConfig } from "..";
2
+ import {
3
+ AvailablePackage,
4
+ BookingPackage,
5
+ BookingPackageBookRequest,
6
+ BookingPackageDetailsRequest,
7
+ BookingPackageDossier,
8
+ BookingPackageItem,
9
+ BookingPackageRequest,
10
+ BookingPackageSearchRequest,
11
+ BookingPriceDetails,
12
+ BookingTravelAgent,
13
+ } from "../types";
14
+ export declare const readPackageSearchList: (
15
+ config: TideClientConfig,
16
+ request: PackageSearchRequest,
17
+ signal?: AbortSignal | undefined
18
+ ) => Promise<AvailablePackage[]>;
19
+ export declare const search: (
20
+ config: TideClientConfig,
21
+ request: BookingPackageRequest<BookingPackageSearchRequest>,
22
+ signal?: AbortSignal | undefined
23
+ ) => Promise<BookingPackageItem[]>;
24
+ export declare const details: (
25
+ config: TideClientConfig,
26
+ request: BookingPackageRequest<BookingPackageDetailsRequest>,
27
+ signal?: AbortSignal | undefined
28
+ ) => Promise<BookingPackage>;
29
+ export declare const priceDetails: (
30
+ config: TideClientConfig,
31
+ request: BookingPackageRequest<BookingPackageBookRequest>,
32
+ signal?: AbortSignal | undefined
33
+ ) => Promise<BookingPriceDetails>;
34
+ export declare const book: (
35
+ config: TideClientConfig,
36
+ request: BookingPackageRequest<BookingPackageBookRequest>,
37
+ signal?: AbortSignal | undefined
38
+ ) => Promise<BookingPackageDossier>;
39
+ export declare const agents: (
40
+ config: TideClientConfig,
41
+ signal?: AbortSignal | undefined
42
+ ) => Promise<BookingTravelAgent[]>;
package/package.json CHANGED
@@ -1,56 +1,56 @@
1
- {
2
- "name": "@qite/tide-client",
3
- "version": "1.0.62",
4
- "description": "Frontend client for Tide",
5
- "main": "build/index.js",
6
- "scripts": {
7
- "build": "rollup -c",
8
- "tsc": "tsc --noEmit",
9
- "format": "prettier --write .",
10
- "test": "jest"
11
- },
12
- "repository": {
13
- "type": "git",
14
- "url": "git+ssh://git@bitbucket.org/qitegeneral/tide-client.git"
15
- },
16
- "keywords": [
17
- "tide",
18
- "client"
19
- ],
20
- "author": "Kristof Colpaert <kristof.colpaert@qite.be>",
21
- "license": "OBSD",
22
- "homepage": "https://bitbucket.org/qitegeneral/tide-client#readme",
23
- "devDependencies": {
24
- "@rollup/plugin-commonjs": "^19.0.0",
25
- "@rollup/plugin-node-resolve": "^13.0.0",
26
- "@types/jest": "^26.0.23",
27
- "@types/moment": "^2.13.0",
28
- "dotenv": "^9.0.2",
29
- "jest": "^26.6.3",
30
- "jest-fetch-mock": "^3.0.3",
31
- "momentjs": "^2.0.0",
32
- "prettier": "^2.3.0",
33
- "rollup": "^2.48.0",
34
- "rollup-plugin-typescript2": "^0.30.0",
35
- "ts-jest": "^26.5.6",
36
- "tslib": "^2.2.0",
37
- "typescript": "^4.2.4"
38
- },
39
- "jest": {
40
- "moduleFileExtensions": [
41
- "ts",
42
- "js"
43
- ],
44
- "transform": {
45
- "^.+\\.ts$": "ts-jest"
46
- },
47
- "globals": {
48
- "ts-jest": {
49
- "tsconfig": "tsconfig.json"
50
- }
51
- },
52
- "testMatch": [
53
- "**/tests/**/*.test.ts"
54
- ]
55
- }
56
- }
1
+ {
2
+ "name": "@qite/tide-client",
3
+ "version": "1.0.65",
4
+ "description": "Frontend client for Tide",
5
+ "main": "build/index.js",
6
+ "scripts": {
7
+ "build": "rollup -c",
8
+ "tsc": "tsc --noEmit",
9
+ "format": "prettier --write .",
10
+ "test": "jest"
11
+ },
12
+ "repository": {
13
+ "type": "git",
14
+ "url": "git+ssh://git@bitbucket.org/qitegeneral/tide-client.git"
15
+ },
16
+ "keywords": [
17
+ "tide",
18
+ "client"
19
+ ],
20
+ "author": "Kristof Colpaert <kristof.colpaert@qite.be>",
21
+ "license": "OBSD",
22
+ "homepage": "https://bitbucket.org/qitegeneral/tide-client#readme",
23
+ "devDependencies": {
24
+ "@rollup/plugin-commonjs": "^19.0.0",
25
+ "@rollup/plugin-node-resolve": "^13.0.0",
26
+ "@types/jest": "^26.0.23",
27
+ "@types/moment": "^2.13.0",
28
+ "dotenv": "^9.0.2",
29
+ "jest": "^26.6.3",
30
+ "jest-fetch-mock": "^3.0.3",
31
+ "momentjs": "^2.0.0",
32
+ "prettier": "^2.3.0",
33
+ "rollup": "^2.48.0",
34
+ "rollup-plugin-typescript2": "^0.30.0",
35
+ "ts-jest": "^26.5.6",
36
+ "tslib": "^2.2.0",
37
+ "typescript": "^4.2.4"
38
+ },
39
+ "jest": {
40
+ "moduleFileExtensions": [
41
+ "ts",
42
+ "js"
43
+ ],
44
+ "transform": {
45
+ "^.+\\.ts$": "ts-jest"
46
+ },
47
+ "globals": {
48
+ "ts-jest": {
49
+ "tsconfig": "tsconfig.json"
50
+ }
51
+ },
52
+ "testMatch": [
53
+ "**/tests/**/*.test.ts"
54
+ ]
55
+ }
56
+ }
@@ -23,4 +23,6 @@ export const ServiceType = {
23
23
  gift: 21,
24
24
  rental: 22,
25
25
  restaurant: 23,
26
+ event: 24,
27
+ training: 25,
26
28
  };