@gooday_corp/gooday-api-client 1.3.96 → 1.3.98
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 +62 -0
- package/docs/CreateBookingPayload.md +1 -1
- package/docs/RescheduleBookingPayload.md +1 -1
- package/docs/UsersApi.md +44 -0
- package/docs/WaitlistPayloadDTO.md +2 -2
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -23186,6 +23186,39 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
23186
23186
|
|
|
23187
23187
|
|
|
23188
23188
|
|
|
23189
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
23190
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23191
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
23192
|
+
|
|
23193
|
+
return {
|
|
23194
|
+
url: toPathString(localVarUrlObj),
|
|
23195
|
+
options: localVarRequestOptions,
|
|
23196
|
+
};
|
|
23197
|
+
},
|
|
23198
|
+
/**
|
|
23199
|
+
*
|
|
23200
|
+
* @param {*} [options] Override http request option.
|
|
23201
|
+
* @throws {RequiredError}
|
|
23202
|
+
*/
|
|
23203
|
+
usersControllerUserEmailVerification: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
23204
|
+
const localVarPath = `/v1/user/email-verification`;
|
|
23205
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23206
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
23207
|
+
let baseOptions;
|
|
23208
|
+
if (configuration) {
|
|
23209
|
+
baseOptions = configuration.baseOptions;
|
|
23210
|
+
}
|
|
23211
|
+
|
|
23212
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
23213
|
+
const localVarHeaderParameter = {} as any;
|
|
23214
|
+
const localVarQueryParameter = {} as any;
|
|
23215
|
+
|
|
23216
|
+
// authentication bearer required
|
|
23217
|
+
// http bearer authentication required
|
|
23218
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
23219
|
+
|
|
23220
|
+
|
|
23221
|
+
|
|
23189
23222
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
23190
23223
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23191
23224
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -23360,6 +23393,17 @@ export const UsersApiFp = function(configuration?: Configuration) {
|
|
|
23360
23393
|
const localVarOperationServerBasePath = operationServerMap['UsersApi.usersControllerUserActivity']?.[localVarOperationServerIndex]?.url;
|
|
23361
23394
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
23362
23395
|
},
|
|
23396
|
+
/**
|
|
23397
|
+
*
|
|
23398
|
+
* @param {*} [options] Override http request option.
|
|
23399
|
+
* @throws {RequiredError}
|
|
23400
|
+
*/
|
|
23401
|
+
async usersControllerUserEmailVerification(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserMeDTO>> {
|
|
23402
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.usersControllerUserEmailVerification(options);
|
|
23403
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
23404
|
+
const localVarOperationServerBasePath = operationServerMap['UsersApi.usersControllerUserEmailVerification']?.[localVarOperationServerIndex]?.url;
|
|
23405
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
23406
|
+
},
|
|
23363
23407
|
/**
|
|
23364
23408
|
*
|
|
23365
23409
|
* @param {UserHangout} userHangout
|
|
@@ -23468,6 +23512,14 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
|
|
|
23468
23512
|
usersControllerUserActivity(id: string, options?: RawAxiosRequestConfig): AxiosPromise<ActivityDTO> {
|
|
23469
23513
|
return localVarFp.usersControllerUserActivity(id, options).then((request) => request(axios, basePath));
|
|
23470
23514
|
},
|
|
23515
|
+
/**
|
|
23516
|
+
*
|
|
23517
|
+
* @param {*} [options] Override http request option.
|
|
23518
|
+
* @throws {RequiredError}
|
|
23519
|
+
*/
|
|
23520
|
+
usersControllerUserEmailVerification(options?: RawAxiosRequestConfig): AxiosPromise<UserMeDTO> {
|
|
23521
|
+
return localVarFp.usersControllerUserEmailVerification(options).then((request) => request(axios, basePath));
|
|
23522
|
+
},
|
|
23471
23523
|
/**
|
|
23472
23524
|
*
|
|
23473
23525
|
* @param {UserHangout} userHangout
|
|
@@ -23593,6 +23645,16 @@ export class UsersApi extends BaseAPI {
|
|
|
23593
23645
|
return UsersApiFp(this.configuration).usersControllerUserActivity(id, options).then((request) => request(this.axios, this.basePath));
|
|
23594
23646
|
}
|
|
23595
23647
|
|
|
23648
|
+
/**
|
|
23649
|
+
*
|
|
23650
|
+
* @param {*} [options] Override http request option.
|
|
23651
|
+
* @throws {RequiredError}
|
|
23652
|
+
* @memberof UsersApi
|
|
23653
|
+
*/
|
|
23654
|
+
public usersControllerUserEmailVerification(options?: RawAxiosRequestConfig) {
|
|
23655
|
+
return UsersApiFp(this.configuration).usersControllerUserEmailVerification(options).then((request) => request(this.axios, this.basePath));
|
|
23656
|
+
}
|
|
23657
|
+
|
|
23596
23658
|
/**
|
|
23597
23659
|
*
|
|
23598
23660
|
* @param {UserHangout} userHangout
|
|
@@ -6,7 +6,7 @@
|
|
|
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 2025-06-
|
|
9
|
+
**date** | **string** | The start date of the booking | [default to 2025-06-09T08:39:38Z]
|
|
10
10
|
**from** | **string** | | [optional] [default to undefined]
|
|
11
11
|
**to** | **string** | | [optional] [default to undefined]
|
|
12
12
|
**venue** | **string** | The venue of the booking | [default to undefined]
|
|
@@ -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 2025-06-
|
|
8
|
+
**date** | **string** | The start date of the booking | [default to 2025-06-09T08:39:38Z]
|
|
9
9
|
**from** | **string** | | [optional] [default to undefined]
|
|
10
10
|
**to** | **string** | | [optional] [default to undefined]
|
|
11
11
|
|
package/docs/UsersApi.md
CHANGED
|
@@ -14,6 +14,7 @@ All URIs are relative to *http://localhost:8080*
|
|
|
14
14
|
|[**usersControllerSyncUserInfo**](#userscontrollersyncuserinfo) | **POST** /v1/user/sync-info | |
|
|
15
15
|
|[**usersControllerSyncUserPermissions**](#userscontrollersyncuserpermissions) | **PUT** /v1/user/permissions | |
|
|
16
16
|
|[**usersControllerUserActivity**](#userscontrolleruseractivity) | **GET** /v1/user/analytics/activity | |
|
|
17
|
+
|[**usersControllerUserEmailVerification**](#userscontrolleruseremailverification) | **GET** /v1/user/email-verification | |
|
|
17
18
|
|[**usersControllerUserHangout**](#userscontrolleruserhangout) | **PUT** /v1/user/hangout | |
|
|
18
19
|
|
|
19
20
|
# **usersControllerAccountDelete**
|
|
@@ -489,6 +490,49 @@ No authorization required
|
|
|
489
490
|
- **Accept**: application/json
|
|
490
491
|
|
|
491
492
|
|
|
493
|
+
### HTTP response details
|
|
494
|
+
| Status code | Description | Response headers |
|
|
495
|
+
|-------------|-------------|------------------|
|
|
496
|
+
|**200** | | - |
|
|
497
|
+
|
|
498
|
+
[[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)
|
|
499
|
+
|
|
500
|
+
# **usersControllerUserEmailVerification**
|
|
501
|
+
> UserMeDTO usersControllerUserEmailVerification()
|
|
502
|
+
|
|
503
|
+
|
|
504
|
+
### Example
|
|
505
|
+
|
|
506
|
+
```typescript
|
|
507
|
+
import {
|
|
508
|
+
UsersApi,
|
|
509
|
+
Configuration
|
|
510
|
+
} from './api';
|
|
511
|
+
|
|
512
|
+
const configuration = new Configuration();
|
|
513
|
+
const apiInstance = new UsersApi(configuration);
|
|
514
|
+
|
|
515
|
+
const { status, data } = await apiInstance.usersControllerUserEmailVerification();
|
|
516
|
+
```
|
|
517
|
+
|
|
518
|
+
### Parameters
|
|
519
|
+
This endpoint does not have any parameters.
|
|
520
|
+
|
|
521
|
+
|
|
522
|
+
### Return type
|
|
523
|
+
|
|
524
|
+
**UserMeDTO**
|
|
525
|
+
|
|
526
|
+
### Authorization
|
|
527
|
+
|
|
528
|
+
[bearer](../README.md#bearer)
|
|
529
|
+
|
|
530
|
+
### HTTP request headers
|
|
531
|
+
|
|
532
|
+
- **Content-Type**: Not defined
|
|
533
|
+
- **Accept**: application/json
|
|
534
|
+
|
|
535
|
+
|
|
492
536
|
### HTTP response details
|
|
493
537
|
| Status code | Description | Response headers |
|
|
494
538
|
|-------------|-------------|------------------|
|
|
@@ -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 2025-06-
|
|
9
|
-
**endDate** | **string** | The end date of the waitlist | [default to 2025-06-
|
|
8
|
+
**startDate** | **string** | The start date of the waitlist | [default to 2025-06-09T08:39:38Z]
|
|
9
|
+
**endDate** | **string** | The end date of the waitlist | [default to 2025-06-09T09:39:38Z]
|
|
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]
|