ob-bms-sdk 0.0.36 → 0.0.37

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
@@ -593,12 +593,6 @@ export interface LocationPasses {
593
593
  * @memberof LocationPasses
594
594
  */
595
595
  'name': string;
596
- /**
597
- *
598
- * @type {string}
599
- * @memberof LocationPasses
600
- */
601
- 'coordinate': string;
602
596
  /**
603
597
  *
604
598
  * @type {string}
@@ -2589,13 +2583,13 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
2589
2583
  },
2590
2584
  /**
2591
2585
  *
2592
- * @param {string} identifier
2586
+ * @param {string} xAccountId
2593
2587
  * @param {*} [options] Override http request option.
2594
2588
  * @throws {RequiredError}
2595
2589
  */
2596
- membersIndex: async (identifier: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
2597
- // verify required parameter 'identifier' is not null or undefined
2598
- assertParamExists('membersIndex', 'identifier', identifier)
2590
+ membersIndex: async (xAccountId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
2591
+ // verify required parameter 'xAccountId' is not null or undefined
2592
+ assertParamExists('membersIndex', 'xAccountId', xAccountId)
2599
2593
  const localVarPath = `/members`;
2600
2594
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2601
2595
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -2608,8 +2602,8 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
2608
2602
  const localVarHeaderParameter = {} as any;
2609
2603
  const localVarQueryParameter = {} as any;
2610
2604
 
2611
- if (identifier !== undefined) {
2612
- localVarQueryParameter['identifier'] = identifier;
2605
+ if (xAccountId != null) {
2606
+ localVarHeaderParameter['x-account-id'] = String(xAccountId);
2613
2607
  }
2614
2608
 
2615
2609
 
@@ -2720,18 +2714,18 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
2720
2714
  },
2721
2715
  /**
2722
2716
  *
2723
- * @param {string} id
2717
+ * @param {string} visitScheduleId
2724
2718
  * @param {ConsentRequestBody} consentRequestBody
2725
2719
  * @param {*} [options] Override http request option.
2726
2720
  * @throws {RequiredError}
2727
2721
  */
2728
- passesConsent: async (id: string, consentRequestBody: ConsentRequestBody, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
2729
- // verify required parameter 'id' is not null or undefined
2730
- assertParamExists('passesConsent', 'id', id)
2722
+ passesConsent: async (visitScheduleId: string, consentRequestBody: ConsentRequestBody, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
2723
+ // verify required parameter 'visitScheduleId' is not null or undefined
2724
+ assertParamExists('passesConsent', 'visitScheduleId', visitScheduleId)
2731
2725
  // verify required parameter 'consentRequestBody' is not null or undefined
2732
2726
  assertParamExists('passesConsent', 'consentRequestBody', consentRequestBody)
2733
- const localVarPath = `/passes/consent/{id}`
2734
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
2727
+ const localVarPath = `/passes/consent/{visit_schedule_id}`
2728
+ .replace(`{${"visit_schedule_id"}}`, encodeURIComponent(String(visitScheduleId)));
2735
2729
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2736
2730
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2737
2731
  let baseOptions;
@@ -2759,15 +2753,15 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
2759
2753
  },
2760
2754
  /**
2761
2755
  *
2762
- * @param {string} id
2756
+ * @param {string} visitScheduleId
2763
2757
  * @param {*} [options] Override http request option.
2764
2758
  * @throws {RequiredError}
2765
2759
  */
2766
- passesShow: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
2767
- // verify required parameter 'id' is not null or undefined
2768
- assertParamExists('passesShow', 'id', id)
2769
- const localVarPath = `/passes/{id}`
2770
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
2760
+ passesShow: async (visitScheduleId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
2761
+ // verify required parameter 'visitScheduleId' is not null or undefined
2762
+ assertParamExists('passesShow', 'visitScheduleId', visitScheduleId)
2763
+ const localVarPath = `/passes/{visit_schedule_id}`
2764
+ .replace(`{${"visit_schedule_id"}}`, encodeURIComponent(String(visitScheduleId)));
2771
2765
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2772
2766
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2773
2767
  let baseOptions;
@@ -3003,12 +2997,12 @@ export const DefaultApiFp = function(configuration?: Configuration) {
3003
2997
  },
3004
2998
  /**
3005
2999
  *
3006
- * @param {string} identifier
3000
+ * @param {string} xAccountId
3007
3001
  * @param {*} [options] Override http request option.
3008
3002
  * @throws {RequiredError}
3009
3003
  */
3010
- async membersIndex(identifier: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseFindMemberResultArrayOrNull>> {
3011
- const localVarAxiosArgs = await localVarAxiosParamCreator.membersIndex(identifier, options);
3004
+ async membersIndex(xAccountId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseFindMemberResultArrayOrNull>> {
3005
+ const localVarAxiosArgs = await localVarAxiosParamCreator.membersIndex(xAccountId, options);
3012
3006
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3013
3007
  },
3014
3008
  /**
@@ -3042,23 +3036,23 @@ export const DefaultApiFp = function(configuration?: Configuration) {
3042
3036
  },
3043
3037
  /**
3044
3038
  *
3045
- * @param {string} id
3039
+ * @param {string} visitScheduleId
3046
3040
  * @param {ConsentRequestBody} consentRequestBody
3047
3041
  * @param {*} [options] Override http request option.
3048
3042
  * @throws {RequiredError}
3049
3043
  */
3050
- async passesConsent(id: string, consentRequestBody: ConsentRequestBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponsePassConsentResponse>> {
3051
- const localVarAxiosArgs = await localVarAxiosParamCreator.passesConsent(id, consentRequestBody, options);
3044
+ async passesConsent(visitScheduleId: string, consentRequestBody: ConsentRequestBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponsePassConsentResponse>> {
3045
+ const localVarAxiosArgs = await localVarAxiosParamCreator.passesConsent(visitScheduleId, consentRequestBody, options);
3052
3046
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3053
3047
  },
3054
3048
  /**
3055
3049
  *
3056
- * @param {string} id
3050
+ * @param {string} visitScheduleId
3057
3051
  * @param {*} [options] Override http request option.
3058
3052
  * @throws {RequiredError}
3059
3053
  */
3060
- async passesShow(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseShowPassResponseOrNull>> {
3061
- const localVarAxiosArgs = await localVarAxiosParamCreator.passesShow(id, options);
3054
+ async passesShow(visitScheduleId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseShowPassResponseOrNull>> {
3055
+ const localVarAxiosArgs = await localVarAxiosParamCreator.passesShow(visitScheduleId, options);
3062
3056
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3063
3057
  },
3064
3058
  /**
@@ -3172,12 +3166,12 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
3172
3166
  },
3173
3167
  /**
3174
3168
  *
3175
- * @param {string} identifier
3169
+ * @param {string} xAccountId
3176
3170
  * @param {*} [options] Override http request option.
3177
3171
  * @throws {RequiredError}
3178
3172
  */
3179
- membersIndex(identifier: string, options?: any): AxiosPromise<WrappedResponseFindMemberResultArrayOrNull> {
3180
- return localVarFp.membersIndex(identifier, options).then((request) => request(axios, basePath));
3173
+ membersIndex(xAccountId: string, options?: any): AxiosPromise<WrappedResponseFindMemberResultArrayOrNull> {
3174
+ return localVarFp.membersIndex(xAccountId, options).then((request) => request(axios, basePath));
3181
3175
  },
3182
3176
  /**
3183
3177
  *
@@ -3207,22 +3201,22 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
3207
3201
  },
3208
3202
  /**
3209
3203
  *
3210
- * @param {string} id
3204
+ * @param {string} visitScheduleId
3211
3205
  * @param {ConsentRequestBody} consentRequestBody
3212
3206
  * @param {*} [options] Override http request option.
3213
3207
  * @throws {RequiredError}
3214
3208
  */
3215
- passesConsent(id: string, consentRequestBody: ConsentRequestBody, options?: any): AxiosPromise<WrappedResponsePassConsentResponse> {
3216
- return localVarFp.passesConsent(id, consentRequestBody, options).then((request) => request(axios, basePath));
3209
+ passesConsent(visitScheduleId: string, consentRequestBody: ConsentRequestBody, options?: any): AxiosPromise<WrappedResponsePassConsentResponse> {
3210
+ return localVarFp.passesConsent(visitScheduleId, consentRequestBody, options).then((request) => request(axios, basePath));
3217
3211
  },
3218
3212
  /**
3219
3213
  *
3220
- * @param {string} id
3214
+ * @param {string} visitScheduleId
3221
3215
  * @param {*} [options] Override http request option.
3222
3216
  * @throws {RequiredError}
3223
3217
  */
3224
- passesShow(id: string, options?: any): AxiosPromise<WrappedResponseShowPassResponseOrNull> {
3225
- return localVarFp.passesShow(id, options).then((request) => request(axios, basePath));
3218
+ passesShow(visitScheduleId: string, options?: any): AxiosPromise<WrappedResponseShowPassResponseOrNull> {
3219
+ return localVarFp.passesShow(visitScheduleId, options).then((request) => request(axios, basePath));
3226
3220
  },
3227
3221
  /**
3228
3222
  *
@@ -3343,13 +3337,13 @@ export class DefaultApi extends BaseAPI {
3343
3337
 
3344
3338
  /**
3345
3339
  *
3346
- * @param {string} identifier
3340
+ * @param {string} xAccountId
3347
3341
  * @param {*} [options] Override http request option.
3348
3342
  * @throws {RequiredError}
3349
3343
  * @memberof DefaultApi
3350
3344
  */
3351
- public membersIndex(identifier: string, options?: AxiosRequestConfig) {
3352
- return DefaultApiFp(this.configuration).membersIndex(identifier, options).then((request) => request(this.axios, this.basePath));
3345
+ public membersIndex(xAccountId: string, options?: AxiosRequestConfig) {
3346
+ return DefaultApiFp(this.configuration).membersIndex(xAccountId, options).then((request) => request(this.axios, this.basePath));
3353
3347
  }
3354
3348
 
3355
3349
  /**
@@ -3386,25 +3380,25 @@ export class DefaultApi extends BaseAPI {
3386
3380
 
3387
3381
  /**
3388
3382
  *
3389
- * @param {string} id
3383
+ * @param {string} visitScheduleId
3390
3384
  * @param {ConsentRequestBody} consentRequestBody
3391
3385
  * @param {*} [options] Override http request option.
3392
3386
  * @throws {RequiredError}
3393
3387
  * @memberof DefaultApi
3394
3388
  */
3395
- public passesConsent(id: string, consentRequestBody: ConsentRequestBody, options?: AxiosRequestConfig) {
3396
- return DefaultApiFp(this.configuration).passesConsent(id, consentRequestBody, options).then((request) => request(this.axios, this.basePath));
3389
+ public passesConsent(visitScheduleId: string, consentRequestBody: ConsentRequestBody, options?: AxiosRequestConfig) {
3390
+ return DefaultApiFp(this.configuration).passesConsent(visitScheduleId, consentRequestBody, options).then((request) => request(this.axios, this.basePath));
3397
3391
  }
3398
3392
 
3399
3393
  /**
3400
3394
  *
3401
- * @param {string} id
3395
+ * @param {string} visitScheduleId
3402
3396
  * @param {*} [options] Override http request option.
3403
3397
  * @throws {RequiredError}
3404
3398
  * @memberof DefaultApi
3405
3399
  */
3406
- public passesShow(id: string, options?: AxiosRequestConfig) {
3407
- return DefaultApiFp(this.configuration).passesShow(id, options).then((request) => request(this.axios, this.basePath));
3400
+ public passesShow(visitScheduleId: string, options?: AxiosRequestConfig) {
3401
+ return DefaultApiFp(this.configuration).passesShow(visitScheduleId, options).then((request) => request(this.axios, this.basePath));
3408
3402
  }
3409
3403
 
3410
3404
  /**
package/dist/api/api.d.ts CHANGED
@@ -591,12 +591,6 @@ export interface LocationPasses {
591
591
  * @memberof LocationPasses
592
592
  */
593
593
  'name': string;
594
- /**
595
- *
596
- * @type {string}
597
- * @memberof LocationPasses
598
- */
599
- 'coordinate': string;
600
594
  /**
601
595
  *
602
596
  * @type {string}
@@ -2386,11 +2380,11 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
2386
2380
  membersCommandsIndex: (memberId: string, name?: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2387
2381
  /**
2388
2382
  *
2389
- * @param {string} identifier
2383
+ * @param {string} xAccountId
2390
2384
  * @param {*} [options] Override http request option.
2391
2385
  * @throws {RequiredError}
2392
2386
  */
2393
- membersIndex: (identifier: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2387
+ membersIndex: (xAccountId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2394
2388
  /**
2395
2389
  *
2396
2390
  * @param {string} id
@@ -2413,19 +2407,19 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
2413
2407
  parkingTicketsIndex: (memberId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2414
2408
  /**
2415
2409
  *
2416
- * @param {string} id
2410
+ * @param {string} visitScheduleId
2417
2411
  * @param {ConsentRequestBody} consentRequestBody
2418
2412
  * @param {*} [options] Override http request option.
2419
2413
  * @throws {RequiredError}
2420
2414
  */
2421
- passesConsent: (id: string, consentRequestBody: ConsentRequestBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2415
+ passesConsent: (visitScheduleId: string, consentRequestBody: ConsentRequestBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2422
2416
  /**
2423
2417
  *
2424
- * @param {string} id
2418
+ * @param {string} visitScheduleId
2425
2419
  * @param {*} [options] Override http request option.
2426
2420
  * @throws {RequiredError}
2427
2421
  */
2428
- passesShow: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2422
+ passesShow: (visitScheduleId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2429
2423
  /**
2430
2424
  *
2431
2425
  * @param {SyncBody} syncBody
@@ -2509,11 +2503,11 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
2509
2503
  membersCommandsIndex(memberId: string, name?: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseCommandsIndexResponse>>;
2510
2504
  /**
2511
2505
  *
2512
- * @param {string} identifier
2506
+ * @param {string} xAccountId
2513
2507
  * @param {*} [options] Override http request option.
2514
2508
  * @throws {RequiredError}
2515
2509
  */
2516
- membersIndex(identifier: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseFindMemberResultArrayOrNull>>;
2510
+ membersIndex(xAccountId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseFindMemberResultArrayOrNull>>;
2517
2511
  /**
2518
2512
  *
2519
2513
  * @param {string} id
@@ -2536,19 +2530,19 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
2536
2530
  parkingTicketsIndex(memberId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseParkingTicketResult>>;
2537
2531
  /**
2538
2532
  *
2539
- * @param {string} id
2533
+ * @param {string} visitScheduleId
2540
2534
  * @param {ConsentRequestBody} consentRequestBody
2541
2535
  * @param {*} [options] Override http request option.
2542
2536
  * @throws {RequiredError}
2543
2537
  */
2544
- passesConsent(id: string, consentRequestBody: ConsentRequestBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponsePassConsentResponse>>;
2538
+ passesConsent(visitScheduleId: string, consentRequestBody: ConsentRequestBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponsePassConsentResponse>>;
2545
2539
  /**
2546
2540
  *
2547
- * @param {string} id
2541
+ * @param {string} visitScheduleId
2548
2542
  * @param {*} [options] Override http request option.
2549
2543
  * @throws {RequiredError}
2550
2544
  */
2551
- passesShow(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseShowPassResponseOrNull>>;
2545
+ passesShow(visitScheduleId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseShowPassResponseOrNull>>;
2552
2546
  /**
2553
2547
  *
2554
2548
  * @param {SyncBody} syncBody
@@ -2632,11 +2626,11 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
2632
2626
  membersCommandsIndex(memberId: string, name?: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, options?: any): AxiosPromise<WrappedResponseCommandsIndexResponse>;
2633
2627
  /**
2634
2628
  *
2635
- * @param {string} identifier
2629
+ * @param {string} xAccountId
2636
2630
  * @param {*} [options] Override http request option.
2637
2631
  * @throws {RequiredError}
2638
2632
  */
2639
- membersIndex(identifier: string, options?: any): AxiosPromise<WrappedResponseFindMemberResultArrayOrNull>;
2633
+ membersIndex(xAccountId: string, options?: any): AxiosPromise<WrappedResponseFindMemberResultArrayOrNull>;
2640
2634
  /**
2641
2635
  *
2642
2636
  * @param {string} id
@@ -2659,19 +2653,19 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
2659
2653
  parkingTicketsIndex(memberId: string, options?: any): AxiosPromise<WrappedResponseParkingTicketResult>;
2660
2654
  /**
2661
2655
  *
2662
- * @param {string} id
2656
+ * @param {string} visitScheduleId
2663
2657
  * @param {ConsentRequestBody} consentRequestBody
2664
2658
  * @param {*} [options] Override http request option.
2665
2659
  * @throws {RequiredError}
2666
2660
  */
2667
- passesConsent(id: string, consentRequestBody: ConsentRequestBody, options?: any): AxiosPromise<WrappedResponsePassConsentResponse>;
2661
+ passesConsent(visitScheduleId: string, consentRequestBody: ConsentRequestBody, options?: any): AxiosPromise<WrappedResponsePassConsentResponse>;
2668
2662
  /**
2669
2663
  *
2670
- * @param {string} id
2664
+ * @param {string} visitScheduleId
2671
2665
  * @param {*} [options] Override http request option.
2672
2666
  * @throws {RequiredError}
2673
2667
  */
2674
- passesShow(id: string, options?: any): AxiosPromise<WrappedResponseShowPassResponseOrNull>;
2668
+ passesShow(visitScheduleId: string, options?: any): AxiosPromise<WrappedResponseShowPassResponseOrNull>;
2675
2669
  /**
2676
2670
  *
2677
2671
  * @param {SyncBody} syncBody
@@ -2763,12 +2757,12 @@ export declare class DefaultApi extends BaseAPI {
2763
2757
  membersCommandsIndex(memberId: string, name?: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponseCommandsIndexResponse, any>>;
2764
2758
  /**
2765
2759
  *
2766
- * @param {string} identifier
2760
+ * @param {string} xAccountId
2767
2761
  * @param {*} [options] Override http request option.
2768
2762
  * @throws {RequiredError}
2769
2763
  * @memberof DefaultApi
2770
2764
  */
2771
- membersIndex(identifier: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponseFindMemberResultArrayOrNull, any>>;
2765
+ membersIndex(xAccountId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponseFindMemberResultArrayOrNull, any>>;
2772
2766
  /**
2773
2767
  *
2774
2768
  * @param {string} id
@@ -2794,21 +2788,21 @@ export declare class DefaultApi extends BaseAPI {
2794
2788
  parkingTicketsIndex(memberId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponseParkingTicketResult, any>>;
2795
2789
  /**
2796
2790
  *
2797
- * @param {string} id
2791
+ * @param {string} visitScheduleId
2798
2792
  * @param {ConsentRequestBody} consentRequestBody
2799
2793
  * @param {*} [options] Override http request option.
2800
2794
  * @throws {RequiredError}
2801
2795
  * @memberof DefaultApi
2802
2796
  */
2803
- passesConsent(id: string, consentRequestBody: ConsentRequestBody, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponsePassConsentResponse, any>>;
2797
+ passesConsent(visitScheduleId: string, consentRequestBody: ConsentRequestBody, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponsePassConsentResponse, any>>;
2804
2798
  /**
2805
2799
  *
2806
- * @param {string} id
2800
+ * @param {string} visitScheduleId
2807
2801
  * @param {*} [options] Override http request option.
2808
2802
  * @throws {RequiredError}
2809
2803
  * @memberof DefaultApi
2810
2804
  */
2811
- passesShow(id: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponseShowPassResponseOrNull, any>>;
2805
+ passesShow(visitScheduleId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponseShowPassResponseOrNull, any>>;
2812
2806
  /**
2813
2807
  *
2814
2808
  * @param {SyncBody} syncBody
package/dist/api/api.js CHANGED
@@ -251,13 +251,13 @@ const DefaultApiAxiosParamCreator = function (configuration) {
251
251
  }),
252
252
  /**
253
253
  *
254
- * @param {string} identifier
254
+ * @param {string} xAccountId
255
255
  * @param {*} [options] Override http request option.
256
256
  * @throws {RequiredError}
257
257
  */
258
- membersIndex: (identifier, options = {}) => __awaiter(this, void 0, void 0, function* () {
259
- // verify required parameter 'identifier' is not null or undefined
260
- (0, common_1.assertParamExists)('membersIndex', 'identifier', identifier);
258
+ membersIndex: (xAccountId, options = {}) => __awaiter(this, void 0, void 0, function* () {
259
+ // verify required parameter 'xAccountId' is not null or undefined
260
+ (0, common_1.assertParamExists)('membersIndex', 'xAccountId', xAccountId);
261
261
  const localVarPath = `/members`;
262
262
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
263
263
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -268,8 +268,8 @@ const DefaultApiAxiosParamCreator = function (configuration) {
268
268
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
269
269
  const localVarHeaderParameter = {};
270
270
  const localVarQueryParameter = {};
271
- if (identifier !== undefined) {
272
- localVarQueryParameter['identifier'] = identifier;
271
+ if (xAccountId != null) {
272
+ localVarHeaderParameter['x-account-id'] = String(xAccountId);
273
273
  }
274
274
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
275
275
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -361,18 +361,18 @@ const DefaultApiAxiosParamCreator = function (configuration) {
361
361
  }),
362
362
  /**
363
363
  *
364
- * @param {string} id
364
+ * @param {string} visitScheduleId
365
365
  * @param {ConsentRequestBody} consentRequestBody
366
366
  * @param {*} [options] Override http request option.
367
367
  * @throws {RequiredError}
368
368
  */
369
- passesConsent: (id, consentRequestBody, options = {}) => __awaiter(this, void 0, void 0, function* () {
370
- // verify required parameter 'id' is not null or undefined
371
- (0, common_1.assertParamExists)('passesConsent', 'id', id);
369
+ passesConsent: (visitScheduleId, consentRequestBody, options = {}) => __awaiter(this, void 0, void 0, function* () {
370
+ // verify required parameter 'visitScheduleId' is not null or undefined
371
+ (0, common_1.assertParamExists)('passesConsent', 'visitScheduleId', visitScheduleId);
372
372
  // verify required parameter 'consentRequestBody' is not null or undefined
373
373
  (0, common_1.assertParamExists)('passesConsent', 'consentRequestBody', consentRequestBody);
374
- const localVarPath = `/passes/consent/{id}`
375
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
374
+ const localVarPath = `/passes/consent/{visit_schedule_id}`
375
+ .replace(`{${"visit_schedule_id"}}`, encodeURIComponent(String(visitScheduleId)));
376
376
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
377
377
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
378
378
  let baseOptions;
@@ -394,15 +394,15 @@ const DefaultApiAxiosParamCreator = function (configuration) {
394
394
  }),
395
395
  /**
396
396
  *
397
- * @param {string} id
397
+ * @param {string} visitScheduleId
398
398
  * @param {*} [options] Override http request option.
399
399
  * @throws {RequiredError}
400
400
  */
401
- passesShow: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
402
- // verify required parameter 'id' is not null or undefined
403
- (0, common_1.assertParamExists)('passesShow', 'id', id);
404
- const localVarPath = `/passes/{id}`
405
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
401
+ passesShow: (visitScheduleId, options = {}) => __awaiter(this, void 0, void 0, function* () {
402
+ // verify required parameter 'visitScheduleId' is not null or undefined
403
+ (0, common_1.assertParamExists)('passesShow', 'visitScheduleId', visitScheduleId);
404
+ const localVarPath = `/passes/{visit_schedule_id}`
405
+ .replace(`{${"visit_schedule_id"}}`, encodeURIComponent(String(visitScheduleId)));
406
406
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
407
407
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
408
408
  let baseOptions;
@@ -623,13 +623,13 @@ const DefaultApiFp = function (configuration) {
623
623
  },
624
624
  /**
625
625
  *
626
- * @param {string} identifier
626
+ * @param {string} xAccountId
627
627
  * @param {*} [options] Override http request option.
628
628
  * @throws {RequiredError}
629
629
  */
630
- membersIndex(identifier, options) {
630
+ membersIndex(xAccountId, options) {
631
631
  return __awaiter(this, void 0, void 0, function* () {
632
- const localVarAxiosArgs = yield localVarAxiosParamCreator.membersIndex(identifier, options);
632
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.membersIndex(xAccountId, options);
633
633
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
634
634
  });
635
635
  },
@@ -670,26 +670,26 @@ const DefaultApiFp = function (configuration) {
670
670
  },
671
671
  /**
672
672
  *
673
- * @param {string} id
673
+ * @param {string} visitScheduleId
674
674
  * @param {ConsentRequestBody} consentRequestBody
675
675
  * @param {*} [options] Override http request option.
676
676
  * @throws {RequiredError}
677
677
  */
678
- passesConsent(id, consentRequestBody, options) {
678
+ passesConsent(visitScheduleId, consentRequestBody, options) {
679
679
  return __awaiter(this, void 0, void 0, function* () {
680
- const localVarAxiosArgs = yield localVarAxiosParamCreator.passesConsent(id, consentRequestBody, options);
680
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.passesConsent(visitScheduleId, consentRequestBody, options);
681
681
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
682
682
  });
683
683
  },
684
684
  /**
685
685
  *
686
- * @param {string} id
686
+ * @param {string} visitScheduleId
687
687
  * @param {*} [options] Override http request option.
688
688
  * @throws {RequiredError}
689
689
  */
690
- passesShow(id, options) {
690
+ passesShow(visitScheduleId, options) {
691
691
  return __awaiter(this, void 0, void 0, function* () {
692
- const localVarAxiosArgs = yield localVarAxiosParamCreator.passesShow(id, options);
692
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.passesShow(visitScheduleId, options);
693
693
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
694
694
  });
695
695
  },
@@ -812,12 +812,12 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
812
812
  },
813
813
  /**
814
814
  *
815
- * @param {string} identifier
815
+ * @param {string} xAccountId
816
816
  * @param {*} [options] Override http request option.
817
817
  * @throws {RequiredError}
818
818
  */
819
- membersIndex(identifier, options) {
820
- return localVarFp.membersIndex(identifier, options).then((request) => request(axios, basePath));
819
+ membersIndex(xAccountId, options) {
820
+ return localVarFp.membersIndex(xAccountId, options).then((request) => request(axios, basePath));
821
821
  },
822
822
  /**
823
823
  *
@@ -847,22 +847,22 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
847
847
  },
848
848
  /**
849
849
  *
850
- * @param {string} id
850
+ * @param {string} visitScheduleId
851
851
  * @param {ConsentRequestBody} consentRequestBody
852
852
  * @param {*} [options] Override http request option.
853
853
  * @throws {RequiredError}
854
854
  */
855
- passesConsent(id, consentRequestBody, options) {
856
- return localVarFp.passesConsent(id, consentRequestBody, options).then((request) => request(axios, basePath));
855
+ passesConsent(visitScheduleId, consentRequestBody, options) {
856
+ return localVarFp.passesConsent(visitScheduleId, consentRequestBody, options).then((request) => request(axios, basePath));
857
857
  },
858
858
  /**
859
859
  *
860
- * @param {string} id
860
+ * @param {string} visitScheduleId
861
861
  * @param {*} [options] Override http request option.
862
862
  * @throws {RequiredError}
863
863
  */
864
- passesShow(id, options) {
865
- return localVarFp.passesShow(id, options).then((request) => request(axios, basePath));
864
+ passesShow(visitScheduleId, options) {
865
+ return localVarFp.passesShow(visitScheduleId, options).then((request) => request(axios, basePath));
866
866
  },
867
867
  /**
868
868
  *
@@ -977,13 +977,13 @@ class DefaultApi extends base_1.BaseAPI {
977
977
  }
978
978
  /**
979
979
  *
980
- * @param {string} identifier
980
+ * @param {string} xAccountId
981
981
  * @param {*} [options] Override http request option.
982
982
  * @throws {RequiredError}
983
983
  * @memberof DefaultApi
984
984
  */
985
- membersIndex(identifier, options) {
986
- return (0, exports.DefaultApiFp)(this.configuration).membersIndex(identifier, options).then((request) => request(this.axios, this.basePath));
985
+ membersIndex(xAccountId, options) {
986
+ return (0, exports.DefaultApiFp)(this.configuration).membersIndex(xAccountId, options).then((request) => request(this.axios, this.basePath));
987
987
  }
988
988
  /**
989
989
  *
@@ -1016,24 +1016,24 @@ class DefaultApi extends base_1.BaseAPI {
1016
1016
  }
1017
1017
  /**
1018
1018
  *
1019
- * @param {string} id
1019
+ * @param {string} visitScheduleId
1020
1020
  * @param {ConsentRequestBody} consentRequestBody
1021
1021
  * @param {*} [options] Override http request option.
1022
1022
  * @throws {RequiredError}
1023
1023
  * @memberof DefaultApi
1024
1024
  */
1025
- passesConsent(id, consentRequestBody, options) {
1026
- return (0, exports.DefaultApiFp)(this.configuration).passesConsent(id, consentRequestBody, options).then((request) => request(this.axios, this.basePath));
1025
+ passesConsent(visitScheduleId, consentRequestBody, options) {
1026
+ return (0, exports.DefaultApiFp)(this.configuration).passesConsent(visitScheduleId, consentRequestBody, options).then((request) => request(this.axios, this.basePath));
1027
1027
  }
1028
1028
  /**
1029
1029
  *
1030
- * @param {string} id
1030
+ * @param {string} visitScheduleId
1031
1031
  * @param {*} [options] Override http request option.
1032
1032
  * @throws {RequiredError}
1033
1033
  * @memberof DefaultApi
1034
1034
  */
1035
- passesShow(id, options) {
1036
- return (0, exports.DefaultApiFp)(this.configuration).passesShow(id, options).then((request) => request(this.axios, this.basePath));
1035
+ passesShow(visitScheduleId, options) {
1036
+ return (0, exports.DefaultApiFp)(this.configuration).passesShow(visitScheduleId, options).then((request) => request(this.axios, this.basePath));
1037
1037
  }
1038
1038
  /**
1039
1039
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ob-bms-sdk",
3
- "version": "0.0.36",
3
+ "version": "0.0.37",
4
4
  "description": "API interfaces for OB BMS",
5
5
  "main": "./dist/index.js",
6
6
  "license": "MIT"