ob-bms-sdk 0.0.75 → 0.0.77
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 +107 -2
- package/dist/api/api.d.ts +73 -2
- package/dist/api/api.js +59 -0
- package/package.json +1 -1
package/api/api.ts
CHANGED
|
@@ -243,6 +243,18 @@ export interface ACRequestResponse {
|
|
|
243
243
|
* @memberof ACRequestResponse
|
|
244
244
|
*/
|
|
245
245
|
'references': string;
|
|
246
|
+
/**
|
|
247
|
+
*
|
|
248
|
+
* @type {string}
|
|
249
|
+
* @memberof ACRequestResponse
|
|
250
|
+
*/
|
|
251
|
+
'reason': string | null;
|
|
252
|
+
/**
|
|
253
|
+
*
|
|
254
|
+
* @type {string}
|
|
255
|
+
* @memberof ACRequestResponse
|
|
256
|
+
*/
|
|
257
|
+
'internal_remark': string | null;
|
|
246
258
|
}
|
|
247
259
|
/**
|
|
248
260
|
*
|
|
@@ -291,12 +303,24 @@ export type ACRequestStatusRejected = typeof ACRequestStatusRejected[keyof typeo
|
|
|
291
303
|
* @interface ACRequestUpdateBody
|
|
292
304
|
*/
|
|
293
305
|
export interface ACRequestUpdateBody {
|
|
306
|
+
/**
|
|
307
|
+
*
|
|
308
|
+
* @type {string}
|
|
309
|
+
* @memberof ACRequestUpdateBody
|
|
310
|
+
*/
|
|
311
|
+
'internal_remark'?: string;
|
|
312
|
+
/**
|
|
313
|
+
*
|
|
314
|
+
* @type {string}
|
|
315
|
+
* @memberof ACRequestUpdateBody
|
|
316
|
+
*/
|
|
317
|
+
'reason'?: string;
|
|
294
318
|
/**
|
|
295
319
|
*
|
|
296
320
|
* @type {ACRequestUpdateBodyStatus}
|
|
297
321
|
* @memberof ACRequestUpdateBody
|
|
298
322
|
*/
|
|
299
|
-
'status'
|
|
323
|
+
'status'?: ACRequestUpdateBodyStatus;
|
|
300
324
|
}
|
|
301
325
|
/**
|
|
302
326
|
*
|
|
@@ -875,6 +899,12 @@ export interface IssueTypeRequest {
|
|
|
875
899
|
* @interface IssueTypeUpdate
|
|
876
900
|
*/
|
|
877
901
|
export interface IssueTypeUpdate {
|
|
902
|
+
/**
|
|
903
|
+
*
|
|
904
|
+
* @type {string}
|
|
905
|
+
* @memberof IssueTypeUpdate
|
|
906
|
+
*/
|
|
907
|
+
'deleted_at'?: string;
|
|
878
908
|
/**
|
|
879
909
|
*
|
|
880
910
|
* @type {object}
|
|
@@ -1891,6 +1921,12 @@ export interface ServiceRequestBody {
|
|
|
1891
1921
|
* @interface ServiceRequestData
|
|
1892
1922
|
*/
|
|
1893
1923
|
export interface ServiceRequestData {
|
|
1924
|
+
/**
|
|
1925
|
+
*
|
|
1926
|
+
* @type {string}
|
|
1927
|
+
* @memberof ServiceRequestData
|
|
1928
|
+
*/
|
|
1929
|
+
'internal_remark': string | null;
|
|
1894
1930
|
/**
|
|
1895
1931
|
*
|
|
1896
1932
|
* @type {string}
|
|
@@ -2056,12 +2092,18 @@ export type ServiceRequestStatusInProgress = typeof ServiceRequestStatusInProgre
|
|
|
2056
2092
|
* @interface ServiceRequestsUpdateRequestBody
|
|
2057
2093
|
*/
|
|
2058
2094
|
export interface ServiceRequestsUpdateRequestBody {
|
|
2095
|
+
/**
|
|
2096
|
+
*
|
|
2097
|
+
* @type {string}
|
|
2098
|
+
* @memberof ServiceRequestsUpdateRequestBody
|
|
2099
|
+
*/
|
|
2100
|
+
'internal_remark'?: string;
|
|
2059
2101
|
/**
|
|
2060
2102
|
*
|
|
2061
2103
|
* @type {ServiceRequestsUpdateRequestBodyStatus}
|
|
2062
2104
|
* @memberof ServiceRequestsUpdateRequestBody
|
|
2063
2105
|
*/
|
|
2064
|
-
'status'
|
|
2106
|
+
'status'?: ServiceRequestsUpdateRequestBodyStatus;
|
|
2065
2107
|
}
|
|
2066
2108
|
/**
|
|
2067
2109
|
*
|
|
@@ -4224,6 +4266,39 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
4224
4266
|
|
|
4225
4267
|
|
|
4226
4268
|
|
|
4269
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4270
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4271
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4272
|
+
|
|
4273
|
+
return {
|
|
4274
|
+
url: toPathString(localVarUrlObj),
|
|
4275
|
+
options: localVarRequestOptions,
|
|
4276
|
+
};
|
|
4277
|
+
},
|
|
4278
|
+
/**
|
|
4279
|
+
*
|
|
4280
|
+
* @param {string} id
|
|
4281
|
+
* @param {*} [options] Override http request option.
|
|
4282
|
+
* @throws {RequiredError}
|
|
4283
|
+
*/
|
|
4284
|
+
issueTypesShow: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4285
|
+
// verify required parameter 'id' is not null or undefined
|
|
4286
|
+
assertParamExists('issueTypesShow', 'id', id)
|
|
4287
|
+
const localVarPath = `/issue_types/{id}`
|
|
4288
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
4289
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4290
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4291
|
+
let baseOptions;
|
|
4292
|
+
if (configuration) {
|
|
4293
|
+
baseOptions = configuration.baseOptions;
|
|
4294
|
+
}
|
|
4295
|
+
|
|
4296
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
4297
|
+
const localVarHeaderParameter = {} as any;
|
|
4298
|
+
const localVarQueryParameter = {} as any;
|
|
4299
|
+
|
|
4300
|
+
|
|
4301
|
+
|
|
4227
4302
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4228
4303
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4229
4304
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -5310,6 +5385,16 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
5310
5385
|
const localVarAxiosArgs = await localVarAxiosParamCreator.issueTypesIndex(options);
|
|
5311
5386
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5312
5387
|
},
|
|
5388
|
+
/**
|
|
5389
|
+
*
|
|
5390
|
+
* @param {string} id
|
|
5391
|
+
* @param {*} [options] Override http request option.
|
|
5392
|
+
* @throws {RequiredError}
|
|
5393
|
+
*/
|
|
5394
|
+
async issueTypesShow(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedOneResponseIssueTypeData>> {
|
|
5395
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.issueTypesShow(id, options);
|
|
5396
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5397
|
+
},
|
|
5313
5398
|
/**
|
|
5314
5399
|
*
|
|
5315
5400
|
* @param {string} id
|
|
@@ -5694,6 +5779,15 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
5694
5779
|
issueTypesIndex(options?: any): AxiosPromise<WrappedArrayResponseIssueTypeData> {
|
|
5695
5780
|
return localVarFp.issueTypesIndex(options).then((request) => request(axios, basePath));
|
|
5696
5781
|
},
|
|
5782
|
+
/**
|
|
5783
|
+
*
|
|
5784
|
+
* @param {string} id
|
|
5785
|
+
* @param {*} [options] Override http request option.
|
|
5786
|
+
* @throws {RequiredError}
|
|
5787
|
+
*/
|
|
5788
|
+
issueTypesShow(id: string, options?: any): AxiosPromise<WrappedOneResponseIssueTypeData> {
|
|
5789
|
+
return localVarFp.issueTypesShow(id, options).then((request) => request(axios, basePath));
|
|
5790
|
+
},
|
|
5697
5791
|
/**
|
|
5698
5792
|
*
|
|
5699
5793
|
* @param {string} id
|
|
@@ -6075,6 +6169,17 @@ export class DefaultApi extends BaseAPI {
|
|
|
6075
6169
|
return DefaultApiFp(this.configuration).issueTypesIndex(options).then((request) => request(this.axios, this.basePath));
|
|
6076
6170
|
}
|
|
6077
6171
|
|
|
6172
|
+
/**
|
|
6173
|
+
*
|
|
6174
|
+
* @param {string} id
|
|
6175
|
+
* @param {*} [options] Override http request option.
|
|
6176
|
+
* @throws {RequiredError}
|
|
6177
|
+
* @memberof DefaultApi
|
|
6178
|
+
*/
|
|
6179
|
+
public issueTypesShow(id: string, options?: AxiosRequestConfig) {
|
|
6180
|
+
return DefaultApiFp(this.configuration).issueTypesShow(id, options).then((request) => request(this.axios, this.basePath));
|
|
6181
|
+
}
|
|
6182
|
+
|
|
6078
6183
|
/**
|
|
6079
6184
|
*
|
|
6080
6185
|
* @param {string} id
|
package/dist/api/api.d.ts
CHANGED
|
@@ -231,6 +231,18 @@ export interface ACRequestResponse {
|
|
|
231
231
|
* @memberof ACRequestResponse
|
|
232
232
|
*/
|
|
233
233
|
'references': string;
|
|
234
|
+
/**
|
|
235
|
+
*
|
|
236
|
+
* @type {string}
|
|
237
|
+
* @memberof ACRequestResponse
|
|
238
|
+
*/
|
|
239
|
+
'reason': string | null;
|
|
240
|
+
/**
|
|
241
|
+
*
|
|
242
|
+
* @type {string}
|
|
243
|
+
* @memberof ACRequestResponse
|
|
244
|
+
*/
|
|
245
|
+
'internal_remark': string | null;
|
|
234
246
|
}
|
|
235
247
|
/**
|
|
236
248
|
*
|
|
@@ -267,12 +279,24 @@ export type ACRequestStatusRejected = typeof ACRequestStatusRejected[keyof typeo
|
|
|
267
279
|
* @interface ACRequestUpdateBody
|
|
268
280
|
*/
|
|
269
281
|
export interface ACRequestUpdateBody {
|
|
282
|
+
/**
|
|
283
|
+
*
|
|
284
|
+
* @type {string}
|
|
285
|
+
* @memberof ACRequestUpdateBody
|
|
286
|
+
*/
|
|
287
|
+
'internal_remark'?: string;
|
|
288
|
+
/**
|
|
289
|
+
*
|
|
290
|
+
* @type {string}
|
|
291
|
+
* @memberof ACRequestUpdateBody
|
|
292
|
+
*/
|
|
293
|
+
'reason'?: string;
|
|
270
294
|
/**
|
|
271
295
|
*
|
|
272
296
|
* @type {ACRequestUpdateBodyStatus}
|
|
273
297
|
* @memberof ACRequestUpdateBody
|
|
274
298
|
*/
|
|
275
|
-
'status'
|
|
299
|
+
'status'?: ACRequestUpdateBodyStatus;
|
|
276
300
|
}
|
|
277
301
|
/**
|
|
278
302
|
*
|
|
@@ -859,6 +883,12 @@ export interface IssueTypeRequest {
|
|
|
859
883
|
* @interface IssueTypeUpdate
|
|
860
884
|
*/
|
|
861
885
|
export interface IssueTypeUpdate {
|
|
886
|
+
/**
|
|
887
|
+
*
|
|
888
|
+
* @type {string}
|
|
889
|
+
* @memberof IssueTypeUpdate
|
|
890
|
+
*/
|
|
891
|
+
'deleted_at'?: string;
|
|
862
892
|
/**
|
|
863
893
|
*
|
|
864
894
|
* @type {object}
|
|
@@ -1860,6 +1890,12 @@ export interface ServiceRequestBody {
|
|
|
1860
1890
|
* @interface ServiceRequestData
|
|
1861
1891
|
*/
|
|
1862
1892
|
export interface ServiceRequestData {
|
|
1893
|
+
/**
|
|
1894
|
+
*
|
|
1895
|
+
* @type {string}
|
|
1896
|
+
* @memberof ServiceRequestData
|
|
1897
|
+
*/
|
|
1898
|
+
'internal_remark': string | null;
|
|
1863
1899
|
/**
|
|
1864
1900
|
*
|
|
1865
1901
|
* @type {string}
|
|
@@ -2011,12 +2047,18 @@ export type ServiceRequestStatusInProgress = typeof ServiceRequestStatusInProgre
|
|
|
2011
2047
|
* @interface ServiceRequestsUpdateRequestBody
|
|
2012
2048
|
*/
|
|
2013
2049
|
export interface ServiceRequestsUpdateRequestBody {
|
|
2050
|
+
/**
|
|
2051
|
+
*
|
|
2052
|
+
* @type {string}
|
|
2053
|
+
* @memberof ServiceRequestsUpdateRequestBody
|
|
2054
|
+
*/
|
|
2055
|
+
'internal_remark'?: string;
|
|
2014
2056
|
/**
|
|
2015
2057
|
*
|
|
2016
2058
|
* @type {ServiceRequestsUpdateRequestBodyStatus}
|
|
2017
2059
|
* @memberof ServiceRequestsUpdateRequestBody
|
|
2018
2060
|
*/
|
|
2019
|
-
'status'
|
|
2061
|
+
'status'?: ServiceRequestsUpdateRequestBodyStatus;
|
|
2020
2062
|
}
|
|
2021
2063
|
/**
|
|
2022
2064
|
*
|
|
@@ -3853,6 +3895,13 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
3853
3895
|
* @throws {RequiredError}
|
|
3854
3896
|
*/
|
|
3855
3897
|
issueTypesIndex: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
3898
|
+
/**
|
|
3899
|
+
*
|
|
3900
|
+
* @param {string} id
|
|
3901
|
+
* @param {*} [options] Override http request option.
|
|
3902
|
+
* @throws {RequiredError}
|
|
3903
|
+
*/
|
|
3904
|
+
issueTypesShow: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
3856
3905
|
/**
|
|
3857
3906
|
*
|
|
3858
3907
|
* @param {string} id
|
|
@@ -4136,6 +4185,13 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
4136
4185
|
* @throws {RequiredError}
|
|
4137
4186
|
*/
|
|
4138
4187
|
issueTypesIndex(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedArrayResponseIssueTypeData>>;
|
|
4188
|
+
/**
|
|
4189
|
+
*
|
|
4190
|
+
* @param {string} id
|
|
4191
|
+
* @param {*} [options] Override http request option.
|
|
4192
|
+
* @throws {RequiredError}
|
|
4193
|
+
*/
|
|
4194
|
+
issueTypesShow(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedOneResponseIssueTypeData>>;
|
|
4139
4195
|
/**
|
|
4140
4196
|
*
|
|
4141
4197
|
* @param {string} id
|
|
@@ -4419,6 +4475,13 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
4419
4475
|
* @throws {RequiredError}
|
|
4420
4476
|
*/
|
|
4421
4477
|
issueTypesIndex(options?: any): AxiosPromise<WrappedArrayResponseIssueTypeData>;
|
|
4478
|
+
/**
|
|
4479
|
+
*
|
|
4480
|
+
* @param {string} id
|
|
4481
|
+
* @param {*} [options] Override http request option.
|
|
4482
|
+
* @throws {RequiredError}
|
|
4483
|
+
*/
|
|
4484
|
+
issueTypesShow(id: string, options?: any): AxiosPromise<WrappedOneResponseIssueTypeData>;
|
|
4422
4485
|
/**
|
|
4423
4486
|
*
|
|
4424
4487
|
* @param {string} id
|
|
@@ -4715,6 +4778,14 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
4715
4778
|
* @memberof DefaultApi
|
|
4716
4779
|
*/
|
|
4717
4780
|
issueTypesIndex(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedArrayResponseIssueTypeData, any>>;
|
|
4781
|
+
/**
|
|
4782
|
+
*
|
|
4783
|
+
* @param {string} id
|
|
4784
|
+
* @param {*} [options] Override http request option.
|
|
4785
|
+
* @throws {RequiredError}
|
|
4786
|
+
* @memberof DefaultApi
|
|
4787
|
+
*/
|
|
4788
|
+
issueTypesShow(id: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedOneResponseIssueTypeData, any>>;
|
|
4718
4789
|
/**
|
|
4719
4790
|
*
|
|
4720
4791
|
* @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
|