ob-bms-sdk 0.0.76 → 0.0.78
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/api/api.ts +69 -0
- package/dist/api/api.d.ts +35 -0
- package/dist/api/api.js +59 -0
- package/package.json +1 -1
package/api/api.ts
CHANGED
|
@@ -899,6 +899,12 @@ export interface IssueTypeRequest {
|
|
|
899
899
|
* @interface IssueTypeUpdate
|
|
900
900
|
*/
|
|
901
901
|
export interface IssueTypeUpdate {
|
|
902
|
+
/**
|
|
903
|
+
*
|
|
904
|
+
* @type {string}
|
|
905
|
+
* @memberof IssueTypeUpdate
|
|
906
|
+
*/
|
|
907
|
+
'internal_remark'?: string;
|
|
902
908
|
/**
|
|
903
909
|
*
|
|
904
910
|
* @type {string}
|
|
@@ -4266,6 +4272,39 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
4266
4272
|
|
|
4267
4273
|
|
|
4268
4274
|
|
|
4275
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4276
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4277
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4278
|
+
|
|
4279
|
+
return {
|
|
4280
|
+
url: toPathString(localVarUrlObj),
|
|
4281
|
+
options: localVarRequestOptions,
|
|
4282
|
+
};
|
|
4283
|
+
},
|
|
4284
|
+
/**
|
|
4285
|
+
*
|
|
4286
|
+
* @param {string} id
|
|
4287
|
+
* @param {*} [options] Override http request option.
|
|
4288
|
+
* @throws {RequiredError}
|
|
4289
|
+
*/
|
|
4290
|
+
issueTypesShow: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4291
|
+
// verify required parameter 'id' is not null or undefined
|
|
4292
|
+
assertParamExists('issueTypesShow', 'id', id)
|
|
4293
|
+
const localVarPath = `/issue_types/{id}`
|
|
4294
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
4295
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4296
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4297
|
+
let baseOptions;
|
|
4298
|
+
if (configuration) {
|
|
4299
|
+
baseOptions = configuration.baseOptions;
|
|
4300
|
+
}
|
|
4301
|
+
|
|
4302
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
4303
|
+
const localVarHeaderParameter = {} as any;
|
|
4304
|
+
const localVarQueryParameter = {} as any;
|
|
4305
|
+
|
|
4306
|
+
|
|
4307
|
+
|
|
4269
4308
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4270
4309
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4271
4310
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -5352,6 +5391,16 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
5352
5391
|
const localVarAxiosArgs = await localVarAxiosParamCreator.issueTypesIndex(options);
|
|
5353
5392
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5354
5393
|
},
|
|
5394
|
+
/**
|
|
5395
|
+
*
|
|
5396
|
+
* @param {string} id
|
|
5397
|
+
* @param {*} [options] Override http request option.
|
|
5398
|
+
* @throws {RequiredError}
|
|
5399
|
+
*/
|
|
5400
|
+
async issueTypesShow(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedOneResponseIssueTypeData>> {
|
|
5401
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.issueTypesShow(id, options);
|
|
5402
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5403
|
+
},
|
|
5355
5404
|
/**
|
|
5356
5405
|
*
|
|
5357
5406
|
* @param {string} id
|
|
@@ -5736,6 +5785,15 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
5736
5785
|
issueTypesIndex(options?: any): AxiosPromise<WrappedArrayResponseIssueTypeData> {
|
|
5737
5786
|
return localVarFp.issueTypesIndex(options).then((request) => request(axios, basePath));
|
|
5738
5787
|
},
|
|
5788
|
+
/**
|
|
5789
|
+
*
|
|
5790
|
+
* @param {string} id
|
|
5791
|
+
* @param {*} [options] Override http request option.
|
|
5792
|
+
* @throws {RequiredError}
|
|
5793
|
+
*/
|
|
5794
|
+
issueTypesShow(id: string, options?: any): AxiosPromise<WrappedOneResponseIssueTypeData> {
|
|
5795
|
+
return localVarFp.issueTypesShow(id, options).then((request) => request(axios, basePath));
|
|
5796
|
+
},
|
|
5739
5797
|
/**
|
|
5740
5798
|
*
|
|
5741
5799
|
* @param {string} id
|
|
@@ -6117,6 +6175,17 @@ export class DefaultApi extends BaseAPI {
|
|
|
6117
6175
|
return DefaultApiFp(this.configuration).issueTypesIndex(options).then((request) => request(this.axios, this.basePath));
|
|
6118
6176
|
}
|
|
6119
6177
|
|
|
6178
|
+
/**
|
|
6179
|
+
*
|
|
6180
|
+
* @param {string} id
|
|
6181
|
+
* @param {*} [options] Override http request option.
|
|
6182
|
+
* @throws {RequiredError}
|
|
6183
|
+
* @memberof DefaultApi
|
|
6184
|
+
*/
|
|
6185
|
+
public issueTypesShow(id: string, options?: AxiosRequestConfig) {
|
|
6186
|
+
return DefaultApiFp(this.configuration).issueTypesShow(id, options).then((request) => request(this.axios, this.basePath));
|
|
6187
|
+
}
|
|
6188
|
+
|
|
6120
6189
|
/**
|
|
6121
6190
|
*
|
|
6122
6191
|
* @param {string} id
|
package/dist/api/api.d.ts
CHANGED
|
@@ -883,6 +883,12 @@ export interface IssueTypeRequest {
|
|
|
883
883
|
* @interface IssueTypeUpdate
|
|
884
884
|
*/
|
|
885
885
|
export interface IssueTypeUpdate {
|
|
886
|
+
/**
|
|
887
|
+
*
|
|
888
|
+
* @type {string}
|
|
889
|
+
* @memberof IssueTypeUpdate
|
|
890
|
+
*/
|
|
891
|
+
'internal_remark'?: string;
|
|
886
892
|
/**
|
|
887
893
|
*
|
|
888
894
|
* @type {string}
|
|
@@ -3895,6 +3901,13 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
3895
3901
|
* @throws {RequiredError}
|
|
3896
3902
|
*/
|
|
3897
3903
|
issueTypesIndex: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
3904
|
+
/**
|
|
3905
|
+
*
|
|
3906
|
+
* @param {string} id
|
|
3907
|
+
* @param {*} [options] Override http request option.
|
|
3908
|
+
* @throws {RequiredError}
|
|
3909
|
+
*/
|
|
3910
|
+
issueTypesShow: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
3898
3911
|
/**
|
|
3899
3912
|
*
|
|
3900
3913
|
* @param {string} id
|
|
@@ -4178,6 +4191,13 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
4178
4191
|
* @throws {RequiredError}
|
|
4179
4192
|
*/
|
|
4180
4193
|
issueTypesIndex(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedArrayResponseIssueTypeData>>;
|
|
4194
|
+
/**
|
|
4195
|
+
*
|
|
4196
|
+
* @param {string} id
|
|
4197
|
+
* @param {*} [options] Override http request option.
|
|
4198
|
+
* @throws {RequiredError}
|
|
4199
|
+
*/
|
|
4200
|
+
issueTypesShow(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedOneResponseIssueTypeData>>;
|
|
4181
4201
|
/**
|
|
4182
4202
|
*
|
|
4183
4203
|
* @param {string} id
|
|
@@ -4461,6 +4481,13 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
4461
4481
|
* @throws {RequiredError}
|
|
4462
4482
|
*/
|
|
4463
4483
|
issueTypesIndex(options?: any): AxiosPromise<WrappedArrayResponseIssueTypeData>;
|
|
4484
|
+
/**
|
|
4485
|
+
*
|
|
4486
|
+
* @param {string} id
|
|
4487
|
+
* @param {*} [options] Override http request option.
|
|
4488
|
+
* @throws {RequiredError}
|
|
4489
|
+
*/
|
|
4490
|
+
issueTypesShow(id: string, options?: any): AxiosPromise<WrappedOneResponseIssueTypeData>;
|
|
4464
4491
|
/**
|
|
4465
4492
|
*
|
|
4466
4493
|
* @param {string} id
|
|
@@ -4757,6 +4784,14 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
4757
4784
|
* @memberof DefaultApi
|
|
4758
4785
|
*/
|
|
4759
4786
|
issueTypesIndex(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedArrayResponseIssueTypeData, any>>;
|
|
4787
|
+
/**
|
|
4788
|
+
*
|
|
4789
|
+
* @param {string} id
|
|
4790
|
+
* @param {*} [options] Override http request option.
|
|
4791
|
+
* @throws {RequiredError}
|
|
4792
|
+
* @memberof DefaultApi
|
|
4793
|
+
*/
|
|
4794
|
+
issueTypesShow(id: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedOneResponseIssueTypeData, any>>;
|
|
4760
4795
|
/**
|
|
4761
4796
|
*
|
|
4762
4797
|
* @param {string} id
|
package/dist/api/api.js
CHANGED
|
@@ -464,6 +464,34 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
464
464
|
options: localVarRequestOptions,
|
|
465
465
|
};
|
|
466
466
|
}),
|
|
467
|
+
/**
|
|
468
|
+
*
|
|
469
|
+
* @param {string} id
|
|
470
|
+
* @param {*} [options] Override http request option.
|
|
471
|
+
* @throws {RequiredError}
|
|
472
|
+
*/
|
|
473
|
+
issueTypesShow: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
474
|
+
// verify required parameter 'id' is not null or undefined
|
|
475
|
+
(0, common_1.assertParamExists)('issueTypesShow', 'id', id);
|
|
476
|
+
const localVarPath = `/issue_types/{id}`
|
|
477
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
478
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
479
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
480
|
+
let baseOptions;
|
|
481
|
+
if (configuration) {
|
|
482
|
+
baseOptions = configuration.baseOptions;
|
|
483
|
+
}
|
|
484
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
485
|
+
const localVarHeaderParameter = {};
|
|
486
|
+
const localVarQueryParameter = {};
|
|
487
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
488
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
489
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
490
|
+
return {
|
|
491
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
492
|
+
options: localVarRequestOptions,
|
|
493
|
+
};
|
|
494
|
+
}),
|
|
467
495
|
/**
|
|
468
496
|
*
|
|
469
497
|
* @param {string} id
|
|
@@ -1407,6 +1435,18 @@ const DefaultApiFp = function (configuration) {
|
|
|
1407
1435
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1408
1436
|
});
|
|
1409
1437
|
},
|
|
1438
|
+
/**
|
|
1439
|
+
*
|
|
1440
|
+
* @param {string} id
|
|
1441
|
+
* @param {*} [options] Override http request option.
|
|
1442
|
+
* @throws {RequiredError}
|
|
1443
|
+
*/
|
|
1444
|
+
issueTypesShow(id, options) {
|
|
1445
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1446
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.issueTypesShow(id, options);
|
|
1447
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1448
|
+
});
|
|
1449
|
+
},
|
|
1410
1450
|
/**
|
|
1411
1451
|
*
|
|
1412
1452
|
* @param {string} id
|
|
@@ -1841,6 +1881,15 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
1841
1881
|
issueTypesIndex(options) {
|
|
1842
1882
|
return localVarFp.issueTypesIndex(options).then((request) => request(axios, basePath));
|
|
1843
1883
|
},
|
|
1884
|
+
/**
|
|
1885
|
+
*
|
|
1886
|
+
* @param {string} id
|
|
1887
|
+
* @param {*} [options] Override http request option.
|
|
1888
|
+
* @throws {RequiredError}
|
|
1889
|
+
*/
|
|
1890
|
+
issueTypesShow(id, options) {
|
|
1891
|
+
return localVarFp.issueTypesShow(id, options).then((request) => request(axios, basePath));
|
|
1892
|
+
},
|
|
1844
1893
|
/**
|
|
1845
1894
|
*
|
|
1846
1895
|
* @param {string} id
|
|
@@ -2211,6 +2260,16 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
2211
2260
|
issueTypesIndex(options) {
|
|
2212
2261
|
return (0, exports.DefaultApiFp)(this.configuration).issueTypesIndex(options).then((request) => request(this.axios, this.basePath));
|
|
2213
2262
|
}
|
|
2263
|
+
/**
|
|
2264
|
+
*
|
|
2265
|
+
* @param {string} id
|
|
2266
|
+
* @param {*} [options] Override http request option.
|
|
2267
|
+
* @throws {RequiredError}
|
|
2268
|
+
* @memberof DefaultApi
|
|
2269
|
+
*/
|
|
2270
|
+
issueTypesShow(id, options) {
|
|
2271
|
+
return (0, exports.DefaultApiFp)(this.configuration).issueTypesShow(id, options).then((request) => request(this.axios, this.basePath));
|
|
2272
|
+
}
|
|
2214
2273
|
/**
|
|
2215
2274
|
*
|
|
2216
2275
|
* @param {string} id
|