@qite/tide-client 2.0.5 → 2.0.7
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
|
@@ -6635,8 +6635,21 @@ var ENDPOINT_CUSTOM_ENTRY_STATUS$1 = function (
|
|
|
6635
6635
|
customEntryStatusId
|
|
6636
6636
|
);
|
|
6637
6637
|
};
|
|
6638
|
-
var ENDPOINT_ENTRY_STATUS = function (
|
|
6639
|
-
|
|
6638
|
+
var ENDPOINT_ENTRY_STATUS = function (
|
|
6639
|
+
dossierNumber,
|
|
6640
|
+
entryStatus,
|
|
6641
|
+
customEntryStatusId
|
|
6642
|
+
) {
|
|
6643
|
+
return (
|
|
6644
|
+
ENDPOINT$a +
|
|
6645
|
+
"/entry-status/" +
|
|
6646
|
+
dossierNumber +
|
|
6647
|
+
"/" +
|
|
6648
|
+
entryStatus +
|
|
6649
|
+
(customEntryStatusId !== undefined
|
|
6650
|
+
? "?customEntryStatusId=" + customEntryStatusId
|
|
6651
|
+
: "")
|
|
6652
|
+
);
|
|
6640
6653
|
};
|
|
6641
6654
|
var ENDPOINT_ELASTIC = ENDPOINT$a + "/elastic";
|
|
6642
6655
|
var ENDPOINT_FLIGHT_LINES = ENDPOINT$a + "/flightlines";
|
|
@@ -6777,9 +6790,17 @@ var setCustomEntryStatus = function (
|
|
|
6777
6790
|
var apiKey = config.apiKey;
|
|
6778
6791
|
return patch(url, apiKey, null, config.token, signal, true);
|
|
6779
6792
|
};
|
|
6780
|
-
var setEntryStatus = function (
|
|
6793
|
+
var setEntryStatus = function (
|
|
6794
|
+
config,
|
|
6795
|
+
dossierNumber,
|
|
6796
|
+
entryStatus,
|
|
6797
|
+
customEntryStatusId,
|
|
6798
|
+
signal
|
|
6799
|
+
) {
|
|
6781
6800
|
var url =
|
|
6782
|
-
"" +
|
|
6801
|
+
"" +
|
|
6802
|
+
config.host +
|
|
6803
|
+
ENDPOINT_ENTRY_STATUS(dossierNumber, entryStatus, customEntryStatusId);
|
|
6783
6804
|
var apiKey = config.apiKey;
|
|
6784
6805
|
return patch(url, apiKey, null, config.token, signal, true);
|
|
6785
6806
|
};
|