@gooday_corp/gooday-api-client 1.2.104 → 1.2.105
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.ts +42 -12
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -2513,13 +2513,19 @@ export interface CreateBookingPayload {
|
|
|
2513
2513
|
* @type {string}
|
|
2514
2514
|
* @memberof CreateBookingPayload
|
|
2515
2515
|
*/
|
|
2516
|
-
'
|
|
2516
|
+
'date': string;
|
|
2517
2517
|
/**
|
|
2518
|
-
*
|
|
2518
|
+
*
|
|
2519
2519
|
* @type {string}
|
|
2520
2520
|
* @memberof CreateBookingPayload
|
|
2521
2521
|
*/
|
|
2522
|
-
'
|
|
2522
|
+
'from'?: string;
|
|
2523
|
+
/**
|
|
2524
|
+
*
|
|
2525
|
+
* @type {string}
|
|
2526
|
+
* @memberof CreateBookingPayload
|
|
2527
|
+
*/
|
|
2528
|
+
'to'?: string;
|
|
2523
2529
|
/**
|
|
2524
2530
|
* The venue of the booking
|
|
2525
2531
|
* @type {string}
|
|
@@ -2543,25 +2549,25 @@ export interface CreateBookingPayload {
|
|
|
2543
2549
|
* @type {string}
|
|
2544
2550
|
* @memberof CreateBookingPayload
|
|
2545
2551
|
*/
|
|
2546
|
-
'note'
|
|
2552
|
+
'note'?: string;
|
|
2547
2553
|
/**
|
|
2548
2554
|
* Occasion id
|
|
2549
2555
|
* @type {string}
|
|
2550
2556
|
* @memberof CreateBookingPayload
|
|
2551
2557
|
*/
|
|
2552
|
-
'occasion'
|
|
2558
|
+
'occasion'?: string;
|
|
2553
2559
|
/**
|
|
2554
2560
|
* Calendar attached with booking
|
|
2555
2561
|
* @type {Array<string>}
|
|
2556
2562
|
* @memberof CreateBookingPayload
|
|
2557
2563
|
*/
|
|
2558
|
-
'calendar'
|
|
2564
|
+
'calendar'?: Array<string>;
|
|
2559
2565
|
/**
|
|
2560
2566
|
* Payment method Id
|
|
2561
2567
|
* @type {string}
|
|
2562
2568
|
* @memberof CreateBookingPayload
|
|
2563
2569
|
*/
|
|
2564
|
-
'paymentMethodId'
|
|
2570
|
+
'paymentMethodId'?: string;
|
|
2565
2571
|
/**
|
|
2566
2572
|
* The list of collaborators associated with the booking
|
|
2567
2573
|
* @type {Array<CreateBookingCollaboratorPayload>}
|
|
@@ -2585,19 +2591,19 @@ export interface CreateBookingPayload {
|
|
|
2585
2591
|
* @type {Array<string>}
|
|
2586
2592
|
* @memberof CreateBookingPayload
|
|
2587
2593
|
*/
|
|
2588
|
-
'staffs'
|
|
2594
|
+
'staffs'?: Array<string>;
|
|
2589
2595
|
/**
|
|
2590
2596
|
*
|
|
2591
2597
|
* @type {string}
|
|
2592
2598
|
* @memberof CreateBookingPayload
|
|
2593
2599
|
*/
|
|
2594
|
-
'selectedStaff'
|
|
2600
|
+
'selectedStaff'?: string;
|
|
2595
2601
|
/**
|
|
2596
2602
|
*
|
|
2597
2603
|
* @type {Array<string>}
|
|
2598
2604
|
* @memberof CreateBookingPayload
|
|
2599
2605
|
*/
|
|
2600
|
-
'tags'
|
|
2606
|
+
'tags'?: Array<string>;
|
|
2601
2607
|
/**
|
|
2602
2608
|
*
|
|
2603
2609
|
* @type {number}
|
|
@@ -2609,13 +2615,13 @@ export interface CreateBookingPayload {
|
|
|
2609
2615
|
* @type {string}
|
|
2610
2616
|
* @memberof CreateBookingPayload
|
|
2611
2617
|
*/
|
|
2612
|
-
'serviceId'
|
|
2618
|
+
'serviceId'?: string;
|
|
2613
2619
|
/**
|
|
2614
2620
|
*
|
|
2615
2621
|
* @type {StripeSetupIntentPaymentResponse}
|
|
2616
2622
|
* @memberof CreateBookingPayload
|
|
2617
2623
|
*/
|
|
2618
|
-
'paymentMethod'
|
|
2624
|
+
'paymentMethod'?: StripeSetupIntentPaymentResponse;
|
|
2619
2625
|
}
|
|
2620
2626
|
/**
|
|
2621
2627
|
*
|
|
@@ -3485,6 +3491,12 @@ export interface FindBookingPayload {
|
|
|
3485
3491
|
* @memberof FindBookingPayload
|
|
3486
3492
|
*/
|
|
3487
3493
|
'search'?: string;
|
|
3494
|
+
/**
|
|
3495
|
+
*
|
|
3496
|
+
* @type {string}
|
|
3497
|
+
* @memberof FindBookingPayload
|
|
3498
|
+
*/
|
|
3499
|
+
'venue'?: string;
|
|
3488
3500
|
}
|
|
3489
3501
|
|
|
3490
3502
|
export const FindBookingPayloadViewEnum = {
|
|
@@ -4925,6 +4937,12 @@ export interface PrepaidServiceAvailabilityResponseDTO {
|
|
|
4925
4937
|
* @memberof PrepaidServiceAvailabilityResponseDTO
|
|
4926
4938
|
*/
|
|
4927
4939
|
'isBookingAllowed': boolean;
|
|
4940
|
+
/**
|
|
4941
|
+
*
|
|
4942
|
+
* @type {string}
|
|
4943
|
+
* @memberof PrepaidServiceAvailabilityResponseDTO
|
|
4944
|
+
*/
|
|
4945
|
+
'message': string;
|
|
4928
4946
|
}
|
|
4929
4947
|
/**
|
|
4930
4948
|
*
|
|
@@ -5503,6 +5521,12 @@ export interface RegularBookingAvailabilityResponseDTO {
|
|
|
5503
5521
|
* @memberof RegularBookingAvailabilityResponseDTO
|
|
5504
5522
|
*/
|
|
5505
5523
|
'isBookingAllowed': boolean;
|
|
5524
|
+
/**
|
|
5525
|
+
*
|
|
5526
|
+
* @type {string}
|
|
5527
|
+
* @memberof RegularBookingAvailabilityResponseDTO
|
|
5528
|
+
*/
|
|
5529
|
+
'message': string;
|
|
5506
5530
|
}
|
|
5507
5531
|
/**
|
|
5508
5532
|
*
|
|
@@ -7259,6 +7283,12 @@ export interface WhatsOnAvailabilityResponseDTO {
|
|
|
7259
7283
|
* @memberof WhatsOnAvailabilityResponseDTO
|
|
7260
7284
|
*/
|
|
7261
7285
|
'isBookingAllowed': boolean;
|
|
7286
|
+
/**
|
|
7287
|
+
*
|
|
7288
|
+
* @type {string}
|
|
7289
|
+
* @memberof WhatsOnAvailabilityResponseDTO
|
|
7290
|
+
*/
|
|
7291
|
+
'message': string;
|
|
7262
7292
|
}
|
|
7263
7293
|
/**
|
|
7264
7294
|
*
|