bnstooltips 1.4.5 → 1.4.6

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
@@ -476,10 +476,11 @@ var BnsItemApiFetchParamCreator = function (configuration) {
476
476
  * @param {string} [gradesString]
477
477
  * @param {string} [minGs]
478
478
  * @param {string} [patch]
479
+ * @param {boolean} [noDupes]
479
480
  * @param {*} [options] Override http request option.
480
481
  * @throws {RequiredError}
481
482
  */
482
- bnsItemItemsByCategoryGet: function (region, category, technicalJobName, gradesString, minGs, patch, options) {
483
+ bnsItemItemsByCategoryGet: function (region, category, technicalJobName, gradesString, minGs, patch, noDupes, options) {
483
484
  if (options === void 0) { options = {}; }
484
485
  // verify required parameter 'region' is not null or undefined
485
486
  if (region === null || region === undefined) {
@@ -508,6 +509,9 @@ var BnsItemApiFetchParamCreator = function (configuration) {
508
509
  if (patch !== undefined) {
509
510
  localVarQueryParameter['patch'] = patch;
510
511
  }
512
+ if (noDupes !== undefined) {
513
+ localVarQueryParameter['noDupes'] = noDupes;
514
+ }
511
515
  localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
512
516
  // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
513
517
  delete localVarUrlObj.search;
@@ -682,6 +686,55 @@ var BnsItemApiFetchParamCreator = function (configuration) {
682
686
  options: localVarRequestOptions,
683
687
  };
684
688
  },
689
+ /**
690
+ *
691
+ * @param {string} region
692
+ * @param {string} itemType
693
+ * @param {string} technicalJobName
694
+ * @param {string} [patch]
695
+ * @param {*} [options] Override http request option.
696
+ * @throws {RequiredError}
697
+ */
698
+ bnsItemYastItemsGet: function (region, itemType, technicalJobName, patch, options) {
699
+ if (options === void 0) { options = {}; }
700
+ // verify required parameter 'region' is not null or undefined
701
+ if (region === null || region === undefined) {
702
+ throw new RequiredError('region', 'Required parameter region was null or undefined when calling bnsItemYastItemsGet.');
703
+ }
704
+ // verify required parameter 'itemType' is not null or undefined
705
+ if (itemType === null || itemType === undefined) {
706
+ throw new RequiredError('itemType', 'Required parameter itemType was null or undefined when calling bnsItemYastItemsGet.');
707
+ }
708
+ // verify required parameter 'technicalJobName' is not null or undefined
709
+ if (technicalJobName === null || technicalJobName === undefined) {
710
+ throw new RequiredError('technicalJobName', 'Required parameter technicalJobName was null or undefined when calling bnsItemYastItemsGet.');
711
+ }
712
+ var localVarPath = "/BnsItem/YastItems";
713
+ var localVarUrlObj = url__namespace.parse(localVarPath, true);
714
+ var localVarRequestOptions = Object.assign({ method: 'GET' }, options);
715
+ var localVarHeaderParameter = {};
716
+ var localVarQueryParameter = {};
717
+ if (region !== undefined) {
718
+ localVarQueryParameter['region'] = region;
719
+ }
720
+ if (itemType !== undefined) {
721
+ localVarQueryParameter['itemType'] = itemType;
722
+ }
723
+ if (technicalJobName !== undefined) {
724
+ localVarQueryParameter['technicalJobName'] = technicalJobName;
725
+ }
726
+ if (patch !== undefined) {
727
+ localVarQueryParameter['patch'] = patch;
728
+ }
729
+ localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
730
+ // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
731
+ delete localVarUrlObj.search;
732
+ localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers);
733
+ return {
734
+ url: url__namespace.format(localVarUrlObj),
735
+ options: localVarRequestOptions,
736
+ };
737
+ },
685
738
  };
686
739
  };
687
740
  /**
@@ -771,11 +824,12 @@ var BnsItemApiFp = function (configuration) {
771
824
  * @param {string} [gradesString]
772
825
  * @param {string} [minGs]
773
826
  * @param {string} [patch]
827
+ * @param {boolean} [noDupes]
774
828
  * @param {*} [options] Override http request option.
775
829
  * @throws {RequiredError}
776
830
  */
777
- bnsItemItemsByCategoryGet: function (region, category, technicalJobName, gradesString, minGs, patch, options) {
778
- var localVarFetchArgs = BnsItemApiFetchParamCreator().bnsItemItemsByCategoryGet(region, category, technicalJobName, gradesString, minGs, patch, options);
831
+ bnsItemItemsByCategoryGet: function (region, category, technicalJobName, gradesString, minGs, patch, noDupes, options) {
832
+ var localVarFetchArgs = BnsItemApiFetchParamCreator().bnsItemItemsByCategoryGet(region, category, technicalJobName, gradesString, minGs, patch, noDupes, options);
779
833
  return function (fetch, basePath) {
780
834
  if (fetch === void 0) { fetch = isomorphicFetch__namespace; }
781
835
  if (basePath === void 0) { basePath = BASE_PATH; }
@@ -898,6 +952,30 @@ var BnsItemApiFp = function (configuration) {
898
952
  });
899
953
  };
900
954
  },
955
+ /**
956
+ *
957
+ * @param {string} region
958
+ * @param {string} itemType
959
+ * @param {string} technicalJobName
960
+ * @param {string} [patch]
961
+ * @param {*} [options] Override http request option.
962
+ * @throws {RequiredError}
963
+ */
964
+ bnsItemYastItemsGet: function (region, itemType, technicalJobName, patch, options) {
965
+ var localVarFetchArgs = BnsItemApiFetchParamCreator().bnsItemYastItemsGet(region, itemType, technicalJobName, patch, options);
966
+ return function (fetch, basePath) {
967
+ if (fetch === void 0) { fetch = isomorphicFetch__namespace; }
968
+ if (basePath === void 0) { basePath = BASE_PATH; }
969
+ return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then(function (response) {
970
+ if (response.status >= 200 && response.status < 300) {
971
+ return response.json();
972
+ }
973
+ else {
974
+ throw response;
975
+ }
976
+ });
977
+ };
978
+ },
901
979
  };
902
980
  };
903
981
  /**
@@ -959,12 +1037,13 @@ var BnsItemApi = /** @class */ (function (_super) {
959
1037
  * @param {string} [gradesString]
960
1038
  * @param {string} [minGs]
961
1039
  * @param {string} [patch]
1040
+ * @param {boolean} [noDupes]
962
1041
  * @param {*} [options] Override http request option.
963
1042
  * @throws {RequiredError}
964
1043
  * @memberof BnsItemApi
965
1044
  */
966
- BnsItemApi.prototype.bnsItemItemsByCategoryGet = function (region, category, technicalJobName, gradesString, minGs, patch, options) {
967
- return BnsItemApiFp(this.configuration).bnsItemItemsByCategoryGet(region, category, technicalJobName, gradesString, minGs, patch, options)(this.fetch, this.basePath);
1045
+ BnsItemApi.prototype.bnsItemItemsByCategoryGet = function (region, category, technicalJobName, gradesString, minGs, patch, noDupes, options) {
1046
+ return BnsItemApiFp(this.configuration).bnsItemItemsByCategoryGet(region, category, technicalJobName, gradesString, minGs, patch, noDupes, options)(this.fetch, this.basePath);
968
1047
  };
969
1048
  /**
970
1049
  *
@@ -1020,6 +1099,19 @@ var BnsItemApi = /** @class */ (function (_super) {
1020
1099
  BnsItemApi.prototype.bnsItemPingGet = function (options) {
1021
1100
  return BnsItemApiFp(this.configuration).bnsItemPingGet(options)(this.fetch, this.basePath);
1022
1101
  };
1102
+ /**
1103
+ *
1104
+ * @param {string} region
1105
+ * @param {string} itemType
1106
+ * @param {string} technicalJobName
1107
+ * @param {string} [patch]
1108
+ * @param {*} [options] Override http request option.
1109
+ * @throws {RequiredError}
1110
+ * @memberof BnsItemApi
1111
+ */
1112
+ BnsItemApi.prototype.bnsItemYastItemsGet = function (region, itemType, technicalJobName, patch, options) {
1113
+ return BnsItemApiFp(this.configuration).bnsItemYastItemsGet(region, itemType, technicalJobName, patch, options)(this.fetch, this.basePath);
1114
+ };
1023
1115
  return BnsItemApi;
1024
1116
  }(BaseAPI));
1025
1117