@gooday_corp/gooday-api-client 3.4.0 → 4.1.18
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 +5 -0
- package/.openapi-generator/VERSION +1 -1
- package/api.ts +557 -6417
- package/base.ts +0 -24
- package/common.ts +1 -38
- package/configuration.ts +24 -18
- package/docs/BookingEntity.md +4 -0
- package/docs/BookingResponse.md +4 -0
- package/docs/ChannelCreateMultipleUsersPayload.md +24 -0
- package/docs/ChannelCreatePayload.md +20 -0
- package/docs/ChatMessagingApi.md +163 -0
- package/docs/ChatResponseDTO.md +22 -0
- package/docs/ContactsApi.md +8 -2
- package/docs/CreateBookingPayload.md +4 -2
- package/docs/CreateWalkInBookingPayload.md +4 -2
- package/docs/FindUsersResponseDTO.md +22 -0
- package/docs/MicrosoftCalendarAccessDTO.md +4 -0
- package/docs/RescheduleBookingPayload.md +1 -1
- package/docs/UserEntity.md +2 -0
- package/docs/UsersApi.md +57 -0
- package/docs/WaitlistPayloadDTO.md +2 -2
- package/package.json +1 -1
package/base.ts
CHANGED
|
@@ -21,10 +21,6 @@ import globalAxios from 'axios';
|
|
|
21
21
|
|
|
22
22
|
export const BASE_PATH = "http://localhost:8080".replace(/\/+$/, "");
|
|
23
23
|
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @export
|
|
27
|
-
*/
|
|
28
24
|
export const COLLECTION_FORMATS = {
|
|
29
25
|
csv: ",",
|
|
30
26
|
ssv: " ",
|
|
@@ -32,21 +28,11 @@ export const COLLECTION_FORMATS = {
|
|
|
32
28
|
pipes: "|",
|
|
33
29
|
};
|
|
34
30
|
|
|
35
|
-
/**
|
|
36
|
-
*
|
|
37
|
-
* @export
|
|
38
|
-
* @interface RequestArgs
|
|
39
|
-
*/
|
|
40
31
|
export interface RequestArgs {
|
|
41
32
|
url: string;
|
|
42
33
|
options: RawAxiosRequestConfig;
|
|
43
34
|
}
|
|
44
35
|
|
|
45
|
-
/**
|
|
46
|
-
*
|
|
47
|
-
* @export
|
|
48
|
-
* @class BaseAPI
|
|
49
|
-
*/
|
|
50
36
|
export class BaseAPI {
|
|
51
37
|
protected configuration: Configuration | undefined;
|
|
52
38
|
|
|
@@ -58,12 +44,6 @@ export class BaseAPI {
|
|
|
58
44
|
}
|
|
59
45
|
};
|
|
60
46
|
|
|
61
|
-
/**
|
|
62
|
-
*
|
|
63
|
-
* @export
|
|
64
|
-
* @class RequiredError
|
|
65
|
-
* @extends {Error}
|
|
66
|
-
*/
|
|
67
47
|
export class RequiredError extends Error {
|
|
68
48
|
constructor(public field: string, msg?: string) {
|
|
69
49
|
super(msg);
|
|
@@ -78,9 +58,5 @@ interface ServerMap {
|
|
|
78
58
|
}[];
|
|
79
59
|
}
|
|
80
60
|
|
|
81
|
-
/**
|
|
82
|
-
*
|
|
83
|
-
* @export
|
|
84
|
-
*/
|
|
85
61
|
export const operationServerMap: ServerMap = {
|
|
86
62
|
}
|
package/common.ts
CHANGED
|
@@ -12,22 +12,16 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
|
|
16
15
|
import type { Configuration } from "./configuration";
|
|
17
16
|
import type { RequestArgs } from "./base";
|
|
18
17
|
import type { AxiosInstance, AxiosResponse } from 'axios';
|
|
19
18
|
import { RequiredError } from "./base";
|
|
20
19
|
|
|
21
|
-
/**
|
|
22
|
-
*
|
|
23
|
-
* @export
|
|
24
|
-
*/
|
|
25
20
|
export const DUMMY_BASE_URL = 'https://example.com'
|
|
26
21
|
|
|
27
22
|
/**
|
|
28
23
|
*
|
|
29
24
|
* @throws {RequiredError}
|
|
30
|
-
* @export
|
|
31
25
|
*/
|
|
32
26
|
export const assertParamExists = function (functionName: string, paramName: string, paramValue: unknown) {
|
|
33
27
|
if (paramValue === null || paramValue === undefined) {
|
|
@@ -35,10 +29,6 @@ export const assertParamExists = function (functionName: string, paramName: stri
|
|
|
35
29
|
}
|
|
36
30
|
}
|
|
37
31
|
|
|
38
|
-
/**
|
|
39
|
-
*
|
|
40
|
-
* @export
|
|
41
|
-
*/
|
|
42
32
|
export const setApiKeyToObject = async function (object: any, keyParamName: string, configuration?: Configuration) {
|
|
43
33
|
if (configuration && configuration.apiKey) {
|
|
44
34
|
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
@@ -48,20 +38,12 @@ export const setApiKeyToObject = async function (object: any, keyParamName: stri
|
|
|
48
38
|
}
|
|
49
39
|
}
|
|
50
40
|
|
|
51
|
-
/**
|
|
52
|
-
*
|
|
53
|
-
* @export
|
|
54
|
-
*/
|
|
55
41
|
export const setBasicAuthToObject = function (object: any, configuration?: Configuration) {
|
|
56
42
|
if (configuration && (configuration.username || configuration.password)) {
|
|
57
43
|
object["auth"] = { username: configuration.username, password: configuration.password };
|
|
58
44
|
}
|
|
59
45
|
}
|
|
60
46
|
|
|
61
|
-
/**
|
|
62
|
-
*
|
|
63
|
-
* @export
|
|
64
|
-
*/
|
|
65
47
|
export const setBearerAuthToObject = async function (object: any, configuration?: Configuration) {
|
|
66
48
|
if (configuration && configuration.accessToken) {
|
|
67
49
|
const accessToken = typeof configuration.accessToken === 'function'
|
|
@@ -71,10 +53,6 @@ export const setBearerAuthToObject = async function (object: any, configuration?
|
|
|
71
53
|
}
|
|
72
54
|
}
|
|
73
55
|
|
|
74
|
-
/**
|
|
75
|
-
*
|
|
76
|
-
* @export
|
|
77
|
-
*/
|
|
78
56
|
export const setOAuthToObject = async function (object: any, name: string, scopes: string[], configuration?: Configuration) {
|
|
79
57
|
if (configuration && configuration.accessToken) {
|
|
80
58
|
const localVarAccessTokenValue = typeof configuration.accessToken === 'function'
|
|
@@ -84,6 +62,7 @@ export const setOAuthToObject = async function (object: any, name: string, scope
|
|
|
84
62
|
}
|
|
85
63
|
}
|
|
86
64
|
|
|
65
|
+
|
|
87
66
|
function setFlattenedQueryParams(urlSearchParams: URLSearchParams, parameter: any, key: string = ""): void {
|
|
88
67
|
if (parameter == null) return;
|
|
89
68
|
if (typeof parameter === "object") {
|
|
@@ -106,20 +85,12 @@ function setFlattenedQueryParams(urlSearchParams: URLSearchParams, parameter: an
|
|
|
106
85
|
}
|
|
107
86
|
}
|
|
108
87
|
|
|
109
|
-
/**
|
|
110
|
-
*
|
|
111
|
-
* @export
|
|
112
|
-
*/
|
|
113
88
|
export const setSearchParams = function (url: URL, ...objects: any[]) {
|
|
114
89
|
const searchParams = new URLSearchParams(url.search);
|
|
115
90
|
setFlattenedQueryParams(searchParams, objects);
|
|
116
91
|
url.search = searchParams.toString();
|
|
117
92
|
}
|
|
118
93
|
|
|
119
|
-
/**
|
|
120
|
-
*
|
|
121
|
-
* @export
|
|
122
|
-
*/
|
|
123
94
|
export const serializeDataIfNeeded = function (value: any, requestOptions: any, configuration?: Configuration) {
|
|
124
95
|
const nonString = typeof value !== 'string';
|
|
125
96
|
const needsSerialization = nonString && configuration && configuration.isJsonMime
|
|
@@ -130,18 +101,10 @@ export const serializeDataIfNeeded = function (value: any, requestOptions: any,
|
|
|
130
101
|
: (value || "");
|
|
131
102
|
}
|
|
132
103
|
|
|
133
|
-
/**
|
|
134
|
-
*
|
|
135
|
-
* @export
|
|
136
|
-
*/
|
|
137
104
|
export const toPathString = function (url: URL) {
|
|
138
105
|
return url.pathname + url.search + url.hash
|
|
139
106
|
}
|
|
140
107
|
|
|
141
|
-
/**
|
|
142
|
-
*
|
|
143
|
-
* @export
|
|
144
|
-
*/
|
|
145
108
|
export const createRequestFunction = function (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) {
|
|
146
109
|
return <T = unknown, R = AxiosResponse<T>>(axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
|
|
147
110
|
const axiosRequestArgs = {...axiosArgs.options, url: (axios.defaults.baseURL ? '' : configuration?.basePath ?? basePath) + axiosArgs.url};
|
package/configuration.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
2
|
/**
|
|
4
3
|
* Gooday
|
|
5
4
|
* Gooday API Documentation
|
|
@@ -12,12 +11,24 @@
|
|
|
12
11
|
* Do not edit the class manually.
|
|
13
12
|
*/
|
|
14
13
|
|
|
14
|
+
interface AWSv4Configuration {
|
|
15
|
+
options?: {
|
|
16
|
+
region?: string
|
|
17
|
+
service?: string
|
|
18
|
+
}
|
|
19
|
+
credentials?: {
|
|
20
|
+
accessKeyId?: string
|
|
21
|
+
secretAccessKey?: string,
|
|
22
|
+
sessionToken?: string
|
|
23
|
+
}
|
|
24
|
+
}
|
|
15
25
|
|
|
16
26
|
export interface ConfigurationParameters {
|
|
17
27
|
apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
|
|
18
28
|
username?: string;
|
|
19
29
|
password?: string;
|
|
20
30
|
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
|
31
|
+
awsv4?: AWSv4Configuration;
|
|
21
32
|
basePath?: string;
|
|
22
33
|
serverIndex?: number;
|
|
23
34
|
baseOptions?: any;
|
|
@@ -28,49 +39,43 @@ export class Configuration {
|
|
|
28
39
|
/**
|
|
29
40
|
* parameter for apiKey security
|
|
30
41
|
* @param name security name
|
|
31
|
-
* @memberof Configuration
|
|
32
42
|
*/
|
|
33
43
|
apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
|
|
34
44
|
/**
|
|
35
45
|
* parameter for basic security
|
|
36
|
-
*
|
|
37
|
-
* @type {string}
|
|
38
|
-
* @memberof Configuration
|
|
39
46
|
*/
|
|
40
47
|
username?: string;
|
|
41
48
|
/**
|
|
42
49
|
* parameter for basic security
|
|
43
|
-
*
|
|
44
|
-
* @type {string}
|
|
45
|
-
* @memberof Configuration
|
|
46
50
|
*/
|
|
47
51
|
password?: string;
|
|
48
52
|
/**
|
|
49
53
|
* parameter for oauth2 security
|
|
50
54
|
* @param name security name
|
|
51
55
|
* @param scopes oauth2 scope
|
|
52
|
-
* @memberof Configuration
|
|
53
56
|
*/
|
|
54
57
|
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
|
55
58
|
/**
|
|
56
|
-
*
|
|
57
|
-
*
|
|
58
|
-
* @
|
|
59
|
+
* parameter for aws4 signature security
|
|
60
|
+
* @param {Object} AWS4Signature - AWS4 Signature security
|
|
61
|
+
* @param {string} options.region - aws region
|
|
62
|
+
* @param {string} options.service - name of the service.
|
|
63
|
+
* @param {string} credentials.accessKeyId - aws access key id
|
|
64
|
+
* @param {string} credentials.secretAccessKey - aws access key
|
|
65
|
+
* @param {string} credentials.sessionToken - aws session token
|
|
59
66
|
* @memberof Configuration
|
|
60
67
|
*/
|
|
68
|
+
awsv4?: AWSv4Configuration;
|
|
69
|
+
/**
|
|
70
|
+
* override base path
|
|
71
|
+
*/
|
|
61
72
|
basePath?: string;
|
|
62
73
|
/**
|
|
63
74
|
* override server index
|
|
64
|
-
*
|
|
65
|
-
* @type {number}
|
|
66
|
-
* @memberof Configuration
|
|
67
75
|
*/
|
|
68
76
|
serverIndex?: number;
|
|
69
77
|
/**
|
|
70
78
|
* base options for axios calls
|
|
71
|
-
*
|
|
72
|
-
* @type {any}
|
|
73
|
-
* @memberof Configuration
|
|
74
79
|
*/
|
|
75
80
|
baseOptions?: any;
|
|
76
81
|
/**
|
|
@@ -87,6 +92,7 @@ export class Configuration {
|
|
|
87
92
|
this.username = param.username;
|
|
88
93
|
this.password = param.password;
|
|
89
94
|
this.accessToken = param.accessToken;
|
|
95
|
+
this.awsv4 = param.awsv4;
|
|
90
96
|
this.basePath = param.basePath;
|
|
91
97
|
this.serverIndex = param.serverIndex;
|
|
92
98
|
this.baseOptions = {
|
package/docs/BookingEntity.md
CHANGED
|
@@ -31,7 +31,9 @@ Name | Type | Description | Notes
|
|
|
31
31
|
**paymentMethod** | [**BookingPaymentCreateResponse**](BookingPaymentCreateResponse.md) | | [default to undefined]
|
|
32
32
|
**tags** | [**Array<TagsResponse>**](TagsResponse.md) | | [default to undefined]
|
|
33
33
|
**whatsOn** | [**WhatsOnEntity**](WhatsOnEntity.md) | | [default to undefined]
|
|
34
|
+
**walking** | **object** | | [default to undefined]
|
|
34
35
|
**cancellationFee** | **object** | Cancellation fee | [optional] [default to undefined]
|
|
36
|
+
**images** | **Array<string>** | | [optional] [default to undefined]
|
|
35
37
|
|
|
36
38
|
## Example
|
|
37
39
|
|
|
@@ -65,7 +67,9 @@ const instance: BookingEntity = {
|
|
|
65
67
|
paymentMethod,
|
|
66
68
|
tags,
|
|
67
69
|
whatsOn,
|
|
70
|
+
walking,
|
|
68
71
|
cancellationFee,
|
|
72
|
+
images,
|
|
69
73
|
};
|
|
70
74
|
```
|
|
71
75
|
|
package/docs/BookingResponse.md
CHANGED
|
@@ -26,7 +26,9 @@ Name | Type | Description | Notes
|
|
|
26
26
|
**serviceId** | [**PrepaidServiceEntity**](PrepaidServiceEntity.md) | | [default to undefined]
|
|
27
27
|
**paymentMethod** | [**BookingPaymentCreateResponse**](BookingPaymentCreateResponse.md) | | [default to undefined]
|
|
28
28
|
**whatsOn** | **string** | | [default to undefined]
|
|
29
|
+
**walking** | **object** | | [default to undefined]
|
|
29
30
|
**selectedStaff** | [**BusinessStaffEntity**](BusinessStaffEntity.md) | Staff members involved in the booking | [default to undefined]
|
|
31
|
+
**images** | **Array<string>** | | [optional] [default to undefined]
|
|
30
32
|
|
|
31
33
|
## Example
|
|
32
34
|
|
|
@@ -55,7 +57,9 @@ const instance: BookingResponse = {
|
|
|
55
57
|
serviceId,
|
|
56
58
|
paymentMethod,
|
|
57
59
|
whatsOn,
|
|
60
|
+
walking,
|
|
58
61
|
selectedStaff,
|
|
62
|
+
images,
|
|
59
63
|
};
|
|
60
64
|
```
|
|
61
65
|
|
|
@@ -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,20 @@
|
|
|
1
|
+
# ChannelCreatePayload
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**userId** | **string** | | [default to undefined]
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
import { ChannelCreatePayload } from './api';
|
|
14
|
+
|
|
15
|
+
const instance: ChannelCreatePayload = {
|
|
16
|
+
userId,
|
|
17
|
+
};
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
# ChatMessagingApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *http://localhost:8080*
|
|
4
|
+
|
|
5
|
+
|Method | HTTP request | Description|
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
|[**chatControllerChannelCreate**](#chatcontrollerchannelcreate) | **POST** /v1/chat-messaging | |
|
|
8
|
+
|[**chatControllerChannelCreateMultipleUsers**](#chatcontrollerchannelcreatemultipleusers) | **POST** /v1/chat-messaging/multiple-members | |
|
|
9
|
+
|[**chatControllerCreateUsers**](#chatcontrollercreateusers) | **POST** /v1/chat-messaging/add-users | |
|
|
10
|
+
|
|
11
|
+
# **chatControllerChannelCreate**
|
|
12
|
+
> ChatResponseDTO chatControllerChannelCreate(channelCreatePayload)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Example
|
|
16
|
+
|
|
17
|
+
```typescript
|
|
18
|
+
import {
|
|
19
|
+
ChatMessagingApi,
|
|
20
|
+
Configuration,
|
|
21
|
+
ChannelCreatePayload
|
|
22
|
+
} from './api';
|
|
23
|
+
|
|
24
|
+
const configuration = new Configuration();
|
|
25
|
+
const apiInstance = new ChatMessagingApi(configuration);
|
|
26
|
+
|
|
27
|
+
let channelCreatePayload: ChannelCreatePayload; //
|
|
28
|
+
|
|
29
|
+
const { status, data } = await apiInstance.chatControllerChannelCreate(
|
|
30
|
+
channelCreatePayload
|
|
31
|
+
);
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
### Parameters
|
|
35
|
+
|
|
36
|
+
|Name | Type | Description | Notes|
|
|
37
|
+
|------------- | ------------- | ------------- | -------------|
|
|
38
|
+
| **channelCreatePayload** | **ChannelCreatePayload**| | |
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
### Return type
|
|
42
|
+
|
|
43
|
+
**ChatResponseDTO**
|
|
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
|
+
> ChatResponseDTO 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
|
+
**ChatResponseDTO**
|
|
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
|
+
|
|
143
|
+
### Return type
|
|
144
|
+
|
|
145
|
+
**ChatResponseDTO**
|
|
146
|
+
|
|
147
|
+
### Authorization
|
|
148
|
+
|
|
149
|
+
[bearer](../README.md#bearer)
|
|
150
|
+
|
|
151
|
+
### HTTP request headers
|
|
152
|
+
|
|
153
|
+
- **Content-Type**: application/json
|
|
154
|
+
- **Accept**: application/json
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
### HTTP response details
|
|
158
|
+
| Status code | Description | Response headers |
|
|
159
|
+
|-------------|-------------|------------------|
|
|
160
|
+
|**200** | | - |
|
|
161
|
+
|
|
162
|
+
[[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)
|
|
163
|
+
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# ChatResponseDTO
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**statusCode** | **number** | statusCode | [default to undefined]
|
|
9
|
+
**success** | **boolean** | | [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { ChatResponseDTO } from './api';
|
|
15
|
+
|
|
16
|
+
const instance: ChatResponseDTO = {
|
|
17
|
+
statusCode,
|
|
18
|
+
success,
|
|
19
|
+
};
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
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-
|
|
10
|
-
**recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2025-
|
|
9
|
+
**date** | **string** | The start date of the booking | [default to 2025-11-19T11:54:02+05:30]
|
|
10
|
+
**recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2025-11-19T11:54:02+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]
|
|
@@ -27,6 +27,7 @@ Name | Type | Description | Notes
|
|
|
27
27
|
**serviceId** | **string** | | [optional] [default to undefined]
|
|
28
28
|
**paymentMethod** | [**BookingPaymentCreateResponse**](BookingPaymentCreateResponse.md) | | [optional] [default to undefined]
|
|
29
29
|
**discountId** | **string** | | [optional] [default to undefined]
|
|
30
|
+
**images** | **Array<string>** | | [optional] [default to undefined]
|
|
30
31
|
|
|
31
32
|
## Example
|
|
32
33
|
|
|
@@ -56,6 +57,7 @@ const instance: CreateBookingPayload = {
|
|
|
56
57
|
serviceId,
|
|
57
58
|
paymentMethod,
|
|
58
59
|
discountId,
|
|
60
|
+
images,
|
|
59
61
|
};
|
|
60
62
|
```
|
|
61
63
|
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**title** | **string** | The title of the booking | [default to 'Default Booking Title']
|
|
9
|
-
**startDate** | **string** | The start date of the booking | [default to 2025-
|
|
10
|
-
**endDate** | **string** | The start date of the booking | [default to 2025-
|
|
9
|
+
**startDate** | **string** | The start date of the booking | [default to 2025-11-19T11:54:02+05:30]
|
|
10
|
+
**endDate** | **string** | The start date of the booking | [default to 2025-11-19T11:54:02+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]
|
|
@@ -17,6 +17,7 @@ Name | Type | Description | Notes
|
|
|
17
17
|
**tags** | **Array<string>** | | [optional] [default to undefined]
|
|
18
18
|
**quantity** | **number** | | [default to undefined]
|
|
19
19
|
**walking** | **object** | | [default to undefined]
|
|
20
|
+
**images** | **Array<string>** | | [default to undefined]
|
|
20
21
|
|
|
21
22
|
## Example
|
|
22
23
|
|
|
@@ -36,6 +37,7 @@ const instance: CreateWalkInBookingPayload = {
|
|
|
36
37
|
tags,
|
|
37
38
|
quantity,
|
|
38
39
|
walking,
|
|
40
|
+
images,
|
|
39
41
|
};
|
|
40
42
|
```
|
|
41
43
|
|
|
@@ -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)
|
|
@@ -6,7 +6,9 @@
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**accessToken** | **string** | accessToken | [default to undefined]
|
|
9
|
+
**idToken** | **string** | accessToken | [optional] [default to undefined]
|
|
9
10
|
**refreshToken** | **string** | refreshToken | [default to undefined]
|
|
11
|
+
**expiryTime** | **string** | refreshToken | [optional] [default to undefined]
|
|
10
12
|
|
|
11
13
|
## Example
|
|
12
14
|
|
|
@@ -15,7 +17,9 @@ import { MicrosoftCalendarAccessDTO } from './api';
|
|
|
15
17
|
|
|
16
18
|
const instance: MicrosoftCalendarAccessDTO = {
|
|
17
19
|
accessToken,
|
|
20
|
+
idToken,
|
|
18
21
|
refreshToken,
|
|
22
|
+
expiryTime,
|
|
19
23
|
};
|
|
20
24
|
```
|
|
21
25
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**date** | **string** | The start date of the booking | [default to 2025-
|
|
8
|
+
**date** | **string** | The start date of the booking | [default to 2025-11-19T11:54:02+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]
|