@gooday_corp/gooday-api-client 4.6.7 → 4.6.10
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 +20 -0
- package/.openapi-generator/VERSION +1 -1
- package/api.ts +13116 -2235
- package/base.ts +24 -0
- package/common.ts +38 -15
- package/configuration.ts +18 -24
- package/docs/AcceptBookingInvitePayload.md +3 -1
- package/docs/BookingPaymentCreateResponse.md +4 -0
- package/docs/BusinessApi.md +154 -9
- package/docs/BusinessTypeResponse.md +22 -0
- package/docs/ConfirmRSVPV2PaymentDTO.md +20 -0
- package/docs/ContactsPayloadDTO.md +2 -0
- package/docs/CreateBookingPayload.md +2 -2
- package/docs/CreateRSVPCollaboratorPayload.md +32 -0
- package/docs/CreateRSVPEventBookingPayload.md +2 -2
- package/docs/CreateRSVPEventV2DTO.md +96 -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 +56 -2
- package/docs/PromoCodeResponseDTO.md +2 -0
- package/docs/RSVPEvenPayloadDTO.md +8 -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 +1156 -0
- package/docs/RejectBookingInvitePayload.md +3 -1
- package/docs/RescheduleBookingPayload.md +1 -1
- package/docs/SetupRSVPV2PaymentDTO.md +20 -0
- package/docs/UpdateRSVPEventV2DTO.md +96 -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,33 +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
|
-
// @ts-ignore
|
|
100
|
-
export const replaceWithSerializableTypeIfNeeded = function(key: string, value: any) {
|
|
101
|
-
if (value instanceof Set) {
|
|
102
|
-
return Array.from(value);
|
|
103
|
-
} else {
|
|
104
|
-
return value;
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
|
|
108
123
|
export const serializeDataIfNeeded = function (value: any, requestOptions: any, configuration?: Configuration) {
|
|
109
124
|
const nonString = typeof value !== 'string';
|
|
110
125
|
const needsSerialization = nonString && configuration && configuration.isJsonMime
|
|
111
126
|
? configuration.isJsonMime(requestOptions.headers['Content-Type'])
|
|
112
127
|
: nonString;
|
|
113
128
|
return needsSerialization
|
|
114
|
-
? JSON.stringify(value !== undefined ? value : {}
|
|
129
|
+
? JSON.stringify(value !== undefined ? value : {})
|
|
115
130
|
: (value || "");
|
|
116
131
|
}
|
|
117
132
|
|
|
133
|
+
/**
|
|
134
|
+
*
|
|
135
|
+
* @export
|
|
136
|
+
*/
|
|
118
137
|
export const toPathString = function (url: URL) {
|
|
119
138
|
return url.pathname + url.search + url.hash
|
|
120
139
|
}
|
|
121
140
|
|
|
141
|
+
/**
|
|
142
|
+
*
|
|
143
|
+
* @export
|
|
144
|
+
*/
|
|
122
145
|
export const createRequestFunction = function (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) {
|
|
123
146
|
return <T = unknown, R = AxiosResponse<T>>(axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
|
|
124
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 | |
|
|
@@ -22,6 +24,7 @@ All URIs are relative to *http://localhost:8080*
|
|
|
22
24
|
|[**businessTypeControllerFindFavoriteBusinessVenueCount**](#businesstypecontrollerfindfavoritebusinessvenuecount) | **GET** /v1/business/favorite/count/{id} | |
|
|
23
25
|
|[**businessTypeControllerFindFriendsFavoriteBusinessVenueList**](#businesstypecontrollerfindfriendsfavoritebusinessvenuelist) | **POST** /v1/business/friends/favorite | |
|
|
24
26
|
|[**businessTypeControllerGetAllVenue**](#businesstypecontrollergetallvenue) | **POST** /v1/business/venues | |
|
|
27
|
+
|[**businessTypeControllerGetBusinessTypeById**](#businesstypecontrollergetbusinesstypebyid) | **GET** /v1/business/type/{id} | |
|
|
25
28
|
|[**businessTypeControllerGetBusinessVenue**](#businesstypecontrollergetbusinessvenue) | **POST** /v1/business/business-venue | |
|
|
26
29
|
|[**businessTypeControllerGetFavoriteVenueCount**](#businesstypecontrollergetfavoritevenuecount) | **GET** /v1/business/public/favorite/count/{id} | |
|
|
27
30
|
|[**businessTypeControllerGetVenueById**](#businesstypecontrollergetvenuebyid) | **POST** /v1/business/venue/{id} | |
|
|
@@ -140,6 +143,105 @@ const { status, data } = await apiInstance.businessControllerBusinessOnboarding(
|
|
|
140
143
|
|
|
141
144
|
[[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
145
|
|
|
146
|
+
# **businessControllerDisconnectStripe**
|
|
147
|
+
> businessControllerDisconnectStripe()
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
### Example
|
|
151
|
+
|
|
152
|
+
```typescript
|
|
153
|
+
import {
|
|
154
|
+
BusinessApi,
|
|
155
|
+
Configuration
|
|
156
|
+
} from './api';
|
|
157
|
+
|
|
158
|
+
const configuration = new Configuration();
|
|
159
|
+
const apiInstance = new BusinessApi(configuration);
|
|
160
|
+
|
|
161
|
+
const { status, data } = await apiInstance.businessControllerDisconnectStripe();
|
|
162
|
+
```
|
|
163
|
+
|
|
164
|
+
### Parameters
|
|
165
|
+
This endpoint does not have any parameters.
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
### Return type
|
|
169
|
+
|
|
170
|
+
void (empty response body)
|
|
171
|
+
|
|
172
|
+
### Authorization
|
|
173
|
+
|
|
174
|
+
[bearer](../README.md#bearer)
|
|
175
|
+
|
|
176
|
+
### HTTP request headers
|
|
177
|
+
|
|
178
|
+
- **Content-Type**: Not defined
|
|
179
|
+
- **Accept**: Not defined
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
### HTTP response details
|
|
183
|
+
| Status code | Description | Response headers |
|
|
184
|
+
|-------------|-------------|------------------|
|
|
185
|
+
|**200** | Stripe account disconnected successfully | - |
|
|
186
|
+
|
|
187
|
+
[[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)
|
|
188
|
+
|
|
189
|
+
# **businessControllerFindBusiness**
|
|
190
|
+
> Array<UserEntity> businessControllerFindBusiness()
|
|
191
|
+
|
|
192
|
+
|
|
193
|
+
### Example
|
|
194
|
+
|
|
195
|
+
```typescript
|
|
196
|
+
import {
|
|
197
|
+
BusinessApi,
|
|
198
|
+
Configuration
|
|
199
|
+
} from './api';
|
|
200
|
+
|
|
201
|
+
const configuration = new Configuration();
|
|
202
|
+
const apiInstance = new BusinessApi(configuration);
|
|
203
|
+
|
|
204
|
+
let page: number; // (default to undefined)
|
|
205
|
+
let pageSize: number; // (default to undefined)
|
|
206
|
+
let query: string; // (optional) (default to undefined)
|
|
207
|
+
|
|
208
|
+
const { status, data } = await apiInstance.businessControllerFindBusiness(
|
|
209
|
+
page,
|
|
210
|
+
pageSize,
|
|
211
|
+
query
|
|
212
|
+
);
|
|
213
|
+
```
|
|
214
|
+
|
|
215
|
+
### Parameters
|
|
216
|
+
|
|
217
|
+
|Name | Type | Description | Notes|
|
|
218
|
+
|------------- | ------------- | ------------- | -------------|
|
|
219
|
+
| **page** | [**number**] | | defaults to undefined|
|
|
220
|
+
| **pageSize** | [**number**] | | defaults to undefined|
|
|
221
|
+
| **query** | [**string**] | | (optional) defaults to undefined|
|
|
222
|
+
|
|
223
|
+
|
|
224
|
+
### Return type
|
|
225
|
+
|
|
226
|
+
**Array<UserEntity>**
|
|
227
|
+
|
|
228
|
+
### Authorization
|
|
229
|
+
|
|
230
|
+
No authorization required
|
|
231
|
+
|
|
232
|
+
### HTTP request headers
|
|
233
|
+
|
|
234
|
+
- **Content-Type**: Not defined
|
|
235
|
+
- **Accept**: application/json
|
|
236
|
+
|
|
237
|
+
|
|
238
|
+
### HTTP response details
|
|
239
|
+
| Status code | Description | Response headers |
|
|
240
|
+
|-------------|-------------|------------------|
|
|
241
|
+
|**200** | | - |
|
|
242
|
+
|
|
243
|
+
[[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)
|
|
244
|
+
|
|
143
245
|
# **businessControllerGetMe**
|
|
144
246
|
> BusinessOnBoardingResponseDTO businessControllerGetMe()
|
|
145
247
|
|
|
@@ -932,6 +1034,56 @@ No authorization required
|
|
|
932
1034
|
- **Accept**: application/json
|
|
933
1035
|
|
|
934
1036
|
|
|
1037
|
+
### HTTP response details
|
|
1038
|
+
| Status code | Description | Response headers |
|
|
1039
|
+
|-------------|-------------|------------------|
|
|
1040
|
+
|**200** | | - |
|
|
1041
|
+
|
|
1042
|
+
[[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)
|
|
1043
|
+
|
|
1044
|
+
# **businessTypeControllerGetBusinessTypeById**
|
|
1045
|
+
> BusinessTypeResponse businessTypeControllerGetBusinessTypeById()
|
|
1046
|
+
|
|
1047
|
+
|
|
1048
|
+
### Example
|
|
1049
|
+
|
|
1050
|
+
```typescript
|
|
1051
|
+
import {
|
|
1052
|
+
BusinessApi,
|
|
1053
|
+
Configuration
|
|
1054
|
+
} from './api';
|
|
1055
|
+
|
|
1056
|
+
const configuration = new Configuration();
|
|
1057
|
+
const apiInstance = new BusinessApi(configuration);
|
|
1058
|
+
|
|
1059
|
+
let id: string; //ID of the business type (default to undefined)
|
|
1060
|
+
|
|
1061
|
+
const { status, data } = await apiInstance.businessTypeControllerGetBusinessTypeById(
|
|
1062
|
+
id
|
|
1063
|
+
);
|
|
1064
|
+
```
|
|
1065
|
+
|
|
1066
|
+
### Parameters
|
|
1067
|
+
|
|
1068
|
+
|Name | Type | Description | Notes|
|
|
1069
|
+
|------------- | ------------- | ------------- | -------------|
|
|
1070
|
+
| **id** | [**string**] | ID of the business type | defaults to undefined|
|
|
1071
|
+
|
|
1072
|
+
|
|
1073
|
+
### Return type
|
|
1074
|
+
|
|
1075
|
+
**BusinessTypeResponse**
|
|
1076
|
+
|
|
1077
|
+
### Authorization
|
|
1078
|
+
|
|
1079
|
+
[bearer](../README.md#bearer)
|
|
1080
|
+
|
|
1081
|
+
### HTTP request headers
|
|
1082
|
+
|
|
1083
|
+
- **Content-Type**: Not defined
|
|
1084
|
+
- **Accept**: application/json
|
|
1085
|
+
|
|
1086
|
+
|
|
935
1087
|
### HTTP response details
|
|
936
1088
|
| Status code | Description | Response headers |
|
|
937
1089
|
|-------------|-------------|------------------|
|
|
@@ -1199,18 +1351,11 @@ import {
|
|
|
1199
1351
|
const configuration = new Configuration();
|
|
1200
1352
|
const apiInstance = new BusinessApi(configuration);
|
|
1201
1353
|
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
const { status, data } = await apiInstance.businessTypeControllerListAllCategories(
|
|
1205
|
-
id
|
|
1206
|
-
);
|
|
1354
|
+
const { status, data } = await apiInstance.businessTypeControllerListAllCategories();
|
|
1207
1355
|
```
|
|
1208
1356
|
|
|
1209
1357
|
### Parameters
|
|
1210
|
-
|
|
1211
|
-
|Name | Type | Description | Notes|
|
|
1212
|
-
|------------- | ------------- | ------------- | -------------|
|
|
1213
|
-
| **id** | [**string**] | Unique identifier for the category | (optional) defaults to undefined|
|
|
1358
|
+
This endpoint does not have any parameters.
|
|
1214
1359
|
|
|
1215
1360
|
|
|
1216
1361
|
### Return type
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# BusinessTypeResponse
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**statusCode** | **number** | statusCode | [default to undefined]
|
|
9
|
+
**data** | [**BusinessTypeEntity**](BusinessTypeEntity.md) | businessType | [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { BusinessTypeResponse } from './api';
|
|
15
|
+
|
|
16
|
+
const instance: BusinessTypeResponse = {
|
|
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)
|
|
@@ -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)
|
|
@@ -10,6 +10,7 @@ Name | Type | Description | Notes
|
|
|
10
10
|
**email** | **string** | Email address of the user | [optional] [default to undefined]
|
|
11
11
|
**mobileNumber** | **string** | Phone No | [optional] [default to undefined]
|
|
12
12
|
**profile** | **string** | | [optional] [default to undefined]
|
|
13
|
+
**code** | **string** | country code | [optional] [default to undefined]
|
|
13
14
|
|
|
14
15
|
## Example
|
|
15
16
|
|
|
@@ -22,6 +23,7 @@ const instance: ContactsPayloadDTO = {
|
|
|
22
23
|
email,
|
|
23
24
|
mobileNumber,
|
|
24
25
|
profile,
|
|
26
|
+
code,
|
|
25
27
|
};
|
|
26
28
|
```
|
|
27
29
|
|
|
@@ -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-27T13:31:12Z]
|
|
10
|
+
**recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2026-04-27T13:31: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-27T13:31:12Z]
|
|
10
|
+
**endDate** | **string** | The start date of the booking | [default to 2026-04-27T13:31: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]
|