@gooday_corp/gooday-api-client 4.4.15 → 4.4.21
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 +3 -0
- package/api.ts +280 -16
- package/docs/ChannelCreateMultipleUsersPayload.md +24 -0
- package/docs/ChatChannelCreateResponseDTO.md +22 -0
- package/docs/ChatMessagingApi.md +105 -1
- package/docs/ContactsApi.md +8 -2
- 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/UsersApi.md +57 -0
- package/docs/WaitlistPayloadDTO.md +2 -2
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -110,7 +110,9 @@ docs/CancelBookingDTO.md
|
|
|
110
110
|
docs/CancelBookingResponseDTO.md
|
|
111
111
|
docs/CategoryEntity.md
|
|
112
112
|
docs/CategoryListResponse.md
|
|
113
|
+
docs/ChannelCreateMultipleUsersPayload.md
|
|
113
114
|
docs/ChannelCreatePayload.md
|
|
115
|
+
docs/ChatChannelCreateResponseDTO.md
|
|
114
116
|
docs/ChatMessagingApi.md
|
|
115
117
|
docs/ChatResponseDTO.md
|
|
116
118
|
docs/ContactDTO.md
|
|
@@ -167,6 +169,7 @@ docs/FindCustomerBookingPayload.md
|
|
|
167
169
|
docs/FindFriendsFavoritesDTO.md
|
|
168
170
|
docs/FindHistoryResponseDTO.md
|
|
169
171
|
docs/FindMyFriendRequestPayload.md
|
|
172
|
+
docs/FindUsersResponseDTO.md
|
|
170
173
|
docs/FindWaitlistResponse.md
|
|
171
174
|
docs/FindWaitlistResponseDTO.md
|
|
172
175
|
docs/FindWhatsOnAndPrepaidService.md
|
package/api.ts
CHANGED
|
@@ -1678,9 +1678,21 @@ export interface CategoryListResponse {
|
|
|
1678
1678
|
*/
|
|
1679
1679
|
'data': Array<CategoryEntity>;
|
|
1680
1680
|
}
|
|
1681
|
+
export interface ChannelCreateMultipleUsersPayload {
|
|
1682
|
+
'userId': Array<string>;
|
|
1683
|
+
'profile'?: string;
|
|
1684
|
+
'name'?: string;
|
|
1685
|
+
}
|
|
1681
1686
|
export interface ChannelCreatePayload {
|
|
1682
1687
|
'userId': string;
|
|
1683
1688
|
}
|
|
1689
|
+
export interface ChatChannelCreateResponseDTO {
|
|
1690
|
+
/**
|
|
1691
|
+
* statusCode
|
|
1692
|
+
*/
|
|
1693
|
+
'statusCode': number;
|
|
1694
|
+
'cid': string;
|
|
1695
|
+
}
|
|
1684
1696
|
export interface ChatResponseDTO {
|
|
1685
1697
|
/**
|
|
1686
1698
|
* statusCode
|
|
@@ -2494,6 +2506,13 @@ export interface FindMyFriendRequestPayload {
|
|
|
2494
2506
|
'user'?: string;
|
|
2495
2507
|
'mutual'?: boolean;
|
|
2496
2508
|
}
|
|
2509
|
+
export interface FindUsersResponseDTO {
|
|
2510
|
+
/**
|
|
2511
|
+
* statusCode
|
|
2512
|
+
*/
|
|
2513
|
+
'statusCode': number;
|
|
2514
|
+
'data'?: Array<UserEntity>;
|
|
2515
|
+
}
|
|
2497
2516
|
export interface FindWaitlistResponse {
|
|
2498
2517
|
'count': number;
|
|
2499
2518
|
/**
|
|
@@ -11642,6 +11661,84 @@ export const ChatMessagingApiAxiosParamCreator = function (configuration?: Confi
|
|
|
11642
11661
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
11643
11662
|
localVarRequestOptions.data = serializeDataIfNeeded(channelCreatePayload, localVarRequestOptions, configuration)
|
|
11644
11663
|
|
|
11664
|
+
return {
|
|
11665
|
+
url: toPathString(localVarUrlObj),
|
|
11666
|
+
options: localVarRequestOptions,
|
|
11667
|
+
};
|
|
11668
|
+
},
|
|
11669
|
+
/**
|
|
11670
|
+
*
|
|
11671
|
+
* @param {ChannelCreateMultipleUsersPayload} channelCreateMultipleUsersPayload
|
|
11672
|
+
* @param {*} [options] Override http request option.
|
|
11673
|
+
* @throws {RequiredError}
|
|
11674
|
+
*/
|
|
11675
|
+
chatControllerChannelCreateMultipleUsers: async (channelCreateMultipleUsersPayload: ChannelCreateMultipleUsersPayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11676
|
+
// verify required parameter 'channelCreateMultipleUsersPayload' is not null or undefined
|
|
11677
|
+
assertParamExists('chatControllerChannelCreateMultipleUsers', 'channelCreateMultipleUsersPayload', channelCreateMultipleUsersPayload)
|
|
11678
|
+
const localVarPath = `/v1/chat-messaging/multiple-members`;
|
|
11679
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11680
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11681
|
+
let baseOptions;
|
|
11682
|
+
if (configuration) {
|
|
11683
|
+
baseOptions = configuration.baseOptions;
|
|
11684
|
+
}
|
|
11685
|
+
|
|
11686
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
11687
|
+
const localVarHeaderParameter = {} as any;
|
|
11688
|
+
const localVarQueryParameter = {} as any;
|
|
11689
|
+
|
|
11690
|
+
// authentication bearer required
|
|
11691
|
+
// http bearer authentication required
|
|
11692
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
11693
|
+
|
|
11694
|
+
|
|
11695
|
+
|
|
11696
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
11697
|
+
|
|
11698
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11699
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11700
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
11701
|
+
localVarRequestOptions.data = serializeDataIfNeeded(channelCreateMultipleUsersPayload, localVarRequestOptions, configuration)
|
|
11702
|
+
|
|
11703
|
+
return {
|
|
11704
|
+
url: toPathString(localVarUrlObj),
|
|
11705
|
+
options: localVarRequestOptions,
|
|
11706
|
+
};
|
|
11707
|
+
},
|
|
11708
|
+
/**
|
|
11709
|
+
*
|
|
11710
|
+
* @param {ChannelCreateMultipleUsersPayload} channelCreateMultipleUsersPayload
|
|
11711
|
+
* @param {*} [options] Override http request option.
|
|
11712
|
+
* @throws {RequiredError}
|
|
11713
|
+
*/
|
|
11714
|
+
chatControllerCreateUsers: async (channelCreateMultipleUsersPayload: ChannelCreateMultipleUsersPayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11715
|
+
// verify required parameter 'channelCreateMultipleUsersPayload' is not null or undefined
|
|
11716
|
+
assertParamExists('chatControllerCreateUsers', 'channelCreateMultipleUsersPayload', channelCreateMultipleUsersPayload)
|
|
11717
|
+
const localVarPath = `/v1/chat-messaging/add-users`;
|
|
11718
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11719
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11720
|
+
let baseOptions;
|
|
11721
|
+
if (configuration) {
|
|
11722
|
+
baseOptions = configuration.baseOptions;
|
|
11723
|
+
}
|
|
11724
|
+
|
|
11725
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
11726
|
+
const localVarHeaderParameter = {} as any;
|
|
11727
|
+
const localVarQueryParameter = {} as any;
|
|
11728
|
+
|
|
11729
|
+
// authentication bearer required
|
|
11730
|
+
// http bearer authentication required
|
|
11731
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
11732
|
+
|
|
11733
|
+
|
|
11734
|
+
|
|
11735
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
11736
|
+
|
|
11737
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11738
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11739
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
11740
|
+
localVarRequestOptions.data = serializeDataIfNeeded(channelCreateMultipleUsersPayload, localVarRequestOptions, configuration)
|
|
11741
|
+
|
|
11645
11742
|
return {
|
|
11646
11743
|
url: toPathString(localVarUrlObj),
|
|
11647
11744
|
options: localVarRequestOptions,
|
|
@@ -11662,12 +11759,36 @@ export const ChatMessagingApiFp = function(configuration?: Configuration) {
|
|
|
11662
11759
|
* @param {*} [options] Override http request option.
|
|
11663
11760
|
* @throws {RequiredError}
|
|
11664
11761
|
*/
|
|
11665
|
-
async chatControllerChannelCreate(channelCreatePayload: ChannelCreatePayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
11762
|
+
async chatControllerChannelCreate(channelCreatePayload: ChannelCreatePayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ChatChannelCreateResponseDTO>> {
|
|
11666
11763
|
const localVarAxiosArgs = await localVarAxiosParamCreator.chatControllerChannelCreate(channelCreatePayload, options);
|
|
11667
11764
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
11668
11765
|
const localVarOperationServerBasePath = operationServerMap['ChatMessagingApi.chatControllerChannelCreate']?.[localVarOperationServerIndex]?.url;
|
|
11669
11766
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11670
11767
|
},
|
|
11768
|
+
/**
|
|
11769
|
+
*
|
|
11770
|
+
* @param {ChannelCreateMultipleUsersPayload} channelCreateMultipleUsersPayload
|
|
11771
|
+
* @param {*} [options] Override http request option.
|
|
11772
|
+
* @throws {RequiredError}
|
|
11773
|
+
*/
|
|
11774
|
+
async chatControllerChannelCreateMultipleUsers(channelCreateMultipleUsersPayload: ChannelCreateMultipleUsersPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ChatChannelCreateResponseDTO>> {
|
|
11775
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.chatControllerChannelCreateMultipleUsers(channelCreateMultipleUsersPayload, options);
|
|
11776
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
11777
|
+
const localVarOperationServerBasePath = operationServerMap['ChatMessagingApi.chatControllerChannelCreateMultipleUsers']?.[localVarOperationServerIndex]?.url;
|
|
11778
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11779
|
+
},
|
|
11780
|
+
/**
|
|
11781
|
+
*
|
|
11782
|
+
* @param {ChannelCreateMultipleUsersPayload} channelCreateMultipleUsersPayload
|
|
11783
|
+
* @param {*} [options] Override http request option.
|
|
11784
|
+
* @throws {RequiredError}
|
|
11785
|
+
*/
|
|
11786
|
+
async chatControllerCreateUsers(channelCreateMultipleUsersPayload: ChannelCreateMultipleUsersPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ChatResponseDTO>> {
|
|
11787
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.chatControllerCreateUsers(channelCreateMultipleUsersPayload, options);
|
|
11788
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
11789
|
+
const localVarOperationServerBasePath = operationServerMap['ChatMessagingApi.chatControllerCreateUsers']?.[localVarOperationServerIndex]?.url;
|
|
11790
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11791
|
+
},
|
|
11671
11792
|
}
|
|
11672
11793
|
};
|
|
11673
11794
|
|
|
@@ -11683,9 +11804,27 @@ export const ChatMessagingApiFactory = function (configuration?: Configuration,
|
|
|
11683
11804
|
* @param {*} [options] Override http request option.
|
|
11684
11805
|
* @throws {RequiredError}
|
|
11685
11806
|
*/
|
|
11686
|
-
chatControllerChannelCreate(channelCreatePayload: ChannelCreatePayload, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
11807
|
+
chatControllerChannelCreate(channelCreatePayload: ChannelCreatePayload, options?: RawAxiosRequestConfig): AxiosPromise<ChatChannelCreateResponseDTO> {
|
|
11687
11808
|
return localVarFp.chatControllerChannelCreate(channelCreatePayload, options).then((request) => request(axios, basePath));
|
|
11688
11809
|
},
|
|
11810
|
+
/**
|
|
11811
|
+
*
|
|
11812
|
+
* @param {ChannelCreateMultipleUsersPayload} channelCreateMultipleUsersPayload
|
|
11813
|
+
* @param {*} [options] Override http request option.
|
|
11814
|
+
* @throws {RequiredError}
|
|
11815
|
+
*/
|
|
11816
|
+
chatControllerChannelCreateMultipleUsers(channelCreateMultipleUsersPayload: ChannelCreateMultipleUsersPayload, options?: RawAxiosRequestConfig): AxiosPromise<ChatChannelCreateResponseDTO> {
|
|
11817
|
+
return localVarFp.chatControllerChannelCreateMultipleUsers(channelCreateMultipleUsersPayload, options).then((request) => request(axios, basePath));
|
|
11818
|
+
},
|
|
11819
|
+
/**
|
|
11820
|
+
*
|
|
11821
|
+
* @param {ChannelCreateMultipleUsersPayload} channelCreateMultipleUsersPayload
|
|
11822
|
+
* @param {*} [options] Override http request option.
|
|
11823
|
+
* @throws {RequiredError}
|
|
11824
|
+
*/
|
|
11825
|
+
chatControllerCreateUsers(channelCreateMultipleUsersPayload: ChannelCreateMultipleUsersPayload, options?: RawAxiosRequestConfig): AxiosPromise<ChatResponseDTO> {
|
|
11826
|
+
return localVarFp.chatControllerCreateUsers(channelCreateMultipleUsersPayload, options).then((request) => request(axios, basePath));
|
|
11827
|
+
},
|
|
11689
11828
|
};
|
|
11690
11829
|
};
|
|
11691
11830
|
|
|
@@ -11702,6 +11841,26 @@ export class ChatMessagingApi extends BaseAPI {
|
|
|
11702
11841
|
public chatControllerChannelCreate(channelCreatePayload: ChannelCreatePayload, options?: RawAxiosRequestConfig) {
|
|
11703
11842
|
return ChatMessagingApiFp(this.configuration).chatControllerChannelCreate(channelCreatePayload, options).then((request) => request(this.axios, this.basePath));
|
|
11704
11843
|
}
|
|
11844
|
+
|
|
11845
|
+
/**
|
|
11846
|
+
*
|
|
11847
|
+
* @param {ChannelCreateMultipleUsersPayload} channelCreateMultipleUsersPayload
|
|
11848
|
+
* @param {*} [options] Override http request option.
|
|
11849
|
+
* @throws {RequiredError}
|
|
11850
|
+
*/
|
|
11851
|
+
public chatControllerChannelCreateMultipleUsers(channelCreateMultipleUsersPayload: ChannelCreateMultipleUsersPayload, options?: RawAxiosRequestConfig) {
|
|
11852
|
+
return ChatMessagingApiFp(this.configuration).chatControllerChannelCreateMultipleUsers(channelCreateMultipleUsersPayload, options).then((request) => request(this.axios, this.basePath));
|
|
11853
|
+
}
|
|
11854
|
+
|
|
11855
|
+
/**
|
|
11856
|
+
*
|
|
11857
|
+
* @param {ChannelCreateMultipleUsersPayload} channelCreateMultipleUsersPayload
|
|
11858
|
+
* @param {*} [options] Override http request option.
|
|
11859
|
+
* @throws {RequiredError}
|
|
11860
|
+
*/
|
|
11861
|
+
public chatControllerCreateUsers(channelCreateMultipleUsersPayload: ChannelCreateMultipleUsersPayload, options?: RawAxiosRequestConfig) {
|
|
11862
|
+
return ChatMessagingApiFp(this.configuration).chatControllerCreateUsers(channelCreateMultipleUsersPayload, options).then((request) => request(this.axios, this.basePath));
|
|
11863
|
+
}
|
|
11705
11864
|
}
|
|
11706
11865
|
|
|
11707
11866
|
|
|
@@ -11826,10 +11985,11 @@ export const ContactsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
11826
11985
|
* @param {number} [page]
|
|
11827
11986
|
* @param {number} [pageSize]
|
|
11828
11987
|
* @param {string} [contactId]
|
|
11988
|
+
* @param {Array<string>} [users]
|
|
11829
11989
|
* @param {*} [options] Override http request option.
|
|
11830
11990
|
* @throws {RequiredError}
|
|
11831
11991
|
*/
|
|
11832
|
-
contactsControllerFindContacts: async (search?: string, page?: number, pageSize?: number, contactId?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11992
|
+
contactsControllerFindContacts: async (search?: string, page?: number, pageSize?: number, contactId?: string, users?: Array<string>, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11833
11993
|
const localVarPath = `/v1/contacts`;
|
|
11834
11994
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11835
11995
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -11862,6 +12022,10 @@ export const ContactsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
11862
12022
|
localVarQueryParameter['contactId'] = contactId;
|
|
11863
12023
|
}
|
|
11864
12024
|
|
|
12025
|
+
if (users) {
|
|
12026
|
+
localVarQueryParameter['users'] = users;
|
|
12027
|
+
}
|
|
12028
|
+
|
|
11865
12029
|
|
|
11866
12030
|
|
|
11867
12031
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -11879,10 +12043,11 @@ export const ContactsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
11879
12043
|
* @param {number} [page]
|
|
11880
12044
|
* @param {number} [pageSize]
|
|
11881
12045
|
* @param {string} [contactId]
|
|
12046
|
+
* @param {Array<string>} [users]
|
|
11882
12047
|
* @param {*} [options] Override http request option.
|
|
11883
12048
|
* @throws {RequiredError}
|
|
11884
12049
|
*/
|
|
11885
|
-
contactsControllerFindContactsSuggestion: async (search?: string, page?: number, pageSize?: number, contactId?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12050
|
+
contactsControllerFindContactsSuggestion: async (search?: string, page?: number, pageSize?: number, contactId?: string, users?: Array<string>, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11886
12051
|
const localVarPath = `/v1/contacts/suggestion`;
|
|
11887
12052
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11888
12053
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -11915,6 +12080,10 @@ export const ContactsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
11915
12080
|
localVarQueryParameter['contactId'] = contactId;
|
|
11916
12081
|
}
|
|
11917
12082
|
|
|
12083
|
+
if (users) {
|
|
12084
|
+
localVarQueryParameter['users'] = users;
|
|
12085
|
+
}
|
|
12086
|
+
|
|
11918
12087
|
|
|
11919
12088
|
|
|
11920
12089
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -11976,11 +12145,12 @@ export const ContactsApiFp = function(configuration?: Configuration) {
|
|
|
11976
12145
|
* @param {number} [page]
|
|
11977
12146
|
* @param {number} [pageSize]
|
|
11978
12147
|
* @param {string} [contactId]
|
|
12148
|
+
* @param {Array<string>} [users]
|
|
11979
12149
|
* @param {*} [options] Override http request option.
|
|
11980
12150
|
* @throws {RequiredError}
|
|
11981
12151
|
*/
|
|
11982
|
-
async contactsControllerFindContacts(search?: string, page?: number, pageSize?: number, contactId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContactsResponseDTO>> {
|
|
11983
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsControllerFindContacts(search, page, pageSize, contactId, options);
|
|
12152
|
+
async contactsControllerFindContacts(search?: string, page?: number, pageSize?: number, contactId?: string, users?: Array<string>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContactsResponseDTO>> {
|
|
12153
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsControllerFindContacts(search, page, pageSize, contactId, users, options);
|
|
11984
12154
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
11985
12155
|
const localVarOperationServerBasePath = operationServerMap['ContactsApi.contactsControllerFindContacts']?.[localVarOperationServerIndex]?.url;
|
|
11986
12156
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -11991,11 +12161,12 @@ export const ContactsApiFp = function(configuration?: Configuration) {
|
|
|
11991
12161
|
* @param {number} [page]
|
|
11992
12162
|
* @param {number} [pageSize]
|
|
11993
12163
|
* @param {string} [contactId]
|
|
12164
|
+
* @param {Array<string>} [users]
|
|
11994
12165
|
* @param {*} [options] Override http request option.
|
|
11995
12166
|
* @throws {RequiredError}
|
|
11996
12167
|
*/
|
|
11997
|
-
async contactsControllerFindContactsSuggestion(search?: string, page?: number, pageSize?: number, contactId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContactsResponseDTO>> {
|
|
11998
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsControllerFindContactsSuggestion(search, page, pageSize, contactId, options);
|
|
12168
|
+
async contactsControllerFindContactsSuggestion(search?: string, page?: number, pageSize?: number, contactId?: string, users?: Array<string>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContactsResponseDTO>> {
|
|
12169
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsControllerFindContactsSuggestion(search, page, pageSize, contactId, users, options);
|
|
11999
12170
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
12000
12171
|
const localVarOperationServerBasePath = operationServerMap['ContactsApi.contactsControllerFindContactsSuggestion']?.[localVarOperationServerIndex]?.url;
|
|
12001
12172
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -12041,11 +12212,12 @@ export const ContactsApiFactory = function (configuration?: Configuration, baseP
|
|
|
12041
12212
|
* @param {number} [page]
|
|
12042
12213
|
* @param {number} [pageSize]
|
|
12043
12214
|
* @param {string} [contactId]
|
|
12215
|
+
* @param {Array<string>} [users]
|
|
12044
12216
|
* @param {*} [options] Override http request option.
|
|
12045
12217
|
* @throws {RequiredError}
|
|
12046
12218
|
*/
|
|
12047
|
-
contactsControllerFindContacts(search?: string, page?: number, pageSize?: number, contactId?: string, options?: RawAxiosRequestConfig): AxiosPromise<ContactsResponseDTO> {
|
|
12048
|
-
return localVarFp.contactsControllerFindContacts(search, page, pageSize, contactId, options).then((request) => request(axios, basePath));
|
|
12219
|
+
contactsControllerFindContacts(search?: string, page?: number, pageSize?: number, contactId?: string, users?: Array<string>, options?: RawAxiosRequestConfig): AxiosPromise<ContactsResponseDTO> {
|
|
12220
|
+
return localVarFp.contactsControllerFindContacts(search, page, pageSize, contactId, users, options).then((request) => request(axios, basePath));
|
|
12049
12221
|
},
|
|
12050
12222
|
/**
|
|
12051
12223
|
*
|
|
@@ -12053,11 +12225,12 @@ export const ContactsApiFactory = function (configuration?: Configuration, baseP
|
|
|
12053
12225
|
* @param {number} [page]
|
|
12054
12226
|
* @param {number} [pageSize]
|
|
12055
12227
|
* @param {string} [contactId]
|
|
12228
|
+
* @param {Array<string>} [users]
|
|
12056
12229
|
* @param {*} [options] Override http request option.
|
|
12057
12230
|
* @throws {RequiredError}
|
|
12058
12231
|
*/
|
|
12059
|
-
contactsControllerFindContactsSuggestion(search?: string, page?: number, pageSize?: number, contactId?: string, options?: RawAxiosRequestConfig): AxiosPromise<ContactsResponseDTO> {
|
|
12060
|
-
return localVarFp.contactsControllerFindContactsSuggestion(search, page, pageSize, contactId, options).then((request) => request(axios, basePath));
|
|
12232
|
+
contactsControllerFindContactsSuggestion(search?: string, page?: number, pageSize?: number, contactId?: string, users?: Array<string>, options?: RawAxiosRequestConfig): AxiosPromise<ContactsResponseDTO> {
|
|
12233
|
+
return localVarFp.contactsControllerFindContactsSuggestion(search, page, pageSize, contactId, users, options).then((request) => request(axios, basePath));
|
|
12061
12234
|
},
|
|
12062
12235
|
};
|
|
12063
12236
|
};
|
|
@@ -12101,11 +12274,12 @@ export class ContactsApi extends BaseAPI {
|
|
|
12101
12274
|
* @param {number} [page]
|
|
12102
12275
|
* @param {number} [pageSize]
|
|
12103
12276
|
* @param {string} [contactId]
|
|
12277
|
+
* @param {Array<string>} [users]
|
|
12104
12278
|
* @param {*} [options] Override http request option.
|
|
12105
12279
|
* @throws {RequiredError}
|
|
12106
12280
|
*/
|
|
12107
|
-
public contactsControllerFindContacts(search?: string, page?: number, pageSize?: number, contactId?: string, options?: RawAxiosRequestConfig) {
|
|
12108
|
-
return ContactsApiFp(this.configuration).contactsControllerFindContacts(search, page, pageSize, contactId, options).then((request) => request(this.axios, this.basePath));
|
|
12281
|
+
public contactsControllerFindContacts(search?: string, page?: number, pageSize?: number, contactId?: string, users?: Array<string>, options?: RawAxiosRequestConfig) {
|
|
12282
|
+
return ContactsApiFp(this.configuration).contactsControllerFindContacts(search, page, pageSize, contactId, users, options).then((request) => request(this.axios, this.basePath));
|
|
12109
12283
|
}
|
|
12110
12284
|
|
|
12111
12285
|
/**
|
|
@@ -12114,11 +12288,12 @@ export class ContactsApi extends BaseAPI {
|
|
|
12114
12288
|
* @param {number} [page]
|
|
12115
12289
|
* @param {number} [pageSize]
|
|
12116
12290
|
* @param {string} [contactId]
|
|
12291
|
+
* @param {Array<string>} [users]
|
|
12117
12292
|
* @param {*} [options] Override http request option.
|
|
12118
12293
|
* @throws {RequiredError}
|
|
12119
12294
|
*/
|
|
12120
|
-
public contactsControllerFindContactsSuggestion(search?: string, page?: number, pageSize?: number, contactId?: string, options?: RawAxiosRequestConfig) {
|
|
12121
|
-
return ContactsApiFp(this.configuration).contactsControllerFindContactsSuggestion(search, page, pageSize, contactId, options).then((request) => request(this.axios, this.basePath));
|
|
12295
|
+
public contactsControllerFindContactsSuggestion(search?: string, page?: number, pageSize?: number, contactId?: string, users?: Array<string>, options?: RawAxiosRequestConfig) {
|
|
12296
|
+
return ContactsApiFp(this.configuration).contactsControllerFindContactsSuggestion(search, page, pageSize, contactId, users, options).then((request) => request(this.axios, this.basePath));
|
|
12122
12297
|
}
|
|
12123
12298
|
}
|
|
12124
12299
|
|
|
@@ -19716,6 +19891,58 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
19716
19891
|
|
|
19717
19892
|
|
|
19718
19893
|
|
|
19894
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
19895
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
19896
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
19897
|
+
|
|
19898
|
+
return {
|
|
19899
|
+
url: toPathString(localVarUrlObj),
|
|
19900
|
+
options: localVarRequestOptions,
|
|
19901
|
+
};
|
|
19902
|
+
},
|
|
19903
|
+
/**
|
|
19904
|
+
*
|
|
19905
|
+
* @param {number} page
|
|
19906
|
+
* @param {number} pageSize
|
|
19907
|
+
* @param {string} [query]
|
|
19908
|
+
* @param {*} [options] Override http request option.
|
|
19909
|
+
* @throws {RequiredError}
|
|
19910
|
+
*/
|
|
19911
|
+
usersControllerFindUsers: async (page: number, pageSize: number, query?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
19912
|
+
// verify required parameter 'page' is not null or undefined
|
|
19913
|
+
assertParamExists('usersControllerFindUsers', 'page', page)
|
|
19914
|
+
// verify required parameter 'pageSize' is not null or undefined
|
|
19915
|
+
assertParamExists('usersControllerFindUsers', 'pageSize', pageSize)
|
|
19916
|
+
const localVarPath = `/v1/user/users`;
|
|
19917
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
19918
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
19919
|
+
let baseOptions;
|
|
19920
|
+
if (configuration) {
|
|
19921
|
+
baseOptions = configuration.baseOptions;
|
|
19922
|
+
}
|
|
19923
|
+
|
|
19924
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
19925
|
+
const localVarHeaderParameter = {} as any;
|
|
19926
|
+
const localVarQueryParameter = {} as any;
|
|
19927
|
+
|
|
19928
|
+
// authentication bearer required
|
|
19929
|
+
// http bearer authentication required
|
|
19930
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
19931
|
+
|
|
19932
|
+
if (query !== undefined) {
|
|
19933
|
+
localVarQueryParameter['query'] = query;
|
|
19934
|
+
}
|
|
19935
|
+
|
|
19936
|
+
if (page !== undefined) {
|
|
19937
|
+
localVarQueryParameter['page'] = page;
|
|
19938
|
+
}
|
|
19939
|
+
|
|
19940
|
+
if (pageSize !== undefined) {
|
|
19941
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
19942
|
+
}
|
|
19943
|
+
|
|
19944
|
+
|
|
19945
|
+
|
|
19719
19946
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
19720
19947
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
19721
19948
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -20110,6 +20337,20 @@ export const UsersApiFp = function(configuration?: Configuration) {
|
|
|
20110
20337
|
const localVarOperationServerBasePath = operationServerMap['UsersApi.usersControllerFindFriendConfirmedVenueList']?.[localVarOperationServerIndex]?.url;
|
|
20111
20338
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
20112
20339
|
},
|
|
20340
|
+
/**
|
|
20341
|
+
*
|
|
20342
|
+
* @param {number} page
|
|
20343
|
+
* @param {number} pageSize
|
|
20344
|
+
* @param {string} [query]
|
|
20345
|
+
* @param {*} [options] Override http request option.
|
|
20346
|
+
* @throws {RequiredError}
|
|
20347
|
+
*/
|
|
20348
|
+
async usersControllerFindUsers(page: number, pageSize: number, query?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FindUsersResponseDTO>> {
|
|
20349
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.usersControllerFindUsers(page, pageSize, query, options);
|
|
20350
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
20351
|
+
const localVarOperationServerBasePath = operationServerMap['UsersApi.usersControllerFindUsers']?.[localVarOperationServerIndex]?.url;
|
|
20352
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
20353
|
+
},
|
|
20113
20354
|
/**
|
|
20114
20355
|
*
|
|
20115
20356
|
* @param {*} [options] Override http request option.
|
|
@@ -20258,6 +20499,17 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
|
|
|
20258
20499
|
usersControllerFindFriendConfirmedVenueList(venues?: Array<string>, options?: RawAxiosRequestConfig): AxiosPromise<FriendsFavoriteVenueResponseDTO> {
|
|
20259
20500
|
return localVarFp.usersControllerFindFriendConfirmedVenueList(venues, options).then((request) => request(axios, basePath));
|
|
20260
20501
|
},
|
|
20502
|
+
/**
|
|
20503
|
+
*
|
|
20504
|
+
* @param {number} page
|
|
20505
|
+
* @param {number} pageSize
|
|
20506
|
+
* @param {string} [query]
|
|
20507
|
+
* @param {*} [options] Override http request option.
|
|
20508
|
+
* @throws {RequiredError}
|
|
20509
|
+
*/
|
|
20510
|
+
usersControllerFindUsers(page: number, pageSize: number, query?: string, options?: RawAxiosRequestConfig): AxiosPromise<FindUsersResponseDTO> {
|
|
20511
|
+
return localVarFp.usersControllerFindUsers(page, pageSize, query, options).then((request) => request(axios, basePath));
|
|
20512
|
+
},
|
|
20261
20513
|
/**
|
|
20262
20514
|
*
|
|
20263
20515
|
* @param {*} [options] Override http request option.
|
|
@@ -20381,6 +20633,18 @@ export class UsersApi extends BaseAPI {
|
|
|
20381
20633
|
return UsersApiFp(this.configuration).usersControllerFindFriendConfirmedVenueList(venues, options).then((request) => request(this.axios, this.basePath));
|
|
20382
20634
|
}
|
|
20383
20635
|
|
|
20636
|
+
/**
|
|
20637
|
+
*
|
|
20638
|
+
* @param {number} page
|
|
20639
|
+
* @param {number} pageSize
|
|
20640
|
+
* @param {string} [query]
|
|
20641
|
+
* @param {*} [options] Override http request option.
|
|
20642
|
+
* @throws {RequiredError}
|
|
20643
|
+
*/
|
|
20644
|
+
public usersControllerFindUsers(page: number, pageSize: number, query?: string, options?: RawAxiosRequestConfig) {
|
|
20645
|
+
return UsersApiFp(this.configuration).usersControllerFindUsers(page, pageSize, query, options).then((request) => request(this.axios, this.basePath));
|
|
20646
|
+
}
|
|
20647
|
+
|
|
20384
20648
|
/**
|
|
20385
20649
|
*
|
|
20386
20650
|
* @param {*} [options] Override http request option.
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# ChannelCreateMultipleUsersPayload
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**userId** | **Array<string>** | | [default to undefined]
|
|
9
|
+
**profile** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**name** | **string** | | [optional] [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { ChannelCreateMultipleUsersPayload } from './api';
|
|
16
|
+
|
|
17
|
+
const instance: ChannelCreateMultipleUsersPayload = {
|
|
18
|
+
userId,
|
|
19
|
+
profile,
|
|
20
|
+
name,
|
|
21
|
+
};
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
[[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,22 @@
|
|
|
1
|
+
# ChatChannelCreateResponseDTO
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**statusCode** | **number** | statusCode | [default to undefined]
|
|
9
|
+
**cid** | **string** | | [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { ChatChannelCreateResponseDTO } from './api';
|
|
15
|
+
|
|
16
|
+
const instance: ChatChannelCreateResponseDTO = {
|
|
17
|
+
statusCode,
|
|
18
|
+
cid,
|
|
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)
|
package/docs/ChatMessagingApi.md
CHANGED
|
@@ -5,9 +5,11 @@ All URIs are relative to *http://localhost:8080*
|
|
|
5
5
|
|Method | HTTP request | Description|
|
|
6
6
|
|------------- | ------------- | -------------|
|
|
7
7
|
|[**chatControllerChannelCreate**](#chatcontrollerchannelcreate) | **POST** /v1/chat-messaging | |
|
|
8
|
+
|[**chatControllerChannelCreateMultipleUsers**](#chatcontrollerchannelcreatemultipleusers) | **POST** /v1/chat-messaging/multiple-members | |
|
|
9
|
+
|[**chatControllerCreateUsers**](#chatcontrollercreateusers) | **POST** /v1/chat-messaging/add-users | |
|
|
8
10
|
|
|
9
11
|
# **chatControllerChannelCreate**
|
|
10
|
-
>
|
|
12
|
+
> ChatChannelCreateResponseDTO chatControllerChannelCreate(channelCreatePayload)
|
|
11
13
|
|
|
12
14
|
|
|
13
15
|
### Example
|
|
@@ -36,6 +38,108 @@ const { status, data } = await apiInstance.chatControllerChannelCreate(
|
|
|
36
38
|
| **channelCreatePayload** | **ChannelCreatePayload**| | |
|
|
37
39
|
|
|
38
40
|
|
|
41
|
+
### Return type
|
|
42
|
+
|
|
43
|
+
**ChatChannelCreateResponseDTO**
|
|
44
|
+
|
|
45
|
+
### Authorization
|
|
46
|
+
|
|
47
|
+
[bearer](../README.md#bearer)
|
|
48
|
+
|
|
49
|
+
### HTTP request headers
|
|
50
|
+
|
|
51
|
+
- **Content-Type**: application/json
|
|
52
|
+
- **Accept**: application/json
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
### HTTP response details
|
|
56
|
+
| Status code | Description | Response headers |
|
|
57
|
+
|-------------|-------------|------------------|
|
|
58
|
+
|**200** | | - |
|
|
59
|
+
|
|
60
|
+
[[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)
|
|
61
|
+
|
|
62
|
+
# **chatControllerChannelCreateMultipleUsers**
|
|
63
|
+
> ChatChannelCreateResponseDTO chatControllerChannelCreateMultipleUsers(channelCreateMultipleUsersPayload)
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
### Example
|
|
67
|
+
|
|
68
|
+
```typescript
|
|
69
|
+
import {
|
|
70
|
+
ChatMessagingApi,
|
|
71
|
+
Configuration,
|
|
72
|
+
ChannelCreateMultipleUsersPayload
|
|
73
|
+
} from './api';
|
|
74
|
+
|
|
75
|
+
const configuration = new Configuration();
|
|
76
|
+
const apiInstance = new ChatMessagingApi(configuration);
|
|
77
|
+
|
|
78
|
+
let channelCreateMultipleUsersPayload: ChannelCreateMultipleUsersPayload; //
|
|
79
|
+
|
|
80
|
+
const { status, data } = await apiInstance.chatControllerChannelCreateMultipleUsers(
|
|
81
|
+
channelCreateMultipleUsersPayload
|
|
82
|
+
);
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
### Parameters
|
|
86
|
+
|
|
87
|
+
|Name | Type | Description | Notes|
|
|
88
|
+
|------------- | ------------- | ------------- | -------------|
|
|
89
|
+
| **channelCreateMultipleUsersPayload** | **ChannelCreateMultipleUsersPayload**| | |
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
### Return type
|
|
93
|
+
|
|
94
|
+
**ChatChannelCreateResponseDTO**
|
|
95
|
+
|
|
96
|
+
### Authorization
|
|
97
|
+
|
|
98
|
+
[bearer](../README.md#bearer)
|
|
99
|
+
|
|
100
|
+
### HTTP request headers
|
|
101
|
+
|
|
102
|
+
- **Content-Type**: application/json
|
|
103
|
+
- **Accept**: application/json
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
### HTTP response details
|
|
107
|
+
| Status code | Description | Response headers |
|
|
108
|
+
|-------------|-------------|------------------|
|
|
109
|
+
|**200** | | - |
|
|
110
|
+
|
|
111
|
+
[[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)
|
|
112
|
+
|
|
113
|
+
# **chatControllerCreateUsers**
|
|
114
|
+
> ChatResponseDTO chatControllerCreateUsers(channelCreateMultipleUsersPayload)
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
### Example
|
|
118
|
+
|
|
119
|
+
```typescript
|
|
120
|
+
import {
|
|
121
|
+
ChatMessagingApi,
|
|
122
|
+
Configuration,
|
|
123
|
+
ChannelCreateMultipleUsersPayload
|
|
124
|
+
} from './api';
|
|
125
|
+
|
|
126
|
+
const configuration = new Configuration();
|
|
127
|
+
const apiInstance = new ChatMessagingApi(configuration);
|
|
128
|
+
|
|
129
|
+
let channelCreateMultipleUsersPayload: ChannelCreateMultipleUsersPayload; //
|
|
130
|
+
|
|
131
|
+
const { status, data } = await apiInstance.chatControllerCreateUsers(
|
|
132
|
+
channelCreateMultipleUsersPayload
|
|
133
|
+
);
|
|
134
|
+
```
|
|
135
|
+
|
|
136
|
+
### Parameters
|
|
137
|
+
|
|
138
|
+
|Name | Type | Description | Notes|
|
|
139
|
+
|------------- | ------------- | ------------- | -------------|
|
|
140
|
+
| **channelCreateMultipleUsersPayload** | **ChannelCreateMultipleUsersPayload**| | |
|
|
141
|
+
|
|
142
|
+
|
|
39
143
|
### Return type
|
|
40
144
|
|
|
41
145
|
**ChatResponseDTO**
|
package/docs/ContactsApi.md
CHANGED
|
@@ -172,12 +172,14 @@ let search: string; // (optional) (default to undefined)
|
|
|
172
172
|
let page: number; // (optional) (default to undefined)
|
|
173
173
|
let pageSize: number; // (optional) (default to undefined)
|
|
174
174
|
let contactId: string; // (optional) (default to undefined)
|
|
175
|
+
let users: Array<string>; // (optional) (default to undefined)
|
|
175
176
|
|
|
176
177
|
const { status, data } = await apiInstance.contactsControllerFindContacts(
|
|
177
178
|
search,
|
|
178
179
|
page,
|
|
179
180
|
pageSize,
|
|
180
|
-
contactId
|
|
181
|
+
contactId,
|
|
182
|
+
users
|
|
181
183
|
);
|
|
182
184
|
```
|
|
183
185
|
|
|
@@ -189,6 +191,7 @@ const { status, data } = await apiInstance.contactsControllerFindContacts(
|
|
|
189
191
|
| **page** | [**number**] | | (optional) defaults to undefined|
|
|
190
192
|
| **pageSize** | [**number**] | | (optional) defaults to undefined|
|
|
191
193
|
| **contactId** | [**string**] | | (optional) defaults to undefined|
|
|
194
|
+
| **users** | **Array<string>** | | (optional) defaults to undefined|
|
|
192
195
|
|
|
193
196
|
|
|
194
197
|
### Return type
|
|
@@ -231,12 +234,14 @@ let search: string; // (optional) (default to undefined)
|
|
|
231
234
|
let page: number; // (optional) (default to undefined)
|
|
232
235
|
let pageSize: number; // (optional) (default to undefined)
|
|
233
236
|
let contactId: string; // (optional) (default to undefined)
|
|
237
|
+
let users: Array<string>; // (optional) (default to undefined)
|
|
234
238
|
|
|
235
239
|
const { status, data } = await apiInstance.contactsControllerFindContactsSuggestion(
|
|
236
240
|
search,
|
|
237
241
|
page,
|
|
238
242
|
pageSize,
|
|
239
|
-
contactId
|
|
243
|
+
contactId,
|
|
244
|
+
users
|
|
240
245
|
);
|
|
241
246
|
```
|
|
242
247
|
|
|
@@ -248,6 +253,7 @@ const { status, data } = await apiInstance.contactsControllerFindContactsSuggest
|
|
|
248
253
|
| **page** | [**number**] | | (optional) defaults to undefined|
|
|
249
254
|
| **pageSize** | [**number**] | | (optional) defaults to undefined|
|
|
250
255
|
| **contactId** | [**string**] | | (optional) defaults to undefined|
|
|
256
|
+
| **users** | **Array<string>** | | (optional) defaults to undefined|
|
|
251
257
|
|
|
252
258
|
|
|
253
259
|
### 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 2025-11-
|
|
10
|
-
**recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2025-11-
|
|
9
|
+
**date** | **string** | The start date of the booking | [default to 2025-11-20T08:48:11Z]
|
|
10
|
+
**recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2025-11-20T08:48:11Z]
|
|
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-11-
|
|
10
|
-
**endDate** | **string** | The start date of the booking | [default to 2025-11-
|
|
9
|
+
**startDate** | **string** | The start date of the booking | [default to 2025-11-20T08:48:11Z]
|
|
10
|
+
**endDate** | **string** | The start date of the booking | [default to 2025-11-20T08:48:11Z]
|
|
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-11-
|
|
8
|
+
**date** | **string** | The start date of the booking | [default to 2025-11-20T08:48:11Z]
|
|
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
|
@@ -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-11-
|
|
9
|
-
**endDate** | **string** | The end date of the waitlist | [default to 2025-11-
|
|
8
|
+
**startDate** | **string** | The start date of the waitlist | [default to 2025-11-20T08:48:11Z]
|
|
9
|
+
**endDate** | **string** | The end date of the waitlist | [default to 2025-11-20T09:48:11Z]
|
|
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]
|