@gooday_corp/gooday-api-client 1.1.29-alpha-2 → 1.1.29-alpha-3
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 +37 -2
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -367,18 +367,24 @@ export interface BookingResponse {
|
|
|
367
367
|
* @memberof BookingResponse
|
|
368
368
|
*/
|
|
369
369
|
'business': BusinessEntity;
|
|
370
|
+
/**
|
|
371
|
+
* The user details
|
|
372
|
+
* @type {Array<UserEntity>}
|
|
373
|
+
* @memberof BookingResponse
|
|
374
|
+
*/
|
|
375
|
+
'users': Array<UserEntity>;
|
|
370
376
|
/**
|
|
371
377
|
* The user details
|
|
372
378
|
* @type {UserEntity}
|
|
373
379
|
* @memberof BookingResponse
|
|
374
380
|
*/
|
|
375
|
-
'
|
|
381
|
+
'createdBy'?: UserEntity;
|
|
376
382
|
/**
|
|
377
383
|
* Notes attached with booking
|
|
378
384
|
* @type {string}
|
|
379
385
|
* @memberof BookingResponse
|
|
380
386
|
*/
|
|
381
|
-
'
|
|
387
|
+
'notes': string;
|
|
382
388
|
/**
|
|
383
389
|
* Occasion id
|
|
384
390
|
* @type {string}
|
|
@@ -415,6 +421,18 @@ export interface BookingResponse {
|
|
|
415
421
|
* @memberof BookingResponse
|
|
416
422
|
*/
|
|
417
423
|
'favorite'?: BusinessVenueDTO;
|
|
424
|
+
/**
|
|
425
|
+
* Booking Icon
|
|
426
|
+
* @type {string}
|
|
427
|
+
* @memberof BookingResponse
|
|
428
|
+
*/
|
|
429
|
+
'icon'?: string;
|
|
430
|
+
/**
|
|
431
|
+
* Status of the booking
|
|
432
|
+
* @type {string}
|
|
433
|
+
* @memberof BookingResponse
|
|
434
|
+
*/
|
|
435
|
+
'status': BookingResponseStatusEnum;
|
|
418
436
|
}
|
|
419
437
|
|
|
420
438
|
export const BookingResponseMethodEnum = {
|
|
@@ -424,6 +442,17 @@ export const BookingResponseMethodEnum = {
|
|
|
424
442
|
} as const;
|
|
425
443
|
|
|
426
444
|
export type BookingResponseMethodEnum = typeof BookingResponseMethodEnum[keyof typeof BookingResponseMethodEnum];
|
|
445
|
+
export const BookingResponseStatusEnum = {
|
|
446
|
+
CheckedIn: 'CHECKED_IN',
|
|
447
|
+
Confirmed: 'CONFIRMED',
|
|
448
|
+
Unconfirmed: 'UNCONFIRMED',
|
|
449
|
+
Rescheduled: 'RESCHEDULED',
|
|
450
|
+
NoShow: 'NO_SHOW',
|
|
451
|
+
Rejected: 'REJECTED',
|
|
452
|
+
Cancelled: 'CANCELLED'
|
|
453
|
+
} as const;
|
|
454
|
+
|
|
455
|
+
export type BookingResponseStatusEnum = typeof BookingResponseStatusEnum[keyof typeof BookingResponseStatusEnum];
|
|
427
456
|
|
|
428
457
|
/**
|
|
429
458
|
*
|
|
@@ -1451,6 +1480,12 @@ export interface CreateEventPayload {
|
|
|
1451
1480
|
* @memberof CreateEventPayload
|
|
1452
1481
|
*/
|
|
1453
1482
|
'customers': Array<CreateEventCustomerPayload>;
|
|
1483
|
+
/**
|
|
1484
|
+
*
|
|
1485
|
+
* @type {LocationDTO}
|
|
1486
|
+
* @memberof CreateEventPayload
|
|
1487
|
+
*/
|
|
1488
|
+
'location': LocationDTO;
|
|
1454
1489
|
}
|
|
1455
1490
|
/**
|
|
1456
1491
|
*
|