@kohost/api-client 3.0.1 → 3.1.0

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.
@@ -3919,6 +3919,44 @@ var require_AddDefaultScenesToRooms = __commonJS({
3919
3919
  }
3920
3920
  });
3921
3921
 
3922
+ // dist/useCases/DescribeTicketStats.js
3923
+ var require_DescribeTicketStats = __commonJS({
3924
+ "dist/useCases/DescribeTicketStats.js"(exports, module) {
3925
+ module.exports = /* @__PURE__ */ __name(function DescribeTicketStats(requestData = { data: null, query: null, headers: null }, httpConfigOptions = {}) {
3926
+ if (!requestData)
3927
+ requestData = {};
3928
+ const pathParams = null;
3929
+ const { data, query, headers } = requestData;
3930
+ let url = "/tickets/stats";
3931
+ if (pathParams && data) {
3932
+ for (const param of pathParams) {
3933
+ const paramName = param.replace(":", "");
3934
+ url = url.replace(param, data[paramName]);
3935
+ }
3936
+ }
3937
+ if (url.match(/:[a-zA-Z0-9]+/g)) {
3938
+ const missingParams = url.match(/:[a-zA-Z0-9]+/g);
3939
+ const missing = missingParams.map((param) => param.replace(":", ""));
3940
+ return Promise.reject(
3941
+ new Error("Missing parameters: " + missing.join(", "))
3942
+ );
3943
+ }
3944
+ const config = {
3945
+ method: "get",
3946
+ url,
3947
+ ...httpConfigOptions
3948
+ };
3949
+ if (data)
3950
+ config.data = data;
3951
+ if (query)
3952
+ config.params = query;
3953
+ if (headers)
3954
+ config.headers = headers;
3955
+ return this._http.request(config);
3956
+ }, "DescribeTicketStats");
3957
+ }
3958
+ });
3959
+
3922
3960
  // dist/useCases/CreateTicket.js
3923
3961
  var require_CreateTicket = __commonJS({
3924
3962
  "dist/useCases/CreateTicket.js"(exports, module) {
@@ -6503,6 +6541,386 @@ var require_ListAnnouncements = __commonJS({
6503
6541
  }
6504
6542
  });
6505
6543
 
6544
+ // dist/useCases/DescribeTimeSheetStats.js
6545
+ var require_DescribeTimeSheetStats = __commonJS({
6546
+ "dist/useCases/DescribeTimeSheetStats.js"(exports, module) {
6547
+ module.exports = /* @__PURE__ */ __name(function DescribeTimeSheetStats(requestData = { data: null, query: null, headers: null }, httpConfigOptions = {}) {
6548
+ if (!requestData)
6549
+ requestData = {};
6550
+ const pathParams = null;
6551
+ const { data, query, headers } = requestData;
6552
+ let url = "/timesheets/stats";
6553
+ if (pathParams && data) {
6554
+ for (const param of pathParams) {
6555
+ const paramName = param.replace(":", "");
6556
+ url = url.replace(param, data[paramName]);
6557
+ }
6558
+ }
6559
+ if (url.match(/:[a-zA-Z0-9]+/g)) {
6560
+ const missingParams = url.match(/:[a-zA-Z0-9]+/g);
6561
+ const missing = missingParams.map((param) => param.replace(":", ""));
6562
+ return Promise.reject(
6563
+ new Error("Missing parameters: " + missing.join(", "))
6564
+ );
6565
+ }
6566
+ const config = {
6567
+ method: "get",
6568
+ url,
6569
+ ...httpConfigOptions
6570
+ };
6571
+ if (data)
6572
+ config.data = data;
6573
+ if (query)
6574
+ config.params = query;
6575
+ if (headers)
6576
+ config.headers = headers;
6577
+ return this._http.request(config);
6578
+ }, "DescribeTimeSheetStats");
6579
+ }
6580
+ });
6581
+
6582
+ // dist/useCases/ListMyTimeSheets.js
6583
+ var require_ListMyTimeSheets = __commonJS({
6584
+ "dist/useCases/ListMyTimeSheets.js"(exports, module) {
6585
+ module.exports = /* @__PURE__ */ __name(function ListMyTimeSheets(requestData = { data: null, query: null, headers: null }, httpConfigOptions = {}) {
6586
+ if (!requestData)
6587
+ requestData = {};
6588
+ const pathParams = null;
6589
+ const { data, query, headers } = requestData;
6590
+ let url = "/timesheets/mine";
6591
+ if (pathParams && data) {
6592
+ for (const param of pathParams) {
6593
+ const paramName = param.replace(":", "");
6594
+ url = url.replace(param, data[paramName]);
6595
+ }
6596
+ }
6597
+ if (url.match(/:[a-zA-Z0-9]+/g)) {
6598
+ const missingParams = url.match(/:[a-zA-Z0-9]+/g);
6599
+ const missing = missingParams.map((param) => param.replace(":", ""));
6600
+ return Promise.reject(
6601
+ new Error("Missing parameters: " + missing.join(", "))
6602
+ );
6603
+ }
6604
+ const config = {
6605
+ method: "get",
6606
+ url,
6607
+ ...httpConfigOptions
6608
+ };
6609
+ if (data)
6610
+ config.data = data;
6611
+ if (query)
6612
+ config.params = query;
6613
+ if (headers)
6614
+ config.headers = headers;
6615
+ return this._http.request(config);
6616
+ }, "ListMyTimeSheets");
6617
+ }
6618
+ });
6619
+
6620
+ // dist/useCases/DescribeTimeSheet.js
6621
+ var require_DescribeTimeSheet = __commonJS({
6622
+ "dist/useCases/DescribeTimeSheet.js"(exports, module) {
6623
+ module.exports = /* @__PURE__ */ __name(function DescribeTimeSheet(requestData = { data: null, query: null, headers: null }, httpConfigOptions = {}) {
6624
+ if (!requestData)
6625
+ requestData = {};
6626
+ const pathParams = [":id"];
6627
+ const { data, query, headers } = requestData;
6628
+ let url = "/timesheets/:id";
6629
+ if (pathParams && data) {
6630
+ for (const param of pathParams) {
6631
+ const paramName = param.replace(":", "");
6632
+ url = url.replace(param, data[paramName]);
6633
+ }
6634
+ }
6635
+ if (url.match(/:[a-zA-Z0-9]+/g)) {
6636
+ const missingParams = url.match(/:[a-zA-Z0-9]+/g);
6637
+ const missing = missingParams.map((param) => param.replace(":", ""));
6638
+ return Promise.reject(
6639
+ new Error("Missing parameters: " + missing.join(", "))
6640
+ );
6641
+ }
6642
+ const config = {
6643
+ method: "get",
6644
+ url,
6645
+ ...httpConfigOptions
6646
+ };
6647
+ if (data)
6648
+ config.data = data;
6649
+ if (query)
6650
+ config.params = query;
6651
+ if (headers)
6652
+ config.headers = headers;
6653
+ return this._http.request(config);
6654
+ }, "DescribeTimeSheet");
6655
+ }
6656
+ });
6657
+
6658
+ // dist/useCases/ListTimeSheets.js
6659
+ var require_ListTimeSheets = __commonJS({
6660
+ "dist/useCases/ListTimeSheets.js"(exports, module) {
6661
+ module.exports = /* @__PURE__ */ __name(function ListTimeSheets(requestData = { data: null, query: null, headers: null }, httpConfigOptions = {}) {
6662
+ if (!requestData)
6663
+ requestData = {};
6664
+ const pathParams = null;
6665
+ const { data, query, headers } = requestData;
6666
+ let url = "/timesheets";
6667
+ if (pathParams && data) {
6668
+ for (const param of pathParams) {
6669
+ const paramName = param.replace(":", "");
6670
+ url = url.replace(param, data[paramName]);
6671
+ }
6672
+ }
6673
+ if (url.match(/:[a-zA-Z0-9]+/g)) {
6674
+ const missingParams = url.match(/:[a-zA-Z0-9]+/g);
6675
+ const missing = missingParams.map((param) => param.replace(":", ""));
6676
+ return Promise.reject(
6677
+ new Error("Missing parameters: " + missing.join(", "))
6678
+ );
6679
+ }
6680
+ const config = {
6681
+ method: "get",
6682
+ url,
6683
+ ...httpConfigOptions
6684
+ };
6685
+ if (data)
6686
+ config.data = data;
6687
+ if (query)
6688
+ config.params = query;
6689
+ if (headers)
6690
+ config.headers = headers;
6691
+ return this._http.request(config);
6692
+ }, "ListTimeSheets");
6693
+ }
6694
+ });
6695
+
6696
+ // dist/useCases/CreateTimeSheet.js
6697
+ var require_CreateTimeSheet = __commonJS({
6698
+ "dist/useCases/CreateTimeSheet.js"(exports, module) {
6699
+ module.exports = /* @__PURE__ */ __name(function CreateTimeSheet(requestData = { data: null, query: null, headers: null }, httpConfigOptions = {}) {
6700
+ if (!requestData)
6701
+ requestData = {};
6702
+ const pathParams = null;
6703
+ const { data, query, headers } = requestData;
6704
+ let url = "/timesheets";
6705
+ if (pathParams && data) {
6706
+ for (const param of pathParams) {
6707
+ const paramName = param.replace(":", "");
6708
+ url = url.replace(param, data[paramName]);
6709
+ }
6710
+ }
6711
+ if (url.match(/:[a-zA-Z0-9]+/g)) {
6712
+ const missingParams = url.match(/:[a-zA-Z0-9]+/g);
6713
+ const missing = missingParams.map((param) => param.replace(":", ""));
6714
+ return Promise.reject(
6715
+ new Error("Missing parameters: " + missing.join(", "))
6716
+ );
6717
+ }
6718
+ const config = {
6719
+ method: "post",
6720
+ url,
6721
+ ...httpConfigOptions
6722
+ };
6723
+ if (data)
6724
+ config.data = data;
6725
+ if (query)
6726
+ config.params = query;
6727
+ if (headers)
6728
+ config.headers = headers;
6729
+ return this._http.request(config);
6730
+ }, "CreateTimeSheet");
6731
+ }
6732
+ });
6733
+
6734
+ // dist/useCases/DeleteTimeSheet.js
6735
+ var require_DeleteTimeSheet = __commonJS({
6736
+ "dist/useCases/DeleteTimeSheet.js"(exports, module) {
6737
+ module.exports = /* @__PURE__ */ __name(function DeleteTimeSheet(requestData = { data: null, query: null, headers: null }, httpConfigOptions = {}) {
6738
+ if (!requestData)
6739
+ requestData = {};
6740
+ const pathParams = [":id"];
6741
+ const { data, query, headers } = requestData;
6742
+ let url = "/timesheets/:id";
6743
+ if (pathParams && data) {
6744
+ for (const param of pathParams) {
6745
+ const paramName = param.replace(":", "");
6746
+ url = url.replace(param, data[paramName]);
6747
+ }
6748
+ }
6749
+ if (url.match(/:[a-zA-Z0-9]+/g)) {
6750
+ const missingParams = url.match(/:[a-zA-Z0-9]+/g);
6751
+ const missing = missingParams.map((param) => param.replace(":", ""));
6752
+ return Promise.reject(
6753
+ new Error("Missing parameters: " + missing.join(", "))
6754
+ );
6755
+ }
6756
+ const config = {
6757
+ method: "delete",
6758
+ url,
6759
+ ...httpConfigOptions
6760
+ };
6761
+ if (data)
6762
+ config.data = data;
6763
+ if (query)
6764
+ config.params = query;
6765
+ if (headers)
6766
+ config.headers = headers;
6767
+ return this._http.request(config);
6768
+ }, "DeleteTimeSheet");
6769
+ }
6770
+ });
6771
+
6772
+ // dist/useCases/UpdateTimeSheet.js
6773
+ var require_UpdateTimeSheet = __commonJS({
6774
+ "dist/useCases/UpdateTimeSheet.js"(exports, module) {
6775
+ module.exports = /* @__PURE__ */ __name(function UpdateTimeSheet(requestData = { data: null, query: null, headers: null }, httpConfigOptions = {}) {
6776
+ if (!requestData)
6777
+ requestData = {};
6778
+ const pathParams = [":id"];
6779
+ const { data, query, headers } = requestData;
6780
+ let url = "/timesheets/:id";
6781
+ if (pathParams && data) {
6782
+ for (const param of pathParams) {
6783
+ const paramName = param.replace(":", "");
6784
+ url = url.replace(param, data[paramName]);
6785
+ }
6786
+ }
6787
+ if (url.match(/:[a-zA-Z0-9]+/g)) {
6788
+ const missingParams = url.match(/:[a-zA-Z0-9]+/g);
6789
+ const missing = missingParams.map((param) => param.replace(":", ""));
6790
+ return Promise.reject(
6791
+ new Error("Missing parameters: " + missing.join(", "))
6792
+ );
6793
+ }
6794
+ const config = {
6795
+ method: "put",
6796
+ url,
6797
+ ...httpConfigOptions
6798
+ };
6799
+ if (data)
6800
+ config.data = data;
6801
+ if (query)
6802
+ config.params = query;
6803
+ if (headers)
6804
+ config.headers = headers;
6805
+ return this._http.request(config);
6806
+ }, "UpdateTimeSheet");
6807
+ }
6808
+ });
6809
+
6810
+ // dist/useCases/CreateTimeSheetTimeEntry.js
6811
+ var require_CreateTimeSheetTimeEntry = __commonJS({
6812
+ "dist/useCases/CreateTimeSheetTimeEntry.js"(exports, module) {
6813
+ module.exports = /* @__PURE__ */ __name(function CreateTimeSheetTimeEntry(requestData = { data: null, query: null, headers: null }, httpConfigOptions = {}) {
6814
+ if (!requestData)
6815
+ requestData = {};
6816
+ const pathParams = [":timeSheetId"];
6817
+ const { data, query, headers } = requestData;
6818
+ let url = "/timesheets/:timeSheetId/timeEntries";
6819
+ if (pathParams && data) {
6820
+ for (const param of pathParams) {
6821
+ const paramName = param.replace(":", "");
6822
+ url = url.replace(param, data[paramName]);
6823
+ }
6824
+ }
6825
+ if (url.match(/:[a-zA-Z0-9]+/g)) {
6826
+ const missingParams = url.match(/:[a-zA-Z0-9]+/g);
6827
+ const missing = missingParams.map((param) => param.replace(":", ""));
6828
+ return Promise.reject(
6829
+ new Error("Missing parameters: " + missing.join(", "))
6830
+ );
6831
+ }
6832
+ const config = {
6833
+ method: "post",
6834
+ url,
6835
+ ...httpConfigOptions
6836
+ };
6837
+ if (data)
6838
+ config.data = data;
6839
+ if (query)
6840
+ config.params = query;
6841
+ if (headers)
6842
+ config.headers = headers;
6843
+ return this._http.request(config);
6844
+ }, "CreateTimeSheetTimeEntry");
6845
+ }
6846
+ });
6847
+
6848
+ // dist/useCases/DeleteTimeSheetTimeEntry.js
6849
+ var require_DeleteTimeSheetTimeEntry = __commonJS({
6850
+ "dist/useCases/DeleteTimeSheetTimeEntry.js"(exports, module) {
6851
+ module.exports = /* @__PURE__ */ __name(function DeleteTimeSheetTimeEntry(requestData = { data: null, query: null, headers: null }, httpConfigOptions = {}) {
6852
+ if (!requestData)
6853
+ requestData = {};
6854
+ const pathParams = [":timeSheetId", ":id"];
6855
+ const { data, query, headers } = requestData;
6856
+ let url = "/timesheets/:timeSheetId/timeEntries/:id";
6857
+ if (pathParams && data) {
6858
+ for (const param of pathParams) {
6859
+ const paramName = param.replace(":", "");
6860
+ url = url.replace(param, data[paramName]);
6861
+ }
6862
+ }
6863
+ if (url.match(/:[a-zA-Z0-9]+/g)) {
6864
+ const missingParams = url.match(/:[a-zA-Z0-9]+/g);
6865
+ const missing = missingParams.map((param) => param.replace(":", ""));
6866
+ return Promise.reject(
6867
+ new Error("Missing parameters: " + missing.join(", "))
6868
+ );
6869
+ }
6870
+ const config = {
6871
+ method: "delete",
6872
+ url,
6873
+ ...httpConfigOptions
6874
+ };
6875
+ if (data)
6876
+ config.data = data;
6877
+ if (query)
6878
+ config.params = query;
6879
+ if (headers)
6880
+ config.headers = headers;
6881
+ return this._http.request(config);
6882
+ }, "DeleteTimeSheetTimeEntry");
6883
+ }
6884
+ });
6885
+
6886
+ // dist/useCases/UpdateTimeSheetTimeEntry.js
6887
+ var require_UpdateTimeSheetTimeEntry = __commonJS({
6888
+ "dist/useCases/UpdateTimeSheetTimeEntry.js"(exports, module) {
6889
+ module.exports = /* @__PURE__ */ __name(function UpdateTimeSheetTimeEntry(requestData = { data: null, query: null, headers: null }, httpConfigOptions = {}) {
6890
+ if (!requestData)
6891
+ requestData = {};
6892
+ const pathParams = [":timeSheetId", ":id"];
6893
+ const { data, query, headers } = requestData;
6894
+ let url = "/timesheets/:timeSheetId/timeEntries/:id";
6895
+ if (pathParams && data) {
6896
+ for (const param of pathParams) {
6897
+ const paramName = param.replace(":", "");
6898
+ url = url.replace(param, data[paramName]);
6899
+ }
6900
+ }
6901
+ if (url.match(/:[a-zA-Z0-9]+/g)) {
6902
+ const missingParams = url.match(/:[a-zA-Z0-9]+/g);
6903
+ const missing = missingParams.map((param) => param.replace(":", ""));
6904
+ return Promise.reject(
6905
+ new Error("Missing parameters: " + missing.join(", "))
6906
+ );
6907
+ }
6908
+ const config = {
6909
+ method: "put",
6910
+ url,
6911
+ ...httpConfigOptions
6912
+ };
6913
+ if (data)
6914
+ config.data = data;
6915
+ if (query)
6916
+ config.params = query;
6917
+ if (headers)
6918
+ config.headers = headers;
6919
+ return this._http.request(config);
6920
+ }, "UpdateTimeSheetTimeEntry");
6921
+ }
6922
+ });
6923
+
6506
6924
  // node_modules/events/events.js
6507
6925
  var require_events = __commonJS({
6508
6926
  "node_modules/events/events.js"(exports, module) {
@@ -6904,7 +7322,7 @@ var require_axios = __commonJS({
6904
7322
  __name(bind, "bind");
6905
7323
  var { toString } = Object.prototype;
6906
7324
  var { getPrototypeOf } = Object;
6907
- var kindOf = ((cache) => (thing) => {
7325
+ var kindOf = /* @__PURE__ */ ((cache) => (thing) => {
6908
7326
  const str = toString.call(thing);
6909
7327
  return cache[str] || (cache[str] = str.slice(8, -1).toLowerCase());
6910
7328
  })(/* @__PURE__ */ Object.create(null));
@@ -7088,7 +7506,7 @@ var require_axios = __commonJS({
7088
7506
  }
7089
7507
  return arr;
7090
7508
  }, "toArray");
7091
- var isTypedArray = ((TypedArray) => {
7509
+ var isTypedArray = /* @__PURE__ */ ((TypedArray) => {
7092
7510
  return (thing) => {
7093
7511
  return TypedArray && thing instanceof TypedArray;
7094
7512
  };
@@ -8099,47 +8517,34 @@ var require_axios = __commonJS({
8099
8517
  __name(settle, "settle");
8100
8518
  var cookies = platform.hasStandardBrowserEnv ? (
8101
8519
  // Standard browser envs support document.cookie
8102
- (/* @__PURE__ */ __name(function standardBrowserEnv() {
8103
- return {
8104
- write: /* @__PURE__ */ __name(function write(name, value, expires, path, domain, secure) {
8105
- const cookie = [];
8106
- cookie.push(name + "=" + encodeURIComponent(value));
8107
- if (utils$1.isNumber(expires)) {
8108
- cookie.push("expires=" + new Date(expires).toGMTString());
8109
- }
8110
- if (utils$1.isString(path)) {
8111
- cookie.push("path=" + path);
8112
- }
8113
- if (utils$1.isString(domain)) {
8114
- cookie.push("domain=" + domain);
8115
- }
8116
- if (secure === true) {
8117
- cookie.push("secure");
8118
- }
8119
- document.cookie = cookie.join("; ");
8120
- }, "write"),
8121
- read: /* @__PURE__ */ __name(function read(name) {
8122
- const match = document.cookie.match(new RegExp("(^|;\\s*)(" + name + ")=([^;]*)"));
8123
- return match ? decodeURIComponent(match[3]) : null;
8124
- }, "read"),
8125
- remove: /* @__PURE__ */ __name(function remove(name) {
8126
- this.write(name, "", Date.now() - 864e5);
8127
- }, "remove")
8128
- };
8129
- }, "standardBrowserEnv"))()
8520
+ {
8521
+ write(name, value, expires, path, domain, secure) {
8522
+ const cookie = [name + "=" + encodeURIComponent(value)];
8523
+ utils$1.isNumber(expires) && cookie.push("expires=" + new Date(expires).toGMTString());
8524
+ utils$1.isString(path) && cookie.push("path=" + path);
8525
+ utils$1.isString(domain) && cookie.push("domain=" + domain);
8526
+ secure === true && cookie.push("secure");
8527
+ document.cookie = cookie.join("; ");
8528
+ },
8529
+ read(name) {
8530
+ const match = document.cookie.match(new RegExp("(^|;\\s*)(" + name + ")=([^;]*)"));
8531
+ return match ? decodeURIComponent(match[3]) : null;
8532
+ },
8533
+ remove(name) {
8534
+ this.write(name, "", Date.now() - 864e5);
8535
+ }
8536
+ }
8130
8537
  ) : (
8131
- // Non standard browser env (web workers, react-native) lack needed support.
8132
- (/* @__PURE__ */ __name(function nonStandardBrowserEnv() {
8133
- return {
8134
- write: /* @__PURE__ */ __name(function write() {
8135
- }, "write"),
8136
- read: /* @__PURE__ */ __name(function read() {
8137
- return null;
8138
- }, "read"),
8139
- remove: /* @__PURE__ */ __name(function remove() {
8140
- }, "remove")
8141
- };
8142
- }, "nonStandardBrowserEnv"))()
8538
+ // Non-standard browser env (web workers, react-native) lack needed support.
8539
+ {
8540
+ write() {
8541
+ },
8542
+ read() {
8543
+ return null;
8544
+ },
8545
+ remove() {
8546
+ }
8547
+ }
8143
8548
  );
8144
8549
  function isAbsoluteURL(url) {
8145
8550
  return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(url);
@@ -8264,7 +8669,7 @@ var require_axios = __commonJS({
8264
8669
  return new Promise(/* @__PURE__ */ __name(function dispatchXhrRequest(resolve, reject) {
8265
8670
  let requestData = config.data;
8266
8671
  const requestHeaders = AxiosHeaders$1.from(config.headers).normalize();
8267
- const responseType = config.responseType;
8672
+ let { responseType, withXSRFToken } = config;
8268
8673
  let onCanceled;
8269
8674
  function done() {
8270
8675
  if (config.cancelToken) {
@@ -8358,9 +8763,12 @@ var require_axios = __commonJS({
8358
8763
  request = null;
8359
8764
  }, "handleTimeout");
8360
8765
  if (platform.hasStandardBrowserEnv) {
8361
- const xsrfValue = isURLSameOrigin(fullPath) && config.xsrfCookieName && cookies.read(config.xsrfCookieName);
8362
- if (xsrfValue) {
8363
- requestHeaders.set(config.xsrfHeaderName, xsrfValue);
8766
+ withXSRFToken && utils$1.isFunction(withXSRFToken) && (withXSRFToken = withXSRFToken(config));
8767
+ if (withXSRFToken || withXSRFToken !== false && isURLSameOrigin(fullPath)) {
8768
+ const xsrfValue = config.xsrfHeaderName && config.xsrfCookieName && cookies.read(config.xsrfCookieName);
8769
+ if (xsrfValue) {
8770
+ requestHeaders.set(config.xsrfHeaderName, xsrfValue);
8771
+ }
8364
8772
  }
8365
8773
  }
8366
8774
  requestData === void 0 && requestHeaders.setContentType(null);
@@ -8555,6 +8963,7 @@ var require_axios = __commonJS({
8555
8963
  timeout: defaultToConfig2,
8556
8964
  timeoutMessage: defaultToConfig2,
8557
8965
  withCredentials: defaultToConfig2,
8966
+ withXSRFToken: defaultToConfig2,
8558
8967
  adapter: defaultToConfig2,
8559
8968
  responseType: defaultToConfig2,
8560
8969
  xsrfCookieName: defaultToConfig2,
@@ -8582,7 +8991,7 @@ var require_axios = __commonJS({
8582
8991
  return config;
8583
8992
  }
8584
8993
  __name(mergeConfig, "mergeConfig");
8585
- var VERSION = "1.6.1";
8994
+ var VERSION = "1.6.2";
8586
8995
  var validators$1 = {};
8587
8996
  ["object", "boolean", "number", "function", "string", "symbol"].forEach((type, i) => {
8588
8997
  validators$1[type] = /* @__PURE__ */ __name(function validator2(thing) {
@@ -9097,6 +9506,7 @@ var require_Client = __commonJS({
9097
9506
  var SetCustomScene = require_SetCustomScene();
9098
9507
  var AddScenesToRoom = require_AddScenesToRoom();
9099
9508
  var AddDefaultScenesToRooms = require_AddDefaultScenesToRooms();
9509
+ var DescribeTicketStats = require_DescribeTicketStats();
9100
9510
  var CreateTicket = require_CreateTicket();
9101
9511
  var CreateTicketMessage = require_CreateTicketMessage();
9102
9512
  var DeleteTicket = require_DeleteTicket();
@@ -9165,6 +9575,16 @@ var require_Client = __commonJS({
9165
9575
  var DescribeAnnouncement = require_DescribeAnnouncement();
9166
9576
  var DeleteAnnouncement = require_DeleteAnnouncement();
9167
9577
  var ListAnnouncements = require_ListAnnouncements();
9578
+ var DescribeTimeSheetStats = require_DescribeTimeSheetStats();
9579
+ var ListMyTimeSheets = require_ListMyTimeSheets();
9580
+ var DescribeTimeSheet = require_DescribeTimeSheet();
9581
+ var ListTimeSheets = require_ListTimeSheets();
9582
+ var CreateTimeSheet = require_CreateTimeSheet();
9583
+ var DeleteTimeSheet = require_DeleteTimeSheet();
9584
+ var UpdateTimeSheet = require_UpdateTimeSheet();
9585
+ var CreateTimeSheetTimeEntry = require_CreateTimeSheetTimeEntry();
9586
+ var DeleteTimeSheetTimeEntry = require_DeleteTimeSheetTimeEntry();
9587
+ var UpdateTimeSheetTimeEntry = require_UpdateTimeSheetTimeEntry();
9168
9588
  var { EventEmitter } = require_events();
9169
9589
  var axios = require_axios();
9170
9590
  var KohostApiClient = class _KohostApiClient extends EventEmitter {
@@ -9407,6 +9827,7 @@ var require_Client = __commonJS({
9407
9827
  KohostApiClient.prototype.SetCustomScene = SetCustomScene;
9408
9828
  KohostApiClient.prototype.AddScenesToRoom = AddScenesToRoom;
9409
9829
  KohostApiClient.prototype.AddDefaultScenesToRooms = AddDefaultScenesToRooms;
9830
+ KohostApiClient.prototype.DescribeTicketStats = DescribeTicketStats;
9410
9831
  KohostApiClient.prototype.CreateTicket = CreateTicket;
9411
9832
  KohostApiClient.prototype.CreateTicketMessage = CreateTicketMessage;
9412
9833
  KohostApiClient.prototype.DeleteTicket = DeleteTicket;
@@ -9475,6 +9896,16 @@ var require_Client = __commonJS({
9475
9896
  KohostApiClient.prototype.DescribeAnnouncement = DescribeAnnouncement;
9476
9897
  KohostApiClient.prototype.DeleteAnnouncement = DeleteAnnouncement;
9477
9898
  KohostApiClient.prototype.ListAnnouncements = ListAnnouncements;
9899
+ KohostApiClient.prototype.DescribeTimeSheetStats = DescribeTimeSheetStats;
9900
+ KohostApiClient.prototype.ListMyTimeSheets = ListMyTimeSheets;
9901
+ KohostApiClient.prototype.DescribeTimeSheet = DescribeTimeSheet;
9902
+ KohostApiClient.prototype.ListTimeSheets = ListTimeSheets;
9903
+ KohostApiClient.prototype.CreateTimeSheet = CreateTimeSheet;
9904
+ KohostApiClient.prototype.DeleteTimeSheet = DeleteTimeSheet;
9905
+ KohostApiClient.prototype.UpdateTimeSheet = UpdateTimeSheet;
9906
+ KohostApiClient.prototype.CreateTimeSheetTimeEntry = CreateTimeSheetTimeEntry;
9907
+ KohostApiClient.prototype.DeleteTimeSheetTimeEntry = DeleteTimeSheetTimeEntry;
9908
+ KohostApiClient.prototype.UpdateTimeSheetTimeEntry = UpdateTimeSheetTimeEntry;
9478
9909
  module.exports = KohostApiClient;
9479
9910
  }
9480
9911
  });