@gooday_corp/gooday-api-client 4.4.10 → 4.4.12
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 +4 -0
- package/.openapi-generator/VERSION +1 -1
- package/api.ts +210 -0
- package/common.ts +1 -1
- package/configuration.ts +24 -1
- package/docs/ChannelCreatePayload.md +20 -0
- package/docs/ChatMessagingApi.md +59 -0
- package/docs/ChatResponseDTO.md +22 -0
- package/docs/CreateBookingPayload.md +2 -2
- package/docs/CreateWalkInBookingPayload.md +2 -2
- package/docs/FindUsersResponseDTO.md +22 -0
- package/docs/RescheduleBookingPayload.md +1 -1
- package/docs/UserEntity.md +2 -0
- package/docs/UsersApi.md +57 -0
- package/docs/WaitlistPayloadDTO.md +2 -2
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -110,6 +110,9 @@ docs/CancelBookingDTO.md
|
|
|
110
110
|
docs/CancelBookingResponseDTO.md
|
|
111
111
|
docs/CategoryEntity.md
|
|
112
112
|
docs/CategoryListResponse.md
|
|
113
|
+
docs/ChannelCreatePayload.md
|
|
114
|
+
docs/ChatMessagingApi.md
|
|
115
|
+
docs/ChatResponseDTO.md
|
|
113
116
|
docs/ContactDTO.md
|
|
114
117
|
docs/ContactResponseDTO.md
|
|
115
118
|
docs/ContactStatusResponseDTO.md
|
|
@@ -164,6 +167,7 @@ docs/FindCustomerBookingPayload.md
|
|
|
164
167
|
docs/FindFriendsFavoritesDTO.md
|
|
165
168
|
docs/FindHistoryResponseDTO.md
|
|
166
169
|
docs/FindMyFriendRequestPayload.md
|
|
170
|
+
docs/FindUsersResponseDTO.md
|
|
167
171
|
docs/FindWaitlistResponse.md
|
|
168
172
|
docs/FindWaitlistResponseDTO.md
|
|
169
173
|
docs/FindWhatsOnAndPrepaidService.md
|
|
@@ -1 +1 @@
|
|
|
1
|
-
7.
|
|
1
|
+
7.17.0
|
package/api.ts
CHANGED
|
@@ -1678,6 +1678,16 @@ export interface CategoryListResponse {
|
|
|
1678
1678
|
*/
|
|
1679
1679
|
'data': Array<CategoryEntity>;
|
|
1680
1680
|
}
|
|
1681
|
+
export interface ChannelCreatePayload {
|
|
1682
|
+
'userId': string;
|
|
1683
|
+
}
|
|
1684
|
+
export interface ChatResponseDTO {
|
|
1685
|
+
/**
|
|
1686
|
+
* statusCode
|
|
1687
|
+
*/
|
|
1688
|
+
'statusCode': number;
|
|
1689
|
+
'success': boolean;
|
|
1690
|
+
}
|
|
1681
1691
|
export interface ContactDTO {
|
|
1682
1692
|
/**
|
|
1683
1693
|
* statusCode
|
|
@@ -2484,6 +2494,13 @@ export interface FindMyFriendRequestPayload {
|
|
|
2484
2494
|
'user'?: string;
|
|
2485
2495
|
'mutual'?: boolean;
|
|
2486
2496
|
}
|
|
2497
|
+
export interface FindUsersResponseDTO {
|
|
2498
|
+
/**
|
|
2499
|
+
* statusCode
|
|
2500
|
+
*/
|
|
2501
|
+
'statusCode': number;
|
|
2502
|
+
'data'?: Array<UserEntity>;
|
|
2503
|
+
}
|
|
2487
2504
|
export interface FindWaitlistResponse {
|
|
2488
2505
|
'count': number;
|
|
2489
2506
|
/**
|
|
@@ -4437,6 +4454,7 @@ export interface UserEntity {
|
|
|
4437
4454
|
*/
|
|
4438
4455
|
'isContactShow': boolean;
|
|
4439
4456
|
'timezone'?: string;
|
|
4457
|
+
'chatToken'?: string;
|
|
4440
4458
|
}
|
|
4441
4459
|
|
|
4442
4460
|
export const UserEntityRoleEnum = {
|
|
@@ -11592,6 +11610,109 @@ export class CalendarApi extends BaseAPI {
|
|
|
11592
11610
|
|
|
11593
11611
|
|
|
11594
11612
|
|
|
11613
|
+
/**
|
|
11614
|
+
* ChatMessagingApi - axios parameter creator
|
|
11615
|
+
*/
|
|
11616
|
+
export const ChatMessagingApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
11617
|
+
return {
|
|
11618
|
+
/**
|
|
11619
|
+
*
|
|
11620
|
+
* @param {ChannelCreatePayload} channelCreatePayload
|
|
11621
|
+
* @param {*} [options] Override http request option.
|
|
11622
|
+
* @throws {RequiredError}
|
|
11623
|
+
*/
|
|
11624
|
+
chatControllerChannelCreate: async (channelCreatePayload: ChannelCreatePayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11625
|
+
// verify required parameter 'channelCreatePayload' is not null or undefined
|
|
11626
|
+
assertParamExists('chatControllerChannelCreate', 'channelCreatePayload', channelCreatePayload)
|
|
11627
|
+
const localVarPath = `/v1/chat-messaging`;
|
|
11628
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11629
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11630
|
+
let baseOptions;
|
|
11631
|
+
if (configuration) {
|
|
11632
|
+
baseOptions = configuration.baseOptions;
|
|
11633
|
+
}
|
|
11634
|
+
|
|
11635
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
11636
|
+
const localVarHeaderParameter = {} as any;
|
|
11637
|
+
const localVarQueryParameter = {} as any;
|
|
11638
|
+
|
|
11639
|
+
// authentication bearer required
|
|
11640
|
+
// http bearer authentication required
|
|
11641
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
11642
|
+
|
|
11643
|
+
|
|
11644
|
+
|
|
11645
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
11646
|
+
|
|
11647
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11648
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11649
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
11650
|
+
localVarRequestOptions.data = serializeDataIfNeeded(channelCreatePayload, localVarRequestOptions, configuration)
|
|
11651
|
+
|
|
11652
|
+
return {
|
|
11653
|
+
url: toPathString(localVarUrlObj),
|
|
11654
|
+
options: localVarRequestOptions,
|
|
11655
|
+
};
|
|
11656
|
+
},
|
|
11657
|
+
}
|
|
11658
|
+
};
|
|
11659
|
+
|
|
11660
|
+
/**
|
|
11661
|
+
* ChatMessagingApi - functional programming interface
|
|
11662
|
+
*/
|
|
11663
|
+
export const ChatMessagingApiFp = function(configuration?: Configuration) {
|
|
11664
|
+
const localVarAxiosParamCreator = ChatMessagingApiAxiosParamCreator(configuration)
|
|
11665
|
+
return {
|
|
11666
|
+
/**
|
|
11667
|
+
*
|
|
11668
|
+
* @param {ChannelCreatePayload} channelCreatePayload
|
|
11669
|
+
* @param {*} [options] Override http request option.
|
|
11670
|
+
* @throws {RequiredError}
|
|
11671
|
+
*/
|
|
11672
|
+
async chatControllerChannelCreate(channelCreatePayload: ChannelCreatePayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ChatResponseDTO>> {
|
|
11673
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.chatControllerChannelCreate(channelCreatePayload, options);
|
|
11674
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
11675
|
+
const localVarOperationServerBasePath = operationServerMap['ChatMessagingApi.chatControllerChannelCreate']?.[localVarOperationServerIndex]?.url;
|
|
11676
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11677
|
+
},
|
|
11678
|
+
}
|
|
11679
|
+
};
|
|
11680
|
+
|
|
11681
|
+
/**
|
|
11682
|
+
* ChatMessagingApi - factory interface
|
|
11683
|
+
*/
|
|
11684
|
+
export const ChatMessagingApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
11685
|
+
const localVarFp = ChatMessagingApiFp(configuration)
|
|
11686
|
+
return {
|
|
11687
|
+
/**
|
|
11688
|
+
*
|
|
11689
|
+
* @param {ChannelCreatePayload} channelCreatePayload
|
|
11690
|
+
* @param {*} [options] Override http request option.
|
|
11691
|
+
* @throws {RequiredError}
|
|
11692
|
+
*/
|
|
11693
|
+
chatControllerChannelCreate(channelCreatePayload: ChannelCreatePayload, options?: RawAxiosRequestConfig): AxiosPromise<ChatResponseDTO> {
|
|
11694
|
+
return localVarFp.chatControllerChannelCreate(channelCreatePayload, options).then((request) => request(axios, basePath));
|
|
11695
|
+
},
|
|
11696
|
+
};
|
|
11697
|
+
};
|
|
11698
|
+
|
|
11699
|
+
/**
|
|
11700
|
+
* ChatMessagingApi - object-oriented interface
|
|
11701
|
+
*/
|
|
11702
|
+
export class ChatMessagingApi extends BaseAPI {
|
|
11703
|
+
/**
|
|
11704
|
+
*
|
|
11705
|
+
* @param {ChannelCreatePayload} channelCreatePayload
|
|
11706
|
+
* @param {*} [options] Override http request option.
|
|
11707
|
+
* @throws {RequiredError}
|
|
11708
|
+
*/
|
|
11709
|
+
public chatControllerChannelCreate(channelCreatePayload: ChannelCreatePayload, options?: RawAxiosRequestConfig) {
|
|
11710
|
+
return ChatMessagingApiFp(this.configuration).chatControllerChannelCreate(channelCreatePayload, options).then((request) => request(this.axios, this.basePath));
|
|
11711
|
+
}
|
|
11712
|
+
}
|
|
11713
|
+
|
|
11714
|
+
|
|
11715
|
+
|
|
11595
11716
|
/**
|
|
11596
11717
|
* ContactsApi - axios parameter creator
|
|
11597
11718
|
*/
|
|
@@ -19602,6 +19723,58 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
19602
19723
|
|
|
19603
19724
|
|
|
19604
19725
|
|
|
19726
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
19727
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
19728
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
19729
|
+
|
|
19730
|
+
return {
|
|
19731
|
+
url: toPathString(localVarUrlObj),
|
|
19732
|
+
options: localVarRequestOptions,
|
|
19733
|
+
};
|
|
19734
|
+
},
|
|
19735
|
+
/**
|
|
19736
|
+
*
|
|
19737
|
+
* @param {number} page
|
|
19738
|
+
* @param {number} pageSize
|
|
19739
|
+
* @param {string} [query]
|
|
19740
|
+
* @param {*} [options] Override http request option.
|
|
19741
|
+
* @throws {RequiredError}
|
|
19742
|
+
*/
|
|
19743
|
+
usersControllerFindUsers: async (page: number, pageSize: number, query?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
19744
|
+
// verify required parameter 'page' is not null or undefined
|
|
19745
|
+
assertParamExists('usersControllerFindUsers', 'page', page)
|
|
19746
|
+
// verify required parameter 'pageSize' is not null or undefined
|
|
19747
|
+
assertParamExists('usersControllerFindUsers', 'pageSize', pageSize)
|
|
19748
|
+
const localVarPath = `/v1/user/users`;
|
|
19749
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
19750
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
19751
|
+
let baseOptions;
|
|
19752
|
+
if (configuration) {
|
|
19753
|
+
baseOptions = configuration.baseOptions;
|
|
19754
|
+
}
|
|
19755
|
+
|
|
19756
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
19757
|
+
const localVarHeaderParameter = {} as any;
|
|
19758
|
+
const localVarQueryParameter = {} as any;
|
|
19759
|
+
|
|
19760
|
+
// authentication bearer required
|
|
19761
|
+
// http bearer authentication required
|
|
19762
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
19763
|
+
|
|
19764
|
+
if (query !== undefined) {
|
|
19765
|
+
localVarQueryParameter['query'] = query;
|
|
19766
|
+
}
|
|
19767
|
+
|
|
19768
|
+
if (page !== undefined) {
|
|
19769
|
+
localVarQueryParameter['page'] = page;
|
|
19770
|
+
}
|
|
19771
|
+
|
|
19772
|
+
if (pageSize !== undefined) {
|
|
19773
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
19774
|
+
}
|
|
19775
|
+
|
|
19776
|
+
|
|
19777
|
+
|
|
19605
19778
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
19606
19779
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
19607
19780
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -19996,6 +20169,20 @@ export const UsersApiFp = function(configuration?: Configuration) {
|
|
|
19996
20169
|
const localVarOperationServerBasePath = operationServerMap['UsersApi.usersControllerFindFriendConfirmedVenueList']?.[localVarOperationServerIndex]?.url;
|
|
19997
20170
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19998
20171
|
},
|
|
20172
|
+
/**
|
|
20173
|
+
*
|
|
20174
|
+
* @param {number} page
|
|
20175
|
+
* @param {number} pageSize
|
|
20176
|
+
* @param {string} [query]
|
|
20177
|
+
* @param {*} [options] Override http request option.
|
|
20178
|
+
* @throws {RequiredError}
|
|
20179
|
+
*/
|
|
20180
|
+
async usersControllerFindUsers(page: number, pageSize: number, query?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FindUsersResponseDTO>> {
|
|
20181
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.usersControllerFindUsers(page, pageSize, query, options);
|
|
20182
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
20183
|
+
const localVarOperationServerBasePath = operationServerMap['UsersApi.usersControllerFindUsers']?.[localVarOperationServerIndex]?.url;
|
|
20184
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
20185
|
+
},
|
|
19999
20186
|
/**
|
|
20000
20187
|
*
|
|
20001
20188
|
* @param {*} [options] Override http request option.
|
|
@@ -20144,6 +20331,17 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
|
|
|
20144
20331
|
usersControllerFindFriendConfirmedVenueList(venues?: Array<string>, options?: RawAxiosRequestConfig): AxiosPromise<FriendsFavoriteVenueResponseDTO> {
|
|
20145
20332
|
return localVarFp.usersControllerFindFriendConfirmedVenueList(venues, options).then((request) => request(axios, basePath));
|
|
20146
20333
|
},
|
|
20334
|
+
/**
|
|
20335
|
+
*
|
|
20336
|
+
* @param {number} page
|
|
20337
|
+
* @param {number} pageSize
|
|
20338
|
+
* @param {string} [query]
|
|
20339
|
+
* @param {*} [options] Override http request option.
|
|
20340
|
+
* @throws {RequiredError}
|
|
20341
|
+
*/
|
|
20342
|
+
usersControllerFindUsers(page: number, pageSize: number, query?: string, options?: RawAxiosRequestConfig): AxiosPromise<FindUsersResponseDTO> {
|
|
20343
|
+
return localVarFp.usersControllerFindUsers(page, pageSize, query, options).then((request) => request(axios, basePath));
|
|
20344
|
+
},
|
|
20147
20345
|
/**
|
|
20148
20346
|
*
|
|
20149
20347
|
* @param {*} [options] Override http request option.
|
|
@@ -20267,6 +20465,18 @@ export class UsersApi extends BaseAPI {
|
|
|
20267
20465
|
return UsersApiFp(this.configuration).usersControllerFindFriendConfirmedVenueList(venues, options).then((request) => request(this.axios, this.basePath));
|
|
20268
20466
|
}
|
|
20269
20467
|
|
|
20468
|
+
/**
|
|
20469
|
+
*
|
|
20470
|
+
* @param {number} page
|
|
20471
|
+
* @param {number} pageSize
|
|
20472
|
+
* @param {string} [query]
|
|
20473
|
+
* @param {*} [options] Override http request option.
|
|
20474
|
+
* @throws {RequiredError}
|
|
20475
|
+
*/
|
|
20476
|
+
public usersControllerFindUsers(page: number, pageSize: number, query?: string, options?: RawAxiosRequestConfig) {
|
|
20477
|
+
return UsersApiFp(this.configuration).usersControllerFindUsers(page, pageSize, query, options).then((request) => request(this.axios, this.basePath));
|
|
20478
|
+
}
|
|
20479
|
+
|
|
20270
20480
|
/**
|
|
20271
20481
|
*
|
|
20272
20482
|
* @param {*} [options] Override http request option.
|
package/common.ts
CHANGED
|
@@ -12,7 +12,6 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
|
|
16
15
|
import type { Configuration } from "./configuration";
|
|
17
16
|
import type { RequestArgs } from "./base";
|
|
18
17
|
import type { AxiosInstance, AxiosResponse } from 'axios';
|
|
@@ -63,6 +62,7 @@ export const setOAuthToObject = async function (object: any, name: string, scope
|
|
|
63
62
|
}
|
|
64
63
|
}
|
|
65
64
|
|
|
65
|
+
|
|
66
66
|
function setFlattenedQueryParams(urlSearchParams: URLSearchParams, parameter: any, key: string = ""): void {
|
|
67
67
|
if (parameter == null) return;
|
|
68
68
|
if (typeof parameter === "object") {
|
package/configuration.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
2
|
/**
|
|
4
3
|
* Gooday
|
|
5
4
|
* Gooday API Documentation
|
|
@@ -12,12 +11,24 @@
|
|
|
12
11
|
* Do not edit the class manually.
|
|
13
12
|
*/
|
|
14
13
|
|
|
14
|
+
interface AWSv4Configuration {
|
|
15
|
+
options?: {
|
|
16
|
+
region?: string
|
|
17
|
+
service?: string
|
|
18
|
+
}
|
|
19
|
+
credentials?: {
|
|
20
|
+
accessKeyId?: string
|
|
21
|
+
secretAccessKey?: string,
|
|
22
|
+
sessionToken?: string
|
|
23
|
+
}
|
|
24
|
+
}
|
|
15
25
|
|
|
16
26
|
export interface ConfigurationParameters {
|
|
17
27
|
apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
|
|
18
28
|
username?: string;
|
|
19
29
|
password?: string;
|
|
20
30
|
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
|
31
|
+
awsv4?: AWSv4Configuration;
|
|
21
32
|
basePath?: string;
|
|
22
33
|
serverIndex?: number;
|
|
23
34
|
baseOptions?: any;
|
|
@@ -44,6 +55,17 @@ export class Configuration {
|
|
|
44
55
|
* @param scopes oauth2 scope
|
|
45
56
|
*/
|
|
46
57
|
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
|
58
|
+
/**
|
|
59
|
+
* parameter for aws4 signature security
|
|
60
|
+
* @param {Object} AWS4Signature - AWS4 Signature security
|
|
61
|
+
* @param {string} options.region - aws region
|
|
62
|
+
* @param {string} options.service - name of the service.
|
|
63
|
+
* @param {string} credentials.accessKeyId - aws access key id
|
|
64
|
+
* @param {string} credentials.secretAccessKey - aws access key
|
|
65
|
+
* @param {string} credentials.sessionToken - aws session token
|
|
66
|
+
* @memberof Configuration
|
|
67
|
+
*/
|
|
68
|
+
awsv4?: AWSv4Configuration;
|
|
47
69
|
/**
|
|
48
70
|
* override base path
|
|
49
71
|
*/
|
|
@@ -70,6 +92,7 @@ export class Configuration {
|
|
|
70
92
|
this.username = param.username;
|
|
71
93
|
this.password = param.password;
|
|
72
94
|
this.accessToken = param.accessToken;
|
|
95
|
+
this.awsv4 = param.awsv4;
|
|
73
96
|
this.basePath = param.basePath;
|
|
74
97
|
this.serverIndex = param.serverIndex;
|
|
75
98
|
this.baseOptions = {
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# ChannelCreatePayload
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**userId** | **string** | | [default to undefined]
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
import { ChannelCreatePayload } from './api';
|
|
14
|
+
|
|
15
|
+
const instance: ChannelCreatePayload = {
|
|
16
|
+
userId,
|
|
17
|
+
};
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
# ChatMessagingApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *http://localhost:8080*
|
|
4
|
+
|
|
5
|
+
|Method | HTTP request | Description|
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
|[**chatControllerChannelCreate**](#chatcontrollerchannelcreate) | **POST** /v1/chat-messaging | |
|
|
8
|
+
|
|
9
|
+
# **chatControllerChannelCreate**
|
|
10
|
+
> ChatResponseDTO chatControllerChannelCreate(channelCreatePayload)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import {
|
|
17
|
+
ChatMessagingApi,
|
|
18
|
+
Configuration,
|
|
19
|
+
ChannelCreatePayload
|
|
20
|
+
} from './api';
|
|
21
|
+
|
|
22
|
+
const configuration = new Configuration();
|
|
23
|
+
const apiInstance = new ChatMessagingApi(configuration);
|
|
24
|
+
|
|
25
|
+
let channelCreatePayload: ChannelCreatePayload; //
|
|
26
|
+
|
|
27
|
+
const { status, data } = await apiInstance.chatControllerChannelCreate(
|
|
28
|
+
channelCreatePayload
|
|
29
|
+
);
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
### Parameters
|
|
33
|
+
|
|
34
|
+
|Name | Type | Description | Notes|
|
|
35
|
+
|------------- | ------------- | ------------- | -------------|
|
|
36
|
+
| **channelCreatePayload** | **ChannelCreatePayload**| | |
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
### Return type
|
|
40
|
+
|
|
41
|
+
**ChatResponseDTO**
|
|
42
|
+
|
|
43
|
+
### Authorization
|
|
44
|
+
|
|
45
|
+
[bearer](../README.md#bearer)
|
|
46
|
+
|
|
47
|
+
### HTTP request headers
|
|
48
|
+
|
|
49
|
+
- **Content-Type**: application/json
|
|
50
|
+
- **Accept**: application/json
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
### HTTP response details
|
|
54
|
+
| Status code | Description | Response headers |
|
|
55
|
+
|-------------|-------------|------------------|
|
|
56
|
+
|**200** | | - |
|
|
57
|
+
|
|
58
|
+
[[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)
|
|
59
|
+
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# ChatResponseDTO
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**statusCode** | **number** | statusCode | [default to undefined]
|
|
9
|
+
**success** | **boolean** | | [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { ChatResponseDTO } from './api';
|
|
15
|
+
|
|
16
|
+
const instance: ChatResponseDTO = {
|
|
17
|
+
statusCode,
|
|
18
|
+
success,
|
|
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)
|
|
@@ -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 2025-
|
|
10
|
-
**recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2025-
|
|
9
|
+
**date** | **string** | The start date of the booking | [default to 2025-11-14T04:55:20Z]
|
|
10
|
+
**recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2025-11-14T04:55:20Z]
|
|
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 2025-
|
|
10
|
-
**endDate** | **string** | The start date of the booking | [default to 2025-
|
|
9
|
+
**startDate** | **string** | The start date of the booking | [default to 2025-11-14T04:55:20Z]
|
|
10
|
+
**endDate** | **string** | The start date of the booking | [default to 2025-11-14T04:55:20Z]
|
|
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
|
+
# FindUsersResponseDTO
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**statusCode** | **number** | statusCode | [default to undefined]
|
|
9
|
+
**data** | [**Array<UserEntity>**](UserEntity.md) | | [optional] [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { FindUsersResponseDTO } from './api';
|
|
15
|
+
|
|
16
|
+
const instance: FindUsersResponseDTO = {
|
|
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)
|
|
@@ -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-
|
|
8
|
+
**date** | **string** | The start date of the booking | [default to 2025-11-14T04:55:20Z]
|
|
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/UserEntity.md
CHANGED
|
@@ -36,6 +36,7 @@ Name | Type | Description | Notes
|
|
|
36
36
|
**friends** | **Array<string>** | | [default to undefined]
|
|
37
37
|
**isContactShow** | **boolean** | Contact popup show | [default to false]
|
|
38
38
|
**timezone** | **string** | | [optional] [default to undefined]
|
|
39
|
+
**chatToken** | **string** | | [optional] [default to undefined]
|
|
39
40
|
|
|
40
41
|
## Example
|
|
41
42
|
|
|
@@ -74,6 +75,7 @@ const instance: UserEntity = {
|
|
|
74
75
|
friends,
|
|
75
76
|
isContactShow,
|
|
76
77
|
timezone,
|
|
78
|
+
chatToken,
|
|
77
79
|
};
|
|
78
80
|
```
|
|
79
81
|
|
package/docs/UsersApi.md
CHANGED
|
@@ -8,6 +8,7 @@ All URIs are relative to *http://localhost:8080*
|
|
|
8
8
|
|[**usersControllerAddToWaitingList**](#userscontrolleraddtowaitinglist) | **POST** /v1/user/joining-list | |
|
|
9
9
|
|[**usersControllerDeactivateAccount**](#userscontrollerdeactivateaccount) | **DELETE** /v1/user/deactivate | |
|
|
10
10
|
|[**usersControllerFindFriendConfirmedVenueList**](#userscontrollerfindfriendconfirmedvenuelist) | **GET** /v1/user/venue/favorites/user | |
|
|
11
|
+
|[**usersControllerFindUsers**](#userscontrollerfindusers) | **GET** /v1/user/users | |
|
|
11
12
|
|[**usersControllerGetMe**](#userscontrollergetme) | **GET** /v1/user/me | |
|
|
12
13
|
|[**usersControllerGetUser**](#userscontrollergetuser) | **POST** /v1/user/get-user | |
|
|
13
14
|
|[**usersControllerOnBoarded**](#userscontrolleronboarded) | **POST** /v1/user/onboarding | |
|
|
@@ -198,6 +199,62 @@ const { status, data } = await apiInstance.usersControllerFindFriendConfirmedVen
|
|
|
198
199
|
- **Accept**: application/json
|
|
199
200
|
|
|
200
201
|
|
|
202
|
+
### HTTP response details
|
|
203
|
+
| Status code | Description | Response headers |
|
|
204
|
+
|-------------|-------------|------------------|
|
|
205
|
+
|**200** | | - |
|
|
206
|
+
|
|
207
|
+
[[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)
|
|
208
|
+
|
|
209
|
+
# **usersControllerFindUsers**
|
|
210
|
+
> FindUsersResponseDTO usersControllerFindUsers()
|
|
211
|
+
|
|
212
|
+
|
|
213
|
+
### Example
|
|
214
|
+
|
|
215
|
+
```typescript
|
|
216
|
+
import {
|
|
217
|
+
UsersApi,
|
|
218
|
+
Configuration
|
|
219
|
+
} from './api';
|
|
220
|
+
|
|
221
|
+
const configuration = new Configuration();
|
|
222
|
+
const apiInstance = new UsersApi(configuration);
|
|
223
|
+
|
|
224
|
+
let page: number; // (default to undefined)
|
|
225
|
+
let pageSize: number; // (default to undefined)
|
|
226
|
+
let query: string; // (optional) (default to undefined)
|
|
227
|
+
|
|
228
|
+
const { status, data } = await apiInstance.usersControllerFindUsers(
|
|
229
|
+
page,
|
|
230
|
+
pageSize,
|
|
231
|
+
query
|
|
232
|
+
);
|
|
233
|
+
```
|
|
234
|
+
|
|
235
|
+
### Parameters
|
|
236
|
+
|
|
237
|
+
|Name | Type | Description | Notes|
|
|
238
|
+
|------------- | ------------- | ------------- | -------------|
|
|
239
|
+
| **page** | [**number**] | | defaults to undefined|
|
|
240
|
+
| **pageSize** | [**number**] | | defaults to undefined|
|
|
241
|
+
| **query** | [**string**] | | (optional) defaults to undefined|
|
|
242
|
+
|
|
243
|
+
|
|
244
|
+
### Return type
|
|
245
|
+
|
|
246
|
+
**FindUsersResponseDTO**
|
|
247
|
+
|
|
248
|
+
### Authorization
|
|
249
|
+
|
|
250
|
+
[bearer](../README.md#bearer)
|
|
251
|
+
|
|
252
|
+
### HTTP request headers
|
|
253
|
+
|
|
254
|
+
- **Content-Type**: Not defined
|
|
255
|
+
- **Accept**: application/json
|
|
256
|
+
|
|
257
|
+
|
|
201
258
|
### HTTP response details
|
|
202
259
|
| Status code | Description | Response headers |
|
|
203
260
|
|-------------|-------------|------------------|
|
|
@@ -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-
|
|
9
|
-
**endDate** | **string** | The end date of the waitlist | [default to 2025-
|
|
8
|
+
**startDate** | **string** | The start date of the waitlist | [default to 2025-11-14T04:55:20Z]
|
|
9
|
+
**endDate** | **string** | The end date of the waitlist | [default to 2025-11-14T05:55:20Z]
|
|
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]
|