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.es.js +97 -5
- package/build/index.es.js.map +1 -1
- package/build/index.js +97 -5
- package/build/index.js.map +1 -1
- package/build/itemapiclient/api.d.ts +49 -4
- package/package.json +1 -1
package/build/index.es.js
CHANGED
|
@@ -448,10 +448,11 @@ var BnsItemApiFetchParamCreator = function (configuration) {
|
|
|
448
448
|
* @param {string} [gradesString]
|
|
449
449
|
* @param {string} [minGs]
|
|
450
450
|
* @param {string} [patch]
|
|
451
|
+
* @param {boolean} [noDupes]
|
|
451
452
|
* @param {*} [options] Override http request option.
|
|
452
453
|
* @throws {RequiredError}
|
|
453
454
|
*/
|
|
454
|
-
bnsItemItemsByCategoryGet: function (region, category, technicalJobName, gradesString, minGs, patch, options) {
|
|
455
|
+
bnsItemItemsByCategoryGet: function (region, category, technicalJobName, gradesString, minGs, patch, noDupes, options) {
|
|
455
456
|
if (options === void 0) { options = {}; }
|
|
456
457
|
// verify required parameter 'region' is not null or undefined
|
|
457
458
|
if (region === null || region === undefined) {
|
|
@@ -480,6 +481,9 @@ var BnsItemApiFetchParamCreator = function (configuration) {
|
|
|
480
481
|
if (patch !== undefined) {
|
|
481
482
|
localVarQueryParameter['patch'] = patch;
|
|
482
483
|
}
|
|
484
|
+
if (noDupes !== undefined) {
|
|
485
|
+
localVarQueryParameter['noDupes'] = noDupes;
|
|
486
|
+
}
|
|
483
487
|
localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
|
|
484
488
|
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
485
489
|
delete localVarUrlObj.search;
|
|
@@ -654,6 +658,55 @@ var BnsItemApiFetchParamCreator = function (configuration) {
|
|
|
654
658
|
options: localVarRequestOptions,
|
|
655
659
|
};
|
|
656
660
|
},
|
|
661
|
+
/**
|
|
662
|
+
*
|
|
663
|
+
* @param {string} region
|
|
664
|
+
* @param {string} itemType
|
|
665
|
+
* @param {string} technicalJobName
|
|
666
|
+
* @param {string} [patch]
|
|
667
|
+
* @param {*} [options] Override http request option.
|
|
668
|
+
* @throws {RequiredError}
|
|
669
|
+
*/
|
|
670
|
+
bnsItemYastItemsGet: function (region, itemType, technicalJobName, patch, options) {
|
|
671
|
+
if (options === void 0) { options = {}; }
|
|
672
|
+
// verify required parameter 'region' is not null or undefined
|
|
673
|
+
if (region === null || region === undefined) {
|
|
674
|
+
throw new RequiredError('region', 'Required parameter region was null or undefined when calling bnsItemYastItemsGet.');
|
|
675
|
+
}
|
|
676
|
+
// verify required parameter 'itemType' is not null or undefined
|
|
677
|
+
if (itemType === null || itemType === undefined) {
|
|
678
|
+
throw new RequiredError('itemType', 'Required parameter itemType was null or undefined when calling bnsItemYastItemsGet.');
|
|
679
|
+
}
|
|
680
|
+
// verify required parameter 'technicalJobName' is not null or undefined
|
|
681
|
+
if (technicalJobName === null || technicalJobName === undefined) {
|
|
682
|
+
throw new RequiredError('technicalJobName', 'Required parameter technicalJobName was null or undefined when calling bnsItemYastItemsGet.');
|
|
683
|
+
}
|
|
684
|
+
var localVarPath = "/BnsItem/YastItems";
|
|
685
|
+
var localVarUrlObj = url.parse(localVarPath, true);
|
|
686
|
+
var localVarRequestOptions = Object.assign({ method: 'GET' }, options);
|
|
687
|
+
var localVarHeaderParameter = {};
|
|
688
|
+
var localVarQueryParameter = {};
|
|
689
|
+
if (region !== undefined) {
|
|
690
|
+
localVarQueryParameter['region'] = region;
|
|
691
|
+
}
|
|
692
|
+
if (itemType !== undefined) {
|
|
693
|
+
localVarQueryParameter['itemType'] = itemType;
|
|
694
|
+
}
|
|
695
|
+
if (technicalJobName !== undefined) {
|
|
696
|
+
localVarQueryParameter['technicalJobName'] = technicalJobName;
|
|
697
|
+
}
|
|
698
|
+
if (patch !== undefined) {
|
|
699
|
+
localVarQueryParameter['patch'] = patch;
|
|
700
|
+
}
|
|
701
|
+
localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
|
|
702
|
+
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
703
|
+
delete localVarUrlObj.search;
|
|
704
|
+
localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers);
|
|
705
|
+
return {
|
|
706
|
+
url: url.format(localVarUrlObj),
|
|
707
|
+
options: localVarRequestOptions,
|
|
708
|
+
};
|
|
709
|
+
},
|
|
657
710
|
};
|
|
658
711
|
};
|
|
659
712
|
/**
|
|
@@ -743,11 +796,12 @@ var BnsItemApiFp = function (configuration) {
|
|
|
743
796
|
* @param {string} [gradesString]
|
|
744
797
|
* @param {string} [minGs]
|
|
745
798
|
* @param {string} [patch]
|
|
799
|
+
* @param {boolean} [noDupes]
|
|
746
800
|
* @param {*} [options] Override http request option.
|
|
747
801
|
* @throws {RequiredError}
|
|
748
802
|
*/
|
|
749
|
-
bnsItemItemsByCategoryGet: function (region, category, technicalJobName, gradesString, minGs, patch, options) {
|
|
750
|
-
var localVarFetchArgs = BnsItemApiFetchParamCreator().bnsItemItemsByCategoryGet(region, category, technicalJobName, gradesString, minGs, patch, options);
|
|
803
|
+
bnsItemItemsByCategoryGet: function (region, category, technicalJobName, gradesString, minGs, patch, noDupes, options) {
|
|
804
|
+
var localVarFetchArgs = BnsItemApiFetchParamCreator().bnsItemItemsByCategoryGet(region, category, technicalJobName, gradesString, minGs, patch, noDupes, options);
|
|
751
805
|
return function (fetch, basePath) {
|
|
752
806
|
if (fetch === void 0) { fetch = isomorphicFetch; }
|
|
753
807
|
if (basePath === void 0) { basePath = BASE_PATH; }
|
|
@@ -870,6 +924,30 @@ var BnsItemApiFp = function (configuration) {
|
|
|
870
924
|
});
|
|
871
925
|
};
|
|
872
926
|
},
|
|
927
|
+
/**
|
|
928
|
+
*
|
|
929
|
+
* @param {string} region
|
|
930
|
+
* @param {string} itemType
|
|
931
|
+
* @param {string} technicalJobName
|
|
932
|
+
* @param {string} [patch]
|
|
933
|
+
* @param {*} [options] Override http request option.
|
|
934
|
+
* @throws {RequiredError}
|
|
935
|
+
*/
|
|
936
|
+
bnsItemYastItemsGet: function (region, itemType, technicalJobName, patch, options) {
|
|
937
|
+
var localVarFetchArgs = BnsItemApiFetchParamCreator().bnsItemYastItemsGet(region, itemType, technicalJobName, patch, options);
|
|
938
|
+
return function (fetch, basePath) {
|
|
939
|
+
if (fetch === void 0) { fetch = isomorphicFetch; }
|
|
940
|
+
if (basePath === void 0) { basePath = BASE_PATH; }
|
|
941
|
+
return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then(function (response) {
|
|
942
|
+
if (response.status >= 200 && response.status < 300) {
|
|
943
|
+
return response.json();
|
|
944
|
+
}
|
|
945
|
+
else {
|
|
946
|
+
throw response;
|
|
947
|
+
}
|
|
948
|
+
});
|
|
949
|
+
};
|
|
950
|
+
},
|
|
873
951
|
};
|
|
874
952
|
};
|
|
875
953
|
/**
|
|
@@ -931,12 +1009,13 @@ var BnsItemApi = /** @class */ (function (_super) {
|
|
|
931
1009
|
* @param {string} [gradesString]
|
|
932
1010
|
* @param {string} [minGs]
|
|
933
1011
|
* @param {string} [patch]
|
|
1012
|
+
* @param {boolean} [noDupes]
|
|
934
1013
|
* @param {*} [options] Override http request option.
|
|
935
1014
|
* @throws {RequiredError}
|
|
936
1015
|
* @memberof BnsItemApi
|
|
937
1016
|
*/
|
|
938
|
-
BnsItemApi.prototype.bnsItemItemsByCategoryGet = function (region, category, technicalJobName, gradesString, minGs, patch, options) {
|
|
939
|
-
return BnsItemApiFp(this.configuration).bnsItemItemsByCategoryGet(region, category, technicalJobName, gradesString, minGs, patch, options)(this.fetch, this.basePath);
|
|
1017
|
+
BnsItemApi.prototype.bnsItemItemsByCategoryGet = function (region, category, technicalJobName, gradesString, minGs, patch, noDupes, options) {
|
|
1018
|
+
return BnsItemApiFp(this.configuration).bnsItemItemsByCategoryGet(region, category, technicalJobName, gradesString, minGs, patch, noDupes, options)(this.fetch, this.basePath);
|
|
940
1019
|
};
|
|
941
1020
|
/**
|
|
942
1021
|
*
|
|
@@ -992,6 +1071,19 @@ var BnsItemApi = /** @class */ (function (_super) {
|
|
|
992
1071
|
BnsItemApi.prototype.bnsItemPingGet = function (options) {
|
|
993
1072
|
return BnsItemApiFp(this.configuration).bnsItemPingGet(options)(this.fetch, this.basePath);
|
|
994
1073
|
};
|
|
1074
|
+
/**
|
|
1075
|
+
*
|
|
1076
|
+
* @param {string} region
|
|
1077
|
+
* @param {string} itemType
|
|
1078
|
+
* @param {string} technicalJobName
|
|
1079
|
+
* @param {string} [patch]
|
|
1080
|
+
* @param {*} [options] Override http request option.
|
|
1081
|
+
* @throws {RequiredError}
|
|
1082
|
+
* @memberof BnsItemApi
|
|
1083
|
+
*/
|
|
1084
|
+
BnsItemApi.prototype.bnsItemYastItemsGet = function (region, itemType, technicalJobName, patch, options) {
|
|
1085
|
+
return BnsItemApiFp(this.configuration).bnsItemYastItemsGet(region, itemType, technicalJobName, patch, options)(this.fetch, this.basePath);
|
|
1086
|
+
};
|
|
995
1087
|
return BnsItemApi;
|
|
996
1088
|
}(BaseAPI));
|
|
997
1089
|
|