@gooday_corp/gooday-api-client 4.1.18 → 4.1.22
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 +12 -4
- package/docs/ChannelCreateMultipleUsersPayload.md +2 -0
- package/docs/ChatChannelCreateResponseDTO.md +22 -0
- package/docs/ChatMessagingApi.md +4 -4
- 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
|
@@ -1680,12 +1680,20 @@ export interface CategoryListResponse {
|
|
|
1680
1680
|
}
|
|
1681
1681
|
export interface ChannelCreateMultipleUsersPayload {
|
|
1682
1682
|
'userId': Array<string>;
|
|
1683
|
+
'id'?: Array<string>;
|
|
1683
1684
|
'profile'?: string;
|
|
1684
1685
|
'name'?: string;
|
|
1685
1686
|
}
|
|
1686
1687
|
export interface ChannelCreatePayload {
|
|
1687
1688
|
'userId': string;
|
|
1688
1689
|
}
|
|
1690
|
+
export interface ChatChannelCreateResponseDTO {
|
|
1691
|
+
/**
|
|
1692
|
+
* statusCode
|
|
1693
|
+
*/
|
|
1694
|
+
'statusCode': number;
|
|
1695
|
+
'cid': string;
|
|
1696
|
+
}
|
|
1689
1697
|
export interface ChatResponseDTO {
|
|
1690
1698
|
/**
|
|
1691
1699
|
* statusCode
|
|
@@ -11752,7 +11760,7 @@ export const ChatMessagingApiFp = function(configuration?: Configuration) {
|
|
|
11752
11760
|
* @param {*} [options] Override http request option.
|
|
11753
11761
|
* @throws {RequiredError}
|
|
11754
11762
|
*/
|
|
11755
|
-
async chatControllerChannelCreate(channelCreatePayload: ChannelCreatePayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
11763
|
+
async chatControllerChannelCreate(channelCreatePayload: ChannelCreatePayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ChatChannelCreateResponseDTO>> {
|
|
11756
11764
|
const localVarAxiosArgs = await localVarAxiosParamCreator.chatControllerChannelCreate(channelCreatePayload, options);
|
|
11757
11765
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
11758
11766
|
const localVarOperationServerBasePath = operationServerMap['ChatMessagingApi.chatControllerChannelCreate']?.[localVarOperationServerIndex]?.url;
|
|
@@ -11764,7 +11772,7 @@ export const ChatMessagingApiFp = function(configuration?: Configuration) {
|
|
|
11764
11772
|
* @param {*} [options] Override http request option.
|
|
11765
11773
|
* @throws {RequiredError}
|
|
11766
11774
|
*/
|
|
11767
|
-
async chatControllerChannelCreateMultipleUsers(channelCreateMultipleUsersPayload: ChannelCreateMultipleUsersPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
11775
|
+
async chatControllerChannelCreateMultipleUsers(channelCreateMultipleUsersPayload: ChannelCreateMultipleUsersPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ChatChannelCreateResponseDTO>> {
|
|
11768
11776
|
const localVarAxiosArgs = await localVarAxiosParamCreator.chatControllerChannelCreateMultipleUsers(channelCreateMultipleUsersPayload, options);
|
|
11769
11777
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
11770
11778
|
const localVarOperationServerBasePath = operationServerMap['ChatMessagingApi.chatControllerChannelCreateMultipleUsers']?.[localVarOperationServerIndex]?.url;
|
|
@@ -11797,7 +11805,7 @@ export const ChatMessagingApiFactory = function (configuration?: Configuration,
|
|
|
11797
11805
|
* @param {*} [options] Override http request option.
|
|
11798
11806
|
* @throws {RequiredError}
|
|
11799
11807
|
*/
|
|
11800
|
-
chatControllerChannelCreate(channelCreatePayload: ChannelCreatePayload, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
11808
|
+
chatControllerChannelCreate(channelCreatePayload: ChannelCreatePayload, options?: RawAxiosRequestConfig): AxiosPromise<ChatChannelCreateResponseDTO> {
|
|
11801
11809
|
return localVarFp.chatControllerChannelCreate(channelCreatePayload, options).then((request) => request(axios, basePath));
|
|
11802
11810
|
},
|
|
11803
11811
|
/**
|
|
@@ -11806,7 +11814,7 @@ export const ChatMessagingApiFactory = function (configuration?: Configuration,
|
|
|
11806
11814
|
* @param {*} [options] Override http request option.
|
|
11807
11815
|
* @throws {RequiredError}
|
|
11808
11816
|
*/
|
|
11809
|
-
chatControllerChannelCreateMultipleUsers(channelCreateMultipleUsersPayload: ChannelCreateMultipleUsersPayload, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
11817
|
+
chatControllerChannelCreateMultipleUsers(channelCreateMultipleUsersPayload: ChannelCreateMultipleUsersPayload, options?: RawAxiosRequestConfig): AxiosPromise<ChatChannelCreateResponseDTO> {
|
|
11810
11818
|
return localVarFp.chatControllerChannelCreateMultipleUsers(channelCreateMultipleUsersPayload, options).then((request) => request(axios, basePath));
|
|
11811
11819
|
},
|
|
11812
11820
|
/**
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**userId** | **Array<string>** | | [default to undefined]
|
|
9
|
+
**id** | **Array<string>** | | [optional] [default to undefined]
|
|
9
10
|
**profile** | **string** | | [optional] [default to undefined]
|
|
10
11
|
**name** | **string** | | [optional] [default to undefined]
|
|
11
12
|
|
|
@@ -16,6 +17,7 @@ import { ChannelCreateMultipleUsersPayload } from './api';
|
|
|
16
17
|
|
|
17
18
|
const instance: ChannelCreateMultipleUsersPayload = {
|
|
18
19
|
userId,
|
|
20
|
+
id,
|
|
19
21
|
profile,
|
|
20
22
|
name,
|
|
21
23
|
};
|
|
@@ -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
|
@@ -9,7 +9,7 @@ All URIs are relative to *http://localhost:8080*
|
|
|
9
9
|
|[**chatControllerCreateUsers**](#chatcontrollercreateusers) | **POST** /v1/chat-messaging/add-users | |
|
|
10
10
|
|
|
11
11
|
# **chatControllerChannelCreate**
|
|
12
|
-
>
|
|
12
|
+
> ChatChannelCreateResponseDTO chatControllerChannelCreate(channelCreatePayload)
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
### Example
|
|
@@ -40,7 +40,7 @@ const { status, data } = await apiInstance.chatControllerChannelCreate(
|
|
|
40
40
|
|
|
41
41
|
### Return type
|
|
42
42
|
|
|
43
|
-
**
|
|
43
|
+
**ChatChannelCreateResponseDTO**
|
|
44
44
|
|
|
45
45
|
### Authorization
|
|
46
46
|
|
|
@@ -60,7 +60,7 @@ const { status, data } = await apiInstance.chatControllerChannelCreate(
|
|
|
60
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
61
|
|
|
62
62
|
# **chatControllerChannelCreateMultipleUsers**
|
|
63
|
-
>
|
|
63
|
+
> ChatChannelCreateResponseDTO chatControllerChannelCreateMultipleUsers(channelCreateMultipleUsersPayload)
|
|
64
64
|
|
|
65
65
|
|
|
66
66
|
### Example
|
|
@@ -91,7 +91,7 @@ const { status, data } = await apiInstance.chatControllerChannelCreateMultipleUs
|
|
|
91
91
|
|
|
92
92
|
### Return type
|
|
93
93
|
|
|
94
|
-
**
|
|
94
|
+
**ChatChannelCreateResponseDTO**
|
|
95
95
|
|
|
96
96
|
### Authorization
|
|
97
97
|
|
|
@@ -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-25T11:48:58+05:30]
|
|
10
|
+
**recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2025-11-25T11:48:58+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-25T11:48:58+05:30]
|
|
10
|
+
**endDate** | **string** | The start date of the booking | [default to 2025-11-25T11:48:58+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-25T11:48:58+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-25T11:48:58+05:30]
|
|
9
|
+
**endDate** | **string** | The end date of the waitlist | [default to 2025-11-25T12:48:58+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]
|