ob-bms-sdk 0.0.37 → 0.0.38
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 +7 -17
- package/dist/api/api.d.ts +4 -8
- package/dist/api/api.js +7 -16
- package/package.json +1 -1
package/api/api.ts
CHANGED
|
@@ -2583,13 +2583,10 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
2583
2583
|
},
|
|
2584
2584
|
/**
|
|
2585
2585
|
*
|
|
2586
|
-
* @param {string} xAccountId
|
|
2587
2586
|
* @param {*} [options] Override http request option.
|
|
2588
2587
|
* @throws {RequiredError}
|
|
2589
2588
|
*/
|
|
2590
|
-
membersIndex: async (
|
|
2591
|
-
// verify required parameter 'xAccountId' is not null or undefined
|
|
2592
|
-
assertParamExists('membersIndex', 'xAccountId', xAccountId)
|
|
2589
|
+
membersIndex: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2593
2590
|
const localVarPath = `/members`;
|
|
2594
2591
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2595
2592
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -2602,10 +2599,6 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
2602
2599
|
const localVarHeaderParameter = {} as any;
|
|
2603
2600
|
const localVarQueryParameter = {} as any;
|
|
2604
2601
|
|
|
2605
|
-
if (xAccountId != null) {
|
|
2606
|
-
localVarHeaderParameter['x-account-id'] = String(xAccountId);
|
|
2607
|
-
}
|
|
2608
|
-
|
|
2609
2602
|
|
|
2610
2603
|
|
|
2611
2604
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -2997,12 +2990,11 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
2997
2990
|
},
|
|
2998
2991
|
/**
|
|
2999
2992
|
*
|
|
3000
|
-
* @param {string} xAccountId
|
|
3001
2993
|
* @param {*} [options] Override http request option.
|
|
3002
2994
|
* @throws {RequiredError}
|
|
3003
2995
|
*/
|
|
3004
|
-
async membersIndex(
|
|
3005
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.membersIndex(
|
|
2996
|
+
async membersIndex(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseFindMemberResultArrayOrNull>> {
|
|
2997
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.membersIndex(options);
|
|
3006
2998
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3007
2999
|
},
|
|
3008
3000
|
/**
|
|
@@ -3166,12 +3158,11 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
3166
3158
|
},
|
|
3167
3159
|
/**
|
|
3168
3160
|
*
|
|
3169
|
-
* @param {string} xAccountId
|
|
3170
3161
|
* @param {*} [options] Override http request option.
|
|
3171
3162
|
* @throws {RequiredError}
|
|
3172
3163
|
*/
|
|
3173
|
-
membersIndex(
|
|
3174
|
-
return localVarFp.membersIndex(
|
|
3164
|
+
membersIndex(options?: any): AxiosPromise<WrappedResponseFindMemberResultArrayOrNull> {
|
|
3165
|
+
return localVarFp.membersIndex(options).then((request) => request(axios, basePath));
|
|
3175
3166
|
},
|
|
3176
3167
|
/**
|
|
3177
3168
|
*
|
|
@@ -3337,13 +3328,12 @@ export class DefaultApi extends BaseAPI {
|
|
|
3337
3328
|
|
|
3338
3329
|
/**
|
|
3339
3330
|
*
|
|
3340
|
-
* @param {string} xAccountId
|
|
3341
3331
|
* @param {*} [options] Override http request option.
|
|
3342
3332
|
* @throws {RequiredError}
|
|
3343
3333
|
* @memberof DefaultApi
|
|
3344
3334
|
*/
|
|
3345
|
-
public membersIndex(
|
|
3346
|
-
return DefaultApiFp(this.configuration).membersIndex(
|
|
3335
|
+
public membersIndex(options?: AxiosRequestConfig) {
|
|
3336
|
+
return DefaultApiFp(this.configuration).membersIndex(options).then((request) => request(this.axios, this.basePath));
|
|
3347
3337
|
}
|
|
3348
3338
|
|
|
3349
3339
|
/**
|
package/dist/api/api.d.ts
CHANGED
|
@@ -2380,11 +2380,10 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
2380
2380
|
membersCommandsIndex: (memberId: string, name?: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2381
2381
|
/**
|
|
2382
2382
|
*
|
|
2383
|
-
* @param {string} xAccountId
|
|
2384
2383
|
* @param {*} [options] Override http request option.
|
|
2385
2384
|
* @throws {RequiredError}
|
|
2386
2385
|
*/
|
|
2387
|
-
membersIndex: (
|
|
2386
|
+
membersIndex: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2388
2387
|
/**
|
|
2389
2388
|
*
|
|
2390
2389
|
* @param {string} id
|
|
@@ -2503,11 +2502,10 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
2503
2502
|
membersCommandsIndex(memberId: string, name?: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseCommandsIndexResponse>>;
|
|
2504
2503
|
/**
|
|
2505
2504
|
*
|
|
2506
|
-
* @param {string} xAccountId
|
|
2507
2505
|
* @param {*} [options] Override http request option.
|
|
2508
2506
|
* @throws {RequiredError}
|
|
2509
2507
|
*/
|
|
2510
|
-
membersIndex(
|
|
2508
|
+
membersIndex(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseFindMemberResultArrayOrNull>>;
|
|
2511
2509
|
/**
|
|
2512
2510
|
*
|
|
2513
2511
|
* @param {string} id
|
|
@@ -2626,11 +2624,10 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
2626
2624
|
membersCommandsIndex(memberId: string, name?: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, options?: any): AxiosPromise<WrappedResponseCommandsIndexResponse>;
|
|
2627
2625
|
/**
|
|
2628
2626
|
*
|
|
2629
|
-
* @param {string} xAccountId
|
|
2630
2627
|
* @param {*} [options] Override http request option.
|
|
2631
2628
|
* @throws {RequiredError}
|
|
2632
2629
|
*/
|
|
2633
|
-
membersIndex(
|
|
2630
|
+
membersIndex(options?: any): AxiosPromise<WrappedResponseFindMemberResultArrayOrNull>;
|
|
2634
2631
|
/**
|
|
2635
2632
|
*
|
|
2636
2633
|
* @param {string} id
|
|
@@ -2757,12 +2754,11 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
2757
2754
|
membersCommandsIndex(memberId: string, name?: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponseCommandsIndexResponse, any>>;
|
|
2758
2755
|
/**
|
|
2759
2756
|
*
|
|
2760
|
-
* @param {string} xAccountId
|
|
2761
2757
|
* @param {*} [options] Override http request option.
|
|
2762
2758
|
* @throws {RequiredError}
|
|
2763
2759
|
* @memberof DefaultApi
|
|
2764
2760
|
*/
|
|
2765
|
-
membersIndex(
|
|
2761
|
+
membersIndex(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponseFindMemberResultArrayOrNull, any>>;
|
|
2766
2762
|
/**
|
|
2767
2763
|
*
|
|
2768
2764
|
* @param {string} id
|
package/dist/api/api.js
CHANGED
|
@@ -251,13 +251,10 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
251
251
|
}),
|
|
252
252
|
/**
|
|
253
253
|
*
|
|
254
|
-
* @param {string} xAccountId
|
|
255
254
|
* @param {*} [options] Override http request option.
|
|
256
255
|
* @throws {RequiredError}
|
|
257
256
|
*/
|
|
258
|
-
membersIndex: (
|
|
259
|
-
// verify required parameter 'xAccountId' is not null or undefined
|
|
260
|
-
(0, common_1.assertParamExists)('membersIndex', 'xAccountId', xAccountId);
|
|
257
|
+
membersIndex: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
261
258
|
const localVarPath = `/members`;
|
|
262
259
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
263
260
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -268,9 +265,6 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
268
265
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
269
266
|
const localVarHeaderParameter = {};
|
|
270
267
|
const localVarQueryParameter = {};
|
|
271
|
-
if (xAccountId != null) {
|
|
272
|
-
localVarHeaderParameter['x-account-id'] = String(xAccountId);
|
|
273
|
-
}
|
|
274
268
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
275
269
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
276
270
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -623,13 +617,12 @@ const DefaultApiFp = function (configuration) {
|
|
|
623
617
|
},
|
|
624
618
|
/**
|
|
625
619
|
*
|
|
626
|
-
* @param {string} xAccountId
|
|
627
620
|
* @param {*} [options] Override http request option.
|
|
628
621
|
* @throws {RequiredError}
|
|
629
622
|
*/
|
|
630
|
-
membersIndex(
|
|
623
|
+
membersIndex(options) {
|
|
631
624
|
return __awaiter(this, void 0, void 0, function* () {
|
|
632
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.membersIndex(
|
|
625
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.membersIndex(options);
|
|
633
626
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
634
627
|
});
|
|
635
628
|
},
|
|
@@ -812,12 +805,11 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
812
805
|
},
|
|
813
806
|
/**
|
|
814
807
|
*
|
|
815
|
-
* @param {string} xAccountId
|
|
816
808
|
* @param {*} [options] Override http request option.
|
|
817
809
|
* @throws {RequiredError}
|
|
818
810
|
*/
|
|
819
|
-
membersIndex(
|
|
820
|
-
return localVarFp.membersIndex(
|
|
811
|
+
membersIndex(options) {
|
|
812
|
+
return localVarFp.membersIndex(options).then((request) => request(axios, basePath));
|
|
821
813
|
},
|
|
822
814
|
/**
|
|
823
815
|
*
|
|
@@ -977,13 +969,12 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
977
969
|
}
|
|
978
970
|
/**
|
|
979
971
|
*
|
|
980
|
-
* @param {string} xAccountId
|
|
981
972
|
* @param {*} [options] Override http request option.
|
|
982
973
|
* @throws {RequiredError}
|
|
983
974
|
* @memberof DefaultApi
|
|
984
975
|
*/
|
|
985
|
-
membersIndex(
|
|
986
|
-
return (0, exports.DefaultApiFp)(this.configuration).membersIndex(
|
|
976
|
+
membersIndex(options) {
|
|
977
|
+
return (0, exports.DefaultApiFp)(this.configuration).membersIndex(options).then((request) => request(this.axios, this.basePath));
|
|
987
978
|
}
|
|
988
979
|
/**
|
|
989
980
|
*
|