ob-bms-sdk 0.0.36 → 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 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,10 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
2589
2583
  },
2590
2584
  /**
2591
2585
  *
2592
- * @param {string} identifier
2593
2586
  * @param {*} [options] Override http request option.
2594
2587
  * @throws {RequiredError}
2595
2588
  */
2596
- membersIndex: async (identifier: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
2597
- // verify required parameter 'identifier' is not null or undefined
2598
- assertParamExists('membersIndex', 'identifier', identifier)
2589
+ membersIndex: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
2599
2590
  const localVarPath = `/members`;
2600
2591
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2601
2592
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -2608,10 +2599,6 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
2608
2599
  const localVarHeaderParameter = {} as any;
2609
2600
  const localVarQueryParameter = {} as any;
2610
2601
 
2611
- if (identifier !== undefined) {
2612
- localVarQueryParameter['identifier'] = identifier;
2613
- }
2614
-
2615
2602
 
2616
2603
 
2617
2604
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -2720,18 +2707,18 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
2720
2707
  },
2721
2708
  /**
2722
2709
  *
2723
- * @param {string} id
2710
+ * @param {string} visitScheduleId
2724
2711
  * @param {ConsentRequestBody} consentRequestBody
2725
2712
  * @param {*} [options] Override http request option.
2726
2713
  * @throws {RequiredError}
2727
2714
  */
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)
2715
+ passesConsent: async (visitScheduleId: string, consentRequestBody: ConsentRequestBody, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
2716
+ // verify required parameter 'visitScheduleId' is not null or undefined
2717
+ assertParamExists('passesConsent', 'visitScheduleId', visitScheduleId)
2731
2718
  // verify required parameter 'consentRequestBody' is not null or undefined
2732
2719
  assertParamExists('passesConsent', 'consentRequestBody', consentRequestBody)
2733
- const localVarPath = `/passes/consent/{id}`
2734
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
2720
+ const localVarPath = `/passes/consent/{visit_schedule_id}`
2721
+ .replace(`{${"visit_schedule_id"}}`, encodeURIComponent(String(visitScheduleId)));
2735
2722
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2736
2723
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2737
2724
  let baseOptions;
@@ -2759,15 +2746,15 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
2759
2746
  },
2760
2747
  /**
2761
2748
  *
2762
- * @param {string} id
2749
+ * @param {string} visitScheduleId
2763
2750
  * @param {*} [options] Override http request option.
2764
2751
  * @throws {RequiredError}
2765
2752
  */
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)));
2753
+ passesShow: async (visitScheduleId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
2754
+ // verify required parameter 'visitScheduleId' is not null or undefined
2755
+ assertParamExists('passesShow', 'visitScheduleId', visitScheduleId)
2756
+ const localVarPath = `/passes/{visit_schedule_id}`
2757
+ .replace(`{${"visit_schedule_id"}}`, encodeURIComponent(String(visitScheduleId)));
2771
2758
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2772
2759
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2773
2760
  let baseOptions;
@@ -3003,12 +2990,11 @@ export const DefaultApiFp = function(configuration?: Configuration) {
3003
2990
  },
3004
2991
  /**
3005
2992
  *
3006
- * @param {string} identifier
3007
2993
  * @param {*} [options] Override http request option.
3008
2994
  * @throws {RequiredError}
3009
2995
  */
3010
- async membersIndex(identifier: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseFindMemberResultArrayOrNull>> {
3011
- const localVarAxiosArgs = await localVarAxiosParamCreator.membersIndex(identifier, options);
2996
+ async membersIndex(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseFindMemberResultArrayOrNull>> {
2997
+ const localVarAxiosArgs = await localVarAxiosParamCreator.membersIndex(options);
3012
2998
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3013
2999
  },
3014
3000
  /**
@@ -3042,23 +3028,23 @@ export const DefaultApiFp = function(configuration?: Configuration) {
3042
3028
  },
3043
3029
  /**
3044
3030
  *
3045
- * @param {string} id
3031
+ * @param {string} visitScheduleId
3046
3032
  * @param {ConsentRequestBody} consentRequestBody
3047
3033
  * @param {*} [options] Override http request option.
3048
3034
  * @throws {RequiredError}
3049
3035
  */
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);
3036
+ async passesConsent(visitScheduleId: string, consentRequestBody: ConsentRequestBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponsePassConsentResponse>> {
3037
+ const localVarAxiosArgs = await localVarAxiosParamCreator.passesConsent(visitScheduleId, consentRequestBody, options);
3052
3038
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3053
3039
  },
3054
3040
  /**
3055
3041
  *
3056
- * @param {string} id
3042
+ * @param {string} visitScheduleId
3057
3043
  * @param {*} [options] Override http request option.
3058
3044
  * @throws {RequiredError}
3059
3045
  */
3060
- async passesShow(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseShowPassResponseOrNull>> {
3061
- const localVarAxiosArgs = await localVarAxiosParamCreator.passesShow(id, options);
3046
+ async passesShow(visitScheduleId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseShowPassResponseOrNull>> {
3047
+ const localVarAxiosArgs = await localVarAxiosParamCreator.passesShow(visitScheduleId, options);
3062
3048
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3063
3049
  },
3064
3050
  /**
@@ -3172,12 +3158,11 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
3172
3158
  },
3173
3159
  /**
3174
3160
  *
3175
- * @param {string} identifier
3176
3161
  * @param {*} [options] Override http request option.
3177
3162
  * @throws {RequiredError}
3178
3163
  */
3179
- membersIndex(identifier: string, options?: any): AxiosPromise<WrappedResponseFindMemberResultArrayOrNull> {
3180
- return localVarFp.membersIndex(identifier, options).then((request) => request(axios, basePath));
3164
+ membersIndex(options?: any): AxiosPromise<WrappedResponseFindMemberResultArrayOrNull> {
3165
+ return localVarFp.membersIndex(options).then((request) => request(axios, basePath));
3181
3166
  },
3182
3167
  /**
3183
3168
  *
@@ -3207,22 +3192,22 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
3207
3192
  },
3208
3193
  /**
3209
3194
  *
3210
- * @param {string} id
3195
+ * @param {string} visitScheduleId
3211
3196
  * @param {ConsentRequestBody} consentRequestBody
3212
3197
  * @param {*} [options] Override http request option.
3213
3198
  * @throws {RequiredError}
3214
3199
  */
3215
- passesConsent(id: string, consentRequestBody: ConsentRequestBody, options?: any): AxiosPromise<WrappedResponsePassConsentResponse> {
3216
- return localVarFp.passesConsent(id, consentRequestBody, options).then((request) => request(axios, basePath));
3200
+ passesConsent(visitScheduleId: string, consentRequestBody: ConsentRequestBody, options?: any): AxiosPromise<WrappedResponsePassConsentResponse> {
3201
+ return localVarFp.passesConsent(visitScheduleId, consentRequestBody, options).then((request) => request(axios, basePath));
3217
3202
  },
3218
3203
  /**
3219
3204
  *
3220
- * @param {string} id
3205
+ * @param {string} visitScheduleId
3221
3206
  * @param {*} [options] Override http request option.
3222
3207
  * @throws {RequiredError}
3223
3208
  */
3224
- passesShow(id: string, options?: any): AxiosPromise<WrappedResponseShowPassResponseOrNull> {
3225
- return localVarFp.passesShow(id, options).then((request) => request(axios, basePath));
3209
+ passesShow(visitScheduleId: string, options?: any): AxiosPromise<WrappedResponseShowPassResponseOrNull> {
3210
+ return localVarFp.passesShow(visitScheduleId, options).then((request) => request(axios, basePath));
3226
3211
  },
3227
3212
  /**
3228
3213
  *
@@ -3343,13 +3328,12 @@ export class DefaultApi extends BaseAPI {
3343
3328
 
3344
3329
  /**
3345
3330
  *
3346
- * @param {string} identifier
3347
3331
  * @param {*} [options] Override http request option.
3348
3332
  * @throws {RequiredError}
3349
3333
  * @memberof DefaultApi
3350
3334
  */
3351
- public membersIndex(identifier: string, options?: AxiosRequestConfig) {
3352
- return DefaultApiFp(this.configuration).membersIndex(identifier, options).then((request) => request(this.axios, this.basePath));
3335
+ public membersIndex(options?: AxiosRequestConfig) {
3336
+ return DefaultApiFp(this.configuration).membersIndex(options).then((request) => request(this.axios, this.basePath));
3353
3337
  }
3354
3338
 
3355
3339
  /**
@@ -3386,25 +3370,25 @@ export class DefaultApi extends BaseAPI {
3386
3370
 
3387
3371
  /**
3388
3372
  *
3389
- * @param {string} id
3373
+ * @param {string} visitScheduleId
3390
3374
  * @param {ConsentRequestBody} consentRequestBody
3391
3375
  * @param {*} [options] Override http request option.
3392
3376
  * @throws {RequiredError}
3393
3377
  * @memberof DefaultApi
3394
3378
  */
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));
3379
+ public passesConsent(visitScheduleId: string, consentRequestBody: ConsentRequestBody, options?: AxiosRequestConfig) {
3380
+ return DefaultApiFp(this.configuration).passesConsent(visitScheduleId, consentRequestBody, options).then((request) => request(this.axios, this.basePath));
3397
3381
  }
3398
3382
 
3399
3383
  /**
3400
3384
  *
3401
- * @param {string} id
3385
+ * @param {string} visitScheduleId
3402
3386
  * @param {*} [options] Override http request option.
3403
3387
  * @throws {RequiredError}
3404
3388
  * @memberof DefaultApi
3405
3389
  */
3406
- public passesShow(id: string, options?: AxiosRequestConfig) {
3407
- return DefaultApiFp(this.configuration).passesShow(id, options).then((request) => request(this.axios, this.basePath));
3390
+ public passesShow(visitScheduleId: string, options?: AxiosRequestConfig) {
3391
+ return DefaultApiFp(this.configuration).passesShow(visitScheduleId, options).then((request) => request(this.axios, this.basePath));
3408
3392
  }
3409
3393
 
3410
3394
  /**
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,10 @@ 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
2390
2383
  * @param {*} [options] Override http request option.
2391
2384
  * @throws {RequiredError}
2392
2385
  */
2393
- membersIndex: (identifier: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2386
+ membersIndex: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
2394
2387
  /**
2395
2388
  *
2396
2389
  * @param {string} id
@@ -2413,19 +2406,19 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
2413
2406
  parkingTicketsIndex: (memberId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2414
2407
  /**
2415
2408
  *
2416
- * @param {string} id
2409
+ * @param {string} visitScheduleId
2417
2410
  * @param {ConsentRequestBody} consentRequestBody
2418
2411
  * @param {*} [options] Override http request option.
2419
2412
  * @throws {RequiredError}
2420
2413
  */
2421
- passesConsent: (id: string, consentRequestBody: ConsentRequestBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2414
+ passesConsent: (visitScheduleId: string, consentRequestBody: ConsentRequestBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2422
2415
  /**
2423
2416
  *
2424
- * @param {string} id
2417
+ * @param {string} visitScheduleId
2425
2418
  * @param {*} [options] Override http request option.
2426
2419
  * @throws {RequiredError}
2427
2420
  */
2428
- passesShow: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2421
+ passesShow: (visitScheduleId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2429
2422
  /**
2430
2423
  *
2431
2424
  * @param {SyncBody} syncBody
@@ -2509,11 +2502,10 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
2509
2502
  membersCommandsIndex(memberId: string, name?: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseCommandsIndexResponse>>;
2510
2503
  /**
2511
2504
  *
2512
- * @param {string} identifier
2513
2505
  * @param {*} [options] Override http request option.
2514
2506
  * @throws {RequiredError}
2515
2507
  */
2516
- membersIndex(identifier: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseFindMemberResultArrayOrNull>>;
2508
+ membersIndex(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseFindMemberResultArrayOrNull>>;
2517
2509
  /**
2518
2510
  *
2519
2511
  * @param {string} id
@@ -2536,19 +2528,19 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
2536
2528
  parkingTicketsIndex(memberId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseParkingTicketResult>>;
2537
2529
  /**
2538
2530
  *
2539
- * @param {string} id
2531
+ * @param {string} visitScheduleId
2540
2532
  * @param {ConsentRequestBody} consentRequestBody
2541
2533
  * @param {*} [options] Override http request option.
2542
2534
  * @throws {RequiredError}
2543
2535
  */
2544
- passesConsent(id: string, consentRequestBody: ConsentRequestBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponsePassConsentResponse>>;
2536
+ passesConsent(visitScheduleId: string, consentRequestBody: ConsentRequestBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponsePassConsentResponse>>;
2545
2537
  /**
2546
2538
  *
2547
- * @param {string} id
2539
+ * @param {string} visitScheduleId
2548
2540
  * @param {*} [options] Override http request option.
2549
2541
  * @throws {RequiredError}
2550
2542
  */
2551
- passesShow(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseShowPassResponseOrNull>>;
2543
+ passesShow(visitScheduleId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseShowPassResponseOrNull>>;
2552
2544
  /**
2553
2545
  *
2554
2546
  * @param {SyncBody} syncBody
@@ -2632,11 +2624,10 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
2632
2624
  membersCommandsIndex(memberId: string, name?: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, options?: any): AxiosPromise<WrappedResponseCommandsIndexResponse>;
2633
2625
  /**
2634
2626
  *
2635
- * @param {string} identifier
2636
2627
  * @param {*} [options] Override http request option.
2637
2628
  * @throws {RequiredError}
2638
2629
  */
2639
- membersIndex(identifier: string, options?: any): AxiosPromise<WrappedResponseFindMemberResultArrayOrNull>;
2630
+ membersIndex(options?: any): AxiosPromise<WrappedResponseFindMemberResultArrayOrNull>;
2640
2631
  /**
2641
2632
  *
2642
2633
  * @param {string} id
@@ -2659,19 +2650,19 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
2659
2650
  parkingTicketsIndex(memberId: string, options?: any): AxiosPromise<WrappedResponseParkingTicketResult>;
2660
2651
  /**
2661
2652
  *
2662
- * @param {string} id
2653
+ * @param {string} visitScheduleId
2663
2654
  * @param {ConsentRequestBody} consentRequestBody
2664
2655
  * @param {*} [options] Override http request option.
2665
2656
  * @throws {RequiredError}
2666
2657
  */
2667
- passesConsent(id: string, consentRequestBody: ConsentRequestBody, options?: any): AxiosPromise<WrappedResponsePassConsentResponse>;
2658
+ passesConsent(visitScheduleId: string, consentRequestBody: ConsentRequestBody, options?: any): AxiosPromise<WrappedResponsePassConsentResponse>;
2668
2659
  /**
2669
2660
  *
2670
- * @param {string} id
2661
+ * @param {string} visitScheduleId
2671
2662
  * @param {*} [options] Override http request option.
2672
2663
  * @throws {RequiredError}
2673
2664
  */
2674
- passesShow(id: string, options?: any): AxiosPromise<WrappedResponseShowPassResponseOrNull>;
2665
+ passesShow(visitScheduleId: string, options?: any): AxiosPromise<WrappedResponseShowPassResponseOrNull>;
2675
2666
  /**
2676
2667
  *
2677
2668
  * @param {SyncBody} syncBody
@@ -2763,12 +2754,11 @@ export declare class DefaultApi extends BaseAPI {
2763
2754
  membersCommandsIndex(memberId: string, name?: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponseCommandsIndexResponse, any>>;
2764
2755
  /**
2765
2756
  *
2766
- * @param {string} identifier
2767
2757
  * @param {*} [options] Override http request option.
2768
2758
  * @throws {RequiredError}
2769
2759
  * @memberof DefaultApi
2770
2760
  */
2771
- membersIndex(identifier: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponseFindMemberResultArrayOrNull, any>>;
2761
+ membersIndex(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponseFindMemberResultArrayOrNull, any>>;
2772
2762
  /**
2773
2763
  *
2774
2764
  * @param {string} id
@@ -2794,21 +2784,21 @@ export declare class DefaultApi extends BaseAPI {
2794
2784
  parkingTicketsIndex(memberId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponseParkingTicketResult, any>>;
2795
2785
  /**
2796
2786
  *
2797
- * @param {string} id
2787
+ * @param {string} visitScheduleId
2798
2788
  * @param {ConsentRequestBody} consentRequestBody
2799
2789
  * @param {*} [options] Override http request option.
2800
2790
  * @throws {RequiredError}
2801
2791
  * @memberof DefaultApi
2802
2792
  */
2803
- passesConsent(id: string, consentRequestBody: ConsentRequestBody, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponsePassConsentResponse, any>>;
2793
+ passesConsent(visitScheduleId: string, consentRequestBody: ConsentRequestBody, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponsePassConsentResponse, any>>;
2804
2794
  /**
2805
2795
  *
2806
- * @param {string} id
2796
+ * @param {string} visitScheduleId
2807
2797
  * @param {*} [options] Override http request option.
2808
2798
  * @throws {RequiredError}
2809
2799
  * @memberof DefaultApi
2810
2800
  */
2811
- passesShow(id: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponseShowPassResponseOrNull, any>>;
2801
+ passesShow(visitScheduleId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponseShowPassResponseOrNull, any>>;
2812
2802
  /**
2813
2803
  *
2814
2804
  * @param {SyncBody} syncBody
package/dist/api/api.js CHANGED
@@ -251,13 +251,10 @@ const DefaultApiAxiosParamCreator = function (configuration) {
251
251
  }),
252
252
  /**
253
253
  *
254
- * @param {string} identifier
255
254
  * @param {*} [options] Override http request option.
256
255
  * @throws {RequiredError}
257
256
  */
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);
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 (identifier !== undefined) {
272
- localVarQueryParameter['identifier'] = identifier;
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);
@@ -361,18 +355,18 @@ const DefaultApiAxiosParamCreator = function (configuration) {
361
355
  }),
362
356
  /**
363
357
  *
364
- * @param {string} id
358
+ * @param {string} visitScheduleId
365
359
  * @param {ConsentRequestBody} consentRequestBody
366
360
  * @param {*} [options] Override http request option.
367
361
  * @throws {RequiredError}
368
362
  */
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);
363
+ passesConsent: (visitScheduleId, consentRequestBody, options = {}) => __awaiter(this, void 0, void 0, function* () {
364
+ // verify required parameter 'visitScheduleId' is not null or undefined
365
+ (0, common_1.assertParamExists)('passesConsent', 'visitScheduleId', visitScheduleId);
372
366
  // verify required parameter 'consentRequestBody' is not null or undefined
373
367
  (0, common_1.assertParamExists)('passesConsent', 'consentRequestBody', consentRequestBody);
374
- const localVarPath = `/passes/consent/{id}`
375
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
368
+ const localVarPath = `/passes/consent/{visit_schedule_id}`
369
+ .replace(`{${"visit_schedule_id"}}`, encodeURIComponent(String(visitScheduleId)));
376
370
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
377
371
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
378
372
  let baseOptions;
@@ -394,15 +388,15 @@ const DefaultApiAxiosParamCreator = function (configuration) {
394
388
  }),
395
389
  /**
396
390
  *
397
- * @param {string} id
391
+ * @param {string} visitScheduleId
398
392
  * @param {*} [options] Override http request option.
399
393
  * @throws {RequiredError}
400
394
  */
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)));
395
+ passesShow: (visitScheduleId, options = {}) => __awaiter(this, void 0, void 0, function* () {
396
+ // verify required parameter 'visitScheduleId' is not null or undefined
397
+ (0, common_1.assertParamExists)('passesShow', 'visitScheduleId', visitScheduleId);
398
+ const localVarPath = `/passes/{visit_schedule_id}`
399
+ .replace(`{${"visit_schedule_id"}}`, encodeURIComponent(String(visitScheduleId)));
406
400
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
407
401
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
408
402
  let baseOptions;
@@ -623,13 +617,12 @@ const DefaultApiFp = function (configuration) {
623
617
  },
624
618
  /**
625
619
  *
626
- * @param {string} identifier
627
620
  * @param {*} [options] Override http request option.
628
621
  * @throws {RequiredError}
629
622
  */
630
- membersIndex(identifier, options) {
623
+ membersIndex(options) {
631
624
  return __awaiter(this, void 0, void 0, function* () {
632
- const localVarAxiosArgs = yield localVarAxiosParamCreator.membersIndex(identifier, options);
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
  },
@@ -670,26 +663,26 @@ const DefaultApiFp = function (configuration) {
670
663
  },
671
664
  /**
672
665
  *
673
- * @param {string} id
666
+ * @param {string} visitScheduleId
674
667
  * @param {ConsentRequestBody} consentRequestBody
675
668
  * @param {*} [options] Override http request option.
676
669
  * @throws {RequiredError}
677
670
  */
678
- passesConsent(id, consentRequestBody, options) {
671
+ passesConsent(visitScheduleId, consentRequestBody, options) {
679
672
  return __awaiter(this, void 0, void 0, function* () {
680
- const localVarAxiosArgs = yield localVarAxiosParamCreator.passesConsent(id, consentRequestBody, options);
673
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.passesConsent(visitScheduleId, consentRequestBody, options);
681
674
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
682
675
  });
683
676
  },
684
677
  /**
685
678
  *
686
- * @param {string} id
679
+ * @param {string} visitScheduleId
687
680
  * @param {*} [options] Override http request option.
688
681
  * @throws {RequiredError}
689
682
  */
690
- passesShow(id, options) {
683
+ passesShow(visitScheduleId, options) {
691
684
  return __awaiter(this, void 0, void 0, function* () {
692
- const localVarAxiosArgs = yield localVarAxiosParamCreator.passesShow(id, options);
685
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.passesShow(visitScheduleId, options);
693
686
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
694
687
  });
695
688
  },
@@ -812,12 +805,11 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
812
805
  },
813
806
  /**
814
807
  *
815
- * @param {string} identifier
816
808
  * @param {*} [options] Override http request option.
817
809
  * @throws {RequiredError}
818
810
  */
819
- membersIndex(identifier, options) {
820
- return localVarFp.membersIndex(identifier, options).then((request) => request(axios, basePath));
811
+ membersIndex(options) {
812
+ return localVarFp.membersIndex(options).then((request) => request(axios, basePath));
821
813
  },
822
814
  /**
823
815
  *
@@ -847,22 +839,22 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
847
839
  },
848
840
  /**
849
841
  *
850
- * @param {string} id
842
+ * @param {string} visitScheduleId
851
843
  * @param {ConsentRequestBody} consentRequestBody
852
844
  * @param {*} [options] Override http request option.
853
845
  * @throws {RequiredError}
854
846
  */
855
- passesConsent(id, consentRequestBody, options) {
856
- return localVarFp.passesConsent(id, consentRequestBody, options).then((request) => request(axios, basePath));
847
+ passesConsent(visitScheduleId, consentRequestBody, options) {
848
+ return localVarFp.passesConsent(visitScheduleId, consentRequestBody, options).then((request) => request(axios, basePath));
857
849
  },
858
850
  /**
859
851
  *
860
- * @param {string} id
852
+ * @param {string} visitScheduleId
861
853
  * @param {*} [options] Override http request option.
862
854
  * @throws {RequiredError}
863
855
  */
864
- passesShow(id, options) {
865
- return localVarFp.passesShow(id, options).then((request) => request(axios, basePath));
856
+ passesShow(visitScheduleId, options) {
857
+ return localVarFp.passesShow(visitScheduleId, options).then((request) => request(axios, basePath));
866
858
  },
867
859
  /**
868
860
  *
@@ -977,13 +969,12 @@ class DefaultApi extends base_1.BaseAPI {
977
969
  }
978
970
  /**
979
971
  *
980
- * @param {string} identifier
981
972
  * @param {*} [options] Override http request option.
982
973
  * @throws {RequiredError}
983
974
  * @memberof DefaultApi
984
975
  */
985
- membersIndex(identifier, options) {
986
- return (0, exports.DefaultApiFp)(this.configuration).membersIndex(identifier, options).then((request) => request(this.axios, this.basePath));
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
  *
@@ -1016,24 +1007,24 @@ class DefaultApi extends base_1.BaseAPI {
1016
1007
  }
1017
1008
  /**
1018
1009
  *
1019
- * @param {string} id
1010
+ * @param {string} visitScheduleId
1020
1011
  * @param {ConsentRequestBody} consentRequestBody
1021
1012
  * @param {*} [options] Override http request option.
1022
1013
  * @throws {RequiredError}
1023
1014
  * @memberof DefaultApi
1024
1015
  */
1025
- passesConsent(id, consentRequestBody, options) {
1026
- return (0, exports.DefaultApiFp)(this.configuration).passesConsent(id, consentRequestBody, options).then((request) => request(this.axios, this.basePath));
1016
+ passesConsent(visitScheduleId, consentRequestBody, options) {
1017
+ return (0, exports.DefaultApiFp)(this.configuration).passesConsent(visitScheduleId, consentRequestBody, options).then((request) => request(this.axios, this.basePath));
1027
1018
  }
1028
1019
  /**
1029
1020
  *
1030
- * @param {string} id
1021
+ * @param {string} visitScheduleId
1031
1022
  * @param {*} [options] Override http request option.
1032
1023
  * @throws {RequiredError}
1033
1024
  * @memberof DefaultApi
1034
1025
  */
1035
- passesShow(id, options) {
1036
- return (0, exports.DefaultApiFp)(this.configuration).passesShow(id, options).then((request) => request(this.axios, this.basePath));
1026
+ passesShow(visitScheduleId, options) {
1027
+ return (0, exports.DefaultApiFp)(this.configuration).passesShow(visitScheduleId, options).then((request) => request(this.axios, this.basePath));
1037
1028
  }
1038
1029
  /**
1039
1030
  *
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.38",
4
4
  "description": "API interfaces for OB BMS",
5
5
  "main": "./dist/index.js",
6
6
  "license": "MIT"