@gooday_corp/gooday-api-client 4.5.26 → 4.5.28
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/.openapi-generator/FILES +1 -0
- package/api.ts +75 -0
- package/docs/CreateBookingPayload.md +2 -2
- package/docs/CreateRSVPEventBookingPayload.md +2 -2
- package/docs/CreateWalkInBookingPayload.md +2 -2
- package/docs/DeleteUsersResponseDTO.md +22 -0
- package/docs/PaymentDetailsPayload.md +2 -2
- package/docs/RescheduleBookingPayload.md +1 -1
- package/docs/UsersApi.md +51 -0
- package/docs/WaitlistPayloadDTO.md +2 -2
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -145,6 +145,7 @@ docs/CustomerResponseDTO.md
|
|
|
145
145
|
docs/DeclineFriendshipRequestPayload.md
|
|
146
146
|
docs/DeleteCalendarInvitation.md
|
|
147
147
|
docs/DeleteCalendarInvitationResponseDTO.md
|
|
148
|
+
docs/DeleteUsersResponseDTO.md
|
|
148
149
|
docs/DeviceAddResponse.md
|
|
149
150
|
docs/DeviceApi.md
|
|
150
151
|
docs/DeviceEntity.md
|
package/api.ts
CHANGED
|
@@ -2248,6 +2248,13 @@ export interface DeleteCalendarInvitationResponseDTO {
|
|
|
2248
2248
|
'statusCode': number;
|
|
2249
2249
|
'data': boolean;
|
|
2250
2250
|
}
|
|
2251
|
+
export interface DeleteUsersResponseDTO {
|
|
2252
|
+
/**
|
|
2253
|
+
* statusCode
|
|
2254
|
+
*/
|
|
2255
|
+
'statusCode': number;
|
|
2256
|
+
'data'?: boolean;
|
|
2257
|
+
}
|
|
2251
2258
|
export interface DeviceAddResponse {
|
|
2252
2259
|
/**
|
|
2253
2260
|
* Status code of the response
|
|
@@ -21180,6 +21187,43 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
21180
21187
|
options: localVarRequestOptions,
|
|
21181
21188
|
};
|
|
21182
21189
|
},
|
|
21190
|
+
/**
|
|
21191
|
+
*
|
|
21192
|
+
* @param {string} id
|
|
21193
|
+
* @param {*} [options] Override http request option.
|
|
21194
|
+
* @throws {RequiredError}
|
|
21195
|
+
*/
|
|
21196
|
+
usersControllerBusineesAccountDelete: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
21197
|
+
// verify required parameter 'id' is not null or undefined
|
|
21198
|
+
assertParamExists('usersControllerBusineesAccountDelete', 'id', id)
|
|
21199
|
+
const localVarPath = `/v1/user/delete/business/{id}`
|
|
21200
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
21201
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
21202
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
21203
|
+
let baseOptions;
|
|
21204
|
+
if (configuration) {
|
|
21205
|
+
baseOptions = configuration.baseOptions;
|
|
21206
|
+
}
|
|
21207
|
+
|
|
21208
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
21209
|
+
const localVarHeaderParameter = {} as any;
|
|
21210
|
+
const localVarQueryParameter = {} as any;
|
|
21211
|
+
|
|
21212
|
+
// authentication bearer required
|
|
21213
|
+
// http bearer authentication required
|
|
21214
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
21215
|
+
|
|
21216
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
21217
|
+
|
|
21218
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
21219
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
21220
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
21221
|
+
|
|
21222
|
+
return {
|
|
21223
|
+
url: toPathString(localVarUrlObj),
|
|
21224
|
+
options: localVarRequestOptions,
|
|
21225
|
+
};
|
|
21226
|
+
},
|
|
21183
21227
|
/**
|
|
21184
21228
|
*
|
|
21185
21229
|
* @param {*} [options] Override http request option.
|
|
@@ -21660,6 +21704,18 @@ export const UsersApiFp = function(configuration?: Configuration) {
|
|
|
21660
21704
|
const localVarOperationServerBasePath = operationServerMap['UsersApi.usersControllerAddToWaitingList']?.[localVarOperationServerIndex]?.url;
|
|
21661
21705
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
21662
21706
|
},
|
|
21707
|
+
/**
|
|
21708
|
+
*
|
|
21709
|
+
* @param {string} id
|
|
21710
|
+
* @param {*} [options] Override http request option.
|
|
21711
|
+
* @throws {RequiredError}
|
|
21712
|
+
*/
|
|
21713
|
+
async usersControllerBusineesAccountDelete(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteUsersResponseDTO>> {
|
|
21714
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.usersControllerBusineesAccountDelete(id, options);
|
|
21715
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
21716
|
+
const localVarOperationServerBasePath = operationServerMap['UsersApi.usersControllerBusineesAccountDelete']?.[localVarOperationServerIndex]?.url;
|
|
21717
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
21718
|
+
},
|
|
21663
21719
|
/**
|
|
21664
21720
|
*
|
|
21665
21721
|
* @param {*} [options] Override http request option.
|
|
@@ -21828,6 +21884,15 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
|
|
|
21828
21884
|
usersControllerAddToWaitingList(userWaitingListPayloadDTO: UserWaitingListPayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<UserWaitingListResponseDTO> {
|
|
21829
21885
|
return localVarFp.usersControllerAddToWaitingList(userWaitingListPayloadDTO, options).then((request) => request(axios, basePath));
|
|
21830
21886
|
},
|
|
21887
|
+
/**
|
|
21888
|
+
*
|
|
21889
|
+
* @param {string} id
|
|
21890
|
+
* @param {*} [options] Override http request option.
|
|
21891
|
+
* @throws {RequiredError}
|
|
21892
|
+
*/
|
|
21893
|
+
usersControllerBusineesAccountDelete(id: string, options?: RawAxiosRequestConfig): AxiosPromise<DeleteUsersResponseDTO> {
|
|
21894
|
+
return localVarFp.usersControllerBusineesAccountDelete(id, options).then((request) => request(axios, basePath));
|
|
21895
|
+
},
|
|
21831
21896
|
/**
|
|
21832
21897
|
*
|
|
21833
21898
|
* @param {*} [options] Override http request option.
|
|
@@ -21960,6 +22025,16 @@ export class UsersApi extends BaseAPI {
|
|
|
21960
22025
|
return UsersApiFp(this.configuration).usersControllerAddToWaitingList(userWaitingListPayloadDTO, options).then((request) => request(this.axios, this.basePath));
|
|
21961
22026
|
}
|
|
21962
22027
|
|
|
22028
|
+
/**
|
|
22029
|
+
*
|
|
22030
|
+
* @param {string} id
|
|
22031
|
+
* @param {*} [options] Override http request option.
|
|
22032
|
+
* @throws {RequiredError}
|
|
22033
|
+
*/
|
|
22034
|
+
public usersControllerBusineesAccountDelete(id: string, options?: RawAxiosRequestConfig) {
|
|
22035
|
+
return UsersApiFp(this.configuration).usersControllerBusineesAccountDelete(id, options).then((request) => request(this.axios, this.basePath));
|
|
22036
|
+
}
|
|
22037
|
+
|
|
21963
22038
|
/**
|
|
21964
22039
|
*
|
|
21965
22040
|
* @param {*} [options] Override http request option.
|
|
@@ -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
|
|
10
|
-
**recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to
|
|
9
|
+
**date** | **string** | The start date of the booking | [default to 2026-01-05T10:19:25Z]
|
|
10
|
+
**recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2026-01-05T10:19:25Z]
|
|
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
|
|
10
|
-
**endDate** | **string** | The start date of the booking | [default to
|
|
9
|
+
**startDate** | **string** | The start date of the booking | [default to 2026-01-05T10:19:25Z]
|
|
10
|
+
**endDate** | **string** | The start date of the booking | [default to 2026-01-05T10:19:25Z]
|
|
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<string>** | 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
|
|
10
|
-
**endDate** | **string** | The start date of the booking | [default to
|
|
9
|
+
**startDate** | **string** | The start date of the booking | [default to 2026-01-05T10:19:25Z]
|
|
10
|
+
**endDate** | **string** | The start date of the booking | [default to 2026-01-05T10:19:25Z]
|
|
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<string>** | Calendar attached with booking | [optional] [default to undefined]
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# DeleteUsersResponseDTO
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**statusCode** | **number** | statusCode | [default to undefined]
|
|
9
|
+
**data** | **boolean** | | [optional] [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { DeleteUsersResponseDTO } from './api';
|
|
15
|
+
|
|
16
|
+
const instance: DeleteUsersResponseDTO = {
|
|
17
|
+
statusCode,
|
|
18
|
+
data,
|
|
19
|
+
};
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -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
|
|
12
|
-
**endDate** | **string** | The end date of the booking | [optional] [default to
|
|
11
|
+
**startDate** | **string** | The start date of the booking | [optional] [default to 2026-01-05T10:19:23Z]
|
|
12
|
+
**endDate** | **string** | The end date of the booking | [optional] [default to 2026-01-05T10:19:23Z]
|
|
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]
|
|
@@ -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
|
|
8
|
+
**date** | **string** | The start date of the booking | [default to 2026-01-05T10:19:25Z]
|
|
9
9
|
**from** | **string** | | [optional] [default to undefined]
|
|
10
10
|
**to** | **string** | | [optional] [default to undefined]
|
|
11
11
|
**notes** | **string** | | [optional] [default to undefined]
|
package/docs/UsersApi.md
CHANGED
|
@@ -6,6 +6,7 @@ All URIs are relative to *http://localhost:8080*
|
|
|
6
6
|
|------------- | ------------- | -------------|
|
|
7
7
|
|[**usersControllerAccountDelete**](#userscontrolleraccountdelete) | **DELETE** /v1/user/delete | |
|
|
8
8
|
|[**usersControllerAddToWaitingList**](#userscontrolleraddtowaitinglist) | **POST** /v1/user/joining-list | |
|
|
9
|
+
|[**usersControllerBusineesAccountDelete**](#userscontrollerbusineesaccountdelete) | **DELETE** /v1/user/delete/business/{id} | |
|
|
9
10
|
|[**usersControllerDeactivateAccount**](#userscontrollerdeactivateaccount) | **DELETE** /v1/user/deactivate | |
|
|
10
11
|
|[**usersControllerFindFriendConfirmedVenueList**](#userscontrollerfindfriendconfirmedvenuelist) | **GET** /v1/user/venue/favorites/user | |
|
|
11
12
|
|[**usersControllerFindUsers**](#userscontrollerfindusers) | **GET** /v1/user/users | |
|
|
@@ -106,6 +107,56 @@ const { status, data } = await apiInstance.usersControllerAddToWaitingList(
|
|
|
106
107
|
- **Accept**: application/json
|
|
107
108
|
|
|
108
109
|
|
|
110
|
+
### HTTP response details
|
|
111
|
+
| Status code | Description | Response headers |
|
|
112
|
+
|-------------|-------------|------------------|
|
|
113
|
+
|**200** | | - |
|
|
114
|
+
|
|
115
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
116
|
+
|
|
117
|
+
# **usersControllerBusineesAccountDelete**
|
|
118
|
+
> DeleteUsersResponseDTO usersControllerBusineesAccountDelete()
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
### Example
|
|
122
|
+
|
|
123
|
+
```typescript
|
|
124
|
+
import {
|
|
125
|
+
UsersApi,
|
|
126
|
+
Configuration
|
|
127
|
+
} from './api';
|
|
128
|
+
|
|
129
|
+
const configuration = new Configuration();
|
|
130
|
+
const apiInstance = new UsersApi(configuration);
|
|
131
|
+
|
|
132
|
+
let id: string; // (default to undefined)
|
|
133
|
+
|
|
134
|
+
const { status, data } = await apiInstance.usersControllerBusineesAccountDelete(
|
|
135
|
+
id
|
|
136
|
+
);
|
|
137
|
+
```
|
|
138
|
+
|
|
139
|
+
### Parameters
|
|
140
|
+
|
|
141
|
+
|Name | Type | Description | Notes|
|
|
142
|
+
|------------- | ------------- | ------------- | -------------|
|
|
143
|
+
| **id** | [**string**] | | defaults to undefined|
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
### Return type
|
|
147
|
+
|
|
148
|
+
**DeleteUsersResponseDTO**
|
|
149
|
+
|
|
150
|
+
### Authorization
|
|
151
|
+
|
|
152
|
+
[bearer](../README.md#bearer)
|
|
153
|
+
|
|
154
|
+
### HTTP request headers
|
|
155
|
+
|
|
156
|
+
- **Content-Type**: Not defined
|
|
157
|
+
- **Accept**: application/json
|
|
158
|
+
|
|
159
|
+
|
|
109
160
|
### HTTP response details
|
|
110
161
|
| Status code | Description | Response headers |
|
|
111
162
|
|-------------|-------------|------------------|
|
|
@@ -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
|
|
9
|
-
**endDate** | **string** | The end date of the waitlist | [default to
|
|
8
|
+
**startDate** | **string** | The start date of the waitlist | [default to 2026-01-05T10:19:25Z]
|
|
9
|
+
**endDate** | **string** | The end date of the waitlist | [default to 2026-01-05T11:19:25Z]
|
|
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<CreateWaitlistBookingCollaboratorPayload>**](CreateWaitlistBookingCollaboratorPayload.md) | The list of collaborators associated with the waitlist | [default to undefined]
|