@gooday_corp/gooday-api-client 4.6.0 → 4.6.2
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 +19 -0
- package/.openapi-generator/VERSION +1 -1
- package/api.ts +12703 -1995
- package/base.ts +24 -0
- package/common.ts +38 -14
- package/configuration.ts +18 -24
- package/docs/AcceptBookingInvitePayload.md +3 -1
- package/docs/BookingPaymentCreateResponse.md +4 -0
- package/docs/BusinessApi.md +103 -9
- package/docs/BusinessOnBoardingDTO.md +2 -0
- package/docs/ConfirmRSVPV2PaymentDTO.md +20 -0
- package/docs/CreateBookingPayload.md +2 -2
- package/docs/CreateRSVPCollaboratorPayload.md +32 -0
- package/docs/CreateRSVPEventBookingPayload.md +2 -2
- package/docs/CreateRSVPEventV2DTO.md +94 -0
- package/docs/CreateWalkInBookingPayload.md +2 -2
- package/docs/DiscountV2DTO.md +22 -0
- package/docs/HashtagPayloadDTO.md +22 -0
- package/docs/HashtagResponseDTO.md +22 -0
- package/docs/HashtagUpdatePayloadDTO.md +24 -0
- package/docs/HashtagsApi.md +327 -0
- package/docs/HashtagsResponse.md +24 -0
- package/docs/HashtagsResponseDTO.md +22 -0
- package/docs/HostV2DTO.md +22 -0
- package/docs/InviteRSVPArrayDTO.md +20 -0
- package/docs/InviteRSVPDTO.md +34 -0
- package/docs/JoinRSVPEventDTO.md +34 -0
- package/docs/PaymentDetailsPayload.md +2 -2
- package/docs/PlansApi.md +44 -0
- package/docs/PromoCodeResponseDTO.md +2 -0
- package/docs/RSVPEvenPayloadDTO.md +10 -0
- package/docs/RSVPEventApi.md +52 -0
- package/docs/RSVPEventEntity.md +6 -0
- package/docs/RSVPEventFindDTO.md +6 -2
- package/docs/RSVPEventFindV2DTO.md +32 -0
- package/docs/RSVPEventLocationDTO.md +2 -2
- package/docs/RSVPEventMetaDTO.md +1 -1
- package/docs/RSVPEventMetaDataDTO.md +2 -0
- package/docs/RSVPV2Api.md +1054 -0
- package/docs/RejectBookingInvitePayload.md +3 -1
- package/docs/RescheduleBookingPayload.md +1 -1
- package/docs/SetupRSVPV2PaymentDTO.md +20 -0
- package/docs/SignupDto.md +2 -0
- package/docs/TagsApi.md +4 -4
- package/docs/UpdateRSVPEventV2DTO.md +94 -0
- package/docs/UpdateRSVPStatusDTO.md +20 -0
- package/docs/UserEntity.md +2 -0
- package/docs/WaitlistPayloadDTO.md +2 -2
- package/docs/WhatsOnLocationDTO.md +3 -3
- package/docs/WhatsOnLocationMetaDTO.md +1 -1
- package/package.json +1 -1
package/base.ts
CHANGED
|
@@ -21,6 +21,10 @@ import globalAxios from 'axios';
|
|
|
21
21
|
|
|
22
22
|
export const BASE_PATH = "http://localhost:8080".replace(/\/+$/, "");
|
|
23
23
|
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
*/
|
|
24
28
|
export const COLLECTION_FORMATS = {
|
|
25
29
|
csv: ",",
|
|
26
30
|
ssv: " ",
|
|
@@ -28,11 +32,21 @@ export const COLLECTION_FORMATS = {
|
|
|
28
32
|
pipes: "|",
|
|
29
33
|
};
|
|
30
34
|
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @export
|
|
38
|
+
* @interface RequestArgs
|
|
39
|
+
*/
|
|
31
40
|
export interface RequestArgs {
|
|
32
41
|
url: string;
|
|
33
42
|
options: RawAxiosRequestConfig;
|
|
34
43
|
}
|
|
35
44
|
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
* @export
|
|
48
|
+
* @class BaseAPI
|
|
49
|
+
*/
|
|
36
50
|
export class BaseAPI {
|
|
37
51
|
protected configuration: Configuration | undefined;
|
|
38
52
|
|
|
@@ -44,6 +58,12 @@ export class BaseAPI {
|
|
|
44
58
|
}
|
|
45
59
|
};
|
|
46
60
|
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @export
|
|
64
|
+
* @class RequiredError
|
|
65
|
+
* @extends {Error}
|
|
66
|
+
*/
|
|
47
67
|
export class RequiredError extends Error {
|
|
48
68
|
constructor(public field: string, msg?: string) {
|
|
49
69
|
super(msg);
|
|
@@ -58,5 +78,9 @@ interface ServerMap {
|
|
|
58
78
|
}[];
|
|
59
79
|
}
|
|
60
80
|
|
|
81
|
+
/**
|
|
82
|
+
*
|
|
83
|
+
* @export
|
|
84
|
+
*/
|
|
61
85
|
export const operationServerMap: ServerMap = {
|
|
62
86
|
}
|
package/common.ts
CHANGED
|
@@ -12,16 +12,22 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
+
|
|
15
16
|
import type { Configuration } from "./configuration";
|
|
16
17
|
import type { RequestArgs } from "./base";
|
|
17
18
|
import type { AxiosInstance, AxiosResponse } from 'axios';
|
|
18
19
|
import { RequiredError } from "./base";
|
|
19
20
|
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
20
25
|
export const DUMMY_BASE_URL = 'https://example.com'
|
|
21
26
|
|
|
22
27
|
/**
|
|
23
28
|
*
|
|
24
29
|
* @throws {RequiredError}
|
|
30
|
+
* @export
|
|
25
31
|
*/
|
|
26
32
|
export const assertParamExists = function (functionName: string, paramName: string, paramValue: unknown) {
|
|
27
33
|
if (paramValue === null || paramValue === undefined) {
|
|
@@ -29,6 +35,10 @@ export const assertParamExists = function (functionName: string, paramName: stri
|
|
|
29
35
|
}
|
|
30
36
|
}
|
|
31
37
|
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @export
|
|
41
|
+
*/
|
|
32
42
|
export const setApiKeyToObject = async function (object: any, keyParamName: string, configuration?: Configuration) {
|
|
33
43
|
if (configuration && configuration.apiKey) {
|
|
34
44
|
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
@@ -38,12 +48,20 @@ export const setApiKeyToObject = async function (object: any, keyParamName: stri
|
|
|
38
48
|
}
|
|
39
49
|
}
|
|
40
50
|
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* @export
|
|
54
|
+
*/
|
|
41
55
|
export const setBasicAuthToObject = function (object: any, configuration?: Configuration) {
|
|
42
56
|
if (configuration && (configuration.username || configuration.password)) {
|
|
43
57
|
object["auth"] = { username: configuration.username, password: configuration.password };
|
|
44
58
|
}
|
|
45
59
|
}
|
|
46
60
|
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @export
|
|
64
|
+
*/
|
|
47
65
|
export const setBearerAuthToObject = async function (object: any, configuration?: Configuration) {
|
|
48
66
|
if (configuration && configuration.accessToken) {
|
|
49
67
|
const accessToken = typeof configuration.accessToken === 'function'
|
|
@@ -53,6 +71,10 @@ export const setBearerAuthToObject = async function (object: any, configuration?
|
|
|
53
71
|
}
|
|
54
72
|
}
|
|
55
73
|
|
|
74
|
+
/**
|
|
75
|
+
*
|
|
76
|
+
* @export
|
|
77
|
+
*/
|
|
56
78
|
export const setOAuthToObject = async function (object: any, name: string, scopes: string[], configuration?: Configuration) {
|
|
57
79
|
if (configuration && configuration.accessToken) {
|
|
58
80
|
const localVarAccessTokenValue = typeof configuration.accessToken === 'function'
|
|
@@ -62,11 +84,10 @@ export const setOAuthToObject = async function (object: any, name: string, scope
|
|
|
62
84
|
}
|
|
63
85
|
}
|
|
64
86
|
|
|
65
|
-
|
|
66
87
|
function setFlattenedQueryParams(urlSearchParams: URLSearchParams, parameter: any, key: string = ""): void {
|
|
67
88
|
if (parameter == null) return;
|
|
68
89
|
if (typeof parameter === "object") {
|
|
69
|
-
if (Array.isArray(parameter)
|
|
90
|
+
if (Array.isArray(parameter)) {
|
|
70
91
|
(parameter as any[]).forEach(item => setFlattenedQueryParams(urlSearchParams, item, key));
|
|
71
92
|
}
|
|
72
93
|
else {
|
|
@@ -85,6 +106,10 @@ function setFlattenedQueryParams(urlSearchParams: URLSearchParams, parameter: an
|
|
|
85
106
|
}
|
|
86
107
|
}
|
|
87
108
|
|
|
109
|
+
/**
|
|
110
|
+
*
|
|
111
|
+
* @export
|
|
112
|
+
*/
|
|
88
113
|
export const setSearchParams = function (url: URL, ...objects: any[]) {
|
|
89
114
|
const searchParams = new URLSearchParams(url.search);
|
|
90
115
|
setFlattenedQueryParams(searchParams, objects);
|
|
@@ -92,32 +117,31 @@ export const setSearchParams = function (url: URL, ...objects: any[]) {
|
|
|
92
117
|
}
|
|
93
118
|
|
|
94
119
|
/**
|
|
95
|
-
*
|
|
96
|
-
*
|
|
97
|
-
* Converting a set to a string will return an empty object, so an intermediate conversion to an array is required.
|
|
120
|
+
*
|
|
121
|
+
* @export
|
|
98
122
|
*/
|
|
99
|
-
export const replaceWithSerializableTypeIfNeeded = function(key: any, value: any) {
|
|
100
|
-
if (value instanceof Set) {
|
|
101
|
-
return Array.from(value);
|
|
102
|
-
} else {
|
|
103
|
-
return value;
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
|
|
107
123
|
export const serializeDataIfNeeded = function (value: any, requestOptions: any, configuration?: Configuration) {
|
|
108
124
|
const nonString = typeof value !== 'string';
|
|
109
125
|
const needsSerialization = nonString && configuration && configuration.isJsonMime
|
|
110
126
|
? configuration.isJsonMime(requestOptions.headers['Content-Type'])
|
|
111
127
|
: nonString;
|
|
112
128
|
return needsSerialization
|
|
113
|
-
? JSON.stringify(value !== undefined ? value : {}
|
|
129
|
+
? JSON.stringify(value !== undefined ? value : {})
|
|
114
130
|
: (value || "");
|
|
115
131
|
}
|
|
116
132
|
|
|
133
|
+
/**
|
|
134
|
+
*
|
|
135
|
+
* @export
|
|
136
|
+
*/
|
|
117
137
|
export const toPathString = function (url: URL) {
|
|
118
138
|
return url.pathname + url.search + url.hash
|
|
119
139
|
}
|
|
120
140
|
|
|
141
|
+
/**
|
|
142
|
+
*
|
|
143
|
+
* @export
|
|
144
|
+
*/
|
|
121
145
|
export const createRequestFunction = function (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) {
|
|
122
146
|
return <T = unknown, R = AxiosResponse<T>>(axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
|
|
123
147
|
const axiosRequestArgs = {...axiosArgs.options, url: (axios.defaults.baseURL ? '' : configuration?.basePath ?? basePath) + axiosArgs.url};
|
package/configuration.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
2
3
|
/**
|
|
3
4
|
* Gooday
|
|
4
5
|
* Gooday API Documentation
|
|
@@ -11,24 +12,12 @@
|
|
|
11
12
|
* Do not edit the class manually.
|
|
12
13
|
*/
|
|
13
14
|
|
|
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
|
-
}
|
|
25
15
|
|
|
26
16
|
export interface ConfigurationParameters {
|
|
27
17
|
apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
|
|
28
18
|
username?: string;
|
|
29
19
|
password?: string;
|
|
30
20
|
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
|
31
|
-
awsv4?: AWSv4Configuration;
|
|
32
21
|
basePath?: string;
|
|
33
22
|
serverIndex?: number;
|
|
34
23
|
baseOptions?: any;
|
|
@@ -39,43 +28,49 @@ export class Configuration {
|
|
|
39
28
|
/**
|
|
40
29
|
* parameter for apiKey security
|
|
41
30
|
* @param name security name
|
|
31
|
+
* @memberof Configuration
|
|
42
32
|
*/
|
|
43
33
|
apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
|
|
44
34
|
/**
|
|
45
35
|
* parameter for basic security
|
|
36
|
+
*
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof Configuration
|
|
46
39
|
*/
|
|
47
40
|
username?: string;
|
|
48
41
|
/**
|
|
49
42
|
* parameter for basic security
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof Configuration
|
|
50
46
|
*/
|
|
51
47
|
password?: string;
|
|
52
48
|
/**
|
|
53
49
|
* parameter for oauth2 security
|
|
54
50
|
* @param name security name
|
|
55
51
|
* @param scopes oauth2 scope
|
|
56
|
-
*/
|
|
57
|
-
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
|
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
|
|
66
52
|
* @memberof Configuration
|
|
67
53
|
*/
|
|
68
|
-
|
|
54
|
+
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
|
69
55
|
/**
|
|
70
56
|
* override base path
|
|
57
|
+
*
|
|
58
|
+
* @type {string}
|
|
59
|
+
* @memberof Configuration
|
|
71
60
|
*/
|
|
72
61
|
basePath?: string;
|
|
73
62
|
/**
|
|
74
63
|
* override server index
|
|
64
|
+
*
|
|
65
|
+
* @type {number}
|
|
66
|
+
* @memberof Configuration
|
|
75
67
|
*/
|
|
76
68
|
serverIndex?: number;
|
|
77
69
|
/**
|
|
78
70
|
* base options for axios calls
|
|
71
|
+
*
|
|
72
|
+
* @type {any}
|
|
73
|
+
* @memberof Configuration
|
|
79
74
|
*/
|
|
80
75
|
baseOptions?: any;
|
|
81
76
|
/**
|
|
@@ -92,7 +87,6 @@ export class Configuration {
|
|
|
92
87
|
this.username = param.username;
|
|
93
88
|
this.password = param.password;
|
|
94
89
|
this.accessToken = param.accessToken;
|
|
95
|
-
this.awsv4 = param.awsv4;
|
|
96
90
|
this.basePath = param.basePath;
|
|
97
91
|
this.serverIndex = param.serverIndex;
|
|
98
92
|
this.baseOptions = {
|
|
@@ -5,7 +5,8 @@
|
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**bookingId** | **string** | ID of the booking | [default to undefined]
|
|
8
|
+
**bookingId** | **string** | ID of the booking | [optional] [default to undefined]
|
|
9
|
+
**rsvpId** | **string** | ID of the rsvp | [optional] [default to undefined]
|
|
9
10
|
|
|
10
11
|
## Example
|
|
11
12
|
|
|
@@ -14,6 +15,7 @@ import { AcceptBookingInvitePayload } from './api';
|
|
|
14
15
|
|
|
15
16
|
const instance: AcceptBookingInvitePayload = {
|
|
16
17
|
bookingId,
|
|
18
|
+
rsvpId,
|
|
17
19
|
};
|
|
18
20
|
```
|
|
19
21
|
|
|
@@ -7,6 +7,8 @@ Name | Type | Description | Notes
|
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**paymentId** | **string** | Payment method ID | [default to undefined]
|
|
9
9
|
**paymentIntent** | **string** | Payment intent ID | [default to undefined]
|
|
10
|
+
**clientSecret** | **string** | Stripe Client Secret | [default to undefined]
|
|
11
|
+
**client_secret** | **string** | Stripe Client Secret | [default to undefined]
|
|
10
12
|
**ephemeralKey** | **string** | | [default to undefined]
|
|
11
13
|
**customer** | **string** | | [default to undefined]
|
|
12
14
|
**subscriptionId** | **string** | Only available if payment is recurring | [optional] [default to undefined]
|
|
@@ -23,6 +25,8 @@ import { BookingPaymentCreateResponse } from './api';
|
|
|
23
25
|
const instance: BookingPaymentCreateResponse = {
|
|
24
26
|
paymentId,
|
|
25
27
|
paymentIntent,
|
|
28
|
+
clientSecret,
|
|
29
|
+
client_secret,
|
|
26
30
|
ephemeralKey,
|
|
27
31
|
customer,
|
|
28
32
|
subscriptionId,
|
package/docs/BusinessApi.md
CHANGED
|
@@ -6,6 +6,8 @@ All URIs are relative to *http://localhost:8080*
|
|
|
6
6
|
|------------- | ------------- | -------------|
|
|
7
7
|
|[**businessControllerBusinessBookingFeeUpdate**](#businesscontrollerbusinessbookingfeeupdate) | **PUT** /v1/business/booking/fee | |
|
|
8
8
|
|[**businessControllerBusinessOnboarding**](#businesscontrollerbusinessonboarding) | **POST** /v1/business/onboarding | |
|
|
9
|
+
|[**businessControllerDisconnectStripe**](#businesscontrollerdisconnectstripe) | **POST** /v1/business/stripe/disconnect | |
|
|
10
|
+
|[**businessControllerFindBusiness**](#businesscontrollerfindbusiness) | **GET** /v1/business/hosts | |
|
|
9
11
|
|[**businessControllerGetMe**](#businesscontrollergetme) | **GET** /v1/business/me | |
|
|
10
12
|
|[**businessControllerListBusinesses**](#businesscontrollerlistbusinesses) | **GET** /v1/business | |
|
|
11
13
|
|[**businessControllerUpdateBusinessDetails**](#businesscontrollerupdatebusinessdetails) | **PUT** /v1/business/business-details | |
|
|
@@ -140,6 +142,105 @@ const { status, data } = await apiInstance.businessControllerBusinessOnboarding(
|
|
|
140
142
|
|
|
141
143
|
[[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)
|
|
142
144
|
|
|
145
|
+
# **businessControllerDisconnectStripe**
|
|
146
|
+
> businessControllerDisconnectStripe()
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
### Example
|
|
150
|
+
|
|
151
|
+
```typescript
|
|
152
|
+
import {
|
|
153
|
+
BusinessApi,
|
|
154
|
+
Configuration
|
|
155
|
+
} from './api';
|
|
156
|
+
|
|
157
|
+
const configuration = new Configuration();
|
|
158
|
+
const apiInstance = new BusinessApi(configuration);
|
|
159
|
+
|
|
160
|
+
const { status, data } = await apiInstance.businessControllerDisconnectStripe();
|
|
161
|
+
```
|
|
162
|
+
|
|
163
|
+
### Parameters
|
|
164
|
+
This endpoint does not have any parameters.
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
### Return type
|
|
168
|
+
|
|
169
|
+
void (empty response body)
|
|
170
|
+
|
|
171
|
+
### Authorization
|
|
172
|
+
|
|
173
|
+
[bearer](../README.md#bearer)
|
|
174
|
+
|
|
175
|
+
### HTTP request headers
|
|
176
|
+
|
|
177
|
+
- **Content-Type**: Not defined
|
|
178
|
+
- **Accept**: Not defined
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
### HTTP response details
|
|
182
|
+
| Status code | Description | Response headers |
|
|
183
|
+
|-------------|-------------|------------------|
|
|
184
|
+
|**200** | Stripe account disconnected successfully | - |
|
|
185
|
+
|
|
186
|
+
[[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)
|
|
187
|
+
|
|
188
|
+
# **businessControllerFindBusiness**
|
|
189
|
+
> Array<UserEntity> businessControllerFindBusiness()
|
|
190
|
+
|
|
191
|
+
|
|
192
|
+
### Example
|
|
193
|
+
|
|
194
|
+
```typescript
|
|
195
|
+
import {
|
|
196
|
+
BusinessApi,
|
|
197
|
+
Configuration
|
|
198
|
+
} from './api';
|
|
199
|
+
|
|
200
|
+
const configuration = new Configuration();
|
|
201
|
+
const apiInstance = new BusinessApi(configuration);
|
|
202
|
+
|
|
203
|
+
let page: number; // (default to undefined)
|
|
204
|
+
let pageSize: number; // (default to undefined)
|
|
205
|
+
let query: string; // (optional) (default to undefined)
|
|
206
|
+
|
|
207
|
+
const { status, data } = await apiInstance.businessControllerFindBusiness(
|
|
208
|
+
page,
|
|
209
|
+
pageSize,
|
|
210
|
+
query
|
|
211
|
+
);
|
|
212
|
+
```
|
|
213
|
+
|
|
214
|
+
### Parameters
|
|
215
|
+
|
|
216
|
+
|Name | Type | Description | Notes|
|
|
217
|
+
|------------- | ------------- | ------------- | -------------|
|
|
218
|
+
| **page** | [**number**] | | defaults to undefined|
|
|
219
|
+
| **pageSize** | [**number**] | | defaults to undefined|
|
|
220
|
+
| **query** | [**string**] | | (optional) defaults to undefined|
|
|
221
|
+
|
|
222
|
+
|
|
223
|
+
### Return type
|
|
224
|
+
|
|
225
|
+
**Array<UserEntity>**
|
|
226
|
+
|
|
227
|
+
### Authorization
|
|
228
|
+
|
|
229
|
+
No authorization required
|
|
230
|
+
|
|
231
|
+
### HTTP request headers
|
|
232
|
+
|
|
233
|
+
- **Content-Type**: Not defined
|
|
234
|
+
- **Accept**: application/json
|
|
235
|
+
|
|
236
|
+
|
|
237
|
+
### HTTP response details
|
|
238
|
+
| Status code | Description | Response headers |
|
|
239
|
+
|-------------|-------------|------------------|
|
|
240
|
+
|**200** | | - |
|
|
241
|
+
|
|
242
|
+
[[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)
|
|
243
|
+
|
|
143
244
|
# **businessControllerGetMe**
|
|
144
245
|
> BusinessOnBoardingResponseDTO businessControllerGetMe()
|
|
145
246
|
|
|
@@ -1199,18 +1300,11 @@ import {
|
|
|
1199
1300
|
const configuration = new Configuration();
|
|
1200
1301
|
const apiInstance = new BusinessApi(configuration);
|
|
1201
1302
|
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
const { status, data } = await apiInstance.businessTypeControllerListAllCategories(
|
|
1205
|
-
id
|
|
1206
|
-
);
|
|
1303
|
+
const { status, data } = await apiInstance.businessTypeControllerListAllCategories();
|
|
1207
1304
|
```
|
|
1208
1305
|
|
|
1209
1306
|
### Parameters
|
|
1210
|
-
|
|
1211
|
-
|Name | Type | Description | Notes|
|
|
1212
|
-
|------------- | ------------- | ------------- | -------------|
|
|
1213
|
-
| **id** | [**string**] | Unique identifier for the category | (optional) defaults to undefined|
|
|
1307
|
+
This endpoint does not have any parameters.
|
|
1214
1308
|
|
|
1215
1309
|
|
|
1216
1310
|
### Return type
|
|
@@ -13,6 +13,7 @@ Name | Type | Description | Notes
|
|
|
13
13
|
**businessCountry** | **string** | Business Country | [optional] [default to undefined]
|
|
14
14
|
**businessType** | **string** | Business Type | [optional] [default to undefined]
|
|
15
15
|
**businessCategory** | **string** | Business Category | [optional] [default to undefined]
|
|
16
|
+
**businessCategoryCustom** | **string** | Business Category | [optional] [default to undefined]
|
|
16
17
|
**assistant** | **string** | Assistant ID | [optional] [default to undefined]
|
|
17
18
|
**cancellationDuration** | **string** | | [optional] [default to undefined]
|
|
18
19
|
|
|
@@ -30,6 +31,7 @@ const instance: BusinessOnBoardingDTO = {
|
|
|
30
31
|
businessCountry,
|
|
31
32
|
businessType,
|
|
32
33
|
businessCategory,
|
|
34
|
+
businessCategoryCustom,
|
|
33
35
|
assistant,
|
|
34
36
|
cancellationDuration,
|
|
35
37
|
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# ConfirmRSVPV2PaymentDTO
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**paymentGroupId** | **string** | | [default to undefined]
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
import { ConfirmRSVPV2PaymentDTO } from './api';
|
|
14
|
+
|
|
15
|
+
const instance: ConfirmRSVPV2PaymentDTO = {
|
|
16
|
+
paymentGroupId,
|
|
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)
|
|
@@ -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 2026-
|
|
10
|
-
**recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2026-
|
|
9
|
+
**date** | **string** | The start date of the booking | [default to 2026-04-15T07:10:12Z]
|
|
10
|
+
**recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2026-04-15T07:10:12Z]
|
|
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]
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# CreateRSVPCollaboratorPayload
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**_id** | **string** | The unique identifier of the customer | [optional] [default to undefined]
|
|
9
|
+
**name** | **string** | The name of the customer | [optional] [default to 'John Doe']
|
|
10
|
+
**firstName** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**lastName** | **string** | | [optional] [default to undefined]
|
|
12
|
+
**mobile** | **string** | The mobile phone number of the customer | [optional] [default to '+11234567890']
|
|
13
|
+
**email** | **string** | The email address of the customer | [optional] [default to 'example@example.com']
|
|
14
|
+
**goodayId** | **string** | The goodayId for the customer | [optional] [default to 'default-gooday-id']
|
|
15
|
+
|
|
16
|
+
## Example
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
import { CreateRSVPCollaboratorPayload } from './api';
|
|
20
|
+
|
|
21
|
+
const instance: CreateRSVPCollaboratorPayload = {
|
|
22
|
+
_id,
|
|
23
|
+
name,
|
|
24
|
+
firstName,
|
|
25
|
+
lastName,
|
|
26
|
+
mobile,
|
|
27
|
+
email,
|
|
28
|
+
goodayId,
|
|
29
|
+
};
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
[[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,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 2026-
|
|
10
|
-
**endDate** | **string** | The start date of the booking | [default to 2026-
|
|
9
|
+
**startDate** | **string** | The start date of the booking | [default to 2026-04-15T07:10:12Z]
|
|
10
|
+
**endDate** | **string** | The start date of the booking | [default to 2026-04-15T07:10:12Z]
|
|
11
11
|
**note** | **string** | Notes attached with booking | [optional] [default to undefined]
|
|
12
12
|
**occasion** | **string** | Occasion id | [optional] [default to undefined]
|
|
13
13
|
**calendar** | **Array<string>** | Calendar attached with booking | [optional] [default to undefined]
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
# CreateRSVPEventV2DTO
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**title** | **string** | | [default to undefined]
|
|
9
|
+
**description** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**photo** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**tags** | **Array<string>** | | [optional] [default to undefined]
|
|
12
|
+
**totalCapacity** | **number** | | [optional] [default to undefined]
|
|
13
|
+
**costPerPerson** | **number** | | [optional] [default to undefined]
|
|
14
|
+
**currency** | **string** | | [optional] [default to undefined]
|
|
15
|
+
**type** | **string** | | [optional] [default to undefined]
|
|
16
|
+
**venue** | **string** | | [optional] [default to undefined]
|
|
17
|
+
**business** | **string** | | [optional] [default to undefined]
|
|
18
|
+
**timezone** | **string** | | [optional] [default to undefined]
|
|
19
|
+
**theme** | **string** | | [optional] [default to undefined]
|
|
20
|
+
**externalTicketingLink** | **string** | | [optional] [default to undefined]
|
|
21
|
+
**otherLinks** | **Array<string>** | | [optional] [default to undefined]
|
|
22
|
+
**hideGuestCount** | **boolean** | | [optional] [default to undefined]
|
|
23
|
+
**hideLocation** | **boolean** | | [optional] [default to undefined]
|
|
24
|
+
**location** | **object** | | [optional] [default to undefined]
|
|
25
|
+
**isRecurring** | **boolean** | | [optional] [default to undefined]
|
|
26
|
+
**duration** | **number** | | [optional] [default to undefined]
|
|
27
|
+
**startDate** | **string** | | [default to undefined]
|
|
28
|
+
**endDate** | **string** | | [default to undefined]
|
|
29
|
+
**recurrenceEndDate** | **string** | | [optional] [default to undefined]
|
|
30
|
+
**repeat** | **string** | | [optional] [default to undefined]
|
|
31
|
+
**pattern** | **string** | Recurrence pattern string (RFC 5545) | [optional] [default to undefined]
|
|
32
|
+
**repeatBy** | **string** | The method used to determine recurrence | [optional] [default to undefined]
|
|
33
|
+
**byDay** | **string** | Comma-separated days of the week (e.g., MO,WE,FR) | [optional] [default to undefined]
|
|
34
|
+
**byMonthDay** | **string** | Comma-separated days of the month (e.g., 1,15,31) | [optional] [default to undefined]
|
|
35
|
+
**byMonth** | **string** | Comma-separated months of the year (1-12) | [optional] [default to undefined]
|
|
36
|
+
**hosts** | [**Array<HostV2DTO>**](HostV2DTO.md) | | [optional] [default to undefined]
|
|
37
|
+
**invites** | [**Array<InviteRSVPDTO>**](InviteRSVPDTO.md) | | [optional] [default to undefined]
|
|
38
|
+
**discounts** | [**Array<DiscountV2DTO>**](DiscountV2DTO.md) | | [optional] [default to undefined]
|
|
39
|
+
**firstName** | **string** | | [optional] [default to undefined]
|
|
40
|
+
**lastName** | **string** | | [optional] [default to undefined]
|
|
41
|
+
**email** | **string** | | [optional] [default to undefined]
|
|
42
|
+
**mobileNumber** | **string** | | [optional] [default to undefined]
|
|
43
|
+
**countryCode** | **string** | | [optional] [default to undefined]
|
|
44
|
+
**hostBy** | **string** | | [optional] [default to undefined]
|
|
45
|
+
**hostImage** | **string** | | [optional] [default to undefined]
|
|
46
|
+
|
|
47
|
+
## Example
|
|
48
|
+
|
|
49
|
+
```typescript
|
|
50
|
+
import { CreateRSVPEventV2DTO } from './api';
|
|
51
|
+
|
|
52
|
+
const instance: CreateRSVPEventV2DTO = {
|
|
53
|
+
title,
|
|
54
|
+
description,
|
|
55
|
+
photo,
|
|
56
|
+
tags,
|
|
57
|
+
totalCapacity,
|
|
58
|
+
costPerPerson,
|
|
59
|
+
currency,
|
|
60
|
+
type,
|
|
61
|
+
venue,
|
|
62
|
+
business,
|
|
63
|
+
timezone,
|
|
64
|
+
theme,
|
|
65
|
+
externalTicketingLink,
|
|
66
|
+
otherLinks,
|
|
67
|
+
hideGuestCount,
|
|
68
|
+
hideLocation,
|
|
69
|
+
location,
|
|
70
|
+
isRecurring,
|
|
71
|
+
duration,
|
|
72
|
+
startDate,
|
|
73
|
+
endDate,
|
|
74
|
+
recurrenceEndDate,
|
|
75
|
+
repeat,
|
|
76
|
+
pattern,
|
|
77
|
+
repeatBy,
|
|
78
|
+
byDay,
|
|
79
|
+
byMonthDay,
|
|
80
|
+
byMonth,
|
|
81
|
+
hosts,
|
|
82
|
+
invites,
|
|
83
|
+
discounts,
|
|
84
|
+
firstName,
|
|
85
|
+
lastName,
|
|
86
|
+
email,
|
|
87
|
+
mobileNumber,
|
|
88
|
+
countryCode,
|
|
89
|
+
hostBy,
|
|
90
|
+
hostImage,
|
|
91
|
+
};
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
[[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,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 2026-
|
|
10
|
-
**endDate** | **string** | The start date of the booking | [default to 2026-
|
|
9
|
+
**startDate** | **string** | The start date of the booking | [default to 2026-04-15T07:10:12Z]
|
|
10
|
+
**endDate** | **string** | The start date of the booking | [default to 2026-04-15T07:10:12Z]
|
|
11
11
|
**note** | **string** | Notes attached with booking | [optional] [default to undefined]
|
|
12
12
|
**occasion** | **string** | Occasion id | [optional] [default to undefined]
|
|
13
13
|
**calendar** | **Array<string>** | Calendar attached with booking | [optional] [default to undefined]
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# DiscountV2DTO
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**name** | **string** | | [default to undefined]
|
|
9
|
+
**percentage** | **number** | | [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { DiscountV2DTO } from './api';
|
|
15
|
+
|
|
16
|
+
const instance: DiscountV2DTO = {
|
|
17
|
+
name,
|
|
18
|
+
percentage,
|
|
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)
|