@qite/tide-client 1.1.73 → 1.1.75

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/build/index.js CHANGED
@@ -2,6 +2,19 @@
2
2
 
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
 
5
+ var AllotmentKind;
6
+ (function (AllotmentKind) {
7
+ AllotmentKind[(AllotmentKind["perUnit"] = 0)] = "perUnit";
8
+ AllotmentKind[(AllotmentKind["perMember"] = 1)] = "perMember";
9
+ })(AllotmentKind || (AllotmentKind = {}));
10
+
11
+ var AllotmentStatus;
12
+ (function (AllotmentStatus) {
13
+ AllotmentStatus[(AllotmentStatus["bookable"] = 0)] = "bookable";
14
+ AllotmentStatus[(AllotmentStatus["closed"] = 1)] = "closed";
15
+ AllotmentStatus[(AllotmentStatus["hidden"] = 2)] = "hidden";
16
+ })(AllotmentStatus || (AllotmentStatus = {}));
17
+
5
18
  var AllotmentType = {
6
19
  freeSell: 0,
7
20
  onRequest: 1,
@@ -45,6 +58,14 @@ var Gender = {
45
58
  other: 2,
46
59
  };
47
60
 
61
+ var MetaDataItemPropertyType;
62
+ (function (MetaDataItemPropertyType) {
63
+ MetaDataItemPropertyType[(MetaDataItemPropertyType["Height"] = 0)] = "Height";
64
+ MetaDataItemPropertyType[(MetaDataItemPropertyType["Length"] = 1)] = "Length";
65
+ MetaDataItemPropertyType[(MetaDataItemPropertyType["Width"] = 2)] = "Width";
66
+ MetaDataItemPropertyType[(MetaDataItemPropertyType["Weight"] = 3)] = "Weight";
67
+ })(MetaDataItemPropertyType || (MetaDataItemPropertyType = {}));
68
+
48
69
  var MetaDataType = {
49
70
  flight: 0,
50
71
  publicTransport: 1,
@@ -109,6 +130,13 @@ var ServiceType = {
109
130
  camp: 30,
110
131
  };
111
132
 
133
+ var UnitOfMeasure;
134
+ (function (UnitOfMeasure) {
135
+ UnitOfMeasure[(UnitOfMeasure["cm"] = 0)] = "cm";
136
+ UnitOfMeasure[(UnitOfMeasure["kg"] = 1)] = "kg";
137
+ UnitOfMeasure[(UnitOfMeasure["lb"] = 2)] = "lb";
138
+ })(UnitOfMeasure || (UnitOfMeasure = {}));
139
+
112
140
  /******************************************************************************
113
141
  Copyright (c) Microsoft Corporation.
114
142
 
@@ -6629,6 +6657,22 @@ var changeEntryAgentSurcharge = function (config, request, signal) {
6629
6657
  var body = JSON.stringify(request);
6630
6658
  return post$1(url, apiKey, body, config.token, signal);
6631
6659
  };
6660
+ var getAllotmentList = function (config, filterItem, gridColumns, signal) {
6661
+ var params = createParams(filterItem, false, gridColumns);
6662
+ var queryString = Object.keys(params)
6663
+ .map(function (key) {
6664
+ return encodeURIComponent(key) + "=" + encodeURIComponent(params[key]);
6665
+ })
6666
+ .join("&");
6667
+ var url = "" + config.host + ENDPOINT$3 + "/allotment/list?" + queryString;
6668
+ var apiKey = config.apiKey;
6669
+ return get(url, apiKey, config.token, signal, true);
6670
+ };
6671
+ var getAllotment = function (config, allotmentId, signal) {
6672
+ var url = "" + config.host + ENDPOINT$3 + "/allotment/" + allotmentId;
6673
+ var apiKey = config.apiKey;
6674
+ return get(url, apiKey, config.token, signal, true);
6675
+ };
6632
6676
 
6633
6677
  var ENDPOINT$2 = "/api/web";
6634
6678
  var ENDPOINT_CREATE_CRM_CONTACT = ENDPOINT$2 + "/crmcontact";
@@ -6770,7 +6814,9 @@ exports.forgotPassword = forgotPassword;
6770
6814
  exports.generateBookingAccommodations = generateBookingAccommodations;
6771
6815
  exports.getAffiliates = getAffiliates;
6772
6816
  exports.getAirports = getAirports;
6817
+ exports.getAllotment = getAllotment;
6773
6818
  exports.getAllotmentAvailability = getAllotmentAvailability;
6819
+ exports.getAllotmentList = getAllotmentList;
6774
6820
  exports.getCountries = getCountries;
6775
6821
  exports.getCustomEntryStatus = getCustomEntryStatus;
6776
6822
  exports.getEntryList = getEntryList;