@qite/tide-client 1.1.74 → 1.1.76

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,4 @@
1
+ export declare enum AllotmentKind {
2
+ perUnit = 0,
3
+ perMember = 1,
4
+ }
@@ -0,0 +1,5 @@
1
+ export declare enum AllotmentStatus {
2
+ bookable = 0,
3
+ closed = 1,
4
+ hidden = 2,
5
+ }
@@ -1,3 +1,5 @@
1
+ export * from "./allotment-kind";
2
+ export * from "./allotment-status";
1
3
  export * from "./allotment-type";
2
4
  export * from "./availability-search-type";
3
5
  export * from "./data-type";
@@ -0,0 +1,6 @@
1
+ export interface AllotmentMetaData {
2
+ id: number;
3
+ allotmentId: number;
4
+ configuration: string;
5
+ metaDataType: number;
6
+ }
@@ -1,4 +1,5 @@
1
1
  export * from "../odata/page-result";
2
+ export * from "./allotment-meta-data";
2
3
  export * from "./confirmed-dossier-check";
3
4
  export * from "./country-item";
4
5
  export * from "./crm-contact-request";
@@ -0,0 +1,31 @@
1
+ import { AllotmentKind, AllotmentStatus } from "../enums";
2
+ export interface AgentAllotmentItem {
3
+ id: number;
4
+ name: string;
5
+ startDate: Date;
6
+ endDate: Date;
7
+ minPlaces: number;
8
+ totalPlaces: number;
9
+ bookedPlaces: number;
10
+ inOptionPlaces: number;
11
+ releaseDate: Date | null;
12
+ status: AllotmentStatus;
13
+ customStatusName: string;
14
+ tourCode: string;
15
+ primaryPerson: string;
16
+ secondaryPerson: string;
17
+ tertiaryPerson: string;
18
+ startTime: string;
19
+ endTime: string;
20
+ kind: AllotmentKind;
21
+ ticketingDate: Date | null;
22
+ paxListDeadline: Date | null;
23
+ firstDepositDeadline: Date | null;
24
+ secondDepositDeadline: Date | null;
25
+ thirdDepositDeadline: Date | null;
26
+ issueDate: Date | null;
27
+ departureMeetingDate: Date | null;
28
+ departureMeetingAddressName: string;
29
+ dossierNumbers: string[];
30
+ productCodes: string[];
31
+ }
@@ -0,0 +1,32 @@
1
+ import { AllotmentKind, AllotmentStatus } from "../enums";
2
+ import { AllotmentMetaData } from "../offer";
3
+ export interface AgentAllotment {
4
+ id: number;
5
+ name: string;
6
+ startDate: Date;
7
+ endDate: Date;
8
+ minPlaces: number;
9
+ totalPlaces: number;
10
+ bookedPlaces: number;
11
+ inOptionPlaces: number;
12
+ releaseDate: Date | null;
13
+ status: AllotmentStatus;
14
+ customStatusName: string;
15
+ tourCode: string;
16
+ primaryPerson: string;
17
+ secondaryPerson: string;
18
+ tertiaryPerson: string;
19
+ remarks: string;
20
+ startTime: string;
21
+ endTime: string;
22
+ kind: AllotmentKind;
23
+ ticketingDate: Date | null;
24
+ paxListDeadline: Date | null;
25
+ firstDepositDeadline: Date | null;
26
+ secondDepositDeadline: Date | null;
27
+ thirdDepositDeadline: Date | null;
28
+ issueDate: Date | null;
29
+ departureMeetingDate: Date | null;
30
+ departureMeetingAddressName: string;
31
+ metaDatas: AllotmentMetaData[];
32
+ }
@@ -1,4 +1,6 @@
1
1
  export * from "./affiliate";
2
+ export * from "./agent-allotment-item";
3
+ export * from "./agent-allotment";
2
4
  export * from "./airport";
3
5
  export * from "./contact-form-request";
4
6
  export * from "./generate-booking-accommodation-request";
@@ -1,4 +1,6 @@
1
1
  import {
2
+ AgentAllotment,
3
+ AgentAllotmentItem,
2
4
  AgentInvoiceItem,
3
5
  AgentPrintAction,
4
6
  AgentPrintActionRequest,
@@ -70,3 +72,14 @@ export declare const changeEntryAgentSurcharge: (
70
72
  request: ChangeEntryAgentSurchargeAction,
71
73
  signal?: AbortSignal | undefined
72
74
  ) => Promise<Response>;
75
+ export declare const getAllotmentList: (
76
+ config: TideClientConfig,
77
+ filterItem: FilterItem,
78
+ gridColumns?: Column[] | undefined,
79
+ signal?: AbortSignal | undefined
80
+ ) => Promise<PageResult<AgentAllotmentItem>>;
81
+ export declare const getAllotment: (
82
+ config: TideClientConfig,
83
+ allotmentId: number,
84
+ signal?: AbortSignal | undefined
85
+ ) => Promise<AgentAllotment>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qite/tide-client",
3
- "version": "1.1.74",
3
+ "version": "1.1.76",
4
4
  "description": "Frontend client for Tide",
5
5
  "main": "build/index.js",
6
6
  "scripts": {