ob-bms-sdk 0.0.115 → 0.0.116

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 CHANGED
@@ -11304,16 +11304,13 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
11304
11304
  /**
11305
11305
  *
11306
11306
  * @param {string} id
11307
- * @param {string} xAccountId
11308
11307
  * @param {UpdateVisitorScheduleBody} updateVisitorScheduleBody
11309
11308
  * @param {*} [options] Override http request option.
11310
11309
  * @throws {RequiredError}
11311
11310
  */
11312
- visitorSchedulesUpdate: async (id: string, xAccountId: string, updateVisitorScheduleBody: UpdateVisitorScheduleBody, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
11311
+ visitorSchedulesUpdate: async (id: string, updateVisitorScheduleBody: UpdateVisitorScheduleBody, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
11313
11312
  // verify required parameter 'id' is not null or undefined
11314
11313
  assertParamExists('visitorSchedulesUpdate', 'id', id)
11315
- // verify required parameter 'xAccountId' is not null or undefined
11316
- assertParamExists('visitorSchedulesUpdate', 'xAccountId', xAccountId)
11317
11314
  // verify required parameter 'updateVisitorScheduleBody' is not null or undefined
11318
11315
  assertParamExists('visitorSchedulesUpdate', 'updateVisitorScheduleBody', updateVisitorScheduleBody)
11319
11316
  const localVarPath = `/visitor_schedules/{id}`
@@ -11329,10 +11326,6 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
11329
11326
  const localVarHeaderParameter = {} as any;
11330
11327
  const localVarQueryParameter = {} as any;
11331
11328
 
11332
- if (xAccountId != null) {
11333
- localVarHeaderParameter['x-account-id'] = String(xAccountId);
11334
- }
11335
-
11336
11329
 
11337
11330
 
11338
11331
  localVarHeaderParameter['Content-Type'] = 'application/json';
@@ -12249,13 +12242,12 @@ export const DefaultApiFp = function(configuration?: Configuration) {
12249
12242
  /**
12250
12243
  *
12251
12244
  * @param {string} id
12252
- * @param {string} xAccountId
12253
12245
  * @param {UpdateVisitorScheduleBody} updateVisitorScheduleBody
12254
12246
  * @param {*} [options] Override http request option.
12255
12247
  * @throws {RequiredError}
12256
12248
  */
12257
- async visitorSchedulesUpdate(id: string, xAccountId: string, updateVisitorScheduleBody: UpdateVisitorScheduleBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseResultResponseData>> {
12258
- const localVarAxiosArgs = await localVarAxiosParamCreator.visitorSchedulesUpdate(id, xAccountId, updateVisitorScheduleBody, options);
12249
+ async visitorSchedulesUpdate(id: string, updateVisitorScheduleBody: UpdateVisitorScheduleBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseResultResponseData>> {
12250
+ const localVarAxiosArgs = await localVarAxiosParamCreator.visitorSchedulesUpdate(id, updateVisitorScheduleBody, options);
12259
12251
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
12260
12252
  },
12261
12253
  /**
@@ -12953,13 +12945,12 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
12953
12945
  /**
12954
12946
  *
12955
12947
  * @param {string} id
12956
- * @param {string} xAccountId
12957
12948
  * @param {UpdateVisitorScheduleBody} updateVisitorScheduleBody
12958
12949
  * @param {*} [options] Override http request option.
12959
12950
  * @throws {RequiredError}
12960
12951
  */
12961
- visitorSchedulesUpdate(id: string, xAccountId: string, updateVisitorScheduleBody: UpdateVisitorScheduleBody, options?: any): AxiosPromise<WrappedResponseResultResponseData> {
12962
- return localVarFp.visitorSchedulesUpdate(id, xAccountId, updateVisitorScheduleBody, options).then((request) => request(axios, basePath));
12952
+ visitorSchedulesUpdate(id: string, updateVisitorScheduleBody: UpdateVisitorScheduleBody, options?: any): AxiosPromise<WrappedResponseResultResponseData> {
12953
+ return localVarFp.visitorSchedulesUpdate(id, updateVisitorScheduleBody, options).then((request) => request(axios, basePath));
12963
12954
  },
12964
12955
  /**
12965
12956
  *
@@ -13774,14 +13765,13 @@ export class DefaultApi extends BaseAPI {
13774
13765
  /**
13775
13766
  *
13776
13767
  * @param {string} id
13777
- * @param {string} xAccountId
13778
13768
  * @param {UpdateVisitorScheduleBody} updateVisitorScheduleBody
13779
13769
  * @param {*} [options] Override http request option.
13780
13770
  * @throws {RequiredError}
13781
13771
  * @memberof DefaultApi
13782
13772
  */
13783
- public visitorSchedulesUpdate(id: string, xAccountId: string, updateVisitorScheduleBody: UpdateVisitorScheduleBody, options?: AxiosRequestConfig) {
13784
- return DefaultApiFp(this.configuration).visitorSchedulesUpdate(id, xAccountId, updateVisitorScheduleBody, options).then((request) => request(this.axios, this.basePath));
13773
+ public visitorSchedulesUpdate(id: string, updateVisitorScheduleBody: UpdateVisitorScheduleBody, options?: AxiosRequestConfig) {
13774
+ return DefaultApiFp(this.configuration).visitorSchedulesUpdate(id, updateVisitorScheduleBody, options).then((request) => request(this.axios, this.basePath));
13785
13775
  }
13786
13776
 
13787
13777
  /**
package/dist/api/api.d.ts CHANGED
@@ -9257,12 +9257,11 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
9257
9257
  /**
9258
9258
  *
9259
9259
  * @param {string} id
9260
- * @param {string} xAccountId
9261
9260
  * @param {UpdateVisitorScheduleBody} updateVisitorScheduleBody
9262
9261
  * @param {*} [options] Override http request option.
9263
9262
  * @throws {RequiredError}
9264
9263
  */
9265
- visitorSchedulesUpdate: (id: string, xAccountId: string, updateVisitorScheduleBody: UpdateVisitorScheduleBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
9264
+ visitorSchedulesUpdate: (id: string, updateVisitorScheduleBody: UpdateVisitorScheduleBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
9266
9265
  /**
9267
9266
  *
9268
9267
  * @param {string} [tokenId]
@@ -9812,12 +9811,11 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
9812
9811
  /**
9813
9812
  *
9814
9813
  * @param {string} id
9815
- * @param {string} xAccountId
9816
9814
  * @param {UpdateVisitorScheduleBody} updateVisitorScheduleBody
9817
9815
  * @param {*} [options] Override http request option.
9818
9816
  * @throws {RequiredError}
9819
9817
  */
9820
- visitorSchedulesUpdate(id: string, xAccountId: string, updateVisitorScheduleBody: UpdateVisitorScheduleBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseResultResponseData>>;
9818
+ visitorSchedulesUpdate(id: string, updateVisitorScheduleBody: UpdateVisitorScheduleBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseResultResponseData>>;
9821
9819
  /**
9822
9820
  *
9823
9821
  * @param {string} [tokenId]
@@ -10367,12 +10365,11 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
10367
10365
  /**
10368
10366
  *
10369
10367
  * @param {string} id
10370
- * @param {string} xAccountId
10371
10368
  * @param {UpdateVisitorScheduleBody} updateVisitorScheduleBody
10372
10369
  * @param {*} [options] Override http request option.
10373
10370
  * @throws {RequiredError}
10374
10371
  */
10375
- visitorSchedulesUpdate(id: string, xAccountId: string, updateVisitorScheduleBody: UpdateVisitorScheduleBody, options?: any): AxiosPromise<WrappedResponseResultResponseData>;
10372
+ visitorSchedulesUpdate(id: string, updateVisitorScheduleBody: UpdateVisitorScheduleBody, options?: any): AxiosPromise<WrappedResponseResultResponseData>;
10376
10373
  /**
10377
10374
  *
10378
10375
  * @param {string} [tokenId]
@@ -10986,13 +10983,12 @@ export declare class DefaultApi extends BaseAPI {
10986
10983
  /**
10987
10984
  *
10988
10985
  * @param {string} id
10989
- * @param {string} xAccountId
10990
10986
  * @param {UpdateVisitorScheduleBody} updateVisitorScheduleBody
10991
10987
  * @param {*} [options] Override http request option.
10992
10988
  * @throws {RequiredError}
10993
10989
  * @memberof DefaultApi
10994
10990
  */
10995
- visitorSchedulesUpdate(id: string, xAccountId: string, updateVisitorScheduleBody: UpdateVisitorScheduleBody, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponseResultResponseData, any>>;
10991
+ visitorSchedulesUpdate(id: string, updateVisitorScheduleBody: UpdateVisitorScheduleBody, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponseResultResponseData, any>>;
10996
10992
  /**
10997
10993
  *
10998
10994
  * @param {string} [tokenId]
package/dist/api/api.js CHANGED
@@ -2217,16 +2217,13 @@ const DefaultApiAxiosParamCreator = function (configuration) {
2217
2217
  /**
2218
2218
  *
2219
2219
  * @param {string} id
2220
- * @param {string} xAccountId
2221
2220
  * @param {UpdateVisitorScheduleBody} updateVisitorScheduleBody
2222
2221
  * @param {*} [options] Override http request option.
2223
2222
  * @throws {RequiredError}
2224
2223
  */
2225
- visitorSchedulesUpdate: (id, xAccountId, updateVisitorScheduleBody, options = {}) => __awaiter(this, void 0, void 0, function* () {
2224
+ visitorSchedulesUpdate: (id, updateVisitorScheduleBody, options = {}) => __awaiter(this, void 0, void 0, function* () {
2226
2225
  // verify required parameter 'id' is not null or undefined
2227
2226
  (0, common_1.assertParamExists)('visitorSchedulesUpdate', 'id', id);
2228
- // verify required parameter 'xAccountId' is not null or undefined
2229
- (0, common_1.assertParamExists)('visitorSchedulesUpdate', 'xAccountId', xAccountId);
2230
2227
  // verify required parameter 'updateVisitorScheduleBody' is not null or undefined
2231
2228
  (0, common_1.assertParamExists)('visitorSchedulesUpdate', 'updateVisitorScheduleBody', updateVisitorScheduleBody);
2232
2229
  const localVarPath = `/visitor_schedules/{id}`
@@ -2240,9 +2237,6 @@ const DefaultApiAxiosParamCreator = function (configuration) {
2240
2237
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
2241
2238
  const localVarHeaderParameter = {};
2242
2239
  const localVarQueryParameter = {};
2243
- if (xAccountId != null) {
2244
- localVarHeaderParameter['x-account-id'] = String(xAccountId);
2245
- }
2246
2240
  localVarHeaderParameter['Content-Type'] = 'application/json';
2247
2241
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
2248
2242
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -3245,14 +3239,13 @@ const DefaultApiFp = function (configuration) {
3245
3239
  /**
3246
3240
  *
3247
3241
  * @param {string} id
3248
- * @param {string} xAccountId
3249
3242
  * @param {UpdateVisitorScheduleBody} updateVisitorScheduleBody
3250
3243
  * @param {*} [options] Override http request option.
3251
3244
  * @throws {RequiredError}
3252
3245
  */
3253
- visitorSchedulesUpdate(id, xAccountId, updateVisitorScheduleBody, options) {
3246
+ visitorSchedulesUpdate(id, updateVisitorScheduleBody, options) {
3254
3247
  return __awaiter(this, void 0, void 0, function* () {
3255
- const localVarAxiosArgs = yield localVarAxiosParamCreator.visitorSchedulesUpdate(id, xAccountId, updateVisitorScheduleBody, options);
3248
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.visitorSchedulesUpdate(id, updateVisitorScheduleBody, options);
3256
3249
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
3257
3250
  });
3258
3251
  },
@@ -3963,13 +3956,12 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
3963
3956
  /**
3964
3957
  *
3965
3958
  * @param {string} id
3966
- * @param {string} xAccountId
3967
3959
  * @param {UpdateVisitorScheduleBody} updateVisitorScheduleBody
3968
3960
  * @param {*} [options] Override http request option.
3969
3961
  * @throws {RequiredError}
3970
3962
  */
3971
- visitorSchedulesUpdate(id, xAccountId, updateVisitorScheduleBody, options) {
3972
- return localVarFp.visitorSchedulesUpdate(id, xAccountId, updateVisitorScheduleBody, options).then((request) => request(axios, basePath));
3963
+ visitorSchedulesUpdate(id, updateVisitorScheduleBody, options) {
3964
+ return localVarFp.visitorSchedulesUpdate(id, updateVisitorScheduleBody, options).then((request) => request(axios, basePath));
3973
3965
  },
3974
3966
  /**
3975
3967
  *
@@ -4722,14 +4714,13 @@ class DefaultApi extends base_1.BaseAPI {
4722
4714
  /**
4723
4715
  *
4724
4716
  * @param {string} id
4725
- * @param {string} xAccountId
4726
4717
  * @param {UpdateVisitorScheduleBody} updateVisitorScheduleBody
4727
4718
  * @param {*} [options] Override http request option.
4728
4719
  * @throws {RequiredError}
4729
4720
  * @memberof DefaultApi
4730
4721
  */
4731
- visitorSchedulesUpdate(id, xAccountId, updateVisitorScheduleBody, options) {
4732
- return (0, exports.DefaultApiFp)(this.configuration).visitorSchedulesUpdate(id, xAccountId, updateVisitorScheduleBody, options).then((request) => request(this.axios, this.basePath));
4722
+ visitorSchedulesUpdate(id, updateVisitorScheduleBody, options) {
4723
+ return (0, exports.DefaultApiFp)(this.configuration).visitorSchedulesUpdate(id, updateVisitorScheduleBody, options).then((request) => request(this.axios, this.basePath));
4733
4724
  }
4734
4725
  /**
4735
4726
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ob-bms-sdk",
3
- "version": "0.0.115",
3
+ "version": "0.0.116",
4
4
  "description": "API interfaces for OB BMS",
5
5
  "main": "./dist/index.js",
6
6
  "license": "MIT"