@qite/tide-client 2.0.2 → 2.0.3

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.d.ts CHANGED
@@ -6,6 +6,7 @@ export * from "./utils/search-client";
6
6
  export * from "./utils/web-agent-client";
7
7
  export * from "./utils/web-client";
8
8
  export * from "./utils/web-contact-client";
9
+ export * from "./utils/web-content-client";
9
10
  export * from "./utils/web-file";
10
11
  export * from "./utils/packaging-client";
11
12
  export * from "./utils/web-form";
package/build/index.js CHANGED
@@ -6578,47 +6578,47 @@ var get = function (url, apiKey, token, signal, skipReviver, languageCode) {
6578
6578
  });
6579
6579
  };
6580
6580
 
6581
- var ENDPOINT$9 = "/api/web/booking/v2";
6582
- var ENDPOINT_AVAILABLE_FLIGHTS = ENDPOINT$9 + "/available-flights";
6583
- var ENDPOINT_TRANSPORT_DATES = ENDPOINT$9 + "/transport-dates";
6584
- var ENDPOINT_PRICES = ENDPOINT$9 + "/prices";
6585
- var ENDPOINT_AVAILABLE_COUNTRIES = ENDPOINT$9 + "/available-countries";
6586
- var ENDPOINT_SEARCH = ENDPOINT$9 + "/search";
6581
+ var ENDPOINT$a = "/api/web/booking/v2";
6582
+ var ENDPOINT_AVAILABLE_FLIGHTS = ENDPOINT$a + "/available-flights";
6583
+ var ENDPOINT_TRANSPORT_DATES = ENDPOINT$a + "/transport-dates";
6584
+ var ENDPOINT_PRICES = ENDPOINT$a + "/prices";
6585
+ var ENDPOINT_AVAILABLE_COUNTRIES = ENDPOINT$a + "/available-countries";
6586
+ var ENDPOINT_SEARCH = ENDPOINT$a + "/search";
6587
6587
  var ENDPOINT_SEARCH_WITH_ERROR_MAPPING =
6588
- ENDPOINT$9 + "/search-with-error-mapping";
6588
+ ENDPOINT$a + "/search-with-error-mapping";
6589
6589
  // const ENDPOINT_ELASTIC = `${ENDPOINT}/elastic`; // TODO
6590
- var ENDPOINT_DETAILS = ENDPOINT$9 + "/details";
6591
- var ENDPOINT_DETAILS_WL = ENDPOINT$9 + "/details-wl";
6590
+ var ENDPOINT_DETAILS = ENDPOINT$a + "/details";
6591
+ var ENDPOINT_DETAILS_WL = ENDPOINT$a + "/details-wl";
6592
6592
  var ENDPOINT_ENTRYLIGHT = function (code) {
6593
- return ENDPOINT$9 + "/entry-light/" + code;
6593
+ return ENDPOINT$a + "/entry-light/" + code;
6594
6594
  };
6595
- var ENDPOINT_VALIDATE_VOUCHER = ENDPOINT$9 + "/validate-voucher";
6595
+ var ENDPOINT_VALIDATE_VOUCHER = ENDPOINT$a + "/validate-voucher";
6596
6596
  var ENDPOINT_ALTERNATE_HOTELS = function (transactionId, optionId) {
6597
6597
  return (
6598
- ENDPOINT$9 + "/details/" + transactionId + "/alternate-hotels/" + optionId
6598
+ ENDPOINT$a + "/details/" + transactionId + "/alternate-hotels/" + optionId
6599
6599
  );
6600
6600
  };
6601
6601
  var ENDPOINT_ALTERNATE_FLIGHTS = function (transactionId) {
6602
- return ENDPOINT$9 + "/details/" + transactionId + "/alternate-flights";
6602
+ return ENDPOINT$a + "/details/" + transactionId + "/alternate-flights";
6603
6603
  };
6604
- var ENDPOINT_BOOKABLE_DATES = ENDPOINT$9 + "/bookable-dates";
6605
- var ENDPOINT_PRICE_DETAILS$1 = ENDPOINT$9 + "/price-details";
6606
- var ENDPOINT_BOOK$1 = ENDPOINT$9 + "/book";
6607
- var ENDPOINT_UPDATE = ENDPOINT$9 + "/update";
6608
- var ENDPOINT_AGENTS = ENDPOINT$9 + "/agents";
6604
+ var ENDPOINT_BOOKABLE_DATES = ENDPOINT$a + "/bookable-dates";
6605
+ var ENDPOINT_PRICE_DETAILS$1 = ENDPOINT$a + "/price-details";
6606
+ var ENDPOINT_BOOK$1 = ENDPOINT$a + "/book";
6607
+ var ENDPOINT_UPDATE = ENDPOINT$a + "/update";
6608
+ var ENDPOINT_AGENTS = ENDPOINT$a + "/agents";
6609
6609
  var ENDPOINT_AVAILABLE_ALLOTMENTS = function (eventId, productCode) {
6610
6610
  return (
6611
- ENDPOINT$9 + "/get-allotment-availability/" + eventId + "/" + productCode
6611
+ ENDPOINT$a + "/get-allotment-availability/" + eventId + "/" + productCode
6612
6612
  );
6613
6613
  };
6614
- var ENDPOINT_FLIGHT_POOL = ENDPOINT$9 + "/flight-pool";
6615
- var ENDPOINT_TOUR_CODES = ENDPOINT$9 + "/tourcodes";
6614
+ var ENDPOINT_FLIGHT_POOL = ENDPOINT$a + "/flight-pool";
6615
+ var ENDPOINT_TOUR_CODES = ENDPOINT$a + "/tourcodes";
6616
6616
  var ENDPOINT_CUSTOM_ENTRY_STATUS$1 = function (
6617
6617
  dossierNumber,
6618
6618
  customEntryStatusId
6619
6619
  ) {
6620
6620
  return (
6621
- ENDPOINT$9 +
6621
+ ENDPOINT$a +
6622
6622
  "/custom-entry-status/" +
6623
6623
  dossierNumber +
6624
6624
  "/" +
@@ -6626,10 +6626,10 @@ var ENDPOINT_CUSTOM_ENTRY_STATUS$1 = function (
6626
6626
  );
6627
6627
  };
6628
6628
  var ENDPOINT_ENTRY_STATUS = function (dossierNumber, entryStatus) {
6629
- return ENDPOINT$9 + "/entry-status/" + dossierNumber + "/" + entryStatus;
6629
+ return ENDPOINT$a + "/entry-status/" + dossierNumber + "/" + entryStatus;
6630
6630
  };
6631
- var ENDPOINT_ELASTIC = ENDPOINT$9 + "/elastic";
6632
- var ENDPOINT_FLIGHT_LINES = ENDPOINT$9 + "/flightlines";
6631
+ var ENDPOINT_ELASTIC = ENDPOINT$a + "/elastic";
6632
+ var ENDPOINT_FLIGHT_LINES = ENDPOINT$a + "/flightlines";
6633
6633
  var availableFlights = function (config, request, signal) {
6634
6634
  var url = "" + config.host + ENDPOINT_AVAILABLE_FLIGHTS;
6635
6635
  var apiKey = config.apiKey;
@@ -6780,12 +6780,12 @@ var flightLines = function (config, request, signal) {
6780
6780
  return post(url, apiKey, body, config.token, signal, true);
6781
6781
  };
6782
6782
 
6783
- var ENDPOINT$8 = "/api/member";
6784
- var ENDPOINT_LOGIN = ENDPOINT$8 + "/login";
6785
- var ENDPOINT_LOGOUT = ENDPOINT$8 + "/logout";
6786
- var ENDPOINT_CONFIRM = ENDPOINT$8 + "/confirm";
6787
- var ENDPOINT_FORGOT_PASSWORD = ENDPOINT$8 + "/forgot-password";
6788
- var ENDPOINT_RESET_PASSWORD = ENDPOINT$8 + "/reset-password";
6783
+ var ENDPOINT$9 = "/api/member";
6784
+ var ENDPOINT_LOGIN = ENDPOINT$9 + "/login";
6785
+ var ENDPOINT_LOGOUT = ENDPOINT$9 + "/logout";
6786
+ var ENDPOINT_CONFIRM = ENDPOINT$9 + "/confirm";
6787
+ var ENDPOINT_FORGOT_PASSWORD = ENDPOINT$9 + "/forgot-password";
6788
+ var ENDPOINT_RESET_PASSWORD = ENDPOINT$9 + "/reset-password";
6789
6789
  var login = function (config, request, signal) {
6790
6790
  var url = "" + config.host + ENDPOINT_LOGIN;
6791
6791
  var apiKey = config.apiKey;
@@ -6817,8 +6817,8 @@ var resetPassword = function (config, request, signal) {
6817
6817
  return post$1(url, apiKey, body, config.token, signal);
6818
6818
  };
6819
6819
 
6820
- var ENDPOINT$7 = "/api/mollie";
6821
- var ENDPOINT_CREATE_PAYMENTS = ENDPOINT$7 + "/create-payment";
6820
+ var ENDPOINT$8 = "/api/mollie";
6821
+ var ENDPOINT_CREATE_PAYMENTS = ENDPOINT$8 + "/create-payment";
6822
6822
  /**
6823
6823
  * api/mollie/create-payment
6824
6824
  * @param request
@@ -6831,13 +6831,14 @@ var getMolliePayment = function (config, request, signal) {
6831
6831
  return post(url, apiKey, body, config.token, signal);
6832
6832
  };
6833
6833
 
6834
- var ENDPOINT$6 = "/api/web/search";
6835
- var ENDPOINT_COUNTRIES = ENDPOINT$6 + "/countries";
6836
- var ENDPOINT_REGIONS = ENDPOINT$6 + "/regions";
6837
- var ENDPOINT_OORDS = ENDPOINT$6 + "/oords";
6838
- var ENDPOINT_LOCATIONS$1 = ENDPOINT$6 + "/locations";
6834
+ var ENDPOINT$7 = "/api/web/search";
6835
+ var ENDPOINT_COUNTRIES = ENDPOINT$7 + "/countries";
6836
+ var ENDPOINT_REGIONS = ENDPOINT$7 + "/regions";
6837
+ var ENDPOINT_OORDS = ENDPOINT$7 + "/oords";
6838
+ var ENDPOINT_LOCATIONS$1 = ENDPOINT$7 + "/locations";
6839
+ var ENDPOINT_GEOGRAPHICAL_REGIONS = ENDPOINT$7 + "/geographicalregions";
6839
6840
  var ENDPOINT_PORTAL = function (portalId) {
6840
- return ENDPOINT$6 + "/portal/" + portalId;
6841
+ return ENDPOINT$7 + "/portal/" + portalId;
6841
6842
  };
6842
6843
  var ENDPOINT_AIRPORT = "/api/web/entity/airport";
6843
6844
  /**
@@ -6892,6 +6893,18 @@ var searchLocations = function (config, searchTerm, signal) {
6892
6893
  var url = "" + config.host + ENDPOINT_LOCATIONS$1 + "?" + filter;
6893
6894
  return get(url, apiKey, config.token, signal, true);
6894
6895
  };
6896
+ /**
6897
+ * api/web/search/geographicalregions
6898
+ * Gets all available Geographical Regions
6899
+ * @param config
6900
+ * @param signal
6901
+ * @returns OK if succeeded.
6902
+ */
6903
+ var getAvailableGeographicalRegions = function (config, signal) {
6904
+ var url = "" + config.host + ENDPOINT_GEOGRAPHICAL_REGIONS;
6905
+ var apiKey = config.apiKey;
6906
+ return get(url, apiKey, config.token, signal, true);
6907
+ };
6895
6908
  var getPortal = function (config, portalId, signal) {
6896
6909
  var url = "" + config.host + ENDPOINT_PORTAL(portalId);
6897
6910
  var apiKey = config.apiKey;
@@ -7060,13 +7073,13 @@ var isValidDate = function (d) {
7060
7073
  return d instanceof Date && !isNaN(d.getTime());
7061
7074
  };
7062
7075
 
7063
- var ENDPOINT$5 = "/api/web/agent";
7064
- var ENDPOINT_GET_PRINT_ACTIONS = ENDPOINT$5 + "/print-action";
7065
- var ENDPOINT_PRINT = ENDPOINT$5 + "/print-action";
7066
- var ENDPOINT_CUSTOM_ENTRY_STATUS = ENDPOINT$5 + "/custom-entry-status";
7067
- var ENDPOINT_ENUM_ENTRY_STATUS = ENDPOINT$5 + "/enum/entry-status";
7076
+ var ENDPOINT$6 = "/api/web/agent";
7077
+ var ENDPOINT_GET_PRINT_ACTIONS = ENDPOINT$6 + "/print-action";
7078
+ var ENDPOINT_PRINT = ENDPOINT$6 + "/print-action";
7079
+ var ENDPOINT_CUSTOM_ENTRY_STATUS = ENDPOINT$6 + "/custom-entry-status";
7080
+ var ENDPOINT_ENUM_ENTRY_STATUS = ENDPOINT$6 + "/enum/entry-status";
7068
7081
  var ENDPOINT_CHANGE_ENTRY_AGENT_SURCHARGE =
7069
- ENDPOINT$5 + "/entry/change-agent-surcharge";
7082
+ ENDPOINT$6 + "/entry/change-agent-surcharge";
7070
7083
  /**
7071
7084
  * api/web/agent/print-action/{print-action-group}
7072
7085
  * @param config
@@ -7100,7 +7113,7 @@ var getEntryList = function (config, filterItem, gridColumns, signal) {
7100
7113
  return encodeURIComponent(key) + "=" + encodeURIComponent(params[key]);
7101
7114
  })
7102
7115
  .join("&");
7103
- var url = "" + config.host + ENDPOINT$5 + "/entry/list?" + queryString;
7116
+ var url = "" + config.host + ENDPOINT$6 + "/entry/list?" + queryString;
7104
7117
  var apiKey = config.apiKey;
7105
7118
  return get(url, apiKey, config.token, signal, true);
7106
7119
  };
@@ -7111,7 +7124,7 @@ var getEntryListv2 = function (config, filterItem, gridColumns, signal) {
7111
7124
  return encodeURIComponent(key) + "=" + encodeURIComponent(params[key]);
7112
7125
  })
7113
7126
  .join("&");
7114
- var url = "" + config.host + ENDPOINT$5 + "/v2/entry/list?" + queryString;
7127
+ var url = "" + config.host + ENDPOINT$6 + "/v2/entry/list?" + queryString;
7115
7128
  var apiKey = config.apiKey;
7116
7129
  return get(url, apiKey, config.token, signal, true);
7117
7130
  };
@@ -7122,12 +7135,12 @@ var getEntryTotals = function (config, filterItem, gridColumns, signal) {
7122
7135
  return encodeURIComponent(key) + "=" + encodeURIComponent(params[key]);
7123
7136
  })
7124
7137
  .join("&");
7125
- var url = "" + config.host + ENDPOINT$5 + "/entry/total?" + queryString;
7138
+ var url = "" + config.host + ENDPOINT$6 + "/entry/total?" + queryString;
7126
7139
  var apiKey = config.apiKey;
7127
7140
  return get(url, apiKey, config.token, signal, true);
7128
7141
  };
7129
7142
  var getEntryDetailv2 = function (config, entryId, signal) {
7130
- var url = "" + config.host + ENDPOINT$5 + "/v2/entry/detail/" + entryId;
7143
+ var url = "" + config.host + ENDPOINT$6 + "/v2/entry/detail/" + entryId;
7131
7144
  var apiKey = config.apiKey;
7132
7145
  return get(url, apiKey, config.token, signal, true);
7133
7146
  };
@@ -7138,7 +7151,7 @@ var getInvoiceList = function (config, filterItem, gridColumns, signal) {
7138
7151
  return encodeURIComponent(key) + "=" + encodeURIComponent(params[key]);
7139
7152
  })
7140
7153
  .join("&");
7141
- var url = "" + config.host + ENDPOINT$5 + "/invoice/list?" + queryString;
7154
+ var url = "" + config.host + ENDPOINT$6 + "/invoice/list?" + queryString;
7142
7155
  var apiKey = config.apiKey;
7143
7156
  return get(url, apiKey, config.token, signal, true);
7144
7157
  };
@@ -7165,28 +7178,28 @@ var getAllotmentList = function (config, filterItem, gridColumns, signal) {
7165
7178
  return encodeURIComponent(key) + "=" + encodeURIComponent(params[key]);
7166
7179
  })
7167
7180
  .join("&");
7168
- var url = "" + config.host + ENDPOINT$5 + "/allotment/list?" + queryString;
7181
+ var url = "" + config.host + ENDPOINT$6 + "/allotment/list?" + queryString;
7169
7182
  var apiKey = config.apiKey;
7170
7183
  return get(url, apiKey, config.token, signal, true);
7171
7184
  };
7172
7185
  var getAllotment = function (config, allotmentId, signal) {
7173
- var url = "" + config.host + ENDPOINT$5 + "/allotment/" + allotmentId;
7186
+ var url = "" + config.host + ENDPOINT$6 + "/allotment/" + allotmentId;
7174
7187
  var apiKey = config.apiKey;
7175
7188
  return get(url, apiKey, config.token, signal, true);
7176
7189
  };
7177
7190
 
7178
- var ENDPOINT$4 = "/api/web";
7179
- var ENDPOINT_CREATE_CRM_CONTACT = ENDPOINT$4 + "/crmcontact";
7180
- var ENDPOINT_CONTACT_FORM$1 = ENDPOINT$4 + "/contactform";
7181
- var ENDPOINT_CREATE_AFFILIATES = ENDPOINT$4 + "/affiliates";
7182
- var ENDPOINT_TRANSLATION_DICTIONARY = ENDPOINT$4 + "/translation-dictionary";
7183
- var ENDPOINT_BOOKING_ACCOMMODATION = ENDPOINT$4 + "/booking-accommodation";
7184
- var ENDPOINT_LOCATIONS = ENDPOINT$4 + "/entity/locations";
7191
+ var ENDPOINT$5 = "/api/web";
7192
+ var ENDPOINT_CREATE_CRM_CONTACT = ENDPOINT$5 + "/crmcontact";
7193
+ var ENDPOINT_CONTACT_FORM$1 = ENDPOINT$5 + "/contactform";
7194
+ var ENDPOINT_CREATE_AFFILIATES = ENDPOINT$5 + "/affiliates";
7195
+ var ENDPOINT_TRANSLATION_DICTIONARY = ENDPOINT$5 + "/translation-dictionary";
7196
+ var ENDPOINT_BOOKING_ACCOMMODATION = ENDPOINT$5 + "/booking-accommodation";
7197
+ var ENDPOINT_LOCATIONS = ENDPOINT$5 + "/entity/locations";
7185
7198
  var ENDPOINT_WEBSITE_CONFIGURATION = function (portalId) {
7186
- return ENDPOINT$4 + "/website/" + portalId + "/configuration";
7199
+ return ENDPOINT$5 + "/website/" + portalId + "/configuration";
7187
7200
  };
7188
7201
  var ENDPOINT_WEBSITE_STYLESHEET = function (styleSheetId) {
7189
- return ENDPOINT$4 + "/style-sheet/" + styleSheetId;
7202
+ return ENDPOINT$5 + "/style-sheet/" + styleSheetId;
7190
7203
  };
7191
7204
  /**
7192
7205
  * api/web/crmcontact
@@ -7257,9 +7270,9 @@ var getStyleSheet = function (config, id, signal) {
7257
7270
  return get(url, apiKey, config.token, signal, true);
7258
7271
  };
7259
7272
 
7260
- var ENDPOINT$3 = "/api/web/contact";
7261
- var ENDPOINT_CONTACT_FORM = ENDPOINT$3 + "/contact-form";
7262
- var ENDPOINT_CONTACT_HAS_TAG = ENDPOINT$3 + "/has-tag";
7273
+ var ENDPOINT$4 = "/api/web/contact";
7274
+ var ENDPOINT_CONTACT_FORM = ENDPOINT$4 + "/contact-form";
7275
+ var ENDPOINT_CONTACT_HAS_TAG = ENDPOINT$4 + "/has-tag";
7263
7276
  /**
7264
7277
  * api/web/contact/contact-form
7265
7278
  * Processes a contact form.
@@ -7281,6 +7294,118 @@ var contactHasTag = function (config, request, signal) {
7281
7294
  return post$1(url, apiKey, body, config.token, signal);
7282
7295
  };
7283
7296
 
7297
+ var ENDPOINT$3 = "/api/web/content";
7298
+ var ENDPOINT_LIVE = ENDPOINT$3 + "/live";
7299
+ var ENDPOINT_DRAFT = ENDPOINT$3 + "/draft";
7300
+ /**
7301
+ * api/web/content/live
7302
+ * Gets all Live content
7303
+ * @param config
7304
+ * @param signal
7305
+ * @returns OK if succeeded.
7306
+ */
7307
+ var getContentLive = function (config, signal) {
7308
+ var url = "" + config.host + ENDPOINT_LIVE;
7309
+ var apiKey = config.apiKey;
7310
+ return get(url, apiKey, config.token, signal, true);
7311
+ };
7312
+ /**
7313
+ * api/web/content/draft
7314
+ * Gets all Draft (Internal) content
7315
+ * @param config
7316
+ * @param signal
7317
+ * @returns OK if succeeded.
7318
+ */
7319
+ var getContentDraft = function (config, signal) {
7320
+ var url = "" + config.host + ENDPOINT_DRAFT;
7321
+ var apiKey = config.apiKey;
7322
+ return get(url, apiKey, config.token, signal, true);
7323
+ };
7324
+ /**
7325
+ * api/web/content/live/by-property
7326
+ * Gets Live content matching a property value (or values).
7327
+ * @param config
7328
+ * @param request
7329
+ * @param signal
7330
+ * @returns OK if succeeded.
7331
+ */
7332
+ var getContentLiveByProperty = function (config, request, signal) {
7333
+ var url = "" + config.host + ENDPOINT_LIVE + "/by-property";
7334
+ var apiKey = config.apiKey;
7335
+ var body = JSON.stringify(request);
7336
+ return post(url, apiKey, body, config.token, signal, true);
7337
+ };
7338
+ /**
7339
+ * api/web/content/draft/by-property
7340
+ * Gets Draft (Internal) content matching a property value (or values).
7341
+ * @param config
7342
+ * @param request
7343
+ * @param signal
7344
+ * @returns OK if succeeded.
7345
+ */
7346
+ var getContentDraftByProperty = function (config, request, signal) {
7347
+ var url = "" + config.host + ENDPOINT_DRAFT + "/by-property";
7348
+ var apiKey = config.apiKey;
7349
+ var body = JSON.stringify(request);
7350
+ return post(url, apiKey, body, config.token, signal, true);
7351
+ };
7352
+ /**
7353
+ * api/web/content/live/by-template
7354
+ * Gets Live content of a given template.
7355
+ * @param config
7356
+ * @param request
7357
+ * @param signal
7358
+ * @returns OK if succeeded.
7359
+ */
7360
+ var getContentLiveByTemplate = function (config, request, signal) {
7361
+ var url = "" + config.host + ENDPOINT_LIVE + "/by-template";
7362
+ var apiKey = config.apiKey;
7363
+ var body = JSON.stringify(request);
7364
+ return post(url, apiKey, body, config.token, signal, true);
7365
+ };
7366
+ /**
7367
+ * api/web/content/draft/by-template
7368
+ * Gets Draft (Internal) content of a given template.
7369
+ * @param config
7370
+ * @param request
7371
+ * @param signal
7372
+ * @returns OK if succeeded.
7373
+ */
7374
+ var getContentDraftByTemplate = function (config, request, signal) {
7375
+ var url = "" + config.host + ENDPOINT_DRAFT + "/by-template";
7376
+ var apiKey = config.apiKey;
7377
+ var body = JSON.stringify(request);
7378
+ return post(url, apiKey, body, config.token, signal, true);
7379
+ };
7380
+ /**
7381
+ * api/web/content/live/children
7382
+ * Gets the Live children of a parent item.
7383
+ * @param config
7384
+ * @param request
7385
+ * @param signal
7386
+ * @returns OK if succeeded.
7387
+ */
7388
+ var getContentLiveChildren = function (config, request, signal) {
7389
+ var url = "" + config.host + ENDPOINT_LIVE + "/children";
7390
+ var apiKey = config.apiKey;
7391
+ var body = JSON.stringify(request);
7392
+ return post(url, apiKey, body, config.token, signal, true);
7393
+ };
7394
+ /**
7395
+ * api/web/content/draft/children
7396
+ * Gets the Draft (Internal) children of a parent item.
7397
+ * @param config
7398
+ * @param request
7399
+ * @param signal
7400
+ * @returns OK if succeeded.
7401
+ */
7402
+ var getContentDraftChildren = function (config, request, signal) {
7403
+ var url = "" + config.host + ENDPOINT_DRAFT + "/children";
7404
+ var apiKey = config.apiKey;
7405
+ var body = JSON.stringify(request);
7406
+ return post(url, apiKey, body, config.token, signal, true);
7407
+ };
7408
+
7284
7409
  var ENDPOINT$2 = "/api/web/file";
7285
7410
  var ENDPOINT_FEED = ENDPOINT$2 + "/feed";
7286
7411
  /**
@@ -7453,6 +7578,15 @@ exports.getAirports = getAirports;
7453
7578
  exports.getAllotment = getAllotment;
7454
7579
  exports.getAllotmentAvailability = getAllotmentAvailability;
7455
7580
  exports.getAllotmentList = getAllotmentList;
7581
+ exports.getAvailableGeographicalRegions = getAvailableGeographicalRegions;
7582
+ exports.getContentDraft = getContentDraft;
7583
+ exports.getContentDraftByProperty = getContentDraftByProperty;
7584
+ exports.getContentDraftByTemplate = getContentDraftByTemplate;
7585
+ exports.getContentDraftChildren = getContentDraftChildren;
7586
+ exports.getContentLive = getContentLive;
7587
+ exports.getContentLiveByProperty = getContentLiveByProperty;
7588
+ exports.getContentLiveByTemplate = getContentLiveByTemplate;
7589
+ exports.getContentLiveChildren = getContentLiveChildren;
7456
7590
  exports.getCountries = getCountries;
7457
7591
  exports.getCustomEntryStatus = getCustomEntryStatus;
7458
7592
  exports.getEntry = getEntry;