ch-api-client-typescript2 2.6.7 → 2.6.8
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/lib/api.d.ts +617 -0
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +619 -0
- package/package.json +1 -1
- package/src/api.ts +916 -21
package/lib/api.d.ts
CHANGED
|
@@ -2436,6 +2436,91 @@ export interface CountryModel {
|
|
|
2436
2436
|
*/
|
|
2437
2437
|
'languageCode'?: string | null;
|
|
2438
2438
|
}
|
|
2439
|
+
/**
|
|
2440
|
+
*
|
|
2441
|
+
* @export
|
|
2442
|
+
* @interface CreateBookingCommand
|
|
2443
|
+
*/
|
|
2444
|
+
export interface CreateBookingCommand {
|
|
2445
|
+
/**
|
|
2446
|
+
*
|
|
2447
|
+
* @type {string}
|
|
2448
|
+
* @memberof CreateBookingCommand
|
|
2449
|
+
*/
|
|
2450
|
+
'hospitalId'?: string;
|
|
2451
|
+
/**
|
|
2452
|
+
*
|
|
2453
|
+
* @type {string}
|
|
2454
|
+
* @memberof CreateBookingCommand
|
|
2455
|
+
*/
|
|
2456
|
+
'dealPackageId'?: string;
|
|
2457
|
+
/**
|
|
2458
|
+
*
|
|
2459
|
+
* @type {number}
|
|
2460
|
+
* @memberof CreateBookingCommand
|
|
2461
|
+
*/
|
|
2462
|
+
'quantity'?: number;
|
|
2463
|
+
/**
|
|
2464
|
+
*
|
|
2465
|
+
* @type {string}
|
|
2466
|
+
* @memberof CreateBookingCommand
|
|
2467
|
+
*/
|
|
2468
|
+
'firstName'?: string | null;
|
|
2469
|
+
/**
|
|
2470
|
+
*
|
|
2471
|
+
* @type {string}
|
|
2472
|
+
* @memberof CreateBookingCommand
|
|
2473
|
+
*/
|
|
2474
|
+
'lastName'?: string | null;
|
|
2475
|
+
/**
|
|
2476
|
+
*
|
|
2477
|
+
* @type {string}
|
|
2478
|
+
* @memberof CreateBookingCommand
|
|
2479
|
+
*/
|
|
2480
|
+
'email'?: string | null;
|
|
2481
|
+
/**
|
|
2482
|
+
*
|
|
2483
|
+
* @type {string}
|
|
2484
|
+
* @memberof CreateBookingCommand
|
|
2485
|
+
*/
|
|
2486
|
+
'phone'?: string | null;
|
|
2487
|
+
/**
|
|
2488
|
+
*
|
|
2489
|
+
* @type {Date}
|
|
2490
|
+
* @memberof CreateBookingCommand
|
|
2491
|
+
*/
|
|
2492
|
+
'dateOfBirth'?: Date | null;
|
|
2493
|
+
/**
|
|
2494
|
+
*
|
|
2495
|
+
* @type {Gender}
|
|
2496
|
+
* @memberof CreateBookingCommand
|
|
2497
|
+
*/
|
|
2498
|
+
'gender'?: Gender;
|
|
2499
|
+
/**
|
|
2500
|
+
*
|
|
2501
|
+
* @type {Date}
|
|
2502
|
+
* @memberof CreateBookingCommand
|
|
2503
|
+
*/
|
|
2504
|
+
'approximateDateStart'?: Date;
|
|
2505
|
+
/**
|
|
2506
|
+
*
|
|
2507
|
+
* @type {Date}
|
|
2508
|
+
* @memberof CreateBookingCommand
|
|
2509
|
+
*/
|
|
2510
|
+
'approximateDateEnd'?: Date;
|
|
2511
|
+
/**
|
|
2512
|
+
*
|
|
2513
|
+
* @type {string}
|
|
2514
|
+
* @memberof CreateBookingCommand
|
|
2515
|
+
*/
|
|
2516
|
+
'comment'?: string | null;
|
|
2517
|
+
/**
|
|
2518
|
+
*
|
|
2519
|
+
* @type {string}
|
|
2520
|
+
* @memberof CreateBookingCommand
|
|
2521
|
+
*/
|
|
2522
|
+
'timeZone'?: string | null;
|
|
2523
|
+
}
|
|
2439
2524
|
/**
|
|
2440
2525
|
*
|
|
2441
2526
|
* @export
|
|
@@ -2473,6 +2558,121 @@ export interface CreateChatUserCommand {
|
|
|
2473
2558
|
*/
|
|
2474
2559
|
'discoveryKeys'?: Array<string> | null;
|
|
2475
2560
|
}
|
|
2561
|
+
/**
|
|
2562
|
+
*
|
|
2563
|
+
* @export
|
|
2564
|
+
* @interface CreateConsultationCommand
|
|
2565
|
+
*/
|
|
2566
|
+
export interface CreateConsultationCommand {
|
|
2567
|
+
/**
|
|
2568
|
+
*
|
|
2569
|
+
* @type {ConsultationType}
|
|
2570
|
+
* @memberof CreateConsultationCommand
|
|
2571
|
+
*/
|
|
2572
|
+
'consultationType'?: ConsultationType;
|
|
2573
|
+
/**
|
|
2574
|
+
*
|
|
2575
|
+
* @type {string}
|
|
2576
|
+
* @memberof CreateConsultationCommand
|
|
2577
|
+
*/
|
|
2578
|
+
'hospitalId'?: string;
|
|
2579
|
+
/**
|
|
2580
|
+
*
|
|
2581
|
+
* @type {string}
|
|
2582
|
+
* @memberof CreateConsultationCommand
|
|
2583
|
+
*/
|
|
2584
|
+
'specialtyId'?: string | null;
|
|
2585
|
+
/**
|
|
2586
|
+
*
|
|
2587
|
+
* @type {string}
|
|
2588
|
+
* @memberof CreateConsultationCommand
|
|
2589
|
+
*/
|
|
2590
|
+
'doctorId'?: string | null;
|
|
2591
|
+
/**
|
|
2592
|
+
*
|
|
2593
|
+
* @type {string}
|
|
2594
|
+
* @memberof CreateConsultationCommand
|
|
2595
|
+
*/
|
|
2596
|
+
'dealId'?: string | null;
|
|
2597
|
+
/**
|
|
2598
|
+
*
|
|
2599
|
+
* @type {string}
|
|
2600
|
+
* @memberof CreateConsultationCommand
|
|
2601
|
+
*/
|
|
2602
|
+
'language'?: string | null;
|
|
2603
|
+
/**
|
|
2604
|
+
*
|
|
2605
|
+
* @type {boolean}
|
|
2606
|
+
* @memberof CreateConsultationCommand
|
|
2607
|
+
*/
|
|
2608
|
+
'isAccountHolder'?: boolean;
|
|
2609
|
+
/**
|
|
2610
|
+
*
|
|
2611
|
+
* @type {string}
|
|
2612
|
+
* @memberof CreateConsultationCommand
|
|
2613
|
+
*/
|
|
2614
|
+
'firstName'?: string | null;
|
|
2615
|
+
/**
|
|
2616
|
+
*
|
|
2617
|
+
* @type {string}
|
|
2618
|
+
* @memberof CreateConsultationCommand
|
|
2619
|
+
*/
|
|
2620
|
+
'lastName'?: string | null;
|
|
2621
|
+
/**
|
|
2622
|
+
*
|
|
2623
|
+
* @type {string}
|
|
2624
|
+
* @memberof CreateConsultationCommand
|
|
2625
|
+
*/
|
|
2626
|
+
'email'?: string | null;
|
|
2627
|
+
/**
|
|
2628
|
+
*
|
|
2629
|
+
* @type {string}
|
|
2630
|
+
* @memberof CreateConsultationCommand
|
|
2631
|
+
*/
|
|
2632
|
+
'phone'?: string | null;
|
|
2633
|
+
/**
|
|
2634
|
+
*
|
|
2635
|
+
* @type {Date}
|
|
2636
|
+
* @memberof CreateConsultationCommand
|
|
2637
|
+
*/
|
|
2638
|
+
'dateOfBirth'?: Date | null;
|
|
2639
|
+
/**
|
|
2640
|
+
*
|
|
2641
|
+
* @type {Gender}
|
|
2642
|
+
* @memberof CreateConsultationCommand
|
|
2643
|
+
*/
|
|
2644
|
+
'gender'?: Gender;
|
|
2645
|
+
/**
|
|
2646
|
+
*
|
|
2647
|
+
* @type {string}
|
|
2648
|
+
* @memberof CreateConsultationCommand
|
|
2649
|
+
*/
|
|
2650
|
+
'comment'?: string | null;
|
|
2651
|
+
/**
|
|
2652
|
+
*
|
|
2653
|
+
* @type {string}
|
|
2654
|
+
* @memberof CreateConsultationCommand
|
|
2655
|
+
*/
|
|
2656
|
+
'timeRange'?: string | null;
|
|
2657
|
+
/**
|
|
2658
|
+
*
|
|
2659
|
+
* @type {Date}
|
|
2660
|
+
* @memberof CreateConsultationCommand
|
|
2661
|
+
*/
|
|
2662
|
+
'approximateDateStart'?: Date;
|
|
2663
|
+
/**
|
|
2664
|
+
*
|
|
2665
|
+
* @type {Date}
|
|
2666
|
+
* @memberof CreateConsultationCommand
|
|
2667
|
+
*/
|
|
2668
|
+
'approximateDateEnd'?: Date;
|
|
2669
|
+
/**
|
|
2670
|
+
*
|
|
2671
|
+
* @type {string}
|
|
2672
|
+
* @memberof CreateConsultationCommand
|
|
2673
|
+
*/
|
|
2674
|
+
'timeZone'?: string | null;
|
|
2675
|
+
}
|
|
2476
2676
|
/**
|
|
2477
2677
|
*
|
|
2478
2678
|
* @export
|
|
@@ -7261,6 +7461,79 @@ export interface TagsModel {
|
|
|
7261
7461
|
*/
|
|
7262
7462
|
'metaData'?: PagedListMetaData;
|
|
7263
7463
|
}
|
|
7464
|
+
/**
|
|
7465
|
+
*
|
|
7466
|
+
* @export
|
|
7467
|
+
* @interface UpdateBookingCommand
|
|
7468
|
+
*/
|
|
7469
|
+
export interface UpdateBookingCommand {
|
|
7470
|
+
/**
|
|
7471
|
+
*
|
|
7472
|
+
* @type {number}
|
|
7473
|
+
* @memberof UpdateBookingCommand
|
|
7474
|
+
*/
|
|
7475
|
+
'quantity'?: number;
|
|
7476
|
+
/**
|
|
7477
|
+
*
|
|
7478
|
+
* @type {string}
|
|
7479
|
+
* @memberof UpdateBookingCommand
|
|
7480
|
+
*/
|
|
7481
|
+
'firstName'?: string | null;
|
|
7482
|
+
/**
|
|
7483
|
+
*
|
|
7484
|
+
* @type {string}
|
|
7485
|
+
* @memberof UpdateBookingCommand
|
|
7486
|
+
*/
|
|
7487
|
+
'lastName'?: string | null;
|
|
7488
|
+
/**
|
|
7489
|
+
*
|
|
7490
|
+
* @type {string}
|
|
7491
|
+
* @memberof UpdateBookingCommand
|
|
7492
|
+
*/
|
|
7493
|
+
'email'?: string | null;
|
|
7494
|
+
/**
|
|
7495
|
+
*
|
|
7496
|
+
* @type {string}
|
|
7497
|
+
* @memberof UpdateBookingCommand
|
|
7498
|
+
*/
|
|
7499
|
+
'phone'?: string | null;
|
|
7500
|
+
/**
|
|
7501
|
+
*
|
|
7502
|
+
* @type {Date}
|
|
7503
|
+
* @memberof UpdateBookingCommand
|
|
7504
|
+
*/
|
|
7505
|
+
'dateOfBirth'?: Date | null;
|
|
7506
|
+
/**
|
|
7507
|
+
*
|
|
7508
|
+
* @type {Gender}
|
|
7509
|
+
* @memberof UpdateBookingCommand
|
|
7510
|
+
*/
|
|
7511
|
+
'gender'?: Gender;
|
|
7512
|
+
/**
|
|
7513
|
+
*
|
|
7514
|
+
* @type {Date}
|
|
7515
|
+
* @memberof UpdateBookingCommand
|
|
7516
|
+
*/
|
|
7517
|
+
'approximateDateStart'?: Date;
|
|
7518
|
+
/**
|
|
7519
|
+
*
|
|
7520
|
+
* @type {Date}
|
|
7521
|
+
* @memberof UpdateBookingCommand
|
|
7522
|
+
*/
|
|
7523
|
+
'approximateDateEnd'?: Date;
|
|
7524
|
+
/**
|
|
7525
|
+
*
|
|
7526
|
+
* @type {string}
|
|
7527
|
+
* @memberof UpdateBookingCommand
|
|
7528
|
+
*/
|
|
7529
|
+
'comment'?: string | null;
|
|
7530
|
+
/**
|
|
7531
|
+
*
|
|
7532
|
+
* @type {string}
|
|
7533
|
+
* @memberof UpdateBookingCommand
|
|
7534
|
+
*/
|
|
7535
|
+
'timeZone'?: string | null;
|
|
7536
|
+
}
|
|
7264
7537
|
/**
|
|
7265
7538
|
*
|
|
7266
7539
|
* @export
|
|
@@ -7292,6 +7565,103 @@ export interface UpdateChatUserCommand {
|
|
|
7292
7565
|
*/
|
|
7293
7566
|
'discoveryKeys'?: Array<string> | null;
|
|
7294
7567
|
}
|
|
7568
|
+
/**
|
|
7569
|
+
*
|
|
7570
|
+
* @export
|
|
7571
|
+
* @interface UpdateConsultationCommand
|
|
7572
|
+
*/
|
|
7573
|
+
export interface UpdateConsultationCommand {
|
|
7574
|
+
/**
|
|
7575
|
+
*
|
|
7576
|
+
* @type {string}
|
|
7577
|
+
* @memberof UpdateConsultationCommand
|
|
7578
|
+
*/
|
|
7579
|
+
'specialtyId'?: string | null;
|
|
7580
|
+
/**
|
|
7581
|
+
*
|
|
7582
|
+
* @type {string}
|
|
7583
|
+
* @memberof UpdateConsultationCommand
|
|
7584
|
+
*/
|
|
7585
|
+
'doctorId'?: string | null;
|
|
7586
|
+
/**
|
|
7587
|
+
*
|
|
7588
|
+
* @type {string}
|
|
7589
|
+
* @memberof UpdateConsultationCommand
|
|
7590
|
+
*/
|
|
7591
|
+
'language'?: string | null;
|
|
7592
|
+
/**
|
|
7593
|
+
*
|
|
7594
|
+
* @type {boolean}
|
|
7595
|
+
* @memberof UpdateConsultationCommand
|
|
7596
|
+
*/
|
|
7597
|
+
'isAccountHolder'?: boolean;
|
|
7598
|
+
/**
|
|
7599
|
+
*
|
|
7600
|
+
* @type {string}
|
|
7601
|
+
* @memberof UpdateConsultationCommand
|
|
7602
|
+
*/
|
|
7603
|
+
'firstName'?: string | null;
|
|
7604
|
+
/**
|
|
7605
|
+
*
|
|
7606
|
+
* @type {string}
|
|
7607
|
+
* @memberof UpdateConsultationCommand
|
|
7608
|
+
*/
|
|
7609
|
+
'lastName'?: string | null;
|
|
7610
|
+
/**
|
|
7611
|
+
*
|
|
7612
|
+
* @type {string}
|
|
7613
|
+
* @memberof UpdateConsultationCommand
|
|
7614
|
+
*/
|
|
7615
|
+
'email'?: string | null;
|
|
7616
|
+
/**
|
|
7617
|
+
*
|
|
7618
|
+
* @type {string}
|
|
7619
|
+
* @memberof UpdateConsultationCommand
|
|
7620
|
+
*/
|
|
7621
|
+
'phone'?: string | null;
|
|
7622
|
+
/**
|
|
7623
|
+
*
|
|
7624
|
+
* @type {Date}
|
|
7625
|
+
* @memberof UpdateConsultationCommand
|
|
7626
|
+
*/
|
|
7627
|
+
'dateOfBirth'?: Date | null;
|
|
7628
|
+
/**
|
|
7629
|
+
*
|
|
7630
|
+
* @type {Gender}
|
|
7631
|
+
* @memberof UpdateConsultationCommand
|
|
7632
|
+
*/
|
|
7633
|
+
'gender'?: Gender;
|
|
7634
|
+
/**
|
|
7635
|
+
*
|
|
7636
|
+
* @type {string}
|
|
7637
|
+
* @memberof UpdateConsultationCommand
|
|
7638
|
+
*/
|
|
7639
|
+
'comment'?: string | null;
|
|
7640
|
+
/**
|
|
7641
|
+
*
|
|
7642
|
+
* @type {string}
|
|
7643
|
+
* @memberof UpdateConsultationCommand
|
|
7644
|
+
*/
|
|
7645
|
+
'timeRange'?: string | null;
|
|
7646
|
+
/**
|
|
7647
|
+
*
|
|
7648
|
+
* @type {Date}
|
|
7649
|
+
* @memberof UpdateConsultationCommand
|
|
7650
|
+
*/
|
|
7651
|
+
'approximateDateStart'?: Date;
|
|
7652
|
+
/**
|
|
7653
|
+
*
|
|
7654
|
+
* @type {Date}
|
|
7655
|
+
* @memberof UpdateConsultationCommand
|
|
7656
|
+
*/
|
|
7657
|
+
'approximateDateEnd'?: Date;
|
|
7658
|
+
/**
|
|
7659
|
+
*
|
|
7660
|
+
* @type {string}
|
|
7661
|
+
* @memberof UpdateConsultationCommand
|
|
7662
|
+
*/
|
|
7663
|
+
'timeZone'?: string | null;
|
|
7664
|
+
}
|
|
7295
7665
|
/**
|
|
7296
7666
|
*
|
|
7297
7667
|
* @export
|
|
@@ -8345,6 +8715,31 @@ export declare const BookingsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
8345
8715
|
* @throws {RequiredError}
|
|
8346
8716
|
*/
|
|
8347
8717
|
apiV2BookingsBookingIdGet: (bookingId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
8718
|
+
/**
|
|
8719
|
+
*
|
|
8720
|
+
* @summary Mark as Paid booking.
|
|
8721
|
+
* @param {string} bookingId
|
|
8722
|
+
* @param {*} [options] Override http request option.
|
|
8723
|
+
* @throws {RequiredError}
|
|
8724
|
+
*/
|
|
8725
|
+
apiV2BookingsBookingIdPaidPost: (bookingId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
8726
|
+
/**
|
|
8727
|
+
*
|
|
8728
|
+
* @summary Pay booking.
|
|
8729
|
+
* @param {string} bookingId
|
|
8730
|
+
* @param {*} [options] Override http request option.
|
|
8731
|
+
* @throws {RequiredError}
|
|
8732
|
+
*/
|
|
8733
|
+
apiV2BookingsBookingIdPayPost: (bookingId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
8734
|
+
/**
|
|
8735
|
+
*
|
|
8736
|
+
* @summary Update booking.
|
|
8737
|
+
* @param {string} bookingId
|
|
8738
|
+
* @param {UpdateBookingCommand} [updateBookingCommand]
|
|
8739
|
+
* @param {*} [options] Override http request option.
|
|
8740
|
+
* @throws {RequiredError}
|
|
8741
|
+
*/
|
|
8742
|
+
apiV2BookingsBookingIdPut: (bookingId: string, updateBookingCommand?: UpdateBookingCommand | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
8348
8743
|
/**
|
|
8349
8744
|
*
|
|
8350
8745
|
* @summary Reject booking.
|
|
@@ -8369,6 +8764,15 @@ export declare const BookingsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
8369
8764
|
* @throws {RequiredError}
|
|
8370
8765
|
*/
|
|
8371
8766
|
apiV2BookingsGet: (searchString?: string | undefined, isOpen?: boolean | undefined, isCompleted?: boolean | undefined, status?: BookingStatus | undefined, dealPackageId?: string | undefined, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
8767
|
+
/**
|
|
8768
|
+
*
|
|
8769
|
+
* @summary Create booking.
|
|
8770
|
+
* @param {string} requestId
|
|
8771
|
+
* @param {CreateBookingCommand} [createBookingCommand]
|
|
8772
|
+
* @param {*} [options] Override http request option.
|
|
8773
|
+
* @throws {RequiredError}
|
|
8774
|
+
*/
|
|
8775
|
+
apiV2BookingsRequestIdPost: (requestId: string, createBookingCommand?: CreateBookingCommand | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
8372
8776
|
};
|
|
8373
8777
|
/**
|
|
8374
8778
|
* BookingsApi - functional programming interface
|
|
@@ -8408,6 +8812,31 @@ export declare const BookingsApiFp: (configuration?: Configuration | undefined)
|
|
|
8408
8812
|
* @throws {RequiredError}
|
|
8409
8813
|
*/
|
|
8410
8814
|
apiV2BookingsBookingIdGet(bookingId: string, options?: AxiosRequestConfig | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<BookingModel>>;
|
|
8815
|
+
/**
|
|
8816
|
+
*
|
|
8817
|
+
* @summary Mark as Paid booking.
|
|
8818
|
+
* @param {string} bookingId
|
|
8819
|
+
* @param {*} [options] Override http request option.
|
|
8820
|
+
* @throws {RequiredError}
|
|
8821
|
+
*/
|
|
8822
|
+
apiV2BookingsBookingIdPaidPost(bookingId: string, options?: AxiosRequestConfig | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<string>>;
|
|
8823
|
+
/**
|
|
8824
|
+
*
|
|
8825
|
+
* @summary Pay booking.
|
|
8826
|
+
* @param {string} bookingId
|
|
8827
|
+
* @param {*} [options] Override http request option.
|
|
8828
|
+
* @throws {RequiredError}
|
|
8829
|
+
*/
|
|
8830
|
+
apiV2BookingsBookingIdPayPost(bookingId: string, options?: AxiosRequestConfig | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<string>>;
|
|
8831
|
+
/**
|
|
8832
|
+
*
|
|
8833
|
+
* @summary Update booking.
|
|
8834
|
+
* @param {string} bookingId
|
|
8835
|
+
* @param {UpdateBookingCommand} [updateBookingCommand]
|
|
8836
|
+
* @param {*} [options] Override http request option.
|
|
8837
|
+
* @throws {RequiredError}
|
|
8838
|
+
*/
|
|
8839
|
+
apiV2BookingsBookingIdPut(bookingId: string, updateBookingCommand?: UpdateBookingCommand | undefined, options?: AxiosRequestConfig | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<BookingModel>>;
|
|
8411
8840
|
/**
|
|
8412
8841
|
*
|
|
8413
8842
|
* @summary Reject booking.
|
|
@@ -8432,6 +8861,15 @@ export declare const BookingsApiFp: (configuration?: Configuration | undefined)
|
|
|
8432
8861
|
* @throws {RequiredError}
|
|
8433
8862
|
*/
|
|
8434
8863
|
apiV2BookingsGet(searchString?: string | undefined, isOpen?: boolean | undefined, isCompleted?: boolean | undefined, status?: BookingStatus | undefined, dealPackageId?: string | undefined, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: AxiosRequestConfig | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<BookingsModel>>;
|
|
8864
|
+
/**
|
|
8865
|
+
*
|
|
8866
|
+
* @summary Create booking.
|
|
8867
|
+
* @param {string} requestId
|
|
8868
|
+
* @param {CreateBookingCommand} [createBookingCommand]
|
|
8869
|
+
* @param {*} [options] Override http request option.
|
|
8870
|
+
* @throws {RequiredError}
|
|
8871
|
+
*/
|
|
8872
|
+
apiV2BookingsRequestIdPost(requestId: string, createBookingCommand?: CreateBookingCommand | undefined, options?: AxiosRequestConfig | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<BookingModel>>;
|
|
8435
8873
|
};
|
|
8436
8874
|
/**
|
|
8437
8875
|
* BookingsApi - factory interface
|
|
@@ -8471,6 +8909,31 @@ export declare const BookingsApiFactory: (configuration?: Configuration | undefi
|
|
|
8471
8909
|
* @throws {RequiredError}
|
|
8472
8910
|
*/
|
|
8473
8911
|
apiV2BookingsBookingIdGet(bookingId: string, options?: any): AxiosPromise<BookingModel>;
|
|
8912
|
+
/**
|
|
8913
|
+
*
|
|
8914
|
+
* @summary Mark as Paid booking.
|
|
8915
|
+
* @param {string} bookingId
|
|
8916
|
+
* @param {*} [options] Override http request option.
|
|
8917
|
+
* @throws {RequiredError}
|
|
8918
|
+
*/
|
|
8919
|
+
apiV2BookingsBookingIdPaidPost(bookingId: string, options?: any): AxiosPromise<string>;
|
|
8920
|
+
/**
|
|
8921
|
+
*
|
|
8922
|
+
* @summary Pay booking.
|
|
8923
|
+
* @param {string} bookingId
|
|
8924
|
+
* @param {*} [options] Override http request option.
|
|
8925
|
+
* @throws {RequiredError}
|
|
8926
|
+
*/
|
|
8927
|
+
apiV2BookingsBookingIdPayPost(bookingId: string, options?: any): AxiosPromise<string>;
|
|
8928
|
+
/**
|
|
8929
|
+
*
|
|
8930
|
+
* @summary Update booking.
|
|
8931
|
+
* @param {string} bookingId
|
|
8932
|
+
* @param {UpdateBookingCommand} [updateBookingCommand]
|
|
8933
|
+
* @param {*} [options] Override http request option.
|
|
8934
|
+
* @throws {RequiredError}
|
|
8935
|
+
*/
|
|
8936
|
+
apiV2BookingsBookingIdPut(bookingId: string, updateBookingCommand?: UpdateBookingCommand | undefined, options?: any): AxiosPromise<BookingModel>;
|
|
8474
8937
|
/**
|
|
8475
8938
|
*
|
|
8476
8939
|
* @summary Reject booking.
|
|
@@ -8495,6 +8958,15 @@ export declare const BookingsApiFactory: (configuration?: Configuration | undefi
|
|
|
8495
8958
|
* @throws {RequiredError}
|
|
8496
8959
|
*/
|
|
8497
8960
|
apiV2BookingsGet(searchString?: string | undefined, isOpen?: boolean | undefined, isCompleted?: boolean | undefined, status?: BookingStatus | undefined, dealPackageId?: string | undefined, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: any): AxiosPromise<BookingsModel>;
|
|
8961
|
+
/**
|
|
8962
|
+
*
|
|
8963
|
+
* @summary Create booking.
|
|
8964
|
+
* @param {string} requestId
|
|
8965
|
+
* @param {CreateBookingCommand} [createBookingCommand]
|
|
8966
|
+
* @param {*} [options] Override http request option.
|
|
8967
|
+
* @throws {RequiredError}
|
|
8968
|
+
*/
|
|
8969
|
+
apiV2BookingsRequestIdPost(requestId: string, createBookingCommand?: CreateBookingCommand | undefined, options?: any): AxiosPromise<BookingModel>;
|
|
8498
8970
|
};
|
|
8499
8971
|
/**
|
|
8500
8972
|
* BookingsApi - object-oriented interface
|
|
@@ -8540,6 +9012,34 @@ export declare class BookingsApi extends BaseAPI {
|
|
|
8540
9012
|
* @memberof BookingsApi
|
|
8541
9013
|
*/
|
|
8542
9014
|
apiV2BookingsBookingIdGet(bookingId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<BookingModel>>;
|
|
9015
|
+
/**
|
|
9016
|
+
*
|
|
9017
|
+
* @summary Mark as Paid booking.
|
|
9018
|
+
* @param {string} bookingId
|
|
9019
|
+
* @param {*} [options] Override http request option.
|
|
9020
|
+
* @throws {RequiredError}
|
|
9021
|
+
* @memberof BookingsApi
|
|
9022
|
+
*/
|
|
9023
|
+
apiV2BookingsBookingIdPaidPost(bookingId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<string>>;
|
|
9024
|
+
/**
|
|
9025
|
+
*
|
|
9026
|
+
* @summary Pay booking.
|
|
9027
|
+
* @param {string} bookingId
|
|
9028
|
+
* @param {*} [options] Override http request option.
|
|
9029
|
+
* @throws {RequiredError}
|
|
9030
|
+
* @memberof BookingsApi
|
|
9031
|
+
*/
|
|
9032
|
+
apiV2BookingsBookingIdPayPost(bookingId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<string>>;
|
|
9033
|
+
/**
|
|
9034
|
+
*
|
|
9035
|
+
* @summary Update booking.
|
|
9036
|
+
* @param {string} bookingId
|
|
9037
|
+
* @param {UpdateBookingCommand} [updateBookingCommand]
|
|
9038
|
+
* @param {*} [options] Override http request option.
|
|
9039
|
+
* @throws {RequiredError}
|
|
9040
|
+
* @memberof BookingsApi
|
|
9041
|
+
*/
|
|
9042
|
+
apiV2BookingsBookingIdPut(bookingId: string, updateBookingCommand?: UpdateBookingCommand, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<BookingModel>>;
|
|
8543
9043
|
/**
|
|
8544
9044
|
*
|
|
8545
9045
|
* @summary Reject booking.
|
|
@@ -8566,6 +9066,16 @@ export declare class BookingsApi extends BaseAPI {
|
|
|
8566
9066
|
* @memberof BookingsApi
|
|
8567
9067
|
*/
|
|
8568
9068
|
apiV2BookingsGet(searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: BookingStatus, dealPackageId?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<BookingsModel>>;
|
|
9069
|
+
/**
|
|
9070
|
+
*
|
|
9071
|
+
* @summary Create booking.
|
|
9072
|
+
* @param {string} requestId
|
|
9073
|
+
* @param {CreateBookingCommand} [createBookingCommand]
|
|
9074
|
+
* @param {*} [options] Override http request option.
|
|
9075
|
+
* @throws {RequiredError}
|
|
9076
|
+
* @memberof BookingsApi
|
|
9077
|
+
*/
|
|
9078
|
+
apiV2BookingsRequestIdPost(requestId: string, createBookingCommand?: CreateBookingCommand, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<BookingModel>>;
|
|
8569
9079
|
}
|
|
8570
9080
|
/**
|
|
8571
9081
|
* ChatUsersApi - axios parameter creator
|
|
@@ -8954,6 +9464,23 @@ export declare const ConsultationsApiAxiosParamCreator: (configuration?: Configu
|
|
|
8954
9464
|
* @throws {RequiredError}
|
|
8955
9465
|
*/
|
|
8956
9466
|
apiV2ConsultationsConsultationIdGet: (consultationId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
9467
|
+
/**
|
|
9468
|
+
*
|
|
9469
|
+
* @summary Pay consultation.
|
|
9470
|
+
* @param {string} consultationId
|
|
9471
|
+
* @param {*} [options] Override http request option.
|
|
9472
|
+
* @throws {RequiredError}
|
|
9473
|
+
*/
|
|
9474
|
+
apiV2ConsultationsConsultationIdPayPost: (consultationId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
9475
|
+
/**
|
|
9476
|
+
*
|
|
9477
|
+
* @summary Update consultation.
|
|
9478
|
+
* @param {string} consultationId
|
|
9479
|
+
* @param {UpdateConsultationCommand} [updateConsultationCommand]
|
|
9480
|
+
* @param {*} [options] Override http request option.
|
|
9481
|
+
* @throws {RequiredError}
|
|
9482
|
+
*/
|
|
9483
|
+
apiV2ConsultationsConsultationIdPut: (consultationId: string, updateConsultationCommand?: UpdateConsultationCommand | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
8957
9484
|
/**
|
|
8958
9485
|
*
|
|
8959
9486
|
* @summary Reject consultation.
|
|
@@ -8978,6 +9505,15 @@ export declare const ConsultationsApiAxiosParamCreator: (configuration?: Configu
|
|
|
8978
9505
|
* @throws {RequiredError}
|
|
8979
9506
|
*/
|
|
8980
9507
|
apiV2ConsultationsGet: (searchString?: string | undefined, isOpen?: boolean | undefined, isCompleted?: boolean | undefined, status?: ConsultationStatus | undefined, consultationType?: ConsultationType | undefined, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
9508
|
+
/**
|
|
9509
|
+
*
|
|
9510
|
+
* @summary Create consultation.
|
|
9511
|
+
* @param {string} requestId
|
|
9512
|
+
* @param {CreateConsultationCommand} [createConsultationCommand]
|
|
9513
|
+
* @param {*} [options] Override http request option.
|
|
9514
|
+
* @throws {RequiredError}
|
|
9515
|
+
*/
|
|
9516
|
+
apiV2ConsultationsRequestIdPost: (requestId: string, createConsultationCommand?: CreateConsultationCommand | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
8981
9517
|
};
|
|
8982
9518
|
/**
|
|
8983
9519
|
* ConsultationsApi - functional programming interface
|
|
@@ -9017,6 +9553,23 @@ export declare const ConsultationsApiFp: (configuration?: Configuration | undefi
|
|
|
9017
9553
|
* @throws {RequiredError}
|
|
9018
9554
|
*/
|
|
9019
9555
|
apiV2ConsultationsConsultationIdGet(consultationId: string, options?: AxiosRequestConfig | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<ConsultationModel>>;
|
|
9556
|
+
/**
|
|
9557
|
+
*
|
|
9558
|
+
* @summary Pay consultation.
|
|
9559
|
+
* @param {string} consultationId
|
|
9560
|
+
* @param {*} [options] Override http request option.
|
|
9561
|
+
* @throws {RequiredError}
|
|
9562
|
+
*/
|
|
9563
|
+
apiV2ConsultationsConsultationIdPayPost(consultationId: string, options?: AxiosRequestConfig | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<string>>;
|
|
9564
|
+
/**
|
|
9565
|
+
*
|
|
9566
|
+
* @summary Update consultation.
|
|
9567
|
+
* @param {string} consultationId
|
|
9568
|
+
* @param {UpdateConsultationCommand} [updateConsultationCommand]
|
|
9569
|
+
* @param {*} [options] Override http request option.
|
|
9570
|
+
* @throws {RequiredError}
|
|
9571
|
+
*/
|
|
9572
|
+
apiV2ConsultationsConsultationIdPut(consultationId: string, updateConsultationCommand?: UpdateConsultationCommand | undefined, options?: AxiosRequestConfig | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<ConsultationModel>>;
|
|
9020
9573
|
/**
|
|
9021
9574
|
*
|
|
9022
9575
|
* @summary Reject consultation.
|
|
@@ -9041,6 +9594,15 @@ export declare const ConsultationsApiFp: (configuration?: Configuration | undefi
|
|
|
9041
9594
|
* @throws {RequiredError}
|
|
9042
9595
|
*/
|
|
9043
9596
|
apiV2ConsultationsGet(searchString?: string | undefined, isOpen?: boolean | undefined, isCompleted?: boolean | undefined, status?: ConsultationStatus | undefined, consultationType?: ConsultationType | undefined, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: AxiosRequestConfig | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<ConsultationsModel>>;
|
|
9597
|
+
/**
|
|
9598
|
+
*
|
|
9599
|
+
* @summary Create consultation.
|
|
9600
|
+
* @param {string} requestId
|
|
9601
|
+
* @param {CreateConsultationCommand} [createConsultationCommand]
|
|
9602
|
+
* @param {*} [options] Override http request option.
|
|
9603
|
+
* @throws {RequiredError}
|
|
9604
|
+
*/
|
|
9605
|
+
apiV2ConsultationsRequestIdPost(requestId: string, createConsultationCommand?: CreateConsultationCommand | undefined, options?: AxiosRequestConfig | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<ConsultationModel>>;
|
|
9044
9606
|
};
|
|
9045
9607
|
/**
|
|
9046
9608
|
* ConsultationsApi - factory interface
|
|
@@ -9080,6 +9642,23 @@ export declare const ConsultationsApiFactory: (configuration?: Configuration | u
|
|
|
9080
9642
|
* @throws {RequiredError}
|
|
9081
9643
|
*/
|
|
9082
9644
|
apiV2ConsultationsConsultationIdGet(consultationId: string, options?: any): AxiosPromise<ConsultationModel>;
|
|
9645
|
+
/**
|
|
9646
|
+
*
|
|
9647
|
+
* @summary Pay consultation.
|
|
9648
|
+
* @param {string} consultationId
|
|
9649
|
+
* @param {*} [options] Override http request option.
|
|
9650
|
+
* @throws {RequiredError}
|
|
9651
|
+
*/
|
|
9652
|
+
apiV2ConsultationsConsultationIdPayPost(consultationId: string, options?: any): AxiosPromise<string>;
|
|
9653
|
+
/**
|
|
9654
|
+
*
|
|
9655
|
+
* @summary Update consultation.
|
|
9656
|
+
* @param {string} consultationId
|
|
9657
|
+
* @param {UpdateConsultationCommand} [updateConsultationCommand]
|
|
9658
|
+
* @param {*} [options] Override http request option.
|
|
9659
|
+
* @throws {RequiredError}
|
|
9660
|
+
*/
|
|
9661
|
+
apiV2ConsultationsConsultationIdPut(consultationId: string, updateConsultationCommand?: UpdateConsultationCommand | undefined, options?: any): AxiosPromise<ConsultationModel>;
|
|
9083
9662
|
/**
|
|
9084
9663
|
*
|
|
9085
9664
|
* @summary Reject consultation.
|
|
@@ -9104,6 +9683,15 @@ export declare const ConsultationsApiFactory: (configuration?: Configuration | u
|
|
|
9104
9683
|
* @throws {RequiredError}
|
|
9105
9684
|
*/
|
|
9106
9685
|
apiV2ConsultationsGet(searchString?: string | undefined, isOpen?: boolean | undefined, isCompleted?: boolean | undefined, status?: ConsultationStatus | undefined, consultationType?: ConsultationType | undefined, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: any): AxiosPromise<ConsultationsModel>;
|
|
9686
|
+
/**
|
|
9687
|
+
*
|
|
9688
|
+
* @summary Create consultation.
|
|
9689
|
+
* @param {string} requestId
|
|
9690
|
+
* @param {CreateConsultationCommand} [createConsultationCommand]
|
|
9691
|
+
* @param {*} [options] Override http request option.
|
|
9692
|
+
* @throws {RequiredError}
|
|
9693
|
+
*/
|
|
9694
|
+
apiV2ConsultationsRequestIdPost(requestId: string, createConsultationCommand?: CreateConsultationCommand | undefined, options?: any): AxiosPromise<ConsultationModel>;
|
|
9107
9695
|
};
|
|
9108
9696
|
/**
|
|
9109
9697
|
* ConsultationsApi - object-oriented interface
|
|
@@ -9149,6 +9737,25 @@ export declare class ConsultationsApi extends BaseAPI {
|
|
|
9149
9737
|
* @memberof ConsultationsApi
|
|
9150
9738
|
*/
|
|
9151
9739
|
apiV2ConsultationsConsultationIdGet(consultationId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ConsultationModel>>;
|
|
9740
|
+
/**
|
|
9741
|
+
*
|
|
9742
|
+
* @summary Pay consultation.
|
|
9743
|
+
* @param {string} consultationId
|
|
9744
|
+
* @param {*} [options] Override http request option.
|
|
9745
|
+
* @throws {RequiredError}
|
|
9746
|
+
* @memberof ConsultationsApi
|
|
9747
|
+
*/
|
|
9748
|
+
apiV2ConsultationsConsultationIdPayPost(consultationId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<string>>;
|
|
9749
|
+
/**
|
|
9750
|
+
*
|
|
9751
|
+
* @summary Update consultation.
|
|
9752
|
+
* @param {string} consultationId
|
|
9753
|
+
* @param {UpdateConsultationCommand} [updateConsultationCommand]
|
|
9754
|
+
* @param {*} [options] Override http request option.
|
|
9755
|
+
* @throws {RequiredError}
|
|
9756
|
+
* @memberof ConsultationsApi
|
|
9757
|
+
*/
|
|
9758
|
+
apiV2ConsultationsConsultationIdPut(consultationId: string, updateConsultationCommand?: UpdateConsultationCommand, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ConsultationModel>>;
|
|
9152
9759
|
/**
|
|
9153
9760
|
*
|
|
9154
9761
|
* @summary Reject consultation.
|
|
@@ -9175,6 +9782,16 @@ export declare class ConsultationsApi extends BaseAPI {
|
|
|
9175
9782
|
* @memberof ConsultationsApi
|
|
9176
9783
|
*/
|
|
9177
9784
|
apiV2ConsultationsGet(searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: ConsultationStatus, consultationType?: ConsultationType, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ConsultationsModel>>;
|
|
9785
|
+
/**
|
|
9786
|
+
*
|
|
9787
|
+
* @summary Create consultation.
|
|
9788
|
+
* @param {string} requestId
|
|
9789
|
+
* @param {CreateConsultationCommand} [createConsultationCommand]
|
|
9790
|
+
* @param {*} [options] Override http request option.
|
|
9791
|
+
* @throws {RequiredError}
|
|
9792
|
+
* @memberof ConsultationsApi
|
|
9793
|
+
*/
|
|
9794
|
+
apiV2ConsultationsRequestIdPost(requestId: string, createConsultationCommand?: CreateConsultationCommand, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ConsultationModel>>;
|
|
9178
9795
|
}
|
|
9179
9796
|
/**
|
|
9180
9797
|
* ContributorsApi - axios parameter creator
|