@gooday_corp/gooday-api-client 4.1.17 → 4.1.19
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 +111 -18
- package/docs/ChatChannelCreateResponseDTO.md +22 -0
- package/docs/ChatMessagingApi.md +55 -3
- package/docs/ContactsApi.md +8 -2
- package/docs/CreateBookingPayload.md +2 -2
- package/docs/CreateWalkInBookingPayload.md +2 -2
- package/docs/RescheduleBookingPayload.md +1 -1
- package/docs/WaitlistPayloadDTO.md +2 -2
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -112,6 +112,7 @@ docs/CategoryEntity.md
|
|
|
112
112
|
docs/CategoryListResponse.md
|
|
113
113
|
docs/ChannelCreateMultipleUsersPayload.md
|
|
114
114
|
docs/ChannelCreatePayload.md
|
|
115
|
+
docs/ChatChannelCreateResponseDTO.md
|
|
115
116
|
docs/ChatMessagingApi.md
|
|
116
117
|
docs/ChatResponseDTO.md
|
|
117
118
|
docs/ContactDTO.md
|
package/api.ts
CHANGED
|
@@ -1686,6 +1686,13 @@ export interface ChannelCreateMultipleUsersPayload {
|
|
|
1686
1686
|
export interface ChannelCreatePayload {
|
|
1687
1687
|
'userId': string;
|
|
1688
1688
|
}
|
|
1689
|
+
export interface ChatChannelCreateResponseDTO {
|
|
1690
|
+
/**
|
|
1691
|
+
* statusCode
|
|
1692
|
+
*/
|
|
1693
|
+
'statusCode': number;
|
|
1694
|
+
'cid': string;
|
|
1695
|
+
}
|
|
1689
1696
|
export interface ChatResponseDTO {
|
|
1690
1697
|
/**
|
|
1691
1698
|
* statusCode
|
|
@@ -11686,6 +11693,45 @@ export const ChatMessagingApiAxiosParamCreator = function (configuration?: Confi
|
|
|
11686
11693
|
|
|
11687
11694
|
|
|
11688
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
|
+
|
|
11689
11735
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
11690
11736
|
|
|
11691
11737
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -11713,7 +11759,7 @@ export const ChatMessagingApiFp = function(configuration?: Configuration) {
|
|
|
11713
11759
|
* @param {*} [options] Override http request option.
|
|
11714
11760
|
* @throws {RequiredError}
|
|
11715
11761
|
*/
|
|
11716
|
-
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>> {
|
|
11717
11763
|
const localVarAxiosArgs = await localVarAxiosParamCreator.chatControllerChannelCreate(channelCreatePayload, options);
|
|
11718
11764
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
11719
11765
|
const localVarOperationServerBasePath = operationServerMap['ChatMessagingApi.chatControllerChannelCreate']?.[localVarOperationServerIndex]?.url;
|
|
@@ -11725,12 +11771,24 @@ export const ChatMessagingApiFp = function(configuration?: Configuration) {
|
|
|
11725
11771
|
* @param {*} [options] Override http request option.
|
|
11726
11772
|
* @throws {RequiredError}
|
|
11727
11773
|
*/
|
|
11728
|
-
async chatControllerChannelCreateMultipleUsers(channelCreateMultipleUsersPayload: ChannelCreateMultipleUsersPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
11774
|
+
async chatControllerChannelCreateMultipleUsers(channelCreateMultipleUsersPayload: ChannelCreateMultipleUsersPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ChatChannelCreateResponseDTO>> {
|
|
11729
11775
|
const localVarAxiosArgs = await localVarAxiosParamCreator.chatControllerChannelCreateMultipleUsers(channelCreateMultipleUsersPayload, options);
|
|
11730
11776
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
11731
11777
|
const localVarOperationServerBasePath = operationServerMap['ChatMessagingApi.chatControllerChannelCreateMultipleUsers']?.[localVarOperationServerIndex]?.url;
|
|
11732
11778
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11733
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
|
+
},
|
|
11734
11792
|
}
|
|
11735
11793
|
};
|
|
11736
11794
|
|
|
@@ -11746,7 +11804,7 @@ export const ChatMessagingApiFactory = function (configuration?: Configuration,
|
|
|
11746
11804
|
* @param {*} [options] Override http request option.
|
|
11747
11805
|
* @throws {RequiredError}
|
|
11748
11806
|
*/
|
|
11749
|
-
chatControllerChannelCreate(channelCreatePayload: ChannelCreatePayload, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
11807
|
+
chatControllerChannelCreate(channelCreatePayload: ChannelCreatePayload, options?: RawAxiosRequestConfig): AxiosPromise<ChatChannelCreateResponseDTO> {
|
|
11750
11808
|
return localVarFp.chatControllerChannelCreate(channelCreatePayload, options).then((request) => request(axios, basePath));
|
|
11751
11809
|
},
|
|
11752
11810
|
/**
|
|
@@ -11755,9 +11813,18 @@ export const ChatMessagingApiFactory = function (configuration?: Configuration,
|
|
|
11755
11813
|
* @param {*} [options] Override http request option.
|
|
11756
11814
|
* @throws {RequiredError}
|
|
11757
11815
|
*/
|
|
11758
|
-
chatControllerChannelCreateMultipleUsers(channelCreateMultipleUsersPayload: ChannelCreateMultipleUsersPayload, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
11816
|
+
chatControllerChannelCreateMultipleUsers(channelCreateMultipleUsersPayload: ChannelCreateMultipleUsersPayload, options?: RawAxiosRequestConfig): AxiosPromise<ChatChannelCreateResponseDTO> {
|
|
11759
11817
|
return localVarFp.chatControllerChannelCreateMultipleUsers(channelCreateMultipleUsersPayload, options).then((request) => request(axios, basePath));
|
|
11760
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
|
+
},
|
|
11761
11828
|
};
|
|
11762
11829
|
};
|
|
11763
11830
|
|
|
@@ -11784,6 +11851,16 @@ export class ChatMessagingApi extends BaseAPI {
|
|
|
11784
11851
|
public chatControllerChannelCreateMultipleUsers(channelCreateMultipleUsersPayload: ChannelCreateMultipleUsersPayload, options?: RawAxiosRequestConfig) {
|
|
11785
11852
|
return ChatMessagingApiFp(this.configuration).chatControllerChannelCreateMultipleUsers(channelCreateMultipleUsersPayload, options).then((request) => request(this.axios, this.basePath));
|
|
11786
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
|
+
}
|
|
11787
11864
|
}
|
|
11788
11865
|
|
|
11789
11866
|
|
|
@@ -11908,10 +11985,11 @@ export const ContactsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
11908
11985
|
* @param {number} [page]
|
|
11909
11986
|
* @param {number} [pageSize]
|
|
11910
11987
|
* @param {string} [contactId]
|
|
11988
|
+
* @param {Array<string>} [users]
|
|
11911
11989
|
* @param {*} [options] Override http request option.
|
|
11912
11990
|
* @throws {RequiredError}
|
|
11913
11991
|
*/
|
|
11914
|
-
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> => {
|
|
11915
11993
|
const localVarPath = `/v1/contacts`;
|
|
11916
11994
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11917
11995
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -11944,6 +12022,10 @@ export const ContactsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
11944
12022
|
localVarQueryParameter['contactId'] = contactId;
|
|
11945
12023
|
}
|
|
11946
12024
|
|
|
12025
|
+
if (users) {
|
|
12026
|
+
localVarQueryParameter['users'] = users;
|
|
12027
|
+
}
|
|
12028
|
+
|
|
11947
12029
|
|
|
11948
12030
|
|
|
11949
12031
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -11961,10 +12043,11 @@ export const ContactsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
11961
12043
|
* @param {number} [page]
|
|
11962
12044
|
* @param {number} [pageSize]
|
|
11963
12045
|
* @param {string} [contactId]
|
|
12046
|
+
* @param {Array<string>} [users]
|
|
11964
12047
|
* @param {*} [options] Override http request option.
|
|
11965
12048
|
* @throws {RequiredError}
|
|
11966
12049
|
*/
|
|
11967
|
-
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> => {
|
|
11968
12051
|
const localVarPath = `/v1/contacts/suggestion`;
|
|
11969
12052
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11970
12053
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -11997,6 +12080,10 @@ export const ContactsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
11997
12080
|
localVarQueryParameter['contactId'] = contactId;
|
|
11998
12081
|
}
|
|
11999
12082
|
|
|
12083
|
+
if (users) {
|
|
12084
|
+
localVarQueryParameter['users'] = users;
|
|
12085
|
+
}
|
|
12086
|
+
|
|
12000
12087
|
|
|
12001
12088
|
|
|
12002
12089
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -12058,11 +12145,12 @@ export const ContactsApiFp = function(configuration?: Configuration) {
|
|
|
12058
12145
|
* @param {number} [page]
|
|
12059
12146
|
* @param {number} [pageSize]
|
|
12060
12147
|
* @param {string} [contactId]
|
|
12148
|
+
* @param {Array<string>} [users]
|
|
12061
12149
|
* @param {*} [options] Override http request option.
|
|
12062
12150
|
* @throws {RequiredError}
|
|
12063
12151
|
*/
|
|
12064
|
-
async contactsControllerFindContacts(search?: string, page?: number, pageSize?: number, contactId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContactsResponseDTO>> {
|
|
12065
|
-
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);
|
|
12066
12154
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
12067
12155
|
const localVarOperationServerBasePath = operationServerMap['ContactsApi.contactsControllerFindContacts']?.[localVarOperationServerIndex]?.url;
|
|
12068
12156
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -12073,11 +12161,12 @@ export const ContactsApiFp = function(configuration?: Configuration) {
|
|
|
12073
12161
|
* @param {number} [page]
|
|
12074
12162
|
* @param {number} [pageSize]
|
|
12075
12163
|
* @param {string} [contactId]
|
|
12164
|
+
* @param {Array<string>} [users]
|
|
12076
12165
|
* @param {*} [options] Override http request option.
|
|
12077
12166
|
* @throws {RequiredError}
|
|
12078
12167
|
*/
|
|
12079
|
-
async contactsControllerFindContactsSuggestion(search?: string, page?: number, pageSize?: number, contactId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContactsResponseDTO>> {
|
|
12080
|
-
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);
|
|
12081
12170
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
12082
12171
|
const localVarOperationServerBasePath = operationServerMap['ContactsApi.contactsControllerFindContactsSuggestion']?.[localVarOperationServerIndex]?.url;
|
|
12083
12172
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -12123,11 +12212,12 @@ export const ContactsApiFactory = function (configuration?: Configuration, baseP
|
|
|
12123
12212
|
* @param {number} [page]
|
|
12124
12213
|
* @param {number} [pageSize]
|
|
12125
12214
|
* @param {string} [contactId]
|
|
12215
|
+
* @param {Array<string>} [users]
|
|
12126
12216
|
* @param {*} [options] Override http request option.
|
|
12127
12217
|
* @throws {RequiredError}
|
|
12128
12218
|
*/
|
|
12129
|
-
contactsControllerFindContacts(search?: string, page?: number, pageSize?: number, contactId?: string, options?: RawAxiosRequestConfig): AxiosPromise<ContactsResponseDTO> {
|
|
12130
|
-
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));
|
|
12131
12221
|
},
|
|
12132
12222
|
/**
|
|
12133
12223
|
*
|
|
@@ -12135,11 +12225,12 @@ export const ContactsApiFactory = function (configuration?: Configuration, baseP
|
|
|
12135
12225
|
* @param {number} [page]
|
|
12136
12226
|
* @param {number} [pageSize]
|
|
12137
12227
|
* @param {string} [contactId]
|
|
12228
|
+
* @param {Array<string>} [users]
|
|
12138
12229
|
* @param {*} [options] Override http request option.
|
|
12139
12230
|
* @throws {RequiredError}
|
|
12140
12231
|
*/
|
|
12141
|
-
contactsControllerFindContactsSuggestion(search?: string, page?: number, pageSize?: number, contactId?: string, options?: RawAxiosRequestConfig): AxiosPromise<ContactsResponseDTO> {
|
|
12142
|
-
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));
|
|
12143
12234
|
},
|
|
12144
12235
|
};
|
|
12145
12236
|
};
|
|
@@ -12183,11 +12274,12 @@ export class ContactsApi extends BaseAPI {
|
|
|
12183
12274
|
* @param {number} [page]
|
|
12184
12275
|
* @param {number} [pageSize]
|
|
12185
12276
|
* @param {string} [contactId]
|
|
12277
|
+
* @param {Array<string>} [users]
|
|
12186
12278
|
* @param {*} [options] Override http request option.
|
|
12187
12279
|
* @throws {RequiredError}
|
|
12188
12280
|
*/
|
|
12189
|
-
public contactsControllerFindContacts(search?: string, page?: number, pageSize?: number, contactId?: string, options?: RawAxiosRequestConfig) {
|
|
12190
|
-
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));
|
|
12191
12283
|
}
|
|
12192
12284
|
|
|
12193
12285
|
/**
|
|
@@ -12196,11 +12288,12 @@ export class ContactsApi extends BaseAPI {
|
|
|
12196
12288
|
* @param {number} [page]
|
|
12197
12289
|
* @param {number} [pageSize]
|
|
12198
12290
|
* @param {string} [contactId]
|
|
12291
|
+
* @param {Array<string>} [users]
|
|
12199
12292
|
* @param {*} [options] Override http request option.
|
|
12200
12293
|
* @throws {RequiredError}
|
|
12201
12294
|
*/
|
|
12202
|
-
public contactsControllerFindContactsSuggestion(search?: string, page?: number, pageSize?: number, contactId?: string, options?: RawAxiosRequestConfig) {
|
|
12203
|
-
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));
|
|
12204
12297
|
}
|
|
12205
12298
|
}
|
|
12206
12299
|
|
|
@@ -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
|
@@ -6,9 +6,10 @@ All URIs are relative to *http://localhost:8080*
|
|
|
6
6
|
|------------- | ------------- | -------------|
|
|
7
7
|
|[**chatControllerChannelCreate**](#chatcontrollerchannelcreate) | **POST** /v1/chat-messaging | |
|
|
8
8
|
|[**chatControllerChannelCreateMultipleUsers**](#chatcontrollerchannelcreatemultipleusers) | **POST** /v1/chat-messaging/multiple-members | |
|
|
9
|
+
|[**chatControllerCreateUsers**](#chatcontrollercreateusers) | **POST** /v1/chat-messaging/add-users | |
|
|
9
10
|
|
|
10
11
|
# **chatControllerChannelCreate**
|
|
11
|
-
>
|
|
12
|
+
> ChatChannelCreateResponseDTO chatControllerChannelCreate(channelCreatePayload)
|
|
12
13
|
|
|
13
14
|
|
|
14
15
|
### Example
|
|
@@ -39,7 +40,7 @@ const { status, data } = await apiInstance.chatControllerChannelCreate(
|
|
|
39
40
|
|
|
40
41
|
### Return type
|
|
41
42
|
|
|
42
|
-
**
|
|
43
|
+
**ChatChannelCreateResponseDTO**
|
|
43
44
|
|
|
44
45
|
### Authorization
|
|
45
46
|
|
|
@@ -59,7 +60,7 @@ const { status, data } = await apiInstance.chatControllerChannelCreate(
|
|
|
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)
|
|
60
61
|
|
|
61
62
|
# **chatControllerChannelCreateMultipleUsers**
|
|
62
|
-
>
|
|
63
|
+
> ChatChannelCreateResponseDTO chatControllerChannelCreateMultipleUsers(channelCreateMultipleUsersPayload)
|
|
63
64
|
|
|
64
65
|
|
|
65
66
|
### Example
|
|
@@ -88,6 +89,57 @@ const { status, data } = await apiInstance.chatControllerChannelCreateMultipleUs
|
|
|
88
89
|
| **channelCreateMultipleUsersPayload** | **ChannelCreateMultipleUsersPayload**| | |
|
|
89
90
|
|
|
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
|
+
|
|
91
143
|
### Return type
|
|
92
144
|
|
|
93
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-20T11:55:30+05:30]
|
|
10
|
+
**recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2025-11-20T11:55:30+05:30]
|
|
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-20T11:55:30+05:30]
|
|
10
|
+
**endDate** | **string** | The start date of the booking | [default to 2025-11-20T11:55:30+05:30]
|
|
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]
|
|
@@ -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-20T11:55:30+05:30]
|
|
9
9
|
**from** | **string** | | [optional] [default to undefined]
|
|
10
10
|
**to** | **string** | | [optional] [default to undefined]
|
|
11
11
|
**notes** | **string** | | [optional] [default to undefined]
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**startDate** | **string** | The start date of the waitlist | [default to 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-20T11:55:30+05:30]
|
|
9
|
+
**endDate** | **string** | The end date of the waitlist | [default to 2025-11-20T12:55:30+05:30]
|
|
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]
|