@gooday_corp/gooday-api-client 4.4.16 → 4.4.23

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.
@@ -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
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
@@ -11649,6 +11661,84 @@ export const ChatMessagingApiAxiosParamCreator = function (configuration?: Confi
11649
11661
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
11650
11662
  localVarRequestOptions.data = serializeDataIfNeeded(channelCreatePayload, localVarRequestOptions, configuration)
11651
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
+
11652
11742
  return {
11653
11743
  url: toPathString(localVarUrlObj),
11654
11744
  options: localVarRequestOptions,
@@ -11669,12 +11759,36 @@ export const ChatMessagingApiFp = function(configuration?: Configuration) {
11669
11759
  * @param {*} [options] Override http request option.
11670
11760
  * @throws {RequiredError}
11671
11761
  */
11672
- async chatControllerChannelCreate(channelCreatePayload: ChannelCreatePayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ChatResponseDTO>> {
11762
+ async chatControllerChannelCreate(channelCreatePayload: ChannelCreatePayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ChatChannelCreateResponseDTO>> {
11673
11763
  const localVarAxiosArgs = await localVarAxiosParamCreator.chatControllerChannelCreate(channelCreatePayload, options);
11674
11764
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
11675
11765
  const localVarOperationServerBasePath = operationServerMap['ChatMessagingApi.chatControllerChannelCreate']?.[localVarOperationServerIndex]?.url;
11676
11766
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
11677
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
+ },
11678
11792
  }
11679
11793
  };
11680
11794
 
@@ -11690,9 +11804,27 @@ export const ChatMessagingApiFactory = function (configuration?: Configuration,
11690
11804
  * @param {*} [options] Override http request option.
11691
11805
  * @throws {RequiredError}
11692
11806
  */
11693
- chatControllerChannelCreate(channelCreatePayload: ChannelCreatePayload, options?: RawAxiosRequestConfig): AxiosPromise<ChatResponseDTO> {
11807
+ chatControllerChannelCreate(channelCreatePayload: ChannelCreatePayload, options?: RawAxiosRequestConfig): AxiosPromise<ChatChannelCreateResponseDTO> {
11694
11808
  return localVarFp.chatControllerChannelCreate(channelCreatePayload, options).then((request) => request(axios, basePath));
11695
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
+ },
11696
11828
  };
11697
11829
  };
11698
11830
 
@@ -11709,6 +11841,26 @@ export class ChatMessagingApi extends BaseAPI {
11709
11841
  public chatControllerChannelCreate(channelCreatePayload: ChannelCreatePayload, options?: RawAxiosRequestConfig) {
11710
11842
  return ChatMessagingApiFp(this.configuration).chatControllerChannelCreate(channelCreatePayload, options).then((request) => request(this.axios, this.basePath));
11711
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
+ }
11712
11864
  }
11713
11865
 
11714
11866
 
@@ -11833,10 +11985,11 @@ export const ContactsApiAxiosParamCreator = function (configuration?: Configurat
11833
11985
  * @param {number} [page]
11834
11986
  * @param {number} [pageSize]
11835
11987
  * @param {string} [contactId]
11988
+ * @param {Array<string>} [users]
11836
11989
  * @param {*} [options] Override http request option.
11837
11990
  * @throws {RequiredError}
11838
11991
  */
11839
- 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> => {
11840
11993
  const localVarPath = `/v1/contacts`;
11841
11994
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
11842
11995
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -11869,6 +12022,10 @@ export const ContactsApiAxiosParamCreator = function (configuration?: Configurat
11869
12022
  localVarQueryParameter['contactId'] = contactId;
11870
12023
  }
11871
12024
 
12025
+ if (users) {
12026
+ localVarQueryParameter['users'] = users;
12027
+ }
12028
+
11872
12029
 
11873
12030
 
11874
12031
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -11886,10 +12043,11 @@ export const ContactsApiAxiosParamCreator = function (configuration?: Configurat
11886
12043
  * @param {number} [page]
11887
12044
  * @param {number} [pageSize]
11888
12045
  * @param {string} [contactId]
12046
+ * @param {Array<string>} [users]
11889
12047
  * @param {*} [options] Override http request option.
11890
12048
  * @throws {RequiredError}
11891
12049
  */
11892
- 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> => {
11893
12051
  const localVarPath = `/v1/contacts/suggestion`;
11894
12052
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
11895
12053
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -11922,6 +12080,10 @@ export const ContactsApiAxiosParamCreator = function (configuration?: Configurat
11922
12080
  localVarQueryParameter['contactId'] = contactId;
11923
12081
  }
11924
12082
 
12083
+ if (users) {
12084
+ localVarQueryParameter['users'] = users;
12085
+ }
12086
+
11925
12087
 
11926
12088
 
11927
12089
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -11983,11 +12145,12 @@ export const ContactsApiFp = function(configuration?: Configuration) {
11983
12145
  * @param {number} [page]
11984
12146
  * @param {number} [pageSize]
11985
12147
  * @param {string} [contactId]
12148
+ * @param {Array<string>} [users]
11986
12149
  * @param {*} [options] Override http request option.
11987
12150
  * @throws {RequiredError}
11988
12151
  */
11989
- async contactsControllerFindContacts(search?: string, page?: number, pageSize?: number, contactId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContactsResponseDTO>> {
11990
- 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);
11991
12154
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
11992
12155
  const localVarOperationServerBasePath = operationServerMap['ContactsApi.contactsControllerFindContacts']?.[localVarOperationServerIndex]?.url;
11993
12156
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -11998,11 +12161,12 @@ export const ContactsApiFp = function(configuration?: Configuration) {
11998
12161
  * @param {number} [page]
11999
12162
  * @param {number} [pageSize]
12000
12163
  * @param {string} [contactId]
12164
+ * @param {Array<string>} [users]
12001
12165
  * @param {*} [options] Override http request option.
12002
12166
  * @throws {RequiredError}
12003
12167
  */
12004
- async contactsControllerFindContactsSuggestion(search?: string, page?: number, pageSize?: number, contactId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContactsResponseDTO>> {
12005
- 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);
12006
12170
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
12007
12171
  const localVarOperationServerBasePath = operationServerMap['ContactsApi.contactsControllerFindContactsSuggestion']?.[localVarOperationServerIndex]?.url;
12008
12172
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -12048,11 +12212,12 @@ export const ContactsApiFactory = function (configuration?: Configuration, baseP
12048
12212
  * @param {number} [page]
12049
12213
  * @param {number} [pageSize]
12050
12214
  * @param {string} [contactId]
12215
+ * @param {Array<string>} [users]
12051
12216
  * @param {*} [options] Override http request option.
12052
12217
  * @throws {RequiredError}
12053
12218
  */
12054
- contactsControllerFindContacts(search?: string, page?: number, pageSize?: number, contactId?: string, options?: RawAxiosRequestConfig): AxiosPromise<ContactsResponseDTO> {
12055
- 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));
12056
12221
  },
12057
12222
  /**
12058
12223
  *
@@ -12060,11 +12225,12 @@ export const ContactsApiFactory = function (configuration?: Configuration, baseP
12060
12225
  * @param {number} [page]
12061
12226
  * @param {number} [pageSize]
12062
12227
  * @param {string} [contactId]
12228
+ * @param {Array<string>} [users]
12063
12229
  * @param {*} [options] Override http request option.
12064
12230
  * @throws {RequiredError}
12065
12231
  */
12066
- contactsControllerFindContactsSuggestion(search?: string, page?: number, pageSize?: number, contactId?: string, options?: RawAxiosRequestConfig): AxiosPromise<ContactsResponseDTO> {
12067
- 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));
12068
12234
  },
12069
12235
  };
12070
12236
  };
@@ -12108,11 +12274,12 @@ export class ContactsApi extends BaseAPI {
12108
12274
  * @param {number} [page]
12109
12275
  * @param {number} [pageSize]
12110
12276
  * @param {string} [contactId]
12277
+ * @param {Array<string>} [users]
12111
12278
  * @param {*} [options] Override http request option.
12112
12279
  * @throws {RequiredError}
12113
12280
  */
12114
- public contactsControllerFindContacts(search?: string, page?: number, pageSize?: number, contactId?: string, options?: RawAxiosRequestConfig) {
12115
- 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));
12116
12283
  }
12117
12284
 
12118
12285
  /**
@@ -12121,11 +12288,12 @@ export class ContactsApi extends BaseAPI {
12121
12288
  * @param {number} [page]
12122
12289
  * @param {number} [pageSize]
12123
12290
  * @param {string} [contactId]
12291
+ * @param {Array<string>} [users]
12124
12292
  * @param {*} [options] Override http request option.
12125
12293
  * @throws {RequiredError}
12126
12294
  */
12127
- public contactsControllerFindContactsSuggestion(search?: string, page?: number, pageSize?: number, contactId?: string, options?: RawAxiosRequestConfig) {
12128
- 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));
12129
12297
  }
12130
12298
  }
12131
12299
 
@@ -0,0 +1,24 @@
1
+ # ChannelCreateMultipleUsersPayload
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **userId** | **Array&lt;string&gt;** | | [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)
@@ -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
- > ChatResponseDTO chatControllerChannelCreate(channelCreatePayload)
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**
@@ -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&lt;string&gt;** | | (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&lt;string&gt;** | | (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-05T15:17:45+05:30]
10
- **recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2025-11-05T15:17:45+05:30]
9
+ **date** | **string** | The start date of the booking | [default to 2025-11-24T11:50:59Z]
10
+ **recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2025-11-24T11:50:59Z]
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-05T15:17:45+05:30]
10
- **endDate** | **string** | The start date of the booking | [default to 2025-11-05T15:17:45+05:30]
9
+ **startDate** | **string** | The start date of the booking | [default to 2025-11-24T11:50:59Z]
10
+ **endDate** | **string** | The start date of the booking | [default to 2025-11-24T11:50:59Z]
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&lt;string&gt;** | 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-05T15:17:45+05:30]
8
+ **date** | **string** | The start date of the booking | [default to 2025-11-24T11:50:59Z]
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-05T15:17:45+05:30]
9
- **endDate** | **string** | The end date of the waitlist | [default to 2025-11-05T16:17:45+05:30]
8
+ **startDate** | **string** | The start date of the waitlist | [default to 2025-11-24T11:50:59Z]
9
+ **endDate** | **string** | The end date of the waitlist | [default to 2025-11-24T12:50:59Z]
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&lt;CreateWaitlistBookingCollaboratorPayload&gt;**](CreateWaitlistBookingCollaboratorPayload.md) | The list of collaborators associated with the waitlist | [default to undefined]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gooday_corp/gooday-api-client",
3
- "version": "4.4.16",
3
+ "version": "4.4.23",
4
4
  "description": "API client for Gooday",
5
5
  "main": "index.ts",
6
6
  "scripts": {},