@gooday_corp/gooday-api-client 4.5.81 → 4.5.83

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 CHANGED
@@ -49,7 +49,11 @@ export interface AcceptBookingInvitePayload {
49
49
  /**
50
50
  * ID of the booking
51
51
  */
52
- 'bookingId': string;
52
+ 'bookingId'?: string;
53
+ /**
54
+ * ID of the rsvp
55
+ */
56
+ 'rsvpId'?: string;
53
57
  }
54
58
  export interface AcceptCollaborateInvitePayload {
55
59
  /**
@@ -3952,6 +3956,10 @@ export interface PromoCodeResponseDTO {
3952
3956
  * Discount ID
3953
3957
  */
3954
3958
  'message': string;
3959
+ /**
3960
+ * Discount
3961
+ */
3962
+ 'data': string;
3955
3963
  }
3956
3964
  export interface RSVPEvenPayloadDTO {
3957
3965
  /**
@@ -4025,6 +4033,7 @@ export interface RSVPEvenPayloadDTO {
4025
4033
  'collaboratorUsers'?: Array<CreateRSVPCollaboratorPayload>;
4026
4034
  'calendars'?: Array<string>;
4027
4035
  'theme'?: string;
4036
+ 'hideGuestCount'?: boolean;
4028
4037
  }
4029
4038
 
4030
4039
  export const RSVPEvenPayloadDTORepeatEnum = {
@@ -4133,6 +4142,7 @@ export interface RSVPEventEntity {
4133
4142
  */
4134
4143
  'collaborators'?: Array<CreateRSVPCollaboratorPayload>;
4135
4144
  'theme'?: string;
4145
+ 'hideGuestCount'?: boolean;
4136
4146
  }
4137
4147
 
4138
4148
  export const RSVPEventEntityRepeatEnum = {
@@ -4264,7 +4274,11 @@ export interface RejectBookingInvitePayload {
4264
4274
  /**
4265
4275
  * ID of the booking
4266
4276
  */
4267
- 'bookingId': string;
4277
+ 'bookingId'?: string;
4278
+ /**
4279
+ * ID of the rsvp
4280
+ */
4281
+ 'rsvpId'?: string;
4268
4282
  }
4269
4283
  export interface RejectCollaborateInvitePayload {
4270
4284
  /**
@@ -10010,11 +10024,10 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
10010
10024
  },
10011
10025
  /**
10012
10026
  *
10013
- * @param {string} [id] Unique identifier for the category
10014
10027
  * @param {*} [options] Override http request option.
10015
10028
  * @throws {RequiredError}
10016
10029
  */
10017
- businessTypeControllerListAllCategories: async (id?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
10030
+ businessTypeControllerListAllCategories: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
10018
10031
  const localVarPath = `/v1/business/categories`;
10019
10032
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
10020
10033
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -10031,10 +10044,6 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
10031
10044
  // http bearer authentication required
10032
10045
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
10033
10046
 
10034
- if (id !== undefined) {
10035
- localVarQueryParameter['id'] = id;
10036
- }
10037
-
10038
10047
  localVarHeaderParameter['Accept'] = 'application/json';
10039
10048
 
10040
10049
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -10631,12 +10640,11 @@ export const BusinessApiFp = function(configuration?: Configuration) {
10631
10640
  },
10632
10641
  /**
10633
10642
  *
10634
- * @param {string} [id] Unique identifier for the category
10635
10643
  * @param {*} [options] Override http request option.
10636
10644
  * @throws {RequiredError}
10637
10645
  */
10638
- async businessTypeControllerListAllCategories(id?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CategoryListResponse>> {
10639
- const localVarAxiosArgs = await localVarAxiosParamCreator.businessTypeControllerListAllCategories(id, options);
10646
+ async businessTypeControllerListAllCategories(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CategoryListResponse>> {
10647
+ const localVarAxiosArgs = await localVarAxiosParamCreator.businessTypeControllerListAllCategories(options);
10640
10648
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
10641
10649
  const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessTypeControllerListAllCategories']?.[localVarOperationServerIndex]?.url;
10642
10650
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -10962,12 +10970,11 @@ export const BusinessApiFactory = function (configuration?: Configuration, baseP
10962
10970
  },
10963
10971
  /**
10964
10972
  *
10965
- * @param {string} [id] Unique identifier for the category
10966
10973
  * @param {*} [options] Override http request option.
10967
10974
  * @throws {RequiredError}
10968
10975
  */
10969
- businessTypeControllerListAllCategories(id?: string, options?: RawAxiosRequestConfig): AxiosPromise<CategoryListResponse> {
10970
- return localVarFp.businessTypeControllerListAllCategories(id, options).then((request) => request(axios, basePath));
10976
+ businessTypeControllerListAllCategories(options?: RawAxiosRequestConfig): AxiosPromise<CategoryListResponse> {
10977
+ return localVarFp.businessTypeControllerListAllCategories(options).then((request) => request(axios, basePath));
10971
10978
  },
10972
10979
  /**
10973
10980
  *
@@ -11288,12 +11295,11 @@ export class BusinessApi extends BaseAPI {
11288
11295
 
11289
11296
  /**
11290
11297
  *
11291
- * @param {string} [id] Unique identifier for the category
11292
11298
  * @param {*} [options] Override http request option.
11293
11299
  * @throws {RequiredError}
11294
11300
  */
11295
- public businessTypeControllerListAllCategories(id?: string, options?: RawAxiosRequestConfig) {
11296
- return BusinessApiFp(this.configuration).businessTypeControllerListAllCategories(id, options).then((request) => request(this.axios, this.basePath));
11301
+ public businessTypeControllerListAllCategories(options?: RawAxiosRequestConfig) {
11302
+ return BusinessApiFp(this.configuration).businessTypeControllerListAllCategories(options).then((request) => request(this.axios, this.basePath));
11297
11303
  }
11298
11304
 
11299
11305
  /**
@@ -5,7 +5,8 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **bookingId** | **string** | ID of the booking | [default to undefined]
8
+ **bookingId** | **string** | ID of the booking | [optional] [default to undefined]
9
+ **rsvpId** | **string** | ID of the rsvp | [optional] [default to undefined]
9
10
 
10
11
  ## Example
11
12
 
@@ -14,6 +15,7 @@ import { AcceptBookingInvitePayload } from './api';
14
15
 
15
16
  const instance: AcceptBookingInvitePayload = {
16
17
  bookingId,
18
+ rsvpId,
17
19
  };
18
20
  ```
19
21
 
@@ -1256,18 +1256,11 @@ import {
1256
1256
  const configuration = new Configuration();
1257
1257
  const apiInstance = new BusinessApi(configuration);
1258
1258
 
1259
- let id: string; //Unique identifier for the category (optional) (default to undefined)
1260
-
1261
- const { status, data } = await apiInstance.businessTypeControllerListAllCategories(
1262
- id
1263
- );
1259
+ const { status, data } = await apiInstance.businessTypeControllerListAllCategories();
1264
1260
  ```
1265
1261
 
1266
1262
  ### Parameters
1267
-
1268
- |Name | Type | Description | Notes|
1269
- |------------- | ------------- | ------------- | -------------|
1270
- | **id** | [**string**] | Unique identifier for the category | (optional) defaults to undefined|
1263
+ This endpoint does not have any parameters.
1271
1264
 
1272
1265
 
1273
1266
  ### Return type
@@ -6,8 +6,8 @@
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
8
  **title** | **string** | The title of the booking | [default to 'Default Booking Title']
9
- **date** | **string** | The start date of the booking | [default to 2026-03-24T12:15:40Z]
10
- **recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2026-03-24T12:15:40Z]
9
+ **date** | **string** | The start date of the booking | [default to 2026-03-31T05:29:15Z]
10
+ **recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2026-03-31T05:29:15Z]
11
11
  **from** | **string** | | [optional] [default to undefined]
12
12
  **to** | **string** | | [optional] [default to undefined]
13
13
  **venue** | **string** | The venue of the booking | [default to undefined]
@@ -6,8 +6,8 @@
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
8
  **title** | **string** | The title of the booking | [default to 'Default Booking Title']
9
- **startDate** | **string** | The start date of the booking | [default to 2026-03-24T12:15:40Z]
10
- **endDate** | **string** | The start date of the booking | [default to 2026-03-24T12:15:40Z]
9
+ **startDate** | **string** | The start date of the booking | [default to 2026-03-31T05:29:15Z]
10
+ **endDate** | **string** | The start date of the booking | [default to 2026-03-31T05:29:15Z]
11
11
  **note** | **string** | Notes attached with booking | [optional] [default to undefined]
12
12
  **occasion** | **string** | Occasion id | [optional] [default to undefined]
13
13
  **calendar** | **Array&lt;string&gt;** | Calendar attached with booking | [optional] [default to undefined]
@@ -6,8 +6,8 @@
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
8
  **title** | **string** | The title of the booking | [default to 'Default Booking Title']
9
- **startDate** | **string** | The start date of the booking | [default to 2026-03-24T12:15:40Z]
10
- **endDate** | **string** | The start date of the booking | [default to 2026-03-24T12:15:40Z]
9
+ **startDate** | **string** | The start date of the booking | [default to 2026-03-31T05:29:15Z]
10
+ **endDate** | **string** | The start date of the booking | [default to 2026-03-31T05:29:15Z]
11
11
  **note** | **string** | Notes attached with booking | [optional] [default to undefined]
12
12
  **occasion** | **string** | Occasion id | [optional] [default to undefined]
13
13
  **calendar** | **Array&lt;string&gt;** | Calendar attached with booking | [optional] [default to undefined]
@@ -8,8 +8,8 @@ Name | Type | Description | Notes
8
8
  **whatsOnId** | **string** | Event ID | [optional] [default to undefined]
9
9
  **serviceId** | **string** | Service ID | [optional] [default to undefined]
10
10
  **rsvpId** | **string** | RSVP ID | [optional] [default to undefined]
11
- **startDate** | **string** | The start date of the booking | [optional] [default to 2026-03-24T12:15:38Z]
12
- **endDate** | **string** | The end date of the booking | [optional] [default to 2026-03-24T12:15:38Z]
11
+ **startDate** | **string** | The start date of the booking | [optional] [default to 2026-03-31T05:29:12Z]
12
+ **endDate** | **string** | The end date of the booking | [optional] [default to 2026-03-31T05:29:12Z]
13
13
  **discountId** | **string** | Discount ID | [optional] [default to undefined]
14
14
  **selectedStaff** | **string** | Staff ID | [optional] [default to undefined]
15
15
  **quantity** | **number** | | [optional] [default to 0]
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
8
  **statusCode** | **number** | statusCode | [default to undefined]
9
9
  **message** | **string** | Discount ID | [default to undefined]
10
+ **data** | **string** | Discount | [default to undefined]
10
11
 
11
12
  ## Example
12
13
 
@@ -16,6 +17,7 @@ import { PromoCodeResponseDTO } from './api';
16
17
  const instance: PromoCodeResponseDTO = {
17
18
  statusCode,
18
19
  message,
20
+ data,
19
21
  };
20
22
  ```
21
23
 
@@ -40,6 +40,7 @@ Name | Type | Description | Notes
40
40
  **collaboratorUsers** | [**Array&lt;CreateRSVPCollaboratorPayload&gt;**](CreateRSVPCollaboratorPayload.md) | The list of collaborators associated with the booking | [optional] [default to undefined]
41
41
  **calendars** | **Array&lt;string&gt;** | | [optional] [default to undefined]
42
42
  **theme** | **string** | | [optional] [default to undefined]
43
+ **hideGuestCount** | **boolean** | | [optional] [default to undefined]
43
44
 
44
45
  ## Example
45
46
 
@@ -82,6 +83,7 @@ const instance: RSVPEvenPayloadDTO = {
82
83
  collaboratorUsers,
83
84
  calendars,
84
85
  theme,
86
+ hideGuestCount,
85
87
  };
86
88
  ```
87
89
 
@@ -42,6 +42,7 @@ Name | Type | Description | Notes
42
42
  **calendar** | **boolean** | | [optional] [default to undefined]
43
43
  **collaborators** | [**Array&lt;CreateRSVPCollaboratorPayload&gt;**](CreateRSVPCollaboratorPayload.md) | The list of collaborators associated with the booking | [optional] [default to undefined]
44
44
  **theme** | **string** | | [optional] [default to undefined]
45
+ **hideGuestCount** | **boolean** | | [optional] [default to undefined]
45
46
 
46
47
  ## Example
47
48
 
@@ -86,6 +87,7 @@ const instance: RSVPEventEntity = {
86
87
  calendar,
87
88
  collaborators,
88
89
  theme,
90
+ hideGuestCount,
89
91
  };
90
92
  ```
91
93
 
@@ -5,7 +5,8 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **bookingId** | **string** | ID of the booking | [default to undefined]
8
+ **bookingId** | **string** | ID of the booking | [optional] [default to undefined]
9
+ **rsvpId** | **string** | ID of the rsvp | [optional] [default to undefined]
9
10
 
10
11
  ## Example
11
12
 
@@ -14,6 +15,7 @@ import { RejectBookingInvitePayload } from './api';
14
15
 
15
16
  const instance: RejectBookingInvitePayload = {
16
17
  bookingId,
18
+ rsvpId,
17
19
  };
18
20
  ```
19
21
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **date** | **string** | The start date of the booking | [default to 2026-03-24T12:15:40Z]
8
+ **date** | **string** | The start date of the booking | [default to 2026-03-31T05:29:15Z]
9
9
  **from** | **string** | | [optional] [default to undefined]
10
10
  **to** | **string** | | [optional] [default to undefined]
11
11
  **notes** | **string** | | [optional] [default to undefined]
@@ -5,8 +5,8 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **startDate** | **string** | The start date of the waitlist | [default to 2026-03-24T12:15:40Z]
9
- **endDate** | **string** | The end date of the waitlist | [default to 2026-03-24T13:15:40Z]
8
+ **startDate** | **string** | The start date of the waitlist | [default to 2026-03-31T05:29:15Z]
9
+ **endDate** | **string** | The end date of the waitlist | [default to 2026-03-31T06:29:15Z]
10
10
  **venue** | **string** | The venue of the waitlist | [default to undefined]
11
11
  **business** | **string** | The business associated with the waitlist | [default to undefined]
12
12
  **collaborators** | [**Array&lt;CreateWaitlistBookingCollaboratorPayload&gt;**](CreateWaitlistBookingCollaboratorPayload.md) | The list of collaborators associated with the waitlist | [default to undefined]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gooday_corp/gooday-api-client",
3
- "version": "4.5.81",
3
+ "version": "4.5.83",
4
4
  "description": "API client for Gooday",
5
5
  "main": "index.ts",
6
6
  "scripts": {},